Index: /main/waeup.futminna/tags/1.1/CHANGES.txt
===================================================================
--- /main/waeup.futminna/tags/1.1/CHANGES.txt	(revision 11490)
+++ /main/waeup.futminna/tags/1.1/CHANGES.txt	(revision 11490)
@@ -0,0 +1,32 @@
+Changes
+*******
+
+1.1 (2014-03-13)
+================
+
+* Custom package released.
+
+* Back-to links replaced by animated jQuery plugins.
+
+* Apply _isPaymentDisabled method.
+
+* jquery-ui.min.js is also used for tooltips.
+
+* Refer to INSTALL.txt in waeup.kofa sources.
+
+* Use only https in theme.html.
+
+1.0 (2014-02-24)
+================
+
+* Diazofied whole package.
+
+* Removed sphinx docs.
+
+* Added generic install instructions.
+
+
+0.1 (2010-01-31)
+================
+
+Initial version.
Index: /main/waeup.futminna/tags/1.1/LICENSE
===================================================================
--- /main/waeup.futminna/tags/1.1/LICENSE	(revision 11490)
+++ /main/waeup.futminna/tags/1.1/LICENSE	(revision 11490)
@@ -0,0 +1,674 @@
+                    GNU GENERAL PUBLIC LICENSE
+                       Version 3, 29 June 2007
+
+ Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
+ Everyone is permitted to copy and distribute verbatim copies
+ of this license document, but changing it is not allowed.
+
+                            Preamble
+
+  The GNU General Public License is a free, copyleft license for
+software and other kinds of works.
+
+  The licenses for most software and other practical works are designed
+to take away your freedom to share and change the works.  By contrast,
+the GNU General Public License is intended to guarantee your freedom to
+share and change all versions of a program--to make sure it remains free
+software for all its users.  We, the Free Software Foundation, use the
+GNU General Public License for most of our software; it applies also to
+any other work released this way by its authors.  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
+them 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 prevent others from denying you
+these rights or asking you to surrender the rights.  Therefore, you have
+certain responsibilities if you distribute copies of the software, or if
+you modify it: responsibilities to respect the freedom of others.
+
+  For example, if you distribute copies of such a program, whether
+gratis or for a fee, you must pass on to the recipients the same
+freedoms that you received.  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.
+
+  Developers that use the GNU GPL protect your rights with two steps:
+(1) assert copyright on the software, and (2) offer you this License
+giving you legal permission to copy, distribute and/or modify it.
+
+  For the developers' and authors' protection, the GPL clearly explains
+that there is no warranty for this free software.  For both users' and
+authors' sake, the GPL requires that modified versions be marked as
+changed, so that their problems will not be attributed erroneously to
+authors of previous versions.
+
+  Some devices are designed to deny users access to install or run
+modified versions of the software inside them, although the manufacturer
+can do so.  This is fundamentally incompatible with the aim of
+protecting users' freedom to change the software.  The systematic
+pattern of such abuse occurs in the area of products for individuals to
+use, which is precisely where it is most unacceptable.  Therefore, we
+have designed this version of the GPL to prohibit the practice for those
+products.  If such problems arise substantially in other domains, we
+stand ready to extend this provision to those domains in future versions
+of the GPL, as needed to protect the freedom of users.
+
+  Finally, every program is threatened constantly by software patents.
+States should not allow patents to restrict development and use of
+software on general-purpose computers, but in those that do, we wish to
+avoid the special danger that patents applied to a free program could
+make it effectively proprietary.  To prevent this, the GPL assures that
+patents cannot be used to render the program non-free.
+
+  The precise terms and conditions for copying, distribution and
+modification follow.
+
+                       TERMS AND CONDITIONS
+
+  0. Definitions.
+
+  "This License" refers to version 3 of the GNU General Public License.
+
+  "Copyright" also means copyright-like laws that apply to other kinds of
+works, such as semiconductor masks.
+
+  "The Program" refers to any copyrightable work licensed under this
+License.  Each licensee is addressed as "you".  "Licensees" and
+"recipients" may be individuals or organizations.
+
+  To "modify" a work means to copy from or adapt all or part of the work
+in a fashion requiring copyright permission, other than the making of an
+exact copy.  The resulting work is called a "modified version" of the
+earlier work or a work "based on" the earlier work.
+
+  A "covered work" means either the unmodified Program or a work based
+on the Program.
+
+  To "propagate" a work means to do anything with it that, without
+permission, would make you directly or secondarily liable for
+infringement under applicable copyright law, except executing it on a
+computer or modifying a private copy.  Propagation includes copying,
+distribution (with or without modification), making available to the
+public, and in some countries other activities as well.
+
+  To "convey" a work means any kind of propagation that enables other
+parties to make or receive copies.  Mere interaction with a user through
+a computer network, with no transfer of a copy, is not conveying.
+
+  An interactive user interface displays "Appropriate Legal Notices"
+to the extent that it includes a convenient and prominently visible
+feature that (1) displays an appropriate copyright notice, and (2)
+tells the user that there is no warranty for the work (except to the
+extent that warranties are provided), that licensees may convey the
+work under this License, and how to view a copy of this License.  If
+the interface presents a list of user commands or options, such as a
+menu, a prominent item in the list meets this criterion.
+
+  1. Source Code.
+
+  The "source code" for a work means the preferred form of the work
+for making modifications to it.  "Object code" means any non-source
+form of a work.
+
+  A "Standard Interface" means an interface that either is an official
+standard defined by a recognized standards body, or, in the case of
+interfaces specified for a particular programming language, one that
+is widely used among developers working in that language.
+
+  The "System Libraries" of an executable work include anything, other
+than the work as a whole, that (a) is included in the normal form of
+packaging a Major Component, but which is not part of that Major
+Component, and (b) serves only to enable use of the work with that
+Major Component, or to implement a Standard Interface for which an
+implementation is available to the public in source code form.  A
+"Major Component", in this context, means a major essential component
+(kernel, window system, and so on) of the specific operating system
+(if any) on which the executable work runs, or a compiler used to
+produce the work, or an object code interpreter used to run it.
+
+  The "Corresponding Source" for a work in object code form means all
+the source code needed to generate, install, and (for an executable
+work) run the object code and to modify the work, including scripts to
+control those activities.  However, it does not include the work's
+System Libraries, or general-purpose tools or generally available free
+programs which are used unmodified in performing those activities but
+which are not part of the work.  For example, Corresponding Source
+includes interface definition files associated with source files for
+the work, and the source code for shared libraries and dynamically
+linked subprograms that the work is specifically designed to require,
+such as by intimate data communication or control flow between those
+subprograms and other parts of the work.
+
+  The Corresponding Source need not include anything that users
+can regenerate automatically from other parts of the Corresponding
+Source.
+
+  The Corresponding Source for a work in source code form is that
+same work.
+
+  2. Basic Permissions.
+
+  All rights granted under this License are granted for the term of
+copyright on the Program, and are irrevocable provided the stated
+conditions are met.  This License explicitly affirms your unlimited
+permission to run the unmodified Program.  The output from running a
+covered work is covered by this License only if the output, given its
+content, constitutes a covered work.  This License acknowledges your
+rights of fair use or other equivalent, as provided by copyright law.
+
+  You may make, run and propagate covered works that you do not
+convey, without conditions so long as your license otherwise remains
+in force.  You may convey covered works to others for the sole purpose
+of having them make modifications exclusively for you, or provide you
+with facilities for running those works, provided that you comply with
+the terms of this License in conveying all material for which you do
+not control copyright.  Those thus making or running the covered works
+for you must do so exclusively on your behalf, under your direction
+and control, on terms that prohibit them from making any copies of
+your copyrighted material outside their relationship with you.
+
+  Conveying under any other circumstances is permitted solely under
+the conditions stated below.  Sublicensing is not allowed; section 10
+makes it unnecessary.
+
+  3. Protecting Users' Legal Rights From Anti-Circumvention Law.
+
+  No covered work shall be deemed part of an effective technological
+measure under any applicable law fulfilling obligations under article
+11 of the WIPO copyright treaty adopted on 20 December 1996, or
+similar laws prohibiting or restricting circumvention of such
+measures.
+
+  When you convey a covered work, you waive any legal power to forbid
+circumvention of technological measures to the extent such circumvention
+is effected by exercising rights under this License with respect to
+the covered work, and you disclaim any intention to limit operation or
+modification of the work as a means of enforcing, against the work's
+users, your or third parties' legal rights to forbid circumvention of
+technological measures.
+
+  4. Conveying Verbatim Copies.
+
+  You may convey 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;
+keep intact all notices stating that this License and any
+non-permissive terms added in accord with section 7 apply to the code;
+keep intact all notices of the absence of any warranty; and give all
+recipients a copy of this License along with the Program.
+
+  You may charge any price or no price for each copy that you convey,
+and you may offer support or warranty protection for a fee.
+
+  5. Conveying Modified Source Versions.
+
+  You may convey a work based on the Program, or the modifications to
+produce it from the Program, in the form of source code under the
+terms of section 4, provided that you also meet all of these conditions:
+
+    a) The work must carry prominent notices stating that you modified
+    it, and giving a relevant date.
+
+    b) The work must carry prominent notices stating that it is
+    released under this License and any conditions added under section
+    7.  This requirement modifies the requirement in section 4 to
+    "keep intact all notices".
+
+    c) You must license the entire work, as a whole, under this
+    License to anyone who comes into possession of a copy.  This
+    License will therefore apply, along with any applicable section 7
+    additional terms, to the whole of the work, and all its parts,
+    regardless of how they are packaged.  This License gives no
+    permission to license the work in any other way, but it does not
+    invalidate such permission if you have separately received it.
+
+    d) If the work has interactive user interfaces, each must display
+    Appropriate Legal Notices; however, if the Program has interactive
+    interfaces that do not display Appropriate Legal Notices, your
+    work need not make them do so.
+
+  A compilation of a covered work with other separate and independent
+works, which are not by their nature extensions of the covered work,
+and which are not combined with it such as to form a larger program,
+in or on a volume of a storage or distribution medium, is called an
+"aggregate" if the compilation and its resulting copyright are not
+used to limit the access or legal rights of the compilation's users
+beyond what the individual works permit.  Inclusion of a covered work
+in an aggregate does not cause this License to apply to the other
+parts of the aggregate.
+
+  6. Conveying Non-Source Forms.
+
+  You may convey a covered work in object code form under the terms
+of sections 4 and 5, provided that you also convey the
+machine-readable Corresponding Source under the terms of this License,
+in one of these ways:
+
+    a) Convey the object code in, or embodied in, a physical product
+    (including a physical distribution medium), accompanied by the
+    Corresponding Source fixed on a durable physical medium
+    customarily used for software interchange.
+
+    b) Convey the object code in, or embodied in, a physical product
+    (including a physical distribution medium), accompanied by a
+    written offer, valid for at least three years and valid for as
+    long as you offer spare parts or customer support for that product
+    model, to give anyone who possesses the object code either (1) a
+    copy of the Corresponding Source for all the software in the
+    product that is covered by this License, on a durable physical
+    medium customarily used for software interchange, for a price no
+    more than your reasonable cost of physically performing this
+    conveying of source, or (2) access to copy the
+    Corresponding Source from a network server at no charge.
+
+    c) Convey individual copies of the object code with a copy of the
+    written offer to provide the Corresponding Source.  This
+    alternative is allowed only occasionally and noncommercially, and
+    only if you received the object code with such an offer, in accord
+    with subsection 6b.
+
+    d) Convey the object code by offering access from a designated
+    place (gratis or for a charge), and offer equivalent access to the
+    Corresponding Source in the same way through the same place at no
+    further charge.  You need not require recipients to copy the
+    Corresponding Source along with the object code.  If the place to
+    copy the object code is a network server, the Corresponding Source
+    may be on a different server (operated by you or a third party)
+    that supports equivalent copying facilities, provided you maintain
+    clear directions next to the object code saying where to find the
+    Corresponding Source.  Regardless of what server hosts the
+    Corresponding Source, you remain obligated to ensure that it is
+    available for as long as needed to satisfy these requirements.
+
+    e) Convey the object code using peer-to-peer transmission, provided
+    you inform other peers where the object code and Corresponding
+    Source of the work are being offered to the general public at no
+    charge under subsection 6d.
+
+  A separable portion of the object code, whose source code is excluded
+from the Corresponding Source as a System Library, need not be
+included in conveying the object code work.
+
+  A "User Product" is either (1) a "consumer product", which means any
+tangible personal property which is normally used for personal, family,
+or household purposes, or (2) anything designed or sold for incorporation
+into a dwelling.  In determining whether a product is a consumer product,
+doubtful cases shall be resolved in favor of coverage.  For a particular
+product received by a particular user, "normally used" refers to a
+typical or common use of that class of product, regardless of the status
+of the particular user or of the way in which the particular user
+actually uses, or expects or is expected to use, the product.  A product
+is a consumer product regardless of whether the product has substantial
+commercial, industrial or non-consumer uses, unless such uses represent
+the only significant mode of use of the product.
+
+  "Installation Information" for a User Product means any methods,
+procedures, authorization keys, or other information required to install
+and execute modified versions of a covered work in that User Product from
+a modified version of its Corresponding Source.  The information must
+suffice to ensure that the continued functioning of the modified object
+code is in no case prevented or interfered with solely because
+modification has been made.
+
+  If you convey an object code work under this section in, or with, or
+specifically for use in, a User Product, and the conveying occurs as
+part of a transaction in which the right of possession and use of the
+User Product is transferred to the recipient in perpetuity or for a
+fixed term (regardless of how the transaction is characterized), the
+Corresponding Source conveyed under this section must be accompanied
+by the Installation Information.  But this requirement does not apply
+if neither you nor any third party retains the ability to install
+modified object code on the User Product (for example, the work has
+been installed in ROM).
+
+  The requirement to provide Installation Information does not include a
+requirement to continue to provide support service, warranty, or updates
+for a work that has been modified or installed by the recipient, or for
+the User Product in which it has been modified or installed.  Access to a
+network may be denied when the modification itself materially and
+adversely affects the operation of the network or violates the rules and
+protocols for communication across the network.
+
+  Corresponding Source conveyed, and Installation Information provided,
+in accord with this section must be in a format that is publicly
+documented (and with an implementation available to the public in
+source code form), and must require no special password or key for
+unpacking, reading or copying.
+
+  7. Additional Terms.
+
+  "Additional permissions" are terms that supplement the terms of this
+License by making exceptions from one or more of its conditions.
+Additional permissions that are applicable to the entire Program shall
+be treated as though they were included in this License, to the extent
+that they are valid under applicable law.  If additional permissions
+apply only to part of the Program, that part may be used separately
+under those permissions, but the entire Program remains governed by
+this License without regard to the additional permissions.
+
+  When you convey a copy of a covered work, you may at your option
+remove any additional permissions from that copy, or from any part of
+it.  (Additional permissions may be written to require their own
+removal in certain cases when you modify the work.)  You may place
+additional permissions on material, added by you to a covered work,
+for which you have or can give appropriate copyright permission.
+
+  Notwithstanding any other provision of this License, for material you
+add to a covered work, you may (if authorized by the copyright holders of
+that material) supplement the terms of this License with terms:
+
+    a) Disclaiming warranty or limiting liability differently from the
+    terms of sections 15 and 16 of this License; or
+
+    b) Requiring preservation of specified reasonable legal notices or
+    author attributions in that material or in the Appropriate Legal
+    Notices displayed by works containing it; or
+
+    c) Prohibiting misrepresentation of the origin of that material, or
+    requiring that modified versions of such material be marked in
+    reasonable ways as different from the original version; or
+
+    d) Limiting the use for publicity purposes of names of licensors or
+    authors of the material; or
+
+    e) Declining to grant rights under trademark law for use of some
+    trade names, trademarks, or service marks; or
+
+    f) Requiring indemnification of licensors and authors of that
+    material by anyone who conveys the material (or modified versions of
+    it) with contractual assumptions of liability to the recipient, for
+    any liability that these contractual assumptions directly impose on
+    those licensors and authors.
+
+  All other non-permissive additional terms are considered "further
+restrictions" within the meaning of section 10.  If the Program as you
+received it, or any part of it, contains a notice stating that it is
+governed by this License along with a term that is a further
+restriction, you may remove that term.  If a license document contains
+a further restriction but permits relicensing or conveying under this
+License, you may add to a covered work material governed by the terms
+of that license document, provided that the further restriction does
+not survive such relicensing or conveying.
+
+  If you add terms to a covered work in accord with this section, you
+must place, in the relevant source files, a statement of the
+additional terms that apply to those files, or a notice indicating
+where to find the applicable terms.
+
+  Additional terms, permissive or non-permissive, may be stated in the
+form of a separately written license, or stated as exceptions;
+the above requirements apply either way.
+
+  8. Termination.
+
+  You may not propagate or modify a covered work except as expressly
+provided under this License.  Any attempt otherwise to propagate or
+modify it is void, and will automatically terminate your rights under
+this License (including any patent licenses granted under the third
+paragraph of section 11).
+
+  However, if you cease all violation of this License, then your
+license from a particular copyright holder is reinstated (a)
+provisionally, unless and until the copyright holder explicitly and
+finally terminates your license, and (b) permanently, if the copyright
+holder fails to notify you of the violation by some reasonable means
+prior to 60 days after the cessation.
+
+  Moreover, your license from a particular copyright holder is
+reinstated permanently if the copyright holder notifies you of the
+violation by some reasonable means, this is the first time you have
+received notice of violation of this License (for any work) from that
+copyright holder, and you cure the violation prior to 30 days after
+your receipt of the notice.
+
+  Termination of your rights under this section does not terminate the
+licenses of parties who have received copies or rights from you under
+this License.  If your rights have been terminated and not permanently
+reinstated, you do not qualify to receive new licenses for the same
+material under section 10.
+
+  9. Acceptance Not Required for Having Copies.
+
+  You are not required to accept this License in order to receive or
+run a copy of the Program.  Ancillary propagation of a covered work
+occurring solely as a consequence of using peer-to-peer transmission
+to receive a copy likewise does not require acceptance.  However,
+nothing other than this License grants you permission to propagate or
+modify any covered work.  These actions infringe copyright if you do
+not accept this License.  Therefore, by modifying or propagating a
+covered work, you indicate your acceptance of this License to do so.
+
+  10. Automatic Licensing of Downstream Recipients.
+
+  Each time you convey a covered work, the recipient automatically
+receives a license from the original licensors, to run, modify and
+propagate that work, subject to this License.  You are not responsible
+for enforcing compliance by third parties with this License.
+
+  An "entity transaction" is a transaction transferring control of an
+organization, or substantially all assets of one, or subdividing an
+organization, or merging organizations.  If propagation of a covered
+work results from an entity transaction, each party to that
+transaction who receives a copy of the work also receives whatever
+licenses to the work the party's predecessor in interest had or could
+give under the previous paragraph, plus a right to possession of the
+Corresponding Source of the work from the predecessor in interest, if
+the predecessor has it or can get it with reasonable efforts.
+
+  You may not impose any further restrictions on the exercise of the
+rights granted or affirmed under this License.  For example, you may
+not impose a license fee, royalty, or other charge for exercise of
+rights granted under this License, and you may not initiate litigation
+(including a cross-claim or counterclaim in a lawsuit) alleging that
+any patent claim is infringed by making, using, selling, offering for
+sale, or importing the Program or any portion of it.
+
+  11. Patents.
+
+  A "contributor" is a copyright holder who authorizes use under this
+License of the Program or a work on which the Program is based.  The
+work thus licensed is called the contributor's "contributor version".
+
+  A contributor's "essential patent claims" are all patent claims
+owned or controlled by the contributor, whether already acquired or
+hereafter acquired, that would be infringed by some manner, permitted
+by this License, of making, using, or selling its contributor version,
+but do not include claims that would be infringed only as a
+consequence of further modification of the contributor version.  For
+purposes of this definition, "control" includes the right to grant
+patent sublicenses in a manner consistent with the requirements of
+this License.
+
+  Each contributor grants you a non-exclusive, worldwide, royalty-free
+patent license under the contributor's essential patent claims, to
+make, use, sell, offer for sale, import and otherwise run, modify and
+propagate the contents of its contributor version.
+
+  In the following three paragraphs, a "patent license" is any express
+agreement or commitment, however denominated, not to enforce a patent
+(such as an express permission to practice a patent or covenant not to
+sue for patent infringement).  To "grant" such a patent license to a
+party means to make such an agreement or commitment not to enforce a
+patent against the party.
+
+  If you convey a covered work, knowingly relying on a patent license,
+and the Corresponding Source of the work is not available for anyone
+to copy, free of charge and under the terms of this License, through a
+publicly available network server or other readily accessible means,
+then you must either (1) cause the Corresponding Source to be so
+available, or (2) arrange to deprive yourself of the benefit of the
+patent license for this particular work, or (3) arrange, in a manner
+consistent with the requirements of this License, to extend the patent
+license to downstream recipients.  "Knowingly relying" means you have
+actual knowledge that, but for the patent license, your conveying the
+covered work in a country, or your recipient's use of the covered work
+in a country, would infringe one or more identifiable patents in that
+country that you have reason to believe are valid.
+
+  If, pursuant to or in connection with a single transaction or
+arrangement, you convey, or propagate by procuring conveyance of, a
+covered work, and grant a patent license to some of the parties
+receiving the covered work authorizing them to use, propagate, modify
+or convey a specific copy of the covered work, then the patent license
+you grant is automatically extended to all recipients of the covered
+work and works based on it.
+
+  A patent license is "discriminatory" if it does not include within
+the scope of its coverage, prohibits the exercise of, or is
+conditioned on the non-exercise of one or more of the rights that are
+specifically granted under this License.  You may not convey a covered
+work if you are a party to an arrangement with a third party that is
+in the business of distributing software, under which you make payment
+to the third party based on the extent of your activity of conveying
+the work, and under which the third party grants, to any of the
+parties who would receive the covered work from you, a discriminatory
+patent license (a) in connection with copies of the covered work
+conveyed by you (or copies made from those copies), or (b) primarily
+for and in connection with specific products or compilations that
+contain the covered work, unless you entered into that arrangement,
+or that patent license was granted, prior to 28 March 2007.
+
+  Nothing in this License shall be construed as excluding or limiting
+any implied license or other defenses to infringement that may
+otherwise be available to you under applicable patent law.
+
+  12. No Surrender of Others' Freedom.
+
+  If 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 convey a
+covered work so as to satisfy simultaneously your obligations under this
+License and any other pertinent obligations, then as a consequence you may
+not convey it at all.  For example, if you agree to terms that obligate you
+to collect a royalty for further conveying from those to whom you convey
+the Program, the only way you could satisfy both those terms and this
+License would be to refrain entirely from conveying the Program.
+
+  13. Use with the GNU Affero General Public License.
+
+  Notwithstanding any other provision of this License, you have
+permission to link or combine any covered work with a work licensed
+under version 3 of the GNU Affero General Public License into a single
+combined work, and to convey the resulting work.  The terms of this
+License will continue to apply to the part which is the covered work,
+but the special requirements of the GNU Affero General Public License,
+section 13, concerning interaction through a network will apply to the
+combination as such.
+
+  14. Revised Versions of this License.
+
+  The Free Software Foundation may publish revised and/or new versions of
+the GNU 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 that a certain numbered version of the GNU General
+Public License "or any later version" applies to it, you have the
+option of following the terms and conditions either of that numbered
+version or of any later version published by the Free Software
+Foundation.  If the Program does not specify a version number of the
+GNU General Public License, you may choose any version ever published
+by the Free Software Foundation.
+
+  If the Program specifies that a proxy can decide which future
+versions of the GNU General Public License can be used, that proxy's
+public statement of acceptance of a version permanently authorizes you
+to choose that version for the Program.
+
+  Later license versions may give you additional or different
+permissions.  However, no additional obligations are imposed on any
+author or copyright holder as a result of your choosing to follow a
+later version.
+
+  15. Disclaimer of Warranty.
+
+  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.
+
+  16. Limitation of Liability.
+
+  IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
+WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
+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.
+
+  17. Interpretation of Sections 15 and 16.
+
+  If the disclaimer of warranty and limitation of liability provided
+above cannot be given local legal effect according to their terms,
+reviewing courts shall apply local law that most closely approximates
+an absolute waiver of all civil liability in connection with the
+Program, unless a warranty or assumption of liability accompanies a
+copy of the Program in return for a fee.
+
+                     END OF TERMS AND CONDITIONS
+
+            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
+state 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) <year>  <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 3 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, see <http://www.gnu.org/licenses/>.
+
+Also add information on how to contact you by electronic and paper mail.
+
+  If the program does terminal interaction, make it output a short
+notice like this when it starts in an interactive mode:
+
+    <program>  Copyright (C) <year>  <name of author>
+    This program 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, your program's commands
+might be different; for a GUI interface, you would use an "about box".
+
+  You should also get your employer (if you work as a programmer) or school,
+if any, to sign a "copyright disclaimer" for the program, if necessary.
+For more information on this, and how to apply and follow the GNU GPL, see
+<http://www.gnu.org/licenses/>.
+
+  The GNU 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 Lesser General
+Public License instead of this License.  But first, please read
+<http://www.gnu.org/philosophy/why-not-lgpl.html>.
Index: /main/waeup.futminna/tags/1.1/README.txt
===================================================================
--- /main/waeup.futminna/tags/1.1/README.txt	(revision 11490)
+++ /main/waeup.futminna/tags/1.1/README.txt	(revision 11490)
@@ -0,0 +1,18 @@
+waeup.futminna
+**************
+
+`waeup.futminna` is a Python package providing a student information
+portal based on WAeUP Kofa.
+
+This is a customized version of Kofa for futminna purposes.
+
+For generic install instructions please see sources/waeup.kofa/docs/INSTALL.txt.
+
+Repository
+==========
+
+The Subversion_ repository location of this package is
+
+  https://svn.waeup.org/repos/main/waeup.futminna/
+
+.. _Subversion: http://subversion.apache.org/
Index: /main/waeup.futminna/tags/1.1/bootstrap.py
===================================================================
--- /main/waeup.futminna/tags/1.1/bootstrap.py	(revision 11490)
+++ /main/waeup.futminna/tags/1.1/bootstrap.py	(revision 11490)
@@ -0,0 +1,165 @@
+##############################################################################
+#
+# Copyright (c) 2006 Zope Foundation and Contributors.
+# All Rights Reserved.
+#
+# This software is subject to the provisions of the Zope Public License,
+# Version 2.1 (ZPL).  A copy of the ZPL should accompany this distribution.
+# THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED
+# WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
+# WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS
+# FOR A PARTICULAR PURPOSE.
+#
+##############################################################################
+"""Bootstrap a buildout-based project
+
+Simply run this script in a directory containing a buildout.cfg.
+The script accepts buildout command-line options, so you can
+use the -c option to specify an alternate configuration file.
+"""
+
+import os, shutil, sys, tempfile
+from optparse import OptionParser
+
+tmpeggs = tempfile.mkdtemp()
+
+usage = '''\
+[DESIRED PYTHON FOR BUILDOUT] bootstrap.py [options]
+
+Bootstraps a buildout-based project.
+
+Simply run this script in a directory containing a buildout.cfg, using the
+Python that you want bin/buildout to use.
+
+Note that by using --setup-source and --download-base to point to
+local resources, you can keep this script from going over the network.
+'''
+
+parser = OptionParser(usage=usage)
+parser.add_option("-v", "--version", help="use a specific zc.buildout version")
+
+parser.add_option("-t", "--accept-buildout-test-releases",
+                  dest='accept_buildout_test_releases',
+                  action="store_true", default=False,
+                  help=("Normally, if you do not specify a --version, the "
+                        "bootstrap script and buildout gets the newest "
+                        "*final* versions of zc.buildout and its recipes and "
+                        "extensions for you.  If you use this flag, "
+                        "bootstrap and buildout will get the newest releases "
+                        "even if they are alphas or betas."))
+parser.add_option("-c", "--config-file",
+                   help=("Specify the path to the buildout configuration "
+                         "file to be used."))
+parser.add_option("-f", "--find-links",
+                   help=("Specify a URL to search for buildout releases"))
+
+
+options, args = parser.parse_args()
+
+######################################################################
+# load/install distribute
+
+to_reload = False
+try:
+    import pkg_resources, setuptools
+    if not hasattr(pkg_resources, '_distribute'):
+        to_reload = True
+        raise ImportError
+except ImportError:
+    ez = {}
+
+    try:
+        from urllib.request import urlopen
+    except ImportError:
+        from urllib2 import urlopen
+
+    exec(urlopen('http://python-distribute.org/distribute_setup.py').read(), ez)
+    setup_args = dict(to_dir=tmpeggs, download_delay=0, no_fake=True)
+    ez['use_setuptools'](**setup_args)
+
+    if to_reload:
+        reload(pkg_resources)
+    import pkg_resources
+    # This does not (always?) update the default working set.  We will
+    # do it.
+    for path in sys.path:
+        if path not in pkg_resources.working_set.entries:
+            pkg_resources.working_set.add_entry(path)
+
+######################################################################
+# Install buildout
+
+ws  = pkg_resources.working_set
+
+cmd = [sys.executable, '-c',
+       'from setuptools.command.easy_install import main; main()',
+       '-mZqNxd', tmpeggs]
+
+find_links = os.environ.get(
+    'bootstrap-testing-find-links',
+    options.find_links or
+    ('http://downloads.buildout.org/'
+     if options.accept_buildout_test_releases else None)
+    )
+if find_links:
+    cmd.extend(['-f', find_links])
+
+distribute_path = ws.find(
+    pkg_resources.Requirement.parse('distribute')).location
+
+requirement = 'zc.buildout'
+version = options.version
+if version is None and not options.accept_buildout_test_releases:
+    # Figure out the most recent final version of zc.buildout.
+    import setuptools.package_index
+    _final_parts = '*final-', '*final'
+    def _final_version(parsed_version):
+        for part in parsed_version:
+            if (part[:1] == '*') and (part not in _final_parts):
+                return False
+        return True
+    index = setuptools.package_index.PackageIndex(
+        search_path=[distribute_path])
+    if find_links:
+        index.add_find_links((find_links,))
+    req = pkg_resources.Requirement.parse(requirement)
+    if index.obtain(req) is not None:
+        best = []
+        bestv = None
+        for dist in index[req.project_name]:
+            distv = dist.parsed_version
+            if _final_version(distv):
+                if bestv is None or distv > bestv:
+                    best = [dist]
+                    bestv = distv
+                elif distv == bestv:
+                    best.append(dist)
+        if best:
+            best.sort()
+            version = best[-1].version
+if version:
+    requirement = '=='.join((requirement, version))
+cmd.append(requirement)
+
+import subprocess
+if subprocess.call(cmd, env=dict(os.environ, PYTHONPATH=distribute_path)) != 0:
+    raise Exception(
+        "Failed to execute command:\n%s",
+        repr(cmd)[1:-1])
+
+######################################################################
+# Import and run buildout
+
+ws.add_entry(tmpeggs)
+ws.require(requirement)
+import zc.buildout.buildout
+
+if not [a for a in args if '=' not in a]:
+    args.append('bootstrap')
+
+# if -c was provided, we push it back into args for buildout' main function
+if options.config_file is not None:
+    args[0:0] = ['-c', options.config_file]
+
+zc.buildout.buildout.main(args)
+shutil.rmtree(tmpeggs)
Index: /main/waeup.futminna/tags/1.1/buildout-zeo.cfg
===================================================================
--- /main/waeup.futminna/tags/1.1/buildout-zeo.cfg	(revision 11490)
+++ /main/waeup.futminna/tags/1.1/buildout-zeo.cfg	(revision 11490)
@@ -0,0 +1,130 @@
+# A buildout configuration for a ZEO server and two ZEO clients.
+#
+[buildout]
+extends = buildout.cfg
+parts =
+    eggbasket
+    app
+    i18n
+    test
+    mkdirs
+    zpasswd
+    zope_conf
+    site_zcml
+    zdaemon_conf
+    raw_deploy_ini
+    raw_debug_ini
+    themed_deploy_ini
+    themed_debug_ini
+    profile_ini
+    zeo1_ini
+    zeo2_ini
+    coverage-detect
+    coverage-report
+# kofactl creation must be _after_ app!
+    kofactl
+    lxml
+    diazo
+# For backward compatibility, telling buildout not to throw away
+# the data and log subdirectories from the parts directory.
+    data
+    log
+
+    zeo_server
+    zope_conf_zeo_1
+    zope_conf_zeo_2
+    zeo1_ini
+    zeo2_ini
+    zeo1_conf
+    zeo2_conf
+    zeo_client1
+    zeo_client2
+
+[zeo_server]
+recipe = zc.zodbrecipes:server
+zeo.conf =
+  <zeo>
+    address ${kofa_params:server_port}
+  </zeo>
+  <blobstorage 1>
+    blob-dir ${zope_conf:blobstorage}
+    <filestorage 1>
+      path ${zope_conf:filestorage}/Data.fs
+    </filestorage>
+  </blobstorage>
+  <filestorage async>
+    path ${zope_conf:filestorage}/Data.async.fs
+  </filestorage>
+  <eventlog>
+    # This sets up logging to a file.
+    # The "path" setting can be a relative or absolute
+    # filesystem path.
+    <logfile>
+      path ${zope_conf:logfiles}/z3.log
+      formatter zope.exceptions.log.Formatter
+    </logfile>
+    # This sets up logging to to standard output.
+    # The "path" setting can be the tokens STDOUT or STDERR
+    #  <logfile>
+    #    path STDOUT
+    #    formatter zope.exceptions.log.Formatter
+    #  </logfile>
+  </eventlog>
+
+[zope_conf_zeo_1]
+recipe = collective.recipe.template
+input = etc/zope_zeo1.conf.in
+output = ${buildout:parts-directory}/etc/zope_zeo1.conf
+filestorage = ${buildout:directory}/var/filestorage
+blobstorage = ${buildout:directory}/var/blobstorage
+logfiles = ${buildout:directory}/var/log
+extra =
+# extra = <grokwarnings>True</grokwarnings>
+# 'extra' is copied verbatim. Use it for product config sections and so.
+
+[zope_conf_zeo_2]
+recipe = collective.recipe.template
+input = etc/zope_zeo2.conf.in
+output = ${buildout:parts-directory}/etc/zope_zeo2.conf
+filestorage = ${buildout:directory}/var/filestorage
+blobstorage = ${buildout:directory}/var/blobstorage
+logfiles = ${buildout:directory}/var/log
+extra =
+# extra = <grokwarnings>True</grokwarnings>
+# 'extra' is copied verbatim. Use it for product config sections and so.
+
+[zeo1_ini]
+recipe = collective.recipe.template
+input = etc/themed/zeo1.ini.in
+output = ${buildout:parts-directory}/etc/themed-zeo1.ini
+
+[zeo2_ini]
+recipe = collective.recipe.template
+input = etc/themed/zeo2.ini.in
+output = ${buildout:parts-directory}/etc/themed-zeo2.ini
+
+[zeo1_conf]
+recipe = collective.recipe.template
+input = etc/zeo1.conf.in
+output = ${buildout:parts-directory}/etc/zeo1.conf
+
+[zeo2_conf]
+recipe = collective.recipe.template
+input = etc/zeo2.conf.in
+output = ${buildout:parts-directory}/etc/zeo2.conf
+
+
+[zeo_client1]
+# See http://pypi.python.org/pypi/zc.recipe.egg for details...
+recipe = zc.recipe.egg
+eggs = waeup.futminna [beaker, diazo]
+arguments = "${buildout:parts-directory}/etc/zeo1.conf"
+scripts = kofactl=zeo_client1
+
+[zeo_client2]
+# See http://pypi.python.org/pypi/zc.recipe.egg for details...
+recipe = zc.recipe.egg
+eggs = waeup.futminna [beaker, diazo]
+arguments = "${buildout:parts-directory}/etc/zeo2.conf"
+scripts = kofactl=zeo_client2
+
Index: /main/waeup.futminna/tags/1.1/buildout.cfg
===================================================================
--- /main/waeup.futminna/tags/1.1/buildout.cfg	(revision 11490)
+++ /main/waeup.futminna/tags/1.1/buildout.cfg	(revision 11490)
@@ -0,0 +1,206 @@
+[buildout]
+# See http://pypi.python.org/pypi/mr.developer for details
+extensions = mr.developer
+auto-checkout = waeup.kofa kofacustom.nigeria
+# We cannot use 'src' (the default) as the checked out projects won't
+# work properly with paster (paster looks up any upper directory
+# egg-info dirs and then complains about not-available packages).
+sources-dir = sources
+develop = .
+parts =
+    eggbasket
+    app
+    i18n
+    test
+    mkdirs
+    zpasswd
+    zope_conf
+    site_zcml
+    zdaemon_conf
+    raw_deploy_ini
+    raw_debug_ini
+    themed_deploy_ini
+    themed_debug_ini
+    profile_ini
+    coverage-detect
+    coverage-report
+# kofactl creation must be _after_ app!
+    kofactl
+    lxml
+    diazo
+# For backward compatibility, telling buildout not to throw away
+# the data and log subdirectories from the parts directory.
+    data
+    log
+# newest = false
+
+extends = versions.cfg
+show-picked-versions = true
+update-versions-file = versions.cfg
+
+# eggs will be installed in the default buildout location
+# (see .buildout/default.cfg in your home directory)
+# unless you specify an eggs-directory option here.
+
+[sources]
+waeup.kofa = svn https://svn.waeup.org/repos/main/waeup.kofa/tags/1.1
+kofacustom.nigeria = svn https://svn.waeup.org/repos/main/kofacustom.nigeria/tags/1.0
+
+[kofa_params]
+## Basic parameters for deployment.
+# default is 127.0.0.1
+host = 0.0.0.0
+# default is 8080
+base_port = 7041
+zeo1_port = 7041
+zeo2_port = 7042
+zeo3_port = 7043
+server_port = 7040
+# default 7. Number of pre-opened ZODB threads/client
+pool_size = 7
+# default 20MB. Cache size of each client (ZEO only)
+client_cache = 20MB
+# default 5000. Number of objects cached.
+object_cache = 5000
+# number of preopened paster threads, default 10
+threadpool_workers = 10
+devel_pkg = waeup.futminna
+
+[app]
+# This creates all scripts in bin/. The kofactl created here is 'faulty'.
+recipe = zc.recipe.egg
+eggs = waeup.futminna [beaker, diazo]
+       z3c.evalexception>=2.0
+       Paste
+       PasteScript
+       PasteDeploy
+       repoze.profile
+       ZODB3
+interpreter = python-console
+
+[kofactl]
+# See http://pypi.python.org/pypi/zc.recipe.egg for details...
+# Here we create the kofactl script again, this time with a
+# fixed path to zdaemon.conf as argument.
+recipe = zc.recipe.egg
+eggs = waeup.futminna [beaker, diazo]
+arguments = "${buildout:parts-directory}/etc/zdaemon.conf"
+scripts = kofactl=kofactl
+
+[mkdirs]
+recipe = z3c.recipe.mkdir
+paths =
+    ${zope_conf:filestorage}
+    ${zope_conf:logfiles}
+    ${zope_conf:blobstorage}
+    ${buildout:directory}/var/datacenter/media
+    ${buildout:directory}/parts/test/datacenter
+
+[test]
+recipe = zc.recipe.testrunner
+eggs = waeup.futminna [beaker, test]
+defaults = ['--tests-pattern', '^f?tests$', '-v']
+
+# This section named so that the i18n scripts are called bin/i18n...
+[i18n]
+recipe = z3c.recipe.i18n:i18n
+packages = waeup.futminna
+eggs = waeup.futminna
+domain = waeup.futminna
+output = src/waeup/futminna/locales
+zcml =
+
+# This section is named so that the zpasswd utility is
+# called `zpasswd`
+[zpasswd]
+recipe = z3c.recipe.dev:script
+eggs = waeup.futminna
+module = zope.app.server.zpasswd
+method = main
+
+[zope_conf]
+recipe = collective.recipe.template
+input = etc/zope.conf.in
+output = ${buildout:parts-directory}/etc/zope.conf
+filestorage = ${buildout:directory}/var/filestorage
+blobstorage = ${buildout:directory}/var/blobstorage
+logfiles = ${buildout:directory}/var/log
+extra =
+# extra = <grokwarnings>True</grokwarnings>
+# 'extra' is copied verbatim. Use it for product config sections and so.
+
+# The [data] and [log] parts are still in here to instruct buildout to not
+# unintentionally throw away the parts/data and parts/log subdirectories
+# that contain the Data.fs and the log files. These files should be
+# copied to the new locations. See the upgrade notes for more information.
+[data]
+recipe = zc.recipe.filestorage
+
+[log]
+recipe = zc.recipe.filestorage
+
+[site_zcml]
+recipe = collective.recipe.template
+input = etc/site.zcml.in
+output = ${buildout:parts-directory}/etc/site.zcml
+
+[zdaemon_conf]
+recipe = collective.recipe.template
+input = etc/zdaemon.conf.in
+output = ${buildout:parts-directory}/etc/zdaemon.conf
+
+[raw_debug_ini]
+recipe = collective.recipe.template
+input = etc/raw/debug.ini.in
+output = ${buildout:parts-directory}/etc/raw-debug.ini
+
+[raw_deploy_ini]
+recipe = collective.recipe.template
+input = etc/raw/deploy.ini.in
+output = ${buildout:parts-directory}/etc/raw-deploy.ini
+
+[themed_debug_ini]
+recipe = collective.recipe.template
+input = etc/themed/debug.ini.in
+output = ${buildout:parts-directory}/etc/themed-debug.ini
+
+[themed_deploy_ini]
+recipe = collective.recipe.template
+input = etc/themed/deploy.ini.in
+output = ${buildout:parts-directory}/etc/themed-deploy.ini
+
+[profile_ini]
+recipe = collective.recipe.template
+input = etc/profile.ini.in
+output = ${buildout:parts-directory}/etc/profile.ini
+
+[eggbasket]
+recipe = z3c.recipe.eggbasket
+eggs = grok
+url = http://grok.zope.org/releaseinfo/grok-eggs-1.1.tgz
+
+# Collect test coverage data.
+[coverage-detect]
+recipe = zc.recipe.testrunner
+eggs = waeup.futminna[beaker]
+defaults = ['--tests-pattern', '^f?tests$', '-v', '--coverage', 'coverage']
+
+# Create a coverage report.
+# Make sure to run bin/coverage-detect to collect the data for the report
+# first!
+[coverage-report]
+recipe = zc.recipe.egg
+eggs = z3c.coverage
+scripts = coveragereport
+arguments = ('${buildout:parts-directory}/coverage-detect/working-directory/coverage', '${buildout:directory}/coverage-report')
+
+[lxml]
+recipe = z3c.recipe.staticlxml
+egg = lxml
+
+[diazo]
+recipe = zc.recipe.egg
+eggs =
+    diazo [wsgi]
+    PasteScript
+    waeup.futminna [beaker, diazo]
Index: /main/waeup.futminna/tags/1.1/etc/README.txt
===================================================================
--- /main/waeup.futminna/tags/1.1/etc/README.txt	(revision 11490)
+++ /main/waeup.futminna/tags/1.1/etc/README.txt	(revision 11490)
@@ -0,0 +1,26 @@
+In this directory you can find templates which are used by
+``zc.buildout`` to create the configuration files in the parts/etc/ subdir
+of your project.
+
+If you modify files in this directory, you have to run::
+
+  $ bin/buildout
+
+afterwards to rebuild the configuration files in parts/etc/.
+
+In the templates you can use placesholders recognized by zc.buildout
+to name local paths, etc. A zc.buildout placeholder looks like this::
+
+  ${buildout:directory}
+
+which gives you the path of the project directory and will be
+substituted with the real path when you run buildout the next
+time. The set of available placeholders depends on your
+buildout.cfg.
+
+You can also modify files in parts/etc directly, but those changes
+will be overwritten after running bin/buildout the next time.
+
+To run your project you can do::
+
+  $ bin/paster serve parts/etc/deploy.ini
Index: /main/waeup.futminna/tags/1.1/etc/debug.ini.in
===================================================================
--- /main/waeup.futminna/tags/1.1/etc/debug.ini.in	(revision 11490)
+++ /main/waeup.futminna/tags/1.1/etc/debug.ini.in	(revision 11490)
@@ -0,0 +1,68 @@
+# debug.ini
+#
+# Debugging configuration for use with paster/WSGI
+#
+
+[loggers]
+keys = root, wsgi
+
+[handlers]
+keys = console, accesslog
+
+[formatters]
+keys = generic, accesslog
+
+[formatter_generic]
+format = %(asctime)s %(levelname)s [%(name)s] %(message)s
+
+[formatter_accesslog]
+format = %(message)s
+
+[handler_console]
+class = StreamHandler
+args = (sys.stderr,)
+level = NOTSET
+formatter = generic
+
+[handler_accesslog]
+class = FileHandler
+args = (os.path.join(r'${zope_conf:logfiles}', 'access.log'),
+        'a')
+level = INFO
+formatter = accesslog
+
+[logger_root]
+level = INFO
+handlers = console
+
+[logger_wsgi]
+level = INFO
+handlers = accesslog
+qualname = wsgi
+propagate = 0
+
+[filter:translogger]
+use = egg:Paste#translogger
+setup_console_handler = False
+logger_name = wsgi
+
+[filter-app:main]
+# Change the last part from 'ajax' to 'pdb' for a post-mortem debugger
+# on the console:
+use = egg:z3c.evalexception#ajax
+next = zope
+
+[app:zope]
+use = egg:waeup.futminna#debug
+filter-with = translogger
+exempt-exceptions = zope.security.interfaces.IUnauthorized
+
+[server:main]
+use = egg:Paste#http
+host = ${kofa_params:host}
+port = ${kofa_params:base_port}
+
+[DEFAULT]
+# set the name of the zope.conf file
+zope_conf = %(here)s/zope.conf
+env_vars = ZC_ASYNC_UUID ${buildout:directory}/var/uuid1.txt
Index: /main/waeup.futminna/tags/1.1/etc/deploy.ini.in
===================================================================
--- /main/waeup.futminna/tags/1.1/etc/deploy.ini.in	(revision 11490)
+++ /main/waeup.futminna/tags/1.1/etc/deploy.ini.in	(revision 11490)
@@ -0,0 +1,94 @@
+# deploy.ini
+#
+# Deployment configuration for use with paster/WSGI
+#
+
+[loggers]
+keys = root, wsgi, async, async_trace
+
+[handlers]
+keys = null, console, accesslog, asynclog, async_tracelog
+
+[formatters]
+keys = generic, accesslog
+
+[logger_root]
+level = INFO
+handlers = console
+
+[logger_wsgi]
+level = INFO
+#handlers = accesslog
+handlers = null
+qualname = wsgi
+propagate = 0
+
+[logger_async]
+level = INFO
+handlers = asynclog
+qualname = zc.async
+propagate = 0
+
+[logger_async_trace]
+level = INFO
+handlers = async_tracelog
+qualname = zc.async.trace
+propagate = 0
+
+[handler_null]
+# you can use 'NullHandler' (w/o the path) if under Python 2.7+
+class = waeup.kofa.utils.helpers.NullHandler
+args = ()
+level = NOTSET
+
+[handler_console]
+class = StreamHandler
+args = (sys.stderr,)
+level = NOTSET
+formatter = generic
+
+[handler_accesslog]
+class = FileHandler
+args = (os.path.join(r'${zope_conf:logfiles}', 'access.log'),
+        'a')
+level = INFO
+formatter = accesslog
+
+[handler_asynclog]
+class = FileHandler
+args = (os.path.join(r'${zope_conf:logfiles}', 'async.log'),
+        'a')
+level = INFO
+formatter = generic
+
+[handler_async_tracelog]
+class = FileHandler
+args = (os.path.join(r'${zope_conf:logfiles}', 'async_trace.log'),
+        'a')
+level = INFO
+formatter = generic
+
+[formatter_generic]
+format = %(asctime)s %(levelname)s [%(name)s] %(message)s
+
+[formatter_accesslog]
+format = %(message)s
+
+[filter:translogger]
+use = egg:Paste#translogger
+setup_console_handler = False
+logger_name = wsgi
+
+[app:main]
+use = egg:waeup.futminna
+filter-with = translogger
+
+[server:main]
+use = egg:Paste#http
+host = ${kofa_params:host}
+port = ${kofa_params:base_port}
+
+[DEFAULT]
+# set the name of the zope.conf file
+zope_conf = %(here)s/zope.conf
+env_vars = ZC_ASYNC_UUID ${buildout:directory}/var/uuid1.txt
Index: /main/waeup.futminna/tags/1.1/etc/profile.ini.in
===================================================================
--- /main/waeup.futminna/tags/1.1/etc/profile.ini.in	(revision 11490)
+++ /main/waeup.futminna/tags/1.1/etc/profile.ini.in	(revision 11490)
@@ -0,0 +1,67 @@
+# profile.ini
+#
+# Profiling configuration for use with paster/WSGI
+#
+# Call http://localhost:8080/__profile__ to see the profiler in action
+
+[loggers]
+keys = root, wsgi
+
+[handlers]
+keys = console, accesslog
+
+[formatters]
+keys = generic, accesslog
+
+[logger_root]
+level = INFO
+handlers = console
+
+[logger_wsgi]
+level = INFO
+handlers = accesslog
+qualname = wsgi
+propagate = 0
+
+[handler_console]
+class = StreamHandler
+args = (sys.stderr,)
+level = NOTSET
+formatter = generic
+
+[handler_accesslog]
+class = FileHandler
+args = (os.path.join(r'${zope_conf:logfiles}', 'access.log'),
+        'a')
+level = INFO
+formatter = accesslog
+
+[formatter_generic]
+format = %(asctime)s %(levelname)s [%(name)s] %(message)s
+
+[formatter_accesslog]
+format = %(message)s
+
+[filter:translogger]
+use = egg:Paste#translogger
+setup_console_handler = False
+logger_name = wsgi
+
+[filter:profiler]
+use = egg:repoze.profile#profile
+
+[app:app]
+use = egg:waeup.futminna
+
+[pipeline:main]
+pipeline = translogger profiler app
+
+[server:main]
+use = egg:Paste#http
+host = ${kofa_params:host}
+port = ${kofa_params:base_port}
+
+[DEFAULT]
+# set the name of the zope.conf file
+zope_conf = %(here)s/zope.conf
+env_vars = ZC_ASYNC_UUID ${buildout:directory}/var/uuid1.txt
Index: /main/waeup.futminna/tags/1.1/etc/raw/debug.ini.in
===================================================================
--- /main/waeup.futminna/tags/1.1/etc/raw/debug.ini.in	(revision 11490)
+++ /main/waeup.futminna/tags/1.1/etc/raw/debug.ini.in	(revision 11490)
@@ -0,0 +1,94 @@
+# debug.ini
+#
+# Debugging configuration for use with paster/WSGI
+#
+
+[loggers]
+keys = root, wsgi
+
+[handlers]
+keys = console, accesslog, asynclog, async_tracelog
+
+[formatters]
+keys = generic, accesslog
+
+[formatter_generic]
+format = %(asctime)s %(levelname)s [%(name)s] %(message)s
+
+[formatter_accesslog]
+format = %(message)s
+
+[handler_asynclog]
+class = FileHandler
+args = (os.path.join(r'${zope_conf:logfiles}', 'async.log'),
+        'a')
+level = INFO
+formatter = generic
+
+[handler_async_tracelog]
+class = FileHandler
+args = (os.path.join(r'${zope_conf:logfiles}', 'async_trace.log'),
+        'a')
+level = INFO
+formatter = generic
+
+[handler_console]
+class = StreamHandler
+args = (sys.stderr,)
+level = NOTSET
+formatter = generic
+
+[handler_accesslog]
+class = FileHandler
+args = (os.path.join(r'${zope_conf:logfiles}', 'access.log'),
+        'a')
+level = INFO
+formatter = accesslog
+
+[logger_root]
+level = INFO
+handlers = console
+
+[logger_wsgi]
+level = INFO
+handlers = accesslog
+qualname = wsgi
+propagate = 0
+
+[logger_async]
+level = INFO
+handlers = asynclog
+qualname = zc.async
+propagate = 0
+
+[logger_async_trace]
+level = INFO
+handlers = async_tracelog
+qualname = zc.async.trace
+propagate = 0
+
+[filter:translogger]
+use = egg:Paste#translogger
+setup_console_handler = False
+logger_name = wsgi
+
+[filter-app:main]
+# Change the last part from 'ajax' to 'pdb' for a post-mortem debugger
+# on the console:
+use = egg:z3c.evalexception#ajax
+next = zope
+
+[app:zope]
+use = egg:${kofa_params:devel_pkg}#debug
+filter-with = translogger
+exempt-exceptions = zope.security.interfaces.IUnauthorized
+
+[server:main]
+use = egg:Paste#http
+host = ${kofa_params:host}
+port = ${kofa_params:base_port}
+
+[DEFAULT]
+# set the name of the zope.conf file
+zope_conf = %(here)s/zope.conf
+env_vars = ZC_ASYNC_UUID ${buildout:directory}/var/uuid1.txt
Index: /main/waeup.futminna/tags/1.1/etc/raw/deploy.ini.in
===================================================================
--- /main/waeup.futminna/tags/1.1/etc/raw/deploy.ini.in	(revision 11490)
+++ /main/waeup.futminna/tags/1.1/etc/raw/deploy.ini.in	(revision 11490)
@@ -0,0 +1,94 @@
+# deploy.ini
+#
+# Deployment configuration for use with paster/WSGI
+#
+
+[loggers]
+keys = root, wsgi, async, async_trace
+
+[handlers]
+keys = null, console, accesslog, asynclog, async_tracelog
+
+[formatters]
+keys = generic, accesslog
+
+[logger_root]
+level = INFO
+handlers = console
+
+[logger_wsgi]
+level = INFO
+#handlers = accesslog
+handlers = null
+qualname = wsgi
+propagate = 0
+
+[logger_async]
+level = INFO
+handlers = asynclog
+qualname = zc.async
+propagate = 0
+
+[logger_async_trace]
+level = INFO
+handlers = async_tracelog
+qualname = zc.async.trace
+propagate = 0
+
+[handler_null]
+# you can use 'NullHandler' (w/o the path) if under Python 2.7+
+class = waeup.kofa.utils.helpers.NullHandler
+args = ()
+level = NOTSET
+
+[handler_console]
+class = StreamHandler
+args = (sys.stderr,)
+level = NOTSET
+formatter = generic
+
+[handler_accesslog]
+class = FileHandler
+args = (os.path.join(r'${zope_conf:logfiles}', 'access.log'),
+        'a')
+level = INFO
+formatter = accesslog
+
+[handler_asynclog]
+class = FileHandler
+args = (os.path.join(r'${zope_conf:logfiles}', 'async.log'),
+        'a')
+level = INFO
+formatter = generic
+
+[handler_async_tracelog]
+class = FileHandler
+args = (os.path.join(r'${zope_conf:logfiles}', 'async_trace.log'),
+        'a')
+level = INFO
+formatter = generic
+
+[formatter_generic]
+format = %(asctime)s %(levelname)s [%(name)s] %(message)s
+
+[formatter_accesslog]
+format = %(message)s
+
+[filter:translogger]
+use = egg:Paste#translogger
+setup_console_handler = False
+logger_name = wsgi
+
+[app:main]
+use = egg:${kofa_params:devel_pkg}
+filter-with = translogger
+
+[server:main]
+use = egg:Paste#http
+host = ${kofa_params:host}
+port = ${kofa_params:base_port}
+
+[DEFAULT]
+# set the name of the zope.conf file
+zope_conf = %(here)s/zope.conf
+env_vars = ZC_ASYNC_UUID ${buildout:directory}/var/uuid1.txt
Index: /main/waeup.futminna/tags/1.1/etc/site.zcml.in
===================================================================
--- /main/waeup.futminna/tags/1.1/etc/site.zcml.in	(revision 11490)
+++ /main/waeup.futminna/tags/1.1/etc/site.zcml.in	(revision 11490)
@@ -0,0 +1,68 @@
+<configure xmlns="http://namespaces.zope.org/zope"
+           xmlns:kofa="http://namespaces.waeup.org/kofa"
+           i18n_domain="waeup.futminna">
+
+  <include package="waeup.futminna" />
+  <include package="waeup.futminna" file="mail.zcml" />
+
+  <!-- install job container
+
+       install a job container for asynchronous jobs. Pick one of the
+       two possibilites: 'single' for installation in the one big ZODB
+       or 'multidb' for setup with a dedicated ZODB for job handling.
+  -->
+  <!-- include package="waeup.kofa" file="async_single.zcml" / -->
+  <include package="waeup.kofa" file="async_multidb.zcml" />
+
+  <!-- install dispatcher and other needed async components
+
+       install other needed components for asynchronous jobs. Pick one
+       of the two possibilities: 'basic_dispatcher' for single ZODB
+       setup, 'multidb_dispatcher' for setup with a dedicated ZODB for
+       job handling. Make sure the setting matches the setting picked
+       above. -->
+  <!-- include package="zc.async" file="basic_dispatcher_policy.zcml" / -->
+  <include package="zc.async" file="multidb_dispatcher_policy.zcml" />
+
+  <!-- Where should the datacenter reside by default? -->
+  <kofa:datacenter
+      path="${buildout:directory}/var/datacenter" />
+
+    <configure i18n_domain="waeup.futminna">
+
+      <unauthenticatedPrincipal id="zope.anybody"
+                                title="Unauthenticated User" />
+      <unauthenticatedGroup id="zope.Anybody"
+                            title="Unauthenticated Users" />
+      <authenticatedGroup id="zope.Authenticated"
+                        title="Authenticated Users" />
+      <everybodyGroup id="zope.Everybody"
+                      title="All Users" />
+      <principal id="zope.manager"
+                 title="Manager"
+                 login="grok"
+                 password_manager="SSHA"
+                 password="{SSHA}PQQypyPElik2Pi3wM5kO1W78eVCGgdZ8"
+                 />
+
+      <!-- Replace the following directive if you do not want
+           public access -->
+      <grant permission="zope.app.dublincore.view"
+             principal="zope.Anybody" />
+      <grant permission="zope.View"
+             principal="zope.Authenticated" />
+      <grant permission="zope.app.dublincore.view"
+             principal="zope.Authenticated" />
+      <grant permission="waeup.Public"
+             principal="zope.Everybody" />
+      <grant permission="waeup.Anonymous"
+             principal="zope.Anybody" />
+      <grant permission="waeup.Authenticated"
+             principal="zope.Authenticated" />
+
+      <role id="zope.Manager" title="Site Manager" />
+      <grantAll role="zope.Manager" />
+      <grant role="zope.Manager"
+             principal="zope.manager" />
+   </configure>
+</configure>
Index: /main/waeup.futminna/tags/1.1/etc/themed/debug.ini.in
===================================================================
--- /main/waeup.futminna/tags/1.1/etc/themed/debug.ini.in	(revision 11490)
+++ /main/waeup.futminna/tags/1.1/etc/themed/debug.ini.in	(revision 11490)
@@ -0,0 +1,125 @@
+# debug.ini
+#
+# Debugging configuration for use with paster/WSGI and diazo
+#
+
+[loggers]
+keys = root, wsgi
+
+[handlers]
+keys = console, accesslog, asynclog, async_tracelog
+
+[formatters]
+keys = generic, accesslog
+
+[formatter_generic]
+format = %(asctime)s %(levelname)s [%(name)s] %(message)s
+
+[formatter_accesslog]
+format = %(message)s
+
+[handler_asynclog]
+class = FileHandler
+args = (os.path.join(r'${zope_conf:logfiles}', 'async.log'),
+        'a')
+level = INFO
+formatter = generic
+
+[handler_async_tracelog]
+class = FileHandler
+args = (os.path.join(r'${zope_conf:logfiles}', 'async_trace.log'),
+        'a')
+level = INFO
+formatter = generic
+
+[handler_console]
+class = StreamHandler
+args = (sys.stderr,)
+level = NOTSET
+formatter = generic
+
+[handler_accesslog]
+class = FileHandler
+args = (os.path.join(r'${zope_conf:logfiles}', 'access.log'),
+        'a')
+level = INFO
+formatter = accesslog
+
+[logger_root]
+level = INFO
+handlers = console
+
+[logger_wsgi]
+level = INFO
+handlers = accesslog
+qualname = wsgi
+propagate = 0
+
+[logger_async]
+level = INFO
+handlers = asynclog
+qualname = zc.async
+propagate = 0
+
+[logger_async_trace]
+level = INFO
+handlers = async_tracelog
+qualname = zc.async.trace
+propagate = 0
+
+[filter:translogger]
+use = egg:Paste#translogger
+setup_console_handler = False
+logger_name = wsgi
+
+[filter:debugger]
+# Change the last part from 'ajax' to 'pdb' for a post-mortem debugger
+# on the console:
+use = egg:z3c.evalexception#ajax
+
+[app:zope]
+use = egg:${kofa_params:devel_pkg}#debug
+exempt-exceptions = zope.security.interfaces.IUnauthorized
+
+[app:static]
+use = egg:Paste#static
+document_root = %(LAYOUT_DIR)s/static
+
+[app:static_custom]
+use = egg:Paste#static
+document_root = %(LAYOUT_CUSTOM_DIR)s/static/
+
+[composite:main]
+use = egg:Paste#urlmap
+/static = static
+/static_custom = static_custom
+/ = default
+
+[filter:theme]
+use = egg:diazo
+rules = file:///%(LAYOUT_CUSTOM_DIR)s/rules.xml
+prefix = /
+doctype = <!DOCTYPE html>
+# set to false, if you don't want rules.xml being rebuild on each request
+debug = true
+
+[pipeline:default]
+pipeline = theme
+           translogger
+           debugger
+           zope
+
+[server:main]
+use = egg:Paste#http
+host = ${kofa_params:host}
+port = ${kofa_params:base_port}
+
+[DEFAULT]
+# set the name of the zope.conf file
+zope_conf = %(here)s/zope.conf
+env_vars = ZC_ASYNC_UUID ${buildout:directory}/var/uuid1.txt
+# the directory where all real diazo config is done (no trailing slash)
+LAYOUT_DIR = ${buildout:directory}/sources/waeup.kofa/layout
+STATIC_DIR = %(LAYOUT_DIR)s/static
+LAYOUT_CUSTOM_DIR = ${buildout:directory}/layout
+STATIC_CUSTOM_DIR = %(LAYOUT_CUSTOM_DIR)s/static
Index: /main/waeup.futminna/tags/1.1/etc/themed/deploy.ini.in
===================================================================
--- /main/waeup.futminna/tags/1.1/etc/themed/deploy.ini.in	(revision 11490)
+++ /main/waeup.futminna/tags/1.1/etc/themed/deploy.ini.in	(revision 11490)
@@ -0,0 +1,125 @@
+# deploy.ini
+#
+# Deployment configuration for use with paster/WSGI
+#
+
+[loggers]
+keys = root, wsgi, async, async_trace
+
+[handlers]
+keys = null, console, accesslog, asynclog, async_tracelog
+
+[formatters]
+keys = generic, accesslog
+
+[logger_root]
+level = INFO
+handlers = console
+
+[logger_wsgi]
+level = INFO
+#handlers = accesslog
+handlers = null
+qualname = wsgi
+propagate = 0
+
+[logger_async]
+level = INFO
+handlers = asynclog
+qualname = zc.async
+propagate = 0
+
+[logger_async_trace]
+level = INFO
+handlers = async_tracelog
+qualname = zc.async.trace
+propagate = 0
+
+[handler_null]
+# you can use 'NullHandler' (w/o the path) if under Python 2.7+
+class = waeup.kofa.utils.helpers.NullHandler
+args = ()
+level = NOTSET
+
+[handler_console]
+class = StreamHandler
+args = (sys.stderr,)
+level = NOTSET
+formatter = generic
+
+[handler_accesslog]
+class = FileHandler
+args = (os.path.join(r'${zope_conf:logfiles}', 'access.log'),
+        'a')
+level = INFO
+formatter = accesslog
+
+[handler_asynclog]
+class = FileHandler
+args = (os.path.join(r'${zope_conf:logfiles}', 'async.log'),
+        'a')
+level = INFO
+formatter = generic
+
+[handler_async_tracelog]
+class = FileHandler
+args = (os.path.join(r'${zope_conf:logfiles}', 'async_trace.log'),
+        'a')
+level = INFO
+formatter = generic
+
+[formatter_generic]
+format = %(asctime)s %(levelname)s [%(name)s] %(message)s
+
+[formatter_accesslog]
+format = %(message)s
+
+[filter:translogger]
+use = egg:Paste#translogger
+setup_console_handler = False
+logger_name = wsgi
+
+[app:content]
+use = egg:${kofa_params:devel_pkg}
+filter-with = translogger
+
+[app:static]
+use = egg:Paste#static
+document_root = %(LAYOUT_DIR)s/static/
+
+[app:static_custom]
+use = egg:Paste#static
+document_root = %(LAYOUT_CUSTOM_DIR)s/static/
+
+[composite:main]
+use = egg:Paste#urlmap
+/static = static
+/static_custom = static_custom
+/ = default
+
+[server:main]
+use = egg:Paste#http
+host = ${kofa_params:host}
+port = ${kofa_params:base_port}
+
+[filter:theme]
+use = egg:diazo
+rules = file:///%(LAYOUT_CUSTOM_DIR)s/rules.xml
+prefix = /
+doctype = <!DOCTYPE html>
+# set to true, if you want rules.xml being rebuild on each request
+debug = false
+
+[pipeline:default]
+pipeline = theme
+           content
+
+[DEFAULT]
+# set the name of the zope.conf file
+zope_conf = %(here)s/zope.conf
+env_vars = ZC_ASYNC_UUID ${buildout:directory}/var/uuid1.txt
+# the directory where all real diazo config is done (no trailing slash)
+LAYOUT_DIR = ${buildout:directory}/sources/waeup.kofa/layout
+STATIC_DIR = %(LAYOUT_DIR)s/static
+LAYOUT_CUSTOM_DIR = ${buildout:directory}/layout
+STATIC_CUSTOM_DIR = %(LAYOUT_CUSTOM_DIR)s/static
Index: /main/waeup.futminna/tags/1.1/etc/themed/zeo1.ini.in
===================================================================
--- /main/waeup.futminna/tags/1.1/etc/themed/zeo1.ini.in	(revision 11490)
+++ /main/waeup.futminna/tags/1.1/etc/themed/zeo1.ini.in	(revision 11490)
@@ -0,0 +1,126 @@
+# deploy.ini
+#
+# Deployment configuration for use with paster/WSGI
+#
+
+[loggers]
+keys = root, wsgi, async, async_trace
+
+[handlers]
+keys = null, console, accesslog, asynclog, async_tracelog
+
+[formatters]
+keys = generic, accesslog
+
+[logger_root]
+level = INFO
+handlers = console
+
+[logger_wsgi]
+level = INFO
+#handlers = accesslog
+handlers = null
+qualname = wsgi
+propagate = 0
+
+[logger_async]
+level = INFO
+handlers = asynclog
+qualname = zc.async
+propagate = 0
+
+[logger_async_trace]
+level = INFO
+handlers = async_tracelog
+qualname = zc.async.trace
+propagate = 0
+
+[handler_null]
+# you can use 'NullHandler' (w/o the path) if under Python 2.7+
+class = waeup.kofa.utils.helpers.NullHandler
+args = ()
+level = NOTSET
+
+[handler_console]
+class = StreamHandler
+args = (sys.stderr,)
+level = NOTSET
+formatter = generic
+
+[handler_accesslog]
+class = FileHandler
+args = (os.path.join(r'${zope_conf:logfiles}', 'zeo1.log'),
+        'a')
+level = INFO
+formatter = accesslog
+
+[handler_asynclog]
+class = FileHandler
+args = (os.path.join(r'${zope_conf:logfiles}', 'zeo1_async.log'),
+        'a')
+level = INFO
+formatter = generic
+
+[handler_async_tracelog]
+class = FileHandler
+args = (os.path.join(r'${zope_conf:logfiles}', 'zeo1_async_trace.log'),
+        'a')
+level = INFO
+formatter = generic
+
+[formatter_generic]
+format = %(asctime)s %(levelname)s [%(name)s] %(message)s
+
+[formatter_accesslog]
+format = %(message)s
+
+[filter:translogger]
+use = egg:Paste#translogger
+setup_console_handler = False
+logger_name = wsgi
+
+[app:content]
+use = egg:${kofa_params:devel_pkg}
+filter-with = translogger
+
+[app:static]
+use = egg:Paste#static
+document_root = %(LAYOUT_DIR)s/static/
+
+[app:static_custom]
+use = egg:Paste#static
+document_root = %(LAYOUT_CUSTOM_DIR)s/static/
+
+[composite:main]
+use = egg:Paste#urlmap
+/static = static
+/static_custom = static_custom
+/ = default
+
+[server:main]
+use = egg:Paste#http
+host = ${kofa_params:host}
+port = ${kofa_params:zeo1_port}
+threadpool_workers = ${kofa_params:threadpool_workers}
+use_threadpool = True
+
+[filter:theme]
+use = egg:diazo
+rules = file:///%(LAYOUT_CUSTOM_DIR)s/rules.xml
+prefix = /
+doctype = <!DOCTYPE html>
+# set to true, if you want rules.xml being rebuild on each request
+debug = false
+
+[pipeline:default]
+pipeline = theme
+           content
+[DEFAULT]
+# set the name of the zope.conf file
+zope_conf = %(here)s/zope_zeo1.conf
+env_vars = ZC_ASYNC_UUID ${buildout:directory}/var/uuid1.txt
+# the directory where all real diazo config is done (no trailing slash)
+LAYOUT_DIR = ${buildout:directory}/sources/waeup.kofa/layout
+STATIC_DIR = %(LAYOUT_DIR)s/static
+LAYOUT_CUSTOM_DIR = ${buildout:directory}/layout
+STATIC_CUSTOM_DIR = %(LAYOUT_CUSTOM_DIR)s/static
Index: /main/waeup.futminna/tags/1.1/etc/themed/zeo2.ini.in
===================================================================
--- /main/waeup.futminna/tags/1.1/etc/themed/zeo2.ini.in	(revision 11490)
+++ /main/waeup.futminna/tags/1.1/etc/themed/zeo2.ini.in	(revision 11490)
@@ -0,0 +1,126 @@
+# deploy.ini
+#
+# Deployment configuration for use with paster/WSGI
+#
+
+[loggers]
+keys = root, wsgi, async, async_trace
+
+[handlers]
+keys = null, console, accesslog, asynclog, async_tracelog
+
+[formatters]
+keys = generic, accesslog
+
+[logger_root]
+level = INFO
+handlers = console
+
+[logger_wsgi]
+level = INFO
+#handlers = accesslog
+handlers = null
+qualname = wsgi
+propagate = 0
+
+[logger_async]
+level = INFO
+handlers = asynclog
+qualname = zc.async
+propagate = 0
+
+[logger_async_trace]
+level = INFO
+handlers = async_tracelog
+qualname = zc.async.trace
+propagate = 0
+
+[handler_null]
+# you can use 'NullHandler' (w/o the path) if under Python 2.7+
+class = waeup.kofa.utils.helpers.NullHandler
+args = ()
+level = NOTSET
+
+[handler_console]
+class = StreamHandler
+args = (sys.stderr,)
+level = NOTSET
+formatter = generic
+
+[handler_accesslog]
+class = FileHandler
+args = (os.path.join(r'${zope_conf:logfiles}', 'zeo2.log'),
+        'a')
+level = INFO
+formatter = accesslog
+
+[handler_asynclog]
+class = FileHandler
+args = (os.path.join(r'${zope_conf:logfiles}', 'zeo2_async.log'),
+        'a')
+level = INFO
+formatter = generic
+
+[handler_async_tracelog]
+class = FileHandler
+args = (os.path.join(r'${zope_conf:logfiles}', 'zeo2_async_trace.log'),
+        'a')
+level = INFO
+formatter = generic
+
+[formatter_generic]
+format = %(asctime)s %(levelname)s [%(name)s] %(message)s
+
+[formatter_accesslog]
+format = %(message)s
+
+[filter:translogger]
+use = egg:Paste#translogger
+setup_console_handler = False
+logger_name = wsgi
+
+[app:content]
+use = egg:${kofa_params:devel_pkg}
+filter-with = translogger
+
+[app:static]
+use = egg:Paste#static
+document_root = %(LAYOUT_DIR)s/static/
+
+[app:static_custom]
+use = egg:Paste#static
+document_root = %(LAYOUT_CUSTOM_DIR)s/static/
+
+[composite:main]
+use = egg:Paste#urlmap
+/static = static
+/static_custom = static_custom
+/ = default
+
+[server:main]
+use = egg:Paste#http
+host = ${kofa_params:host}
+port = ${kofa_params:zeo2_port}
+threadpool_workers = ${kofa_params:threadpool_workers}
+use_threadpool = True
+
+[filter:theme]
+use = egg:diazo
+rules = file:///%(LAYOUT_CUSTOM_DIR)s/rules.xml
+prefix = /
+doctype = <!DOCTYPE html>
+# set to true, if you want rules.xml being rebuild on each request
+debug = false
+
+[pipeline:default]
+pipeline = theme
+           content
+[DEFAULT]
+# set the name of the zope.conf file
+zope_conf = %(here)s/zope_zeo2.conf
+env_vars = ZC_ASYNC_UUID ${buildout:directory}/var/uuid2.txt
+# the directory where all real diazo config is done (no trailing slash)
+LAYOUT_DIR = ${buildout:directory}/sources/waeup.kofa/layout
+STATIC_DIR = %(LAYOUT_DIR)s/static
+LAYOUT_CUSTOM_DIR = ${buildout:directory}/layout
+STATIC_CUSTOM_DIR = %(LAYOUT_CUSTOM_DIR)s/static
Index: /main/waeup.futminna/tags/1.1/etc/zdaemon.conf.in
===================================================================
--- /main/waeup.futminna/tags/1.1/etc/zdaemon.conf.in	(revision 11490)
+++ /main/waeup.futminna/tags/1.1/etc/zdaemon.conf.in	(revision 11490)
@@ -0,0 +1,8 @@
+<runner>
+  program ${buildout:directory}/bin/paster serve ${buildout:directory}/parts/etc/themed-deploy.ini
+  daemon on
+  transcript ${zope_conf:logfiles}/zdaemon.log
+  socket-name ${zope_conf:logfiles}/zdaemonsock
+  # Enable this to run the child process as a different user
+  # user kofa
+</runner>
Index: /main/waeup.futminna/tags/1.1/etc/zeo1.conf.in
===================================================================
--- /main/waeup.futminna/tags/1.1/etc/zeo1.conf.in	(revision 11490)
+++ /main/waeup.futminna/tags/1.1/etc/zeo1.conf.in	(revision 11490)
@@ -0,0 +1,8 @@
+<runner>
+  program ${buildout:directory}/bin/paster serve --pid-file ${buildout:directory}/var/zeo2.pid ${buildout:directory}/parts/etc/themed-zeo2.ini
+  daemon on
+  transcript ${zope_conf:logfiles}/zdaemon-zeo2.log
+  socket-name ${zope_conf:logfiles}/zeo2.sock
+  # Enable this to run the child process as a different user
+  # user kofa
+</runner>
Index: /main/waeup.futminna/tags/1.1/etc/zeo1.ini.in
===================================================================
--- /main/waeup.futminna/tags/1.1/etc/zeo1.ini.in	(revision 11490)
+++ /main/waeup.futminna/tags/1.1/etc/zeo1.ini.in	(revision 11490)
@@ -0,0 +1,96 @@
+# deploy.ini
+#
+# Deployment configuration for use with paster/WSGI
+#
+
+[loggers]
+keys = root, wsgi, async, async_trace
+
+[handlers]
+keys = null, console, accesslog, asynclog, async_tracelog
+
+[formatters]
+keys = generic, accesslog
+
+[logger_root]
+level = INFO
+handlers = console
+
+[logger_wsgi]
+level = INFO
+#handlers = accesslog
+handlers = null
+qualname = wsgi
+propagate = 0
+
+[logger_async]
+level = INFO
+handlers = asynclog
+qualname = zc.async
+propagate = 0
+
+[logger_async_trace]
+level = INFO
+handlers = async_tracelog
+qualname = zc.async.trace
+propagate = 0
+
+[handler_null]
+# you can use 'NullHandler' (w/o the path) if under Python 2.7+
+class = waeup.kofa.utils.helpers.NullHandler
+args = ()
+level = NOTSET
+
+[handler_console]
+class = StreamHandler
+args = (sys.stderr,)
+level = NOTSET
+formatter = generic
+
+[handler_accesslog]
+class = FileHandler
+args = (os.path.join(r'${zope_conf:logfiles}', 'zeo1.log'),
+        'a')
+level = INFO
+formatter = accesslog
+
+[handler_asynclog]
+class = FileHandler
+args = (os.path.join(r'${zope_conf:logfiles}', 'zeo1_async.log'),
+        'a')
+level = INFO
+formatter = generic
+
+[handler_async_tracelog]
+class = FileHandler
+args = (os.path.join(r'${zope_conf:logfiles}', 'zeo1_async_trace.log'),
+        'a')
+level = INFO
+formatter = generic
+
+[formatter_generic]
+format = %(asctime)s %(levelname)s [%(name)s] %(message)s
+
+[formatter_accesslog]
+format = %(message)s
+
+[filter:translogger]
+use = egg:Paste#translogger
+setup_console_handler = False
+logger_name = wsgi
+
+[app:main]
+use = egg:waeup.futminna
+filter-with = translogger
+
+[server:main]
+use = egg:Paste#http
+host = ${kofa_params:host}
+port = ${kofa_params:zeo1_port}
+threadpool_workers = ${kofa_params:threadpool_workers}
+use_threadpool = True
+
+[DEFAULT]
+# set the name of the zope.conf file
+zope_conf = %(here)s/zope_zeo1.conf
+env_vars = ZC_ASYNC_UUID ${buildout:directory}/var/uuid1.txt
Index: /main/waeup.futminna/tags/1.1/etc/zeo2.conf.in
===================================================================
--- /main/waeup.futminna/tags/1.1/etc/zeo2.conf.in	(revision 11490)
+++ /main/waeup.futminna/tags/1.1/etc/zeo2.conf.in	(revision 11490)
@@ -0,0 +1,8 @@
+<runner>
+  program ${buildout:directory}/bin/paster serve --pid-file ${buildout:directory}/var/zeo2.pid ${buildout:directory}/parts/etc/themed-zeo2.ini
+  daemon on
+  transcript ${zope_conf:logfiles}/zdaemon-zeo2.log
+  socket-name ${zope_conf:logfiles}/zeo2.sock
+  # Enable this to run the child process as a different user
+  # user kofa
+</runner>
Index: /main/waeup.futminna/tags/1.1/etc/zeo2.ini.in
===================================================================
--- /main/waeup.futminna/tags/1.1/etc/zeo2.ini.in	(revision 11490)
+++ /main/waeup.futminna/tags/1.1/etc/zeo2.ini.in	(revision 11490)
@@ -0,0 +1,96 @@
+# deploy.ini
+#
+# Deployment configuration for use with paster/WSGI
+#
+
+[loggers]
+keys = root, wsgi, async, async_trace
+
+[handlers]
+keys = null, console, accesslog, asynclog, async_tracelog
+
+[formatters]
+keys = generic, accesslog
+
+[logger_root]
+level = INFO
+handlers = console
+
+[logger_wsgi]
+level = INFO
+#handlers = accesslog
+handlers = null
+qualname = wsgi
+propagate = 0
+
+[logger_async]
+level = INFO
+handlers = asynclog
+qualname = zc.async
+propagate = 0
+
+[logger_async_trace]
+level = INFO
+handlers = async_tracelog
+qualname = zc.async.trace
+propagate = 0
+
+[handler_null]
+# you can use 'NullHandler' (w/o the path) if under Python 2.7+
+class = waeup.kofa.utils.helpers.NullHandler
+args = ()
+level = NOTSET
+
+[handler_console]
+class = StreamHandler
+args = (sys.stderr,)
+level = NOTSET
+formatter = generic
+
+[handler_accesslog]
+class = FileHandler
+args = (os.path.join(r'${zope_conf:logfiles}', 'zeo2.log'),
+        'a')
+level = INFO
+formatter = accesslog
+
+[handler_asynclog]
+class = FileHandler
+args = (os.path.join(r'${zope_conf:logfiles}', 'zeo2_async.log'),
+        'a')
+level = INFO
+formatter = generic
+
+[handler_async_tracelog]
+class = FileHandler
+args = (os.path.join(r'${zope_conf:logfiles}', 'zeo2_async_trace.log'),
+        'a')
+level = INFO
+formatter = generic
+
+[formatter_generic]
+format = %(asctime)s %(levelname)s [%(name)s] %(message)s
+
+[formatter_accesslog]
+format = %(message)s
+
+[filter:translogger]
+use = egg:Paste#translogger
+setup_console_handler = False
+logger_name = wsgi
+
+[app:main]
+use = egg:waeup.futminna
+filter-with = translogger
+
+[server:main]
+use = egg:Paste#http
+host = ${kofa_params:host}
+port = ${kofa_params:zeo2_port}
+threadpool_workers = ${kofa_params:threadpool_workers}
+use_threadpool = True
+
+[DEFAULT]
+# set the name of the zope.conf file
+zope_conf = %(here)s/zope_zeo2.conf
+env_vars = ZC_ASYNC_UUID ${buildout:directory}/var/uuid2.txt
Index: /main/waeup.futminna/tags/1.1/etc/zope.conf.in
===================================================================
--- /main/waeup.futminna/tags/1.1/etc/zope.conf.in	(revision 11490)
+++ /main/waeup.futminna/tags/1.1/etc/zope.conf.in	(revision 11490)
@@ -0,0 +1,62 @@
+# Identify the component configuration used to define the site:
+site-definition ${site_zcml:output}
+
+<zodb>
+  # Standard blob storage
+  <blobstorage>
+    blob-dir ${zope_conf:blobstorage}
+    <filestorage>
+      path ${zope_conf:filestorage}/Data.fs
+    </filestorage>
+  </blobstorage>
+
+# Uncomment this if you want a blob-less standard file storage instead:
+#  <filestorage>
+#       path ${zope_conf:filestorage}
+#  </filestorage>
+
+# Uncomment this if you want to connect to a ZEO server instead:
+#  <zeoclient>
+#    server localhost:8100
+#    storage 1
+#    # ZEO client cache, in bytes
+#    cache-size 20MB
+#    # Uncomment to have a persistent disk cache
+#    #client zeo1
+#  </zeoclient>
+
+</zodb>
+
+<zodb async>
+  <filestorage>
+    # create true
+    path ${zope_conf:filestorage}/Data.async.fs
+  </filestorage>
+</zodb>
+
+<eventlog>
+  # This sets up logging to a file.
+  # The "path" setting can be a relative or absolute
+  # filesystem path.
+
+  <logfile>
+    path ${zope_conf:logfiles}/z3.log
+    formatter zope.exceptions.log.Formatter
+  </logfile>
+
+  # This sets up logging to to standard output.
+  # The "path" setting can be the tokens STDOUT or STDERR
+  
+#  <logfile>
+#    path STDOUT
+#    formatter zope.exceptions.log.Formatter
+#  </logfile>
+</eventlog>
+
+# Comment this line to disable developer mode.  This should be done in
+# production
+# devmode on
+
+# Extra configuration lines can be added to zope_conf's extra option. Put for 
+# instance productconf sections in here.
+${zope_conf:extra}
Index: /main/waeup.futminna/tags/1.1/etc/zope_zeo1.conf.in
===================================================================
--- /main/waeup.futminna/tags/1.1/etc/zope_zeo1.conf.in	(revision 11490)
+++ /main/waeup.futminna/tags/1.1/etc/zope_zeo1.conf.in	(revision 11490)
@@ -0,0 +1,101 @@
+# Identify the component configuration used to define the site:
+site-definition ${site_zcml:output}
+
+<zodb>
+
+  #cache-size
+
+  # num of concurrent pre-opened ZODB threads; default: 7
+  pool-size 25
+
+  # Standard blob storage
+#  <blobstorage>
+#    blob-dir ${zope_conf:blobstorage}
+#    <filestorage>
+#      path ${zope_conf:filestorage}/Data.fs
+#    </filestorage>
+#  </blobstorage>
+
+# Uncomment this if you want a blob-less standard file storage instead:
+#  <filestorage>
+#       path ${zope_conf:filestorage}
+#  </filestorage>
+
+# Uncomment this if you want to connect to a ZEO server instead:
+  <zeoclient>
+    server localhost:7040
+    storage 1
+    # ZEO client cache, in bytes
+    cache-size 20MB
+    # Uncomment to have a persistent disk cache
+    client ${zope_conf_zeo_1:filestorage}/zeo1
+  </zeoclient>
+
+# Uncomment this if you want to run a ZEO server instead:
+#  <zeo>
+#    # required; 'host:port' for TCP/IP, path to a socket file for UDP
+#    address localhost:8090
+#
+#    # optional; 'address' remarks apply
+#    #monitor-address localhost:8091
+#
+#    # optional; keep queue of last N transactions. Speeds up client cache verif.
+#    #invalidation-queue-size 10
+#
+#    # optional; is this a read-only instance? true or false
+#    #read-only false
+#
+#    # optional; seconds to wait for client to commit after acquiring lock
+#    #transaction-timeout 20
+#
+#    # optional; authentication protocol. With ZEO only 'digest' supported
+#    #authentication-protocol digest 
+#
+#    # optional; Path of the database containing authentication credentials.
+#    #authentication-database
+#
+#    # optional; the authentication realm of server
+#    #authentication-realm myrealm
+#  </zeo>
+
+</zodb>
+
+
+<zodb async>
+  <zeoclient>
+    server localhost:7040
+    storage async
+    name async
+    # ZEO client cache, in bytes
+    cache-size 20MB
+    # Uncomment to have a persistent disk cache
+    client ${zope_conf_zeo_1:filestorage}/zeo1_async
+  </zeoclient>
+</zodb>
+
+<eventlog>
+  # This sets up logging to a file.
+  # The "path" setting can be a relative or absolute
+  # filesystem path.
+
+  <logfile>
+    path ${zope_conf:logfiles}/zeo1_z3.log
+    formatter zope.exceptions.log.Formatter
+  </logfile>
+
+  # This sets up logging to to standard output.
+  # The "path" setting can be the tokens STDOUT or STDERR
+  
+#  <logfile>
+#    path STDOUT
+#    formatter zope.exceptions.log.Formatter
+#  </logfile>
+</eventlog>
+
+# Comment this line to disable developer mode.  This should be done in
+# production
+#devmode on
+
+# Extra configuration lines can be added to zope_conf's extra option. Put for 
+# instance productconf sections in here.
+${zope_conf:extra}
Index: /main/waeup.futminna/tags/1.1/etc/zope_zeo2.conf.in
===================================================================
--- /main/waeup.futminna/tags/1.1/etc/zope_zeo2.conf.in	(revision 11490)
+++ /main/waeup.futminna/tags/1.1/etc/zope_zeo2.conf.in	(revision 11490)
@@ -0,0 +1,101 @@
+# Identify the component configuration used to define the site:
+site-definition ${site_zcml:output}
+
+<zodb>
+
+  #cache-size
+
+  # num of concurrent pre-opened ZODB threads; default: 7
+  pool-size 7
+
+  # Standard blob storage
+#  <blobstorage>
+#    blob-dir ${zope_conf:blobstorage}
+#    <filestorage>
+#      path ${zope_conf:filestorage}/Data.fs
+#    </filestorage>
+#  </blobstorage>
+
+# Uncomment this if you want a blob-less standard file storage instead:
+#  <filestorage>
+#       path ${zope_conf:filestorage}
+#  </filestorage>
+
+# Uncomment this if you want to connect to a ZEO server instead:
+  <zeoclient>
+    server localhost:7040
+    storage 1
+    # ZEO client cache, in bytes
+    cache-size 20MB
+    # Uncomment to have a persistent disk cache
+    client ${zope_conf_zeo_2:filestorage}/zeo2
+  </zeoclient>
+
+# Uncomment this if you want to run a ZEO server instead:
+#  <zeo>
+#    # required; 'host:port' for TCP/IP, path to a socket file for UDP
+#    address localhost:8090
+#
+#    # optional; 'address' remarks apply
+#    #monitor-address localhost:8091
+#
+#    # optional; keep queue of last N transactions. Speeds up client cache verif.
+#    #invalidation-queue-size 10
+#
+#    # optional; is this a read-only instance? true or false
+#    #read-only false
+#
+#    # optional; seconds to wait for client to commit after acquiring lock
+#    #transaction-timeout 20
+#
+#    # optional; authentication protocol. With ZEO only 'digest' supported
+#    #authentication-protocol digest 
+#
+#    # optional; Path of the database containing authentication credentials.
+#    #authentication-database
+#
+#    # optional; the authentication realm of server
+#    #authentication-realm myrealm
+#  </zeo>
+
+</zodb>
+
+
+<zodb async>
+  <zeoclient>
+    server localhost:7040
+    storage async
+    name async
+    # ZEO client cache, in bytes
+    cache-size 20MB
+    # Uncomment to have a persistent disk cache
+    client ${zope_conf_zeo_2:filestorage}/zeo2_async
+  </zeoclient>
+</zodb>
+
+<eventlog>
+  # This sets up logging to a file.
+  # The "path" setting can be a relative or absolute
+  # filesystem path.
+
+  <logfile>
+    path ${zope_conf:logfiles}/zeo2_z3.log
+    formatter zope.exceptions.log.Formatter
+  </logfile>
+
+  # This sets up logging to to standard output.
+  # The "path" setting can be the tokens STDOUT or STDERR
+  
+#  <logfile>
+#    path STDOUT
+#    formatter zope.exceptions.log.Formatter
+#  </logfile>
+</eventlog>
+
+# Comment this line to disable developer mode.  This should be done in
+# production
+#devmode on
+
+# Extra configuration lines can be added to zope_conf's extra option. Put for 
+# instance productconf sections in here.
+${zope_conf:extra}
Index: /main/waeup.futminna/tags/1.1/layout/error-zope.html
===================================================================
--- /main/waeup.futminna/tags/1.1/layout/error-zope.html	(revision 11490)
+++ /main/waeup.futminna/tags/1.1/layout/error-zope.html	(revision 11490)
@@ -0,0 +1,26 @@
+<!DOCTYPE html>
+<html lang="en">
+  <head>
+    <meta charset="utf-8">
+    <title>waeup.kofa Portal - Error</title>
+    <meta name="viewport" content="width=device-width, initial-scale=1.0">
+    <meta name="description" content="">
+    <meta name="author" content="">
+    <link rel="shortcut icon" href="static/ico/favicon.ico">
+
+    <!-- stylesheets -->
+    <link href="static/bootstrap/css/bootstrap.min.css"
+	  rel="stylesheet">
+    <link href="static/css/base.css" rel="stylesheet">
+  </head>
+  <body id="kofa-body" class="errorpage">
+    <div class="container">
+      <div class="jumbotron">
+        <h1 id="kofa-error-heading">Error</h1>
+        <div id="kofa-error-message">Error Message</div>
+        <div>We are terribly sorry.</div>
+      </div>
+    </div>
+
+  </body>
+</html>
Index: /main/waeup.futminna/tags/1.1/layout/rules.xml
===================================================================
--- /main/waeup.futminna/tags/1.1/layout/rules.xml	(revision 11490)
+++ /main/waeup.futminna/tags/1.1/layout/rules.xml	(revision 11490)
@@ -0,0 +1,125 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<rules
+    xmlns="http://namespaces.plone.org/diazo"
+    xmlns:css="http://namespaces.plone.org/diazo/css"
+    xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+    xmlns:xi="http://www.w3.org/2001/XInclude">
+
+  <!-- Cases where we do not want themes... -->
+  <notheme if-path="/++grokui++" />  <!-- do not theme GrokUI -->
+  <notheme if-path="/_debug" /><!-- output by debugger -->
+  <notheme css:if-content="div#error-area" />
+
+  <!-- use error page if there is a <table class="layout">
+       tag in content. This tag is rendered in Zope 3 errors. -->
+  <rules css:if-content="table#layout">
+    <theme href="error-zope.html" />
+    <replace css:theme-children="#kofa-error-message"
+             css:content-children="h3" />
+  </rules>
+  <!-- use error page if there is no <div> tag in content.
+       This happens if something in the application went wrong. -->
+  <rules css:if-not-content="div">
+    <theme href="error-zope.html" />
+    <replace css:theme-children="#kofa-error-message"
+             css:content-children="body" />
+  </rules>
+
+  <!-- regular rules -->
+  <rules css:if-content="body.kofa-body">
+
+    <theme href="theme.html" />
+
+    <!-- head elements -->
+    <replace css:theme="html head title"
+             css:content="html head title" />
+
+    <!-- brand (upper left) -->
+    <copy attributes="href" css:theme="a.kofa-brand-link"
+          css:content="a.kofa-brand-link" />
+    <replace css:theme-children="a.kofa-brand-link"
+             css:content-children="a.kofa-brand-link" />
+
+    <!-- left top navigation -->
+    <replace css:theme-children="ul.kofa-navbar-left"
+             css:content-children="ul.kofa-navbar-left" />
+
+    <!-- right side top navigation -->
+    <replace css:theme-children="ul.kofa-navbar-right"
+             css:content-children="ul.kofa-navbar-right" />
+
+    <!-- breadcrumbs -->
+    <drop css:theme="div.kofa-breadcrumbs-box-long"
+          css:if-not-content="ul.breadcrumb" />
+    <drop css:theme="div.kofa-breadcrumbs-box-long"
+          css:if-content="div.wfstatus" />
+    <drop css:theme="div.kofa-breadcrumbs-box-short"
+          css:if-not-content="ul.breadcrumb" />
+    <drop css:theme="div.kofa-breadcrumbs-box-short"
+          css:if-not-content="div.wfstatus" />
+    <replace css:theme-children="ol.kofa-breadcrumbs"
+             css:content-children="ul.breadcrumb" />
+
+    <!-- student status -->
+    <drop css:theme="div.kofa-student-status-box"
+          css:if-not-content="div.wfstatus" />
+    <replace css:theme-children="div.wfstatus"
+             css:content-children="div.wfstatus" />
+
+    <!-- sidebar -->
+
+    <drop css:theme="div.kofa-sidebar"
+          css:if-not-content="div.sidebar" />
+    <replace css:theme-children="div.sidebar-nav"
+             css:content-children="div.sidebar" />
+
+    <!-- content -->
+
+    <!-- drop one of the both content areas, depending on sidebar -->
+
+    <drop css:theme="div.kofa-content-narrow"
+          css:if-not-content="div.sidebar" />
+    <drop css:theme="div.kofa-content-wide"
+          css:if-content="div.sidebar" />
+    <replace css:theme-children="div.kofa-content"
+             css:content-children="div.kofa-content" />
+
+
+    <!-- scripts -->
+    <drop css:theme="script.kofa-script-tooltip"
+          css:if-not-content="[data-toggle='tooltip']" />
+
+    <drop css:theme="script.kofa-script-datepicker"
+          css:if-not-content="input.datepicker-le-year" />
+
+    <drop css:theme="script.kofa-script-datatable"
+          css:if-not-content="table.kofa-data-table" />
+
+
+<!--
+    <after css:theme-children="html head"
+           css:content="html head meta" />
+-->
+<!--
+    <after css:theme-children="html head"
+           css:content="html head base" />
+-->
+
+    <!-- top navigation -->
+    <!-- left top navigation -->
+<!--
+    <replace css:theme-children="ul.kofa-navbar-left"
+             css:content-children="ul.kofa-navbar-left" />
+-->
+
+    <!-- Make all data tables responsive -->
+
+    <replace css:content="table.kofa-data-table">
+      <div class="table-responsive">
+        <xsl:apply-templates css:select="table.kofa-data-table" mode="raw"/>
+      </div>
+    </replace>
+
+   </rules>
+
+</rules>
Index: /main/waeup.futminna/tags/1.1/layout/static/custom.css
===================================================================
--- /main/waeup.futminna/tags/1.1/layout/static/custom.css	(revision 11490)
+++ /main/waeup.futminna/tags/1.1/layout/static/custom.css	(revision 11490)
@@ -0,0 +1,36 @@
+a {
+  color: #8A0474;
+}
+
+a:hover {
+  color: #4e0242;
+}
+
+.topbar a {
+    color: white;
+}
+
+.navbar-inverse {
+  background-color: #4e0242;
+  background-image: -webkit-linear-gradient(top, #4e0242 0%, #8A0474 100%);
+  background-image: linear-gradient(to bottom, #4e0242 0%, #8A0474 100%);
+  background-repeat: repeat-x;
+}
+
+.navbar-inverse .navbar-brand,
+.navbar-inverse .navbar-nav > li > a {
+  color: #cccccc;
+}
+
+.navbar-inverse .navbar-nav > li > a:hover,
+.navbar-inverse .navbar-nav > .active > a,
+.navbar-inverse .navbar-nav > .active > a:hover,
+.navbar-inverse .navbar-nav > .active > a:focus {
+  color: #ffffff;
+  background-color: #8A0474;
+  background-image: none;
+  background-image: none;
+  filter: none;
+  -webkit-box-shadow: none;
+          box-shadow: none;
+}
Index: /main/waeup.futminna/tags/1.1/layout/theme.html
===================================================================
--- /main/waeup.futminna/tags/1.1/layout/theme.html	(revision 11490)
+++ /main/waeup.futminna/tags/1.1/layout/theme.html	(revision 11490)
@@ -0,0 +1,537 @@
+<!DOCTYPE html>
+<html lang="en">
+  <head>
+    <meta charset="utf-8">
+    <title>Base · Twitter Bootstrap</title>
+    <meta name="viewport" content="width=device-width, initial-scale=1.0">
+    <meta name="description" content="">
+    <meta name="author" content="">
+
+    <!-- stylesheets -->
+    <link href="static/bootstrap/css/bootstrap.min.css"
+          rel="stylesheet">
+    <link href="static/bootstrap/css/bootstrap-theme.min.css"
+          rel="stylesheet">
+    <link href="static/css/jquery.dataTables.css"
+          rel="stylesheet">
+    <link href="static/css/jquery-ui.css"
+          rel="stylesheet">
+    <link href="static/css/base.css" rel="stylesheet">
+    <link href="static_custom/custom.css" rel="stylesheet">
+
+    <!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
+    <!--[if lt IE 9]>
+      <script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
+      <script src="https://oss.maxcdn.com/libs/respond.js/1.4.2/respond.min.js"></script>
+      <link href="static/css/IE8.css" rel="stylesheet">
+    <![endif]-->
+
+    <script src="static/js/kofa-recaptcha_white.js"></script>
+
+    <!-- icons -->
+    <link rel="shortcut icon" href="static_custom/favicon.ico">
+
+
+  </head>
+
+  <body id="kofa-body">
+
+    <div class="navbar navbar-inverse navbar-fixed-top" role="navigation">
+      <div class="navbar-header">
+        <button type="button" class="navbar-toggle" data-toggle="collapse"
+                  data-target="#kofa-primary-nav">
+          <span class="icon-bar"></span>
+          <span class="icon-bar"></span>
+          <span class="icon-bar"></span>
+        </button>
+        <a class="navbar-brand active kofa-brand-link" href="/">WAeUP.Kofa</a>
+      </div>
+      <div class="navbar-collapse collapse"
+           id="kofa-primary-nav">
+        <ul class="nav navbar-nav kofa-navbar-left">
+          <li class="active"><a href="#">Academics</a></li>
+          <li><a href="#about">Applicants</a></li>
+          <li><a href="#contact">Students</a></li>
+          <li><a href="#contact">Hostels</a></li>
+          <li class="dropdown">
+            <a href="#" class="dropdown-toggle"
+               data-toggle="dropdown">My Data
+               <b class="caret"></b>
+            <ul class="dropdown-menu">
+              <li><a href="#">Base Data</a></li>
+              <li><a href="#">Clearance Data</a></li>
+              <li><a href="#">Personal Data</a></li>
+              <li><a href="#">History</a></li>
+            </ul>
+          </li>
+        </ul>
+
+        <ul class="nav navbar-nav navbar-right kofa-navbar-right">
+          <li class="dropdown kofa-langselect">
+            <a href="#" class="dropdown-toggle"
+               data-toggle="dropdown">
+               <img src="static/img/earth.png" />
+            <ul class="dropdown-menu">
+              <li class="kofa-language"><a href="#">English</a></li>
+              <li class="kofa-language"><a href="#">Français</a></li>
+              <li class="kofa-language"><a href="#">Deutsch</a></li>
+              <li class="kofa-language"><a href="#">Hausa</a></li>
+              <li class="kofa-language"><a href="#">Yoruba</a></li>
+              <li class="kofa-language"><a href="#">Igbo</a></li>
+            </ul>
+          </li>
+          <li><a href="#">Contact</a></li>
+          <li><a href="#">Logout</a></li>
+        </ul>
+      </div><!--/.nav-collapse -->
+    </div><!-- /.navbar -->
+
+    <div class="container">
+
+      <div class="row">
+        <div class="col-md-12 container kofa-breadcrumbs-box-long">
+          <div class="well">
+            <ol class="breadcrumb kofa-breadcrumbs">
+              <li>
+                <a href="#">
+                  Home
+                </a>
+              </li>
+              <li>
+                <a href="#">
+                  Subtopic 1
+                </a>
+              </li>
+              <li>
+                <a href="#">
+                  Subtopic 2
+                </a>
+              </li>
+              <li>
+                <a href="#">
+                  Subtopic 3
+                </a>
+              </li>
+            </ol><!-- /kofa-breadcrumbs -->
+          </div> <!-- /well -->
+        </div> <!-- /kofa-breadcrumbs-box-short -->
+      </div>
+
+      <div class="row">
+        <div class="col-md-8 container kofa-breadcrumbs-box-short">
+          <div class="well">
+            <ol class="breadcrumb kofa-breadcrumbs">
+              <li>
+                <a href="#">
+                  Home
+                </a>
+              </li>
+              <li>
+                <a href="#">
+                  Subtopic 1
+                </a>
+              </li>
+              <li>
+                <a href="#">
+                  Subtopic 2
+                </a>
+              </li>
+              <li>
+                <a href="#">
+                  Subtopic 3
+                </a>
+              </li>
+            </ol><!-- /kofa-breadcrumbs -->
+          </div> <!-- /well -->
+        </div> <!-- /kofa-breadcrumbs-box-short -->
+
+        <div class="col-md-4 container kofa-student-status-box">
+          <div class="well">
+            <div class="wfstatus">
+                K1000000 &bull; quite long student status
+            </div> <!-- /wfstatus -->
+          </div> <!-- /well -->
+        </div> <!-- /kofa-student-status-box -->
+
+      </div> <!-- /row -->
+
+      <div class="row">
+        <div class="col-md-2 kofa-sidebar">
+          <div class="sidebar-nav well">
+            <div>
+              <div class="kofa-sidebar-title">Student Name</div>
+              <ul class="nav">
+                <li><a href="#">Base Data</a></li>
+                <li><a href="#">Clearance Data</a></li>
+                <li><a href="#">Personal Data</a></li>
+                <li><a href="#">Study Course</a></li>
+                <li><a href="#">Payments</a></li>
+                <li><a href="#">Accommodation</a></li>
+                <li><a href="#">History</a></li>
+              </ul>
+            </div>
+            <div>
+              <div class="kofa-sidebar-title">Manager Name</div>
+              <ul class="nav">
+                <li><a href="#">Portal Configuration</a></li>
+                <li><a href="#">Portal Users</a></li>
+                <li><a href="#">Data Center</a></li>
+                <li><a href="#">Reports</a></li>
+                <li><a href="#">Access Codes</a></li>
+                <li><a href="#">My Preferences</a></li>
+                <li><a href="#">My Roles</a></li>
+              </ul>
+            </div>
+          </div> <!-- /well -->
+        </div> <!-- /kofa-sidebar -->
+
+        <div class="col-md-10 content kofa-content-narrow">
+          <div class="well">
+            <div class="kofa-content">
+              <div class="actionbar">
+                <a class="btn btn-default" href="">
+                  <img src="static/img/actionicon_modify.png"
+                       alt="Manage" />
+                       Manage
+                </a>
+                <a class="btn btn-default" href="">
+                  <img src="static/img/actionicon_trigtrans.png"
+                       alt="Trigger transition" />
+                       Trigger transition
+                </a>
+              </div>
+              <div class="alert alert-danger">
+                  There were errors ...
+              </div>
+              <div class="alert alert-warning">
+                  Be careful ...
+              </div>
+              <div class="alert alert-success">
+                  You have successfully ...
+              </div>
+              <h1>WAeUP.Kofa Theme</h1>
+
+              <p class="kofa-content-desc">
+                A sample Diazo theme for WAeUP.Kofa
+                <br />
+                Fusce dapibus, tellus ac cursus commodo.
+              </p>
+              <p>
+                Donec id elit non mi porta gravida at eget metus. Fusce
+                dapibus, tellus ac cursus commodo, tortor mauris
+                condimentum nibh, ut fermentum massa justo sit amet
+                risus. Etiam porta sem malesuada magna mollis
+                euismod. Donec sed odio dui.
+              </p>
+              <img src="static/img/bg.png" />
+
+              <!-- Tabs... -->
+              <br /><br />
+              <h3>Sample Tabs</h3>
+              <ul id="tabs" class="tabs nav nav-tabs" data-tabs="tabs">
+                <li class="active">
+                  <a href="#tab-1" data-toggle="tab">Tab 1</a>
+                </li>
+                <li class="">
+                  <a href="#tab-2" data-toggle="tab">Tab 2</a>
+                </li>
+                <li class="">
+                  <a href="#tab-3" data-toggle="tab">Tab 3</a>
+                </li>
+              </ul>
+              <div class="tab-content">
+                <div id="tab-1" class="tab-pane active">
+                  <br />
+                  <p>
+                    Tab 1 content...<br />  Donec id elit non mi porta
+                    gravida at eget metus. Fusce dapibus, tellus ac
+                    cursus commodo.
+                  </p>
+                </div>
+                <div id="tab-2" class="tab-pane">
+                  <br />
+                  <p>
+                    Tab 2 content...<br />  Tortor mauris condimentum
+                    nibh, ut fermentum massa justo sit amet
+                    risus. Etiam porta sem malesuada.
+                  </p>
+                </div>
+                <div id="tab-3" class="tab-pane">
+                  <br />
+                  <p>
+                    Tab 3 content...<br /> Magna mollis euismod. Donec
+                    sed odio dui.
+                  </p>
+                </div>
+
+                <br>
+
+                <h3>Sample Tooltip</h3>
+                <br>Move the mouse over the button:
+                <div class="btn btn-default" data-toggle="tooltip"
+                     title="This is a tooltip">Sample Tooltip
+                </div>
+                <br><br>
+
+              </div><!-- /tab-content -->
+            </div> <!-- /kofa-content -->
+          </div> <!-- /well -->
+        </div> <!-- /kofa-content-narrow -->
+      </div> <!-- /row -->
+
+      <div class="row">
+        <div class="col-md-12 content kofa-content-wide">
+          <div class="well kofa-content">
+            <div class="actionbar">
+              <a class="btn btn-default" href="">
+                <img src="static/img/actionicon_modify.png"
+                     alt="Manage" />
+                     Manage
+              </a>
+              <a class="btn btn-default" href="">
+                <img src="static/img/actionicon_trigtrans.png"
+                     alt="Trigger transition" />
+                     Trigger transition
+              </a>
+            </div>
+            <div class="hero-unit">
+              <h1>Hello there!</h1>
+              <p>this is...</p>
+            </div>
+            <div>...content that spans the whole page.</div>
+            <br><br>
+            <div id="#sampleform">
+              <form method="post">
+                <fieldset id="form-fieldset">
+                  <legend>A Sample Form</legend>
+                  <div class="form-group variable-form">
+                    <label>Some Label</label>
+                    <input type="text" class="textType"
+                           name="myinput[]" placeholder="A name..." />
+                  </div>
+                  <button type="submit" class="btn rowadd btn-default">
+                    Add row
+                  </button>
+                  <br />
+                  <button type="submit" class="btn btn-primary">Save</button>
+                </fieldset>
+              </form>
+            </div> <!-- /sampleform -->
+            <br><br>
+            <h3>A Sample Data Table</h3>
+            <div class="table-responsive">
+              <table id="#datatable" class="table table-striped dataTable">
+                <thead>
+                  <tr>
+                    <th>Id</th>
+                    <th>Name</th>
+                    <th>Portal Roles</th>
+                    <th>Local Roles</th>
+                    <th></th>
+                  </tr>
+                </thead><tbody><tr><td>admin</td>
+                    <td>John</td>
+                    <td nowrap="nowrap">Portal Manager <br />
+                      Academics Officer (view only)
+                    </td>
+                    <td>Owner</td>
+                    <td class="text-right">
+                      <form method="post">
+                        <input type="hidden" name="userid" value="admin" />
+                        <input class="btn btn-sm btn-primary" type="submit"
+                               name="manage" value="Manage" />
+                        <input class="btn btn-sm btn-default" type="submit"
+                               name="delete" value="Remove" />
+                      </form>
+                    </td>
+                  </tr>
+                  <tr>
+                    <td>tester</td>
+                    <td>Vitali</td>
+                    <td nowrap="nowrap">Academics Officer (view only)</td>
+                    <td>Owner</td>
+                    <td class="text-right">
+                      <form method="post">
+                        <input type="hidden" name="userid" value="your_id" />
+                        <input class="btn btn-sm btn-primary" type="submit"
+                               name="manage" value="Manage" />
+                        <input class="btn btn-sm btn-default" type="submit"
+                               name="delete" value="Remove" />
+                      </form>
+                    </td>
+                  </tr>
+                </tbody>
+              </table>
+            </div>
+
+            <br><br>
+            <h3>A Sample Inline Form</h3>
+            <form method="POST" class="form-inline">
+            <br />
+              <div class="form-group">
+                <input class="btn btn-primary" type="submit" name="search"
+                  value="Find student(s)" />
+              </div>
+              <div class="form-group">
+                <select name="searchtype" class="form-control">
+                  <option value="student_id">with id</option>
+                  <option value="fullname">with name</option>
+                  <option value="reg_number">with registration number</option>
+                  <option value="matric_number">with matric number</option>
+                  <option value="current_session">in session</option>
+                  <option value="depcode">in department</option>
+                  <option value="current_mode">in study mode</option>
+                  <option value="suspended">
+                    with deactivated account (search term omitted)
+                  </option>
+                  <option value="transcript">
+                    who requested transcript (search term omitted)
+                  </option>
+                </select>
+              </div>
+              <div class="form-group">
+                <input type="text" class="form-control" name="searchterm" />
+              </div>
+            </form>
+
+            <br><br>
+            <h3>A Sample Display Form Table</h3>
+            <table class="form-table">
+              <tbody>
+                <tr>
+                  <td class="fieldname">Code:</td>
+                  <td>app2012</td>
+                </tr>
+                <tr>
+                 <td class="fieldname">Application Target:</td>
+                  <td>General Studies</td>
+                </tr>
+                 <tr>
+                  <td class="fieldname">
+                    Application Mode (Donec id elit non mi porta gravida.):
+                  </td>
+                  <td>Create Application Records</td>
+                </tr>
+              </tbody>
+            </table>
+
+            <br><br>
+            <h3>A Sample Edit/Manage Form Table</h3>
+            <table class="form-table">
+              <tbody>
+                <tr>
+                  <td class="fieldname">Code:</td>
+                  <td>app2012</td>
+                </tr>
+                <tr>
+                  <td class="fieldname">* Title:</td>
+                  <td>
+                    <input class="textType" id="form.title" name="form.title"
+                           size="20" type="text"
+                           value="General Studies 2012/2013" />
+                  </td>
+                </tr>
+                <tr>
+                  <td class="fieldname">Any phone number:</td>
+                  <td>
+                    <select id="form.phone.country" name="form.phone.country"
+                              size="1" class="phone-input">
+                      <option value="+234">Nigeria (+234)</option>
+                      <option value="+49">Germany (+49)</option>
+                      <option value="+1">U.S. (+1)</option>
+                    </select>-
+                    <input class=" phone-input textType" id="form.phone.area"
+                           name="form.phone.area" size="20" type="text"
+                           value="" />-
+                    <input class=" phone-input textType" id="form.phone.ext"
+                           name="form.phone.ext" size="20" type="text" value="" />
+                  </td>
+                </tr>
+                <tr>
+                  <td class="fieldname">Any text field:</td>
+                  <td>
+                      <textarea id="any_id"
+                          name="any_name" rows="5">Placeholder text</textarea>
+                  </td>
+                </tr>
+                <tr>
+                  <td class="fieldname">*
+                      Application Mode
+                      (A select field coming from zope.formlib):
+                  </td>
+                  <td>
+                    <div class="value">
+                      <select id="form.mode" name="form.mode" size="1">
+                        <option selected="selected" value="create">
+                          Create Application Records
+                        </option>
+                        <option value="update">Update Application Records
+                        </option>
+                      </select>
+                    </div>
+                    <input name="form.mode-empty-marker"
+                           type="hidden" value="1" />
+                  </td>
+                </tr>
+                <tr>
+                  <td class="fieldname">A datepicker field:</td>
+                  <td>
+                    <input class="datepicker-le-year textType"
+                                 id="form.any_date" name="form.any_date"
+                                 size="20" type="text" value="" />
+                  </td>
+                </tr>
+
+                <tr>
+                  <td class="fieldname">
+                      A select field in Kofa pagetemplates:
+                  </td>
+                  <td>
+                      <select id="any_id" name="any_name" size="1"
+                              class="form-control half">
+                        <option selected="selected" value="create">
+                            Create Application Records
+                        </option>
+                        <option value="update">
+                            Update Application Records
+                        </option>
+                      </select>
+                  </td>
+                </tr>
+              </tbody>
+            </table>
+          </div> <!-- /well kofa-content-->
+        </div> <!-- /kofa-content-wide -->
+      </div> <!-- /row -->
+      <div id="bottom" class="footer">
+        <p class="credit muted text-right">
+          Kofa - Student Management System<br />
+          Copyright &copy; WAeUP Group 2014
+        </p>
+      </div>
+    </div> <!-- /container -->
+
+    <script src="https://code.jquery.com/jquery-1.9.1.min.js"></script>
+    <script src="static/bootstrap/js/bootstrap.min.js"></script>
+    <script src="static/js/kofa-button-rowadd.js"></script>
+    <script src="static/js/kofa-toggleall.js"></script>
+    <script src="static/js/kofa-scroll.js"></script>
+    <script src="static/js/kofa-activate-tab.js"></script>
+    <script class="kofa-script-tooltip"
+        src="static/js/kofa-tooltip.js">
+    </script>
+    <script class="kofa-script-datatable"
+        src="static/js/jquery.dataTables.min.js">
+    </script>
+    <script class="kofa-script-datatable"
+        src="static/js/kofa-datatables.js">
+    </script>
+    <script class="jquery-ui"
+        src="static/js/jquery-ui.min.js">
+    </script>
+    <script class="kofa-script-datepicker"
+        src="static/js/kofa-datepicker.js">
+    </script>
+
+  </body>
+</html>
Index: /main/waeup.futminna/tags/1.1/setup.py
===================================================================
--- /main/waeup.futminna/tags/1.1/setup.py	(revision 11490)
+++ /main/waeup.futminna/tags/1.1/setup.py	(revision 11490)
@@ -0,0 +1,92 @@
+import os
+from setuptools import setup, find_packages
+
+version = '1.1'
+
+install_requires =[
+    'setuptools',
+    'grok',
+    'grokui.admin',
+    'grokcore.startup',
+    'waeup.kofa >= 1.1',
+    'kofacustom.nigeria >= 1.0',
+    ],
+
+# Having beaker installed additionally is a feature very recommended
+# for production use. The default buildout includes beaker for tests,
+# start scripts, and other parts that can benefit from it. The windows
+# buildout does not include it due to compiling problems with the
+# beaker package.
+beaker_require = [
+    'dolmen.beaker',
+    ]
+
+diazo_require = [
+    'diazo',
+    'webob',
+]
+
+tests_require = [
+    'z3c.testsetup',
+    'zope.app.testing',
+    'zope.testbrowser',
+    'zope.testing',
+    'unittest2',
+    ]
+
+def read(*rnames):
+    return open(os.path.join(os.path.dirname(__file__), *rnames)).read()
+
+long_description = (
+    read('README.txt')
+    + '\n\n'
+    + read('CHANGES.txt')
+    + '\n\n'
+    + 'Download\n'
+    + '********\n'
+    )
+
+setup(name = 'waeup.futminna',
+      version = version,
+      description = "A customized waeup.kofa",
+      long_description = long_description,
+
+      keywords = "portal waeup kofa student university registration grok zope",
+      # Get strings from http://pypi.python.org/pypi?%3Aaction=list_classifiers
+      classifiers = [
+        'Development Status :: 3 - Alpha',
+        'Environment :: Web Environment',
+        'Intended Audience :: Education',
+        'License :: OSI Approved :: GNU General Public License (GPL)',
+        'Programming Language :: Python',
+        'Operating System :: POSIX',
+        'Operating System :: POSIX :: Linux',
+        'Framework :: Zope3',
+        'Topic :: Education',
+        'Topic :: Internet :: WWW/HTTP',
+        ],
+      author = "The WAeUP team.",
+      author_email = "",
+      url = "http://www.waeup.org/",
+      license = "GPL",
+      package_dir = {'': 'src'},
+      packages= find_packages('src'),
+      namespace_packages = ['waeup',],
+      include_package_data = True,
+      zip_safe = False,
+      install_requires = install_requires,
+      tests_require = tests_require,
+      extras_require = dict(
+        test = tests_require,
+        beaker = beaker_require,
+        diazo = diazo_require,
+        ),
+      entry_points="""
+      [console_scripts]
+      kofa-debug = grokcore.startup:interactive_debug_prompt
+      kofactl = grokcore.startup:zdaemon_controller
+      [paste.app_factory]
+      main = waeup.kofa.startup:env_app_factory
+      debug = waeup.kofa.startup:env_debug_app_factory
+      """,
+      )
Index: /main/waeup.futminna/tags/1.1/src/waeup/__init__.py
===================================================================
--- /main/waeup.futminna/tags/1.1/src/waeup/__init__.py	(revision 11490)
+++ /main/waeup.futminna/tags/1.1/src/waeup/__init__.py	(revision 11490)
@@ -0,0 +1,23 @@
+## $Id$
+##
+## Copyright (C) 2011 Uli Fouquet & Henrik Bettermann
+## 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., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+##
+try:
+    import pkg_resources
+    pkg_resources.declare_namespace(__name__)
+except ImportError, e:
+    from pkgutil import extend_path
+    __path__ = extend_path(__path__, __name__)
Index: /main/waeup.futminna/tags/1.1/src/waeup/futminna/__init__.py
===================================================================
--- /main/waeup.futminna/tags/1.1/src/waeup/futminna/__init__.py	(revision 11490)
+++ /main/waeup.futminna/tags/1.1/src/waeup/futminna/__init__.py	(revision 11490)
@@ -0,0 +1,1 @@
+# Make this a package.
Index: /main/waeup.futminna/tags/1.1/src/waeup/futminna/applicants/__init__.py
===================================================================
--- /main/waeup.futminna/tags/1.1/src/waeup/futminna/applicants/__init__.py	(revision 11490)
+++ /main/waeup.futminna/tags/1.1/src/waeup/futminna/applicants/__init__.py	(revision 11490)
@@ -0,0 +1,1 @@
+# Make this a package.
Index: /main/waeup.futminna/tags/1.1/src/waeup/futminna/applicants/applicant.py
===================================================================
--- /main/waeup.futminna/tags/1.1/src/waeup/futminna/applicants/applicant.py	(revision 11490)
+++ /main/waeup.futminna/tags/1.1/src/waeup/futminna/applicants/applicant.py	(revision 11490)
@@ -0,0 +1,70 @@
+## $Id$
+##
+## Copyright (C) 2011 Uli Fouquet & Henrik Bettermann
+## 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., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+##
+
+import grok
+from zope.interface import implementedBy
+from zope.component import getUtility
+from waeup.kofa.interfaces import IExtFileStore
+from waeup.kofa.applicants.applicant import ApplicantFactory
+from waeup.kofa.utils.helpers import attrs_to_fields
+from kofacustom.nigeria.applicants.applicant import NigeriaApplicant
+from waeup.futminna.applicants.interfaces import(
+    ICustomApplicant, ICustomUGApplicantEdit, ICustomPGApplicantEdit, IPUTMEApplicantEdit)
+
+@grok.subscribe(ICustomApplicant, grok.IObjectRemovedEvent)
+def custom_handle_applicant_removed(applicant, event):
+    """If an applicant is removed also pdf files of this applicant are removed.
+    """
+    file_store = getUtility(IExtFileStore)
+    file_store.deleteFileByContext(applicant, attr='extraform.pdf')
+    file_store.deleteFileByContext(applicant, attr='refereeform.pdf')
+    file_store.deleteFileByContext(applicant, attr='credentials.pdf')
+    return
+
+class CustomApplicant(NigeriaApplicant):
+
+    grok.implements(ICustomApplicant, ICustomUGApplicantEdit,
+        ICustomPGApplicantEdit, IPUTMEApplicantEdit)
+    grok.provides(ICustomApplicant)
+
+    @property
+    def low_jamb_score(self):
+        jamb_score = getattr(self, 'jamb_score', None)
+        course1 = getattr(self, 'course1', None)
+        limit = getattr(course1, 'custom_float_1', None)
+        if None in (jamb_score, limit):
+            return False
+        if jamb_score < limit:
+            return True
+        return False
+
+# Set all attributes of CustomApplicant required in ICustomApplicant as field
+# properties. Doing this, we do not have to set initial attributes
+# ourselves and as a bonus we get free validation when an attribute is
+# set.
+CustomApplicant = attrs_to_fields(CustomApplicant)
+
+class CustomApplicantFactory(ApplicantFactory):
+    """A factory for customized applicants.
+    """
+
+    def __call__(self, *args, **kw):
+        return CustomApplicant()
+
+    def getInterfaces(self):
+        return implementedBy(CustomApplicant)
Index: /main/waeup.futminna/tags/1.1/src/waeup/futminna/applicants/browser.py
===================================================================
--- /main/waeup.futminna/tags/1.1/src/waeup/futminna/applicants/browser.py	(revision 11490)
+++ /main/waeup.futminna/tags/1.1/src/waeup/futminna/applicants/browser.py	(revision 11490)
@@ -0,0 +1,326 @@
+## $Id$
+##
+## Copyright (C) 2011 Uli Fouquet & Henrik Bettermann
+## 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., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+##
+"""UI components for basic applicants and related components.
+"""
+import grok
+import os
+from zope.component import getUtility
+from waeup.kofa.interfaces import (
+    IExtFileStore, IFileStoreNameChooser)
+from zope.formlib.textwidgets import BytesDisplayWidget
+from waeup.kofa.utils.helpers import string_from_bytes, file_size
+from waeup.futminna.applicants.interfaces import (
+    ICustomApplicant,
+    ICustomUGApplicant,
+    ICustomPGApplicant,
+    ICustomPGApplicantEdit,
+    ICustomUGApplicantEdit,
+    UG_OMIT_DISPLAY_FIELDS,
+    UG_OMIT_PDF_FIELDS,
+    UG_OMIT_MANAGE_FIELDS,
+    UG_OMIT_EDIT_FIELDS,
+    PG_OMIT_DISPLAY_FIELDS,
+    PG_OMIT_PDF_FIELDS,
+    PG_OMIT_MANAGE_FIELDS,
+    PG_OMIT_EDIT_FIELDS,
+    PUTME_OMIT_EDIT_FIELDS,
+    PUTME_OMIT_DISPLAY_FIELDS,
+    PUTME_OMIT_PDF_FIELDS,
+    PUTME_OMIT_MANAGE_FIELDS,
+    PUTME_OMIT_EDIT_FIELDS,
+    )
+from waeup.futminna.interfaces import MessageFactory as _
+from kofacustom.nigeria.applicants.browser import (
+    NigeriaApplicantDisplayFormPage,
+    NigeriaApplicantManageFormPage,
+    NigeriaApplicantEditFormPage,
+    NigeriaPDFApplicationSlip)
+
+MAX_FILE_UPLOAD_SIZE = 1024 * 500
+
+def handle_file_upload(upload, context, view, attr=None):
+    """Handle upload of applicant files.
+
+    Returns `True` in case of success or `False`.
+
+    Please note that file pointer passed in (`upload`) most probably
+    points to end of file when leaving this function.
+    """
+    size = file_size(upload)
+    if size > MAX_FILE_UPLOAD_SIZE:
+        view.flash(_('Uploaded file is too big!'))
+        return False
+    dummy, ext = os.path.splitext(upload.filename)
+    ext.lower()
+    if ext != '.pdf':
+        view.flash(_('pdf file extension expected.'))
+        return False
+    upload.seek(0) # file pointer moved when determining size
+    store = getUtility(IExtFileStore)
+    file_id = IFileStoreNameChooser(context).chooseName(attr=attr)
+    store.createFile(file_id, upload)
+    return True
+
+class CustomApplicantDisplayFormPage(NigeriaApplicantDisplayFormPage):
+    """A display view for applicant data.
+    """
+
+    grok.template('applicantdisplaypage')
+
+    @property
+    def file_links(self):
+        html = ''
+        pdf = getUtility(IExtFileStore).getFileByContext(
+            self.context, attr='extraform.pdf')
+        if pdf:
+            html += '<a href="extraform.pdf">Extra Applicant Information Form</a>, '
+        pdf = getUtility(IExtFileStore).getFileByContext(
+            self.context, attr='refereeform.pdf')
+        if pdf:
+            html += '<a href="refereeform.pdf">Referee\'s Form</a>, '
+        pdf = getUtility(IExtFileStore).getFileByContext(
+            self.context, attr='credentials.pdf')
+        if pdf:
+            html += '<a href="credentials.pdf">Credentials</a>'
+        return html
+
+    @property
+    def form_fields(self):
+        if self.target is not None and self.target.startswith('pg'):
+            form_fields = grok.AutoFields(ICustomPGApplicant)
+            for field in PG_OMIT_DISPLAY_FIELDS:
+                form_fields = form_fields.omit(field)
+        else:
+            form_fields = grok.AutoFields(ICustomUGApplicant)
+            for field in UG_OMIT_DISPLAY_FIELDS:
+                form_fields = form_fields.omit(field)
+        if form_fields.get('perm_address', None):
+            form_fields['perm_address'].custom_widget = BytesDisplayWidget
+        form_fields['notice'].custom_widget = BytesDisplayWidget
+        if not getattr(self.context, 'student_id'):
+            form_fields = form_fields.omit('student_id')
+        if not getattr(self.context, 'screening_score'):
+            form_fields = form_fields.omit('screening_score')
+        if not getattr(self.context, 'screening_venue'):
+            form_fields = form_fields.omit('screening_venue')
+        if not getattr(self.context, 'screening_date'):
+            form_fields = form_fields.omit('screening_date')
+        if not self.context.low_jamb_score:
+            form_fields = form_fields.omit('course2')
+        return form_fields
+
+    def update(self):
+        super(CustomApplicantDisplayFormPage, self).update()
+        self.extraform_url = self.url(self.context, 'extraform.pdf')
+        self.referreeform_url = self.url(self.context, 'refereeform.pdf')
+        self.credentials_url = self.url(self.context, 'credentials.pdf')
+        return
+
+class CustomPDFApplicationSlip(NigeriaPDFApplicationSlip):
+
+    @property
+    def form_fields(self):
+        if self.target is not None and self.target.startswith('pg'):
+            form_fields = grok.AutoFields(ICustomPGApplicant)
+            for field in PG_OMIT_PDF_FIELDS:
+                form_fields = form_fields.omit(field)
+        elif self.target is not None and self.target.startswith('putme'):
+            form_fields = grok.AutoFields(ICustomUGApplicant)
+            if self._reduced_slip():
+                for field in PUTME_OMIT_RESULT_SLIP_FIELDS:
+                    form_fields = form_fields.omit(field)
+        else:
+            form_fields = grok.AutoFields(ICustomUGApplicant)
+            for field in UG_OMIT_PDF_FIELDS:
+                form_fields = form_fields.omit(field)
+        if not getattr(self.context, 'student_id'):
+            form_fields = form_fields.omit('student_id')
+        if not getattr(self.context, 'screening_score'):
+            form_fields = form_fields.omit('screening_score')
+        if not getattr(self.context, 'screening_venue'):
+            form_fields = form_fields.omit('screening_venue')
+        if not getattr(self.context, 'screening_date'):
+            form_fields = form_fields.omit('screening_date')
+        if not self.context.low_jamb_score:
+            form_fields = form_fields.omit('course2')
+        return form_fields
+
+class CustomApplicantManageFormPage(NigeriaApplicantManageFormPage):
+    """A full edit view for applicant data.
+    """
+    grok.template('applicanteditpage')
+
+    @property
+    def form_fields(self):
+        if self.target is not None and self.target.startswith('pg'):
+            form_fields = grok.AutoFields(ICustomPGApplicant)
+            for field in PG_OMIT_MANAGE_FIELDS:
+                form_fields = form_fields.omit(field)
+        elif self.target is not None and self.target.startswith('putme'):
+            form_fields = grok.AutoFields(ICustomUGApplicant)
+            for field in PUTME_OMIT_MANAGE_FIELDS:
+                form_fields = form_fields.omit(field)
+        else:
+            form_fields = grok.AutoFields(ICustomUGApplicant)
+            for field in UG_OMIT_MANAGE_FIELDS:
+                form_fields = form_fields.omit(field)
+        form_fields['student_id'].for_display = True
+        form_fields['applicant_id'].for_display = True
+        return form_fields
+
+    def update(self):
+        super(CustomApplicantManageFormPage, self).update()
+        upload_extraform = self.request.form.get('form.extraform', None)
+        if upload_extraform:
+            # We got a fresh extraform upload
+            success = handle_file_upload(
+                upload_extraform, self.context, self, attr='extraform.pdf')
+            if success:
+                self.context.writeLogMessage(self, 'saved: extraform')
+            else:
+                self.upload_success = False
+        upload_refereeform = self.request.form.get('form.refereeform', None)
+        if upload_refereeform:
+            # We got a fresh refereeform upload
+            success = handle_file_upload(
+                upload_refereeform, self.context, self, attr='refereeform.pdf')
+            if success:
+                self.context.writeLogMessage(self, 'saved: refereeform')
+            else:
+                self.upload_success = False
+        upload_credentials = self.request.form.get('form.credentials', None)
+        if upload_credentials:
+            # We got a fresh credentials upload
+            success = handle_file_upload(
+                upload_credentials, self.context, self, attr='credentials.pdf')
+            if success:
+                self.context.writeLogMessage(self, 'saved: credentials')
+            else:
+                self.upload_success = False
+        self.max_file_upload_size = string_from_bytes(MAX_FILE_UPLOAD_SIZE)
+        return
+
+class CustomApplicantEditFormPage(NigeriaApplicantEditFormPage):
+    """An applicant-centered edit view for applicant data.
+    """
+    grok.template('applicanteditpage')
+
+    @property
+    def form_fields(self):
+        if self.target is not None and self.target.startswith('pg'):
+            form_fields = grok.AutoFields(ICustomPGApplicantEdit)
+            for field in PG_OMIT_EDIT_FIELDS:
+                form_fields = form_fields.omit(field)
+        elif self.target is not None and self.target.startswith('putme'):
+            form_fields = grok.AutoFields(ICustomUGApplicantEdit)
+            for field in PUTME_OMIT_EDIT_FIELDS:
+                form_fields = form_fields.omit(field)
+        else:
+            form_fields = grok.AutoFields(ICustomUGApplicantEdit)
+            for field in UG_OMIT_EDIT_FIELDS:
+                form_fields = form_fields.omit(field)
+        form_fields['applicant_id'].for_display = True
+        form_fields['reg_number'].for_display = True
+        if not self.context.low_jamb_score:
+            form_fields = form_fields.omit('course2')
+        return form_fields
+
+    def dataNotComplete(self):
+        store = getUtility(IExtFileStore)
+        if not store.getFileByContext(self.context, attr=u'passport.jpg'):
+            return _('No passport picture uploaded.')
+        if not store.getFileByContext(self.context, attr=u'extraform.pdf'):
+            return _('No extra information form pdf file uploaded.')
+        if not store.getFileByContext(self.context, attr=u'refereeform.pdf'):
+            return _('No referee form pdf file uploaded.')
+        if self.target is not None and self.target.startswith('pg') \
+            and not store.getFileByContext(self.context, attr=u'credentials.pdf'):
+            return _('No credentials pdf file uploaded.')
+        if not self.request.form.get('confirm_passport', False):
+            return _('Passport picture confirmation box not ticked.')
+        return False
+
+    def update(self):
+        if self.context.locked or (
+            self.context.__parent__.expired and
+            self.context.__parent__.strict_deadline):
+            self.emit_lock_message()
+            return
+        super(CustomApplicantEditFormPage, self).update()
+        upload_extraform = self.request.form.get('form.extraform', None)
+        if upload_extraform:
+            # We got a fresh extraform upload
+            success = handle_file_upload(
+                upload_extraform, self.context, self, attr='extraform.pdf')
+            if not success:
+                self.upload_success = False
+        upload_refereeform = self.request.form.get('form.refereeform', None)
+        if upload_refereeform:
+            # We got a fresh refereeform upload
+            success = handle_file_upload(
+                upload_refereeform, self.context, self, attr='refereeform.pdf')
+            if not success:
+                self.upload_success = False
+        upload_credentials = self.request.form.get('form.credentials', None)
+        if upload_credentials:
+            # We got a fresh credentials upload
+            success = handle_file_upload(
+                upload_credentials, self.context, self, attr='credentials.pdf')
+            if not success:
+                self.upload_success = False
+        self.max_file_upload_size = string_from_bytes(MAX_FILE_UPLOAD_SIZE)
+        return
+
+class ExtraForm(grok.View):
+    """Renders the pdf form extension for applicants.
+    """
+    grok.name('extraform.pdf')
+    grok.context(ICustomApplicant)
+    grok.require('waeup.viewApplication')
+
+    def render(self):
+        pdf = getUtility(IExtFileStore).getFileByContext(
+            self.context, attr='extraform.pdf')
+        self.response.setHeader('Content-Type', 'application/pdf')
+        return pdf
+
+class RefereeForm(grok.View):
+    """Renders the pdf referee's form for applicants.
+    """
+    grok.name('refereeform.pdf')
+    grok.context(ICustomApplicant)
+    grok.require('waeup.viewApplication')
+
+    def render(self):
+        pdf = getUtility(IExtFileStore).getFileByContext(
+            self.context, attr='refereeform.pdf')
+        self.response.setHeader('Content-Type', 'application/pdf')
+        return pdf
+
+class Credentials(grok.View):
+    """Renders the pdf credential's form for applicants.
+    """
+    grok.name('credentials.pdf')
+    grok.context(ICustomApplicant)
+    grok.require('waeup.viewApplication')
+
+    def render(self):
+        pdf = getUtility(IExtFileStore).getFileByContext(
+            self.context, attr='credentials.pdf')
+        self.response.setHeader('Content-Type', 'application/pdf')
+        return pdf
Index: /main/waeup.futminna/tags/1.1/src/waeup/futminna/applicants/browser_templates/applicantdisplaypage.pt
===================================================================
--- /main/waeup.futminna/tags/1.1/src/waeup/futminna/applicants/browser_templates/applicantdisplaypage.pt	(revision 11490)
+++ /main/waeup.futminna/tags/1.1/src/waeup/futminna/applicants/browser_templates/applicantdisplaypage.pt	(revision 11490)
@@ -0,0 +1,73 @@
+<h2 i18n:domain="waeup.kofa">
+  ...
+  <span tal:replace="context/translated_state">APPLICATIONSTATE
+  </span>
+  <span tal:omit-tag=""
+    i18n:translate="" tal:condition="context/suspended">(account suspended)
+  </span>
+  ...
+</h2>
+
+<div class="workflow">
+  <div tal:repeat="msg context/history/messages">
+    <span tal:replace="msg">MESSAGE</span><br />
+  </div>
+</div>
+
+<img src="" height="180px" tal:attributes="src view/passport_url" />
+
+<table i18n:domain="waeup.kofa" class="form-table">
+  <tbody>
+    <tal:widgets content="structure provider:widgets" />
+    <tr tal:condition="view/getCourseAdmitted">
+      <td class="fieldname" i18n:translate="">
+          Admitted Course of Study:
+      </td>
+      <td>
+        <span tal:replace="structure view/getCourseAdmitted" />
+      </td>
+    </tr>
+    <tr>
+      <td class="fieldname" i18n:translate="">
+          Password:
+      </td>
+      <td>
+          <tal:password replace="view/hasPassword" />
+      </td>
+    <tr>
+    <tr>
+      <td class="fieldname" i18n:translate="">
+        Files:
+      </td>
+      <td>
+        <span tal:replace="structure view/file_links" />
+      </td>
+    </tr>
+  </tbody>
+</table>
+<h3  i18n:domain="waeup.kofa" i18n:translate="">
+    Application Fee Payment Tickets
+</h3>
+<table i18n:domain="waeup.kofa">
+  <thead>
+    <tr>
+      <th i18n:translate="">Payment Id</th>
+      <th i18n:translate="">Creation Date</th>
+      <th i18n:translate="">Payment Date</th>
+      <th i18n:translate="">Category</th>
+      <th i18n:translate="">Item</th>
+      <th i18n:translate="">State</th>
+    </tr>
+  </thead>
+  <tbody>
+    <tr tal:repeat="value context/values">
+      <td> <a tal:attributes="href value/__name__">
+      <span tal:content="value/p_id">PID</span></a></td>
+      <td tal:content="python: layout.formatDatetime(value.creation_date)">CREATION DATE</td>
+      <td tal:content="python: layout.formatDatetime(value.payment_date)">PAYMENT DATE</td>
+      <td tal:content ="value/category">CATEGORY</td>
+      <td tal:content ="value/display_item">ITEM</td>
+      <td tal:content ="value/p_state_title">STATE</td>
+    </tr>
+  </tbody>
+</table>
Index: /main/waeup.futminna/tags/1.1/src/waeup/futminna/applicants/browser_templates/applicanteditpage.pt
===================================================================
--- /main/waeup.futminna/tags/1.1/src/waeup/futminna/applicants/browser_templates/applicanteditpage.pt	(revision 11490)
+++ /main/waeup.futminna/tags/1.1/src/waeup/futminna/applicants/browser_templates/applicanteditpage.pt	(revision 11490)
@@ -0,0 +1,195 @@
+<form action="." tal:attributes="action request/URL" method="post"
+      i18n:domain="waeup.kofa" enctype="multipart/form-data"
+      autocomplete="off">
+
+  <h2 i18n:domain="waeup.kofa">
+    ...
+    <span tal:replace="context/translated_state">APPLICATIONSTATE
+    </span>
+    <span tal:omit-tag=""
+      i18n:translate="" tal:condition="context/suspended">(account suspended)
+    </span>
+    ...
+  </h2>
+
+  <div>
+    <span  i18n:translate="">
+      <strong>Notice:</strong>
+      Download, fill, scan and re-upload the following forms:
+    </span>
+        <a href="https://futminna.waeup.org/downloads/ExtraApplicantInformationForm.pdf"
+        i18n:translate="">
+      Extra Applicant Information Form</a>,
+    <a href="https://futminna.waeup.org/downloads/RefereeForm.pdf"
+        i18n:translate="">
+      Referee's Form
+    </a><br /><br />
+  </div>
+
+  <div class="workflow">
+    <div tal:repeat="msg context/history/messages">
+      <span tal:replace="msg">MESSAGE</span><br />
+    </div>
+  </div>
+
+  <table class="form-table">
+    <tbody>
+      <tal:widgets content="structure provider:widgets" />
+        <tr>
+          <td class="separator" colspan="2">File Uploads</td>
+      </tr>
+      <tr>
+        <td class="fieldname" i18n:translate="">
+          Passport Photo:
+        </td>
+        <td>
+          <img src="passport.jpg" height="180px" /><br />
+          <input type="file" name="form.passport" />
+          <br />
+          <span i18n:translate="">
+            Max. file size:
+          </span>
+          <span tal:replace="view/max_upload_size">10 KB</span>
+      </tr>
+      <tr>
+        <td class="fieldname" i18n:translate="">
+          Extra Applicant Information Form:
+        </td>
+        <td>
+          <p tal:condition="python: view.file_exists('extraform.pdf')">
+            <a href="extraform.pdf"
+               i18n:translate="">
+              Download pdf file
+            </a>
+          </p>
+          <input type="file" name="form.extraform" />
+          <br />
+          <span i18n:translate="">
+            Max. file size:
+          </span>
+          <span tal:replace="view/max_file_upload_size">10 KB</span>
+      </tr>
+      <tr>
+        <td class="fieldname" i18n:translate="">
+          Referee's Form:
+        </td>
+        <td>
+          <p tal:condition="python: view.file_exists('refereeform.pdf')">
+            <a href="refereeform.pdf"
+               i18n:translate="">
+              Download pdf file
+            </a>
+          </p>
+          <input type="file" name="form.refereeform" />
+          <br />
+          <span i18n:translate="">
+            Max. file size:
+          </span>
+          <span tal:replace="view/max_file_upload_size">10 KB</span>
+      </tr>
+      <tr tal:condition="python: view.target.startswith('pg')">
+        <td class="fieldname" i18n:translate="">
+          Credentials:
+        </td>
+        <td>
+          <p tal:condition="python: view.file_exists('credentials.pdf')">
+            <a href="credentials.pdf"
+               i18n:translate="">
+              Download pdf file
+            </a>
+          </p>
+          <input type="file" name="form.credentials" />
+          <br />
+          <span i18n:translate="">
+            Max. file size:
+          </span>
+          <span tal:replace="view/max_file_upload_size">10 KB</span>
+      </tr>
+      <tr tal:condition="view/manage_applications">
+        <td class="fieldname" i18n:translate="">Password:</td>
+        <td>
+          <input name="password" type="password"  />
+        </td>
+      </tr>
+      <tr tal:condition="view/manage_applications">
+        <td class="fieldname" i18n:translate="">Retype Password:</td>
+        <td>
+          <input name="control_password" type="password" />
+        </td>
+      </tr>
+      <tr tal:condition="view/manage_applications">
+        <td class="fieldname" i18n:translate="">Application Transition:</td>
+        <td>
+          <select id="transition" name="transition">
+            <option tal:repeat="transition view/getTransitions"
+                    tal:attributes="value transition/name">
+              <span tal:replace="transition/title">TRANSITIONTITLE</span>
+            </option>
+          </select>
+        </td>
+      </tr>
+    </tbody>
+  </table>
+
+  <div tal:condition="not: view/manage_applications">
+    <input id="confirm_passport" name="confirm_passport"
+           type="checkbox" value="True"/>
+    <span i18n:translate="">
+    I confirm that the Passport Photograph uploaded on this form is a
+    true picture of me.
+    </span>
+  </div>
+  <br />
+
+  <div tal:condition="view/availableActions">
+    <span tal:repeat="action view/actions"
+          tal:omit-tag="">
+      <input tal:condition="python:action.label in view.display_actions[0]"
+             tal:replace="structure action/render"/>
+    </span>
+  </div>
+
+  <br /><br />
+  <h3 i18n:translate="">
+      Application Fee Payment Tickets
+  </h3>
+
+  <table>
+    <thead>
+    <tr>
+      <th>&nbsp;</th>
+      <th i18n:translate="">Payment Id</th>
+      <th i18n:translate="">Creation Date</th>
+      <th i18n:translate="">Payment Date</th>
+      <th i18n:translate="">Category</th>
+      <th i18n:translate="">Item</th>
+      <th i18n:translate="">State</th>
+    </tr>
+    </thead>
+    <tbody>
+      <tr tal:repeat="cl context/values">
+         <td>
+          <input type="checkbox"
+    		 name="val_id"
+    		 tal:attributes="value cl/__name__"
+         tal:condition="python: not view.unremovable(cl)" />
+        </td>
+        <td> <a tal:attributes="href cl/__name__">
+        <span tal:content="cl/p_id">PID</span></a></td>
+        <td tal:content="python: layout.formatDatetime(cl.creation_date)">CREATION DATE</td>
+        <td tal:content="python: layout.formatDatetime(cl.payment_date)">PAYMENT DATE</td>
+      <td tal:content ="cl/category">CATEGORY</td>
+      <td tal:content ="cl/display_item">ITEM</td>
+      <td tal:content ="cl/p_state_title">STATE</td>
+      </tr>
+    </tbody>
+  </table>
+
+  <div tal:condition="view/availableActions">
+    <span tal:repeat="action view/actions"
+          tal:omit-tag="">
+      <input tal:condition="python:action.label in view.display_actions[1]"
+             tal:replace="structure action/render"/>
+    </span>
+  </div>
+</form>
Index: /main/waeup.futminna/tags/1.1/src/waeup/futminna/applicants/interfaces.py
===================================================================
--- /main/waeup.futminna/tags/1.1/src/waeup/futminna/applicants/interfaces.py	(revision 11490)
+++ /main/waeup.futminna/tags/1.1/src/waeup/futminna/applicants/interfaces.py	(revision 11490)
@@ -0,0 +1,348 @@
+## $Id$
+##
+## Copyright (C) 2011 Uli Fouquet & Henrik Bettermann
+## 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., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+##
+"""Customized interfaces of the university application package.
+"""
+
+from zope import schema
+from zope.interface import Attribute, invariant, Invalid
+from waeup.kofa.applicants.interfaces import (
+    IApplicantBaseData,
+    AppCatCertificateSource, CertificateSource)
+from waeup.kofa.students.vocabularies import nats_vocab
+from kofacustom.nigeria.applicants.interfaces import (
+    LGASource,
+    high_qual, high_grade, exam_types,
+    INigeriaUGApplicant,
+    INigeriaApplicantOnlinePayment,
+    INigeriaUGApplicantEdit, INigeriaPGApplicantEdit,
+    INigeriaApplicantUpdateByRegNo,
+    IPUTMEApplicantEdit,
+    OMIT_DISPLAY_FIELDS,
+    UG_OMIT_DISPLAY_FIELDS,
+    UG_OMIT_PDF_FIELDS,
+    UG_OMIT_MANAGE_FIELDS,
+    UG_OMIT_EDIT_FIELDS,
+    PUTME_OMIT_EDIT_FIELDS,
+    PUTME_OMIT_DISPLAY_FIELDS,
+    PUTME_OMIT_PDF_FIELDS,
+    PUTME_OMIT_MANAGE_FIELDS,
+    PUTME_OMIT_FIELDS,
+    #PUTME_OMIT_EDIT_FIELDS,
+    )
+
+PUTME_OMIT_EDIT_FIELDS = UG_OMIT_EDIT_FIELDS + PUTME_OMIT_FIELDS + (
+    'firstname', 'middlename', 'lastname', 'sex',
+    'lga')
+
+PG_OMIT_DISPLAY_FIELDS = OMIT_DISPLAY_FIELDS + ('course2',)
+PG_OMIT_PDF_FIELDS = PG_OMIT_DISPLAY_FIELDS + ('phone',)
+PG_OMIT_MANAGE_FIELDS = ('special_application', 'course2',)
+PG_OMIT_EDIT_FIELDS = PG_OMIT_MANAGE_FIELDS + PG_OMIT_DISPLAY_FIELDS + (
+    'student_id', 'notice',
+    'screening_score', 'screening_venue',
+    'screening_date',)
+
+from waeup.futminna.interfaces import MessageFactory as _
+
+class ICustomUGApplicant(IApplicantBaseData):
+    """An undergraduate applicant.
+
+    This interface defines the least common multiple of all fields
+    in ug application forms. In customized forms, fields can be excluded by
+    adding them to the UG_OMIT* tuples.
+    """
+
+    nationality = schema.Choice(
+        source = nats_vocab,
+        title = _(u'Nationality'),
+        required = True,
+        )
+    lga = schema.Choice(
+        source = LGASource(),
+        title = _(u'State/LGA (Nigerians only)'),
+        required = False,
+        )
+    perm_address = schema.Text(
+        title = _(u'Permanent Address'),
+        required = False,
+        )
+    course1 = schema.Choice(
+        title = _(u'1st Choice Course of Study'),
+        source = AppCatCertificateSource(),
+        required = True,
+        )
+    course2 = schema.Choice(
+        title = _(u'Change of Course'),
+        source = AppCatCertificateSource(),
+        required = False,
+        )
+    hq_type = schema.Choice(
+        title = _(u'Qualification Obtained'),
+        required = False,
+        readonly = False,
+        vocabulary = high_qual,
+        )
+    hq_matric_no = schema.TextLine(
+        title = _(u'Former Matric Number'),
+        required = False,
+        readonly = False,
+        )
+    hq_degree = schema.Choice(
+        title = _(u'Class of Degree'),
+        required = False,
+        readonly = False,
+        vocabulary = high_grade,
+        )
+    hq_school = schema.TextLine(
+        title = _(u'Institution Attended'),
+        required = False,
+        readonly = False,
+        )
+    hq_session = schema.TextLine(
+        title = _(u'Years Attended'),
+        required = False,
+        readonly = False,
+        )
+    hq_disc = schema.TextLine(
+        title = _(u'Discipline'),
+        required = False,
+        readonly = False,
+        )
+    jamb_subjects = schema.Text(
+        title = _(u'Subjects and Scores'),
+        required = False,
+        )
+    jamb_score = schema.Int(
+        title = _(u'Total JAMB Score'),
+        required = False,
+        )
+    notice = schema.Text(
+        title = _(u'Notice'),
+        required = False,
+        )
+    screening_venue = schema.TextLine(
+        title = _(u'Screening Venue'),
+        required = False,
+        )
+    screening_date = schema.TextLine(
+        title = _(u'Screening Date'),
+        required = False,
+        )
+    screening_score = schema.Int(
+        title = _(u'Screening Score (%)'),
+        required = False,
+        )
+    aggregate = schema.Int(
+        title = _(u'Aggregate Score (%)'),
+        description = _(u'(average of relative JAMB and PUTME scores)'),
+        required = False,
+        )
+    result_uploaded = schema.Bool(
+        title = _(u'Result uploaded'),
+        default = False,
+        )
+    student_id = schema.TextLine(
+        title = _(u'Student Id'),
+        required = False,
+        readonly = False,
+        )
+    course_admitted = schema.Choice(
+        title = _(u'Admitted Course of Study'),
+        source = CertificateSource(),
+        required = False,
+        )
+    locked = schema.Bool(
+        title = _(u'Form locked'),
+        default = False,
+        )
+
+    @invariant
+    def second_choice(applicant):
+        if applicant.course1 == applicant.course2:
+            raise Invalid(_("2nd choice course must differ from 1st choice course."))
+
+class ICustomPGApplicant(IApplicantBaseData):
+    """A postgraduate applicant.
+
+    This interface defines the least common multiple of all fields
+    in pg application forms. In customized forms, fields can be excluded by
+    adding them to the PG_OMIT* tuples.
+    """
+
+    nationality = schema.Choice(
+        source = nats_vocab,
+        title = _(u'Nationality'),
+        required = True,
+        )
+    lga = schema.Choice(
+        source = LGASource(),
+        title = _(u'State/LGA (Nigerians only)'),
+        required = False,
+        )
+    perm_address = schema.Text(
+        title = _(u'Permanent Address'),
+        required = False,
+        )
+    hq_type = schema.Choice(
+        title = _(u'Qualification Obtained'),
+        required = False,
+        readonly = False,
+        vocabulary = high_qual,
+        )
+    hq_matric_no = schema.TextLine(
+        title = _(u'Former Matric Number'),
+        required = False,
+        readonly = False,
+        )
+    hq_degree = schema.Choice(
+        title = _(u'Class of Degree'),
+        required = False,
+        readonly = False,
+        vocabulary = high_grade,
+        )
+    hq_school = schema.TextLine(
+        title = _(u'Institution Attended'),
+        required = False,
+        readonly = False,
+        )
+    hq_session = schema.TextLine(
+        title = _(u'Years Attended'),
+        required = False,
+        readonly = False,
+        )
+    hq_disc = schema.TextLine(
+        title = _(u'Discipline'),
+        required = False,
+        readonly = False,
+        )
+    pp_school = schema.Choice(
+        title = _(u'Qualification Obtained'),
+        required = False,
+        readonly = False,
+        vocabulary = exam_types,
+        )
+    course1 = schema.Choice(
+        title = _(u'Programme desired'),
+        source = AppCatCertificateSource(),
+        required = True,
+        )
+    notice = schema.Text(
+        title = _(u'Notice'),
+        required = False,
+        readonly = False,
+        )
+    #screening_venue = schema.TextLine(
+    #    title = _(u'Screening Venue'),
+    #    required = False,
+    #    )
+    #screening_date = schema.TextLine(
+    #    title = _(u'Screening Date'),
+    #    required = False,
+    #    )
+    #screening_score = schema.Int(
+    #    title = _(u'Screening Score (%)'),
+    #    required = False,
+    #    )
+    student_id = schema.TextLine(
+        title = _(u'Student Id'),
+        required = False,
+        readonly = False,
+        )
+    course_admitted = schema.Choice(
+        title = _(u'Admitted Course of Study'),
+        source = CertificateSource(),
+        required = False,
+        readonly = False,
+        )
+    locked = schema.Bool(
+        title = _(u'Form locked'),
+        default = False,
+        )
+
+class ICustomApplicant(ICustomUGApplicant, ICustomPGApplicant):
+    """An interface for both types of applicants.
+
+    Attention: The ICustomPGApplicant field seetings will be overwritten
+    by ICustomPGApplicant field settings. If a field is defined
+    in both interfaces zope.schema validates only against the
+    constraints in ICustomUGApplicant. This does not affect the forms
+    since they are build on either ICustomUGApplicant or ICustomPGApplicant.
+    """
+
+    def writeLogMessage(view, comment):
+        """Adds an INFO message to the log file
+        """
+
+    def createStudent():
+        """Create a student object from applicatnt data
+        and copy applicant object.
+        """
+
+class ICustomUGApplicantEdit(ICustomUGApplicant):
+    """An undergraduate applicant interface for edit forms.
+
+    Here we can repeat the fields from base data and set the
+    `required` and `readonly` attributes to True to further restrict
+    the data access. Or we can allow only certain certificates to be
+    selected by choosing the appropriate source.
+
+    We cannot omit fields here. This has to be done in the
+    respective form page.
+    """
+
+    course1 = schema.Choice(
+        title = _(u'1st Choice Course of Study'),
+        source = AppCatCertificateSource(),
+        required = True,
+        readonly = True,
+        )
+
+    course2 = schema.Choice(
+        title = _(u'Change of Course'),
+        description = _(
+            u'Your JAMB score is lower than the requirement for your '
+            '1st choice course of study, chose another course here.'),
+        source = AppCatCertificateSource(),
+        required = True,
+        )
+
+class ICustomPGApplicantEdit(ICustomPGApplicant):
+    """A postgraduate applicant interface for editing.
+
+    Here we can repeat the fields from base data and set the
+    `required` and `readonly` attributes to True to further restrict
+    the data access. Or we can allow only certain certificates to be
+    selected by choosing the appropriate source.
+
+    We cannot omit fields here. This has to be done in the
+    respective form page.
+    """
+
+
+class ICustomApplicantOnlinePayment(INigeriaApplicantOnlinePayment):
+    """An applicant payment via payment gateways.
+
+    """
+
+class ICustomApplicantUpdateByRegNo(INigeriaApplicantUpdateByRegNo):
+    """Representation of an applicant.
+
+    Skip regular reg_number validation if reg_number is used for finding
+    the applicant object.
+    """
+
Index: /main/waeup.futminna/tags/1.1/src/waeup/futminna/applicants/payment.py
===================================================================
--- /main/waeup.futminna/tags/1.1/src/waeup/futminna/applicants/payment.py	(revision 11490)
+++ /main/waeup.futminna/tags/1.1/src/waeup/futminna/applicants/payment.py	(revision 11490)
@@ -0,0 +1,59 @@
+## $Id$
+##
+## Copyright (C) 2012 Uli Fouquet & Henrik Bettermann
+## 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., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+##
+"""
+Application fee payment.
+"""
+import grok
+from zope.component.interfaces import IFactory
+from zope.interface import implementedBy
+from waeup.kofa.applicants.payment import ApplicantOnlinePayment
+from waeup.kofa.utils.helpers import attrs_to_fields
+from waeup.futminna.applicants.interfaces import ICustomApplicantOnlinePayment
+
+class CustomApplicantOnlinePayment(ApplicantOnlinePayment):
+    """This is a custom online payment for applicants.
+
+    Since this class inherits from ApplicantOnlinePayment, it automatically
+    implements the interfaces of the parent class which means
+    all viewlets and views meant for StudentOnlinePayment
+    can also be accessed in the customized system.
+    """
+    grok.implements(ICustomApplicantOnlinePayment)
+    grok.provides(ICustomApplicantOnlinePayment)
+
+    def __init__(self):
+        super(CustomApplicantOnlinePayment, self).__init__()
+        return
+
+CustomApplicantOnlinePayment = attrs_to_fields(
+    CustomApplicantOnlinePayment, omit=['display_item'])
+
+# Applicant online payments must be importable. So we might need a factory.
+class CustomApplicantOnlinePaymentFactory(grok.GlobalUtility):
+    """A factory for applicant online payments.
+    """
+    grok.implements(IFactory)
+    grok.name(u'waeup.ApplicantOnlinePayment')
+    title = u"Create a new online payment.",
+    description = u"This factory instantiates new online payment instances."
+
+    def __call__(self, *args, **kw):
+        return CustomApplicantOnlinePayment()
+
+    def getInterfaces(self):
+        return implementedBy(CustomApplicantOnlinePayment)
Index: /main/waeup.futminna/tags/1.1/src/waeup/futminna/applicants/tests/__init__.py
===================================================================
--- /main/waeup.futminna/tags/1.1/src/waeup/futminna/applicants/tests/__init__.py	(revision 11490)
+++ /main/waeup.futminna/tags/1.1/src/waeup/futminna/applicants/tests/__init__.py	(revision 11490)
@@ -0,0 +1,1 @@
+# Make this a package.
Index: /main/waeup.futminna/tags/1.1/src/waeup/futminna/applicants/tests/test_applicant.py
===================================================================
--- /main/waeup.futminna/tags/1.1/src/waeup/futminna/applicants/tests/test_applicant.py	(revision 11490)
+++ /main/waeup.futminna/tags/1.1/src/waeup/futminna/applicants/tests/test_applicant.py	(revision 11490)
@@ -0,0 +1,79 @@
+## $Id$
+##
+## Copyright (C) 2011 Uli Fouquet & Henrik Bettermann
+## 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., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+##
+"""Tests for applicants and related.
+"""
+import grok
+import shutil
+import tempfile
+from StringIO import StringIO
+from zope.component import adapts, queryUtility
+from zope.component.interfaces import IFactory
+from zope.interface import verify, implements
+from zope.location.interfaces import ILocation
+from waeup.kofa.image.interfaces import IKofaImageFile
+from waeup.kofa.imagestorage import DefaultStorage
+from waeup.kofa.interfaces import IFileStoreHandler, IFileStoreNameChooser
+from waeup.kofa.testing import FunctionalTestCase
+from waeup.futminna.applicants.applicant import (
+    CustomApplicant, CustomApplicantFactory,
+    )
+from waeup.futminna.applicants.interfaces import ICustomApplicant
+from waeup.futminna.testing import FunctionalLayer
+
+class CustomApplicantTest(FunctionalTestCase):
+
+    layer = FunctionalLayer
+
+    def setUp(self):
+        super(CustomApplicantTest, self).setUp()
+        self.applicant = CustomApplicant()
+        return
+
+    def tearDown(self):
+        super(CustomApplicantTest, self).tearDown()
+        return
+
+    def test_interfaces(self):
+        verify.verifyClass(ICustomApplicant, CustomApplicant)
+        verify.verifyObject(ICustomApplicant, self.applicant)
+        return
+
+class CustomApplicantFactoryTest(FunctionalTestCase):
+
+    layer = FunctionalLayer
+
+    def setUp(self):
+        super(CustomApplicantFactoryTest, self).setUp()
+        self.factory = CustomApplicantFactory()
+        return
+
+    def tearDown(self):
+        super(CustomApplicantFactoryTest, self).tearDown()
+        return
+
+    def test_interfaces(self):
+        verify.verifyClass(IFactory, CustomApplicantFactory)
+        verify.verifyObject(IFactory, self.factory)
+
+    def test_factory(self):
+        obj = self.factory()
+        assert isinstance(obj, CustomApplicant)
+
+    def test_getInterfaces(self):
+        implemented_by = self.factory.getInterfaces()
+        assert implemented_by.isOrExtends(ICustomApplicant)
Index: /main/waeup.futminna/tags/1.1/src/waeup/futminna/applicants/tests/test_browser.py
===================================================================
--- /main/waeup.futminna/tags/1.1/src/waeup/futminna/applicants/tests/test_browser.py	(revision 11490)
+++ /main/waeup.futminna/tags/1.1/src/waeup/futminna/applicants/tests/test_browser.py	(revision 11490)
@@ -0,0 +1,378 @@
+## $Id$
+##
+## Copyright (C) 2011 Uli Fouquet & Henrik Bettermann
+## 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., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+##
+"""
+Test the applicant-related UI components.
+"""
+
+import os
+import pytz
+import grok
+from datetime import datetime
+from datetime import datetime, date, timedelta
+from zope.event import notify
+from StringIO import StringIO
+from zope.component import createObject, getUtility
+from waeup.kofa.applicants.container import ApplicantsContainer
+from waeup.kofa.applicants.tests.test_browser import ApplicantsFullSetup
+from waeup.kofa.interfaces import (
+    IExtFileStore, IFileStoreNameChooser)
+
+from waeup.futminna.testing import FunctionalLayer
+
+PH_LEN = 15911  # Length of placeholder file
+
+session = datetime.now().year - 2
+container_name = u'app%s' % session
+
+
+class ApplicantUITests(ApplicantsFullSetup):
+    # Tests for uploading/browsing the passport image of appplicants
+
+    layer = FunctionalLayer
+
+    def test_upload_image_by_student(self):
+        self.login()
+        self.browser.open(self.edit_path)
+        # Create a pseudo image file and select it to be uploaded in form
+        photo_content = 'A' * 1024 * 21  # A string of 21 KB size
+        pseudo_image = StringIO(photo_content)
+        ctrl = self.browser.getControl(name='form.passport')
+        file_ctrl = ctrl.mech_control
+        file_ctrl.add_file(pseudo_image, filename='myphoto.jpg')
+        self.browser.getControl("Save").click() # submit form
+        # There is a correct <img> link included
+        self.assertTrue(
+            '<img src="passport.jpg" height="180px" />' in self.browser.contents)
+        # We get a warning message
+        self.assertTrue(
+            'Uploaded image is too big' in self.browser.contents)
+        # Browsing the image gives us the default image, not the
+        # uploaded one.
+        image_url = self.edit_path.replace('edit', 'passport.jpg')
+        self.browser.open(image_url)
+        self.assertEqual(
+            self.browser.headers['content-type'], 'image/jpeg')
+        self.assertEqual(len(self.browser.contents), PH_LEN)
+        # There is really no file stored for the applicant
+        img = getUtility(IExtFileStore).getFile(
+            IFileStoreNameChooser(self.applicant).chooseName())
+        self.assertTrue(img is None)
+
+    def test_upload_extraform_by_student(self):
+        self.login()
+        self.browser.open(self.edit_path)
+        # Create a pseudo file and select it to be uploaded in form
+        pdf_content = 'A' * 1024 * 600  # A string of 600 KB size
+        pseudo_pdf = StringIO(pdf_content)
+        ctrl = self.browser.getControl(name='form.extraform')
+        file_ctrl = ctrl.mech_control
+        file_ctrl.add_file(pseudo_pdf, filename='myform.pdf')
+        self.browser.getControl("Save").click() # submit form
+        # We get a warning message
+        self.assertTrue(
+            'Uploaded file is too big' in self.browser.contents)
+        # Create a pseudo file with acceptable size
+        pdf_content = 'A' * 1024 * 300  # A string of 300 KB size
+        pseudo_pdf = StringIO(pdf_content)
+        ctrl = self.browser.getControl(name='form.extraform')
+        file_ctrl = ctrl.mech_control
+        file_ctrl.add_file(pseudo_pdf, filename='myform.pdf')
+        self.browser.getControl("Save").click() # submit form
+        # Even though the form could not be saved ...
+        self.assertTrue('Required input is missing' in self.browser.contents)
+        # ... the file has been successfully uploaded
+        pdf_url = self.edit_path.replace('edit', 'extraform.pdf')
+        self.browser.open(pdf_url)
+        self.assertEqual(
+            self.browser.headers['content-type'], 'application/pdf')
+        self.assertEqual(len(self.browser.contents), 307200)
+        # There is rally a file stored for the applicant
+        storage = getUtility(IExtFileStore)
+        file_id = IFileStoreNameChooser(self.applicant).chooseName(
+            attr='extraform.pdf')
+        # The stored file can be fetched
+        fd = storage.getFile(file_id)
+        file_len = len(fd.read())
+        self.assertEqual(file_len, 307200)
+        # A file link is displayed on the edit view ...
+        self.browser.open(self.edit_path)
+        self.assertTrue('<a href="extraform.pdf">' in self.browser.contents)
+        # ... and on the dislay view
+        self.browser.open(self.view_path)
+        self.assertTrue('<a href="extraform.pdf">Extra Applicant Information Form</a>'
+            in self.browser.contents)
+
+    def test_upload_extraform_by_manager(self):
+        self.browser.addHeader('Authorization', 'Basic mgr:mgrpw')
+        self.browser.open(self.manage_path)
+        # Create a pseudo file with acceptable size
+        pdf_content = 'A' * 1024 * 300  # A string of 300 KB size
+        pseudo_pdf = StringIO(pdf_content)
+        ctrl = self.browser.getControl(name='form.extraform')
+        file_ctrl = ctrl.mech_control
+        file_ctrl.add_file(pseudo_pdf, filename='myform.pdf')
+        self.browser.getControl("Save").click() # submit form
+        # Even though the form could not be saved ...
+        self.assertTrue('Required input is missing' in self.browser.contents)
+        # ... the file has been successfully uploaded
+        pdf_url = self.manage_path.replace('manage', 'extraform.pdf')
+        self.browser.open(pdf_url)
+        self.assertEqual(
+            self.browser.headers['content-type'], 'application/pdf')
+        self.assertEqual(len(self.browser.contents), 307200)
+        # There is rally a file stored for the applicant
+        storage = getUtility(IExtFileStore)
+        file_id = IFileStoreNameChooser(self.applicant).chooseName(
+            attr='extraform.pdf')
+        # The stored file can be fetched
+        fd = storage.getFile(file_id)
+        file_len = len(fd.read())
+        self.assertEqual(file_len, 307200)
+        # A file link is displayed on the edit view ...
+        self.browser.open(self.manage_path)
+        self.assertTrue('<a href="extraform.pdf">' in self.browser.contents)
+        # ... and on the dislay view
+        self.browser.open(self.view_path)
+        self.assertTrue('<a href="extraform.pdf">Extra Applicant Information Form</a>'
+            in self.browser.contents)
+        # Adding file is properly logged
+        logfile = os.path.join(
+            self.app['datacenter'].storage, 'logs', 'applicants.log')
+        logcontent = open(logfile).read()
+        self.assertTrue(
+            'zope.mgr - waeup.futminna.applicants.browser.CustomApplicantManageFormPage'
+            ' - %s - saved: extraform'
+            % (self.applicant.applicant_id)
+            in logcontent)
+        # When an applicant is removed, also the pdf files are gone.
+        del self.app['applicants'][container_name][self.applicant.application_number]
+        fd = storage.getFile(file_id)
+        self.assertTrue(fd is None)
+
+    def test_upload_refereeform_by_student(self):
+        self.login()
+        self.browser.open(self.edit_path)
+        # Create a pseudo file and select it to be uploaded in form
+        pdf_content = 'A' * 1024 * 600  # A string of 600 KB size
+        pseudo_pdf = StringIO(pdf_content)
+        ctrl = self.browser.getControl(name='form.refereeform')
+        file_ctrl = ctrl.mech_control
+        file_ctrl.add_file(pseudo_pdf, filename='myform.pdf')
+        self.browser.getControl("Save").click() # submit form
+        # We get a warning message
+        self.assertTrue(
+            'Uploaded file is too big' in self.browser.contents)
+        # Create a pseudo file with acceptable size
+        pdf_content = 'A' * 1024 * 300  # A string of 300 KB size
+        pseudo_pdf = StringIO(pdf_content)
+        ctrl = self.browser.getControl(name='form.refereeform')
+        file_ctrl = ctrl.mech_control
+        file_ctrl.add_file(pseudo_pdf, filename='myform.pdf')
+        self.browser.getControl("Save").click() # submit form
+        # Even though the form could not be saved ...
+        self.assertTrue('Required input is missing' in self.browser.contents)
+        # ... the file has been successfully uploaded
+        pdf_url = self.edit_path.replace('edit', 'refereeform.pdf')
+        self.browser.open(pdf_url)
+        self.assertEqual(
+            self.browser.headers['content-type'], 'application/pdf')
+        self.assertEqual(len(self.browser.contents), 307200)
+        # There is really a file stored for the applicant
+        storage = getUtility(IExtFileStore)
+        file_id = IFileStoreNameChooser(self.applicant).chooseName(
+            attr='refereeform.pdf')
+        # The stored file can be fetched
+        fd = storage.getFile(file_id)
+        file_len = len(fd.read())
+        self.assertEqual(file_len, 307200)
+        # A file link is displayed on the edit view ...
+        self.browser.open(self.edit_path)
+        self.assertTrue('<a href="refereeform.pdf">' in self.browser.contents)
+        # ... and on the dislay view
+        self.browser.open(self.view_path)
+        self.assertTrue('<a href="refereeform.pdf">Referee\'s Form</a>'
+            in self.browser.contents)
+
+    def test_upload_refereeform_by_manager(self):
+        self.browser.addHeader('Authorization', 'Basic mgr:mgrpw')
+        self.browser.open(self.manage_path)
+        # Create a pseudo file with acceptable size
+        pdf_content = 'A' * 1024 * 300  # A string of 300 KB size
+        pseudo_pdf = StringIO(pdf_content)
+        ctrl = self.browser.getControl(name='form.refereeform')
+        file_ctrl = ctrl.mech_control
+        file_ctrl.add_file(pseudo_pdf, filename='myform.pdf')
+        self.browser.getControl("Save").click() # submit form
+        # Even though the form could not be saved ...
+        self.assertTrue('Required input is missing' in self.browser.contents)
+        # ... the file has been successfully uploaded
+        pdf_url = self.manage_path.replace('manage', 'refereeform.pdf')
+        self.browser.open(pdf_url)
+        self.assertEqual(
+            self.browser.headers['content-type'], 'application/pdf')
+        self.assertEqual(len(self.browser.contents), 307200)
+        # There is rally a file stored for the applicant
+        storage = getUtility(IExtFileStore)
+        file_id = IFileStoreNameChooser(self.applicant).chooseName(
+            attr='refereeform.pdf')
+        # The stored file can be fetched
+        fd = storage.getFile(file_id)
+        file_len = len(fd.read())
+        self.assertEqual(file_len, 307200)
+        # A file link is displayed on the edit view ...
+        self.browser.open(self.manage_path)
+        self.assertTrue('<a href="refereeform.pdf">' in self.browser.contents)
+        # ... and on the dislay view
+        self.browser.open(self.view_path)
+        self.assertTrue('<a href="refereeform.pdf">Referee\'s Form</a>'
+            in self.browser.contents)
+        # Adding file is properly logged
+        logfile = os.path.join(
+            self.app['datacenter'].storage, 'logs', 'applicants.log')
+        logcontent = open(logfile).read()
+        self.assertTrue(
+            'zope.mgr - waeup.futminna.applicants.browser.CustomApplicantManageFormPage'
+            ' - %s - saved: refereeform'
+            % (self.applicant.applicant_id)
+            in logcontent)
+        # When an applicant is removed, also the pdf files are gone.
+        del self.app['applicants'][container_name][self.applicant.application_number]
+        fd = storage.getFile(file_id)
+        self.assertTrue(fd is None)
+
+    def test_upload_credentials_by_manager(self):
+        self.browser.addHeader('Authorization', 'Basic mgr:mgrpw')
+        self.browser.open(self.manage_path)
+        # Create a pseudo file with acceptable size
+        pdf_content = 'A' * 1024 * 300  # A string of 300 KB size
+        pseudo_pdf = StringIO(pdf_content)
+        # This is a ug applicant, thus the credentials is not
+        # required
+        self.assertFalse('credentials">' in self.browser.contents)
+
+        # We have to add a pg applicants container
+        container_name = u'pg%s' % (datetime.now().year - 1)
+        applicantscontainer = ApplicantsContainer()
+        applicantscontainer.code = container_name
+        applicantscontainer.prefix = 'pgft'
+        applicantscontainer.year = datetime.now().year - 1
+        applicantscontainer.title = u'This is the %s container' % container_name
+        applicantscontainer.application_category = 'pg_ft'
+        applicantscontainer.mode = 'create'
+        applicantscontainer.strict_deadline = True
+        delta = timedelta(days=10)
+        applicantscontainer.startdate = datetime.now(pytz.utc) - delta
+        applicantscontainer.enddate = datetime.now(pytz.utc) + delta
+        self.app['applicants'][container_name] = applicantscontainer
+        applicant = createObject('waeup.Applicant')
+        # reg_number is the only field which has to be preset here
+        # because managers are allowed to edit this required field
+        applicant.reg_number = u'2345'
+        applicant.course1 = self.certificate
+        self.app['applicants'][container_name].addApplicant(applicant)
+        self.manage_path_pg = 'http://localhost/app/applicants/%s/%s/%s' % (
+            container_name, applicant.application_number, 'manage')
+        self.view_path_pg = 'http://localhost/app/applicants/%s/%s' % (
+            container_name, applicant.application_number)
+
+        self.browser.open(self.manage_path_pg)
+        ctrl = self.browser.getControl(name='form.credentials')
+        file_ctrl = ctrl.mech_control
+        file_ctrl.add_file(pseudo_pdf, filename='myform.pdf')
+        self.browser.getControl("Save").click() # submit form
+        # Even though the form could not be saved ...
+        self.assertTrue('Required input is missing' in self.browser.contents)
+        # ... the file has been successfully uploaded
+        pdf_url = self.manage_path_pg.replace('manage', 'credentials.pdf')
+        self.browser.open(pdf_url)
+        self.assertEqual(
+            self.browser.headers['content-type'], 'application/pdf')
+        self.assertEqual(len(self.browser.contents), 307200)
+        # There is rally a file stored for the applicant
+        storage = getUtility(IExtFileStore)
+        file_id = IFileStoreNameChooser(applicant).chooseName(
+            attr='credentials.pdf')
+        # The stored file can be fetched
+        fd = storage.getFile(file_id)
+        file_len = len(fd.read())
+        self.assertEqual(file_len, 307200)
+        # A file link is displayed on the edit view ...
+        self.browser.open(self.manage_path_pg)
+        self.assertTrue('<a href="credentials.pdf">' in self.browser.contents)
+        # ... and on the dislay view
+        self.browser.open(self.view_path_pg)
+        self.assertTrue('<a href="credentials.pdf">Credentials</a>'
+            in self.browser.contents)
+        # Adding file is properly logged
+        logfile = os.path.join(
+            self.app['datacenter'].storage, 'logs', 'applicants.log')
+        logcontent = open(logfile).read()
+        self.assertTrue(
+            'zope.mgr - waeup.futminna.applicants.browser.CustomApplicantManageFormPage'
+            ' - %s - saved: credentials'
+            % (applicant.applicant_id)
+            in logcontent)
+        # When an applicant is removed, also the pdf files are gone.
+        del self.app['applicants'][container_name][applicant.application_number]
+        fd = storage.getFile(file_id)
+        self.assertTrue(fd is None)
+
+    def test_certificate_source(self):
+        # We add a second 'alternative' certificate
+        certificate = createObject('waeup.Certificate')
+        certificate.code = 'CERT2'
+        certificate.title = 'New Certificate'
+        certificate.application_category = 'basic'
+        self.app['faculties']['fac1']['dep1'].certificates.addCertificate(
+            certificate)
+        self.browser.addHeader('Authorization', 'Basic mgr:mgrpw')
+        self.browser.open(self.edit_path)
+        self.assertFalse('course2' in self.browser.contents)
+        self.certificate.custom_textline_1 = u'Maths, Physics'
+        self.certificate.custom_float_1 = 50.0
+        certificate.custom_textline_1 = u'German, Physics'
+        certificate.custom_float_1 = 30.0
+        notify(grok.ObjectModifiedEvent(certificate))
+        self.browser.open(self.edit_path)
+        # Score must be set and below the limit
+        # of course1 to see course2 field
+        self.applicant.jamb_score = 20
+        self.browser.open(self.edit_path)
+        self.assertTrue('course2' in self.browser.contents)
+        # But 20 is not enough to select the alternative CERT2
+        self.assertFalse(
+            'value="CERT2">CERT2 - New Certificate'
+            in self.browser.contents)
+        self.applicant.jamb_score = 30
+        self.browser.open(self.edit_path)
+        # 30 is enough
+        self.assertTrue('course2' in self.browser.contents)
+        self.assertTrue(
+            'value="CERT2">CERT2 - New Certificate [German, Physics, 30]</option>'
+            in self.browser.contents)
+
+    def test_low_jamb_score(self):
+        self.login()
+        self.assertFalse('<select id="form.course2" name="form.course2" size="1" >'
+            in self.browser.contents)
+        self.certificate.custom_textline_1 = u'Maths, Physics'
+        self.certificate.custom_float_1 = 50.0
+        self.applicant.jamb_score = 40
+        self.browser.open(self.edit_path)
+        self.assertTrue('<select id="form.course2" name="form.course2" size="1" >'
+            in self.browser.contents)
Index: /main/waeup.futminna/tags/1.1/src/waeup/futminna/applicants/utils.py
===================================================================
--- /main/waeup.futminna/tags/1.1/src/waeup/futminna/applicants/utils.py	(revision 11490)
+++ /main/waeup.futminna/tags/1.1/src/waeup/futminna/applicants/utils.py	(revision 11490)
@@ -0,0 +1,67 @@
+## $Id$
+##
+## Copyright (C) 2011 Uli Fouquet & Henrik Bettermann
+## 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., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+##
+"""General helper functions and utilities for the application section.
+"""
+
+from time import time
+import sys
+import grok
+from kofacustom.nigeria.applicants.utils import NigeriaApplicantsUtils
+from waeup.futminna.interfaces import MessageFactory as _
+
+
+class ApplicantsUtils(NigeriaApplicantsUtils):
+    """A collection of parameters and methods subject to customization.
+    """
+
+    SEPARATORS_DICT = {
+        'form.applicant_id': _(u'Base Data'),
+        'form.course1': _(u'Programmes/Courses Desired'),
+        'form.hq_type': _(u'Higher Education Record'),
+        #'form.notice': _(u'Application Process Information'),
+        'form.pp_school': _(u'Post Primary School Qualification'),
+        'form.notice': _(u'Process Data'),
+        'form.jamb_subjects': _(u'JAMB Data'),
+      }
+
+    def filterCertificates(self, context, resultset):
+        """Filter and sort certificates in AppCatCertificateSource.
+        """
+        certs = sorted(resultset, key=lambda value: value.code)
+        if context.jamb_score is not None:
+            resultlist = [cert for cert in certs
+                if cert.custom_float_1 is None
+                  or context.jamb_score >= cert.custom_float_1]
+        else:
+            resultlist = certs
+        curr_course = context.course1
+        if curr_course is not None and curr_course not in resultlist:
+            # display also current course even if certificate has been removed
+            # or does not meet requirement
+            resultlist = [curr_course,] + resultlist
+        return resultlist
+
+    def getCertTitle(self, context, value):
+        """Compose the titles in AppCatCertificateSource.
+        """
+        if None not in (getattr(value, 'custom_textline_1'),
+            getattr(value, 'custom_float_1')):
+            return "%s - %s [%s, %d]" % (
+                value.code, value.title,
+                value.custom_textline_1, value.custom_float_1)
+        return "%s - %s" % (value.code, value.title)
Index: /main/waeup.futminna/tags/1.1/src/waeup/futminna/applicants/viewlets.py
===================================================================
--- /main/waeup.futminna/tags/1.1/src/waeup/futminna/applicants/viewlets.py	(revision 11490)
+++ /main/waeup.futminna/tags/1.1/src/waeup/futminna/applicants/viewlets.py	(revision 11490)
@@ -0,0 +1,36 @@
+## $Id$
+##
+## Copyright (C) 2011 Uli Fouquet & Henrik Bettermann
+## 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., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+##
+import grok
+from waeup.kofa.browser.viewlets import ManageActionButton
+from waeup.futminna.applicants.interfaces import ICustomApplicant
+
+from waeup.futminna.interfaces import MessageFactory as _
+
+
+#class OriginalApplicationButton(ManageActionButton):
+#    grok.order(4)
+#    grok.context(ICustomApplicant)
+#    grok.require('waeup.viewApplication')
+#    icon = 'actionicon_pdf.png'
+#    text = _('Download application form extension')
+
+#    @property
+#    def target_url(self):
+#        """Get a URL to the target...
+#        """
+#        return 'https://futminna.waeup.org/downloads/ApplicationFormExtension.pdf'
Index: /main/waeup.futminna/tags/1.1/src/waeup/futminna/browser/__init__.py
===================================================================
--- /main/waeup.futminna/tags/1.1/src/waeup/futminna/browser/__init__.py	(revision 11490)
+++ /main/waeup.futminna/tags/1.1/src/waeup/futminna/browser/__init__.py	(revision 11490)
@@ -0,0 +1,1 @@
+# Make this a package.
Index: /main/waeup.futminna/tags/1.1/src/waeup/futminna/browser/pages.py
===================================================================
--- /main/waeup.futminna/tags/1.1/src/waeup/futminna/browser/pages.py	(revision 11490)
+++ /main/waeup.futminna/tags/1.1/src/waeup/futminna/browser/pages.py	(revision 11490)
@@ -0,0 +1,46 @@
+## $Id$
+##
+## Copyright (C) 2011 Uli Fouquet & Henrik Bettermann
+## 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., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+##
+import grok
+from waeup.kofa.browser.pages import (
+    SessionConfigurationAddFormPage, SessionConfigurationManageFormPage,
+    CertificatePage, CertificateManageFormPage)
+from waeup.kofa.university.interfaces import ICertificate
+from waeup.futminna.interfaces import (
+    ICustomSessionConfiguration, ICustomSessionConfigurationAdd)
+
+class CustomSessionConfigurationAddFormPage(SessionConfigurationAddFormPage):
+    """Add a session configuration object to configuration container.
+    """
+    form_fields = grok.AutoFields(ICustomSessionConfigurationAdd)
+
+class CustomSessionConfigurationManageFormPage(SessionConfigurationManageFormPage):
+    """Manage session configuration object.
+    """
+    form_fields = grok.AutoFields(ICustomSessionConfiguration)
+
+class CustomCertificatePage(CertificatePage):
+    """Index page for certificates.
+    """
+    form_fields = grok.AutoFields(ICertificate).omit(
+        'ratio', 'custom_textline_2', 'custom_float_2')
+
+class CustomCertificateManageFormPage(CertificateManageFormPage):
+    """Manage the properties of a `Certificate` instance.
+    """
+    form_fields = grok.AutoFields(ICertificate).omit(
+        'ratio', 'custom_textline_2','custom_float_2')
Index: /main/waeup.futminna/tags/1.1/src/waeup/futminna/browser/pdf.py
===================================================================
--- /main/waeup.futminna/tags/1.1/src/waeup/futminna/browser/pdf.py	(revision 11490)
+++ /main/waeup.futminna/tags/1.1/src/waeup/futminna/browser/pdf.py	(revision 11490)
@@ -0,0 +1,35 @@
+## $Id$
+##
+## Copyright (C) 2012 Uli Fouquet & Henrik Bettermann
+## 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., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+##
+"""
+Reusable components for pdf generation.
+"""
+
+import os
+from waeup.kofa.browser.pdf import PDFCreator
+
+class CustomPDFCreator(PDFCreator):
+    """A utility to help with generating PDF docs.
+    """
+
+    header_logo_path = os.path.join(
+        os.path.dirname(__file__), 'static', 'pdf_logo.jpg')
+    #watermark_path = os.path.join(
+    #    os.path.dirname(__file__), 'static', 'pdf_watermark.jpg')
+
+    #watermark_pos = [-25, 100]
+    logo_pos = [520, 600, 50]
Index: /main/waeup.futminna/tags/1.1/src/waeup/futminna/browser/tests.py
===================================================================
--- /main/waeup.futminna/tags/1.1/src/waeup/futminna/browser/tests.py	(revision 11490)
+++ /main/waeup.futminna/tags/1.1/src/waeup/futminna/browser/tests.py	(revision 11490)
@@ -0,0 +1,56 @@
+## $Id$
+##
+## Copyright (C) 2011 Uli Fouquet & Henrik Bettermann
+## 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., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+##
+import tempfile
+import shutil
+from zope.testbrowser.testing import Browser
+from zope.component.hooks import setSite, clearSite
+from zope.security.interfaces import Unauthorized
+from waeup.kofa.testing import FunctionalTestCase
+from waeup.futminna.testing import FunctionalLayer
+from waeup.kofa.app import University
+
+class CustomPackageBrowserTests(FunctionalTestCase):
+
+    layer = FunctionalLayer
+
+    def setUp(self):
+        super(CustomPackageBrowserTests, self).setUp()
+
+        # Setup a sample site for each test
+        app = University()
+        self.dc_root = tempfile.mkdtemp()
+        app['datacenter'].setStoragePath(self.dc_root)
+
+        # Put the prepopulated site into test ZODB and prepare test
+        # browser
+        self.getRootFolder()['app'] = app
+        setSite(app)
+        self.browser = Browser()
+        self.browser.handleErrors = False
+
+    def tearDown(self):
+        super(CustomPackageBrowserTests, self).tearDown()
+        clearSite()
+        shutil.rmtree(self.dc_root)
+
+    def test_access_live_url(self):
+        # We can't access the system with basic authentication
+        self.browser.addHeader('Authorization', 'Basic grok:grok')
+        self.assertRaises(
+            Unauthorized, self.browser.open, 'https://futminna-kofa.waeup.org')
+        return
Index: /main/waeup.futminna/tags/1.1/src/waeup/futminna/configuration.py
===================================================================
--- /main/waeup.futminna/tags/1.1/src/waeup/futminna/configuration.py	(revision 11490)
+++ /main/waeup.futminna/tags/1.1/src/waeup/futminna/configuration.py	(revision 11490)
@@ -0,0 +1,47 @@
+## $Id$
+##
+## Copyright (C) 2011 Uli Fouquet & Henrik Bettermann
+## 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., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+##
+"""
+Containers for session configuration objects.
+"""
+import grok
+from zope.interface import implementedBy
+from waeup.kofa.utils.helpers import attrs_to_fields
+from waeup.kofa.configuration import (
+    SessionConfigurationFactory, SessionConfiguration)
+from waeup.futminna.interfaces import (
+    ICustomSessionConfiguration, ICustomSessionConfigurationAdd)
+
+
+class CustomSessionConfiguration(SessionConfiguration):
+    """
+    Customized session configuration model
+    """
+
+    grok.implements(ICustomSessionConfiguration, ICustomSessionConfigurationAdd)
+
+CustomSessionConfiguration = attrs_to_fields(CustomSessionConfiguration)
+
+class CustomSessionConfigurationFactory(SessionConfigurationFactory):
+    """A customized factory for session configuration objects.
+    """
+
+    def __call__(self, *args, **kw):
+        return CustomSessionConfiguration(*args, **kw)
+
+    def getInterfaces(self):
+        return implementedBy(CustomSessionConfiguration)
Index: /main/waeup.futminna/tags/1.1/src/waeup/futminna/configure.zcml
===================================================================
--- /main/waeup.futminna/tags/1.1/src/waeup/futminna/configure.zcml	(revision 11490)
+++ /main/waeup.futminna/tags/1.1/src/waeup/futminna/configure.zcml	(revision 11490)
@@ -0,0 +1,11 @@
+  <configure xmlns="http://namespaces.zope.org/zope"
+           xmlns:grok="http://namespaces.zope.org/grok">
+  <include package="waeup.futminna" file="locales.zcml" />
+
+  <!-- kofacustom.nigeria configures everything we basically need.
+  -->
+  <include package="kofacustom.nigeria" />
+
+  <grok:grok package="." />
+
+</configure>
Index: /main/waeup.futminna/tags/1.1/src/waeup/futminna/ftesting.zcml
===================================================================
--- /main/waeup.futminna/tags/1.1/src/waeup/futminna/ftesting.zcml	(revision 11490)
+++ /main/waeup.futminna/tags/1.1/src/waeup/futminna/ftesting.zcml	(revision 11490)
@@ -0,0 +1,67 @@
+<configure
+   xmlns="http://namespaces.zope.org/zope"
+   xmlns:kofa="http://namespaces.waeup.org/kofa"
+   i18n_domain="waeup.futminna"
+   package="waeup.futminna"
+   >
+
+  <include package="waeup.futminna" />
+  <include package="waeup.futminna" file="mail.zcml"/>
+
+  <!-- Where should the datacenter reside by default? -->
+  <kofa:datacenter
+      path="../../../parts/test/datacenter" />
+
+  <!-- Typical functional testing security setup -->
+  <securityPolicy
+      component="zope.securitypolicy.zopepolicy.ZopeSecurityPolicy"
+      />
+
+  <unauthenticatedPrincipal
+      id="zope.anybody"
+      title="Unauthenticated User"
+      />
+  <unauthenticatedGroup id="zope.Anybody"
+      title="Unauthenticated Users" />
+  <authenticatedGroup id="zope.Authenticated"
+      title="Authenticated Users" />
+  <everybodyGroup id="zope.Everybody"
+      title="All Users" />
+
+  <!-- grant
+      permission="zope.View"
+      principal="zope.Anybody"
+      / -->
+  <grant
+      permission="zope.app.dublincore.view"
+      principal="zope.Anybody" />
+  <grant
+      permission="zope.View"
+      principal="zope.Authenticated"
+      />
+  <grant
+      permission="zope.app.dublincore.view"
+      principal="zope.Authenticated"
+      />
+  <grant
+      permission="waeup.Public"
+      principal="zope.Everybody"
+      />
+  <grant 
+      permission="waeup.Anonymous"
+      principal="zope.Anybody"
+      />
+
+
+  <principal
+      id="zope.mgr"
+      title="Manager"
+      login="mgr"
+      password="mgrpw"
+      />
+
+  <role id="zope.Manager" title="Site Manager" />
+  <grantAll role="zope.Manager" />
+  <grant role="zope.Manager" principal="zope.mgr" />
+
+</configure>
Index: /main/waeup.futminna/tags/1.1/src/waeup/futminna/interfaces.py
===================================================================
--- /main/waeup.futminna/tags/1.1/src/waeup/futminna/interfaces.py	(revision 11490)
+++ /main/waeup.futminna/tags/1.1/src/waeup/futminna/interfaces.py	(revision 11490)
@@ -0,0 +1,112 @@
+## $Id$
+##
+## Copyright (C) 2011 Uli Fouquet & Henrik Bettermann
+## 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., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+##
+
+import zope.i18nmessageid
+from zope import schema
+from zc.sourcefactory.basic import BasicSourceFactory
+from waeup.kofa.interfaces import (SimpleKofaVocabulary,
+    ISessionConfiguration, academic_sessions_vocab)
+
+_ = MessageFactory = zope.i18nmessageid.MessageFactory('waeup.futminna')
+
+# It's recommended to replicate all fields from the base package here.
+class ICustomSessionConfiguration(ISessionConfiguration):
+    """A session configuration object.
+    """
+
+    # Base fees, do not remove.
+
+    school_fee_base = schema.Float(
+        title = _(u'School Fee (ignored)'),
+        default = 0.0,
+        required = False,
+        )
+
+    application_fee = schema.Float(
+        title = _(u'Application Fee (not-applicable)'),
+        default = 0.0,
+        required = False,
+        )
+
+    clearance_fee = schema.Float(
+        title = _(u'Clearance Fee'),
+        description = u'5000 Nairas are automatically added ' + \
+                       'if student is in faculty <br>' + \
+                       'EET or ICT or in department ARC.',
+        default = 0.0,
+        required = False,
+        )
+
+    booking_fee = schema.Float(
+        title = _(u'Booking Fee'),
+        default = 0.0,
+        required = False,
+        )
+
+    # Additional fees in custom package
+
+    maint_fee = schema.Float(
+        title = _(u'Maintenance Fee (ignored)'),
+        default = 0.0,
+        required = False,
+        )
+
+    gown_fee = schema.Float(
+        title = _(u'Gown Fee'),
+        default = 0.0,
+        required = False,
+        )
+
+    transfer_fee = schema.Float(
+        title = _(u'Transfer Fee'),
+        default = 0.0,
+        required = False,
+        )
+
+    penalty_ug = schema.Float(
+        title = _(u'UG Penalty Fee'),
+        default = 0.0,
+        required = False,
+        )
+
+    penalty_pg = schema.Float(
+        title = _(u'PG Penalty Fee'),
+        default = 0.0,
+        required = False,
+        )
+
+    def getSessionString():
+        """Returns the session string from the vocabulary.
+        """
+
+
+class ICustomSessionConfigurationAdd(ICustomSessionConfiguration):
+    """A session configuration object in add mode.
+    """
+
+    academic_session = schema.Choice(
+        title = _(u'Academic Session'),
+        source = academic_sessions_vocab,
+        default = None,
+        required = True,
+        readonly = False,
+        )
+
+ICustomSessionConfigurationAdd[
+    'academic_session'].order =  ICustomSessionConfiguration[
+    'academic_session'].order
Index: /main/waeup.futminna/tags/1.1/src/waeup/futminna/interswitch/__init__.py
===================================================================
--- /main/waeup.futminna/tags/1.1/src/waeup/futminna/interswitch/__init__.py	(revision 11490)
+++ /main/waeup.futminna/tags/1.1/src/waeup/futminna/interswitch/__init__.py	(revision 11490)
@@ -0,0 +1,1 @@
+# Make this a package.
Index: /main/waeup.futminna/tags/1.1/src/waeup/futminna/interswitch/browser.py
===================================================================
--- /main/waeup.futminna/tags/1.1/src/waeup/futminna/interswitch/browser.py	(revision 11490)
+++ /main/waeup.futminna/tags/1.1/src/waeup/futminna/interswitch/browser.py	(revision 11490)
@@ -0,0 +1,313 @@
+## $Id$
+##
+## Copyright (C) 2012 Uli Fouquet & Henrik Bettermann
+## 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., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+##
+import httplib
+import grok
+from zope.interface import Interface
+from zope.component import getUtility, queryAdapter
+from kofacustom.nigeria.interswitch.browser import (
+    InterswitchPaymentRequestWebservicePageStudent,
+    InterswitchPaymentRequestWebservicePageApplicant
+    )
+from waeup.kofa.browser.layout import KofaPage
+from waeup.kofa.interfaces import RETURNING, CLEARED, IKofaUtils
+from waeup.kofa.utils.helpers import to_timezone
+from waeup.futminna.students.interfaces import ICustomStudentOnlinePayment
+from waeup.futminna.applicants.interfaces import ICustomApplicantOnlinePayment
+from waeup.futminna.interfaces import MessageFactory as _
+
+PRODUCT_ID = '117'
+SITE_NAME = 'futminna-kofa.waeup.org'
+PROVIDER_ACCT = '1010764827'
+PROVIDER_BANK_ID = '117'
+PROVIDER_ITEM_NAME = 'BT Education'
+INSTITUTION_NAME = 'FUTMinna'
+CURRENCY = '566'
+GATEWAY_AMT = 300.0
+#QUERY_URL = 'https://webpay.interswitchng.com/paydirect/services/TransactionQueryURL.aspx'
+#QUERY_URL = 'https://testwebpay.interswitchng.com/test_paydirect/services/TransactionQueryURL.aspx'
+POST_ACTION = 'https://webpay.interswitchng.com/paydirect/webpay/pay.aspx'
+#POST_ACTION = 'https://testwebpay.interswitchng.com/test_paydirect/webpay/pay.aspx'
+
+HOST = 'webpay.interswitchng.com'
+#HOST = 'testwebpay.interswitchng.com'
+URL = '/paydirect/services/TransactionQueryWs.asmx'
+#URL = '/test_paydirect/services/TransactionQueryWs.asmx'
+httplib.HTTPConnection.debuglevel = 0
+
+def interswitch_img_url(view):
+    static = view.static
+    if static is None or static.get(
+        'interswitch_verve_mastercard.gif', None) is None:
+        static = queryAdapter(
+            view.request, Interface, name='waeup.futminna.interswitch')
+    return static['interswitch_verve_mastercard.gif']()
+
+class InterswitchPageStudent(KofaPage):
+    """ View which sends a POST request to the Interswitch
+    CollegePAY payment gateway.
+    """
+    grok.context(ICustomStudentOnlinePayment)
+    grok.name('goto_interswitch')
+    grok.template('student_goto_interswitch')
+    grok.require('waeup.payStudent')
+    label = _('Submit data to CollegePAY (Interswitch Payment Gateway)')
+    submit_button = _('Submit')
+    action = POST_ACTION
+    site_name = SITE_NAME
+    currency = CURRENCY
+    pay_item_id = ''
+    product_id = PRODUCT_ID
+
+    def update(self):
+        #if self.context.p_state != 'unpaid':
+        if self.context.p_state == 'paid':
+            self.flash(_("Payment ticket can't be re-send to CollegePAY."))
+            self.redirect(self.url(self.context, '@@index'))
+            return
+
+        student = self.student = self.context.student
+        certificate = getattr(student['studycourse'],'certificate',None)
+        self.amount_auth = 100 * self.context.amount_auth
+        xmldict = {}
+        if certificate is not None:
+            xmldict['department'] = certificate.__parent__.__parent__.code
+            xmldict['faculty'] = certificate.__parent__.__parent__.__parent__.code
+        else:
+            xmldict['department'] = None
+            xmldict['faculty'] = None
+        self.category = getUtility(IKofaUtils).PAYMENT_CATEGORIES[
+            self.context.p_category]
+        tz = getUtility(IKofaUtils).tzinfo
+        self.local_date_time = to_timezone(
+            self.context.creation_date, tz).strftime("%Y-%m-%d %H:%M:%S %Z")
+        self.site_redirect_url = self.url(self.context, 'request_webservice')
+        # Provider data
+        xmldict['detail_ref'] = self.context.p_id
+        xmldict['provider_acct'] = PROVIDER_ACCT
+        xmldict['provider_bank_id'] = PROVIDER_BANK_ID
+        xmldict['provider_item_name'] = PROVIDER_ITEM_NAME
+        provider_amt = 1500.0
+        xmldict['provider_amt'] = 100 * provider_amt
+
+        # Institution data. Account numbers were changed to the new
+        # NUBAN 10 digit number system
+        xmldict['institution_acct'] = ''
+        xmldict['institution_bank_id'] = ''
+        xmldict['institution_acct'] = '000000000000'
+        xmldict['institution_bank_id'] = '00'
+        xmldict['institution_name'] = INSTITUTION_NAME
+        
+        if self.context.p_category == 'schoolfee':
+            xmldict['institution_amt'] = 100 * (
+                self.context.amount_auth - provider_amt - GATEWAY_AMT)
+            if self.context.student.current_mode in ('pg_ft','pgd_ft'):
+                self.pay_item_id = "11703"
+            elif self.context.student.state == CLEARED and \
+                self.context.student.current_level == 100:
+                self.pay_item_id = "11700"
+            elif self.context.student.state == CLEARED and \
+                self.context.student.current_level == 200:
+                self.pay_item_id = "11701"
+            elif self.context.student.state == CLEARED and \
+                self.context.student.current_level == 300:
+                self.pay_item_id = "11702"
+            elif self.context.student.state == RETURNING and \
+                self.context.student.current_level in (100,110):
+                self.pay_item_id = "11701"
+            elif self.context.student.state == RETURNING and \
+                self.context.student.current_level in (200,210):
+                self.pay_item_id = "11702"
+            elif self.context.student.state == RETURNING and \
+                self.context.student.current_level in (300,310):
+                self.pay_item_id = "11703"
+            elif self.context.student.state == RETURNING and \
+                self.context.student.current_level in (400,410,500,510,600):
+                self.pay_item_id = "11704"
+
+            if self.context.student.current_mode == 'jm_ft':
+                xmldict['institution_acct'] = "000000000000"
+                xmldict['institution_bank_id'] = '00'
+            elif self.context.student.current_mode == 'pg_ft':
+                xmldict['institution_acct'] = "2005910931"
+                xmldict['institution_bank_id'] = '8'
+            elif self.context.student.state == CLEARED and \
+                self.context.student.current_level == 100:
+                xmldict['institution_acct'] = "0021030851"
+                xmldict['institution_bank_id'] = '31'
+            elif self.context.student.state == CLEARED and \
+                self.context.student.current_level == 200:
+                xmldict['institution_acct'] = "0005646299"
+                xmldict['institution_bank_id'] = '47'
+            elif self.context.student.state == CLEARED and \
+                self.context.student.current_level == 300:
+                xmldict['institution_acct'] = "1010500151"
+                xmldict['institution_bank_id'] = '117'
+            elif self.context.student.state == RETURNING and \
+                self.context.student.current_level in (100,110):
+                xmldict['institution_acct'] = "0005646299"
+                xmldict['institution_bank_id'] = '47'
+            elif self.context.student.current_level in (200,210):
+                xmldict['institution_acct'] = "1010500151"
+                xmldict['institution_bank_id'] = '117'
+            elif self.context.student.current_level in (300,310):
+                xmldict['institution_acct'] = "2005910931"
+                xmldict['institution_bank_id'] = '8'
+            elif self.context.student.current_level in (400,410,500,510,600):
+                xmldict['institution_acct'] = "0027490487"
+                xmldict['institution_bank_id'] = '10'
+
+        elif self.context.p_category == 'clearance':
+            xmldict['institution_amt'] = 100 * (
+                self.context.amount_auth - GATEWAY_AMT)
+            xmldict['institution_acct'] = "1750005063"
+            xmldict['institution_bank_id'] = '120'
+            self.pay_item_id = "11706"
+            provider_amt = 0.0
+
+        elif 'maintenance' in self.context.p_category:
+            xmldict['institution_amt'] = 100 * (
+                self.context.amount_auth - GATEWAY_AMT)
+            xmldict['institution_acct'] = "2018856637"
+            xmldict['institution_bank_id'] = '8'
+            self.pay_item_id = "11705"
+            provider_amt = 0.0
+
+        # Interswitch amount is not part of the xml data
+        if self.context.p_category == 'schoolfee':
+            xmltext = """<payment_item_detail>
+<item_details detail_ref="%(detail_ref)s" college="%(institution_name)s" department="%(department)s" faculty="%(faculty)s">
+<item_detail item_id="1" item_name="School Fee" item_amt="%(institution_amt)d" bank_id="%(institution_bank_id)s" acct_num="%(institution_acct)s" />
+<item_detail item_id="2" item_name="%(provider_item_name)s" item_amt="%(provider_amt)d" bank_id="%(provider_bank_id)s" acct_num="%(provider_acct)s" />
+</item_details>
+</payment_item_detail>""" % xmldict
+
+        elif self.context.p_category == 'clearance':
+            xmltext = """<payment_item_detail>
+<item_details detail_ref="%(detail_ref)s" college="%(institution_name)s" department="%(department)s" faculty="%(faculty)s">
+<item_detail item_id="1" item_name="Acceptance Fee" item_amt="%(institution_amt)d" bank_id="%(institution_bank_id)s" acct_num="%(institution_acct)s" />
+</item_details>
+</payment_item_detail>""" % xmldict
+
+        elif 'maintenance' in self.context.p_category:
+            xmltext = """<payment_item_detail>
+<item_details detail_ref="%(detail_ref)s" college="%(institution_name)s" department="%(department)s" faculty="%(faculty)s">
+<item_detail item_id="1" item_name="Hostel Maintenance Fee" item_amt="%(institution_amt)d" bank_id="%(institution_bank_id)s" acct_num="%(institution_acct)s" />
+</item_details>
+</payment_item_detail>""" % xmldict
+
+
+        self.xml_data = """<input type="hidden" name="xml_data" value='%s'  />""" % xmltext
+        self.context.provider_amt = provider_amt
+        self.context.gateway_amt = GATEWAY_AMT
+        return
+
+class InterswitchPageApplicant(KofaPage):
+    """ View which sends a POST request to the Interswitch
+    CollegePAY payment gateway.
+    """
+    grok.context(ICustomApplicantOnlinePayment)
+    grok.require('waeup.payApplicant')
+    grok.template('applicant_goto_interswitch')
+    grok.name('goto_interswitch')
+    label = _('Submit data to CollegePAY (Interswitch Payment Gateway)')
+    submit_button = _('Submit')
+    action = POST_ACTION
+    site_name = SITE_NAME
+    currency = CURRENCY
+    pay_item_id = '11707'
+    product_id = PRODUCT_ID
+    #mac = ''
+
+    def interswitch_img_url(self):
+        return interswitch_img_url(self)
+
+    def update(self):
+        if self.context.p_state != 'unpaid':
+            self.flash(_("Payment ticket can't be re-send to CollegePAY."))
+            self.redirect(self.url(self.context, '@@index'))
+            return
+        if self.context.__parent__.__parent__.expired \
+            and self.context.__parent__.__parent__.strict_deadline:
+            self.flash(_("Payment ticket can't be send to CollegePAY. "
+                         "Application period has expired."))
+            self.redirect(self.url(self.context, '@@index'))
+            return
+        self.applicant = self.context.__parent__
+        self.amount_auth = 100 * self.context.amount_auth
+        xmldict = {}
+        self.category = getUtility(
+            IKofaUtils).PAYMENT_CATEGORIES[self.context.p_category]
+        tz = getUtility(IKofaUtils).tzinfo
+        self.local_date_time = to_timezone(
+            self.context.creation_date, tz).strftime("%Y-%m-%d %H:%M:%S %Z")
+        self.site_redirect_url = self.url(self.context, 'request_webservice')
+        provider_amt = 500.0
+        if self.applicant.applicant_id.startswith('pg'):
+            xmldict['institution_acct'] = '2005910931'
+            xmldict['institution_bank_id'] = '8'
+        else:
+            xmldict['institution_acct'] = '00000000000'
+            xmldict['institution_bank_id'] = '00'
+        xmldict['detail_ref'] = self.context.p_id
+        xmldict['provider_amt'] = 100 * provider_amt
+        xmldict['provider_acct'] = PROVIDER_ACCT
+        xmldict['provider_bank_id'] = PROVIDER_BANK_ID
+        xmldict['provider_item_name'] = PROVIDER_ITEM_NAME
+        xmldict['institution_amt'] = 100 * (
+            self.context.amount_auth - provider_amt - GATEWAY_AMT)
+        xmldict['institution_item_name'] = self.context.p_category
+        xmldict['institution_name'] = INSTITUTION_NAME
+
+        #hashargs = (
+        #    self.context.p_id +
+        #    PRODUCT_ID +
+        #    self.pay_item_id +
+        #    str(int(self.amount_auth)) +
+        #    self.site_redirect_url +
+        #    self.mac)
+        #self.hashvalue = hashlib.sha512(hashargs).hexdigest()
+
+        # Interswitch amount is not part of the xml data
+        xmltext = """<payment_item_detail>
+<item_details detail_ref="%(detail_ref)s" college="%(institution_name)s">
+<item_detail item_id="1" item_name="%(institution_item_name)s" item_amt="%(institution_amt)d" bank_id="%(institution_bank_id)s" acct_num="%(institution_acct)s" />
+<item_detail item_id="2" item_name="%(provider_item_name)s" item_amt="%(provider_amt)d" bank_id="%(provider_bank_id)s" acct_num="%(provider_acct)s" />
+</item_details>
+</payment_item_detail>""" % xmldict
+        self.xml_data = """<input type="hidden" name="xml_data" value='%s'  />""" % xmltext
+        self.context.provider_amt = provider_amt
+        self.context.gateway_amt = GATEWAY_AMT
+        return
+
+class InterswitchPaymentRequestWebservicePageStudent(
+    InterswitchPaymentRequestWebservicePageStudent):
+    """ Request webservice view for the CollegePAY gateway
+    """
+    grok.context(ICustomStudentOnlinePayment)
+    product_id = PRODUCT_ID
+    gateway_host = HOST
+    gateway_url = URL
+
+class InterswitchPaymentRequestWebservicePageApplicant(
+    InterswitchPaymentRequestWebservicePageApplicant):
+    """ Request webservice view for the CollegePAY gateway
+    """
+    grok.context(ICustomApplicantOnlinePayment)
+    product_id = PRODUCT_ID
+    gateway_host = HOST
+    gateway_url = URL
Index: /main/waeup.futminna/tags/1.1/src/waeup/futminna/interswitch/browser_templates/applicant_goto_interswitch.pt
===================================================================
--- /main/waeup.futminna/tags/1.1/src/waeup/futminna/interswitch/browser_templates/applicant_goto_interswitch.pt	(revision 11490)
+++ /main/waeup.futminna/tags/1.1/src/waeup/futminna/interswitch/browser_templates/applicant_goto_interswitch.pt	(revision 11490)
@@ -0,0 +1,80 @@
+<form i18n:domain="waeup.kwarapoly"
+  tal:attributes="action view/action" method="POST">
+
+  <p i18n:translate="">
+    These data will be submitted to the CollegePAY payment gateway,
+    please check:
+  </p>
+
+  <table class="form-table" i18n:domain="waeup.kofa">
+    <thead>
+    </thead>
+    <tbody>
+      <tr>
+        <td i18n:translate="" class="fieldname">
+          Total Amount Authorized:</td>
+        <td>
+          <span tal:replace="view/context/amount_auth">AMOUNT</span>
+        </td>
+      </tr>
+      <tr>
+        <td i18n:translate="" class="fieldname">
+          Transaction Reference:</td>
+        <td>
+          <span tal:replace="view/context/p_id">TXNREF</span>
+        </td>
+      </tr>
+      <tr>
+        <td i18n:translate="" class="fieldname">
+          Customer Id:</td>
+        <td>
+          <span tal:replace="view/applicant/applicant_id">CUSTID</span>
+        </td>
+      </tr>
+      <tr>
+        <td i18n:translate="" class="fieldname">
+          Customer Name:</td>
+        <td>
+          <span tal:replace="view/applicant/display_fullname">CUSTNAME</span>
+        </td>
+      </tr>
+      <tr>
+        <td i18n:translate="" class="fieldname">
+          Payment Item:</td>
+        <td>
+          <span tal:replace="view/context/display_item">PAYMENTITEM</span>
+        </td>
+      </tr>
+      <tr>
+        <td i18n:translate="" class="fieldname">
+          Payment Category:</td>
+        <td>
+          <span tal:replace="view/category">PAYMENTCATEGORY</span>
+        </td>
+      </tr>
+    </tbody>
+  </table>
+
+  <input type="hidden" name="product_id" tal:attributes="value view/product_id" />
+  <input type="hidden" name="currency" tal:attributes="value view/currency" />
+  <input type="hidden" name="pay_item_id" tal:attributes="value view/pay_item_id" />
+  <input type="hidden" name="site_redirect_url" tal:attributes="value view/site_redirect_url" />
+  <input type="hidden" name="site_name" tal:attributes="value view/site_name" />
+  <input type="hidden" name="local_date_time" tal:attributes="value view/local_date_time" />
+  <input type="hidden" name="amount" tal:attributes="value view/amount_auth" />
+  <input type="hidden" name="txn_ref" tal:attributes="value view/context/p_id" />
+  <input type="hidden" name="pay_item_name" tal:attributes="value view/context/display_item" />
+  <input type="hidden" name="cust_id_desc" tal:attributes="value view/category" />
+  <input type="hidden" name="cust_id" tal:attributes="value view/applicant/applicant_id" />
+  <input type="hidden" name="cust_name" tal:attributes="value view/applicant/display_fullname" />
+
+  <input type="hidden" name="payment_params" value="college_split" />
+  <span tal:replace="structure view/xml_data"></span>
+
+  <input type="submit" class="btn btn-primary" tal:attributes="value view/submit_button"/>
+
+  <br /><br />
+
+  <img src="/static/img/interswitch_verve_mastercard.gif" />
+
+</form>
Index: /main/waeup.futminna/tags/1.1/src/waeup/futminna/interswitch/browser_templates/student_goto_interswitch.pt
===================================================================
--- /main/waeup.futminna/tags/1.1/src/waeup/futminna/interswitch/browser_templates/student_goto_interswitch.pt	(revision 11490)
+++ /main/waeup.futminna/tags/1.1/src/waeup/futminna/interswitch/browser_templates/student_goto_interswitch.pt	(revision 11490)
@@ -0,0 +1,80 @@
+<form i18n:domain="waeup.futminna"
+  tal:attributes="action view/action" method="POST">
+
+  <p i18n:translate="">
+    These data will be submitted to the CollegePAY payment gateway,
+    please check:
+  </p>
+
+  <table class="form-table" i18n:domain="waeup.kofa">
+    <thead>
+    </thead>
+    <tbody>
+      <tr>
+        <td i18n:translate="" class="fieldname">
+          Total Amount Authorized:</td>
+        <td>
+          <span tal:replace="view/context/amount_auth">AMOUNT</span>
+        </td>
+      </tr>
+      <tr>
+        <td i18n:translate="" class="fieldname">
+          Transaction Reference:</td>
+        <td>
+          <span tal:replace="view/context/p_id">TXNREF</span>
+        </td>
+      </tr>
+      <tr>
+        <td i18n:translate="" class="fieldname">
+          Customer Id:</td>
+        <td>
+          <span tal:replace="view/student/student_id">CUSTID</span>
+        </td>
+      </tr>
+      <tr>
+        <td i18n:translate="" class="fieldname">
+          Customer Name:</td>
+        <td>
+          <span tal:replace="view/student/display_fullname">CUSTNAME</span>
+        </td>
+      </tr>
+      <tr>
+        <td i18n:translate="" class="fieldname">
+          Payment Item:</td>
+        <td>
+          <span tal:replace="view/context/display_item">PAYMENTITEM</span>
+        </td>
+      </tr>
+      <tr>
+        <td i18n:translate="" class="fieldname">
+          Payment Category:</td>
+        <td>
+          <span tal:replace="view/category">PAYMENTCATEGORY</span>
+        </td>
+      </tr>
+    </tbody>
+  </table>
+
+  <input type="hidden" name="product_id" tal:attributes="value view/product_id" />
+  <input type="hidden" name="currency" tal:attributes="value view/currency" />
+  <input type="hidden" name="pay_item_id" tal:attributes="value view/pay_item_id" />
+  <input type="hidden" name="site_redirect_url" tal:attributes="value view/site_redirect_url" />
+  <input type="hidden" name="site_name" tal:attributes="value view/site_name" />
+  <input type="hidden" name="local_date_time" tal:attributes="value view/local_date_time" />
+  <input type="hidden" name="amount" tal:attributes="value view/amount_auth" />
+  <input type="hidden" name="txn_ref" tal:attributes="value view/context/p_id" />
+  <input type="hidden" name="pay_item_name" tal:attributes="value view/context/display_item" />
+  <input type="hidden" name="cust_id_desc" tal:attributes="value view/category" />
+  <input type="hidden" name="cust_id" tal:attributes="value view/student/student_id" />
+  <input type="hidden" name="cust_name" tal:attributes="value view/student/display_fullname" />
+
+  <input type="hidden" name="payment_params" value="college_split" />
+  <span tal:replace="structure view/xml_data"></span>
+
+  <input type="submit" class="btn btn-primary" tal:attributes="value view/submit_button"/>
+
+  <br /><br />
+
+  <img src="/static/img/interswitch_verve_mastercard.gif" />
+
+</form>
Index: /main/waeup.futminna/tags/1.1/src/waeup/futminna/interswitch/tests.py
===================================================================
--- /main/waeup.futminna/tags/1.1/src/waeup/futminna/interswitch/tests.py	(revision 11490)
+++ /main/waeup.futminna/tags/1.1/src/waeup/futminna/interswitch/tests.py	(revision 11490)
@@ -0,0 +1,300 @@
+## $Id$
+##
+## Copyright (C) 2011 Uli Fouquet & Henrik Bettermann
+## 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., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+##
+import os
+from datetime import datetime
+from zope.component import getUtility, createObject
+from zope.catalog.interfaces import ICatalog
+from hurry.workflow.interfaces import IWorkflowState
+from waeup.kofa.university.faculty import Faculty
+from waeup.kofa.university.department import Department
+from waeup.kofa.students.tests.test_browser import StudentsFullSetup
+from waeup.kofa.applicants.tests.test_browser import ApplicantsFullSetup
+from waeup.kofa.configuration import SessionConfiguration
+from waeup.futminna.testing import FunctionalLayer
+
+# Also run tests that send requests to external servers?
+#   If you enable this, please make sure the external services
+#   do exist really and are not bothered by being spammed by a test programme.
+EXTERNAL_TESTS = False
+
+def external_test(func):
+    if not EXTERNAL_TESTS:
+        myself = __file__
+        if myself.endswith('.pyc'):
+            myself = myself[:-2]
+        print "WARNING: external tests are skipped!"
+        print "WARNING: edit %s to enable them." % myself
+        return
+    return func
+
+
+class InterswitchTestsStudents(StudentsFullSetup):
+    """Tests for the Interswitch payment gateway.
+    """
+
+    layer = FunctionalLayer
+
+    def setUp(self):
+        super(InterswitchTestsStudents, self).setUp()
+        self.browser.addHeader('Authorization', 'Basic mgr:mgrpw')
+        self.browser.open(self.payments_path)
+        IWorkflowState(self.student).setState('cleared')
+        self.browser.open(self.payments_path + '/addop')
+        self.browser.getControl(name="form.p_category").value = ['schoolfee']
+        self.browser.getControl("Create ticket").click()
+        self.assertMatches('...Payment ticket created...',
+                           self.browser.contents)
+        ctrl = self.browser.getControl(name='val_id')
+        self.value = ctrl.options[0]
+        self.browser.getLink(self.value).click()
+        self.assertMatches('...Amount Authorized...',
+                           self.browser.contents)
+        self.assertMatches(
+            '...<span>131500.0</span>...',
+            self.browser.contents)
+        self.payment_url = self.browser.url
+
+    def test_interswitch_form(self):
+        # Manager can access InterswitchForm
+        self.assertEqual(self.student['payments'][self.value].provider_amt, 0.0)
+        self.assertEqual(self.student['payments'][self.value].gateway_amt, 0.0)
+        self.browser.getLink("CollegePAY", index=0).click()
+        # Split amounts have been set.
+        self.assertEqual(self.student['payments'][self.value].provider_amt, 1500.0)
+        self.assertEqual(self.student['payments'][self.value].gateway_amt, 300.0)
+        # The total amount to be processed by Interswitch
+        # has been reduced by the Interswitch fee of 150 Nairas
+        self.assertMatches('...Total Amount Authorized:...',
+                           self.browser.contents)
+        self.assertMatches(
+            '...<input type="hidden" name="amount" value="13150000.0" />...',
+            self.browser.contents)
+        self.assertMatches(
+            '...item_name="School Fee" item_amt="12970000" bank_id="31" acct_num="0021030851"...',
+            self.browser.contents)
+        self.assertMatches(
+            '...item_name="BT Education" item_amt="150000" bank_id="117" acct_num="1010764827"...',
+            self.browser.contents)
+
+        # Create clearance fee ticket
+        self.browser.open(self.payments_path + '/addop')
+        self.browser.getControl(name="form.p_category").value = ['clearance']
+        self.browser.getControl("Create ticket").click()
+        self.assertMatches('...ticket created...',
+                           self.browser.contents)
+        ctrl = self.browser.getControl(name='val_id')
+        value = ctrl.options[1]
+        self.browser.getLink(value).click()
+        self.assertMatches('...Amount Authorized...',
+                           self.browser.contents)
+        self.assertMatches(
+            '...<span>3456.0</span>...',
+            self.browser.contents)
+        # Manager can access InterswitchForm
+        self.browser.getLink("CollegePAY", index=0).click()
+        # Split amounts have been set.
+        self.assertEqual(self.student['payments'][value].provider_amt, 0.0)
+        self.assertEqual(self.student['payments'][value].gateway_amt, 300.0)
+        # The total amount to be processed by Interswitch
+        # has been reduced by the Interswitch fee of 150 Nairas
+        self.assertMatches('...Total Amount Authorized:...',
+                           self.browser.contents)
+        self.assertMatches(
+            '...<input type="hidden" name="amount" value="345600.0" />...',
+            self.browser.contents)
+        self.assertMatches(
+            '...item_name="Acceptance Fee" item_amt="315600" bank_id="120" acct_num="1750005063"...',
+            self.browser.contents)
+        # BT does nor charge a fee for clearance
+        self.assertFalse("BT Education" in self.browser.contents)
+
+        # Create hostel maintenance ticket
+        self.browser.open(self.payments_path + '/addop')
+        self.browser.getControl(name="form.p_category").value = ['hostel_maintenance']
+        self.browser.getControl("Create ticket").click()
+        self.assertMatches('...You have not yet booked accommodation...',
+                           self.browser.contents)
+        # Students have to book bed first
+        self.browser.open(self.acco_path)
+        IWorkflowState(self.student).setState('admitted')
+        self.browser.getLink("Book accommodation").click()
+        self.assertFalse('Activation Code:' in self.browser.contents)
+        self.browser.getControl("Create bed ticket").click()
+        # Bed is randomly selected but, since there is only
+        # one bed for this student, we know that ...
+        self.assertMatches('...Hall 1, Block A, Room 101, Bed A...',
+                           self.browser.contents)
+        self.browser.open(self.payments_path + '/addop')
+        self.browser.getControl(name="form.p_category").value = ['hostel_maintenance']
+        self.browser.getControl("Create ticket").click()
+        self.assertMatches('...ticket created...',
+                           self.browser.contents)
+        ctrl = self.browser.getControl(name='val_id')
+        value = ctrl.options[2]
+        self.browser.getLink(value).click()
+        self.assertMatches('...Amount Authorized...',
+                           self.browser.contents)
+        self.assertMatches(
+            '...<span>10000.0</span>...',
+            self.browser.contents)
+        # Manager can access InterswitchForm
+        self.browser.getLink("CollegePAY", index=0).click()
+        # Split amounts have been set.
+        self.assertEqual(self.student['payments'][value].provider_amt, 0.0)
+        self.assertEqual(self.student['payments'][value].gateway_amt, 300.0)
+        # The total amount to be processed by Interswitch
+        # has been reduced by the Interswitch fee of 150 Nairas
+        self.assertMatches('...Total Amount Authorized:...',
+                           self.browser.contents)
+        self.assertMatches(
+            '...<input type="hidden" name="amount" value="1000000.0" />...',
+            self.browser.contents)
+        self.assertMatches(
+            '...item_name="Hostel Maintenance Fee" item_amt="970000" bank_id="8" acct_num="2018856637"...',
+            self.browser.contents)
+        # BT does nor charge a fee for clearance
+        self.assertFalse("BT Education" in self.browser.contents)
+
+
+    @external_test
+    def test_webservice(self):
+        # First we have open InterswitchPageStudent to set provider_amt
+        # and gateway_amt
+        self.browser.open(self.payment_url + '/goto_interswitch')
+        # Now we can call the webservice
+        self.browser.open(self.payment_url + '/request_webservice')
+        self.assertMatches('...Unsuccessful callback...',
+                          self.browser.contents)
+        # The payment is now in state failed ...
+        self.assertMatches('...<span>Failed</span>...',
+                          self.browser.contents)
+        # ... and the catalog has been updated
+        cat = getUtility(ICatalog, name='payments_catalog')
+        results = list(
+            cat.searchResults(p_state=('failed', 'failed')))
+        self.assertEqual(len(results), 1)
+        self.assertEqual(results[0].p_state, 'failed')
+
+        # Let's replace the p_id with a valid p_id of the FUTMinna
+        # live system. This is definitely not an appropriate
+        # solution for testing, but we have no choice since
+        # Interswitch doesn't provide any interface
+        # for testing.
+        payment = self.student['payments'][self.value]
+        payment.p_id = 'p3522296094055'
+        self.browser.open(self.payment_url + '/request_webservice')
+        self.assertMatches('...Callback amount does not match...',
+                          self.browser.contents)
+        # The payment is now in state failed ...
+        self.assertMatches('...<span>Failed</span>...',
+                          self.browser.contents)
+        # Let's replace the amount autorized with the amount of the
+        # live system payment
+        payment.amount_auth = payment.r_amount_approved
+        self.browser.open(self.payment_url + '/request_webservice')
+        self.assertMatches('...Successful payment...',
+                          self.browser.contents)
+        # The payment is now in state paid ...
+        self.assertMatches('...<span>Paid</span>...',
+                          self.browser.contents)
+        # ... and the catalog has been updated
+        cat = getUtility(ICatalog, name='payments_catalog')
+        results = list(
+            cat.searchResults(p_state=('paid', 'paid')))
+        self.assertEqual(len(results), 1)
+        self.assertEqual(results[0].p_state, 'paid')
+        # Approval is logged in students.log ...
+        logfile = os.path.join(
+            self.app['datacenter'].storage, 'logs', 'students.log')
+        logcontent = open(logfile).read()
+        self.assertTrue(
+            'zope.mgr - '
+            'waeup.futminna.interswitch.browser.InterswitchPaymentRequestWebservicePageStudent - '
+            'M1000000 - successful schoolfee payment: p3522296094055\n'
+            in logcontent)
+        # ... and in payments.log
+        logfile = os.path.join(
+            self.app['datacenter'].storage, 'logs', 'payments.log')
+        logcontent = open(logfile).read()
+        self.assertTrue(
+            '"zope.mgr",M1000000,p3522296094055,schoolfee,'
+            '20000.0,00,1500.0,300.0,0.0,,,\n'
+            in logcontent)
+
+class InterswitchTestsApplicants(ApplicantsFullSetup):
+    """Tests for the Interswitch payment gateway.
+    """
+
+    layer = FunctionalLayer
+
+    def setUp(self):
+        super(InterswitchTestsApplicants, self).setUp()
+        configuration = SessionConfiguration()
+        configuration.academic_session = datetime.now().year - 2
+        self.app['configuration'].addSessionConfiguration(configuration)
+        # Create at least one FUTMinna faculty
+        self.app['faculties']['CPGS'] = Faculty(code='ABC')
+        self.app['faculties']['CPGS']['dep1'] = Department(code='dep1')
+        self.certificate2 = createObject('waeup.Certificate')
+        self.certificate2.code = u'CERT2'
+        self.certificate2.application_category = 'pg_ft'
+        self.certificate2.study_mode = 'pg_ft'
+        self.certificate2.start_level = 999
+        self.certificate2.end_level = 999
+        self.app['faculties']['CPGS']['dep1'].certificates.addCertificate(
+            self.certificate2)
+        self.applicantscontainer.application_category = 'pg_ft'
+        self.applicant.applicant_id = u'pg_anything'
+
+    def test_interswitch_form(self):
+        self.browser.addHeader('Authorization', 'Basic mgr:mgrpw')
+        self.browser.open(self.manage_path)
+        #IWorkflowState(self.student).setState('started')
+        super(InterswitchTestsApplicants, self).fill_correct_values()
+        self.browser.getControl(name="form.course1").value = ['CERT2']
+        self.applicantscontainer.application_fee = 3333.0
+        self.browser.getControl(name="form.nationality").value = ['NG']
+        self.browser.getControl(name="transition").value = ['start']
+        self.browser.getControl("Save").click()
+        self.browser.getControl("Add online").click()
+        self.assertMatches('...ticket created...',
+                           self.browser.contents)
+        #ctrl = self.browser.getControl(name='val_id')
+        #value = ctrl.options[0]
+        #self.browser.getLink(value).click()
+        self.assertMatches('...Amount Authorized...',
+                           self.browser.contents)
+        self.assertMatches(
+            '...<span>3333.0</span>...',
+            self.browser.contents)
+        self.payment_url = self.browser.url
+        # Manager can access InterswitchForm
+        self.browser.getLink("CollegePAY", index=0).click()
+        self.assertMatches('...Total Amount Authorized:...',
+                           self.browser.contents)
+        self.assertTrue(
+            '<input type="hidden" name="amount" value="333300.0" />'
+            in self.browser.contents)
+        self.assertTrue(
+            '<item_detail item_id="1" item_name="application" '
+            'item_amt="253300" bank_id="8" acct_num="2005910931" />'
+            in self.browser.contents)
+        self.assertTrue(
+            '<item_detail item_id="2" item_name="BT Education" '
+            'item_amt="50000" bank_id="117" acct_num="1010764827" />'
+            in self.browser.contents)
Index: /main/waeup.futminna/tags/1.1/src/waeup/futminna/locales.zcml
===================================================================
--- /main/waeup.futminna/tags/1.1/src/waeup/futminna/locales.zcml	(revision 11490)
+++ /main/waeup.futminna/tags/1.1/src/waeup/futminna/locales.zcml	(revision 11490)
@@ -0,0 +1,8 @@
+<configure xmlns="http://namespaces.zope.org/zope"
+           xmlns:i18n="http://namespaces.zope.org/i18n">
+
+  <include package="zope.i18n" file="meta.zcml" />
+  <i18n:registerTranslations directory="locales" />
+  <include package="waeup.kofa" file="locales.zcml" />
+
+</configure>
Index: /main/waeup.futminna/tags/1.1/src/waeup/futminna/locales/de/LC_MESSAGES/waeup.futminna.po
===================================================================
--- /main/waeup.futminna/tags/1.1/src/waeup/futminna/locales/de/LC_MESSAGES/waeup.futminna.po	(revision 11490)
+++ /main/waeup.futminna/tags/1.1/src/waeup/futminna/locales/de/LC_MESSAGES/waeup.futminna.po	(revision 11490)
@@ -0,0 +1,730 @@
+# #############################################################################
+#
+# Copyright (c) 2003-2004 Zope Corporation and Contributors.
+# All Rights Reserved.
+#
+# This software is subject to the provisions of the Zope Public License,
+# Version 2.1 (ZPL).  A copy of the ZPL should accompany this distribution.
+# THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED
+# WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
+# WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS
+# FOR A PARTICULAR PURPOSE.
+#
+# #############################################################################
+msgid ""
+msgstr ""
+"Project-Id-Version: WAeUP.Kofa\n"
+"POT-Creation-Date: Sun Jun  3 19:34:05 2012\n"
+"PO-Revision-Date: 2012-03-14 16:36+0100\n"
+"Last-Translator: Henrik Bettermann <henrik@waeup.org>\n"
+"Language-Team: WAeUP Germany <henrik@waeup.org>\n"
+"Language: de-DE\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Generated-By: zope/app/locales/extract.py\n"
+"X-Poedit-Language: German\n"
+"X-Poedit-Country: GERMANY\n"
+"X-Poedit-SourceCharset: utf-8\n"
+
+#. Default: ""
+#: waeup/futminna/applicants/browser.py:183
+#: waeup/futminna/students/browser.py:207
+msgid ""
+"<br /><br /><br />\n"
+"The tranzaction code is <strong>${a}</strong>."
+msgstr ""
+
+#: waeup/futminna/applicants/browser.py:71
+msgid "<br /><br /><br />Comfirm your exam venue 72 hours to the exam."
+msgstr ""
+
+#: waeup/futminna/applicants/interfaces.py:103
+#: waeup/futminna/applicants/interfaces.py:280
+msgid "Screening Date"
+msgstr ""
+
+#: waeup/futminna/applicants/interfaces.py:107
+#: waeup/futminna/applicants/interfaces.py:284
+msgid "Screening Score"
+msgstr ""
+
+#: waeup/futminna/applicants/interfaces.py:111
+#: waeup/futminna/applicants/interfaces.py:289
+msgid "Student Id"
+msgstr ""
+
+#: waeup/futminna/applicants/interfaces.py:116
+#: waeup/futminna/applicants/interfaces.py:294
+msgid "Admitted Course of Study"
+msgstr ""
+
+#: waeup/futminna/applicants/interfaces.py:121
+#: waeup/futminna/applicants/interfaces.py:300
+msgid "Form locked"
+msgstr ""
+
+#: waeup/futminna/applicants/interfaces.py:158
+#: waeup/futminna/applicants/interfaces.py:190
+#: waeup/futminna/students/interfaces.py:185
+#: waeup/futminna/students/interfaces.py:229
+msgid "Qualification Obtained"
+msgstr ""
+
+#: waeup/futminna/applicants/interfaces.py:164
+#: waeup/futminna/students/interfaces.py:192
+#: waeup/futminna/students/interfaces.py:236
+msgid "Former Matric Number"
+msgstr ""
+
+#: waeup/futminna/applicants/interfaces.py:169
+#: waeup/futminna/students/interfaces.py:198
+#: waeup/futminna/students/interfaces.py:242
+msgid "Class of Degree"
+msgstr ""
+
+#: waeup/futminna/applicants/interfaces.py:175
+#: waeup/futminna/students/interfaces.py:205
+#: waeup/futminna/students/interfaces.py:249
+msgid "Institution Attended"
+msgstr ""
+
+#: waeup/futminna/applicants/interfaces.py:180
+#: waeup/futminna/students/interfaces.py:211
+#: waeup/futminna/students/interfaces.py:255
+msgid "Years Attended"
+msgstr ""
+
+#: waeup/futminna/applicants/interfaces.py:185
+#: waeup/futminna/students/interfaces.py:217
+#: waeup/futminna/students/interfaces.py:261
+msgid "Discipline"
+msgstr ""
+
+#: waeup/futminna/applicants/interfaces.py:201
+msgid "If yes, name of institution"
+msgstr ""
+
+#: waeup/futminna/applicants/interfaces.py:206
+#: waeup/futminna/students/interfaces.py:267
+msgid "Nysc Year"
+msgstr ""
+
+#: waeup/futminna/applicants/interfaces.py:212
+#: waeup/futminna/students/interfaces.py:274
+msgid "Nysc Location"
+msgstr ""
+
+#: waeup/futminna/applicants/interfaces.py:216
+#: waeup/futminna/students/interfaces.py:279
+msgid "Employer"
+msgstr ""
+
+#: waeup/futminna/applicants/interfaces.py:221
+#: waeup/futminna/students/interfaces.py:285
+msgid "Employer Position"
+msgstr ""
+
+#: waeup/futminna/applicants/interfaces.py:226
+#: waeup/futminna/applicants/interfaces.py:253
+#: waeup/futminna/students/interfaces.py:291
+#: waeup/futminna/students/interfaces.py:323
+msgid "Start Date"
+msgstr ""
+
+#: waeup/futminna/applicants/interfaces.py:232
+#: waeup/futminna/applicants/interfaces.py:259
+#: waeup/futminna/students/interfaces.py:298
+#: waeup/futminna/students/interfaces.py:329
+msgid "End Date"
+msgstr ""
+
+#: waeup/futminna/applicants/interfaces.py:238
+#: waeup/futminna/applicants/interfaces.py:265
+#: waeup/futminna/students/interfaces.py:305
+#: waeup/futminna/students/interfaces.py:336
+msgid "Reason for Leaving"
+msgstr ""
+
+#: waeup/futminna/applicants/interfaces.py:243
+#: waeup/futminna/students/interfaces.py:311
+msgid "2nd Employer"
+msgstr ""
+
+#: waeup/futminna/applicants/interfaces.py:248
+#: waeup/futminna/students/interfaces.py:317
+msgid "2nd Employer Position"
+msgstr ""
+
+#: waeup/futminna/applicants/interfaces.py:359
+msgid "Email Address"
+msgstr ""
+
+#: waeup/futminna/applicants/interfaces.py:364
+#: waeup/futminna/students/interfaces.py:69
+msgid "Date of Birth"
+msgstr ""
+
+#: waeup/futminna/applicants/interfaces.py:64
+#: waeup/futminna/applicants/interfaces.py:135
+#: waeup/futminna/students/interfaces.py:76
+msgid "Nationality"
+msgstr ""
+
+#: waeup/futminna/applicants/interfaces.py:69
+#: waeup/futminna/applicants/interfaces.py:140
+#: waeup/futminna/students/interfaces.py:82
+msgid "State/LGA (Nigerians only)"
+msgstr ""
+
+#: waeup/futminna/applicants/interfaces.py:73
+#: waeup/futminna/applicants/interfaces.py:144
+msgid "Permanent Address"
+msgstr ""
+
+#: waeup/futminna/applicants/interfaces.py:77
+#: waeup/futminna/applicants/interfaces.py:148
+msgid "1st Choice Course of Study"
+msgstr ""
+
+#: waeup/futminna/applicants/interfaces.py:82
+#: waeup/futminna/applicants/interfaces.py:153
+msgid "2nd Choice Course of Study"
+msgstr ""
+
+#: waeup/futminna/applicants/interfaces.py:87
+msgid "Subjects and Scores"
+msgstr ""
+
+#: waeup/futminna/applicants/interfaces.py:91
+msgid "Total Score"
+msgstr ""
+
+#: waeup/futminna/applicants/interfaces.py:95
+#: waeup/futminna/applicants/interfaces.py:270
+msgid "Notice"
+msgstr ""
+
+#: waeup/futminna/applicants/interfaces.py:99
+#: waeup/futminna/applicants/interfaces.py:275
+msgid "Screening Venue"
+msgstr ""
+
+#: waeup/futminna/applicants/utils.py:49
+msgid "Base Data"
+msgstr ""
+
+#: waeup/futminna/applicants/utils.py:50
+msgid "Programmes/Courses Desired"
+msgstr ""
+
+#: waeup/futminna/applicants/utils.py:51 waeup/futminna/students/utils.py:161
+msgid "Higher Education Record"
+msgstr ""
+
+#: waeup/futminna/applicants/utils.py:52
+msgid "Course or Programme Presently Attending"
+msgstr ""
+
+#: waeup/futminna/applicants/utils.py:53 waeup/futminna/students/utils.py:163
+msgid "NYSC Information"
+msgstr ""
+
+#: waeup/futminna/applicants/utils.py:54 waeup/futminna/students/utils.py:164
+msgid "Employment History"
+msgstr ""
+
+#: waeup/futminna/applicants/utils.py:55
+msgid "JAMB Data"
+msgstr ""
+
+#: waeup/futminna/applicants/utils.py:56
+msgid "Application Process Information"
+msgstr ""
+
+#: waeup/futminna/applicants/utils.py:57
+msgid "Post Primary School Qualification"
+msgstr ""
+
+#: waeup/futminna/applicants/utils.py:58
+msgid "Presently attending a course or programme"
+msgstr ""
+
+#: waeup/futminna/browser/theming.py:30
+#, fuzzy
+msgid "FUTMinna Theme"
+msgstr "Benutzerdefiniertes Thema 1"
+
+#: waeup/futminna/etranzact/browser.py:100
+#: waeup/futminna/etranzact/browser.py:108
+msgid "Query eTranzact History"
+msgstr ""
+
+#: waeup/futminna/etranzact/browser.py:119
+msgid "Submit to eTranzact"
+msgstr ""
+
+#: waeup/futminna/etranzact/browser.py:120
+msgid "Requery eTranzact History"
+msgstr ""
+
+#: waeup/futminna/etranzact/browser.py:139
+#: waeup/futminna/etranzact/browser.py:167
+#: waeup/futminna/interswitch/browser.py:410
+#: waeup/futminna/interswitch/browser.py:438
+msgid "This ticket has already been paid."
+msgstr ""
+
+#. Default: ""
+#: waeup/futminna/etranzact/browser.py:47
+msgid "Invalid or unsuccessful callback: ${a}"
+msgstr ""
+
+#. Default: ""
+#: waeup/futminna/etranzact/browser.py:55
+#: waeup/futminna/etranzact/browser.py:62
+#: waeup/futminna/interswitch/browser.py:95
+msgid "Invalid callback: ${a}"
+msgstr ""
+
+#: waeup/futminna/etranzact/browser.py:67
+msgid "eTranzact IOError"
+msgstr ""
+
+#: waeup/futminna/etranzact/browser.py:76
+msgid "Wrong amount"
+msgstr ""
+
+#: waeup/futminna/etranzact/browser.py:85
+msgid "Wrong transaction code"
+msgstr ""
+
+#: waeup/futminna/etranzact/browser.py:90
+#: waeup/futminna/interswitch/browser.py:120
+msgid "Successful callback received"
+msgstr ""
+
+#: waeup/futminna/interfaces.py:104
+msgid "Application Fee (fallback)"
+msgstr ""
+
+#: waeup/futminna/interfaces.py:110
+#, fuzzy
+msgid "Clearance Fee (ignored)"
+msgstr "Einschreibungsgebühr"
+
+#: waeup/futminna/interfaces.py:116
+msgid "Booking Fee"
+msgstr "Buchungsgebühr"
+
+#: waeup/futminna/interfaces.py:124
+#, fuzzy
+msgid "Maintenance Fee (ignored)"
+msgstr "Miete"
+
+#: waeup/futminna/interfaces.py:130
+msgid "Gown Fee"
+msgstr "Talar-Gebühr"
+
+#: waeup/futminna/interfaces.py:136
+msgid "Transfer Fee"
+msgstr "Studienfachwechselgebühr"
+
+#: waeup/futminna/interfaces.py:151
+msgid "Academic Session"
+msgstr "Akademisches Jahr"
+
+#. Default: ""
+#: waeup/futminna/interfaces.py:88
+msgid "Invalid key: ${a}"
+msgstr ""
+
+#: waeup/futminna/interfaces.py:98
+msgid "School Fee (ignored)"
+msgstr "Schulgebühr (wird nicht verwendet)"
+
+#. Default: ""
+#: waeup/futminna/interswitch/browser.py:104
+msgid "Unsuccessful callback: ${a}"
+msgstr ""
+
+#: waeup/futminna/interswitch/browser.py:109
+msgid "Callback amount does not match."
+msgstr ""
+
+#: waeup/futminna/interswitch/browser.py:114
+msgid "Callback transaction id does not match."
+msgstr ""
+
+#: waeup/futminna/interswitch/browser.py:129
+#: waeup/futminna/interswitch/browser.py:143
+msgid "CollegePAY"
+msgstr "CollegePAY"
+
+#: waeup/futminna/interswitch/browser.py:175
+#: waeup/futminna/interswitch/browser.py:183
+#, fuzzy
+msgid "Requery CollegePAY"
+msgstr "CollegePAY"
+
+#: waeup/futminna/interswitch/browser.py:195
+#: waeup/futminna/interswitch/browser.py:292
+msgid "Submit data to CollegePAY (Interswitch Payment Gateway)"
+msgstr "Daten an CollegePAY (Interswitch Payment Gateway) senden"
+
+#: waeup/futminna/interswitch/browser.py:196
+#: waeup/futminna/interswitch/browser.py:293
+msgid "Submit"
+msgstr "Senden"
+
+#: waeup/futminna/interswitch/browser.py:206
+#: waeup/futminna/interswitch/browser.py:302
+msgid "Payment ticket can't be re-send to CollegePAY."
+msgstr "Bewertete Bezahl-Tickets können nicht erneut gesendet werden."
+
+#: waeup/futminna/payments/interfaces.py:29
+msgid "Activation Code"
+msgstr ""
+
+#: waeup/futminna/payments/interfaces.py:36
+msgid "Response Amount Approved"
+msgstr ""
+
+#: waeup/futminna/payments/interfaces.py:43
+msgid "Response Code"
+msgstr ""
+
+#: waeup/futminna/payments/interfaces.py:50
+msgid "Response Description"
+msgstr ""
+
+#: waeup/futminna/payments/interfaces.py:59
+msgid "Response Payment Reference"
+msgstr ""
+
+#: waeup/futminna/payments/interfaces.py:66
+msgid "Response Card Number"
+msgstr ""
+
+#: waeup/futminna/students/browser.py:150
+msgid "No birth certificate uploaded."
+msgstr ""
+
+#: waeup/futminna/students/browser.py:152
+msgid "No referee letter uploaded."
+msgstr ""
+
+#: waeup/futminna/students/browser.py:154
+msgid "No acceptance letter uploaded."
+msgstr ""
+
+#: waeup/futminna/students/browser.py:156
+msgid "No first sitting result uploaded."
+msgstr ""
+
+#: waeup/futminna/students/interfaces.py:104
+#: waeup/futminna/students/interfaces.py:137
+#: waeup/futminna/students/interfaces.py:170
+msgid "Exam Date"
+msgstr ""
+
+#: waeup/futminna/students/interfaces.py:111
+#: waeup/futminna/students/interfaces.py:144
+msgid "Exam Type"
+msgstr ""
+
+#: waeup/futminna/students/interfaces.py:118
+#: waeup/futminna/students/interfaces.py:151
+#: waeup/futminna/students/interfaces.py:177
+msgid "Exam Results"
+msgstr ""
+
+#: waeup/futminna/students/interfaces.py:342
+msgid "If yes, matric number"
+msgstr ""
+
+#: waeup/futminna/students/interfaces.py:372
+msgid "Payment Level"
+msgstr ""
+
+#: waeup/futminna/students/interfaces.py:399
+msgid "Matriculation Number"
+msgstr ""
+
+#: waeup/futminna/students/interfaces.py:44
+#: waeup/futminna/students/interfaces.py:390
+msgid "Registration Number"
+msgstr ""
+
+#: waeup/futminna/students/interfaces.py:60
+msgid "Unmarried"
+msgstr ""
+
+#: waeup/futminna/students/interfaces.py:61
+msgid "Married"
+msgstr ""
+
+#: waeup/futminna/students/interfaces.py:87
+msgid "Deferent of Admission"
+msgstr ""
+
+#: waeup/futminna/students/interfaces.py:93
+#: waeup/futminna/students/interfaces.py:126
+#: waeup/futminna/students/interfaces.py:159
+msgid "Full Name"
+msgstr ""
+
+#: waeup/futminna/students/interfaces.py:98
+#: waeup/futminna/students/interfaces.py:131
+#: waeup/futminna/students/interfaces.py:164
+msgid "Exam Number"
+msgstr ""
+
+#: waeup/futminna/students/utils.py:108
+msgid "Amount could not be determined."
+msgstr "Betrag konnte nicht ermittelt werden."
+
+#: waeup/futminna/students/utils.py:115
+msgid "This type of payment has already been made."
+msgstr ""
+
+#: waeup/futminna/students/utils.py:158
+msgid "First Sitting Record"
+msgstr ""
+
+#: waeup/futminna/students/utils.py:159
+msgid "Second Sitting Record"
+msgstr ""
+
+#: waeup/futminna/students/utils.py:160
+msgid "Advanced Level Record"
+msgstr ""
+
+#: waeup/futminna/students/utils.py:162
+msgid "Second Higher Education Record"
+msgstr ""
+
+#: waeup/futminna/students/utils.py:165
+msgid "Former FUTMinna Student"
+msgstr ""
+
+#: waeup/futminna/students/utils.py:69
+msgid "Session configuration object is not available."
+msgstr "Session-Konfiguration ist nicht verfügbar."
+
+#: waeup/futminna/students/utils.py:82 waeup/futminna/students/utils.py:93
+msgid "Study course data are incomplete."
+msgstr ""
+
+#: waeup/futminna/students/viewlets.py:100
+msgid "Second Sitting Result Scan"
+msgstr ""
+
+#: waeup/futminna/students/viewlets.py:116
+#: waeup/futminna/students/viewlets.py:117
+#: waeup/futminna/students/viewlets.py:127
+msgid "Higher Qualification Result"
+msgstr ""
+
+#: waeup/futminna/students/viewlets.py:128
+msgid "Higher Qualification Result Scan"
+msgstr ""
+
+#: waeup/futminna/students/viewlets.py:144
+#: waeup/futminna/students/viewlets.py:145
+#: waeup/futminna/students/viewlets.py:155
+msgid "Second Higher Qualification Result"
+msgstr ""
+
+#: waeup/futminna/students/viewlets.py:156
+msgid "Second Higher Qualification Result Scan"
+msgstr ""
+
+#: waeup/futminna/students/viewlets.py:179
+#: waeup/futminna/students/viewlets.py:180
+#: waeup/futminna/students/viewlets.py:190
+msgid "Advanced Level Result"
+msgstr ""
+
+#: waeup/futminna/students/viewlets.py:191
+msgid "Advanced Level Result Scan"
+msgstr ""
+
+#: waeup/futminna/students/viewlets.py:207
+#: waeup/futminna/students/viewlets.py:208
+#: waeup/futminna/students/viewlets.py:218
+msgid "Certificate"
+msgstr ""
+
+#: waeup/futminna/students/viewlets.py:219
+msgid "Certificate Scan"
+msgstr ""
+
+#: waeup/futminna/students/viewlets.py:235
+#: waeup/futminna/students/viewlets.py:236
+#: waeup/futminna/students/viewlets.py:246
+msgid "Second Certificate"
+msgstr ""
+
+#: waeup/futminna/students/viewlets.py:247
+msgid "Second Certificate Scan"
+msgstr ""
+
+#: waeup/futminna/students/viewlets.py:270
+#: waeup/futminna/students/viewlets.py:271
+#: waeup/futminna/students/viewlets.py:281
+msgid "Third Certificate"
+msgstr ""
+
+#: waeup/futminna/students/viewlets.py:282
+msgid "Third Certificate Scan"
+msgstr ""
+
+#: waeup/futminna/students/viewlets.py:305
+#: waeup/futminna/students/viewlets.py:306
+#: waeup/futminna/students/viewlets.py:316
+msgid "Evidence of Name"
+msgstr ""
+
+#: waeup/futminna/students/viewlets.py:317
+msgid "Evidence of Name Scan"
+msgstr ""
+
+#: waeup/futminna/students/viewlets.py:32
+#: waeup/futminna/students/viewlets.py:43
+msgid "LGA Identification"
+msgstr ""
+
+#: waeup/futminna/students/viewlets.py:33
+#: waeup/futminna/students/viewlets.py:44
+msgid "LGA Identification Scan"
+msgstr ""
+
+#: waeup/futminna/students/viewlets.py:333
+#: waeup/futminna/students/viewlets.py:334
+#: waeup/futminna/students/viewlets.py:344
+msgid "Result Statement"
+msgstr ""
+
+#: waeup/futminna/students/viewlets.py:345
+msgid "Result Statement Scan"
+msgstr ""
+
+#: waeup/futminna/students/viewlets.py:361
+#: waeup/futminna/students/viewlets.py:362
+#: waeup/futminna/students/viewlets.py:372
+msgid "Referee Letter"
+msgstr ""
+
+#: waeup/futminna/students/viewlets.py:373
+msgid "Referee Letter Scan"
+msgstr ""
+
+#: waeup/futminna/students/viewlets.py:389
+#: waeup/futminna/students/viewlets.py:390
+#: waeup/futminna/students/viewlets.py:400
+msgid "Second Referee Letter"
+msgstr ""
+
+#: waeup/futminna/students/viewlets.py:401
+msgid "Second Referee Letter Scan"
+msgstr ""
+
+#: waeup/futminna/students/viewlets.py:424
+#: waeup/futminna/students/viewlets.py:425
+#: waeup/futminna/students/viewlets.py:435
+msgid "Third Referee Letter"
+msgstr ""
+
+#: waeup/futminna/students/viewlets.py:436
+msgid "Third Referee Letter Scan"
+msgstr ""
+
+#: waeup/futminna/students/viewlets.py:459
+#: waeup/futminna/students/viewlets.py:460
+#: waeup/futminna/students/viewlets.py:470
+msgid "Statutory Declaration of Good Conduct"
+msgstr ""
+
+#: waeup/futminna/students/viewlets.py:471
+msgid "Statutory Declaration of Good Conduct Scan"
+msgstr ""
+
+#: waeup/futminna/students/viewlets.py:487
+#: waeup/futminna/students/viewlets.py:488
+#: waeup/futminna/students/viewlets.py:498
+msgid "Letter of Admission"
+msgstr ""
+
+#: waeup/futminna/students/viewlets.py:499
+msgid "Letter of Admission Scan"
+msgstr ""
+
+#: waeup/futminna/students/viewlets.py:60
+#: waeup/futminna/students/viewlets.py:61
+#: waeup/futminna/students/viewlets.py:71
+msgid "First Sitting Result"
+msgstr ""
+
+#: waeup/futminna/students/viewlets.py:72
+msgid "First Sitting Result Scan"
+msgstr ""
+
+#: waeup/futminna/students/viewlets.py:88
+#: waeup/futminna/students/viewlets.py:89
+#: waeup/futminna/students/viewlets.py:99
+msgid "Second Sitting Result"
+msgstr ""
+
+#: waeup/futminna/utils/utils.py:26
+msgid "Nigeria"
+msgstr ""
+
+#: waeup/futminna/utils/utils.py:27
+msgid "Germany"
+msgstr ""
+
+#: waeup/futminna/utils/utils.py:28
+msgid "United States"
+msgstr ""
+
+#: waeup/futminna/utils/utils.py:29
+msgid "Niger"
+msgstr ""
+
+#: waeup/futminna/utils/utils.py:30
+msgid "Benin"
+msgstr ""
+
+#: waeup/futminna/utils/utils.py:31
+msgid "Cameroon"
+msgstr ""
+
+#: waeup/futminna/utils/utils.py:32
+msgid "United Kingdom"
+msgstr ""
+
+#: waeup/futminna/utils/utils.py:33
+msgid "France"
+msgstr ""
+
+#~ msgid "Postgraduates"
+#~ msgstr "Postgraduierte"
+
+#~ msgid "handles postgraduate applicants"
+#~ msgstr "für Antragsteller von Postgraduierten-Studiengängen"
+
+#~ msgid "Surcharge Portal Provider"
+#~ msgstr "Gebühr Portal-Provider"
+
+#~ msgid "Surcharge Interswitch"
+#~ msgstr "Gebühr Interswitch"
+
+#~ msgid "Surcharge 3"
+#~ msgstr "Gebühr 3"
+
+#~ msgid "Acceptance Fee"
+#~ msgstr "Zulassungsgebühr"
+
+#~ msgid "Request CollegePAY callback"
+#~ msgstr "CollegePAY Rückruf"
Index: /main/waeup.futminna/tags/1.1/src/waeup/futminna/locales/en/LC_MESSAGES/waeup.futminna.po
===================================================================
--- /main/waeup.futminna/tags/1.1/src/waeup/futminna/locales/en/LC_MESSAGES/waeup.futminna.po	(revision 11490)
+++ /main/waeup.futminna/tags/1.1/src/waeup/futminna/locales/en/LC_MESSAGES/waeup.futminna.po	(revision 11490)
@@ -0,0 +1,702 @@
+# #############################################################################
+#
+# Copyright (c) 2003-2004 Zope Corporation and Contributors.
+# All Rights Reserved.
+#
+# This software is subject to the provisions of the Zope Public License,
+# Version 2.1 (ZPL).  A copy of the ZPL should accompany this distribution.
+# THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED
+# WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
+# WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS
+# FOR A PARTICULAR PURPOSE.
+#
+# #############################################################################
+msgid ""
+msgstr ""
+"Project-Id-Version: Development/Unknown\n"
+"POT-Creation-Date: Sun Jun  3 19:34:05 2012\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: Zope 3 Developers <zope3-dev@zope.org>\n"
+"Language: \n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Generated-By: zope/app/locales/extract.py\n"
+
+#. Default: ""
+#: waeup/futminna/applicants/browser.py:183
+#: waeup/futminna/students/browser.py:207
+msgid ""
+"<br /><br /><br />\n"
+"The tranzaction code is <strong>${a}</strong>."
+msgstr ""
+
+#: waeup/futminna/applicants/browser.py:71
+msgid "<br /><br /><br />Comfirm your exam venue 72 hours to the exam."
+msgstr ""
+
+#: waeup/futminna/applicants/interfaces.py:103
+#: waeup/futminna/applicants/interfaces.py:280
+msgid "Screening Date"
+msgstr ""
+
+#: waeup/futminna/applicants/interfaces.py:107
+#: waeup/futminna/applicants/interfaces.py:284
+msgid "Screening Score"
+msgstr ""
+
+#: waeup/futminna/applicants/interfaces.py:111
+#: waeup/futminna/applicants/interfaces.py:289
+msgid "Student Id"
+msgstr ""
+
+#: waeup/futminna/applicants/interfaces.py:116
+#: waeup/futminna/applicants/interfaces.py:294
+msgid "Admitted Course of Study"
+msgstr ""
+
+#: waeup/futminna/applicants/interfaces.py:121
+#: waeup/futminna/applicants/interfaces.py:300
+msgid "Form locked"
+msgstr ""
+
+#: waeup/futminna/applicants/interfaces.py:158
+#: waeup/futminna/applicants/interfaces.py:190
+#: waeup/futminna/students/interfaces.py:185
+#: waeup/futminna/students/interfaces.py:229
+msgid "Qualification Obtained"
+msgstr ""
+
+#: waeup/futminna/applicants/interfaces.py:164
+#: waeup/futminna/students/interfaces.py:192
+#: waeup/futminna/students/interfaces.py:236
+msgid "Former Matric Number"
+msgstr ""
+
+#: waeup/futminna/applicants/interfaces.py:169
+#: waeup/futminna/students/interfaces.py:198
+#: waeup/futminna/students/interfaces.py:242
+msgid "Class of Degree"
+msgstr ""
+
+#: waeup/futminna/applicants/interfaces.py:175
+#: waeup/futminna/students/interfaces.py:205
+#: waeup/futminna/students/interfaces.py:249
+msgid "Institution Attended"
+msgstr ""
+
+#: waeup/futminna/applicants/interfaces.py:180
+#: waeup/futminna/students/interfaces.py:211
+#: waeup/futminna/students/interfaces.py:255
+msgid "Years Attended"
+msgstr ""
+
+#: waeup/futminna/applicants/interfaces.py:185
+#: waeup/futminna/students/interfaces.py:217
+#: waeup/futminna/students/interfaces.py:261
+msgid "Discipline"
+msgstr ""
+
+#: waeup/futminna/applicants/interfaces.py:201
+msgid "If yes, name of institution"
+msgstr ""
+
+#: waeup/futminna/applicants/interfaces.py:206
+#: waeup/futminna/students/interfaces.py:267
+msgid "Nysc Year"
+msgstr ""
+
+#: waeup/futminna/applicants/interfaces.py:212
+#: waeup/futminna/students/interfaces.py:274
+msgid "Nysc Location"
+msgstr ""
+
+#: waeup/futminna/applicants/interfaces.py:216
+#: waeup/futminna/students/interfaces.py:279
+msgid "Employer"
+msgstr ""
+
+#: waeup/futminna/applicants/interfaces.py:221
+#: waeup/futminna/students/interfaces.py:285
+msgid "Employer Position"
+msgstr ""
+
+#: waeup/futminna/applicants/interfaces.py:226
+#: waeup/futminna/applicants/interfaces.py:253
+#: waeup/futminna/students/interfaces.py:291
+#: waeup/futminna/students/interfaces.py:323
+msgid "Start Date"
+msgstr ""
+
+#: waeup/futminna/applicants/interfaces.py:232
+#: waeup/futminna/applicants/interfaces.py:259
+#: waeup/futminna/students/interfaces.py:298
+#: waeup/futminna/students/interfaces.py:329
+msgid "End Date"
+msgstr ""
+
+#: waeup/futminna/applicants/interfaces.py:238
+#: waeup/futminna/applicants/interfaces.py:265
+#: waeup/futminna/students/interfaces.py:305
+#: waeup/futminna/students/interfaces.py:336
+msgid "Reason for Leaving"
+msgstr ""
+
+#: waeup/futminna/applicants/interfaces.py:243
+#: waeup/futminna/students/interfaces.py:311
+msgid "2nd Employer"
+msgstr ""
+
+#: waeup/futminna/applicants/interfaces.py:248
+#: waeup/futminna/students/interfaces.py:317
+msgid "2nd Employer Position"
+msgstr ""
+
+#: waeup/futminna/applicants/interfaces.py:359
+msgid "Email Address"
+msgstr ""
+
+#: waeup/futminna/applicants/interfaces.py:364
+#: waeup/futminna/students/interfaces.py:69
+msgid "Date of Birth"
+msgstr ""
+
+#: waeup/futminna/applicants/interfaces.py:64
+#: waeup/futminna/applicants/interfaces.py:135
+#: waeup/futminna/students/interfaces.py:76
+msgid "Nationality"
+msgstr ""
+
+#: waeup/futminna/applicants/interfaces.py:69
+#: waeup/futminna/applicants/interfaces.py:140
+#: waeup/futminna/students/interfaces.py:82
+msgid "State/LGA (Nigerians only)"
+msgstr ""
+
+#: waeup/futminna/applicants/interfaces.py:73
+#: waeup/futminna/applicants/interfaces.py:144
+msgid "Permanent Address"
+msgstr ""
+
+#: waeup/futminna/applicants/interfaces.py:77
+#: waeup/futminna/applicants/interfaces.py:148
+msgid "1st Choice Course of Study"
+msgstr ""
+
+#: waeup/futminna/applicants/interfaces.py:82
+#: waeup/futminna/applicants/interfaces.py:153
+msgid "2nd Choice Course of Study"
+msgstr ""
+
+#: waeup/futminna/applicants/interfaces.py:87
+msgid "Subjects and Scores"
+msgstr ""
+
+#: waeup/futminna/applicants/interfaces.py:91
+msgid "Total Score"
+msgstr ""
+
+#: waeup/futminna/applicants/interfaces.py:95
+#: waeup/futminna/applicants/interfaces.py:270
+msgid "Notice"
+msgstr ""
+
+#: waeup/futminna/applicants/interfaces.py:99
+#: waeup/futminna/applicants/interfaces.py:275
+msgid "Screening Venue"
+msgstr ""
+
+#: waeup/futminna/applicants/utils.py:49
+msgid "Base Data"
+msgstr ""
+
+#: waeup/futminna/applicants/utils.py:50
+msgid "Programmes/Courses Desired"
+msgstr ""
+
+#: waeup/futminna/applicants/utils.py:51 waeup/futminna/students/utils.py:161
+msgid "Higher Education Record"
+msgstr ""
+
+#: waeup/futminna/applicants/utils.py:52
+msgid "Course or Programme Presently Attending"
+msgstr ""
+
+#: waeup/futminna/applicants/utils.py:53 waeup/futminna/students/utils.py:163
+msgid "NYSC Information"
+msgstr ""
+
+#: waeup/futminna/applicants/utils.py:54 waeup/futminna/students/utils.py:164
+msgid "Employment History"
+msgstr ""
+
+#: waeup/futminna/applicants/utils.py:55
+msgid "JAMB Data"
+msgstr ""
+
+#: waeup/futminna/applicants/utils.py:56
+msgid "Application Process Information"
+msgstr ""
+
+#: waeup/futminna/applicants/utils.py:57
+msgid "Post Primary School Qualification"
+msgstr ""
+
+#: waeup/futminna/applicants/utils.py:58
+msgid "Presently attending a course or programme"
+msgstr ""
+
+#: waeup/futminna/browser/theming.py:30
+msgid "FUTMinna Theme"
+msgstr ""
+
+#: waeup/futminna/etranzact/browser.py:100
+#: waeup/futminna/etranzact/browser.py:108
+msgid "Query eTranzact History"
+msgstr ""
+
+#: waeup/futminna/etranzact/browser.py:119
+msgid "Submit to eTranzact"
+msgstr ""
+
+#: waeup/futminna/etranzact/browser.py:120
+msgid "Requery eTranzact History"
+msgstr ""
+
+#: waeup/futminna/etranzact/browser.py:139
+#: waeup/futminna/etranzact/browser.py:167
+#: waeup/futminna/interswitch/browser.py:410
+#: waeup/futminna/interswitch/browser.py:438
+msgid "This ticket has already been paid."
+msgstr ""
+
+#. Default: ""
+#: waeup/futminna/etranzact/browser.py:47
+msgid "Invalid or unsuccessful callback: ${a}"
+msgstr ""
+
+#. Default: ""
+#: waeup/futminna/etranzact/browser.py:55
+#: waeup/futminna/etranzact/browser.py:62
+#: waeup/futminna/interswitch/browser.py:95
+msgid "Invalid callback: ${a}"
+msgstr ""
+
+#: waeup/futminna/etranzact/browser.py:67
+msgid "eTranzact IOError"
+msgstr ""
+
+#: waeup/futminna/etranzact/browser.py:76
+msgid "Wrong amount"
+msgstr ""
+
+#: waeup/futminna/etranzact/browser.py:85
+msgid "Wrong transaction code"
+msgstr ""
+
+#: waeup/futminna/etranzact/browser.py:90
+#: waeup/futminna/interswitch/browser.py:120
+msgid "Successful callback received"
+msgstr ""
+
+#: waeup/futminna/interfaces.py:104
+msgid "Application Fee (fallback)"
+msgstr ""
+
+#: waeup/futminna/interfaces.py:110
+msgid "Clearance Fee (ignored)"
+msgstr ""
+
+#: waeup/futminna/interfaces.py:116
+msgid "Booking Fee"
+msgstr ""
+
+#: waeup/futminna/interfaces.py:124
+msgid "Maintenance Fee (ignored)"
+msgstr ""
+
+#: waeup/futminna/interfaces.py:130
+msgid "Gown Fee"
+msgstr ""
+
+#: waeup/futminna/interfaces.py:136
+msgid "Transfer Fee"
+msgstr ""
+
+#: waeup/futminna/interfaces.py:151
+msgid "Academic Session"
+msgstr ""
+
+#. Default: ""
+#: waeup/futminna/interfaces.py:88
+msgid "Invalid key: ${a}"
+msgstr ""
+
+#: waeup/futminna/interfaces.py:98
+msgid "School Fee (ignored)"
+msgstr ""
+
+#. Default: ""
+#: waeup/futminna/interswitch/browser.py:104
+msgid "Unsuccessful callback: ${a}"
+msgstr ""
+
+#: waeup/futminna/interswitch/browser.py:109
+msgid "Callback amount does not match."
+msgstr ""
+
+#: waeup/futminna/interswitch/browser.py:114
+msgid "Callback transaction id does not match."
+msgstr ""
+
+#: waeup/futminna/interswitch/browser.py:129
+#: waeup/futminna/interswitch/browser.py:143
+msgid "CollegePAY"
+msgstr ""
+
+#: waeup/futminna/interswitch/browser.py:175
+#: waeup/futminna/interswitch/browser.py:183
+msgid "Requery CollegePAY"
+msgstr ""
+
+#: waeup/futminna/interswitch/browser.py:195
+#: waeup/futminna/interswitch/browser.py:292
+msgid "Submit data to CollegePAY (Interswitch Payment Gateway)"
+msgstr ""
+
+#: waeup/futminna/interswitch/browser.py:196
+#: waeup/futminna/interswitch/browser.py:293
+msgid "Submit"
+msgstr ""
+
+#: waeup/futminna/interswitch/browser.py:206
+#: waeup/futminna/interswitch/browser.py:302
+msgid "Payment ticket can't be re-send to CollegePAY."
+msgstr ""
+
+#: waeup/futminna/payments/interfaces.py:29
+msgid "Activation Code"
+msgstr ""
+
+#: waeup/futminna/payments/interfaces.py:36
+msgid "Response Amount Approved"
+msgstr ""
+
+#: waeup/futminna/payments/interfaces.py:43
+msgid "Response Code"
+msgstr ""
+
+#: waeup/futminna/payments/interfaces.py:50
+msgid "Response Description"
+msgstr ""
+
+#: waeup/futminna/payments/interfaces.py:59
+msgid "Response Payment Reference"
+msgstr ""
+
+#: waeup/futminna/payments/interfaces.py:66
+msgid "Response Card Number"
+msgstr ""
+
+#: waeup/futminna/students/browser.py:150
+msgid "No birth certificate uploaded."
+msgstr ""
+
+#: waeup/futminna/students/browser.py:152
+msgid "No referee letter uploaded."
+msgstr ""
+
+#: waeup/futminna/students/browser.py:154
+msgid "No acceptance letter uploaded."
+msgstr ""
+
+#: waeup/futminna/students/browser.py:156
+msgid "No first sitting result uploaded."
+msgstr ""
+
+#: waeup/futminna/students/interfaces.py:104
+#: waeup/futminna/students/interfaces.py:137
+#: waeup/futminna/students/interfaces.py:170
+msgid "Exam Date"
+msgstr ""
+
+#: waeup/futminna/students/interfaces.py:111
+#: waeup/futminna/students/interfaces.py:144
+msgid "Exam Type"
+msgstr ""
+
+#: waeup/futminna/students/interfaces.py:118
+#: waeup/futminna/students/interfaces.py:151
+#: waeup/futminna/students/interfaces.py:177
+msgid "Exam Results"
+msgstr ""
+
+#: waeup/futminna/students/interfaces.py:342
+msgid "If yes, matric number"
+msgstr ""
+
+#: waeup/futminna/students/interfaces.py:372
+msgid "Payment Level"
+msgstr ""
+
+#: waeup/futminna/students/interfaces.py:399
+msgid "Matriculation Number"
+msgstr ""
+
+#: waeup/futminna/students/interfaces.py:44
+#: waeup/futminna/students/interfaces.py:390
+msgid "Registration Number"
+msgstr ""
+
+#: waeup/futminna/students/interfaces.py:60
+msgid "Unmarried"
+msgstr ""
+
+#: waeup/futminna/students/interfaces.py:61
+msgid "Married"
+msgstr ""
+
+#: waeup/futminna/students/interfaces.py:87
+msgid "Deferent of Admission"
+msgstr ""
+
+#: waeup/futminna/students/interfaces.py:93
+#: waeup/futminna/students/interfaces.py:126
+#: waeup/futminna/students/interfaces.py:159
+msgid "Full Name"
+msgstr ""
+
+#: waeup/futminna/students/interfaces.py:98
+#: waeup/futminna/students/interfaces.py:131
+#: waeup/futminna/students/interfaces.py:164
+msgid "Exam Number"
+msgstr ""
+
+#: waeup/futminna/students/utils.py:108
+msgid "Amount could not be determined."
+msgstr ""
+
+#: waeup/futminna/students/utils.py:115
+msgid "This type of payment has already been made."
+msgstr ""
+
+#: waeup/futminna/students/utils.py:158
+msgid "First Sitting Record"
+msgstr ""
+
+#: waeup/futminna/students/utils.py:159
+msgid "Second Sitting Record"
+msgstr ""
+
+#: waeup/futminna/students/utils.py:160
+msgid "Advanced Level Record"
+msgstr ""
+
+#: waeup/futminna/students/utils.py:162
+msgid "Second Higher Education Record"
+msgstr ""
+
+#: waeup/futminna/students/utils.py:165
+msgid "Former FUTMinna Student"
+msgstr ""
+
+#: waeup/futminna/students/utils.py:69
+msgid "Session configuration object is not available."
+msgstr ""
+
+#: waeup/futminna/students/utils.py:82 waeup/futminna/students/utils.py:93
+msgid "Study course data are incomplete."
+msgstr ""
+
+#: waeup/futminna/students/viewlets.py:100
+msgid "Second Sitting Result Scan"
+msgstr ""
+
+#: waeup/futminna/students/viewlets.py:116
+#: waeup/futminna/students/viewlets.py:117
+#: waeup/futminna/students/viewlets.py:127
+msgid "Higher Qualification Result"
+msgstr ""
+
+#: waeup/futminna/students/viewlets.py:128
+msgid "Higher Qualification Result Scan"
+msgstr ""
+
+#: waeup/futminna/students/viewlets.py:144
+#: waeup/futminna/students/viewlets.py:145
+#: waeup/futminna/students/viewlets.py:155
+msgid "Second Higher Qualification Result"
+msgstr ""
+
+#: waeup/futminna/students/viewlets.py:156
+msgid "Second Higher Qualification Result Scan"
+msgstr ""
+
+#: waeup/futminna/students/viewlets.py:179
+#: waeup/futminna/students/viewlets.py:180
+#: waeup/futminna/students/viewlets.py:190
+msgid "Advanced Level Result"
+msgstr ""
+
+#: waeup/futminna/students/viewlets.py:191
+msgid "Advanced Level Result Scan"
+msgstr ""
+
+#: waeup/futminna/students/viewlets.py:207
+#: waeup/futminna/students/viewlets.py:208
+#: waeup/futminna/students/viewlets.py:218
+msgid "Certificate"
+msgstr ""
+
+#: waeup/futminna/students/viewlets.py:219
+msgid "Certificate Scan"
+msgstr ""
+
+#: waeup/futminna/students/viewlets.py:235
+#: waeup/futminna/students/viewlets.py:236
+#: waeup/futminna/students/viewlets.py:246
+msgid "Second Certificate"
+msgstr ""
+
+#: waeup/futminna/students/viewlets.py:247
+msgid "Second Certificate Scan"
+msgstr ""
+
+#: waeup/futminna/students/viewlets.py:270
+#: waeup/futminna/students/viewlets.py:271
+#: waeup/futminna/students/viewlets.py:281
+msgid "Third Certificate"
+msgstr ""
+
+#: waeup/futminna/students/viewlets.py:282
+msgid "Third Certificate Scan"
+msgstr ""
+
+#: waeup/futminna/students/viewlets.py:305
+#: waeup/futminna/students/viewlets.py:306
+#: waeup/futminna/students/viewlets.py:316
+msgid "Evidence of Name"
+msgstr ""
+
+#: waeup/futminna/students/viewlets.py:317
+msgid "Evidence of Name Scan"
+msgstr ""
+
+#: waeup/futminna/students/viewlets.py:32
+#: waeup/futminna/students/viewlets.py:43
+msgid "LGA Identification"
+msgstr ""
+
+#: waeup/futminna/students/viewlets.py:33
+#: waeup/futminna/students/viewlets.py:44
+msgid "LGA Identification Scan"
+msgstr ""
+
+#: waeup/futminna/students/viewlets.py:333
+#: waeup/futminna/students/viewlets.py:334
+#: waeup/futminna/students/viewlets.py:344
+msgid "Result Statement"
+msgstr ""
+
+#: waeup/futminna/students/viewlets.py:345
+msgid "Result Statement Scan"
+msgstr ""
+
+#: waeup/futminna/students/viewlets.py:361
+#: waeup/futminna/students/viewlets.py:362
+#: waeup/futminna/students/viewlets.py:372
+msgid "Referee Letter"
+msgstr ""
+
+#: waeup/futminna/students/viewlets.py:373
+msgid "Referee Letter Scan"
+msgstr ""
+
+#: waeup/futminna/students/viewlets.py:389
+#: waeup/futminna/students/viewlets.py:390
+#: waeup/futminna/students/viewlets.py:400
+msgid "Second Referee Letter"
+msgstr ""
+
+#: waeup/futminna/students/viewlets.py:401
+msgid "Second Referee Letter Scan"
+msgstr ""
+
+#: waeup/futminna/students/viewlets.py:424
+#: waeup/futminna/students/viewlets.py:425
+#: waeup/futminna/students/viewlets.py:435
+msgid "Third Referee Letter"
+msgstr ""
+
+#: waeup/futminna/students/viewlets.py:436
+msgid "Third Referee Letter Scan"
+msgstr ""
+
+#: waeup/futminna/students/viewlets.py:459
+#: waeup/futminna/students/viewlets.py:460
+#: waeup/futminna/students/viewlets.py:470
+msgid "Statutory Declaration of Good Conduct"
+msgstr ""
+
+#: waeup/futminna/students/viewlets.py:471
+msgid "Statutory Declaration of Good Conduct Scan"
+msgstr ""
+
+#: waeup/futminna/students/viewlets.py:487
+#: waeup/futminna/students/viewlets.py:488
+#: waeup/futminna/students/viewlets.py:498
+msgid "Letter of Admission"
+msgstr ""
+
+#: waeup/futminna/students/viewlets.py:499
+msgid "Letter of Admission Scan"
+msgstr ""
+
+#: waeup/futminna/students/viewlets.py:60
+#: waeup/futminna/students/viewlets.py:61
+#: waeup/futminna/students/viewlets.py:71
+msgid "First Sitting Result"
+msgstr ""
+
+#: waeup/futminna/students/viewlets.py:72
+msgid "First Sitting Result Scan"
+msgstr ""
+
+#: waeup/futminna/students/viewlets.py:88
+#: waeup/futminna/students/viewlets.py:89
+#: waeup/futminna/students/viewlets.py:99
+msgid "Second Sitting Result"
+msgstr ""
+
+#: waeup/futminna/utils/utils.py:26
+msgid "Nigeria"
+msgstr ""
+
+#: waeup/futminna/utils/utils.py:27
+msgid "Germany"
+msgstr ""
+
+#: waeup/futminna/utils/utils.py:28
+msgid "United States"
+msgstr ""
+
+#: waeup/futminna/utils/utils.py:29
+msgid "Niger"
+msgstr ""
+
+#: waeup/futminna/utils/utils.py:30
+msgid "Benin"
+msgstr ""
+
+#: waeup/futminna/utils/utils.py:31
+msgid "Cameroon"
+msgstr ""
+
+#: waeup/futminna/utils/utils.py:32
+msgid "United Kingdom"
+msgstr ""
+
+#: waeup/futminna/utils/utils.py:33
+msgid "France"
+msgstr ""
Index: /main/waeup.futminna/tags/1.1/src/waeup/futminna/locales/en/LC_MESSAGES/waeup.kofa.po
===================================================================
--- /main/waeup.futminna/tags/1.1/src/waeup/futminna/locales/en/LC_MESSAGES/waeup.kofa.po	(revision 11490)
+++ /main/waeup.futminna/tags/1.1/src/waeup/futminna/locales/en/LC_MESSAGES/waeup.kofa.po	(revision 11490)
@@ -0,0 +1,25 @@
+msgid ""
+msgstr ""
+"Project-Id-Version: \n"
+"POT-Creation-Date: \n"
+"PO-Revision-Date: \n"
+"Last-Translator: Henrik Bettermann <henrik@waeup.org>\n"
+"Language-Team: \n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=iso-8859-1\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: waeup/kofa/applicants/viewlets.py:137
+msgid "Edit application record"
+msgstr "Application record"
+
+#. Default: "Don't forget to logout or exit your browser when you're done. If you are having trouble logging in, make sure to enable cookies in your web browser."
+msgid "login_trouble1"
+msgstr "<strong>Notice:</strong> All student ids now start with 'M'. If your data have been migrated from the old portal just put 'M' in front of your old id. Example: B123456 becomes MB123456"
+
+msgid "Custom Textline 1 (not used)"
+msgstr "JAMB Subject Combination"
+
+msgid "Custom Float 1 (not used)"
+msgstr "JAMB Min. Score"
+
Index: /main/waeup.futminna/tags/1.1/src/waeup/futminna/locales/fr/LC_MESSAGES/waeup.futminna.po
===================================================================
--- /main/waeup.futminna/tags/1.1/src/waeup/futminna/locales/fr/LC_MESSAGES/waeup.futminna.po	(revision 11490)
+++ /main/waeup.futminna/tags/1.1/src/waeup/futminna/locales/fr/LC_MESSAGES/waeup.futminna.po	(revision 11490)
@@ -0,0 +1,702 @@
+# #############################################################################
+#
+# Copyright (c) 2003-2004 Zope Corporation and Contributors.
+# All Rights Reserved.
+#
+# This software is subject to the provisions of the Zope Public License,
+# Version 2.1 (ZPL).  A copy of the ZPL should accompany this distribution.
+# THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED
+# WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
+# WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS
+# FOR A PARTICULAR PURPOSE.
+#
+# #############################################################################
+msgid ""
+msgstr ""
+"Project-Id-Version: Development/Unknown\n"
+"POT-Creation-Date: Sun Jun  3 19:34:05 2012\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: Zope 3 Developers <zope3-dev@zope.org>\n"
+"Language: \n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Generated-By: zope/app/locales/extract.py\n"
+
+#. Default: ""
+#: waeup/futminna/applicants/browser.py:183
+#: waeup/futminna/students/browser.py:207
+msgid ""
+"<br /><br /><br />\n"
+"The tranzaction code is <strong>${a}</strong>."
+msgstr ""
+
+#: waeup/futminna/applicants/browser.py:71
+msgid "<br /><br /><br />Comfirm your exam venue 72 hours to the exam."
+msgstr ""
+
+#: waeup/futminna/applicants/interfaces.py:103
+#: waeup/futminna/applicants/interfaces.py:280
+msgid "Screening Date"
+msgstr ""
+
+#: waeup/futminna/applicants/interfaces.py:107
+#: waeup/futminna/applicants/interfaces.py:284
+msgid "Screening Score"
+msgstr ""
+
+#: waeup/futminna/applicants/interfaces.py:111
+#: waeup/futminna/applicants/interfaces.py:289
+msgid "Student Id"
+msgstr ""
+
+#: waeup/futminna/applicants/interfaces.py:116
+#: waeup/futminna/applicants/interfaces.py:294
+msgid "Admitted Course of Study"
+msgstr ""
+
+#: waeup/futminna/applicants/interfaces.py:121
+#: waeup/futminna/applicants/interfaces.py:300
+msgid "Form locked"
+msgstr ""
+
+#: waeup/futminna/applicants/interfaces.py:158
+#: waeup/futminna/applicants/interfaces.py:190
+#: waeup/futminna/students/interfaces.py:185
+#: waeup/futminna/students/interfaces.py:229
+msgid "Qualification Obtained"
+msgstr ""
+
+#: waeup/futminna/applicants/interfaces.py:164
+#: waeup/futminna/students/interfaces.py:192
+#: waeup/futminna/students/interfaces.py:236
+msgid "Former Matric Number"
+msgstr ""
+
+#: waeup/futminna/applicants/interfaces.py:169
+#: waeup/futminna/students/interfaces.py:198
+#: waeup/futminna/students/interfaces.py:242
+msgid "Class of Degree"
+msgstr ""
+
+#: waeup/futminna/applicants/interfaces.py:175
+#: waeup/futminna/students/interfaces.py:205
+#: waeup/futminna/students/interfaces.py:249
+msgid "Institution Attended"
+msgstr ""
+
+#: waeup/futminna/applicants/interfaces.py:180
+#: waeup/futminna/students/interfaces.py:211
+#: waeup/futminna/students/interfaces.py:255
+msgid "Years Attended"
+msgstr ""
+
+#: waeup/futminna/applicants/interfaces.py:185
+#: waeup/futminna/students/interfaces.py:217
+#: waeup/futminna/students/interfaces.py:261
+msgid "Discipline"
+msgstr ""
+
+#: waeup/futminna/applicants/interfaces.py:201
+msgid "If yes, name of institution"
+msgstr ""
+
+#: waeup/futminna/applicants/interfaces.py:206
+#: waeup/futminna/students/interfaces.py:267
+msgid "Nysc Year"
+msgstr ""
+
+#: waeup/futminna/applicants/interfaces.py:212
+#: waeup/futminna/students/interfaces.py:274
+msgid "Nysc Location"
+msgstr ""
+
+#: waeup/futminna/applicants/interfaces.py:216
+#: waeup/futminna/students/interfaces.py:279
+msgid "Employer"
+msgstr ""
+
+#: waeup/futminna/applicants/interfaces.py:221
+#: waeup/futminna/students/interfaces.py:285
+msgid "Employer Position"
+msgstr ""
+
+#: waeup/futminna/applicants/interfaces.py:226
+#: waeup/futminna/applicants/interfaces.py:253
+#: waeup/futminna/students/interfaces.py:291
+#: waeup/futminna/students/interfaces.py:323
+msgid "Start Date"
+msgstr ""
+
+#: waeup/futminna/applicants/interfaces.py:232
+#: waeup/futminna/applicants/interfaces.py:259
+#: waeup/futminna/students/interfaces.py:298
+#: waeup/futminna/students/interfaces.py:329
+msgid "End Date"
+msgstr ""
+
+#: waeup/futminna/applicants/interfaces.py:238
+#: waeup/futminna/applicants/interfaces.py:265
+#: waeup/futminna/students/interfaces.py:305
+#: waeup/futminna/students/interfaces.py:336
+msgid "Reason for Leaving"
+msgstr ""
+
+#: waeup/futminna/applicants/interfaces.py:243
+#: waeup/futminna/students/interfaces.py:311
+msgid "2nd Employer"
+msgstr ""
+
+#: waeup/futminna/applicants/interfaces.py:248
+#: waeup/futminna/students/interfaces.py:317
+msgid "2nd Employer Position"
+msgstr ""
+
+#: waeup/futminna/applicants/interfaces.py:359
+msgid "Email Address"
+msgstr ""
+
+#: waeup/futminna/applicants/interfaces.py:364
+#: waeup/futminna/students/interfaces.py:69
+msgid "Date of Birth"
+msgstr ""
+
+#: waeup/futminna/applicants/interfaces.py:64
+#: waeup/futminna/applicants/interfaces.py:135
+#: waeup/futminna/students/interfaces.py:76
+msgid "Nationality"
+msgstr ""
+
+#: waeup/futminna/applicants/interfaces.py:69
+#: waeup/futminna/applicants/interfaces.py:140
+#: waeup/futminna/students/interfaces.py:82
+msgid "State/LGA (Nigerians only)"
+msgstr ""
+
+#: waeup/futminna/applicants/interfaces.py:73
+#: waeup/futminna/applicants/interfaces.py:144
+msgid "Permanent Address"
+msgstr ""
+
+#: waeup/futminna/applicants/interfaces.py:77
+#: waeup/futminna/applicants/interfaces.py:148
+msgid "1st Choice Course of Study"
+msgstr ""
+
+#: waeup/futminna/applicants/interfaces.py:82
+#: waeup/futminna/applicants/interfaces.py:153
+msgid "2nd Choice Course of Study"
+msgstr ""
+
+#: waeup/futminna/applicants/interfaces.py:87
+msgid "Subjects and Scores"
+msgstr ""
+
+#: waeup/futminna/applicants/interfaces.py:91
+msgid "Total Score"
+msgstr ""
+
+#: waeup/futminna/applicants/interfaces.py:95
+#: waeup/futminna/applicants/interfaces.py:270
+msgid "Notice"
+msgstr ""
+
+#: waeup/futminna/applicants/interfaces.py:99
+#: waeup/futminna/applicants/interfaces.py:275
+msgid "Screening Venue"
+msgstr ""
+
+#: waeup/futminna/applicants/utils.py:49
+msgid "Base Data"
+msgstr ""
+
+#: waeup/futminna/applicants/utils.py:50
+msgid "Programmes/Courses Desired"
+msgstr ""
+
+#: waeup/futminna/applicants/utils.py:51 waeup/futminna/students/utils.py:161
+msgid "Higher Education Record"
+msgstr ""
+
+#: waeup/futminna/applicants/utils.py:52
+msgid "Course or Programme Presently Attending"
+msgstr ""
+
+#: waeup/futminna/applicants/utils.py:53 waeup/futminna/students/utils.py:163
+msgid "NYSC Information"
+msgstr ""
+
+#: waeup/futminna/applicants/utils.py:54 waeup/futminna/students/utils.py:164
+msgid "Employment History"
+msgstr ""
+
+#: waeup/futminna/applicants/utils.py:55
+msgid "JAMB Data"
+msgstr ""
+
+#: waeup/futminna/applicants/utils.py:56
+msgid "Application Process Information"
+msgstr ""
+
+#: waeup/futminna/applicants/utils.py:57
+msgid "Post Primary School Qualification"
+msgstr ""
+
+#: waeup/futminna/applicants/utils.py:58
+msgid "Presently attending a course or programme"
+msgstr ""
+
+#: waeup/futminna/browser/theming.py:30
+msgid "FUTMinna Theme"
+msgstr ""
+
+#: waeup/futminna/etranzact/browser.py:100
+#: waeup/futminna/etranzact/browser.py:108
+msgid "Query eTranzact History"
+msgstr ""
+
+#: waeup/futminna/etranzact/browser.py:119
+msgid "Submit to eTranzact"
+msgstr ""
+
+#: waeup/futminna/etranzact/browser.py:120
+msgid "Requery eTranzact History"
+msgstr ""
+
+#: waeup/futminna/etranzact/browser.py:139
+#: waeup/futminna/etranzact/browser.py:167
+#: waeup/futminna/interswitch/browser.py:410
+#: waeup/futminna/interswitch/browser.py:438
+msgid "This ticket has already been paid."
+msgstr ""
+
+#. Default: ""
+#: waeup/futminna/etranzact/browser.py:47
+msgid "Invalid or unsuccessful callback: ${a}"
+msgstr ""
+
+#. Default: ""
+#: waeup/futminna/etranzact/browser.py:55
+#: waeup/futminna/etranzact/browser.py:62
+#: waeup/futminna/interswitch/browser.py:95
+msgid "Invalid callback: ${a}"
+msgstr ""
+
+#: waeup/futminna/etranzact/browser.py:67
+msgid "eTranzact IOError"
+msgstr ""
+
+#: waeup/futminna/etranzact/browser.py:76
+msgid "Wrong amount"
+msgstr ""
+
+#: waeup/futminna/etranzact/browser.py:85
+msgid "Wrong transaction code"
+msgstr ""
+
+#: waeup/futminna/etranzact/browser.py:90
+#: waeup/futminna/interswitch/browser.py:120
+msgid "Successful callback received"
+msgstr ""
+
+#: waeup/futminna/interfaces.py:104
+msgid "Application Fee (fallback)"
+msgstr ""
+
+#: waeup/futminna/interfaces.py:110
+msgid "Clearance Fee (ignored)"
+msgstr ""
+
+#: waeup/futminna/interfaces.py:116
+msgid "Booking Fee"
+msgstr ""
+
+#: waeup/futminna/interfaces.py:124
+msgid "Maintenance Fee (ignored)"
+msgstr ""
+
+#: waeup/futminna/interfaces.py:130
+msgid "Gown Fee"
+msgstr ""
+
+#: waeup/futminna/interfaces.py:136
+msgid "Transfer Fee"
+msgstr ""
+
+#: waeup/futminna/interfaces.py:151
+msgid "Academic Session"
+msgstr ""
+
+#. Default: ""
+#: waeup/futminna/interfaces.py:88
+msgid "Invalid key: ${a}"
+msgstr ""
+
+#: waeup/futminna/interfaces.py:98
+msgid "School Fee (ignored)"
+msgstr ""
+
+#. Default: ""
+#: waeup/futminna/interswitch/browser.py:104
+msgid "Unsuccessful callback: ${a}"
+msgstr ""
+
+#: waeup/futminna/interswitch/browser.py:109
+msgid "Callback amount does not match."
+msgstr ""
+
+#: waeup/futminna/interswitch/browser.py:114
+msgid "Callback transaction id does not match."
+msgstr ""
+
+#: waeup/futminna/interswitch/browser.py:129
+#: waeup/futminna/interswitch/browser.py:143
+msgid "CollegePAY"
+msgstr ""
+
+#: waeup/futminna/interswitch/browser.py:175
+#: waeup/futminna/interswitch/browser.py:183
+msgid "Requery CollegePAY"
+msgstr ""
+
+#: waeup/futminna/interswitch/browser.py:195
+#: waeup/futminna/interswitch/browser.py:292
+msgid "Submit data to CollegePAY (Interswitch Payment Gateway)"
+msgstr ""
+
+#: waeup/futminna/interswitch/browser.py:196
+#: waeup/futminna/interswitch/browser.py:293
+msgid "Submit"
+msgstr ""
+
+#: waeup/futminna/interswitch/browser.py:206
+#: waeup/futminna/interswitch/browser.py:302
+msgid "Payment ticket can't be re-send to CollegePAY."
+msgstr ""
+
+#: waeup/futminna/payments/interfaces.py:29
+msgid "Activation Code"
+msgstr ""
+
+#: waeup/futminna/payments/interfaces.py:36
+msgid "Response Amount Approved"
+msgstr ""
+
+#: waeup/futminna/payments/interfaces.py:43
+msgid "Response Code"
+msgstr ""
+
+#: waeup/futminna/payments/interfaces.py:50
+msgid "Response Description"
+msgstr ""
+
+#: waeup/futminna/payments/interfaces.py:59
+msgid "Response Payment Reference"
+msgstr ""
+
+#: waeup/futminna/payments/interfaces.py:66
+msgid "Response Card Number"
+msgstr ""
+
+#: waeup/futminna/students/browser.py:150
+msgid "No birth certificate uploaded."
+msgstr ""
+
+#: waeup/futminna/students/browser.py:152
+msgid "No referee letter uploaded."
+msgstr ""
+
+#: waeup/futminna/students/browser.py:154
+msgid "No acceptance letter uploaded."
+msgstr ""
+
+#: waeup/futminna/students/browser.py:156
+msgid "No first sitting result uploaded."
+msgstr ""
+
+#: waeup/futminna/students/interfaces.py:104
+#: waeup/futminna/students/interfaces.py:137
+#: waeup/futminna/students/interfaces.py:170
+msgid "Exam Date"
+msgstr ""
+
+#: waeup/futminna/students/interfaces.py:111
+#: waeup/futminna/students/interfaces.py:144
+msgid "Exam Type"
+msgstr ""
+
+#: waeup/futminna/students/interfaces.py:118
+#: waeup/futminna/students/interfaces.py:151
+#: waeup/futminna/students/interfaces.py:177
+msgid "Exam Results"
+msgstr ""
+
+#: waeup/futminna/students/interfaces.py:342
+msgid "If yes, matric number"
+msgstr ""
+
+#: waeup/futminna/students/interfaces.py:372
+msgid "Payment Level"
+msgstr ""
+
+#: waeup/futminna/students/interfaces.py:399
+msgid "Matriculation Number"
+msgstr ""
+
+#: waeup/futminna/students/interfaces.py:44
+#: waeup/futminna/students/interfaces.py:390
+msgid "Registration Number"
+msgstr ""
+
+#: waeup/futminna/students/interfaces.py:60
+msgid "Unmarried"
+msgstr ""
+
+#: waeup/futminna/students/interfaces.py:61
+msgid "Married"
+msgstr ""
+
+#: waeup/futminna/students/interfaces.py:87
+msgid "Deferent of Admission"
+msgstr ""
+
+#: waeup/futminna/students/interfaces.py:93
+#: waeup/futminna/students/interfaces.py:126
+#: waeup/futminna/students/interfaces.py:159
+msgid "Full Name"
+msgstr ""
+
+#: waeup/futminna/students/interfaces.py:98
+#: waeup/futminna/students/interfaces.py:131
+#: waeup/futminna/students/interfaces.py:164
+msgid "Exam Number"
+msgstr ""
+
+#: waeup/futminna/students/utils.py:108
+msgid "Amount could not be determined."
+msgstr ""
+
+#: waeup/futminna/students/utils.py:115
+msgid "This type of payment has already been made."
+msgstr ""
+
+#: waeup/futminna/students/utils.py:158
+msgid "First Sitting Record"
+msgstr ""
+
+#: waeup/futminna/students/utils.py:159
+msgid "Second Sitting Record"
+msgstr ""
+
+#: waeup/futminna/students/utils.py:160
+msgid "Advanced Level Record"
+msgstr ""
+
+#: waeup/futminna/students/utils.py:162
+msgid "Second Higher Education Record"
+msgstr ""
+
+#: waeup/futminna/students/utils.py:165
+msgid "Former FUTMinna Student"
+msgstr ""
+
+#: waeup/futminna/students/utils.py:69
+msgid "Session configuration object is not available."
+msgstr ""
+
+#: waeup/futminna/students/utils.py:82 waeup/futminna/students/utils.py:93
+msgid "Study course data are incomplete."
+msgstr ""
+
+#: waeup/futminna/students/viewlets.py:100
+msgid "Second Sitting Result Scan"
+msgstr ""
+
+#: waeup/futminna/students/viewlets.py:116
+#: waeup/futminna/students/viewlets.py:117
+#: waeup/futminna/students/viewlets.py:127
+msgid "Higher Qualification Result"
+msgstr ""
+
+#: waeup/futminna/students/viewlets.py:128
+msgid "Higher Qualification Result Scan"
+msgstr ""
+
+#: waeup/futminna/students/viewlets.py:144
+#: waeup/futminna/students/viewlets.py:145
+#: waeup/futminna/students/viewlets.py:155
+msgid "Second Higher Qualification Result"
+msgstr ""
+
+#: waeup/futminna/students/viewlets.py:156
+msgid "Second Higher Qualification Result Scan"
+msgstr ""
+
+#: waeup/futminna/students/viewlets.py:179
+#: waeup/futminna/students/viewlets.py:180
+#: waeup/futminna/students/viewlets.py:190
+msgid "Advanced Level Result"
+msgstr ""
+
+#: waeup/futminna/students/viewlets.py:191
+msgid "Advanced Level Result Scan"
+msgstr ""
+
+#: waeup/futminna/students/viewlets.py:207
+#: waeup/futminna/students/viewlets.py:208
+#: waeup/futminna/students/viewlets.py:218
+msgid "Certificate"
+msgstr ""
+
+#: waeup/futminna/students/viewlets.py:219
+msgid "Certificate Scan"
+msgstr ""
+
+#: waeup/futminna/students/viewlets.py:235
+#: waeup/futminna/students/viewlets.py:236
+#: waeup/futminna/students/viewlets.py:246
+msgid "Second Certificate"
+msgstr ""
+
+#: waeup/futminna/students/viewlets.py:247
+msgid "Second Certificate Scan"
+msgstr ""
+
+#: waeup/futminna/students/viewlets.py:270
+#: waeup/futminna/students/viewlets.py:271
+#: waeup/futminna/students/viewlets.py:281
+msgid "Third Certificate"
+msgstr ""
+
+#: waeup/futminna/students/viewlets.py:282
+msgid "Third Certificate Scan"
+msgstr ""
+
+#: waeup/futminna/students/viewlets.py:305
+#: waeup/futminna/students/viewlets.py:306
+#: waeup/futminna/students/viewlets.py:316
+msgid "Evidence of Name"
+msgstr ""
+
+#: waeup/futminna/students/viewlets.py:317
+msgid "Evidence of Name Scan"
+msgstr ""
+
+#: waeup/futminna/students/viewlets.py:32
+#: waeup/futminna/students/viewlets.py:43
+msgid "LGA Identification"
+msgstr ""
+
+#: waeup/futminna/students/viewlets.py:33
+#: waeup/futminna/students/viewlets.py:44
+msgid "LGA Identification Scan"
+msgstr ""
+
+#: waeup/futminna/students/viewlets.py:333
+#: waeup/futminna/students/viewlets.py:334
+#: waeup/futminna/students/viewlets.py:344
+msgid "Result Statement"
+msgstr ""
+
+#: waeup/futminna/students/viewlets.py:345
+msgid "Result Statement Scan"
+msgstr ""
+
+#: waeup/futminna/students/viewlets.py:361
+#: waeup/futminna/students/viewlets.py:362
+#: waeup/futminna/students/viewlets.py:372
+msgid "Referee Letter"
+msgstr ""
+
+#: waeup/futminna/students/viewlets.py:373
+msgid "Referee Letter Scan"
+msgstr ""
+
+#: waeup/futminna/students/viewlets.py:389
+#: waeup/futminna/students/viewlets.py:390
+#: waeup/futminna/students/viewlets.py:400
+msgid "Second Referee Letter"
+msgstr ""
+
+#: waeup/futminna/students/viewlets.py:401
+msgid "Second Referee Letter Scan"
+msgstr ""
+
+#: waeup/futminna/students/viewlets.py:424
+#: waeup/futminna/students/viewlets.py:425
+#: waeup/futminna/students/viewlets.py:435
+msgid "Third Referee Letter"
+msgstr ""
+
+#: waeup/futminna/students/viewlets.py:436
+msgid "Third Referee Letter Scan"
+msgstr ""
+
+#: waeup/futminna/students/viewlets.py:459
+#: waeup/futminna/students/viewlets.py:460
+#: waeup/futminna/students/viewlets.py:470
+msgid "Statutory Declaration of Good Conduct"
+msgstr ""
+
+#: waeup/futminna/students/viewlets.py:471
+msgid "Statutory Declaration of Good Conduct Scan"
+msgstr ""
+
+#: waeup/futminna/students/viewlets.py:487
+#: waeup/futminna/students/viewlets.py:488
+#: waeup/futminna/students/viewlets.py:498
+msgid "Letter of Admission"
+msgstr ""
+
+#: waeup/futminna/students/viewlets.py:499
+msgid "Letter of Admission Scan"
+msgstr ""
+
+#: waeup/futminna/students/viewlets.py:60
+#: waeup/futminna/students/viewlets.py:61
+#: waeup/futminna/students/viewlets.py:71
+msgid "First Sitting Result"
+msgstr ""
+
+#: waeup/futminna/students/viewlets.py:72
+msgid "First Sitting Result Scan"
+msgstr ""
+
+#: waeup/futminna/students/viewlets.py:88
+#: waeup/futminna/students/viewlets.py:89
+#: waeup/futminna/students/viewlets.py:99
+msgid "Second Sitting Result"
+msgstr ""
+
+#: waeup/futminna/utils/utils.py:26
+msgid "Nigeria"
+msgstr ""
+
+#: waeup/futminna/utils/utils.py:27
+msgid "Germany"
+msgstr ""
+
+#: waeup/futminna/utils/utils.py:28
+msgid "United States"
+msgstr ""
+
+#: waeup/futminna/utils/utils.py:29
+msgid "Niger"
+msgstr ""
+
+#: waeup/futminna/utils/utils.py:30
+msgid "Benin"
+msgstr ""
+
+#: waeup/futminna/utils/utils.py:31
+msgid "Cameroon"
+msgstr ""
+
+#: waeup/futminna/utils/utils.py:32
+msgid "United Kingdom"
+msgstr ""
+
+#: waeup/futminna/utils/utils.py:33
+msgid "France"
+msgstr ""
Index: /main/waeup.futminna/tags/1.1/src/waeup/futminna/locales/ha/LC_MESSAGES/waeup.futminna.po
===================================================================
--- /main/waeup.futminna/tags/1.1/src/waeup/futminna/locales/ha/LC_MESSAGES/waeup.futminna.po	(revision 11490)
+++ /main/waeup.futminna/tags/1.1/src/waeup/futminna/locales/ha/LC_MESSAGES/waeup.futminna.po	(revision 11490)
@@ -0,0 +1,702 @@
+# #############################################################################
+#
+# Copyright (c) 2003-2004 Zope Corporation and Contributors.
+# All Rights Reserved.
+#
+# This software is subject to the provisions of the Zope Public License,
+# Version 2.1 (ZPL).  A copy of the ZPL should accompany this distribution.
+# THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED
+# WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
+# WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS
+# FOR A PARTICULAR PURPOSE.
+#
+# #############################################################################
+msgid ""
+msgstr ""
+"Project-Id-Version: Development/Unknown\n"
+"POT-Creation-Date: Sun Jun  3 19:34:05 2012\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: Zope 3 Developers <zope3-dev@zope.org>\n"
+"Language: \n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Generated-By: zope/app/locales/extract.py\n"
+
+#. Default: ""
+#: waeup/futminna/applicants/browser.py:183
+#: waeup/futminna/students/browser.py:207
+msgid ""
+"<br /><br /><br />\n"
+"The tranzaction code is <strong>${a}</strong>."
+msgstr ""
+
+#: waeup/futminna/applicants/browser.py:71
+msgid "<br /><br /><br />Comfirm your exam venue 72 hours to the exam."
+msgstr ""
+
+#: waeup/futminna/applicants/interfaces.py:103
+#: waeup/futminna/applicants/interfaces.py:280
+msgid "Screening Date"
+msgstr ""
+
+#: waeup/futminna/applicants/interfaces.py:107
+#: waeup/futminna/applicants/interfaces.py:284
+msgid "Screening Score"
+msgstr ""
+
+#: waeup/futminna/applicants/interfaces.py:111
+#: waeup/futminna/applicants/interfaces.py:289
+msgid "Student Id"
+msgstr ""
+
+#: waeup/futminna/applicants/interfaces.py:116
+#: waeup/futminna/applicants/interfaces.py:294
+msgid "Admitted Course of Study"
+msgstr ""
+
+#: waeup/futminna/applicants/interfaces.py:121
+#: waeup/futminna/applicants/interfaces.py:300
+msgid "Form locked"
+msgstr ""
+
+#: waeup/futminna/applicants/interfaces.py:158
+#: waeup/futminna/applicants/interfaces.py:190
+#: waeup/futminna/students/interfaces.py:185
+#: waeup/futminna/students/interfaces.py:229
+msgid "Qualification Obtained"
+msgstr ""
+
+#: waeup/futminna/applicants/interfaces.py:164
+#: waeup/futminna/students/interfaces.py:192
+#: waeup/futminna/students/interfaces.py:236
+msgid "Former Matric Number"
+msgstr ""
+
+#: waeup/futminna/applicants/interfaces.py:169
+#: waeup/futminna/students/interfaces.py:198
+#: waeup/futminna/students/interfaces.py:242
+msgid "Class of Degree"
+msgstr ""
+
+#: waeup/futminna/applicants/interfaces.py:175
+#: waeup/futminna/students/interfaces.py:205
+#: waeup/futminna/students/interfaces.py:249
+msgid "Institution Attended"
+msgstr ""
+
+#: waeup/futminna/applicants/interfaces.py:180
+#: waeup/futminna/students/interfaces.py:211
+#: waeup/futminna/students/interfaces.py:255
+msgid "Years Attended"
+msgstr ""
+
+#: waeup/futminna/applicants/interfaces.py:185
+#: waeup/futminna/students/interfaces.py:217
+#: waeup/futminna/students/interfaces.py:261
+msgid "Discipline"
+msgstr ""
+
+#: waeup/futminna/applicants/interfaces.py:201
+msgid "If yes, name of institution"
+msgstr ""
+
+#: waeup/futminna/applicants/interfaces.py:206
+#: waeup/futminna/students/interfaces.py:267
+msgid "Nysc Year"
+msgstr ""
+
+#: waeup/futminna/applicants/interfaces.py:212
+#: waeup/futminna/students/interfaces.py:274
+msgid "Nysc Location"
+msgstr ""
+
+#: waeup/futminna/applicants/interfaces.py:216
+#: waeup/futminna/students/interfaces.py:279
+msgid "Employer"
+msgstr ""
+
+#: waeup/futminna/applicants/interfaces.py:221
+#: waeup/futminna/students/interfaces.py:285
+msgid "Employer Position"
+msgstr ""
+
+#: waeup/futminna/applicants/interfaces.py:226
+#: waeup/futminna/applicants/interfaces.py:253
+#: waeup/futminna/students/interfaces.py:291
+#: waeup/futminna/students/interfaces.py:323
+msgid "Start Date"
+msgstr ""
+
+#: waeup/futminna/applicants/interfaces.py:232
+#: waeup/futminna/applicants/interfaces.py:259
+#: waeup/futminna/students/interfaces.py:298
+#: waeup/futminna/students/interfaces.py:329
+msgid "End Date"
+msgstr ""
+
+#: waeup/futminna/applicants/interfaces.py:238
+#: waeup/futminna/applicants/interfaces.py:265
+#: waeup/futminna/students/interfaces.py:305
+#: waeup/futminna/students/interfaces.py:336
+msgid "Reason for Leaving"
+msgstr ""
+
+#: waeup/futminna/applicants/interfaces.py:243
+#: waeup/futminna/students/interfaces.py:311
+msgid "2nd Employer"
+msgstr ""
+
+#: waeup/futminna/applicants/interfaces.py:248
+#: waeup/futminna/students/interfaces.py:317
+msgid "2nd Employer Position"
+msgstr ""
+
+#: waeup/futminna/applicants/interfaces.py:359
+msgid "Email Address"
+msgstr ""
+
+#: waeup/futminna/applicants/interfaces.py:364
+#: waeup/futminna/students/interfaces.py:69
+msgid "Date of Birth"
+msgstr ""
+
+#: waeup/futminna/applicants/interfaces.py:64
+#: waeup/futminna/applicants/interfaces.py:135
+#: waeup/futminna/students/interfaces.py:76
+msgid "Nationality"
+msgstr ""
+
+#: waeup/futminna/applicants/interfaces.py:69
+#: waeup/futminna/applicants/interfaces.py:140
+#: waeup/futminna/students/interfaces.py:82
+msgid "State/LGA (Nigerians only)"
+msgstr ""
+
+#: waeup/futminna/applicants/interfaces.py:73
+#: waeup/futminna/applicants/interfaces.py:144
+msgid "Permanent Address"
+msgstr ""
+
+#: waeup/futminna/applicants/interfaces.py:77
+#: waeup/futminna/applicants/interfaces.py:148
+msgid "1st Choice Course of Study"
+msgstr ""
+
+#: waeup/futminna/applicants/interfaces.py:82
+#: waeup/futminna/applicants/interfaces.py:153
+msgid "2nd Choice Course of Study"
+msgstr ""
+
+#: waeup/futminna/applicants/interfaces.py:87
+msgid "Subjects and Scores"
+msgstr ""
+
+#: waeup/futminna/applicants/interfaces.py:91
+msgid "Total Score"
+msgstr ""
+
+#: waeup/futminna/applicants/interfaces.py:95
+#: waeup/futminna/applicants/interfaces.py:270
+msgid "Notice"
+msgstr ""
+
+#: waeup/futminna/applicants/interfaces.py:99
+#: waeup/futminna/applicants/interfaces.py:275
+msgid "Screening Venue"
+msgstr ""
+
+#: waeup/futminna/applicants/utils.py:49
+msgid "Base Data"
+msgstr ""
+
+#: waeup/futminna/applicants/utils.py:50
+msgid "Programmes/Courses Desired"
+msgstr ""
+
+#: waeup/futminna/applicants/utils.py:51 waeup/futminna/students/utils.py:161
+msgid "Higher Education Record"
+msgstr ""
+
+#: waeup/futminna/applicants/utils.py:52
+msgid "Course or Programme Presently Attending"
+msgstr ""
+
+#: waeup/futminna/applicants/utils.py:53 waeup/futminna/students/utils.py:163
+msgid "NYSC Information"
+msgstr ""
+
+#: waeup/futminna/applicants/utils.py:54 waeup/futminna/students/utils.py:164
+msgid "Employment History"
+msgstr ""
+
+#: waeup/futminna/applicants/utils.py:55
+msgid "JAMB Data"
+msgstr ""
+
+#: waeup/futminna/applicants/utils.py:56
+msgid "Application Process Information"
+msgstr ""
+
+#: waeup/futminna/applicants/utils.py:57
+msgid "Post Primary School Qualification"
+msgstr ""
+
+#: waeup/futminna/applicants/utils.py:58
+msgid "Presently attending a course or programme"
+msgstr ""
+
+#: waeup/futminna/browser/theming.py:30
+msgid "FUTMinna Theme"
+msgstr ""
+
+#: waeup/futminna/etranzact/browser.py:100
+#: waeup/futminna/etranzact/browser.py:108
+msgid "Query eTranzact History"
+msgstr ""
+
+#: waeup/futminna/etranzact/browser.py:119
+msgid "Submit to eTranzact"
+msgstr ""
+
+#: waeup/futminna/etranzact/browser.py:120
+msgid "Requery eTranzact History"
+msgstr ""
+
+#: waeup/futminna/etranzact/browser.py:139
+#: waeup/futminna/etranzact/browser.py:167
+#: waeup/futminna/interswitch/browser.py:410
+#: waeup/futminna/interswitch/browser.py:438
+msgid "This ticket has already been paid."
+msgstr ""
+
+#. Default: ""
+#: waeup/futminna/etranzact/browser.py:47
+msgid "Invalid or unsuccessful callback: ${a}"
+msgstr ""
+
+#. Default: ""
+#: waeup/futminna/etranzact/browser.py:55
+#: waeup/futminna/etranzact/browser.py:62
+#: waeup/futminna/interswitch/browser.py:95
+msgid "Invalid callback: ${a}"
+msgstr ""
+
+#: waeup/futminna/etranzact/browser.py:67
+msgid "eTranzact IOError"
+msgstr ""
+
+#: waeup/futminna/etranzact/browser.py:76
+msgid "Wrong amount"
+msgstr ""
+
+#: waeup/futminna/etranzact/browser.py:85
+msgid "Wrong transaction code"
+msgstr ""
+
+#: waeup/futminna/etranzact/browser.py:90
+#: waeup/futminna/interswitch/browser.py:120
+msgid "Successful callback received"
+msgstr ""
+
+#: waeup/futminna/interfaces.py:104
+msgid "Application Fee (fallback)"
+msgstr ""
+
+#: waeup/futminna/interfaces.py:110
+msgid "Clearance Fee (ignored)"
+msgstr ""
+
+#: waeup/futminna/interfaces.py:116
+msgid "Booking Fee"
+msgstr ""
+
+#: waeup/futminna/interfaces.py:124
+msgid "Maintenance Fee (ignored)"
+msgstr ""
+
+#: waeup/futminna/interfaces.py:130
+msgid "Gown Fee"
+msgstr ""
+
+#: waeup/futminna/interfaces.py:136
+msgid "Transfer Fee"
+msgstr ""
+
+#: waeup/futminna/interfaces.py:151
+msgid "Academic Session"
+msgstr ""
+
+#. Default: ""
+#: waeup/futminna/interfaces.py:88
+msgid "Invalid key: ${a}"
+msgstr ""
+
+#: waeup/futminna/interfaces.py:98
+msgid "School Fee (ignored)"
+msgstr ""
+
+#. Default: ""
+#: waeup/futminna/interswitch/browser.py:104
+msgid "Unsuccessful callback: ${a}"
+msgstr ""
+
+#: waeup/futminna/interswitch/browser.py:109
+msgid "Callback amount does not match."
+msgstr ""
+
+#: waeup/futminna/interswitch/browser.py:114
+msgid "Callback transaction id does not match."
+msgstr ""
+
+#: waeup/futminna/interswitch/browser.py:129
+#: waeup/futminna/interswitch/browser.py:143
+msgid "CollegePAY"
+msgstr ""
+
+#: waeup/futminna/interswitch/browser.py:175
+#: waeup/futminna/interswitch/browser.py:183
+msgid "Requery CollegePAY"
+msgstr ""
+
+#: waeup/futminna/interswitch/browser.py:195
+#: waeup/futminna/interswitch/browser.py:292
+msgid "Submit data to CollegePAY (Interswitch Payment Gateway)"
+msgstr ""
+
+#: waeup/futminna/interswitch/browser.py:196
+#: waeup/futminna/interswitch/browser.py:293
+msgid "Submit"
+msgstr ""
+
+#: waeup/futminna/interswitch/browser.py:206
+#: waeup/futminna/interswitch/browser.py:302
+msgid "Payment ticket can't be re-send to CollegePAY."
+msgstr ""
+
+#: waeup/futminna/payments/interfaces.py:29
+msgid "Activation Code"
+msgstr ""
+
+#: waeup/futminna/payments/interfaces.py:36
+msgid "Response Amount Approved"
+msgstr ""
+
+#: waeup/futminna/payments/interfaces.py:43
+msgid "Response Code"
+msgstr ""
+
+#: waeup/futminna/payments/interfaces.py:50
+msgid "Response Description"
+msgstr ""
+
+#: waeup/futminna/payments/interfaces.py:59
+msgid "Response Payment Reference"
+msgstr ""
+
+#: waeup/futminna/payments/interfaces.py:66
+msgid "Response Card Number"
+msgstr ""
+
+#: waeup/futminna/students/browser.py:150
+msgid "No birth certificate uploaded."
+msgstr ""
+
+#: waeup/futminna/students/browser.py:152
+msgid "No referee letter uploaded."
+msgstr ""
+
+#: waeup/futminna/students/browser.py:154
+msgid "No acceptance letter uploaded."
+msgstr ""
+
+#: waeup/futminna/students/browser.py:156
+msgid "No first sitting result uploaded."
+msgstr ""
+
+#: waeup/futminna/students/interfaces.py:104
+#: waeup/futminna/students/interfaces.py:137
+#: waeup/futminna/students/interfaces.py:170
+msgid "Exam Date"
+msgstr ""
+
+#: waeup/futminna/students/interfaces.py:111
+#: waeup/futminna/students/interfaces.py:144
+msgid "Exam Type"
+msgstr ""
+
+#: waeup/futminna/students/interfaces.py:118
+#: waeup/futminna/students/interfaces.py:151
+#: waeup/futminna/students/interfaces.py:177
+msgid "Exam Results"
+msgstr ""
+
+#: waeup/futminna/students/interfaces.py:342
+msgid "If yes, matric number"
+msgstr ""
+
+#: waeup/futminna/students/interfaces.py:372
+msgid "Payment Level"
+msgstr ""
+
+#: waeup/futminna/students/interfaces.py:399
+msgid "Matriculation Number"
+msgstr ""
+
+#: waeup/futminna/students/interfaces.py:44
+#: waeup/futminna/students/interfaces.py:390
+msgid "Registration Number"
+msgstr ""
+
+#: waeup/futminna/students/interfaces.py:60
+msgid "Unmarried"
+msgstr ""
+
+#: waeup/futminna/students/interfaces.py:61
+msgid "Married"
+msgstr ""
+
+#: waeup/futminna/students/interfaces.py:87
+msgid "Deferent of Admission"
+msgstr ""
+
+#: waeup/futminna/students/interfaces.py:93
+#: waeup/futminna/students/interfaces.py:126
+#: waeup/futminna/students/interfaces.py:159
+msgid "Full Name"
+msgstr ""
+
+#: waeup/futminna/students/interfaces.py:98
+#: waeup/futminna/students/interfaces.py:131
+#: waeup/futminna/students/interfaces.py:164
+msgid "Exam Number"
+msgstr ""
+
+#: waeup/futminna/students/utils.py:108
+msgid "Amount could not be determined."
+msgstr ""
+
+#: waeup/futminna/students/utils.py:115
+msgid "This type of payment has already been made."
+msgstr ""
+
+#: waeup/futminna/students/utils.py:158
+msgid "First Sitting Record"
+msgstr ""
+
+#: waeup/futminna/students/utils.py:159
+msgid "Second Sitting Record"
+msgstr ""
+
+#: waeup/futminna/students/utils.py:160
+msgid "Advanced Level Record"
+msgstr ""
+
+#: waeup/futminna/students/utils.py:162
+msgid "Second Higher Education Record"
+msgstr ""
+
+#: waeup/futminna/students/utils.py:165
+msgid "Former FUTMinna Student"
+msgstr ""
+
+#: waeup/futminna/students/utils.py:69
+msgid "Session configuration object is not available."
+msgstr ""
+
+#: waeup/futminna/students/utils.py:82 waeup/futminna/students/utils.py:93
+msgid "Study course data are incomplete."
+msgstr ""
+
+#: waeup/futminna/students/viewlets.py:100
+msgid "Second Sitting Result Scan"
+msgstr ""
+
+#: waeup/futminna/students/viewlets.py:116
+#: waeup/futminna/students/viewlets.py:117
+#: waeup/futminna/students/viewlets.py:127
+msgid "Higher Qualification Result"
+msgstr ""
+
+#: waeup/futminna/students/viewlets.py:128
+msgid "Higher Qualification Result Scan"
+msgstr ""
+
+#: waeup/futminna/students/viewlets.py:144
+#: waeup/futminna/students/viewlets.py:145
+#: waeup/futminna/students/viewlets.py:155
+msgid "Second Higher Qualification Result"
+msgstr ""
+
+#: waeup/futminna/students/viewlets.py:156
+msgid "Second Higher Qualification Result Scan"
+msgstr ""
+
+#: waeup/futminna/students/viewlets.py:179
+#: waeup/futminna/students/viewlets.py:180
+#: waeup/futminna/students/viewlets.py:190
+msgid "Advanced Level Result"
+msgstr ""
+
+#: waeup/futminna/students/viewlets.py:191
+msgid "Advanced Level Result Scan"
+msgstr ""
+
+#: waeup/futminna/students/viewlets.py:207
+#: waeup/futminna/students/viewlets.py:208
+#: waeup/futminna/students/viewlets.py:218
+msgid "Certificate"
+msgstr ""
+
+#: waeup/futminna/students/viewlets.py:219
+msgid "Certificate Scan"
+msgstr ""
+
+#: waeup/futminna/students/viewlets.py:235
+#: waeup/futminna/students/viewlets.py:236
+#: waeup/futminna/students/viewlets.py:246
+msgid "Second Certificate"
+msgstr ""
+
+#: waeup/futminna/students/viewlets.py:247
+msgid "Second Certificate Scan"
+msgstr ""
+
+#: waeup/futminna/students/viewlets.py:270
+#: waeup/futminna/students/viewlets.py:271
+#: waeup/futminna/students/viewlets.py:281
+msgid "Third Certificate"
+msgstr ""
+
+#: waeup/futminna/students/viewlets.py:282
+msgid "Third Certificate Scan"
+msgstr ""
+
+#: waeup/futminna/students/viewlets.py:305
+#: waeup/futminna/students/viewlets.py:306
+#: waeup/futminna/students/viewlets.py:316
+msgid "Evidence of Name"
+msgstr ""
+
+#: waeup/futminna/students/viewlets.py:317
+msgid "Evidence of Name Scan"
+msgstr ""
+
+#: waeup/futminna/students/viewlets.py:32
+#: waeup/futminna/students/viewlets.py:43
+msgid "LGA Identification"
+msgstr ""
+
+#: waeup/futminna/students/viewlets.py:33
+#: waeup/futminna/students/viewlets.py:44
+msgid "LGA Identification Scan"
+msgstr ""
+
+#: waeup/futminna/students/viewlets.py:333
+#: waeup/futminna/students/viewlets.py:334
+#: waeup/futminna/students/viewlets.py:344
+msgid "Result Statement"
+msgstr ""
+
+#: waeup/futminna/students/viewlets.py:345
+msgid "Result Statement Scan"
+msgstr ""
+
+#: waeup/futminna/students/viewlets.py:361
+#: waeup/futminna/students/viewlets.py:362
+#: waeup/futminna/students/viewlets.py:372
+msgid "Referee Letter"
+msgstr ""
+
+#: waeup/futminna/students/viewlets.py:373
+msgid "Referee Letter Scan"
+msgstr ""
+
+#: waeup/futminna/students/viewlets.py:389
+#: waeup/futminna/students/viewlets.py:390
+#: waeup/futminna/students/viewlets.py:400
+msgid "Second Referee Letter"
+msgstr ""
+
+#: waeup/futminna/students/viewlets.py:401
+msgid "Second Referee Letter Scan"
+msgstr ""
+
+#: waeup/futminna/students/viewlets.py:424
+#: waeup/futminna/students/viewlets.py:425
+#: waeup/futminna/students/viewlets.py:435
+msgid "Third Referee Letter"
+msgstr ""
+
+#: waeup/futminna/students/viewlets.py:436
+msgid "Third Referee Letter Scan"
+msgstr ""
+
+#: waeup/futminna/students/viewlets.py:459
+#: waeup/futminna/students/viewlets.py:460
+#: waeup/futminna/students/viewlets.py:470
+msgid "Statutory Declaration of Good Conduct"
+msgstr ""
+
+#: waeup/futminna/students/viewlets.py:471
+msgid "Statutory Declaration of Good Conduct Scan"
+msgstr ""
+
+#: waeup/futminna/students/viewlets.py:487
+#: waeup/futminna/students/viewlets.py:488
+#: waeup/futminna/students/viewlets.py:498
+msgid "Letter of Admission"
+msgstr ""
+
+#: waeup/futminna/students/viewlets.py:499
+msgid "Letter of Admission Scan"
+msgstr ""
+
+#: waeup/futminna/students/viewlets.py:60
+#: waeup/futminna/students/viewlets.py:61
+#: waeup/futminna/students/viewlets.py:71
+msgid "First Sitting Result"
+msgstr ""
+
+#: waeup/futminna/students/viewlets.py:72
+msgid "First Sitting Result Scan"
+msgstr ""
+
+#: waeup/futminna/students/viewlets.py:88
+#: waeup/futminna/students/viewlets.py:89
+#: waeup/futminna/students/viewlets.py:99
+msgid "Second Sitting Result"
+msgstr ""
+
+#: waeup/futminna/utils/utils.py:26
+msgid "Nigeria"
+msgstr ""
+
+#: waeup/futminna/utils/utils.py:27
+msgid "Germany"
+msgstr ""
+
+#: waeup/futminna/utils/utils.py:28
+msgid "United States"
+msgstr ""
+
+#: waeup/futminna/utils/utils.py:29
+msgid "Niger"
+msgstr ""
+
+#: waeup/futminna/utils/utils.py:30
+msgid "Benin"
+msgstr ""
+
+#: waeup/futminna/utils/utils.py:31
+msgid "Cameroon"
+msgstr ""
+
+#: waeup/futminna/utils/utils.py:32
+msgid "United Kingdom"
+msgstr ""
+
+#: waeup/futminna/utils/utils.py:33
+msgid "France"
+msgstr ""
Index: /main/waeup.futminna/tags/1.1/src/waeup/futminna/locales/waeup.futminna.pot
===================================================================
--- /main/waeup.futminna/tags/1.1/src/waeup/futminna/locales/waeup.futminna.pot	(revision 11490)
+++ /main/waeup.futminna/tags/1.1/src/waeup/futminna/locales/waeup.futminna.pot	(revision 11490)
@@ -0,0 +1,172 @@
+##############################################################################
+#
+# Copyright (c) 2003-2004 Zope Corporation and Contributors.
+# All Rights Reserved.
+#
+# This software is subject to the provisions of the Zope Public License,
+# Version 2.1 (ZPL).  A copy of the ZPL should accompany this distribution.
+# THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED
+# WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
+# WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS
+# FOR A PARTICULAR PURPOSE.
+#
+##############################################################################
+msgid ""
+msgstr ""
+"Project-Id-Version: Development/Unknown\n"
+"POT-Creation-Date: Wed Jan  9 10:50:39 2013\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: Zope 3 Developers <zope3-dev@zope.org>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Generated-By: zope/app/locales/extract.py\n"
+
+#: waeup/futminna/browser/theming.py:30
+msgid "FUTMinna Theme"
+msgstr ""
+
+#: waeup/futminna/interfaces.py:103
+msgid "Academic Session"
+msgstr ""
+
+#: waeup/futminna/interfaces.py:35
+msgid "School Fee (ignored)"
+msgstr ""
+
+#: waeup/futminna/interfaces.py:41
+msgid "Application Fee (not-applicable)"
+msgstr ""
+
+#: waeup/futminna/interfaces.py:47
+msgid "Clearance Fee"
+msgstr ""
+
+#: waeup/futminna/interfaces.py:56
+msgid "Booking Fee"
+msgstr ""
+
+#: waeup/futminna/interfaces.py:64
+msgid "Maintenance Fee (ignored)"
+msgstr ""
+
+#: waeup/futminna/interfaces.py:70
+msgid "Gown Fee"
+msgstr ""
+
+#: waeup/futminna/interfaces.py:76
+msgid "Transfer Fee"
+msgstr ""
+
+#: waeup/futminna/interfaces.py:82
+msgid "UG Penalty Fee"
+msgstr ""
+
+#: waeup/futminna/interfaces.py:88
+msgid "PG Penalty Fee"
+msgstr ""
+
+#: waeup/futminna/interswitch/browser.py:57
+msgid "Submit data to CollegePAY (Interswitch Payment Gateway)"
+msgstr ""
+
+#: waeup/futminna/interswitch/browser.py:58
+msgid "Submit"
+msgstr ""
+
+#: waeup/futminna/interswitch/browser.py:68
+msgid "Payment ticket can't be re-send to CollegePAY."
+msgstr ""
+
+#: waeup/futminna/interswitch/browser_templates/student_goto_interswitch.pt:4
+msgid "These data will be submitted to the CollegePAY payment gateway, please check:"
+msgstr ""
+
+#: waeup/futminna/students/browser.py:60
+msgid "Create bed ticket"
+msgstr ""
+
+#: waeup/futminna/students/interfaces.py:74
+msgid "Current Session Payment"
+msgstr ""
+
+#: waeup/futminna/students/interfaces.py:80
+msgid "Payment Level"
+msgstr ""
+
+#: waeup/futminna/students/utils.py:126
+msgid "You have not yet booked accommodation."
+msgstr ""
+
+#: waeup/futminna/students/utils.py:129
+msgid "Current session does not match accommodation session."
+msgstr ""
+
+#: waeup/futminna/students/utils.py:141
+msgid "Amount could not be determined."
+msgstr ""
+
+#: waeup/futminna/students/utils.py:148
+msgid "This type of payment has already been made."
+msgstr ""
+
+#: waeup/futminna/students/utils.py:66
+msgid "Previous session payment not yet implemented."
+msgstr ""
+
+#: waeup/futminna/students/utils.py:72
+#: waeup/futminna/students/utils.py:110
+msgid "Session configuration object is not available."
+msgstr ""
+
+#: waeup/futminna/students/utils.py:79
+#: waeup/futminna/students/utils.py:115
+msgid "Study course data are incomplete."
+msgstr ""
+
+#: waeup/futminna/students/viewlets.py:124
+#: waeup/futminna/students/viewlets.py:125
+#: waeup/futminna/students/viewlets.py:135
+#: waeup/futminna/students/viewlets.py:136
+msgid "JAMB Letter"
+msgstr ""
+
+#: waeup/futminna/students/viewlets.py:152
+#: waeup/futminna/students/viewlets.py:153
+#: waeup/futminna/students/viewlets.py:163
+#: waeup/futminna/students/viewlets.py:164
+msgid "JAMB Slip"
+msgstr ""
+
+#: waeup/futminna/students/viewlets.py:180
+#: waeup/futminna/students/viewlets.py:181
+#: waeup/futminna/students/viewlets.py:191
+#: waeup/futminna/students/viewlets.py:192
+msgid "Age Declaration"
+msgstr ""
+
+#: waeup/futminna/students/viewlets.py:40
+#: waeup/futminna/students/viewlets.py:41
+#: waeup/futminna/students/viewlets.py:51
+msgid "Accepted by Institution"
+msgstr ""
+
+#: waeup/futminna/students/viewlets.py:52
+msgid "Accepted by Institution Scan"
+msgstr ""
+
+#: waeup/futminna/students/viewlets.py:68
+#: waeup/futminna/students/viewlets.py:69
+#: waeup/futminna/students/viewlets.py:79
+#: waeup/futminna/students/viewlets.py:80
+msgid "Credential"
+msgstr ""
+
+#: waeup/futminna/students/viewlets.py:96
+#: waeup/futminna/students/viewlets.py:97
+#: waeup/futminna/students/viewlets.py:107
+#: waeup/futminna/students/viewlets.py:108
+msgid "Student Signature"
+msgstr ""
+
Index: /main/waeup.futminna/tags/1.1/src/waeup/futminna/locales/yo/LC_MESSAGES/waeup.futminna.po
===================================================================
--- /main/waeup.futminna/tags/1.1/src/waeup/futminna/locales/yo/LC_MESSAGES/waeup.futminna.po	(revision 11490)
+++ /main/waeup.futminna/tags/1.1/src/waeup/futminna/locales/yo/LC_MESSAGES/waeup.futminna.po	(revision 11490)
@@ -0,0 +1,702 @@
+# #############################################################################
+#
+# Copyright (c) 2003-2004 Zope Corporation and Contributors.
+# All Rights Reserved.
+#
+# This software is subject to the provisions of the Zope Public License,
+# Version 2.1 (ZPL).  A copy of the ZPL should accompany this distribution.
+# THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED
+# WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
+# WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS
+# FOR A PARTICULAR PURPOSE.
+#
+# #############################################################################
+msgid ""
+msgstr ""
+"Project-Id-Version: Development/Unknown\n"
+"POT-Creation-Date: Sun Jun  3 19:34:05 2012\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: Zope 3 Developers <zope3-dev@zope.org>\n"
+"Language: \n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Generated-By: zope/app/locales/extract.py\n"
+
+#. Default: ""
+#: waeup/futminna/applicants/browser.py:183
+#: waeup/futminna/students/browser.py:207
+msgid ""
+"<br /><br /><br />\n"
+"The tranzaction code is <strong>${a}</strong>."
+msgstr ""
+
+#: waeup/futminna/applicants/browser.py:71
+msgid "<br /><br /><br />Comfirm your exam venue 72 hours to the exam."
+msgstr ""
+
+#: waeup/futminna/applicants/interfaces.py:103
+#: waeup/futminna/applicants/interfaces.py:280
+msgid "Screening Date"
+msgstr ""
+
+#: waeup/futminna/applicants/interfaces.py:107
+#: waeup/futminna/applicants/interfaces.py:284
+msgid "Screening Score"
+msgstr ""
+
+#: waeup/futminna/applicants/interfaces.py:111
+#: waeup/futminna/applicants/interfaces.py:289
+msgid "Student Id"
+msgstr ""
+
+#: waeup/futminna/applicants/interfaces.py:116
+#: waeup/futminna/applicants/interfaces.py:294
+msgid "Admitted Course of Study"
+msgstr ""
+
+#: waeup/futminna/applicants/interfaces.py:121
+#: waeup/futminna/applicants/interfaces.py:300
+msgid "Form locked"
+msgstr ""
+
+#: waeup/futminna/applicants/interfaces.py:158
+#: waeup/futminna/applicants/interfaces.py:190
+#: waeup/futminna/students/interfaces.py:185
+#: waeup/futminna/students/interfaces.py:229
+msgid "Qualification Obtained"
+msgstr ""
+
+#: waeup/futminna/applicants/interfaces.py:164
+#: waeup/futminna/students/interfaces.py:192
+#: waeup/futminna/students/interfaces.py:236
+msgid "Former Matric Number"
+msgstr ""
+
+#: waeup/futminna/applicants/interfaces.py:169
+#: waeup/futminna/students/interfaces.py:198
+#: waeup/futminna/students/interfaces.py:242
+msgid "Class of Degree"
+msgstr ""
+
+#: waeup/futminna/applicants/interfaces.py:175
+#: waeup/futminna/students/interfaces.py:205
+#: waeup/futminna/students/interfaces.py:249
+msgid "Institution Attended"
+msgstr ""
+
+#: waeup/futminna/applicants/interfaces.py:180
+#: waeup/futminna/students/interfaces.py:211
+#: waeup/futminna/students/interfaces.py:255
+msgid "Years Attended"
+msgstr ""
+
+#: waeup/futminna/applicants/interfaces.py:185
+#: waeup/futminna/students/interfaces.py:217
+#: waeup/futminna/students/interfaces.py:261
+msgid "Discipline"
+msgstr ""
+
+#: waeup/futminna/applicants/interfaces.py:201
+msgid "If yes, name of institution"
+msgstr ""
+
+#: waeup/futminna/applicants/interfaces.py:206
+#: waeup/futminna/students/interfaces.py:267
+msgid "Nysc Year"
+msgstr ""
+
+#: waeup/futminna/applicants/interfaces.py:212
+#: waeup/futminna/students/interfaces.py:274
+msgid "Nysc Location"
+msgstr ""
+
+#: waeup/futminna/applicants/interfaces.py:216
+#: waeup/futminna/students/interfaces.py:279
+msgid "Employer"
+msgstr ""
+
+#: waeup/futminna/applicants/interfaces.py:221
+#: waeup/futminna/students/interfaces.py:285
+msgid "Employer Position"
+msgstr ""
+
+#: waeup/futminna/applicants/interfaces.py:226
+#: waeup/futminna/applicants/interfaces.py:253
+#: waeup/futminna/students/interfaces.py:291
+#: waeup/futminna/students/interfaces.py:323
+msgid "Start Date"
+msgstr ""
+
+#: waeup/futminna/applicants/interfaces.py:232
+#: waeup/futminna/applicants/interfaces.py:259
+#: waeup/futminna/students/interfaces.py:298
+#: waeup/futminna/students/interfaces.py:329
+msgid "End Date"
+msgstr ""
+
+#: waeup/futminna/applicants/interfaces.py:238
+#: waeup/futminna/applicants/interfaces.py:265
+#: waeup/futminna/students/interfaces.py:305
+#: waeup/futminna/students/interfaces.py:336
+msgid "Reason for Leaving"
+msgstr ""
+
+#: waeup/futminna/applicants/interfaces.py:243
+#: waeup/futminna/students/interfaces.py:311
+msgid "2nd Employer"
+msgstr ""
+
+#: waeup/futminna/applicants/interfaces.py:248
+#: waeup/futminna/students/interfaces.py:317
+msgid "2nd Employer Position"
+msgstr ""
+
+#: waeup/futminna/applicants/interfaces.py:359
+msgid "Email Address"
+msgstr ""
+
+#: waeup/futminna/applicants/interfaces.py:364
+#: waeup/futminna/students/interfaces.py:69
+msgid "Date of Birth"
+msgstr ""
+
+#: waeup/futminna/applicants/interfaces.py:64
+#: waeup/futminna/applicants/interfaces.py:135
+#: waeup/futminna/students/interfaces.py:76
+msgid "Nationality"
+msgstr ""
+
+#: waeup/futminna/applicants/interfaces.py:69
+#: waeup/futminna/applicants/interfaces.py:140
+#: waeup/futminna/students/interfaces.py:82
+msgid "State/LGA (Nigerians only)"
+msgstr ""
+
+#: waeup/futminna/applicants/interfaces.py:73
+#: waeup/futminna/applicants/interfaces.py:144
+msgid "Permanent Address"
+msgstr ""
+
+#: waeup/futminna/applicants/interfaces.py:77
+#: waeup/futminna/applicants/interfaces.py:148
+msgid "1st Choice Course of Study"
+msgstr ""
+
+#: waeup/futminna/applicants/interfaces.py:82
+#: waeup/futminna/applicants/interfaces.py:153
+msgid "2nd Choice Course of Study"
+msgstr ""
+
+#: waeup/futminna/applicants/interfaces.py:87
+msgid "Subjects and Scores"
+msgstr ""
+
+#: waeup/futminna/applicants/interfaces.py:91
+msgid "Total Score"
+msgstr ""
+
+#: waeup/futminna/applicants/interfaces.py:95
+#: waeup/futminna/applicants/interfaces.py:270
+msgid "Notice"
+msgstr ""
+
+#: waeup/futminna/applicants/interfaces.py:99
+#: waeup/futminna/applicants/interfaces.py:275
+msgid "Screening Venue"
+msgstr ""
+
+#: waeup/futminna/applicants/utils.py:49
+msgid "Base Data"
+msgstr ""
+
+#: waeup/futminna/applicants/utils.py:50
+msgid "Programmes/Courses Desired"
+msgstr ""
+
+#: waeup/futminna/applicants/utils.py:51 waeup/futminna/students/utils.py:161
+msgid "Higher Education Record"
+msgstr ""
+
+#: waeup/futminna/applicants/utils.py:52
+msgid "Course or Programme Presently Attending"
+msgstr ""
+
+#: waeup/futminna/applicants/utils.py:53 waeup/futminna/students/utils.py:163
+msgid "NYSC Information"
+msgstr ""
+
+#: waeup/futminna/applicants/utils.py:54 waeup/futminna/students/utils.py:164
+msgid "Employment History"
+msgstr ""
+
+#: waeup/futminna/applicants/utils.py:55
+msgid "JAMB Data"
+msgstr ""
+
+#: waeup/futminna/applicants/utils.py:56
+msgid "Application Process Information"
+msgstr ""
+
+#: waeup/futminna/applicants/utils.py:57
+msgid "Post Primary School Qualification"
+msgstr ""
+
+#: waeup/futminna/applicants/utils.py:58
+msgid "Presently attending a course or programme"
+msgstr ""
+
+#: waeup/futminna/browser/theming.py:30
+msgid "FUTMinna Theme"
+msgstr ""
+
+#: waeup/futminna/etranzact/browser.py:100
+#: waeup/futminna/etranzact/browser.py:108
+msgid "Query eTranzact History"
+msgstr ""
+
+#: waeup/futminna/etranzact/browser.py:119
+msgid "Submit to eTranzact"
+msgstr ""
+
+#: waeup/futminna/etranzact/browser.py:120
+msgid "Requery eTranzact History"
+msgstr ""
+
+#: waeup/futminna/etranzact/browser.py:139
+#: waeup/futminna/etranzact/browser.py:167
+#: waeup/futminna/interswitch/browser.py:410
+#: waeup/futminna/interswitch/browser.py:438
+msgid "This ticket has already been paid."
+msgstr ""
+
+#. Default: ""
+#: waeup/futminna/etranzact/browser.py:47
+msgid "Invalid or unsuccessful callback: ${a}"
+msgstr ""
+
+#. Default: ""
+#: waeup/futminna/etranzact/browser.py:55
+#: waeup/futminna/etranzact/browser.py:62
+#: waeup/futminna/interswitch/browser.py:95
+msgid "Invalid callback: ${a}"
+msgstr ""
+
+#: waeup/futminna/etranzact/browser.py:67
+msgid "eTranzact IOError"
+msgstr ""
+
+#: waeup/futminna/etranzact/browser.py:76
+msgid "Wrong amount"
+msgstr ""
+
+#: waeup/futminna/etranzact/browser.py:85
+msgid "Wrong transaction code"
+msgstr ""
+
+#: waeup/futminna/etranzact/browser.py:90
+#: waeup/futminna/interswitch/browser.py:120
+msgid "Successful callback received"
+msgstr ""
+
+#: waeup/futminna/interfaces.py:104
+msgid "Application Fee (fallback)"
+msgstr ""
+
+#: waeup/futminna/interfaces.py:110
+msgid "Clearance Fee (ignored)"
+msgstr ""
+
+#: waeup/futminna/interfaces.py:116
+msgid "Booking Fee"
+msgstr ""
+
+#: waeup/futminna/interfaces.py:124
+msgid "Maintenance Fee (ignored)"
+msgstr ""
+
+#: waeup/futminna/interfaces.py:130
+msgid "Gown Fee"
+msgstr ""
+
+#: waeup/futminna/interfaces.py:136
+msgid "Transfer Fee"
+msgstr ""
+
+#: waeup/futminna/interfaces.py:151
+msgid "Academic Session"
+msgstr ""
+
+#. Default: ""
+#: waeup/futminna/interfaces.py:88
+msgid "Invalid key: ${a}"
+msgstr ""
+
+#: waeup/futminna/interfaces.py:98
+msgid "School Fee (ignored)"
+msgstr ""
+
+#. Default: ""
+#: waeup/futminna/interswitch/browser.py:104
+msgid "Unsuccessful callback: ${a}"
+msgstr ""
+
+#: waeup/futminna/interswitch/browser.py:109
+msgid "Callback amount does not match."
+msgstr ""
+
+#: waeup/futminna/interswitch/browser.py:114
+msgid "Callback transaction id does not match."
+msgstr ""
+
+#: waeup/futminna/interswitch/browser.py:129
+#: waeup/futminna/interswitch/browser.py:143
+msgid "CollegePAY"
+msgstr ""
+
+#: waeup/futminna/interswitch/browser.py:175
+#: waeup/futminna/interswitch/browser.py:183
+msgid "Requery CollegePAY"
+msgstr ""
+
+#: waeup/futminna/interswitch/browser.py:195
+#: waeup/futminna/interswitch/browser.py:292
+msgid "Submit data to CollegePAY (Interswitch Payment Gateway)"
+msgstr ""
+
+#: waeup/futminna/interswitch/browser.py:196
+#: waeup/futminna/interswitch/browser.py:293
+msgid "Submit"
+msgstr ""
+
+#: waeup/futminna/interswitch/browser.py:206
+#: waeup/futminna/interswitch/browser.py:302
+msgid "Payment ticket can't be re-send to CollegePAY."
+msgstr ""
+
+#: waeup/futminna/payments/interfaces.py:29
+msgid "Activation Code"
+msgstr ""
+
+#: waeup/futminna/payments/interfaces.py:36
+msgid "Response Amount Approved"
+msgstr ""
+
+#: waeup/futminna/payments/interfaces.py:43
+msgid "Response Code"
+msgstr ""
+
+#: waeup/futminna/payments/interfaces.py:50
+msgid "Response Description"
+msgstr ""
+
+#: waeup/futminna/payments/interfaces.py:59
+msgid "Response Payment Reference"
+msgstr ""
+
+#: waeup/futminna/payments/interfaces.py:66
+msgid "Response Card Number"
+msgstr ""
+
+#: waeup/futminna/students/browser.py:150
+msgid "No birth certificate uploaded."
+msgstr ""
+
+#: waeup/futminna/students/browser.py:152
+msgid "No referee letter uploaded."
+msgstr ""
+
+#: waeup/futminna/students/browser.py:154
+msgid "No acceptance letter uploaded."
+msgstr ""
+
+#: waeup/futminna/students/browser.py:156
+msgid "No first sitting result uploaded."
+msgstr ""
+
+#: waeup/futminna/students/interfaces.py:104
+#: waeup/futminna/students/interfaces.py:137
+#: waeup/futminna/students/interfaces.py:170
+msgid "Exam Date"
+msgstr ""
+
+#: waeup/futminna/students/interfaces.py:111
+#: waeup/futminna/students/interfaces.py:144
+msgid "Exam Type"
+msgstr ""
+
+#: waeup/futminna/students/interfaces.py:118
+#: waeup/futminna/students/interfaces.py:151
+#: waeup/futminna/students/interfaces.py:177
+msgid "Exam Results"
+msgstr ""
+
+#: waeup/futminna/students/interfaces.py:342
+msgid "If yes, matric number"
+msgstr ""
+
+#: waeup/futminna/students/interfaces.py:372
+msgid "Payment Level"
+msgstr ""
+
+#: waeup/futminna/students/interfaces.py:399
+msgid "Matriculation Number"
+msgstr ""
+
+#: waeup/futminna/students/interfaces.py:44
+#: waeup/futminna/students/interfaces.py:390
+msgid "Registration Number"
+msgstr ""
+
+#: waeup/futminna/students/interfaces.py:60
+msgid "Unmarried"
+msgstr ""
+
+#: waeup/futminna/students/interfaces.py:61
+msgid "Married"
+msgstr ""
+
+#: waeup/futminna/students/interfaces.py:87
+msgid "Deferent of Admission"
+msgstr ""
+
+#: waeup/futminna/students/interfaces.py:93
+#: waeup/futminna/students/interfaces.py:126
+#: waeup/futminna/students/interfaces.py:159
+msgid "Full Name"
+msgstr ""
+
+#: waeup/futminna/students/interfaces.py:98
+#: waeup/futminna/students/interfaces.py:131
+#: waeup/futminna/students/interfaces.py:164
+msgid "Exam Number"
+msgstr ""
+
+#: waeup/futminna/students/utils.py:108
+msgid "Amount could not be determined."
+msgstr ""
+
+#: waeup/futminna/students/utils.py:115
+msgid "This type of payment has already been made."
+msgstr ""
+
+#: waeup/futminna/students/utils.py:158
+msgid "First Sitting Record"
+msgstr ""
+
+#: waeup/futminna/students/utils.py:159
+msgid "Second Sitting Record"
+msgstr ""
+
+#: waeup/futminna/students/utils.py:160
+msgid "Advanced Level Record"
+msgstr ""
+
+#: waeup/futminna/students/utils.py:162
+msgid "Second Higher Education Record"
+msgstr ""
+
+#: waeup/futminna/students/utils.py:165
+msgid "Former FUTMinna Student"
+msgstr ""
+
+#: waeup/futminna/students/utils.py:69
+msgid "Session configuration object is not available."
+msgstr ""
+
+#: waeup/futminna/students/utils.py:82 waeup/futminna/students/utils.py:93
+msgid "Study course data are incomplete."
+msgstr ""
+
+#: waeup/futminna/students/viewlets.py:100
+msgid "Second Sitting Result Scan"
+msgstr ""
+
+#: waeup/futminna/students/viewlets.py:116
+#: waeup/futminna/students/viewlets.py:117
+#: waeup/futminna/students/viewlets.py:127
+msgid "Higher Qualification Result"
+msgstr ""
+
+#: waeup/futminna/students/viewlets.py:128
+msgid "Higher Qualification Result Scan"
+msgstr ""
+
+#: waeup/futminna/students/viewlets.py:144
+#: waeup/futminna/students/viewlets.py:145
+#: waeup/futminna/students/viewlets.py:155
+msgid "Second Higher Qualification Result"
+msgstr ""
+
+#: waeup/futminna/students/viewlets.py:156
+msgid "Second Higher Qualification Result Scan"
+msgstr ""
+
+#: waeup/futminna/students/viewlets.py:179
+#: waeup/futminna/students/viewlets.py:180
+#: waeup/futminna/students/viewlets.py:190
+msgid "Advanced Level Result"
+msgstr ""
+
+#: waeup/futminna/students/viewlets.py:191
+msgid "Advanced Level Result Scan"
+msgstr ""
+
+#: waeup/futminna/students/viewlets.py:207
+#: waeup/futminna/students/viewlets.py:208
+#: waeup/futminna/students/viewlets.py:218
+msgid "Certificate"
+msgstr ""
+
+#: waeup/futminna/students/viewlets.py:219
+msgid "Certificate Scan"
+msgstr ""
+
+#: waeup/futminna/students/viewlets.py:235
+#: waeup/futminna/students/viewlets.py:236
+#: waeup/futminna/students/viewlets.py:246
+msgid "Second Certificate"
+msgstr ""
+
+#: waeup/futminna/students/viewlets.py:247
+msgid "Second Certificate Scan"
+msgstr ""
+
+#: waeup/futminna/students/viewlets.py:270
+#: waeup/futminna/students/viewlets.py:271
+#: waeup/futminna/students/viewlets.py:281
+msgid "Third Certificate"
+msgstr ""
+
+#: waeup/futminna/students/viewlets.py:282
+msgid "Third Certificate Scan"
+msgstr ""
+
+#: waeup/futminna/students/viewlets.py:305
+#: waeup/futminna/students/viewlets.py:306
+#: waeup/futminna/students/viewlets.py:316
+msgid "Evidence of Name"
+msgstr ""
+
+#: waeup/futminna/students/viewlets.py:317
+msgid "Evidence of Name Scan"
+msgstr ""
+
+#: waeup/futminna/students/viewlets.py:32
+#: waeup/futminna/students/viewlets.py:43
+msgid "LGA Identification"
+msgstr ""
+
+#: waeup/futminna/students/viewlets.py:33
+#: waeup/futminna/students/viewlets.py:44
+msgid "LGA Identification Scan"
+msgstr ""
+
+#: waeup/futminna/students/viewlets.py:333
+#: waeup/futminna/students/viewlets.py:334
+#: waeup/futminna/students/viewlets.py:344
+msgid "Result Statement"
+msgstr ""
+
+#: waeup/futminna/students/viewlets.py:345
+msgid "Result Statement Scan"
+msgstr ""
+
+#: waeup/futminna/students/viewlets.py:361
+#: waeup/futminna/students/viewlets.py:362
+#: waeup/futminna/students/viewlets.py:372
+msgid "Referee Letter"
+msgstr ""
+
+#: waeup/futminna/students/viewlets.py:373
+msgid "Referee Letter Scan"
+msgstr ""
+
+#: waeup/futminna/students/viewlets.py:389
+#: waeup/futminna/students/viewlets.py:390
+#: waeup/futminna/students/viewlets.py:400
+msgid "Second Referee Letter"
+msgstr ""
+
+#: waeup/futminna/students/viewlets.py:401
+msgid "Second Referee Letter Scan"
+msgstr ""
+
+#: waeup/futminna/students/viewlets.py:424
+#: waeup/futminna/students/viewlets.py:425
+#: waeup/futminna/students/viewlets.py:435
+msgid "Third Referee Letter"
+msgstr ""
+
+#: waeup/futminna/students/viewlets.py:436
+msgid "Third Referee Letter Scan"
+msgstr ""
+
+#: waeup/futminna/students/viewlets.py:459
+#: waeup/futminna/students/viewlets.py:460
+#: waeup/futminna/students/viewlets.py:470
+msgid "Statutory Declaration of Good Conduct"
+msgstr ""
+
+#: waeup/futminna/students/viewlets.py:471
+msgid "Statutory Declaration of Good Conduct Scan"
+msgstr ""
+
+#: waeup/futminna/students/viewlets.py:487
+#: waeup/futminna/students/viewlets.py:488
+#: waeup/futminna/students/viewlets.py:498
+msgid "Letter of Admission"
+msgstr ""
+
+#: waeup/futminna/students/viewlets.py:499
+msgid "Letter of Admission Scan"
+msgstr ""
+
+#: waeup/futminna/students/viewlets.py:60
+#: waeup/futminna/students/viewlets.py:61
+#: waeup/futminna/students/viewlets.py:71
+msgid "First Sitting Result"
+msgstr ""
+
+#: waeup/futminna/students/viewlets.py:72
+msgid "First Sitting Result Scan"
+msgstr ""
+
+#: waeup/futminna/students/viewlets.py:88
+#: waeup/futminna/students/viewlets.py:89
+#: waeup/futminna/students/viewlets.py:99
+msgid "Second Sitting Result"
+msgstr ""
+
+#: waeup/futminna/utils/utils.py:26
+msgid "Nigeria"
+msgstr ""
+
+#: waeup/futminna/utils/utils.py:27
+msgid "Germany"
+msgstr ""
+
+#: waeup/futminna/utils/utils.py:28
+msgid "United States"
+msgstr ""
+
+#: waeup/futminna/utils/utils.py:29
+msgid "Niger"
+msgstr ""
+
+#: waeup/futminna/utils/utils.py:30
+msgid "Benin"
+msgstr ""
+
+#: waeup/futminna/utils/utils.py:31
+msgid "Cameroon"
+msgstr ""
+
+#: waeup/futminna/utils/utils.py:32
+msgid "United Kingdom"
+msgstr ""
+
+#: waeup/futminna/utils/utils.py:33
+msgid "France"
+msgstr ""
Index: /main/waeup.futminna/tags/1.1/src/waeup/futminna/mail.zcml
===================================================================
--- /main/waeup.futminna/tags/1.1/src/waeup/futminna/mail.zcml	(revision 11490)
+++ /main/waeup.futminna/tags/1.1/src/waeup/futminna/mail.zcml	(revision 11490)
@@ -0,0 +1,82 @@
+<configure xmlns="http://namespaces.zope.org/zope"
+           xmlns:mail="http://namespaces.zope.org/mail">
+  <!--
+
+   SMTP Settings
+   *************
+
+   In here we define the mailers and mail deliveries we want to be
+   used by the portal.
+
+   They are set here (and not dynamically in the portal) to increase
+   security. Even portal users with all permissions cannot change mail
+   server credentials and related. You need filesystem access to
+   change/override the settings in here.
+
+   In the portal you can pick one of the deliveries for use with all
+   SMTP (aka mail) related functionality.
+
+   Each delivery (direct or queued) is bound to a certain mailer,
+   defined by a 'mail:smtpMailer' directive.
+
+   The smtpMailer directives define real mail hosts (local or remote)
+   where mail from the portal should be processed.
+
+   The 'mail:directDelivery' and 'mail:queuedDelivery' directives send
+   local mail to the mailer set in their 'mailer' attribute. While
+   directDelivery sends mail immediately when a request is finished
+   (see zope.sendmail for more info), queuedDelivery handles mail in a
+   background thread and sends mail independently from requests.
+
+   By default in Kofa we have a fake mailer activated, that does not
+   send real mail to the outside world.
+  -->
+
+  <!-- A mail server on localhost -->
+  <!-- Mail server definitions require the following attributes:
+
+        - name: (string) name to be used by deliveries
+
+       Mail server definitions allow the following additional attribs:
+
+        - hostname   (string) hostname or IP(?) of mail server to use
+                              ('localhost' by default)
+        - port       (int number) port to connect to SMTP mailer
+                              (25 by default)
+        - username   (string) Username to log in to mail server
+        - password   (string) Password to log in to mail server
+
+  -->
+  <mail:smtpMailer
+      name="smtp.mailserver"
+      hostname="localhost"
+      port="25"
+      />
+
+  <!-- The mail deliveries -->
+  <!-- Mail deliveries require the following attributes:
+
+        - name:       (string) this string will appear in portal select
+                               boxes
+        - permission: (string) zope default perms only
+        - mailer:     (string) name of some mailer registered above or
+                               'smtp'
+        - queuePath:  (string) must exist and contain cur/, new/, and
+                               tmp/ dirs. Relative paths are relative
+                               to the directory this files lives in.
+
+   -->
+  <mail:queuedDelivery
+      name="Queued SMTP on mail server"
+      permission="zope.Public"
+      mailer="smtp.mailserver"
+      queuePath="../../../var/mailqueue"
+      />
+
+  <mail:directDelivery
+      name="Direct SMTP on mail server"
+      permission="zope.Public"
+      mailer="smtp.mailserver"
+      />
+
+</configure>
Index: /main/waeup.futminna/tags/1.1/src/waeup/futminna/meta.zcml
===================================================================
--- /main/waeup.futminna/tags/1.1/src/waeup/futminna/meta.zcml	(revision 11490)
+++ /main/waeup.futminna/tags/1.1/src/waeup/futminna/meta.zcml	(revision 11490)
@@ -0,0 +1,12 @@
+<configure
+    xmlns="http://namespaces.zope.org/zope"
+    xmlns:meta="http://namespaces.zope.org/meta"
+    xmlns:grok="http://namespaces.zope.org/grok">
+
+  <include package="grok" file="meta.zcml" />
+  <!-- include package="z3c.autoinclude" file="meta.zcml" / -->
+
+  <!-- Load the grokkers -->
+  <grok:grok package=".meta" />
+
+</configure>
Index: /main/waeup.futminna/tags/1.1/src/waeup/futminna/payments/__init__.py
===================================================================
--- /main/waeup.futminna/tags/1.1/src/waeup/futminna/payments/__init__.py	(revision 11490)
+++ /main/waeup.futminna/tags/1.1/src/waeup/futminna/payments/__init__.py	(revision 11490)
@@ -0,0 +1,3 @@
+"""This package contains everything regarding payments.
+"""
+# Make this a package.
Index: /main/waeup.futminna/tags/1.1/src/waeup/futminna/payments/interfaces.py
===================================================================
--- /main/waeup.futminna/tags/1.1/src/waeup/futminna/payments/interfaces.py	(revision 11490)
+++ /main/waeup.futminna/tags/1.1/src/waeup/futminna/payments/interfaces.py	(revision 11490)
@@ -0,0 +1,27 @@
+## $Id$
+##
+## Copyright (C) 2011 Uli Fouquet & Henrik Bettermann
+## 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., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+##
+from zope.interface import Attribute
+from zope import schema
+from kofacustom.nigeria.payments.interfaces import INigeriaOnlinePayment
+from waeup.futminna.interfaces import MessageFactory as _
+
+class ICustomOnlinePayment(INigeriaOnlinePayment):
+    """A payment via payment gateways.
+
+    """
+
Index: /main/waeup.futminna/tags/1.1/src/waeup/futminna/permissions.py
===================================================================
--- /main/waeup.futminna/tags/1.1/src/waeup/futminna/permissions.py	(revision 11490)
+++ /main/waeup.futminna/tags/1.1/src/waeup/futminna/permissions.py	(revision 11490)
@@ -0,0 +1,30 @@
+## $Id$
+##
+## Copyright (C) 2012 Uli Fouquet & Henrik Bettermann
+## 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., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+##
+import grok
+from waeup.kofa.permissions import CCOfficer
+
+
+class CRPUOfficer(CCOfficer):
+    """ Permissions of FUTMinna staff.
+
+    This is basically a copy of the the PortalManager. We exclude some
+    permissions by commenting them out.
+    """
+
+    grok.name('waeup.CCOfficer')
+    grok.title(u'FUTMinna Officer')
Index: /main/waeup.futminna/tags/1.1/src/waeup/futminna/students/__init__.py
===================================================================
--- /main/waeup.futminna/tags/1.1/src/waeup/futminna/students/__init__.py	(revision 11490)
+++ /main/waeup.futminna/tags/1.1/src/waeup/futminna/students/__init__.py	(revision 11490)
@@ -0,0 +1,1 @@
+# Make this a package.
Index: /main/waeup.futminna/tags/1.1/src/waeup/futminna/students/batching.py
===================================================================
--- /main/waeup.futminna/tags/1.1/src/waeup/futminna/students/batching.py	(revision 11490)
+++ /main/waeup.futminna/tags/1.1/src/waeup/futminna/students/batching.py	(revision 11490)
@@ -0,0 +1,44 @@
+## $Id$
+##
+## Copyright (C) 2012 Uli Fouquet & Henrik Bettermann
+## 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., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+##
+"""Batch processing components for student objects.
+
+Batch processors eat CSV files to add, update or remove large numbers
+of certain kinds of objects at once.
+
+Here we define the processors for students specific objects like
+students, studycourses, payment tickets and accommodation tickets.
+"""
+from waeup.futminna.students.interfaces import (
+    ICustomStudent, ICustomStudentUpdateByRegNo,
+    ICustomStudentUpdateByMatricNo,
+    ICustomStudentOnlinePayment
+    )
+from waeup.kofa.students.batching import (
+    StudentProcessor, StudentOnlinePaymentProcessor)
+
+class CustomStudentProcessor(StudentProcessor):
+    """A batch processor for ICustomStudent objects.
+    """
+    iface = ICustomStudent
+    iface_byregnumber = ICustomStudentUpdateByRegNo
+    iface_bymatricnumber = ICustomStudentUpdateByMatricNo
+
+class CustomStudentOnlinePaymentProcessor(StudentOnlinePaymentProcessor):
+    """A batch processor for ICustomStudentOnlinePayment objects.
+    """
+    iface = ICustomStudentOnlinePayment
Index: /main/waeup.futminna/tags/1.1/src/waeup/futminna/students/browser.py
===================================================================
--- /main/waeup.futminna/tags/1.1/src/waeup/futminna/students/browser.py	(revision 11490)
+++ /main/waeup.futminna/tags/1.1/src/waeup/futminna/students/browser.py	(revision 11490)
@@ -0,0 +1,61 @@
+## $Id$
+##
+## Copyright (C) 2012 Uli Fouquet & Henrik Bettermann
+## 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., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+##
+import grok
+from zope.i18n import translate
+from waeup.kofa.widgets.datewidget import FriendlyDatetimeDisplayWidget
+from waeup.kofa.students.browser import BedTicketAddPage
+from kofacustom.nigeria.students.browser import (
+    NigeriaOnlinePaymentDisplayFormPage,
+    NigeriaOnlinePaymentAddFormPage,
+    NigeriaExportPDFPaymentSlipPage)
+from waeup.kofa.interfaces import MessageFactory as _
+
+from waeup.futminna.students.interfaces import ICustomStudentOnlinePayment
+
+class CustomOnlinePaymentDisplayFormPage(NigeriaOnlinePaymentDisplayFormPage):
+    """ Page to view an online payment ticket
+    """
+    grok.context(ICustomStudentOnlinePayment)
+    form_fields = grok.AutoFields(ICustomStudentOnlinePayment).omit(
+        'provider_amt', 'gateway_amt', 'thirdparty_amt', 'p_item')
+    form_fields[
+        'creation_date'].custom_widget = FriendlyDatetimeDisplayWidget('le')
+    form_fields[
+        'payment_date'].custom_widget = FriendlyDatetimeDisplayWidget('le')
+
+class CustomOnlinePaymentAddFormPage(NigeriaOnlinePaymentAddFormPage):
+    """ Page to add an online payment ticket
+    """
+    form_fields = grok.AutoFields(ICustomStudentOnlinePayment).select(
+        'p_category')
+
+class CustomExportPDFPaymentSlipPage(NigeriaExportPDFPaymentSlipPage):
+    """Deliver a PDF slip of the context.
+    """
+    grok.context(ICustomStudentOnlinePayment)
+    form_fields = grok.AutoFields(ICustomStudentOnlinePayment).omit(
+        'provider_amt', 'gateway_amt', 'thirdparty_amt', 'p_item')
+    form_fields['creation_date'].custom_widget = FriendlyDatetimeDisplayWidget('le')
+    form_fields['payment_date'].custom_widget = FriendlyDatetimeDisplayWidget('le')
+
+class CustomBedTicketAddPage(BedTicketAddPage):
+    """ Page to add an online payment ticket
+    """
+    buttonname = _('Create bed ticket')
+    notice = ''
+    with_ac = False
Index: /main/waeup.futminna/tags/1.1/src/waeup/futminna/students/interfaces.py
===================================================================
--- /main/waeup.futminna/tags/1.1/src/waeup/futminna/students/interfaces.py	(revision 11490)
+++ /main/waeup.futminna/tags/1.1/src/waeup/futminna/students/interfaces.py	(revision 11490)
@@ -0,0 +1,100 @@
+## $Id$
+##
+## Copyright (C) 2012 Uli Fouquet & Henrik Bettermann
+## 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., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+##
+
+from zope import schema
+from kofacustom.nigeria.students.interfaces import (
+    INigeriaStudentBase, INigeriaUGStudentClearance, INigeriaPGStudentClearance,
+    INigeriaStudentPersonal, INigeriaStudentStudyLevel,
+    INigeriaStudentStudyCourse, INigeriaCourseTicket,
+    INigeriaStudentUpdateByRegNo, INigeriaStudentUpdateByMatricNo,
+    )
+from waeup.futminna.payments.interfaces import ICustomOnlinePayment
+from waeup.futminna.interfaces import MessageFactory as _
+
+class ICustomStudentBase(INigeriaStudentBase):
+    """Representation of student base data.
+
+    """
+
+class ICustomStudentPersonal(INigeriaStudentPersonal):
+    """Student personal data.
+
+    """
+
+class ICustomUGStudentClearance(INigeriaUGStudentClearance):
+    """Representation of ug student clearance data.
+
+    """
+
+class ICustomPGStudentClearance(INigeriaPGStudentClearance):
+    """Representation of pg student clearance data.
+
+    """
+
+
+class ICustomStudent(ICustomStudentBase,ICustomUGStudentClearance,
+    ICustomPGStudentClearance,ICustomStudentPersonal):
+    """Representation of a student.
+
+    """
+
+class ICustomStudentStudyCourse(INigeriaStudentStudyCourse):
+    """A container for student study levels.
+
+    """
+
+class ICustomStudentStudyLevel(INigeriaStudentStudyLevel):
+    """A container for course tickets.
+
+    """
+
+class ICustomStudentOnlinePayment(ICustomOnlinePayment):
+    """A student payment via payment gateways.
+
+    This Interface does not inherit from IStudentOnlinePayment.
+    Thus all fields from IStudentOnlinePayment have to be repeated here.
+    """
+
+    p_current = schema.Bool(
+        title = _(u'Current Session Payment'),
+        default = True,
+        required = False,
+        )
+
+    p_level = schema.Int(
+        title = _(u'Payment Level'),
+        required = False,
+        )
+
+ICustomStudentOnlinePayment['p_level'].order = ICustomStudentOnlinePayment[
+    'p_session'].order
+
+class ICustomCourseTicket(INigeriaCourseTicket):
+    """A course ticket.
+
+    """
+
+class ICustomStudentUpdateByRegNo(INigeriaStudentUpdateByRegNo):
+    """Representation of a student. Skip regular reg_number validation.
+
+    """
+
+class ICustomStudentUpdateByMatricNo(INigeriaStudentUpdateByMatricNo):
+    """Representation of a student. Skip regular matric_number validation.
+
+    """
Index: /main/waeup.futminna/tags/1.1/src/waeup/futminna/students/payments.py
===================================================================
--- /main/waeup.futminna/tags/1.1/src/waeup/futminna/students/payments.py	(revision 11490)
+++ /main/waeup.futminna/tags/1.1/src/waeup/futminna/students/payments.py	(revision 11490)
@@ -0,0 +1,60 @@
+## $Id$
+##
+## Copyright (C) 2011 Uli Fouquet & Henrik Bettermann
+## 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., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+##
+"""
+Student payment components.
+"""
+import grok
+from zope.component.interfaces import IFactory
+from zope.interface import implementedBy
+from waeup.kofa.students.interfaces import IStudentNavigation
+from waeup.kofa.students.payments import (
+    StudentOnlinePayment, StudentOnlinePaymentFactory)
+from waeup.kofa.utils.helpers import attrs_to_fields
+from waeup.futminna.students.interfaces import ICustomStudentOnlinePayment
+
+class CustomStudentOnlinePayment(StudentOnlinePayment):
+    """This is a custom online payment for students.
+
+    Since this class inherits from StudentOnlinePayment, it automatically
+    implements the interfaces of the parent class which means
+    all viewlets and views meant for StudentOnlinePayment
+    can also be accessed in the customized system.
+    """
+    grok.implements(ICustomStudentOnlinePayment, IStudentNavigation)
+    grok.provides(ICustomStudentOnlinePayment)
+
+    def __init__(self):
+        super(CustomStudentOnlinePayment, self).__init__()
+        return
+
+    @property
+    def student(self):
+        return self.__parent__.__parent__
+
+CustomStudentOnlinePayment = attrs_to_fields(
+    CustomStudentOnlinePayment, omit=['display_item'])
+
+class CustomStudentOnlinePaymentFactory(StudentOnlinePaymentFactory):
+    """A factory for student online payments.
+    """
+
+    def __call__(self, *args, **kw):
+        return CustomStudentOnlinePayment()
+
+    def getInterfaces(self):
+        return implementedBy(CustomStudentOnlinePayment)
Index: /main/waeup.futminna/tags/1.1/src/waeup/futminna/students/student.py
===================================================================
--- /main/waeup.futminna/tags/1.1/src/waeup/futminna/students/student.py	(revision 11490)
+++ /main/waeup.futminna/tags/1.1/src/waeup/futminna/students/student.py	(revision 11490)
@@ -0,0 +1,52 @@
+## $Id$
+##
+## Copyright (C) 2011 Uli Fouquet & Henrik Bettermann
+## 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., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+##
+"""
+Container for the various objects owned by students.
+"""
+import grok
+from zope.interface import implementedBy
+from waeup.kofa.utils.helpers import attrs_to_fields
+from waeup.kofa.students.student import StudentFactory
+from waeup.kofa.students.interfaces import IStudentNavigation
+from kofacustom.nigeria.students.student import NigeriaStudent
+from waeup.futminna.students.interfaces import ICustomStudent
+
+
+class CustomStudent(NigeriaStudent):
+    """This is a student container for the various objects
+    owned by students.
+    """
+    grok.implements(ICustomStudent, IStudentNavigation)
+    grok.provides(ICustomStudent)
+
+
+# Set all attributes of Student required in IStudent as field
+# properties. Doing this, we do not have to set initial attributes
+# ourselves and as a bonus we get free validation when an attribute is
+# set.
+CustomStudent = attrs_to_fields(CustomStudent)
+
+class CustomStudentFactory(StudentFactory):
+    """A factory for students.
+    """
+
+    def __call__(self, *args, **kw):
+        return CustomStudent()
+
+    def getInterfaces(self):
+        return implementedBy(CustomStudent)
Index: /main/waeup.futminna/tags/1.1/src/waeup/futminna/students/studycourse.py
===================================================================
--- /main/waeup.futminna/tags/1.1/src/waeup/futminna/students/studycourse.py	(revision 11490)
+++ /main/waeup.futminna/tags/1.1/src/waeup/futminna/students/studycourse.py	(revision 11490)
@@ -0,0 +1,47 @@
+## $Id$
+##
+## Copyright (C) 2012 Uli Fouquet & Henrik Bettermann
+## 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., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+##
+"""
+Container which holds the data of the student study courses
+and contains the (student) study level objects.
+"""
+import grok
+from zope.interface import implementedBy
+from waeup.kofa.students.studycourse import StudentStudyCourseFactory
+from waeup.kofa.utils.helpers import attrs_to_fields
+from waeup.kofa.students.interfaces import IStudentNavigation
+from waeup.kofa.students.workflow import CLEARED, RETURNING, PAID
+from kofacustom.nigeria.students.studycourse import NigeriaStudentStudyCourse
+from waeup.futminna.students.interfaces import ICustomStudentStudyCourse
+
+class CustomStudentStudyCourse(NigeriaStudentStudyCourse):
+    """This is a container for study levels.
+    """
+    grok.implements(ICustomStudentStudyCourse, IStudentNavigation)
+    grok.provides(ICustomStudentStudyCourse)
+
+CustomStudentStudyCourse = attrs_to_fields(CustomStudentStudyCourse)
+
+class CustomStudentStudyCourseFactory(StudentStudyCourseFactory):
+    """A factory for student study courses.
+    """
+
+    def __call__(self, *args, **kw):
+        return CustomStudentStudyCourse()
+
+    def getInterfaces(self):
+        return implementedBy(CustomStudentStudyCourse)
Index: /main/waeup.futminna/tags/1.1/src/waeup/futminna/students/studylevel.py
===================================================================
--- /main/waeup.futminna/tags/1.1/src/waeup/futminna/students/studylevel.py	(revision 11490)
+++ /main/waeup.futminna/tags/1.1/src/waeup/futminna/students/studylevel.py	(revision 11490)
@@ -0,0 +1,80 @@
+## $Id$
+##
+## Copyright (C) 2012 Uli Fouquet & Henrik Bettermann
+## 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., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+##
+"""
+Container which holds the data of a student study level
+and contains the course tickets.
+"""
+import grok
+from zope.component.interfaces import IFactory
+from zope.interface import implementedBy
+from waeup.kofa.utils.helpers import attrs_to_fields
+from waeup.kofa.students.studylevel import (
+    StudentStudyLevel, CourseTicket,
+    CourseTicketFactory, StudentStudyLevelFactory)
+from waeup.kofa.students.interfaces import IStudentNavigation
+from waeup.futminna.students.interfaces import (
+    ICustomStudentStudyLevel, ICustomCourseTicket)
+
+
+class CustomStudentStudyLevel(StudentStudyLevel):
+    """This is a container for course tickets.
+    """
+    grok.implements(ICustomStudentStudyLevel, IStudentNavigation)
+    grok.provides(ICustomStudentStudyLevel)
+
+CustomStudentStudyLevel = attrs_to_fields(
+    CustomStudentStudyLevel, omit=['total_credits', 'gpa'])
+
+class CustomStudentStudyLevelFactory(StudentStudyLevelFactory):
+    """A factory for student study levels.
+    """
+
+    def __call__(self, *args, **kw):
+        return CustomStudentStudyLevel()
+
+    def getInterfaces(self):
+        return implementedBy(CustomStudentStudyLevel)
+
+class CustomCourseTicket(CourseTicket):
+    """This is a course ticket which allows the
+    student to attend the course. Lecturers will enter scores and more at
+    the end of the term.
+
+    A course ticket contains a copy of the original course and
+    course referrer data. If the courses and/or their referrers are removed, the
+    corresponding tickets remain unchanged. So we do not need any event
+    triggered actions on course tickets.
+    """
+    grok.implements(ICustomCourseTicket, IStudentNavigation)
+    grok.provides(ICustomCourseTicket)
+
+    @property
+    def removable_by_student(self):
+        return True
+
+CustomCourseTicket = attrs_to_fields(CustomCourseTicket)
+
+class CustomCourseTicketFactory(CourseTicketFactory):
+    """A factory for student study levels.
+    """
+
+    def __call__(self, *args, **kw):
+        return CustomCourseTicket()
+
+    def getInterfaces(self):
+        return implementedBy(CustomCourseTicket)
Index: /main/waeup.futminna/tags/1.1/src/waeup/futminna/students/tests/__init__.py
===================================================================
--- /main/waeup.futminna/tags/1.1/src/waeup/futminna/students/tests/__init__.py	(revision 11490)
+++ /main/waeup.futminna/tags/1.1/src/waeup/futminna/students/tests/__init__.py	(revision 11490)
@@ -0,0 +1,1 @@
+# Make this a package.
Index: /main/waeup.futminna/tags/1.1/src/waeup/futminna/students/tests/sample_student_data.csv
===================================================================
--- /main/waeup.futminna/tags/1.1/src/waeup/futminna/students/tests/sample_student_data.csv	(revision 11490)
+++ /main/waeup.futminna/tags/1.1/src/waeup/futminna/students/tests/sample_student_data.csv	(revision 11490)
@@ -0,0 +1,4 @@
+firstname,lastname,reg_number,date_of_birth,matric_number,email,phone,sex
+Aaren,Pieri,1,,100000,aa@aa.ng,1234,m
+Aaren,Finau,2,,100001,aa@aa.ng,1234,m
+Aaren,Berson,3,,100002,aa@aa.ng,1234,m
Index: /main/waeup.futminna/tags/1.1/src/waeup/futminna/students/tests/test_browser.py
===================================================================
--- /main/waeup.futminna/tags/1.1/src/waeup/futminna/students/tests/test_browser.py	(revision 11490)
+++ /main/waeup.futminna/tags/1.1/src/waeup/futminna/students/tests/test_browser.py	(revision 11490)
@@ -0,0 +1,305 @@
+## $Id$
+##
+## Copyright (C) 2011 Uli Fouquet & Henrik Bettermann
+## 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., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+##
+import os
+import shutil
+import tempfile
+from StringIO import StringIO
+from hurry.workflow.interfaces import IWorkflowState
+from zope.component.hooks import setSite, clearSite
+from zope.component import getUtility, createObject
+from zope.interface import verify
+from waeup.kofa.app import University
+from waeup.kofa.university.faculty import Faculty
+from waeup.kofa.university.department import Department
+from waeup.kofa.students.tests.test_browser import StudentsFullSetup
+from waeup.kofa.students.accommodation import BedTicket
+from waeup.kofa.testing import FunctionalTestCase
+from waeup.kofa.interfaces import (
+    IExtFileStore, IFileStoreNameChooser)
+from waeup.kofa.students.interfaces import IStudentsUtils
+from waeup.kofa.hostels.hostel import Bed, NOT_OCCUPIED
+from waeup.futminna.testing import FunctionalLayer
+
+
+class StudentProcessorTest(FunctionalTestCase):
+    """Perform some batching tests.
+    """
+
+    layer = FunctionalLayer
+
+    def setUp(self):
+        super(StudentProcessorTest, self).setUp()
+        # Setup a sample site for each test
+        app = University()
+        self.dc_root = tempfile.mkdtemp()
+        app['datacenter'].setStoragePath(self.dc_root)
+
+        # Prepopulate the ZODB...
+        self.getRootFolder()['app'] = app
+        # we add the site immediately after creation to the
+        # ZODB. Catalogs and other local utilities are not setup
+        # before that step.
+        self.app = self.getRootFolder()['app']
+        # Set site here. Some of the following setup code might need
+        # to access grok.getSite() and should get our new app then
+        setSite(app)
+
+
+    def tearDown(self):
+        super(StudentProcessorTest, self).tearDown()
+        shutil.rmtree(self.workdir)
+        shutil.rmtree(self.dc_root)
+        clearSite()
+        return
+
+class StudentUITests(StudentsFullSetup):
+    """Tests for customized student class views and pages
+    """
+
+    layer = FunctionalLayer
+
+    def setUp(self):
+        super(StudentUITests, self).setUp()
+
+        # Create SSE faculty with certificate
+        self.app['faculties']['SSE'] = Faculty(code='SSE')
+        self.app['faculties']['SSE']['dep1'] = Department(code='dep1')
+        self.certificate2 = createObject('waeup.Certificate')
+        self.certificate2.code = u'CERT2'
+        self.certificate2.application_category = 'basic'
+        self.certificate2.study_mode = 'ug_ft'
+        self.certificate2.start_level = 100
+        self.certificate2.end_level = 300
+        self.app['faculties']['SSE']['dep1'].certificates.addCertificate(
+            self.certificate2)
+        # Create EET faculty with certificate
+        self.app['faculties']['EET'] = Faculty(code='EET')
+        self.app['faculties']['EET']['dep1'] = Department(code='dep1')
+        self.certificate3 = createObject('waeup.Certificate')
+        self.certificate3.code = u'CERT3'
+        self.certificate3.application_category = 'basic'
+        self.certificate3.study_mode = 'ug_ft'
+        self.certificate3.start_level = 100
+        self.certificate3.end_level = 300
+        self.app['faculties']['EET']['dep1'].certificates.addCertificate(
+            self.certificate3)
+        # Set study course attributes of test student
+        self.student['studycourse'].certificate = self.certificate2
+        self.student['studycourse'].current_session = 2004
+        self.student['studycourse'].entry_session = 2004
+        self.student['studycourse'].current_verdict = 'A'
+        self.student['studycourse'].current_level = 100
+        # Add sse bed
+        bed = Bed()
+        bed.bed_id = u'hall-1_A_101_C'
+        bed.bed_number = 2
+        bed.owner = NOT_OCCUPIED
+        bed.bed_type = u'sse_male_fr'
+        self.app['hostels']['hall-1'].addBed(bed)
+
+    def test_get_returning_data(self):
+        # Student is in level 100, session 2004 with verdict A
+        utils = getUtility(IStudentsUtils)
+        self.assertEqual(utils.getReturningData(self.student),(2005, 200))
+        self.student['studycourse'].current_verdict = 'C'
+        self.assertEqual(utils.getReturningData(self.student),(2005, 110))
+        self.student['studycourse'].current_verdict = 'D'
+        self.assertEqual(utils.getReturningData(self.student),(2005, 100))
+        return
+
+    def test_set_payment_details(self):
+        self.app['configuration']['2004'].gown_fee = 150.0
+        self.app['configuration']['2004'].transfer_fee = 90.0
+        self.app['configuration']['2004'].booking_fee = 150.0
+        self.app['configuration']['2004'].maint_fee = 180.0
+        self.app['configuration']['2004'].clearance_fee = 120.0
+        utils = getUtility(IStudentsUtils)
+
+        error, payment = utils.setPaymentDetails('schoolfee',self.student)
+        self.assertEqual(payment, None)
+        self.assertEqual(error, u'Amount could not be determined.')
+
+        self.student.nationality = u'NG'
+
+        IWorkflowState(self.student).setState('cleared')
+        error, payment = utils.setPaymentDetails('schoolfee',self.student)
+        self.assertEqual(payment.p_level, 100)
+        self.assertEqual(payment.p_session, 2004)
+        self.assertEqual(payment.amount_auth, 37000.0)
+        self.assertEqual(payment.p_item, u'CERT2')
+        self.assertEqual(error, None)
+
+        self.certificate2.study_mode = 'pg_ft'
+        error, payment = utils.setPaymentDetails('schoolfee',self.student)
+        self.assertEqual(error, u'Amount could not be determined.')
+        self.certificate2.school_fee_1 = 876.55
+        error, payment = utils.setPaymentDetails('schoolfee',self.student)
+        self.assertEqual(payment.amount_auth, 876.55)
+
+        self.certificate2.study_mode = 'jm_ft'
+        error, payment = utils.setPaymentDetails('schoolfee',self.student)
+        self.assertEqual(payment.amount_auth, 72700.0)
+
+        IWorkflowState(self.student).setState('returning')
+        error, payment = utils.setPaymentDetails('schoolfee',self.student)
+        # Uups, we forgot to add a session configuration for next session
+        self.assertEqual('Session configuration object is not available.', error)
+        configuration = createObject('waeup.SessionConfiguration')
+        configuration.academic_session = 2005
+        self.app['configuration'].addSessionConfiguration(configuration)
+
+        error, payment = utils.setPaymentDetails('schoolfee',self.student)
+        self.assertEqual(payment.p_level, 200)
+        self.assertEqual(payment.p_session, 2005)
+        self.assertEqual(payment.amount_auth, 37000.0)
+        self.assertEqual(payment.p_item, u'CERT2')
+        self.assertEqual(error, None)
+
+        self.certificate2.study_mode = 'ug_ft'
+        error, payment = utils.setPaymentDetails('schoolfee',self.student)
+        self.assertEqual(payment.amount_auth, 20000.0)
+
+        # Penalty fee is taken into consideration
+        self.app['configuration']['2005'].penalty_ug = 9999.0
+        self.app['configuration']['2005'].penalty_pg = 9999.0
+        error, payment = utils.setPaymentDetails('schoolfee',self.student)
+        self.assertEqual(error, u'School fee payment is disabled.')
+        self.app['configuration']['2005'].penalty_ug = 3000.0
+        error, payment = utils.setPaymentDetails('schoolfee',self.student)
+        self.assertEqual(payment.p_level, 200)
+        self.assertEqual(payment.p_session, 2005)
+        self.assertEqual(payment.amount_auth, 23000.0)
+        self.assertEqual(payment.p_item, u'CERT2')
+        self.assertEqual(error, None)
+
+        error, payment = utils.setPaymentDetails('schoolfee',self.student, 2004, 100)
+        self.assertEqual(error, u'Previous session payment not yet implemented.')
+
+        self.app['configuration']['2004'].clearance_fee = 20000.0
+        error, payment = utils.setPaymentDetails('clearance',self.student)
+        self.assertEqual(payment.p_level, 100)
+        self.assertEqual(payment.p_session, 2004)
+        self.assertEqual(payment.amount_auth, 20000.0)
+        self.assertEqual(payment.p_item, u'CERT2')
+        self.assertEqual(error, None)
+
+        error, payment = utils.setPaymentDetails('hostel_maintenance',self.student)
+        self.assertEqual(error, 'You have not yet booked accommodation.')
+        bedticket = BedTicket()
+        bedticket.booking_session = 2004
+        bedticket.bed_type = u'any bed type'
+        bedticket.bed = self.app['hostels']['hall-1']['hall-1_A_101_A']
+        bedticket.bed_coordinates = u'My bed coordinates'
+        self.student['accommodation'].addBedTicket(bedticket)
+        error, payment = utils.setPaymentDetails('hostel_maintenance',self.student)
+        self.assertEqual(payment.p_level, 100)
+        self.assertEqual(payment.p_session, 2004)
+        self.assertEqual(payment.amount_auth, 10000.0)
+        self.assertEqual(payment.p_item, u'My bed coordinates')
+        self.assertEqual(error, None)
+
+        self.student['studycourse'].certificate = self.certificate3
+        error, payment = utils.setPaymentDetails('hostel_maintenance',self.student)
+        self.assertEqual(payment.p_level, 100)
+        self.assertEqual(payment.p_session, 2004)
+        self.assertEqual(payment.amount_auth, 12000.0)
+        self.assertEqual(payment.p_item, u'My bed coordinates')
+        self.assertEqual(error, None)
+
+        bedticket.bed.bed_id = u'block-h_anything'
+        error, payment = utils.setPaymentDetails('hostel_maintenance',self.student)
+        self.assertEqual(payment.p_level, 100)
+        self.assertEqual(payment.p_session, 2004)
+        self.assertEqual(payment.amount_auth, 15000.0)
+        self.assertEqual(payment.p_item, u'My bed coordinates')
+        self.assertEqual(error, None)
+
+        self.app['hostels'].accommodation_session = 2009
+        error, payment = utils.setPaymentDetails('hostel_maintenance',self.student)
+        self.assertEqual(error,
+            'Current session does not match accommodation session.')
+        self.assertEqual(payment, None)
+        return
+
+    def test_get_accommodation_details(self):
+        self.app['configuration']['2004'].gown_fee = 150.0
+        self.app['configuration']['2004'].transfer_fee = 90.0
+        self.app['configuration']['2004'].booking_fee = 150.0
+        self.app['configuration']['2004'].maint_fee = 180.0
+        self.app['configuration']['2004'].clearance_fee = 120.0
+        utils = getUtility(IStudentsUtils)
+
+        details = utils.getAccommodationDetails(self.student)
+        self.assertEqual(details['bt'], u'sse_male_fr')
+
+    def test_student_accommodation(self):
+        # Login
+        self.browser.open(self.login_path)
+        self.browser.getControl(name="form.login").value = self.student_id
+        self.browser.getControl(name="form.password").value = 'spwd'
+        self.browser.getControl("Login").click()
+
+        # Students can book accommodation without AC ...
+        self.browser.open(self.acco_path)
+        IWorkflowState(self.student).setState('admitted')
+        self.browser.getLink("Book accommodation").click()
+        self.assertFalse('Activation Code:' in self.browser.contents)
+        self.browser.getControl("Create bed ticket").click()
+        # Bed is randomly selected but, since there is only
+        # one bed for this student, we know that ...
+        self.assertMatches('...Hall 1, Block A, Room 101, Bed C...',
+                           self.browser.contents)
+        return
+
+    def test_student_payments(self):
+        # Login
+        IWorkflowState(self.student).setState('returning')
+        self.browser.open(self.login_path)
+        self.browser.getControl(name="form.login").value = self.student_id
+        self.browser.getControl(name="form.password").value = 'spwd'
+        self.browser.getControl("Login").click()
+        self.browser.open(self.student_path + '/payments')
+        self.assertTrue(
+          'Add current session payment ticket' in self.browser.contents)
+        self.assertFalse(
+          'Add previous session payment ticket' in self.browser.contents)
+        return
+
+    def test_student_course_registration(self):
+        IWorkflowState(self.student).setState('school fee paid')
+        self.student['studycourse'].certificate = self.certificate
+        self.browser.open(self.login_path)
+        self.browser.getControl(name="form.login").value = self.student_id
+        self.browser.getControl(name="form.password").value = 'spwd'
+        self.browser.getControl("Login").click()
+        self.browser.getLink("Study Course").click()
+        self.browser.getLink("Add course list").click()
+        self.assertMatches('...Add current level 100 (Year 1)...',
+                           self.browser.contents)
+        self.browser.getControl("Create course list now").click()
+        # A level with one course ticket was created
+        self.assertEqual(self.student['studycourse']['100'].number_of_tickets, 1)
+        # Even if course is mandatory, students can remove the course
+        self.student['studycourse']['100']['COURSE1'].mandatory = True
+        self.browser.getLink("100").click()
+        self.browser.getLink("Edit course list").click()
+        ctrl = self.browser.getControl(name='val_id')
+        ctrl.getControl(value='COURSE1').selected = True
+        self.browser.getControl("Remove selected", index=0).click()
+        self.assertTrue('Successfully removed' in self.browser.contents)
+        return
Index: /main/waeup.futminna/tags/1.1/src/waeup/futminna/students/tests/test_student.py
===================================================================
--- /main/waeup.futminna/tags/1.1/src/waeup/futminna/students/tests/test_student.py	(revision 11490)
+++ /main/waeup.futminna/tags/1.1/src/waeup/futminna/students/tests/test_student.py	(revision 11490)
@@ -0,0 +1,127 @@
+## $Id$
+##
+## Copyright (C) 2011 Uli Fouquet & Henrik Bettermann
+## 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., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+##
+"""Tests for students and related.
+"""
+from datetime import tzinfo
+from zope.component.interfaces import IFactory
+from zope.interface import verify
+from waeup.kofa.testing import FunctionalTestCase
+from waeup.futminna.students.student import CustomStudent, CustomStudentFactory
+from waeup.futminna.students.studycourse import (
+    CustomStudentStudyCourse, CustomStudentStudyCourseFactory)
+from waeup.futminna.students.studylevel import (
+    CustomStudentStudyLevel, CustomCourseTicket,
+    CustomStudentStudyLevelFactory,
+    CustomCourseTicketFactory)
+from waeup.futminna.students.interfaces import (
+    ICustomStudent, ICustomStudentStudyCourse,
+    ICustomStudentStudyLevel, ICustomCourseTicket)
+from waeup.futminna.testing import FunctionalLayer
+
+
+class CustomStudentFactoryTest(FunctionalTestCase):
+
+    layer = FunctionalLayer
+
+    def setUp(self):
+        super(CustomStudentFactoryTest, self).setUp()
+        self.factory = CustomStudentFactory()
+
+    def tearDown(self):
+        super(CustomStudentFactoryTest, self).tearDown()
+
+    def test_interfaces(self):
+        verify.verifyClass(IFactory, CustomStudentFactory)
+        verify.verifyObject(IFactory, self.factory)
+
+    def test_factory(self):
+        obj = self.factory()
+        assert isinstance(obj, CustomStudent)
+
+    def test_getInterfaces(self):
+        implemented_by = self.factory.getInterfaces()
+        assert implemented_by.isOrExtends(ICustomStudent)
+
+class CustomStudentStudyCourseFactoryTest(FunctionalTestCase):
+
+    layer = FunctionalLayer
+
+    def setUp(self):
+        super(CustomStudentStudyCourseFactoryTest, self).setUp()
+        self.factory = CustomStudentStudyCourseFactory()
+
+    def tearDown(self):
+        super(CustomStudentStudyCourseFactoryTest, self).tearDown()
+
+    def test_interfaces(self):
+        verify.verifyClass(IFactory, CustomStudentStudyCourseFactory)
+        verify.verifyObject(IFactory, self.factory)
+
+    def test_factory(self):
+        obj = self.factory()
+        assert isinstance(obj, CustomStudentStudyCourse)
+
+    def test_getInterfaces(self):
+        implemented_by = self.factory.getInterfaces()
+        assert implemented_by.isOrExtends(ICustomStudentStudyCourse)
+
+class CustomStudentStudyLevelFactoryTest(FunctionalTestCase):
+
+    layer = FunctionalLayer
+
+    def setUp(self):
+        super(CustomStudentStudyLevelFactoryTest, self).setUp()
+        self.factory = CustomStudentStudyLevelFactory()
+
+    def tearDown(self):
+        super(CustomStudentStudyLevelFactoryTest, self).tearDown()
+
+    def test_interfaces(self):
+        verify.verifyClass(IFactory, CustomStudentStudyLevelFactory)
+        verify.verifyObject(IFactory, self.factory)
+
+    def test_factory(self):
+        obj = self.factory()
+        assert isinstance(obj, CustomStudentStudyLevel)
+
+    def test_getInterfaces(self):
+        implemented_by = self.factory.getInterfaces()
+        assert implemented_by.isOrExtends(ICustomStudentStudyLevel)
+
+class CustomCourseTicketFactoryTest(FunctionalTestCase):
+
+    layer = FunctionalLayer
+
+    def setUp(self):
+        super(CustomCourseTicketFactoryTest, self).setUp()
+        self.factory = CustomCourseTicketFactory()
+
+    def tearDown(self):
+        super(CustomCourseTicketFactoryTest, self).tearDown()
+
+    def test_interfaces(self):
+        verify.verifyClass(IFactory, CustomCourseTicketFactory)
+        verify.verifyObject(IFactory, self.factory)
+
+    def test_factory(self):
+        obj = self.factory()
+        assert isinstance(obj, CustomCourseTicket)
+
+    def test_getInterfaces(self):
+        implemented_by = self.factory.getInterfaces()
+        assert implemented_by.isOrExtends(ICustomCourseTicket)
Index: /main/waeup.futminna/tags/1.1/src/waeup/futminna/students/utils.py
===================================================================
--- /main/waeup.futminna/tags/1.1/src/waeup/futminna/students/utils.py	(revision 11490)
+++ /main/waeup.futminna/tags/1.1/src/waeup/futminna/students/utils.py	(revision 11490)
@@ -0,0 +1,222 @@
+## $Id$
+##
+## Copyright (C) 2011 Uli Fouquet & Henrik Bettermann
+## 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., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+##
+import grok
+import random
+from time import time
+from zope.component import createObject
+from waeup.kofa.interfaces import CLEARED, RETURNING, PAID
+from kofacustom.nigeria.students.utils import NigeriaStudentsUtils
+from waeup.kofa.accesscodes import create_accesscode
+from waeup.futminna.interfaces import MessageFactory as _
+
+class CustomStudentsUtils(NigeriaStudentsUtils):
+    """A collection of customized methods.
+
+    """
+
+    def selectBed(self, available_beds):
+        """Randomly select a bed from a list of available beds.
+
+        """
+        return random.choice(available_beds)
+
+    def getReturningData(self, student):
+        """ This method defines what happens after school fee payment
+        of returning students depending on the student's senate verdict.
+        """
+        prev_level = student['studycourse'].current_level
+        cur_verdict = student['studycourse'].current_verdict
+        if cur_verdict in ('A','B','L','M','N','Z',):
+            # Successful student
+            new_level = divmod(int(prev_level),100)[0]*100 + 100
+        elif cur_verdict == 'C':
+            # Student on probation
+            new_level = int(prev_level) + 10
+        else:
+            # Student is somehow in an undefined state.
+            # Level has to be set manually.
+            new_level = prev_level
+        new_session = student['studycourse'].current_session + 1
+        return new_session, new_level
+
+    def setPaymentDetails(self, category, student,
+            previous_session=None, previous_level=None):
+        """Create Payment object and set the payment data of a student for
+        the payment category specified.
+
+        """
+        p_item = u''
+        amount = 0.0
+        if previous_session:
+            return _('Previous session payment not yet implemented.'), None
+        p_session = student['studycourse'].current_session
+        p_level = student['studycourse'].current_level
+        p_current = True
+        academic_session = self._getSessionConfiguration(p_session)
+        if academic_session == None:
+            return _(u'Session configuration object is not available.'), None
+        # Determine fee.
+        if category == 'schoolfee':
+            try:
+                certificate = student['studycourse'].certificate
+                p_item = certificate.code
+            except (AttributeError, TypeError):
+                return _('Study course data are incomplete.'), None
+            if student.is_postgrad:
+                if student.state == CLEARED:
+                    if student.is_foreigner:
+                        amount = getattr(certificate, 'school_fee_3', 0.0)
+                    else:
+                        amount = getattr(certificate, 'school_fee_1', 0.0)
+                elif student.state == RETURNING:
+                    if student.is_foreigner:
+                        amount = getattr(certificate, 'school_fee_4', 0.0)
+                    else:
+                        amount = getattr(certificate, 'school_fee_2', 0.0)
+            elif student.current_mode.endswith('_ft'):
+                # fresh remedial
+                if student.current_level == 10 and student.state == CLEARED:
+                    if student['studycourse'].entry_mode == 'rmd_ft':
+                        amount = 80200.0
+                    else:
+                        amount = 74200.0
+                # fresh
+                elif student.state == CLEARED:
+                    if student.current_mode == 'jm_ft':
+                        amount = 72700.0
+                    elif student.is_foreigner:
+                        amount = 131500.0
+                    else:
+                        amount = 37000.0 # School Fee reduced by 8000
+                # returning
+                elif student.state == RETURNING:
+                    if student.current_mode == 'jm_ft':
+                        amount = 37000.0
+                    elif student.is_foreigner:
+                        amount = 109500.0
+                    else:
+                        amount = 20000.0
+                else:
+                    amount = 0.0
+            if student.state == RETURNING:
+                # Override p_session and p_level
+                p_session, p_level = self.getReturningData(student)
+                academic_session = self._getSessionConfiguration(p_session)
+                if academic_session == None:
+                    return _(u'Session configuration object is not available.'), None
+        elif category == 'clearance':
+            try:
+                p_item = student['studycourse'].certificate.code
+            except (AttributeError, TypeError):
+                return _('Study course data are incomplete.'), None
+            amount = academic_session.clearance_fee
+            if amount and (student.faccode in [
+                'EET','ICT'] or student.depcode in ['ARC']):
+                amount += 5000.0
+        elif category == 'hostel_maintenance':
+            current_session = student['studycourse'].current_session
+            bedticket = student['accommodation'].get(str(current_session), None)
+            if bedticket is not None and bedticket.bed is not None:
+                p_item = bedticket.bed_coordinates
+            else:
+                return _(u'You have not yet booked accommodation.'), None
+            acc_details = self.getAccommodationDetails(student)
+            if current_session != acc_details['booking_session']:
+                return _(u'Current session does not match accommodation session.'), None
+            if bedticket.bed.bed_id.startswith('block-h'):
+                amount = 15000.0
+            elif student.current_level  in (100,200,300,400,500) and \
+                student.faccode in ('EET','SET','AAT','ICT','EMT'):
+                amount = 12000.0
+            else:
+                amount = 10000.0
+        elif category == 'bed_allocation':
+            p_item = self.getAccommodationDetails(student)['bt']
+            amount = academic_session.booking_fee
+        if category == 'schoolfee':
+            if (student.is_postgrad and
+                academic_session.penalty_pg == 9999.0) or \
+                (not student.is_postgrad and
+                academic_session.penalty_ug == 9999.0):
+                return _('School fee payment is disabled.'), None
+        if amount in (0.0, None):
+            return _('Amount could not be determined.'), None
+        for key in student['payments'].keys():
+            ticket = student['payments'][key]
+            if ticket.p_state == 'paid' and\
+               ticket.p_category == category and \
+               ticket.p_item == p_item and \
+               ticket.p_session == p_session:
+                  return _('This type of payment has already been made.'), None
+        # Add session specific penalty fee.
+        if category == 'schoolfee' and student.is_postgrad:
+            amount += academic_session.penalty_pg
+        elif category == 'schoolfee':
+            amount += academic_session.penalty_ug
+        if self._isPaymentDisabled(p_session, category, student):
+            return _('Payment temporarily disabled.'), None
+        payment = createObject(u'waeup.StudentOnlinePayment')
+        timestamp = ("%d" % int(time()*10000))[1:]
+        payment.p_id = "p%s" % timestamp
+        payment.p_category = category
+        payment.p_item = p_item
+        payment.p_session = p_session
+        payment.p_level = p_level
+        payment.p_current = p_current
+        payment.amount_auth = amount
+        return None, payment
+
+    def getAccommodationDetails(self, student):
+        """Determine the accommodation data of a student.
+        """
+        d = {}
+        d['error'] = u''
+        hostels = grok.getSite()['hostels']
+        d['booking_session'] = hostels.accommodation_session
+        d['allowed_states'] = hostels.accommodation_states
+        d['startdate'] = hostels.startdate
+        d['enddate'] = hostels.enddate
+        d['expired'] = hostels.expired
+        # Determine bed type
+        studycourse = student['studycourse']
+        certificate = getattr(studycourse,'certificate',None)
+        entry_session = studycourse.entry_session
+        current_level = studycourse.current_level
+        if None in (entry_session, current_level, certificate):
+            return d
+        end_level = certificate.end_level
+        if current_level == 10:
+            bt = 'pr'
+        elif entry_session == grok.getSite()['hostels'].accommodation_session:
+            bt = 'fr'
+        elif current_level >= end_level:
+            bt = 'fi'
+        else:
+            bt = 're'
+        sex = 'male'
+        if student.sex == 'f':
+            sex = 'female'
+        special_handling = 'regular'
+        if student.faccode == 'SSE':
+            special_handling = 'sse'
+        d['bt'] = u'%s_%s_%s' % (special_handling,sex,bt)
+        return d
+
+
+    # FUTMinna prefix
+    STUDENT_ID_PREFIX = u'M'
Index: /main/waeup.futminna/tags/1.1/src/waeup/futminna/students/viewlets.py
===================================================================
--- /main/waeup.futminna/tags/1.1/src/waeup/futminna/students/viewlets.py	(revision 11490)
+++ /main/waeup.futminna/tags/1.1/src/waeup/futminna/students/viewlets.py	(revision 11490)
@@ -0,0 +1,207 @@
+## $Id$
+##
+## Copyright (C) 2011 Uli Fouquet & Henrik Bettermann
+## 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., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+##
+
+import grok
+from waeup.kofa.students.viewlets import (
+    FileDisplay, FileUpload, Image)
+from waeup.kofa.students.browser import ExportPDFClearanceSlipPage
+from waeup.kofa.students.viewlets import (
+    AddPreviousPaymentActionButton, AddBalancePaymentActionButton)
+
+from kofacustom.nigeria.interfaces import MessageFactory as _
+
+
+class AddPreviousPaymentActionButton(AddPreviousPaymentActionButton):
+
+    @property
+    def target_url(self):
+        return ''
+
+class AddBalancePaymentActionButton(AddBalancePaymentActionButton):
+
+    @property
+    def target_url(self):
+        return ''
+
+# Accepted by Institution
+
+class AcceptedByInstitutionDisplay(FileDisplay):
+    """Accepted by Institution display viewlet.
+    """
+    grok.order(19)
+    label = _(u'Accepted by Institution')
+    title = _(u'Accepted by Institution')
+    download_name = u'acc_inst'
+
+class AcceptedByInstitutionSlip(AcceptedByInstitutionDisplay):
+    grok.view(ExportPDFClearanceSlipPage)
+
+class AcceptedByInstitutionUpload(FileUpload):
+    """Accepted by Institution upload viewlet.
+    """
+    grok.order(19)
+    label = _(u'Accepted by Institution')
+    title = _(u'Accepted by Institution Scan')
+    mus = 1024 * 150
+    download_name = u'acc_inst'
+
+class AcceptedByInstitutionImage(Image):
+    """Renders Accepted by Institution scan.
+    """
+    grok.name('acc_inst')
+    download_name = u'acc_inst'
+
+# Credential
+
+class CredentialDisplay(FileDisplay):
+    """Credential display viewlet.
+    """
+    grok.order(20)
+    label = _(u'Credential')
+    title = _(u'Credential')
+    download_name = u'cred'
+
+class CredentialSlip(CredentialDisplay):
+    grok.view(ExportPDFClearanceSlipPage)
+
+class CredentialUpload(FileUpload):
+    """Credential upload viewlet.
+    """
+    grok.order(20)
+    label = _(u'Credential')
+    title = _(u'Credential')
+    mus = 1024 * 150
+    download_name = u'cred'
+
+class CredentialImage(Image):
+    """Credential scan.
+    """
+    grok.name('cred')
+    download_name = u'cred'
+
+# Student Signature
+
+class StudentSignatureDisplay(FileDisplay):
+    """Student Signature display viewlet.
+    """
+    grok.order(21)
+    label = _(u'Student Signature')
+    title = _(u'Student Signature')
+    download_name = u'signature'
+
+class StudentSignatureSlip(StudentSignatureDisplay):
+    grok.view(ExportPDFClearanceSlipPage)
+
+class StudentSignatureUpload(FileUpload):
+    """Student Signature upload viewlet.
+    """
+    grok.order(21)
+    label = _(u'Student Signature')
+    title = _(u'Student Signature')
+    mus = 1024 * 150
+    download_name = u'signature'
+
+class StudentSignatureImage(Image):
+    """Student Signature scan.
+    """
+    grok.name('signature')
+    download_name = u'signature'
+
+# JAMB Letter
+
+class JAMBLetterDisplay(FileDisplay):
+    """JAMB Letter display viewlet.
+    """
+    grok.order(23)
+    label = _(u'JAMB Letter')
+    title = _(u'JAMB Letter')
+    download_name = u'jamb_let'
+
+class JAMBLetterSlip(JAMBLetterDisplay):
+    grok.view(ExportPDFClearanceSlipPage)
+
+class JAMBLetterUpload(FileUpload):
+    """JAMB Letter upload viewlet.
+    """
+    grok.order(23)
+    label = _(u'JAMB Letter')
+    title = _(u'JAMB Letter')
+    mus = 1024 * 150
+    download_name = u'jamb_let'
+
+class JAMBLetterImage(Image):
+    """JAMB Letter scan.
+    """
+    grok.name('jamb_let')
+    download_name = u'jamb_let'
+
+# JAMB Slip
+
+class JAMBSlipDisplay(FileDisplay):
+    """JAMB Slip display viewlet.
+    """
+    grok.order(24)
+    label = _(u'JAMB Slip')
+    title = _(u'JAMB Slip')
+    download_name = u'jamb_slip'
+
+class JAMBSlipSlip(JAMBSlipDisplay):
+    grok.view(ExportPDFClearanceSlipPage)
+
+class JAMBSlipUpload(FileUpload):
+    """JAMB Slip upload viewlet.
+    """
+    grok.order(24)
+    label = _(u'JAMB Slip')
+    title = _(u'JAMB Slip')
+    mus = 1024 * 150
+    download_name = u'jamb_slip'
+
+class JAMBSlipImage(Image):
+    """JAMB Slip scan.
+    """
+    grok.name('jamb_slip')
+    download_name = u'jamb_slip'
+
+# Age Declaration
+
+class AgeDeclarationDisplay(FileDisplay):
+    """Age Declaration display viewlet.
+    """
+    grok.order(25)
+    label = _(u'Age Declaration')
+    title = _(u'Age Declaration')
+    download_name = u'age_dec'
+
+class AgeDeclarationSlip(AgeDeclarationDisplay):
+    grok.view(ExportPDFClearanceSlipPage)
+
+class AgeDeclarationUpload(FileUpload):
+    """Age Declaration upload viewlet.
+    """
+    grok.order(25)
+    label = _(u'Age Declaration')
+    title = _(u'Age Declaration')
+    mus = 1024 * 150
+    download_name = u'age_dec'
+
+class AgeDeclarationImage(Image):
+    """Age Declaration scan.
+    """
+    grok.name('age_dec')
+    download_name = u'age_dec'
Index: /main/waeup.futminna/tags/1.1/src/waeup/futminna/testing.py
===================================================================
--- /main/waeup.futminna/tags/1.1/src/waeup/futminna/testing.py	(revision 11490)
+++ /main/waeup.futminna/tags/1.1/src/waeup/futminna/testing.py	(revision 11490)
@@ -0,0 +1,27 @@
+## $Id$
+##
+## Copyright (C) 2011 Uli Fouquet & Henrik Bettermann
+## 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., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+##
+"""Testing support for custom package.
+"""
+import os.path
+import waeup.futminna
+from zope.app.testing.functional import ZCMLLayer
+
+ftesting_zcml = os.path.join(
+    os.path.dirname(waeup.futminna.__file__), 'ftesting.zcml')
+FunctionalLayer = ZCMLLayer(ftesting_zcml, __name__, 'FunctionalLayer',
+                            allow_teardown=True)
Index: /main/waeup.futminna/tags/1.1/src/waeup/futminna/tests/__init__.py
===================================================================
--- /main/waeup.futminna/tags/1.1/src/waeup/futminna/tests/__init__.py	(revision 11490)
+++ /main/waeup.futminna/tags/1.1/src/waeup/futminna/tests/__init__.py	(revision 11490)
@@ -0,0 +1,2 @@
+# This is a package
+
Index: /main/waeup.futminna/tags/1.1/src/waeup/futminna/tests/test_configuration.py
===================================================================
--- /main/waeup.futminna/tags/1.1/src/waeup/futminna/tests/test_configuration.py	(revision 11490)
+++ /main/waeup.futminna/tags/1.1/src/waeup/futminna/tests/test_configuration.py	(revision 11490)
@@ -0,0 +1,76 @@
+## $Id$
+##
+## Copyright (C) 2011 Uli Fouquet & Henrik Bettermann
+## 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., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+##
+"""Tests for configuration containers and related.
+"""
+from zope.component.interfaces import IFactory
+from zope.interface import verify
+from waeup.kofa.testing import FunctionalTestCase
+from waeup.kofa.configuration import ConfigurationContainer
+from waeup.kofa.interfaces import IConfigurationContainer
+from waeup.kofa.tests.test_configuration import (
+    ConfigurationTest, SessionConfigurationFactoryTest)
+from waeup.futminna.configuration import (
+    CustomSessionConfiguration, CustomSessionConfigurationFactory)
+from waeup.futminna.interfaces import(
+    ICustomSessionConfiguration, ICustomSessionConfigurationAdd)
+from waeup.futminna.testing import FunctionalLayer
+
+class ConfigurationTest(ConfigurationTest):
+
+    layer = FunctionalLayer
+
+    def setUp(self):
+        super(ConfigurationTest, self).setUp()
+        self.confcontainer = ConfigurationContainer()
+        self.sessionconf = CustomSessionConfiguration()
+        return
+
+    #def tearDown(self):
+    #    super(ConfigurationTest, self).tearDown()
+    #    return
+
+    def test_interfaces(self):
+        #verify.verifyClass(IConfigurationContainer, ConfigurationContainer)
+        #verify.verifyObject(IConfigurationContainer, self.confcontainer)
+        verify.verifyClass(ICustomSessionConfiguration, CustomSessionConfiguration)
+        verify.verifyObject(ICustomSessionConfiguration, self.sessionconf)
+        verify.verifyClass(ICustomSessionConfigurationAdd, CustomSessionConfiguration)
+        verify.verifyObject(ICustomSessionConfigurationAdd, self.sessionconf)
+
+class SessionConfigurationFactoryTest(SessionConfigurationFactoryTest):
+
+    layer = FunctionalLayer
+
+    def setUp(self):
+        super(SessionConfigurationFactoryTest, self).setUp()
+        self.factory = CustomSessionConfigurationFactory()
+
+    #def tearDown(self):
+    #    super(SessionConfigurationFactoryTest, self).tearDown()
+
+    def test_interfaces(self):
+        verify.verifyClass(IFactory, CustomSessionConfigurationFactory)
+        verify.verifyObject(IFactory, self.factory)
+
+    def test_factory(self):
+        obj = self.factory()
+        assert isinstance(obj, CustomSessionConfiguration)
+
+    def test_getInterfaces(self):
+        implemented_by = self.factory.getInterfaces()
+        assert implemented_by.isOrExtends(ICustomSessionConfiguration)
Index: /main/waeup.futminna/tags/1.1/src/waeup/futminna/tests/test_datacenter.py
===================================================================
--- /main/waeup.futminna/tags/1.1/src/waeup/futminna/tests/test_datacenter.py	(revision 11490)
+++ /main/waeup.futminna/tags/1.1/src/waeup/futminna/tests/test_datacenter.py	(revision 11490)
@@ -0,0 +1,30 @@
+## $Id$
+##
+## Copyright (C) 2011 Uli Fouquet & Henrik Bettermann
+## 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., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+##
+from waeup.kofa.datacenter import DataCenter
+from waeup.kofa.testing import FunctionalTestCase
+from waeup.futminna.testing import FunctionalLayer
+
+
+class DatacenterTests(FunctionalTestCase):
+
+    layer = FunctionalLayer
+
+    def test_storage_path(self):
+        mydatacenter = DataCenter()
+        storagepath = mydatacenter.storage
+        self.assertTrue('/parts/test/datacenter' in storagepath)
Index: /main/waeup.futminna/tags/1.1/src/waeup/futminna/tests/test_smtp.py
===================================================================
--- /main/waeup.futminna/tags/1.1/src/waeup/futminna/tests/test_smtp.py	(revision 11490)
+++ /main/waeup.futminna/tags/1.1/src/waeup/futminna/tests/test_smtp.py	(revision 11490)
@@ -0,0 +1,129 @@
+# -*- coding: utf-8 -*-
+## $Id$
+##
+## Copyright (C) 2012 Uli Fouquet & Henrik Bettermann
+## 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., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+##
+# Tests for email-related components
+import base64
+import logging
+import tempfile
+import shutil
+import unittest
+from StringIO import StringIO
+from zope.component import getUtility
+from zope.component.hooks import setSite
+from zope.sendmail.interfaces import IMailDelivery
+from waeup.kofa.app import University
+from waeup.kofa.interfaces import IMailService
+from waeup.kofa.smtp import (
+    encode_header_item, encode_address, encode_body, FakeSMTPDelivery,
+    send_mail)
+from waeup.kofa.testing import FunctionalTestCase
+from waeup.futminna.testing import FunctionalLayer
+
+#
+# SMTP test config
+#
+
+# Also run tests that send mail to external servers?
+#   If you enable this, please make sure the external smtp hosts and receivers
+#   do exist really and are not bothered by being spammed by a test programme.
+EXTERNAL_MAIL_TESTS = False
+
+# Maybe existing receiver of externally sent mail. If this mail account
+# exists really, it might receive mail from the tests!
+EXTERNAL_MAIL_RECEIVER = 'existing_address@waeup.org'
+
+# Names of mail deliveries to use when external mail tests are enabled.
+#   See local mail.zcml for names of available deliveries.
+EXTERNAL_DIRECT_DELIVERY = 'Direct SMTP on mail server'
+EXTERNAL_QUEUED_DELIVERY = 'Queued SMTP on mail server'
+
+#
+# end of SMTP test config
+#
+
+def external_mail_test(func):
+    if not EXTERNAL_MAIL_TESTS:
+        myself = __file__
+        if myself.endswith('.pyc'):
+            myself = myself[:-2]
+        print "WARNING: external mail tests are skipped!"
+        print "WARNING: edit %s to enable them." % myself
+        return
+    return func
+
+class ExternalMailerTests(FunctionalTestCase):
+
+    layer = FunctionalLayer
+
+    def setUp(self):
+        super(ExternalMailerTests, self).setUp()
+        # Setup a sample site for each test
+        app = University()
+        self.dc_root = tempfile.mkdtemp()
+        app['datacenter'].setStoragePath(self.dc_root)
+
+        # Prepopulate the ZODB...
+        self.getRootFolder()['app'] = app
+        self.app = self.getRootFolder()['app']
+        return
+
+    def tearDown(self):
+        super(ExternalMailerTests, self).tearDown()
+        shutil.rmtree(self.dc_root)
+        return
+
+    def test_config_default_mailer(self):
+        # The default mailer set in config is 'no mailer'.
+        self.assertEqual(
+            getattr(self.app.get('configuration', None), 'smtp_mailer'),
+            u'No email service')
+        return
+
+    @external_mail_test
+    def test_send_direct_mail(self):
+        # send mail using direct mail delivery
+        self.app['configuration'].smtp_mailer = EXTERNAL_DIRECT_DELIVERY
+        setSite(self.app)
+        result = send_mail(
+            'test program', 'no-reply@waeup.org',
+            'test mail receiver', EXTERNAL_MAIL_RECEIVER,
+            'Test Mail from WAeUP Kofa',
+            'Hi from test mailer!\n\nRegards,\nTest Programme\n'
+            )
+        import transaction
+        transaction.commit() # The mail is really sent when transactions is
+                             # committed
+        self.assertTrue('@' in result)
+        return
+
+    @external_mail_test
+    def test_send_queued_mail(self):
+        # send mail using queued mail delivery
+        self.app['configuration'].smtp_mailer = EXTERNAL_QUEUED_DELIVERY
+        setSite(self.app)
+        result = send_mail(
+            'test program', 'no-reply@waeup.org',
+            'test mail receiver', EXTERNAL_MAIL_RECEIVER,
+            'Test Mail from WAeUP Kofa',
+            'Hi from test mailer!\n\nRegards,\nTest Programme\n'
+            )
+        import transaction
+        transaction.commit() # The mail is really sent when transactions is
+                             # committed
+        self.assertTrue('@' in result)
+        return
Index: /main/waeup.futminna/tags/1.1/src/waeup/futminna/university/__init__.py
===================================================================
--- /main/waeup.futminna/tags/1.1/src/waeup/futminna/university/__init__.py	(revision 11490)
+++ /main/waeup.futminna/tags/1.1/src/waeup/futminna/university/__init__.py	(revision 11490)
@@ -0,0 +1,1 @@
+# Make this a package.
Index: /main/waeup.futminna/tags/1.1/src/waeup/futminna/utils/__init__.py
===================================================================
--- /main/waeup.futminna/tags/1.1/src/waeup/futminna/utils/__init__.py	(revision 11490)
+++ /main/waeup.futminna/tags/1.1/src/waeup/futminna/utils/__init__.py	(revision 11490)
@@ -0,0 +1,1 @@
+# Make this a package.
Index: /main/waeup.futminna/tags/1.1/src/waeup/futminna/utils/tests.py
===================================================================
--- /main/waeup.futminna/tags/1.1/src/waeup/futminna/utils/tests.py	(revision 11490)
+++ /main/waeup.futminna/tags/1.1/src/waeup/futminna/utils/tests.py	(revision 11490)
@@ -0,0 +1,29 @@
+## $Id$
+##
+## Copyright (C) 2011 Uli Fouquet & Henrik Bettermann
+## 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., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+##
+from waeup.kofa.testing import FunctionalTestCase
+from waeup.futminna.testing import FunctionalLayer
+
+
+class CustomPackageUtilsTests(FunctionalTestCase):
+
+    layer = FunctionalLayer
+
+    def test_foo(self):
+        '''Test method foo.
+        '''
+        return
Index: /main/waeup.futminna/tags/1.1/src/waeup/futminna/utils/utils.py
===================================================================
--- /main/waeup.futminna/tags/1.1/src/waeup/futminna/utils/utils.py	(revision 11490)
+++ /main/waeup.futminna/tags/1.1/src/waeup/futminna/utils/utils.py	(revision 11490)
@@ -0,0 +1,48 @@
+## $Id$
+##
+## Copyright (C) 2012 Uli Fouquet & Henrik Bettermann
+## 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., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+##
+"""Customize general helper utilities for Kofa.
+"""
+from kofacustom.nigeria.utils.utils import NigeriaKofaUtils
+
+class CustomKofaUtils(NigeriaKofaUtils):
+    """A collection of methods subject to customization.
+    """
+
+    PREFERRED_LANGUAGES_DICT = {
+        }
+
+    SPECIAL_HANDLING_DICT = {
+        'regular': 'Regular Hostel',
+        'blocked': 'Blocked Hostel',
+        'sse': 'SSE Hostel'
+        }
+
+    PAYMENT_CATEGORIES = {
+        'schoolfee': 'School Fee',
+        'clearance': 'Acceptance Fee',
+        'hostel_maintenance': 'Hostel Maintenance Fee',
+        'block_h_maintenance': 'Block H Maintenance Fee (deprecated category)',
+        'application': 'Application Fee'
+        }
+
+    SELECTABLE_PAYMENT_CATEGORIES = {
+        'schoolfee': 'School Fee',
+        'clearance': 'Acceptance Fee',
+        'hostel_maintenance': 'Hostel Maintenance Fee',
+        'application': 'Application Fee'
+        }
Index: /main/waeup.futminna/tags/1.1/versions.cfg
===================================================================
--- /main/waeup.futminna/tags/1.1/versions.cfg	(revision 11490)
+++ /main/waeup.futminna/tags/1.1/versions.cfg	(revision 11490)
@@ -0,0 +1,150 @@
+# Versions of packages used by waeup.kofa
+[buildout]
+# default set of versions we use.
+extends= http://grok.zope.org/releaseinfo/grok-1.1.cfg
+
+versions = versions
+
+[versions]
+collective.recipe.sphinxbuilder = 0.7.0
+hurry.workflow = 0.11
+# Pinned to circumvent breakage in 0.4.x
+hurry.zoperesource = 0.6
+# Pinned to prevent buildout svn-error.
+lovely.recipe = 1.0.0
+megrok.layout = 1.0.2
+reportlab = 2.5
+transaction = 1.1.0
+z3c.testsetup = 0.6.1
+zc.buildout = 2.1.0
+zc.recipe.egg = 2.0.0a3
+zc.recipe.testrunner = 2.0.0
+zope.app.testing = 3.8.1
+# for support of @provider directive
+zope.interface = 3.6.3
+# for support of contextual default values
+zope.schema = 3.8.0
+zope.testing = 3.10.2
+zope.xmlpickle = 3.4.0
+# Require latest version...
+Sphinx = 1.0.7
+ZODB3 = 3.10.3
+docutils = 0.7
+Jinja2 = 2.3
+# for support of unicode encoded passwords
+zope.password = 3.6.1
+# need at least 3.12.2 for working XMLRPC support...
+zope.publisher = 3.12.2
+# Pillow >= 2.0 supports Python 2.6, 2.7, 3.x
+# Pillow < 1.x supports Python 2.4, 2.5, 2.6, 2.7
+Pillow = 2.0.0
+mock = 1.0.1
+
+# Added by buildout at 2013-05-22 12:15:59.195773
+Beaker = 1.6.4
+Twisted = 13.0.0
+dolmen.beaker = 0.1
+hurry.resource = 0.10
+mr.developer = 1.25
+repoze.profile = 2.0
+repoze.sphinx.autointerface = 0.7.1
+unittest2 = 0.5.1
+z3c.coverage = 2.0.0
+zc.async = 1.5.4
+zc.dict = 1.2.1
+zc.twist = 1.3.1
+zc.z3monitor = 0.8.0
+zope.bforest = 1.2
+
+# Required by:
+# z3c.coverage==2.0.0
+coverage = 3.6
+
+# Required by:
+# waeup.kofa==0.2dev
+hurry.file = 1.2.1
+
+# Required by:
+# waeup.kofa==0.2dev
+hurry.jquery = 1.4.3.1
+
+# Required by:
+# waeup.kofa==0.2dev
+hurry.jqueryui = 1.8.5.1
+
+# Required by:
+# waeup.kofa==0.2dev
+hurry.query = 1.1.1
+
+# Required by:
+# grokui.base==0.2
+megrok.menu = 0.4
+
+# Required by:
+# repoze.profile==2.0
+pyprof2calltree = 1.1.0
+
+# Required by:
+# zc.async==1.5.4
+rwproperty = 1.0
+
+# Required by:
+# zope.testrunner==4.3.3
+six = 1.3.0
+
+# Required by:
+# waeup.kofa==0.2dev
+ulif.loghandlers = 0.1.1
+
+# Required by:
+# waeup.kofa==0.2dev
+unicodecsv = 0.9.4
+
+# Required by:
+# zc.async==1.5.4
+uuid = 1.30
+
+# Required by:
+# zc.z3monitor==0.8.0
+zc.monitor = 0.3.1
+
+# Required by:
+# zc.monitor==0.3.1
+zc.ngi = 2.0.1
+
+# Required by:
+# zc.async==1.5.4
+zc.queue = 1.3
+
+# Required by:
+# waeup.kofa==0.2dev
+zope.errorview = 0.11
+
+# Required by:
+# zc.recipe.testrunner==2.0.0
+zope.testrunner = 4.3.3
+
+# Added by buildout at 2013-05-22 14:11:35.543208
+
+# Required by:
+# dolmen.beaker==0.1
+pycryptopp = 0.6.0.1206569328141510525648634803928199668821045408958
+
+# Added by buildout at 2014-02-24 09:09:43.882599
+WebOb = 1.3.1
+diazo = 1.0.5
+repoze.xmliter = 0.5
+z3c.recipe.staticlxml = 0.10
+
+# Required by:
+# diazo==1.0.5
+experimental.cssselect = 0.3
+
+# Required by:
+# diazo==1.0.5
+# experimental.cssselect==0.3
+lxml = 3.3.1
+
+# Required by:
+# z3c.recipe.staticlxml==0.10
+zc.recipe.cmmi = 1.3.5
