commit 96d893fd58a65833301de042258bedaa273d21e3
Author: Will Bradley
Date: Tue Feb 18 19:11:50 2014 -0700
Initial Commit
diff --git a/GNU-GPL.txt b/GNU-GPL.txt
new file mode 100644
index 0000000..20d40b6
--- /dev/null
+++ b/GNU-GPL.txt
@@ -0,0 +1,674 @@
+ GNU GENERAL PUBLIC LICENSE
+ Version 3, 29 June 2007
+
+ Copyright (C) 2007 Free Software Foundation, Inc.
+ 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.
+
+
+ Copyright (C)
+
+ 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 .
+
+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:
+
+ Copyright (C)
+ 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
+.
+
+ 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
+.
\ No newline at end of file
diff --git a/classes/admin.php b/classes/admin.php
new file mode 100644
index 0000000..1027ec1
--- /dev/null
+++ b/classes/admin.php
@@ -0,0 +1,124 @@
+get_options();
+
+ // loop through menu and find the one I need to disable
+ foreach( $menu as $key => $value ) {
+ if ( in_array( 'edit.php?post_type=sm-location' , $value ) ) {
+ unset( $menu[$key] );
+ }
+ }
+ add_menu_page(__('SimpleMap Options', 'SimpleMap'), 'SimpleMap', apply_filters( 'sm-admin-permissions-sm-options', 'publish_posts' ), 'simplemap', array( &$sm_options, 'print_page' ), SIMPLEMAP_URL.'/inc/images/icon.png' );
+ add_submenu_page( 'simplemap', __('SimpleMap: General Options', 'SimpleMap'), __( 'General Options', 'SimpleMap'), apply_filters( 'sm-admin-permissions-sm-options', 'manage_options' ), 'simplemap', array( &$sm_options, 'print_page' ) );
+ add_submenu_page( 'simplemap', __('SimpleMap: Add Location', 'SimpleMap'), __( 'Add Location', 'SimpleMap' ), apply_filters( 'sm-admin-permissions-sm-add-locations', 'publish_posts' ), 'post-new.php?post_type=sm-location' );
+ add_submenu_page( 'simplemap', __('SimpleMap: Edit Locations', 'SimpleMap'), __( 'Edit Locations', 'SimpleMap' ), apply_filters( 'sm-admin-permissions-sm-edit-locations', 'publish_posts' ), 'edit.php?post_type=sm-location' );
+
+ foreach ( $options['taxonomies'] as $taxonomy => $tax_info ) {
+ add_submenu_page( 'simplemap', __('SimpleMap: Location ' . $tax_info['plural'], 'SimpleMap'), __( 'Location ' . $tax_info['plural'], 'SimpleMap' ), 'publish_posts', 'edit-tags.php?taxonomy=' . $taxonomy . '&post_type=sm-location' );
+ }
+
+ add_submenu_page( 'simplemap', __('SimpleMap: Import / Export CSV', 'SimpleMap'), __('Import / Export CSV', 'SimpleMap'), 'publish_posts', 'simplemap-import-export', array( &$sm_import_export, 'print_page' ) );
+ add_submenu_page( 'simplemap', __('SimpleMap: Premium Support', 'SimpleMap'), __('Premium Support', 'SimpleMap'), 'publish_posts', 'simplemap-help', array( &$sm_help, 'print_page' ) );
+ }
+
+ // Print admin scripts
+ function load_admin_scripts(){
+ global $current_screen;
+
+ #### GENERAL OPTIONS PAGE ####
+ if ( 'toplevel_page_simplemap' == $current_screen->id ) :
+ ?>
+
+ checked[SIMPLEMAP_FILE] ) ) {
+ return; // <--- Remove to enable
+ $options = get_option( 'SimpleMap_options' );
+ if ( empty( $options ) ) {
+ $options = array( 'auto_locate' => 'html5' );
+ update_option( 'SimpleMap_options', $options );
+ }
+ }
+ }
+}
+?>
diff --git a/classes/ft-ps-client.php b/classes/ft-ps-client.php
new file mode 100644
index 0000000..074f9dc
--- /dev/null
+++ b/classes/ft-ps-client.php
@@ -0,0 +1,827 @@
+server_url = isset( $config['server_url'] ) ? $config['server_url'] : false;
+ $this->product_id = isset( $config['product_id'] ) ? $config['product_id'] : false;
+ $this->plugin_support_page_ids = isset( $config['plugin_support_page_ids'] ) ? $config['plugin_support_page_ids'] : false;
+ $this->plugin_basename = isset( $config['plugin_basename'] ) ? $config['plugin_basename'] : false;
+ $this->plugin_slug = isset( $config['plugin_slug'] ) ? $config['plugin_slug'] : false;
+ $this->learn_more_link = isset( $config['learn_more_link'] ) ? $config['learn_more_link'] : false;
+ $this->confirming_request = isset( $_GET['ft-ps-confirm-request'] ) ? $_GET['ft-ps-confirm-request'] : false;
+ $this->receiving_sso = isset( $_POST['ft-ps-receiving-sso'] ) ? $_POST['ft-ps-receiving-sso'] : false;
+ $this->site_url = site_url();
+
+ // Register actions
+ add_action( 'admin_head', array( &$this, 'init' ) );
+ add_action( 'init', array( &$this, 'check_premium_upgrades' ) );
+
+ }
+
+ // Checks for premium upgrades
+ function check_premium_upgrades() {
+ // Build key
+ $exp_option_key = '_ftpssu_' . md5( 'ftpssue-' . $this->product_id . '-' . sanitize_title_with_dashes( $this->site_url ) . '-' . sanitize_title_with_dashes( $this->server_url ) );
+
+ // Check server for auto update?
+ if ( $expires = get_option( $exp_option_key ) ) {
+
+ if ( $expires > strtotime( 'now' ) )
+ $ft_ps_client_auto_update = new FT_Premium_Support_PluginUpdate_Checker( $this->server_url . '?ft-pss-upgrade-request=1&ft-pss-upgrade-request-product-id=' . $this->product_id . '&ft-pss-upgrade-request-site=' . $this->site_url . '&exp=' . $expires, $this->plugin_basename, $this->plugin_slug, 1 );
+ else
+ delete_option( 'external_updates-' . $this->plugin_slug );
+
+ }
+
+ }
+
+ // Inits the client if we're on the support page or receiving a request from the server
+ function init() {
+
+ global $current_screen;
+
+ // Return false if we don't have initial config settings and this isn't a request from the host server
+ if ( ( ! $this->server_url || ! $this->product_id || ! isset( $this->plugin_support_page_ids ) ) && ( ! $this->confirming_request || ! $this->receiving_sso ) )
+ return;
+
+ // Fire in the hole!
+ if ( $this->receiving_sso )
+ $this->receive_sso();
+ elseif ( $this->confirming_request )
+ $this->confirm_request();
+ elseif ( in_array( $current_screen->id, $this->plugin_support_page_ids ) )
+ $this->init_premium_support();
+
+ }
+
+ // This function inits premium support process
+ function init_premium_support() {
+
+ global $current_user;
+ wp_get_current_user();
+
+ // Check for premium support, sso, and paypal button transients
+ $status_key = md5( 'ft_premium_support_' . $this->product_id . '_' . sanitize_title_with_dashes( $this->site_url ) . '_' . sanitize_title_with_dashes( $this->server_url ) ) ;
+ $sso_key = md5( 'ft_premium_sso_' . $current_user->ID . '_' . $this->product_id . '_' . sanitize_title_with_dashes( $this->site_url ) . '_' . sanitize_title_with_dashes( $this->server_url ) );
+ $paypal_button_key = md5( 'ft_premium_signup_' . $this->product_id . '_' . sanitize_title_with_dashes( $this->site_url ) . '_' . sanitize_title_with_dashes( $this->server_url ) );
+ $exp_option_key = '_ftpssu_' . md5( 'ftpssue-' . $this->product_id . '-' . sanitize_title_with_dashes( $this->site_url ) . '-' . sanitize_title_with_dashes( $this->server_url ) );
+
+ // If we haven't set the status in the last 24 hours, or we haven't set a SSO for the current user in the last 3 hours, do it now.
+ if ( false === ( $ps_status = get_transient( $status_key ) ) || false === ( $sso_status = get_transient( $sso_key ) ) ) {
+
+ $body['ft-ps-status-request'] = true;
+ $body['site'] = urlencode( $this->site_url );
+ $body['user'] = $current_user->ID;
+ $body['product'] = $this->product_id;
+ $body['email'] = urlencode( $current_user->user_email );
+ $body['nicename'] = urlencode( $current_user->user_nicename );
+
+ // Ping server for response
+ if ( $request = wp_remote_post( $this->server_url, array( 'body' => $body, 'timeout' => 20 ) ) ) {
+
+ if ( isset( $request['response']['code'] ) && 200 == $request['response']['code'] ) {
+
+ // Response found a server, lets see if it hit a script we recognize
+ $response = json_decode( $request['body'] );
+
+ // Set the paypal button
+ if ( ! empty( $response->paypal_button->args ) && ! empty( $response->paypal_button->base) )
+ $this->paypal_button = add_query_arg( get_object_vars( $response->paypal_button->args ), $response->paypal_button->base );
+
+ // Set the expired flag
+ $this->support_expired = isset( $response->support_expired ) ? $response->support_expired : false;
+
+ // Do we have a premium status?
+ if ( isset( $response->support_status ) && $response->support_status ) {
+
+ // We have a premium support license for this domain / product combination. Set the transient and property
+ set_transient( $status_key, $response->support_status, 60*60*24 );
+ //set_transient( $status_key, $response->support_status, 60 );
+ $this->ps_status = $response->support_status;
+
+ // Did we get a user sso back as well? Set the property if we did
+ if ( isset( $response->user_sso ) && '' != $response->user_sso ) {
+ set_transient( $sso_key, $response->user_sso, 60*60*2.9 );
+ //set_transient( $sso_key, $response->user_sso, 60 );
+ $this->sso_status = $response->user_sso;
+ }
+
+ // Set an auto update option with expiration date
+ if ( isset( $response->support_status->exp_date ) && ! empty( $response->support_status->exp_date ) ) {
+ update_option( $exp_option_key, $response->support_status->exp_date );
+
+ // Check server for auto update?
+ if ( $this->ps_status ) {
+ delete_option( 'external_updates-' . $this->plugin_slug );
+ $ft_ps_client_auto_update = new FT_Premium_Support_PluginUpdate_Checker( $this->server_url . '?ft-pss-premium-request=1&ft-pss-upgrade-request-product-id=' . $this->product_id . '&ft-pss-upgrade-request-site=' . $this->site_url . '&exp=' . $response->support_status->exp_date, SIMPLEMAP_PATH, $this->plugin_slug, 1 );
+ }
+
+ }
+
+ } else {
+
+ // No premium support so lets delete the keys
+ delete_option( 'external_updates-' . $this->plugin_slug );
+ delete_option( $exp_option_key );
+ }
+ }
+ }
+ } else {
+
+ // Transients exist, therefore permission exists, set properties
+ $this->ps_status = $ps_status;
+ $this->sso_status = $sso_status;
+
+ }
+
+ // Check server for auto update?
+ if ( $this->ps_status )
+ $ft_ps_client_auto_update = new FT_Premium_Support_PluginUpdate_Checker( $this->server_url . '?ft-pss-upgrade-request=1&ft-pss-upgrade-request-product-id=' . $this->product_id . '&ft-pss-upgrade-request-site=' . $this->site_url, $this->plugin_basename, 'simplemap', 1 );
+
+ // Maybe Nag Renewal
+ $this->maybe_trigger_renewal_nag();
+
+ }
+
+ function maybe_trigger_renewal_nag() {
+ // Has support expired?
+ if ( ! empty( $this->support_expired ) && ! is_object( $this->support_expired ) ) {
+ add_action( 'admin_notices', array( $this, 'support_expired' ) );
+ return;
+ }
+
+ if ( ! empty( $this->ps_status->exp_date ) ) {
+ $onemonthout = $this->ps_status->exp_date - 2628000;
+ // If we are within a month of expiration date
+ if ( $onemonthout <= strtotime( 'now' ) ) {
+ add_action( 'admin_notices', array( $this, 'renew_soon' ) );
+ }
+ }
+
+ }
+
+ function support_expired() {
+ $link = ( $this->paypal_button ) ? esc_url( $this->paypal_button ) : 'http://simplemap-plugin.com';
+ echo "
" . sprintf( __( "Your license for SimpleMap has expired! You need to renew your license now for continued support and upgrades: Renew my license now." ), $link ) . "
" . sprintf( __( "SimpleMap is expiring soon! You will need to renew your license for continued support and upgrades: Renew my license now." ), $link ) . "
";
+ }
+
+ }
+
+}
+
+if ( !class_exists( 'FT_Premium_Support_PluginUpdate_Checker' ) ) :
+
+/**
+ * A custom plugin update checker.
+ *
+ * @author Janis Elsts
+ * @copyright 2010
+ * @version 1.0
+ * @access public
+ */
+class FT_Premium_Support_PluginUpdate_Checker {
+
+ var $metadataUrl = ''; //The URL of the plugin's metadata file.
+ var $pluginFile = ''; //Plugin filename relative to the plugins directory.
+ var $slug = ''; //Plugin slug.
+ var $checkPeriod = 12; //How often to check for updates (in hours).
+ var $optionName = ''; //Where to store the update info.
+
+ /**
+ * Class constructor.
+ *
+ * @param string $metadataUrl The URL of the plugin's metadata file.
+ * @param string $pluginFile Fully qualified path to the main plugin file.
+ * @param string $slug The plugin's 'slug'. If not specified, the filename part of $pluginFile sans '.php' will be used as the slug.
+ * @param integer $checkPeriod How often to check for updates (in hours). Defaults to checking every 12 hours. Set to 0 to disable automatic update checks.
+ * @param string $optionName Where to store book-keeping info about update checks. Defaults to 'external_updates-$slug'.
+ * @return void
+ */
+ function __construct( $metadataUrl, $pluginFile, $slug = '', $checkPeriod = 12, $optionName = '' ){
+
+ $this->metadataUrl = $metadataUrl;
+ $this->pluginFile = $pluginFile;
+ $this->checkPeriod = $checkPeriod;
+ $this->slug = $slug;
+
+ //If no slug is specified, use the name of the main plugin file as the slug.
+ //For example, 'my-cool-plugin/cool-plugin.php' becomes 'cool-plugin'.
+ if ( empty( $this->slug ) ){
+ $this->slug = basename( $this->pluginFile, '.php' );
+ }
+
+ if ( empty( $this->optionName ) ) {
+ $this->optionName = 'external_updates-' . $this->slug;
+ }
+
+ if ( '' == $optionName )
+ $this->optionName = 'external_updates-' . $this->slug;
+ else
+ $this->optionName = $optionName;
+
+ $this->installHooks();
+ }
+
+ /**
+ * Install the hooks required to run periodic update checks and inject update info
+ * into WP data structures.
+ *
+ * @return void
+ */
+ function installHooks(){
+
+ //Override requests for plugin information
+ add_filter( 'plugins_api', array( &$this, 'injectInfo' ), 10, 3 );
+
+ //Insert our update info into the update array maintained by WP
+ add_filter( 'site_transient_update_plugins', array( &$this,'injectUpdate' )); //WP 3.0+
+ add_filter( 'transient_update_plugins', array( &$this,'injectUpdate' ) ); //WP 2.8+
+
+ //Set up the periodic update checks
+ $cronHook = 'check_plugin_updates-' . $this->slug;
+
+ if ( $this->checkPeriod > 0 ) {
+
+ //Trigger the check via Cron
+ add_filter( 'cron_schedules', array( &$this, '_addCustomSchedule' ) );
+
+ if ( ! wp_next_scheduled( $cronHook ) && ! defined( 'WP_INSTALLING' ) ) {
+
+ $scheduleName = 'every' . $this->checkPeriod . 'hours';
+ wp_schedule_event( time(), $scheduleName, $cronHook );
+
+ }
+ add_action( $cronHook, array( &$this, 'checkForUpdates' ) );
+
+ //In case Cron is disabled or unreliable, we also manually trigger
+ //the periodic checks while the user is browsing the Dashboard.
+ add_action( 'admin_init', array( &$this, 'maybeCheckForUpdates' ) );
+
+ } else {
+ //Periodic checks are disabled.
+ wp_clear_scheduled_hook( $cronHook );
+ }
+ }
+
+ /**
+ * Add our custom schedule to the array of Cron schedules used by WP.
+ *
+ * @param array $schedules
+ * @return array
+ */
+ function _addCustomSchedule( $schedules ) {
+
+ if ( $this->checkPeriod && ( $this->checkPeriod > 0 ) ) {
+ $scheduleName = 'every' . $this->checkPeriod . 'hours';
+ $schedules[$scheduleName] = array(
+ 'interval' => $this->checkPeriod * 3600,
+ 'display' => sprintf( 'Every %d hours', $this->checkPeriod ),
+ );
+ }
+
+ return $schedules;
+ }
+
+ /**
+ * Retrieve plugin info from the configured API endpoint.
+ *
+ * @uses wp_remote_get()
+ *
+ * @param array $queryArgs Additional query arguments to append to the request. Optional.
+ * @return PluginInfo
+ */
+ function requestInfo( $queryArgs = array() ) {
+ //Query args to append to the URL. Plugins can add their own by using a filter callback (see addQueryArgFilter()).
+ $queryArgs['installed_version'] = $this->getInstalledVersion();
+ $queryArgs = apply_filters( 'puc_request_info_query_args-' . $this->slug, $queryArgs );
+
+ //Various options for the wp_remote_get() call. Plugins can filter these, too.
+ $options = array(
+ 'timeout' => 10, //seconds
+ 'headers' => array(
+ 'Accept' => 'application/json'
+ ),
+ );
+
+ $options = apply_filters( 'puc_request_info_options-' . $this->slug, $options );
+
+ //The plugin info should be at 'http://your-api.com/url/here/$slug/info.json'
+ $url = $this->metadataUrl;
+ if ( ! empty( $queryArgs ) ){
+ $url = add_query_arg( $queryArgs, $url );
+ }
+
+ $result = wp_remote_get(
+ $url,
+ $options
+ );
+
+ //Try to parse the response
+ $ft_premium_support_plugin_info = null;
+ if ( !is_wp_error( $result ) && isset( $result['response']['code'] ) && ( $result['response']['code'] == 200 ) && !empty( $result['body'] ) ){
+ $ft_premium_support_plugin_info = FT_Premium_Support_PluginInfo::fromJson( $result['body'] );
+ }
+
+ $ft_premium_support_plugin_info = apply_filters( 'puc_request_info_result-' . $this->slug, $ft_premium_support_plugin_info, $result );
+
+ return $ft_premium_support_plugin_info;
+ }
+
+ /**
+ * Retrieve the latest update (if any) from the configured API endpoint.
+ *
+ * @uses PluginUpdateChecker::requestInfo()
+ *
+ * @return PluginUpdate An instance of PluginUpdate, or NULL when no updates are available.
+ */
+ function requestUpdate() {
+ //For the sake of simplicity, this function just calls requestInfo()
+ //and transforms the result accordingly.
+ $ft_premium_support_plugin_info = $this->requestInfo( array( 'checking_for_updates' => '1' ) );
+
+ if ( $ft_premium_support_plugin_info == null )
+ return null;
+
+ return FT_Premium_Support_PluginUpdate::fromPluginInfo( $ft_premium_support_plugin_info );
+ }
+
+ /**
+ * Get the currently installed version of the plugin.
+ *
+ * @return string Version number.
+ */
+ function getInstalledVersion() {
+
+ if ( ! function_exists( 'get_plugins' ) )
+ require_once( ABSPATH . 'wp-admin/includes/plugin.php' );
+
+ $allPlugins = get_plugins();
+
+ if ( array_key_exists( $this->pluginFile, $allPlugins ) && array_key_exists( 'Version', $allPlugins[$this->pluginFile] ) )
+ return $allPlugins[$this->pluginFile]['Version'];
+ else
+ return ''; //This should never happen.
+
+ }
+
+ /**
+ * Check for plugin updates.
+ * The results are stored in the DB option specified in $optionName.
+ *
+ * @return void
+ */
+ function checkForUpdates(){
+ $state = get_option( $this->optionName );
+
+ if ( empty($state) ){
+ $state = new StdClass;
+ $state->lastCheck = 0;
+ $state->checkedVersion = '';
+ $state->update = null;
+ }
+
+ $state->lastCheck = time();
+ $state->checkedVersion = $this->getInstalledVersion();
+ update_option( $this->optionName, $state ); //Save before checking in case something goes wrong
+
+ $state->update = $this->requestUpdate();
+ update_option( $this->optionName, $state );
+ }
+
+ /**
+ * Check for updates only if the configured check interval has already elapsed.
+ *
+ * @return void
+ */
+ function maybeCheckForUpdates(){
+
+ if ( empty( $this->checkPeriod ) )
+ return;
+
+ $state = get_option( $this->optionName );
+
+ $shouldCheck =
+ empty( $state ) ||
+ ! isset( $state->lastCheck ) ||
+ ( ( time() - $state->lastCheck ) >= $this->checkPeriod*3600 );
+
+ if ( $shouldCheck ){
+ $this->checkForUpdates();
+ }
+ }
+
+ /**
+ * Intercept plugins_api() calls that request information about our plugin and
+ * use the configured API endpoint to satisfy them.
+ *
+ * @see plugins_api()
+ *
+ * @param mixed $result
+ * @param string $action
+ * @param array|object $args
+ * @return mixed
+ */
+ function injectInfo( $result, $action = null, $args = null ) {
+
+ $relevant = ( $action == 'plugin_information') && isset( $args->slug ) && ( $args->slug == $this->slug );
+
+ if ( !$relevant ){
+ return $result;
+ }
+
+ $ft_premium_support_plugin_info = $this->requestInfo();
+
+ if ( $ft_premium_support_plugin_info )
+ return $ft_premium_support_plugin_info->toWpFormat();
+
+ return $result;
+ }
+
+ /**
+ * Insert the latest update (if any) into the update list maintained by WP.
+ *
+ * @param array $updates Update list.
+ * @return array Modified update list.
+ */
+ function injectUpdate( $updates ){
+
+ $state = get_option( $this->optionName );
+
+ //Is there an update to insert?
+ if ( ! empty( $state ) && isset( $state->update ) && ! empty( $state->update ) ) {
+
+ //Only insert updates that are actually newer than the currently installed version.
+ if ( version_compare( $state->update->version, $this->getInstalledVersion(), '>' ) )
+ $updates->response[$this->pluginFile] = $state->update->toWpFormat();
+
+ }
+
+ return $updates;
+ }
+
+ /**
+ * Register a callback for filtering query arguments.
+ *
+ * The callback function should take one argument - an associative array of query arguments.
+ * It should return a modified array of query arguments.
+ *
+ * @uses add_filter() This method is a convenience wrapper for add_filter().
+ *
+ * @param callback $callback
+ * @return void
+ */
+ function addQueryArgFilter( $callback ) {
+ add_filter( 'puc_request_info_query_args-' . $this->slug, $callback );
+ }
+
+ /**
+ * Register a callback for filtering arguments passed to wp_remote_get().
+ *
+ * The callback function should take one argument - an associative array of arguments -
+ * and return a modified array or arguments. See the WP documentation on wp_remote_get()
+ * for details on what arguments are available and how they work.
+ *
+ * @uses add_filter() This method is a convenience wrapper for add_filter().
+ *
+ * @param callback $callback
+ * @return void
+ */
+ function addHttpRequestArgFilter($callback) {
+ add_filter( 'puc_request_info_options-' . $this->slug, $callback );
+ }
+
+ /**
+ * Register a callback for filtering the plugin info retrieved from the external API.
+ *
+ * The callback function should take two arguments. If the plugin info was retrieved
+ * successfully, the first argument passed will be an instance of PluginInfo. Otherwise,
+ * it will be NULL. The second argument will be the corresponding return value of
+ * wp_remote_get (see WP docs for details).
+ *
+ * The callback function should return a new or modified instance of PluginInfo or NULL.
+ *
+ * @uses add_filter() This method is a convenience wrapper for add_filter().
+ *
+ * @param callback $callback
+ * @return void
+ */
+ function addResultFilter( $callback ) {
+ add_filter( 'puc_request_info_result-' . $this->slug, $callback, 10, 2 );
+ }
+}
+
+endif;
+
+if ( ! class_exists( 'FT_Premium_Support_PluginInfo' ) ) :
+
+/**
+ * A container class for holding and transforming various plugin metadata.
+ *
+ * @author Janis Elsts
+ * @copyright 2010
+ * @version 1.0
+ * @access public
+ */
+class FT_Premium_Support_PluginInfo {
+
+ //Most fields map directly to the contents of the plugin's info.json file.
+ //See the relevant docs for a description of their meaning.
+ var $name;
+ var $slug;
+ var $version;
+ var $homepage;
+ var $sections;
+ var $download_url;
+
+ var $author;
+ var $author_homepage;
+
+ var $requires;
+ var $tested;
+ var $upgrade_notice;
+
+ var $rating;
+ var $num_ratings;
+ var $downloaded;
+ var $last_updated;
+
+ var $id = 0; //The native WP.org API returns numeric plugin IDs, but they're not used for anything.
+
+ /**
+ * Create a new instance of PluginInfo from JSON-encoded plugin info
+ * returned by an external update API.
+ *
+ * @param string $json Valid JSON string representing plugin info.
+ * @return PluginInfo New instance of PluginInfo, or NULL on error.
+ */
+ function fromJson( $json ){
+ $apiResponse = json_decode( $json );
+ if ( empty( $apiResponse ) || !is_object( $apiResponse ) )
+ return null;
+
+ //Very, very basic validation.
+ $valid = isset( $apiResponse->name ) && ! empty( $apiResponse->name ) && isset( $apiResponse->version ) && ! empty( $apiResponse->version );
+ if ( ! $valid )
+ return null;
+
+ $info = new FT_Premium_Support_PluginInfo();
+ foreach( get_object_vars( $apiResponse ) as $key => $value ) {
+ $info->$key = $value;
+ }
+
+ return $info;
+ }
+
+ /**
+ * Transform plugin info into the format used by the native WordPress.org API
+ *
+ * @return object
+ */
+ function toWpFormat(){
+ $info = new StdClass;
+
+ //The custom update API is built so that many fields have the same name and format
+ //as those returned by the native WordPress.org API. These can be assigned directly.
+ $sameFormat = array(
+ 'name', 'slug', 'version', 'requires', 'tested', 'rating', 'upgrade_notice',
+ 'num_ratings', 'downloaded', 'homepage', 'last_updated',
+ );
+
+ foreach( $sameFormat as $field ){
+ if ( isset( $this->$field ) )
+ $info->$field = $this->$field;
+ }
+
+ //Other fields need to be renamed and/or transformed.
+ $info->download_link = $this->download_url;
+
+ if ( ! empty( $this->author_homepage ) )
+ $info->author = sprintf( '%s', $this->author_homepage, $this->author );
+ else
+ $info->author = $this->author;
+
+ if ( is_object( $this->sections ) ){
+ $info->sections = get_object_vars( $this->sections );
+ } elseif ( is_array( $this->sections ) ) {
+ $info->sections = $this->sections;
+ } else {
+ $info->sections = array( 'description' => '' );
+ }
+
+ return $info;
+ }
+}
+
+endif;
+
+if ( ! class_exists( 'FT_Premium_Support_PluginUpdate' ) ):
+
+/**
+ * A simple container class for holding information about an available update.
+ *
+ * @author Janis Elsts
+ * @copyright 2010
+ * @version 1.0
+ * @access public
+ */
+class FT_Premium_Support_PluginUpdate {
+
+ var $id = 0;
+ var $slug;
+ var $version;
+ var $homepage;
+ var $download_url;
+ var $upgrade_notice;
+
+ /**
+ * Create a new instance of PluginUpdate from its JSON-encoded representation.
+ *
+ * @param string $json
+ * @return PluginUpdate
+ */
+ function fromJson( $json ){
+ //Since update-related information is simply a subset of the full plugin info,
+ //we can parse the update JSON as if it was a plugin info string, then copy over
+ //the parts that we care about.
+ $ft_premium_support_plugin_info = FT_Premium_Support_PluginInfo::fromJson( $json );
+ if ( $ft_premium_support_plugin_info != null )
+ return FT_Premium_Support_PluginUpdate::fromPluginInfo( $ft_premium_support_plugin_info );
+ else
+ return null;
+
+ }
+
+ /**
+ * Create a new instance of PluginUpdate based on an instance of PluginInfo.
+ * Basically, this just copies a subset of fields from one object to another.
+ *
+ * @param PluginInfo $info
+ * @return PluginUpdate
+ */
+ function fromPluginInfo( $info ){
+
+ $update = new FT_Premium_Support_PluginUpdate();
+ $copyFields = array( 'id', 'slug', 'version', 'homepage', 'download_url', 'upgrade_notice' );
+ foreach( $copyFields as $field ) {
+ $update->$field = $info->$field;
+ }
+
+ return $update;
+
+ }
+
+ /**
+ * Transform the update into the format used by WordPress native plugin API.
+ *
+ * @return object
+ */
+ function toWpFormat(){
+
+ $update = new StdClass;
+
+ $update->id = $this->id;
+ $update->slug = $this->slug;
+ $update->new_version = $this->version;
+ $update->url = $this->homepage;
+ $update->package = $this->download_url;
+
+ if ( ! empty( $this->upgrade_notice ) )
+ $update->upgrade_notice = $this->upgrade_notice;
+
+ return $update;
+
+ }
+
+}
+
+endif;
+
+/**
+ * Checks for premium support
+ */
+function url_has_ftps_for_item( &$ps_object ) {
+
+ if ( is_object( $ps_object ) && $ps_object->ps_status )
+ return true;
+
+ return false;
+
+}
+
+/**
+ * Return paypal button
+ */
+function get_ftps_paypal_button( &$ps_object ) {
+
+ if ( is_object( $ps_object ) && isset( $ps_object->paypal_button ) )
+ return $ps_object->paypal_button;
+
+ return false;
+}
+
+/**
+ * Return learn more link
+ */
+function get_ftps_learn_more_link( &$ps_object ) {
+
+ if ( is_object( $ps_object ) && isset( $ps_object->learn_more_link ) )
+ return $ps_object->learn_more_link;
+
+ return false;
+}
+
+/**
+ * Return SSO key
+ */
+function get_ftps_sso_key( &$ps_object ) {
+
+ if ( is_object( $ps_object ) && isset( $ps_object->sso_status ) )
+ return $ps_object->sso_status;
+
+ return false;
+}
+
+/**
+ * Return this site URL that has premium support
+ */
+function get_ftps_site( &$ps_object ) {
+
+ if ( is_object( $ps_object ) && isset( $ps_object->ps_status->site ) )
+ return $ps_object->ps_status->site;
+
+ return false;
+}
+
+/**
+ * Return purchase date
+ */
+function get_ftps_purchase_date( &$ps_object ) {
+
+ if ( is_object( $ps_object ) && isset( $ps_object->ps_status->purchase_date ) )
+ return $ps_object->ps_status->purchase_date;
+
+ return false;
+}
+
+/**
+ * Return expiration date
+ */
+function get_ftps_exp_date( &$ps_object ) {
+
+ if ( is_object( $ps_object ) && isset( $ps_object->ps_status->exp_date ) )
+ return $ps_object->ps_status->exp_date;
+
+ return false;
+}
+
+/**
+ * Return email of person who purchased premium support
+ */
+function get_ftps_email( &$ps_object ) {
+
+ if ( is_object( $ps_object ) && isset( $ps_object->ps_status->email ) )
+ return $ps_object->ps_status->email;
+
+ return false;
+}
+
+/**
+ * Return name of person who purchased premium support
+ */
+function get_ftps_name( &$ps_object ) {
+
+ if ( is_object( $ps_object ) && isset( $ps_object->ps_status->name ) )
+ return $ps_object->ps_status->name;
+
+ return false;
+}
+
+?>
diff --git a/classes/help.php b/classes/help.php
new file mode 100644
index 0000000..90c4818
--- /dev/null
+++ b/classes/help.php
@@ -0,0 +1,250 @@
+get_options();
+
+ extract( $options );
+
+ ?>
+
Warning: You have more than 10,000 locations in your database. We have limited the list here to 1,000. You may use the search field to access locations beyond the first 1,000.', 'SimpleMap' ); ?>
';
+ */
+ }
+
+ // Return the available search_radii
+ function get_search_radii(){
+ $search_radii = array( 1, 5, 10, 25, 50, 100, 500, 1000 );
+ return apply_filters( 'sm-search-radii', $search_radii );
+ }
+
+ // What link are we using for google's API
+ function get_api_link() {
+ $lo = str_replace('_', '-', get_locale());
+ $l = substr($lo, 0, 2);
+ switch($l) {
+ case 'es':
+ case 'de':
+ case 'ja':
+ case 'ko':
+ case 'ru':
+ $api_link = "http://code.google.com/intl/$l/apis/maps/signup.html";
+ break;
+ case 'pt':
+ case 'zh':
+ $api_link = "http://code.google.com/intl/$lo/apis/maps/signup.html";
+ break;
+ case 'en':
+ default:
+ $api_link = "http://code.google.com/apis/maps/signup.html";
+ break;
+ }
+ return $api_link;
+ }
+
+ // Returns true if legacy tables exist in the DB
+ function legacy_tables_exist() {
+ global $wpdb;
+
+ $sql = "SHOW TABLES LIKE '" . $wpdb->prefix . "simple_map'";
+ if ( $tables = $wpdb->get_results( $sql ) ) {
+ return true;
+ }
+
+ return false;
+ }
+
+ // Search form / widget query vars
+ function register_query_vars( $vars ) {
+
+ $vars[] = 'location_search_address';
+ $vars[] = 'location_search_city';
+ $vars[] = 'location_search_state';
+ $vars[] = 'location_search_zip';
+ $vars[] = 'location_search_distance';
+ $vars[] = 'location_search_limit';
+ $vars[] = 'location_is_search_results';
+
+ return $vars;
+ }
+
+ /**
+ * Parses the shortcode attributes with the default options and returns array
+ *
+ * @since 2.3
+ */
+ function parse_shortcode_atts( $shortcode_atts ) {
+ $options = $this->get_options();
+ $default_atts = $this->get_default_shortcode_atts();
+ $atts = shortcode_atts( $default_atts, $shortcode_atts );
+
+ // If deprecated shortcodes were used, replace with current ones
+ if ( isset( $atts['show_categories_filter'] ) )
+ $atts['show_sm_category_filter'] = $atts['show_categories_filter'];
+ if ( isset( $atts['show_tags_filter'] ) )
+ $atts['show_sm_tag_filter'] = $atts['show_tags_filter'];
+ if ( isset( $atts['show_days_filter'] ) )
+ $atts['show_sm_day_filter'] = $atts['show_days_filter'];
+ if ( isset( $atts['show_times_filter'] ) )
+ $atts['show_sm_time_filter'] = $atts['show_times_filter'];
+ if ( isset( $atts['categories'] ) )
+ $atts['sm_category'] = $atts['categories'];
+ if ( isset( $atts['tags'] ) )
+ $atts['sm_tag'] = $atts['tags'];
+ if ( isset( $atts['days'] ) )
+ $atts['sm_day'] = $atts['days'];
+ if ( isset( $atts['times'] ) )
+ $atts['sm_time'] = $atts['times'];
+
+ // Determine if we need to hide the search form or not
+ if ( '' == $atts['hide_search'] ) {
+ // Use default value
+ if ( 'show' == $options['display_search'] )
+ $atts['hide_search'] = 0;
+ else
+ $atts['hide_search'] = 1;
+ }
+
+ // Set categories and tags to available equivelants
+ $atts['avail_sm_category'] = $atts['sm_category'];
+ $atts['avail_sm_tag'] = $atts['sm_tag'];
+ $atts['avail_sm_day'] = $atts['sm_day'];
+ $atts['avail_sm_time'] = $atts['sm_time'];
+
+ // Default lat / lng from shortcode?
+ if ( ! $atts['default_lat'] )
+ $atts['default_lat'] = $options['default_lat'];
+ if ( ! $atts['default_lng'] )
+ $atts['default_lng'] = $options['default_lng'];
+
+ // Doing powered by?
+ if ( '' == $atts['powered_by'] ) {
+
+ // Use default value
+ $atts['powered_by'] = $options['powered_by'];
+
+ } else {
+
+ // Use shortcode
+ if ( 0 == $atts['powered_by'] )
+ $atts['powered_by'] = 0;
+ else
+ $atts['powered_by'] = 1;
+
+ }
+
+ // Default units or shortcode units?
+ if ( 'km' != $atts['units'] && 'mi' != $atts['units'] )
+ $atts['units'] = $options['units'];
+
+ // Default radius or shortcode radius?
+ if ( '' != $atts['radius'] && in_array( $atts['radius'], $this->get_search_radii() ) )
+ $atts['radius'] = absint( $atts['radius'] );
+ else
+ $atts['radius'] = $options['default_radius'];
+
+ //Make sure we have limit
+ if ( '' == $atts['limit'] )
+ $atts['limit'] = $options['results_limit'];
+
+ // Clean search_field_cols
+ if ( 0 === absint( $atts['search_form_cols'] ) )
+ $atts['search_form_cols'] = $default_atts['search_form_cols'];
+
+ // Which type of map are we using?
+ if ( '' == $atts['map_type'] )
+ $atts['map_type'] = $options['map_type'];
+
+ // Height of the map?
+ if ( '' == $atts['map_height'] )
+ $atts['map_height'] = $options['map_height'];
+
+ // Width of the map?
+ if ( '' == $atts['map_width'] )
+ $atts['map_width'] = $options['map_width'];
+
+ // Which zoom level are we using?
+ if ( '' == $atts['zoom_level'] )
+ $atts['zoom_level'] = $options['zoom_level'];
+
+ // Which autoload option are we using?
+ if ( '' == $atts['autoload'] )
+ $atts['autoload'] = $options['autoload'];
+
+ // Return final array
+ return $atts;
+ }
+
+ /**
+ * Returns default shortcode attributes
+ *
+ * @since 2.3
+ */
+ function get_default_shortcode_atts() {
+ $options = $this->get_options();
+
+ $tax_atts = array();
+ $tax_search_fields = array();
+ foreach ( $options['taxonomies'] as $taxonomy => $taxonomy_info ) {
+ $tax_search_fields[] = "||labeltd_$taxonomy||empty";
+
+ $safe_tax = str_replace('-', '_', $taxonomy);
+ $tax_atts[$safe_tax] = '';
+ $tax_atts['show_' . $safe_tax . '_filter'] = 1;
+
+ // The following are deprecated. Don't use them.
+ $tax_atts[strtolower($taxonomy_info['plural'])] = null;
+ $tax_atts['show_' . strtolower($taxonomy_info['plural']) . '_filter'] = null;
+ }
+
+ $atts = $tax_atts + array(
+ 'search_title' => __( 'Find Locations Near:', 'SimpleMap' ),
+ 'search_form_type' => 'table',
+ 'search_form_cols' => 3,
+ 'search_fields' => 'labelbr_street||labelbr_city||labelbr_state||labelbr_zip||empty||empty||labeltd_distance||empty' . implode('', $tax_search_fields) . '||submit||empty||empty',
+ 'taxonomy_field_type' => 'checkboxes',
+ 'hide_search' => '',
+ 'hide_map' => 0,
+ 'hide_list' => 0,
+ 'default_lat' => 0,
+ 'default_lng' => 0,
+ 'adsense_publisher_id' => 0,
+ 'adsense_channel_id' => 0,
+ 'adsense_max_ads' => 0,
+ 'map_width' => '',
+ 'map_height' => '',
+ 'units' => '',
+ 'radius' => '',
+ 'limit' => '',
+ 'autoload' => '',
+ 'zoom_level' => '',
+ 'map_type' => '',
+ 'powered_by' => '',
+ 'sm_day' => '',
+ 'sm_time' => ''
+ );
+
+ return apply_filters( 'sm-default-shortcode-atts', $atts );
+ }
+
+ // This function filters category text labels
+ function backwards_compat_categories_text( $text ) {
+ return __( 'Categories', 'SimpleMap' );
+ }
+
+ // This function filters category text labels
+ function backwards_compat_tags_text( $text ) {
+ return __( 'Tags', 'SimpleMap' );
+ }
+
+ // This function filters category text labels
+ function backwards_compat_days_text( $text ) {
+ return __( 'Days', 'SimpleMap' );
+ }
+
+ // This function filters category text labels
+ function backwards_compat_times_text( $text ) {
+ return __( 'Times', 'SimpleMap' );
+ }
+
+ }
+}
diff --git a/classes/templates.php b/classes/templates.php
new file mode 100644
index 0000000..fc7348c
--- /dev/null
+++ b/classes/templates.php
@@ -0,0 +1,151 @@
+template_type = $this->set_template_type();
+
+ // Set the specific template for this view
+ $this->set_active_template();
+
+ // Add the filter
+ add_filter( 'the_content', array( &$this, 'apply_template' ), 1 );
+
+ }
+
+ /**
+ * Parses wp_query to determine the template type we are going to use
+ * As of 2.4, the only opiton is single-location
+ *
+ * @since 2.4
+ */
+ function set_template_type() {
+
+ global $post;
+
+ // Exit if we're not on a single disply of the location post type
+ if ( 'sm-location' != $post->post_type || ! is_single() )
+ return false;
+
+ return 'single-location';
+ }
+
+ /**
+ * Sets the template we will use for the current view based on a cascading set of rules
+ * If this is a single location view, do the following:
+ *
+ *
Check for specific template via post-meta
+ *
Check for default template
+ *
+ *
+ * @since 2.4
+ */
+ function set_active_template() {
+
+ global $post;
+
+ // Switch based on template type
+ switch ( $this->template_type ) {
+ case 'single-location' :
+ default :
+ // Grab the ID for the specific template for this post if it is present
+ $template_id = ( get_post_meta( $post->ID, 'sm-location-template', false ) ) ? get_post_meta( $post->ID, 'sm-location-template', false ) : 0;
+ break;
+ }
+
+ $this->template_id = $template_id;
+ $this->template_structure = $this->get_template_structure();
+ }
+
+ /**
+ * Returns the actual template structure we're going to use for this object
+ *
+ * @since 2.4
+ */
+ function get_template_structure() {
+
+ // Grab the post that contains the template strucutre or the hard_coded structure
+ if ( 0 != $this->template_id ) {
+ // get post obejct via ID
+ // return post_content
+ } else {
+ $return = "
+
+
diff --git a/classes/xml-search.php b/classes/xml-search.php
new file mode 100644
index 0000000..4221e18
--- /dev/null
+++ b/classes/xml-search.php
@@ -0,0 +1,198 @@
+ false,
+ 'lng' => false,
+ 'radius' => false,
+ 'namequery' => false,
+ 'query_type' => 'distance',
+ 'address' => false,
+ 'city' => false,
+ 'state' => false,
+ 'zip' => false,
+ 'onlyzip' => false,
+ 'country' => false,
+ 'limit' => false,
+ 'pid' => 0,
+ );
+ $input = array_filter( array_intersect_key( $_GET, $defaults ) ) + $defaults;
+
+ $smtaxes = array();
+ if ( $taxonomies = get_object_taxonomies( 'sm-location' ) ) {
+ foreach ( $taxonomies as $key => $tax ) {
+ $phpsafe = str_replace( '-', '_', $tax );
+ $_GET += array( $phpsafe => '' );
+ $smtaxes[$tax] = $_GET[$phpsafe];
+ }
+ }
+
+ // Define my empty strings
+ $distance_select = $distance_having = $distance_order = '';
+
+ // We're going to do a hard limit to 5000 for now.
+ if ( !$input['limit'] || $input['limit'] > 250 )
+ $limit = "LIMIT 250";
+ else
+ $limit = 'LIMIT ' . absint( $input['limit'] );
+
+ $limit = apply_filters( 'sm-xml-search-limit', $limit );
+
+ // Locations within specific distance or just get them all?
+ $distance_select = $wpdb->prepare( "( 3959 * ACOS( COS( RADIANS(%s) ) * COS( RADIANS( lat_tbl.meta_value ) ) * COS( RADIANS( lng_tbl.meta_value ) - RADIANS(%s) ) + SIN( RADIANS(%s) ) * SIN( RADIANS( lat_tbl.meta_value ) ) ) ) AS distance", $input['lat'], $input['lng'], $input['lat'] ) . ', ';
+ $distance_order = 'distance, ';
+
+ if ( $input['radius'] ) {
+ $input['radius'] = ( $input['radius'] < 1 ) ? 1 : $input['radius'];
+ $distance_having = $wpdb->prepare( "HAVING distance < %d", $input['radius'] );
+ }
+
+ $i = 1;
+ $taxonomy_join = '';
+ foreach ( array_filter( $smtaxes ) as $taxonomy => $tax_value ) {
+ $term_ids = explode( ',', $tax_value );
+ if ( $term_ids[0] == 'OR' ) {
+ unset( $term_ids[0] );
+ if ( empty( $term_ids ) ) {
+ continue;
+ }
+ $search_values = array( "IN (" . vsprintf( '%d' . str_repeat( ',%d', count( $term_ids ) - 1 ), $term_ids ) . ")" );
+ } else {
+ $search_values = array();
+ foreach ( $term_ids as $term_id ) {
+ $search_values[] = sprintf( '= %d', $term_id );
+ }
+ }
+ foreach ( $search_values as $search_value ) {
+ $taxonomy_join .= "
+ INNER JOIN
+ $wpdb->term_relationships AS term_rel_$i ON posts.ID = term_rel_$i.object_id
+ INNER JOIN
+ $wpdb->term_taxonomy AS tax_$i ON
+ term_rel_$i.term_taxonomy_id = tax_$i.term_taxonomy_id
+ AND tax_$i.taxonomy = '$taxonomy'
+ AND tax_$i.term_id $search_value
+ ";
+ $i++;
+ }
+ }
+
+ $sql = "SELECT
+ lat_tbl.meta_value AS lat,
+ lng_tbl.meta_value AS lng,
+ $distance_select
+ posts.ID,
+ posts.post_content,
+ posts.post_title
+ FROM
+ $wpdb->posts AS posts
+ INNER JOIN
+ $wpdb->postmeta lat_tbl ON lat_tbl.post_id = posts.ID AND lat_tbl.meta_key = 'location_lat'
+ INNER JOIN
+ $wpdb->postmeta lng_tbl ON lng_tbl.post_id = posts.ID AND lng_tbl.meta_key = 'location_lng'
+ $taxonomy_join
+ WHERE
+ posts.post_type = 'sm-location'
+ AND posts.post_status = 'publish'
+ GROUP BY
+ posts.ID
+ $distance_having
+ ORDER BY " . apply_filters( 'sm-location-sort-order', $distance_order . ' posts.post_name ASC', $input ) . " " . $limit;
+
+ $sql = apply_filters( 'sm-xml-search-locations-sql', $sql );
+
+ // TODO: Consider using this to generate the marker node attributes in print_xml().
+ $location_field_map = array(
+ 'location_address' => 'address',
+ 'location_address2' => 'address2',
+ 'location_city' => 'city',
+ 'location_state' => 'state',
+ 'location_zip' => 'zip',
+ 'location_country' => 'country',
+ 'location_phone' => 'phone',
+ 'location_fax' => 'fax',
+ 'location_email' => 'email',
+ 'location_url' => 'url',
+ 'location_special' => 'special',
+ );
+
+ $options = $simple_map->get_options();
+ $show_permalink = !empty( $options['enable_permalinks'] );
+
+ if ( $locations = $wpdb->get_results( $sql ) ) {
+ // Start looping through all locations i found in the radius
+ foreach ( $locations as $key => $value ) {
+ // Add postmeta data to location
+ $custom_fields = get_post_custom( $value->ID );
+ foreach ( $location_field_map as $key => $field ) {
+ if ( isset( $custom_fields[$key][0] ) ) {
+ $value->$field = $custom_fields[$key][0];
+ }
+ else {
+ $value->$field = '';
+ }
+ }
+
+ $value->postid = $value->ID;
+ $value->name = apply_filters( 'the_title', $value->post_title );
+
+ $the_content = trim( $value->post_content );
+ if ( !empty( $the_content ) ) {
+ $the_content = apply_filters( 'the_content', $the_content );
+ }
+ $value->description = $the_content;
+
+ $value->permalink = '';
+ if ( $show_permalink ) {
+ $value->permalink = get_permalink( $value->ID );
+ $value->permalink = apply_filters( 'the_permalink', $value->permalink );
+ }
+
+ // List all terms for all taxonomies for this post
+ $value->taxes = array();
+ foreach ( $smtaxes as $taxonomy => $tax_value ) {
+ $phpsafe_tax = str_replace( '-', '_', $taxonomy );
+ $local_tax_names = '';
+
+ // Get all taxes for this post
+ if ( $local_taxes = wp_get_object_terms( $value->ID, $taxonomy, array( 'fields' => 'names' ) ) ) {
+ $local_tax_names = implode( ', ', $local_taxes );
+ }
+
+ $value->taxes[$phpsafe_tax] = $local_tax_names;
+ }
+ }
+ } else {
+ // Print empty XML
+ $locations = array();
+ }
+
+ $locations = apply_filters( 'sm-xml-search-locations', $locations );
+ $this->print_json( $locations, $smtaxes );
+ }
+ }
+
+ // Prints the JSON output
+ function print_json( $dataset, $smtaxes ) {
+ header( 'Status: 200 OK', false, 200 );
+ header( 'Content-type: application/json' );
+ do_action( 'sm-xml-search-headers' );
+
+ do_action( 'sm-print-json', $dataset, $smtaxes );
+
+ echo json_encode( $dataset );
+ die();
+ }
+ }
+}
diff --git a/inc/images/black-dot.png b/inc/images/black-dot.png
new file mode 100644
index 0000000..9031b92
Binary files /dev/null and b/inc/images/black-dot.png differ
diff --git a/inc/images/blue-dot.png b/inc/images/blue-dot.png
new file mode 100644
index 0000000..00f0f69
Binary files /dev/null and b/inc/images/blue-dot.png differ
diff --git a/inc/images/blue-grad.png b/inc/images/blue-grad.png
new file mode 100644
index 0000000..a570cb4
Binary files /dev/null and b/inc/images/blue-grad.png differ
diff --git a/inc/images/button-red-grad-active.png b/inc/images/button-red-grad-active.png
new file mode 100644
index 0000000..c6e78fd
Binary files /dev/null and b/inc/images/button-red-grad-active.png differ
diff --git a/inc/images/button-red-grad.png b/inc/images/button-red-grad.png
new file mode 100644
index 0000000..958eba7
Binary files /dev/null and b/inc/images/button-red-grad.png differ
diff --git a/inc/images/green-dot.png b/inc/images/green-dot.png
new file mode 100644
index 0000000..930b1b6
Binary files /dev/null and b/inc/images/green-dot.png differ
diff --git a/inc/images/icon.png b/inc/images/icon.png
new file mode 100644
index 0000000..b502b49
Binary files /dev/null and b/inc/images/icon.png differ
diff --git a/inc/images/loading.gif b/inc/images/loading.gif
new file mode 100644
index 0000000..78a943c
Binary files /dev/null and b/inc/images/loading.gif differ
diff --git a/inc/images/map-type-hybrid.jpg b/inc/images/map-type-hybrid.jpg
new file mode 100644
index 0000000..8410311
Binary files /dev/null and b/inc/images/map-type-hybrid.jpg differ
diff --git a/inc/images/map-type-normal.jpg b/inc/images/map-type-normal.jpg
new file mode 100644
index 0000000..4323109
Binary files /dev/null and b/inc/images/map-type-normal.jpg differ
diff --git a/inc/images/map-type-satellite.jpg b/inc/images/map-type-satellite.jpg
new file mode 100644
index 0000000..c19078b
Binary files /dev/null and b/inc/images/map-type-satellite.jpg differ
diff --git a/inc/images/map-type-terrain.jpg b/inc/images/map-type-terrain.jpg
new file mode 100644
index 0000000..ebe7060
Binary files /dev/null and b/inc/images/map-type-terrain.jpg differ
diff --git a/inc/images/pink-dot.png b/inc/images/pink-dot.png
new file mode 100644
index 0000000..dbc1ac3
Binary files /dev/null and b/inc/images/pink-dot.png differ
diff --git a/inc/images/purple-dot.png b/inc/images/purple-dot.png
new file mode 100644
index 0000000..a569c4c
Binary files /dev/null and b/inc/images/purple-dot.png differ
diff --git a/inc/images/red-dot.png b/inc/images/red-dot.png
new file mode 100644
index 0000000..3735dc0
Binary files /dev/null and b/inc/images/red-dot.png differ
diff --git a/inc/images/star.png b/inc/images/star.png
new file mode 100644
index 0000000..222128e
Binary files /dev/null and b/inc/images/star.png differ
diff --git a/inc/images/teal-dot.png b/inc/images/teal-dot.png
new file mode 100644
index 0000000..87549ff
Binary files /dev/null and b/inc/images/teal-dot.png differ
diff --git a/inc/images/white-dot.png b/inc/images/white-dot.png
new file mode 100644
index 0000000..87f808d
Binary files /dev/null and b/inc/images/white-dot.png differ
diff --git a/inc/images/yellow-dot.png b/inc/images/yellow-dot.png
new file mode 100644
index 0000000..b52fdc3
Binary files /dev/null and b/inc/images/yellow-dot.png differ
diff --git a/inc/styles/admin.css b/inc/styles/admin.css
new file mode 100644
index 0000000..e7d9a5a
--- /dev/null
+++ b/inc/styles/admin.css
@@ -0,0 +1,179 @@
+#simplemap img {
+ background: none !important;
+ padding: none !important;
+ max-width: none !important;
+ max-height: none !important;
+ border: none !important;
+}
+
+body.toplevel_page_simplemap-simplemap small, body.simplemap_page_Add-Location small, body.simplemap_page_Manage-Database small, body.simplemap_page_Manage-Categories small, body.simplemap_page_Import-Export small {
+ color: #777;
+}
+
+select option span.hidden {
+ display: none !important;
+ visibility: hidden !important;
+}
+
+.inline-editor {
+ background: #ffffe0 !important;
+}
+
+.button-red {
+ border-color: #900 !important;
+ font-weight: bold;
+ color: #fff !important;
+ background: #c00 url( ../images/button-red-grad.png ) repeat-x scroll left top;
+ text-shadow: rgba(0,0,0,0.3) 0 -1px 0;
+}
+
+.button-red:active {
+ background: #c00 url( ../images/button-red-grad-active.png ) repeat-x scroll left top !important;
+}
+
+span.disabled-text {
+ font: italic 13px Georgia;
+ float: right;
+ color: #555;
+}
+
+span.title, label span.title {
+ display: inline-block;
+ width: 5em;
+}
+
+span.title.title_long, label.long span.title.title_long {
+ width: 10em;
+}
+
+input.fix_width, select.fix_width, textarea.fix_width {
+ width: 180px;
+}
+
+input.full_width, select.full_width, textarea.full_width {
+ width: 70%;
+}
+
+.disabled {
+ color: #999;
+}
+
+span.hidden {
+ display: none;
+}
+
+span#ala {
+ padding-left: 10px;
+}
+
+.postbox .sub {
+ color: rgb(119, 119, 119);
+ font-family: Georgia, 'Times New Roman', 'Bitstream Charter', Times, serif;
+ font-size: 13px;
+ font-style: italic;
+ padding: 5px 10px 15px;
+ margin: 0;
+}
+
+.postbox h3 {
+ cursor: default !important;
+}
+
+form.inabox {
+ padding: 10px;
+ background: #ffffe0;
+ border: 1px solid #e6db55;
+ -moz-border-radius: 4px;
+ -khtml-border-radius: 4px;
+ -webkit-border-radius: 4px;
+ border-radius: 4px;
+}
+
+form.inabox label {
+ font-weight: bold;
+}
+
+.radio-thumbnail {
+ float: left;
+ text-align: center;
+ margin: 1px;
+ padding: 10px;
+}
+
+.radio-thumbnail:hover {
+ margin: 0;
+ background-color: #eaf2fa;
+ border: 1px solid #93d8e2;
+ -moz-border-radius: 4px;
+ -webkit-border-radius: 4px;
+ -khtml-border-radius: 4px;
+ border-radius: 4px;
+}
+
+.radio-thumbnail-current {
+ margin: 0;
+ background-color: #ffffe0;
+ border: 1px solid #e6db55;
+ -moz-border-radius: 4px;
+ -webkit-border-radius: 4px;
+ -khtml-border-radius: 4px;
+ border-radius: 4px;
+}
+
+table.server-tests {
+ border-collapse: collapse;
+}
+
+table.server-tests td {
+ padding: 2px;
+ border: 1px solid #999;
+ font-size: 0.8em;
+}
+
+.sm-toolbar {
+ width: 97%;
+ margin-top: 25px;
+}
+
+.sm-toolbar td {
+ vertical-align: middle;
+ padding: 0 10px;
+}
+
+.sm-toolbar td.sm-page-title {
+ vertical-align: top;
+}
+
+.sm-toolbar td.sm-page-title h2 {
+ margin: 0;
+}
+
+.sm-toolbar-item {
+ width: 100px;
+ text-align: center;
+ -moz-border-radius: 4px;
+ -webkit-border-radius: 4px;
+ -khtml-border-radius: 4px;
+ border-radius: 4px;
+ border: 1px solid #f9f9f9;
+}
+
+.sm-toolbar-item:hover {
+ background-color: #eaf2fa;
+ border-color: #93d8e2;
+}
+
+.sm-toolbar-item a {
+ text-decoration: none;
+ font: bold italic 1.1em Georgia;
+}
+
+.sm-toolbar-item form {
+ margin: 0;
+}
+
+#sm-location-premium-support h3 {
+ background: #fff url( ../images/blue-grad.png ) top left repeat-x;
+ color:#fff;
+ text-shadow:0 1px 0 #000;
+}
diff --git a/inc/styles/dark.css b/inc/styles/dark.css
new file mode 100644
index 0000000..a22faa4
--- /dev/null
+++ b/inc/styles/dark.css
@@ -0,0 +1,214 @@
+/*
+Theme Name: Dark
+*/
+
+#simplemap {
+border: 1px solid #999;
+color: #000;
+}
+
+#simplemap img {
+background: none !important;
+padding: none !important;
+max-width: none !important;
+max-height: none !important;
+border: none !important;
+}
+
+#simplemap a {
+color: #00c;
+background: none;
+text-decoration: none;
+}
+
+#simplemap a:hover {
+background: none;
+text-decoration: underline;
+}
+
+#powered_by_simplemap {
+font-size: 0.75em;
+text-align: right;
+color: #999;
+}
+
+#powered_by_simplemap a {
+color: #999;
+text-decoration: underline;
+}
+
+#powered_by_simplemap a:hover {
+text-decoration: none;
+}
+
+#searchForm {
+text-align: left;
+}
+
+#searchForm input#addressInput {
+width: 250px;
+}
+
+#searchForm input#addressSubmit {
+width: auto;
+}
+
+#searchForm select {
+width: auto;
+}
+
+#searchForm p {
+margin: 10px auto;
+}
+
+#map_search label {
+float: left;
+}
+
+#map_search .float_text_left {
+float: left;
+padding-right: 5px;
+}
+
+#simplemap-updating {
+display:none;
+background:#fff;
+color:#000;
+vertical-align:middle;
+text-align:center;
+}
+
+#simplemap-updating img {
+vertical-align:middle;
+text-align:center;
+}
+
+.markertext {
+font-size: 0.9em;
+line-height: 1.2em;
+color: #000;
+}
+
+.markertext .bubble_category {
+font-size: 0.6em;
+font-style: italic;
+}
+
+.markertext a {
+color: #00c;
+text-decoration: underline;
+}
+
+.markertext h3 {
+margin-top: 0 !important;
+text-align: left !important;
+line-height: 1.2em !important;
+}
+
+.markertext .search-term {
+background: #ff6;
+}
+
+div#results {
+padding-bottom: 20px;
+}
+
+div.result {
+margin: 0;
+padding: 10px 5px;
+font-size: 0.9em;
+line-height: 1.2em;
+border-bottom: 1px solid #ccc;
+}
+
+div.result small {
+font-size: 0.7em;
+color: #999;
+}
+
+div.result:hover {
+background: #ebf0f1;
+}
+
+div.result address {
+font-style: normal;
+}
+
+div.result h3 {
+margin: 0 0 5px;
+font-size: 1.5em;
+text-transform: none;
+}
+
+div.result img {
+border: none;
+}
+
+div.result .search-term {
+background: #ff6;
+color: #000;
+}
+
+div.result div.result_name {
+width: 100%;
+}
+
+div.result div.result_address {
+float: left;
+width: 40%;
+}
+
+div.result div.result_phone {
+float: left;
+width: 30%;
+height: 3em;
+}
+
+div.result div.result_links {
+float: left;
+display: table-cell;
+width: 30%;
+text-align: right;
+vertical-align: bottom;
+}
+
+div.result div.result_links div {
+clear: right;
+margin-bottom: 3px;
+}
+
+div.result div.special {
+float: right;
+height: 20px;
+margin: 0;
+padding-left: 20px;
+line-height: 20px;
+text-align: left;
+font-style: italic;
+background: url( ../images/star.png ) no-repeat left center;
+}
+
+.location_search_title, .location_search_distance_cell, .location_search_taxonomy_cell {
+font-weight:bold;
+vertical-align:top;
+}
+
+.no-linebreak {
+ white-space:nowrap;
+}
+
+.sm-single-location-default-template {
+padding:3px;
+}
+
+.sm-single-map {
+float:left;
+width:105px;
+}
+
+.sm-single-location-data {
+margin-left:105px;
+}
+
+.sm-single-location-data-ul {
+
diff --git a/inc/styles/light.css b/inc/styles/light.css
new file mode 100644
index 0000000..b5313b8
--- /dev/null
+++ b/inc/styles/light.css
@@ -0,0 +1,217 @@
+/*
+Theme Name: Light
+*/
+
+#simplemap {
+border: 1px solid #999;
+color: #000;
+}
+
+#simplemap img {
+background: none !important;
+padding: none !important;
+max-width: none !important;
+max-height: none !important;
+border: none !important;
+}
+
+#simplemap a {
+color: #00c;
+background: none;
+text-decoration: none;
+}
+
+#simplemap a:hover {
+background: none;
+text-decoration: underline;
+}
+
+#powered_by_simplemap {
+font-size: 0.75em;
+text-align: right;
+color: #999;
+}
+
+#powered_by_simplemap a {
+color: #999;
+text-decoration: underline;
+}
+
+#powered_by_simplemap a:hover {
+text-decoration: none;
+}
+
+#searchForm {
+text-align: left;
+}
+
+#searchForm input#addressInput {
+width: 250px;
+}
+
+#searchForm input#addressSubmit {
+width: auto;
+}
+
+#searchForm select {
+width: auto;
+}
+
+#searchForm p {
+margin: 10px auto;
+}
+
+#map_search label {
+float: left;
+}
+
+#map_search .float_text_left {
+float: left;
+padding-right: 5px;
+}
+
+#simplemap-updating {
+display:none;
+background:#fff;
+color:#000;
+vertical-align:middle;
+text-align:center;
+}
+
+#simplemap-updating img {
+vertical-align:middle;
+text-align:center;
+}
+
+.markertext {
+font-size: 0.9em;
+line-height: 1.2em;
+color: #000;
+}
+
+.markertext .bubble_category {
+font-size: 0.6em;
+font-style: italic;
+}
+
+.markertext a {
+color: #00c;
+text-decoration: underline;
+}
+
+.markertext h3 {
+margin-top: 0 !important;
+text-align: left !important;
+line-height: 1.2em !important;
+}
+
+.markertext .search-term {
+background: #ff6;
+}
+
+div#results {
+padding-bottom: 20px;
+}
+
+div.result {
+margin: 0;
+padding: 10px 5px;
+font-size: 0.9em;
+line-height: 1.2em;
+border-bottom: 1px solid #ccc;
+}
+
+div.result small {
+font-size: 0.7em;
+color: #999;
+}
+
+div.result:hover {
+background: #ebf0f1;
+}
+
+div.result address {
+font-style: normal;
+}
+
+div.result h3 {
+margin: 0 0 5px;
+font-size: 1.5em;
+text-transform: none;
+}
+
+div.result img {
+border: none;
+}
+
+div.result .search-term {
+background: #ff6;
+color: #000;
+}
+
+div.result div.result_name {
+width: 100%;
+}
+
+div.result div.result_address {
+float: left;
+width: 40%;
+}
+
+div.result div.result_phone {
+float: left;
+width: 30%;
+height: 3em;
+}
+
+div.result div.result_links {
+float: left;
+display: table-cell;
+width: 30%;
+text-align: right;
+vertical-align: bottom;
+}
+
+div.result div.result_links div {
+clear: right;
+margin-bottom: 3px;
+}
+
+div.result div.special {
+float: right;
+height: 20px;
+margin: 0;
+padding-left: 20px;
+line-height: 20px;
+text-align: left;
+font-style: italic;
+background: url( ../images/star.png ) no-repeat left center;
+}
+
+.location_search_title, .location_search_distance_cell, .location_search_taxonomy_cell {
+font-weight:bold;
+vertical-align:top;
+}
+
+.no-linebreak {
+white-space:nowrap;
+}
+
+.sm-single-location-default-template {
+padding:3px;
+}
+
+.sm-single-map {
+float:left;
+width:105px;
+}
+
+.sm-single-location-data {
+margin-left:105px;
+}
+
+.sm-single-location-data-ul {
+list-style-type:none;
+padding-left:0;
+margin-left:0;
+}
diff --git a/lang/SimpleMap-de_DE.mo b/lang/SimpleMap-de_DE.mo
new file mode 100644
index 0000000..a1ae520
Binary files /dev/null and b/lang/SimpleMap-de_DE.mo differ
diff --git a/lang/SimpleMap-de_DE.po b/lang/SimpleMap-de_DE.po
new file mode 100644
index 0000000..06d9d7b
--- /dev/null
+++ b/lang/SimpleMap-de_DE.po
@@ -0,0 +1,934 @@
+msgid ""
+msgstr ""
+"Project-Id-Version: SimpleMap\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2009-11-02 20:05-0600\n"
+"PO-Revision-Date: \n"
+"Last-Translator: Alison Barrett \n"
+"Language-Team: Thorsten Karras\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Poedit-Language: English\n"
+"X-Poedit-SourceCharset: utf-8\n"
+"X-Poedit-KeywordsList: __;_e\n"
+"X-Poedit-Basepath: ../\n"
+"X-Poedit-Country: GERMANY\n"
+"X-Poedit-SearchPath-0: .\n"
+"X-Poedit-SearchPath-1: admin\n"
+"X-Poedit-SearchPath-2: includes\n"
+
+#: simplemap.php:13
+msgid "SimpleMap requires WordPress 2.8 or newer. Please update!"
+msgstr "SimpleMap benötigt WordPress 2.8 oder neuer. Bitte updaten!"
+
+#: simplemap.php:114
+msgid "SimpleMap Options"
+msgstr "SimpleMap Optionen"
+
+#: simplemap.php:115
+#: admin/general-options.php:160
+msgid "SimpleMap: General Options"
+msgstr "SimpleMap: Allgemeine Optionen"
+
+#: simplemap.php:115
+#: admin/help.php:22
+#: admin/help.php:65
+msgid "General Options"
+msgstr "Allgemeine Optionen"
+
+#: simplemap.php:116
+#: admin/add-location.php:27
+msgid "SimpleMap: Add Location"
+msgstr "SimpleMap: Ort Hinzufügen"
+
+#: simplemap.php:116
+#: admin/add-location.php:217
+#: admin/add-location.php:218
+msgid "Add Location"
+msgstr "Ort Hinzufügen"
+
+#: simplemap.php:117
+#: admin/manage-db.php:45
+msgid "SimpleMap: Manage Database"
+msgstr "SimpleMap: Datenbank bearbeiten"
+
+#: simplemap.php:117
+#: admin/manage-db.php:77
+#: admin/manage-db.php:83
+#: admin/manage-db.php:89
+#: admin/manage-db.php:90
+#: admin/manage-db.php:108
+#: admin/manage-db.php:117
+#: admin/manage-db.php:123
+#: admin/manage-db.php:134
+#: admin/manage-db.php:135
+#: admin/manage-db.php:136
+#: admin/manage-db.php:137
+#: admin/manage-db.php:151
+#: admin/manage-db.php:152
+#: admin/manage-db.php:153
+#: admin/manage-db.php:154
+#: admin/manage-db.php:277
+#: admin/manage-db.php:286
+#: admin/manage-db.php:292
+msgid "Manage Database"
+msgstr "Datenbank bearbeiten"
+
+#: simplemap.php:118
+#: admin/manage-categories.php:25
+#, fuzzy
+msgid "SimpleMap: Manage Categories"
+msgstr "SimpleMap: Datenbank bearbeiten"
+
+#: simplemap.php:118
+#: admin/manage-categories.php:88
+#: admin/manage-categories.php:97
+#: admin/manage-categories.php:103
+#: admin/manage-categories.php:174
+#: admin/manage-categories.php:183
+#: admin/manage-categories.php:189
+#, fuzzy
+msgid "Manage Categories"
+msgstr "Datenbank bearbeiten"
+
+#: simplemap.php:119
+msgid "SimpleMap: Import/Export"
+msgstr "SimpleMap: Import/Export"
+
+#: simplemap.php:119
+msgid "Import/Export"
+msgstr "Import/Export"
+
+#: simplemap.php:120
+#: admin/help.php:18
+#, fuzzy
+msgid "SimpleMap: Help"
+msgstr "SimpleMap Link"
+
+#: simplemap.php:120
+msgid "Help"
+msgstr ""
+
+#: simplemap.php:120
+#: admin/general-options.php:272
+#, fuzzy
+msgid "SimpleMap Help"
+msgstr "SimpleMap Link"
+
+#: simplemap.php:170
+msgid "SimpleMap settings saved."
+msgstr "SimpleMap Einstellungen gespeichert."
+
+#: simplemap.php:274
+msgid "Class SimpleMap already declared!"
+msgstr "Klasse SimpleMap schon definiert!"
+
+#: simplemap.php:303
+msgid "Settings"
+msgstr "Einstellungen"
+
+#: actions/category-update.php:15
+msgid "Your database has been successfully updated."
+msgstr ""
+
+#: actions/csv-process.php:200
+#, php-format
+msgid "Location \"%s\" failed to geocode, with status %s"
+msgstr ""
+
+#: actions/csv-process.php:222
+#, php-format
+msgid "Location \"%s\" was not successfully inserted into the database.%s"
+msgstr ""
+
+#: actions/csv-process.php:233
+#, fuzzy, php-format
+msgid "%d records imported successfully."
+msgstr "Erfolgreich hinzugefügt."
+
+#: actions/location-process.php:17
+msgid "Record deleted."
+msgstr ""
+
+#: actions/location-process.php:26
+msgid "Database cleared."
+msgstr ""
+
+#: actions/location-process.php:144
+#: admin/manage-categories.php:147
+#: admin/manage-db.php:193
+msgid "Quick Edit"
+msgstr "Schnellbearbeitung"
+
+#: actions/location-process.php:145
+#: admin/manage-categories.php:148
+#: admin/manage-db.php:194
+msgid "Delete"
+msgstr "Löschen"
+
+#: actions/location-process.php:185
+#: admin/manage-db.php:234
+#, fuzzy
+msgid "Fax:"
+msgstr "Fax"
+
+#: admin/add-location.php:34
+msgid "added successfully."
+msgstr "Erfolgreich hinzugefügt."
+
+#: admin/add-location.php:50
+msgid "Name and Description"
+msgstr ""
+
+#: admin/add-location.php:58
+#: admin/manage-db.php:134
+#: admin/manage-db.php:151
+#: admin/manage-db.php:319
+msgid "Name"
+msgstr "Name"
+
+#: admin/add-location.php:59
+msgid "Please enter a name."
+msgstr ""
+
+#: admin/add-location.php:63
+#: admin/manage-db.php:139
+#: admin/manage-db.php:156
+#: admin/manage-db.php:418
+msgid "Description"
+msgstr ""
+
+#: admin/add-location.php:68
+#: admin/manage-categories.php:115
+#: admin/manage-categories.php:124
+#: admin/manage-db.php:137
+#: admin/manage-db.php:154
+#: admin/manage-db.php:391
+msgid "Category"
+msgstr ""
+
+#: admin/add-location.php:82
+#: admin/manage-db.php:403
+#, fuzzy, php-format
+msgid "You can add categories from the %s General Options screen.%s"
+msgstr "Einen Key unter Allgemeine Optionen eineben."
+
+#: admin/add-location.php:88
+#: admin/manage-db.php:138
+#: admin/manage-db.php:155
+#: admin/manage-db.php:406
+msgid "Tags"
+msgstr ""
+
+#: admin/add-location.php:105
+#, fuzzy
+msgid "Geographic Location"
+msgstr "Startpunkt"
+
+#: admin/add-location.php:108
+msgid "You must enter either an address or a latitude/longitude. If you enter both, the address will not be geocoded and your latitude/longitude values will remain intact."
+msgstr ""
+
+#: admin/add-location.php:114
+#: admin/manage-db.php:135
+#: admin/manage-db.php:152
+#: admin/manage-db.php:332
+msgid "Address"
+msgstr "Adresse"
+
+#: admin/add-location.php:120
+#: admin/general-options.php:38
+#: admin/general-options.php:39
+#: admin/general-options.php:227
+#: admin/general-options.php:229
+#: admin/general-options.php:231
+#: admin/general-options.php:233
+#: admin/general-options.php:235
+#: admin/general-options.php:237
+#: admin/general-options.php:239
+msgid "City/Town"
+msgstr ""
+
+#: admin/add-location.php:125
+#: admin/general-options.php:38
+#: admin/general-options.php:39
+#: admin/general-options.php:227
+#: admin/general-options.php:229
+#: admin/general-options.php:231
+#: admin/general-options.php:233
+#: admin/general-options.php:235
+#: admin/manage-db.php:339
+msgid "State/Province"
+msgstr ""
+
+#: admin/add-location.php:130
+#: admin/general-options.php:38
+#: admin/general-options.php:39
+#: admin/general-options.php:227
+#: admin/general-options.php:229
+#: admin/general-options.php:231
+#: admin/general-options.php:233
+#: admin/general-options.php:235
+#: admin/general-options.php:237
+#: admin/general-options.php:239
+msgid "Zip/Postal Code"
+msgstr ""
+
+#: admin/add-location.php:135
+#: admin/manage-db.php:371
+msgid "Country"
+msgstr ""
+
+#: admin/add-location.php:151
+#, fuzzy
+msgid "Latitude/Longitude"
+msgstr "Längengrad:"
+
+#: admin/add-location.php:179
+msgid "Miscellaneous Information"
+msgstr ""
+
+#: admin/add-location.php:187
+#: admin/manage-db.php:384
+msgid "Phone"
+msgstr "Telefonnummer"
+
+#: admin/add-location.php:192
+#: admin/manage-db.php:386
+msgid "Fax"
+msgstr "Fax"
+
+#: admin/add-location.php:197
+#: admin/manage-db.php:388
+msgid "URL"
+msgstr "URL"
+
+#: admin/add-location.php:199
+msgid "Please include http://"
+msgstr ""
+
+#: admin/general-options.php:60
+#, php-format
+msgid "%s Auto-load all locations %s is disabled because you have more than 100 locations in your database."
+msgstr ""
+
+#: admin/general-options.php:178
+msgid "Location Defaults"
+msgstr ""
+
+#: admin/general-options.php:181
+#, fuzzy
+msgid "If most of your locations are in the same area, choose the country and state/province here to make adding new locations easier."
+msgstr "Wenn viele ihrer Orte überwiegend im selben Bundesland sind, wählen sie dieses Bundesland, um das Hinzufügen neuer Orte zu vereinfachen"
+
+#: admin/general-options.php:187
+#, fuzzy
+msgid "Google Maps Domain"
+msgstr "Google Maps API Key"
+
+#: admin/general-options.php:203
+msgid "Default Country"
+msgstr ""
+
+#: admin/general-options.php:219
+msgid "Default State/Province"
+msgstr ""
+
+#: admin/general-options.php:224
+#, fuzzy
+msgid "Address Format"
+msgstr "Adresse"
+
+#: admin/general-options.php:241
+#: admin/general-options.php:242
+#: admin/general-options.php:243
+#: admin/general-options.php:244
+#: admin/general-options.php:245
+#: admin/general-options.php:246
+#: admin/general-options.php:247
+msgid "Example"
+msgstr ""
+
+#: admin/general-options.php:256
+#: admin/general-options.php:392
+#: admin/general-options.php:528
+msgid "Save Options"
+msgstr "Einstellungen speichern"
+
+#: admin/general-options.php:269
+msgid "Map Configuration"
+msgstr ""
+
+#: admin/general-options.php:272
+#, php-format
+msgid "See %s the Help page%s for an explanation of these options."
+msgstr ""
+
+#: admin/general-options.php:278
+msgid "Google Maps API Key"
+msgstr "Google Maps API Key"
+
+#: admin/general-options.php:281
+#, fuzzy, php-format
+msgid "%s Click here%s to sign up for a Google Maps API key for your domain."
+msgstr "Um einen Google-Maps API Key für deine Domain zu erlangen"
+
+#: admin/general-options.php:286
+#: admin/help.php:73
+msgid "Starting Location"
+msgstr "Startpunkt"
+
+#: admin/general-options.php:288
+msgid "Latitude:"
+msgstr "Breitengrad:"
+
+#: admin/general-options.php:290
+msgid "Longitude:"
+msgstr "Längengrad:"
+
+#: admin/general-options.php:298
+msgid "Distance Units"
+msgstr "Entfernung in"
+
+#: admin/general-options.php:305
+msgid "Miles"
+msgstr "Meilen"
+
+#: admin/general-options.php:306
+msgid "Kilometers"
+msgstr "Kilometern"
+
+#: admin/general-options.php:312
+msgid "Default Search Radius"
+msgstr "Standard Suchradius"
+
+#: admin/general-options.php:326
+msgid "Number of Results to Display"
+msgstr ""
+
+#: admin/general-options.php:336
+msgid "Select \"No Limit\" to display all results within the search radius."
+msgstr ""
+
+#: admin/general-options.php:341
+#: admin/help.php:78
+#, fuzzy
+msgid "Auto-Load Database"
+msgstr "Datenbank bearbeiten"
+
+#: admin/general-options.php:344
+msgid "No auto-load"
+msgstr ""
+
+#: admin/general-options.php:345
+#, fuzzy
+msgid "Auto-load search results"
+msgstr "Adresse automatisch laden"
+
+#: admin/general-options.php:346
+msgid "Auto-load all locations"
+msgstr ""
+
+#: admin/general-options.php:354
+#, fuzzy
+msgid "Stick to default location set above"
+msgstr "Standard Bundesland"
+
+#: admin/general-options.php:359
+msgid "Default Zoom Level"
+msgstr "Standard Zoomstufe"
+
+#: admin/general-options.php:368
+msgid "1 is the most zoomed out (the whole world is visible) and 19 is the most zoomed in."
+msgstr "wobei 1 am meisten ausgezoomt (die ganze Welt ist sichtbar) und 19 ist am meisten eingezoomt ist"
+
+#: admin/general-options.php:373
+#: admin/help.php:89
+msgid "Special Location Label"
+msgstr "Spezielle Ortsbeschreibung"
+
+#: admin/general-options.php:380
+msgid "Map Page IDs"
+msgstr ""
+
+#: admin/general-options.php:383
+msgid "Enter the IDs of the pages/posts the map will appear on, separated by commas. The map scripts will only be loaded on those pages. Leave blank or enter 0 to load the scripts on all pages."
+msgstr ""
+
+#: admin/general-options.php:415
+msgid "Map Style Defaults"
+msgstr ""
+
+#: admin/general-options.php:418
+#, php-format
+msgid "To insert SimpleMap into a post or page, type this shortcode in the body: %s"
+msgstr ""
+
+#: admin/general-options.php:424
+msgid "Map Size"
+msgstr "Kartengröße"
+
+#: admin/general-options.php:426
+msgid "Width:"
+msgstr "Breite"
+
+#: admin/general-options.php:428
+msgid "Height:"
+msgstr "Höhe"
+
+#: admin/general-options.php:430
+#, fuzzy, php-format
+msgid "Enter a numeric value with CSS units, such as %s or %s."
+msgstr "Gebe einen numerischen Wert mit CSS Einheiten ein, wie"
+
+#: admin/general-options.php:435
+msgid "Default Map Type"
+msgstr "Standard Kartentyp"
+
+#: admin/general-options.php:439
+#, fuzzy
+msgid "Road map"
+msgstr "Normale Ansicht"
+
+#: admin/general-options.php:446
+msgid "Satellite map"
+msgstr "Sattelitenansicht"
+
+#: admin/general-options.php:453
+msgid "Hybrid map"
+msgstr "Hybridansicht"
+
+#: admin/general-options.php:460
+msgid "Terrain map"
+msgstr "Geländeansicht"
+
+#: admin/general-options.php:468
+msgid "Theme"
+msgstr "Theme"
+
+#: admin/general-options.php:475
+msgid "Default Themes"
+msgstr "Standard Themes"
+
+#: admin/general-options.php:483
+msgid "Custom Themes"
+msgstr "Benutzerdefinierte Themes"
+
+#: admin/general-options.php:492
+#, fuzzy, php-format
+msgid "To add your own theme, upload your own CSS file to a new directory in your plugins folder called %s simplemap-styles%s. To give it a name, use the following header in the top of your stylesheet:"
+msgstr "Um ihr eigenes Theme zu benutzen, laden sie ihre CSS-Dateien in ein Verzeichnis namens"
+
+#: admin/general-options.php:501
+msgid "Display Search Form"
+msgstr ""
+
+#: admin/general-options.php:508
+msgid "Show the search form above the map"
+msgstr ""
+
+#: admin/general-options.php:513
+msgid "SimpleMap Link"
+msgstr "SimpleMap Link"
+
+#: admin/general-options.php:520
+msgid "Show the \"Powered by SimpleMap\" link"
+msgstr "Zeigen des \"Powered by SimpleMap\" Links"
+
+#: admin/help.php:22
+msgid "Jump to a section:"
+msgstr ""
+
+#: admin/help.php:22
+#: admin/help.php:35
+#, fuzzy
+msgid "Displaying Your Map"
+msgstr "Anzeigen"
+
+#: admin/help.php:22
+#: admin/help.php:108
+#, fuzzy
+msgid "Adding a Location"
+msgstr "Ort Hinzufügen"
+
+#: admin/help.php:22
+#: admin/help.php:141
+msgid "Everything Else"
+msgstr ""
+
+#: admin/help.php:42
+msgid "To show your map on any post or page, insert the shortcode in the body:"
+msgstr ""
+
+#: admin/help.php:44
+msgid "If you want only certain categories to show on a map, insert shortcode like this, where the numbers are replaced with the ID numbers of your desired categories:"
+msgstr ""
+
+#: admin/help.php:46
+msgid "You can place content above or below your map, just like in any other post. Note that any content placed below the map will be pushed down by the list of search results (unless you have them displaying differently with a custom theme)."
+msgstr ""
+
+#: admin/help.php:48
+#, fuzzy, php-format
+msgid "Configure the appearance of your map on the %s General Options page.%s"
+msgstr "Einen Key unter Allgemeine Optionen eineben."
+
+#: admin/help.php:74
+#, fuzzy
+msgid "Enter the location the map should open to by default, when no location has been searched for. If you do not know the latitude and longitude of your starting location, enter the address in the provided text field and press \"Geocode Address.\""
+msgstr "Geben sie einen Startpunkt für die Karte ein, der angewählt wird, wenn kein Ort gesucht wurde; z.B. wenn ihre Orte überwiegend in der selben Stadt sind und sie hier zentriert beginnen möchten."
+
+#: admin/help.php:80
+#, php-format
+msgid "%s No auto-load:%s Locations will not load automatically."
+msgstr ""
+
+#: admin/help.php:81
+#, php-format
+msgid "%s Auto-load search results:%s The locations will load based on the default location, default search radius and zoom level you have set."
+msgstr ""
+
+#: admin/help.php:82
+#, php-format
+msgid "%s Auto-load all locations:%s All of the locations in your database will load at the default zoom level you have set, disregarding your default search radius. %s This option is not enabled if you have more than 100 locations in your database.%s"
+msgstr ""
+
+#: admin/help.php:84
+msgid "If you leave the checkbox unchecked, then the auto-load feature will automatically move the map to the center of all the loaded locations. If you check the box, your default location will be respected regardless of the locations the map is loading."
+msgstr ""
+
+#: admin/help.php:90
+msgid "This is meant to flag certain locations with a specific label. It shows up in the search results with a gold star next to it. Originally this was developed for an organization that wanted to highlight people that had been members for more than ten years. It could be used for something like that, or for \"Favorite Spots,\" or \"Free Wi-Fi,\" or anything you want. You can also leave it blank to disable it."
+msgstr ""
+
+#: admin/help.php:116
+msgid "To properly add a new location, you must enter one or both of the following:"
+msgstr ""
+
+#: admin/help.php:117
+#, fuzzy
+msgid "1. A full address"
+msgstr "Adresse automatisch laden"
+
+#: admin/help.php:118
+#, fuzzy
+msgid "2. A latitude and longitude"
+msgstr "Um einen Längen- und Breitengrad ihrer Adresse zu finden."
+
+#: admin/help.php:119
+msgid "If you enter a latitude and longitude, then the address will not be geocoded, and your custom values will be left in place. Entering an address without latitude or longitude will result in the address being geocoded before it is submitted to the database."
+msgstr ""
+
+#: admin/help.php:123
+#, fuzzy
+msgid "You must also enter a name for every location."
+msgstr "Du musst einen API-Key für deine Domain eingeben."
+
+#: admin/help.php:149
+#, php-format
+msgid "If you have any other questions or comments, please visit the %s SimpleMap Support Forums%s. Search the forums for your problem before you post; the same issue may have been solved already by someone else."
+msgstr ""
+
+#: admin/import-export.php:18
+msgid "SimpleMap: Import/Export CSV"
+msgstr "SimpleMap: Import/Export CSV"
+
+#: admin/import-export.php:32
+msgid "Import From File"
+msgstr "Aus Datei importieren"
+
+#: admin/import-export.php:36
+msgid "If your file has fewer than 100 records and does not have latitude/longitude data:"
+msgstr ""
+
+#: admin/import-export.php:38
+msgid "Make sure your CSV has a header row that gives the field names (in English). A good example of a header row would be as follows:"
+msgstr ""
+
+#: admin/import-export.php:40
+msgid "Name, Address, Address Line 2, City, State/Province, ZIP/Postal Code, Country, Phone, Fax, URL, Category, Tags, Description, Special (1 or 0), Latitude, Longitude"
+msgstr ""
+
+#: admin/import-export.php:42
+msgid "You can import your file with or without quotation marks around each field. However, if any of your fields contain commas, you should enclose your fields in quotation marks. Single ( ' ) or double ( \" ) quotation marks will work."
+msgstr ""
+
+#: admin/import-export.php:44
+msgid "If your file has more than 100 records:"
+msgstr ""
+
+#: admin/import-export.php:46
+msgid "If you have more than 100 records to import, it is best to do one of the following:"
+msgstr ""
+
+#: admin/import-export.php:49
+msgid "Geocode your own data before importing it"
+msgstr ""
+
+#: admin/import-export.php:50
+msgid "Split your file into multiple files with no more than 100 lines each"
+msgstr ""
+
+#: admin/import-export.php:53
+#, php-format
+msgid "Geocoding your own data will allow you to import thousands of records very quickly. If your locations need to be geocoded by SimpleMap, any file with more than 100 records might stall your server. %s Resources for geocoding your own locations can be found here.%s"
+msgstr ""
+
+#: admin/import-export.php:55
+msgid "If you are importing a file you exported from SimpleMap (and haven't changed since), be sure to check the box below since the locations are already geocoded."
+msgstr ""
+
+#: admin/import-export.php:61
+#, fuzzy
+msgid "File to import (maximum size 2MB):"
+msgstr "Datei zum Import:"
+
+#: admin/import-export.php:63
+msgid "Check this box if the locations in the file are already geocoded."
+msgstr ""
+
+#: admin/import-export.php:65
+#, fuzzy
+msgid "Import CSV File"
+msgstr "Aus Datei importieren"
+
+#: admin/import-export.php:69
+msgid "Importing a file may take several seconds; please be patient."
+msgstr "Eine Datei zu importieren kann einige Sekunden dauern; bitte bleiben sie geduldig."
+
+#: admin/import-export.php:81
+msgid "Export To File"
+msgstr "Aus Datei exportieren"
+
+#: admin/import-export.php:88
+#, fuzzy
+msgid "Export Database to CSV File"
+msgstr "Datenbank exportieren"
+
+#: admin/manage-categories.php:37
+msgid "Delete All Categories"
+msgstr ""
+
+#: admin/manage-categories.php:37
+msgid "Delete all categories in database"
+msgstr ""
+
+#: admin/manage-categories.php:85
+#: admin/manage-categories.php:171
+#, php-format
+msgid "Displaying %d–%d of %d"
+msgstr ""
+
+#: admin/manage-categories.php:114
+#: admin/manage-categories.php:123
+msgid "ID"
+msgstr ""
+
+#: admin/manage-categories.php:162
+#: admin/manage-db.php:263
+#: admin/manage-db.php:265
+msgid "No records found."
+msgstr "Keine Einträge gefunden."
+
+#: admin/manage-categories.php:211
+msgid "Category Name"
+msgstr ""
+
+#: admin/manage-categories.php:217
+#: admin/manage-db.php:423
+msgid "Cancel"
+msgstr "Abbrechen"
+
+#: admin/manage-categories.php:218
+#, fuzzy
+msgid "Update Category"
+msgstr "Ort neu laden"
+
+#: admin/manage-categories.php:235
+#, fuzzy
+msgid "You are about to delete the selected categories. \"Cancel\" to stop, \"OK\" to delete."
+msgstr "Sind sind dabei die ausgewählten Einträge zu löschen. \"Abbrechen\" um zu beenden, \"OK\" um zu löschen.\""
+
+#: admin/manage-categories.php:249
+msgid "Add Category"
+msgstr ""
+
+#: admin/manage-db.php:57
+msgid "Delete Database"
+msgstr ""
+
+#: admin/manage-db.php:57
+msgid "Do you really want to delete all locations in your database?"
+msgstr ""
+
+#: admin/manage-db.php:57
+msgid "Delete all entries in database"
+msgstr ""
+
+#: admin/manage-db.php:105
+#: admin/manage-db.php:274
+msgid "Displaying"
+msgstr "Anzeigen"
+
+#: admin/manage-db.php:136
+#: admin/manage-db.php:153
+#, fuzzy
+msgid "Phone/Fax/URL"
+msgstr "Telefonnummer/Fax"
+
+#: admin/manage-db.php:193
+msgid "Edit this post inline"
+msgstr ""
+
+#: admin/manage-db.php:194
+#, php-format
+msgid "Do you really want to delete %s ?"
+msgstr ""
+
+#: admin/manage-db.php:323
+#, fuzzy
+msgid "Latitude"
+msgstr "Breitengrad:"
+
+#: admin/manage-db.php:326
+#, fuzzy
+msgid "Longitude"
+msgstr "Längengrad:"
+
+#: admin/manage-db.php:336
+msgid "City"
+msgstr ""
+
+#: admin/manage-db.php:368
+msgid "ZIP/Postal Code"
+msgstr ""
+
+#: admin/manage-db.php:379
+#, fuzzy
+msgid "Geocode Address"
+msgstr "Adresse"
+
+#: admin/manage-db.php:424
+msgid "Update Location"
+msgstr "Ort neu laden"
+
+#: admin/manage-db.php:424
+msgid "Geocode the new address to update this location."
+msgstr ""
+
+#: admin/manage-db.php:441
+msgid "You are about to delete the selected posts. \"Cancel\" to stop, \"OK\" to delete."
+msgstr "Sind sind dabei die ausgewählten Einträge zu löschen. \"Abbrechen\" um zu beenden, \"OK\" um zu löschen.\""
+
+#: includes/display-map.php:27
+msgid "Search"
+msgstr ""
+
+#: includes/display-map.php:28
+#, fuzzy
+msgid "Please enter an address or search term in the box above."
+msgstr "Bitte geben sie einen Namen, Adresse, Stadt oder Postleitzahl in das Suchfeld ein"
+
+#: includes/display-map.php:33
+#, fuzzy, php-format
+msgid "Powered by %s SimpleMap"
+msgstr "Zeigen des \"Powered by SimpleMap\" Links"
+
+#: includes/scripts.php:22
+msgid "Visit Website"
+msgstr ""
+
+#: includes/scripts.php:23
+msgid "Get Directions"
+msgstr ""
+
+#: includes/scripts.php:24
+#, fuzzy
+msgid "Location"
+msgstr "Ort Hinzufügen"
+
+#: includes/scripts.php:29
+#, fuzzy
+msgid "No results found."
+msgstr "Keine Einträge gefunden."
+
+#: includes/toolbar.php:6
+msgid "Go to the SimpleMap Home Page"
+msgstr ""
+
+#: includes/toolbar.php:6
+#, fuzzy
+msgid "SimpleMap Home Page"
+msgstr "SimpleMap Link"
+
+#: includes/toolbar.php:9
+msgid "Go to the SimpleMap Support Forums"
+msgstr ""
+
+#: includes/toolbar.php:9
+msgid "Support Forums"
+msgstr ""
+
+#: includes/toolbar.php:23
+msgid "You must enter an API key for your domain."
+msgstr "Du musst einen API-Key für deine Domain eingeben."
+
+#: includes/toolbar.php:23
+msgid "Enter a key on the General Options page."
+msgstr "Einen Key unter Allgemeine Optionen eineben."
+
+#: includes/toolbar.php:27
+msgid "You must update your database to enable the new category functionality."
+msgstr ""
+
+#: includes/toolbar.php:28
+msgid "To update the database:"
+msgstr ""
+
+#: includes/toolbar.php:30
+msgid "Click here FIRST to download a backup of your database."
+msgstr ""
+
+#: includes/toolbar.php:32
+msgid "Then click here to update your categories."
+msgstr ""
+
+#~ msgid "Click here to sign up for a Google Maps API key."
+#~ msgstr "Hier klicken, um einen Google Maps API Key zu erlangen."
+
+#, fuzzy
+#~ msgid "Importing Your CSV File"
+#~ msgstr "Aus Datei importieren"
+#~ msgid "City, State, Zip"
+#~ msgstr "Stadt, Bundesland, Postleitzahl"
+#~ msgid "Please include the"
+#~ msgstr "Bitte füge den"
+#~ msgid "Click here"
+#~ msgstr "Hier klicken"
+#~ msgid "or"
+#~ msgstr "oder"
+#~ msgid ""
+#~ "If you want to distinguish certain locations (i.e. Ten-Year Members, Most "
+#~ "Popular, etc.) then enter the label for them here. Leave it blank to "
+#~ "disable this feature."
+#~ msgstr ""
+#~ "Wenn sie einen Ort besser schildern möchten (z.B. Treffpunkte, Vereine "
+#~ "etc.), geben sie ihm hier eine Beschreibung. Freilassen, um diese "
+#~ "Funktion nicht zu nutzen."
+#~ msgid ""
+#~ "Enter an address, city, or zip code here if you want the map to "
+#~ "automatically show all locations in that area."
+#~ msgstr ""
+#~ "Geben sie eine Adresse, Stadt oder Postleitzahl hier ein, um die Karte "
+#~ "automatisch alle Punkte in der Gegend anzeigen zu lassen."
+#~ msgid ""
+#~ "To give it a name, use the following header in the top of your stylesheet:"
+#~ msgstr ""
+#~ "Um ihm einen Namen zu geben, benutzen sie einen der folgenden Header zu "
+#~ "Beginn ihres Stylesheets:"
+#~ msgid "Import"
+#~ msgstr "Import"
+#~ msgid "Powered by"
+#~ msgstr "Powered by"
+
diff --git a/lang/SimpleMap-en_US.mo b/lang/SimpleMap-en_US.mo
new file mode 100644
index 0000000..642e6b6
Binary files /dev/null and b/lang/SimpleMap-en_US.mo differ
diff --git a/lang/SimpleMap-es_ES.mo b/lang/SimpleMap-es_ES.mo
new file mode 100644
index 0000000..1cd1581
Binary files /dev/null and b/lang/SimpleMap-es_ES.mo differ
diff --git a/lang/SimpleMap-es_ES.po b/lang/SimpleMap-es_ES.po
new file mode 100644
index 0000000..79ed42d
--- /dev/null
+++ b/lang/SimpleMap-es_ES.po
@@ -0,0 +1,927 @@
+msgid ""
+msgstr ""
+"Project-Id-Version: SimpleMap\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2009-11-02 20:05-0600\n"
+"PO-Revision-Date: \n"
+"Last-Translator: Alison Barrett \n"
+"Language-Team: \n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Poedit-Language: English\n"
+"X-Poedit-SourceCharset: utf-8\n"
+"X-Poedit-KeywordsList: __;_e\n"
+"X-Poedit-Basepath: ../\n"
+"X-Poedit-SearchPath-0: .\n"
+"X-Poedit-SearchPath-1: admin\n"
+"X-Poedit-SearchPath-2: includes\n"
+
+#: simplemap.php:13
+msgid "SimpleMap requires WordPress 2.8 or newer. Please update!"
+msgstr "SimpleMap requiere WordPress 2.8 o superior. ¡Por favor, actualiza tu WP!"
+
+#: simplemap.php:114
+msgid "SimpleMap Options"
+msgstr "Opciones de SimpleMap"
+
+#: simplemap.php:115
+#: admin/general-options.php:160
+msgid "SimpleMap: General Options"
+msgstr "SimpleMap: Opciones generales"
+
+#: simplemap.php:115
+#: admin/help.php:22
+#: admin/help.php:65
+msgid "General Options"
+msgstr "Opciones generales"
+
+#: simplemap.php:116
+#: admin/add-location.php:27
+msgid "SimpleMap: Add Location"
+msgstr "SimpleMap: Añadir localización"
+
+#: simplemap.php:116
+#: admin/add-location.php:217
+#: admin/add-location.php:218
+msgid "Add Location"
+msgstr "Añadir localización"
+
+#: simplemap.php:117
+#: admin/manage-db.php:45
+msgid "SimpleMap: Manage Database"
+msgstr "SimpleMap: Gestionar la base de datos"
+
+#: simplemap.php:117
+#: admin/manage-db.php:77
+#: admin/manage-db.php:83
+#: admin/manage-db.php:89
+#: admin/manage-db.php:90
+#: admin/manage-db.php:108
+#: admin/manage-db.php:117
+#: admin/manage-db.php:123
+#: admin/manage-db.php:134
+#: admin/manage-db.php:135
+#: admin/manage-db.php:136
+#: admin/manage-db.php:137
+#: admin/manage-db.php:151
+#: admin/manage-db.php:152
+#: admin/manage-db.php:153
+#: admin/manage-db.php:154
+#: admin/manage-db.php:277
+#: admin/manage-db.php:286
+#: admin/manage-db.php:292
+msgid "Manage Database"
+msgstr "Gestionar la base de datos"
+
+#: simplemap.php:118
+#: admin/manage-categories.php:25
+#, fuzzy
+msgid "SimpleMap: Manage Categories"
+msgstr "SimpleMap: Gestionar la base de datos"
+
+#: simplemap.php:118
+#: admin/manage-categories.php:88
+#: admin/manage-categories.php:97
+#: admin/manage-categories.php:103
+#: admin/manage-categories.php:174
+#: admin/manage-categories.php:183
+#: admin/manage-categories.php:189
+msgid "Manage Categories"
+msgstr "Administrar categorías"
+
+#: simplemap.php:119
+msgid "SimpleMap: Import/Export"
+msgstr "SimpleMap: Importar/exportar"
+
+#: simplemap.php:119
+msgid "Import/Export"
+msgstr "Importar/exportar"
+
+#: simplemap.php:120
+#: admin/help.php:18
+#, fuzzy
+msgid "SimpleMap: Help"
+msgstr "Enlace a SimpleMap"
+
+#: simplemap.php:120
+msgid "Help"
+msgstr ""
+
+#: simplemap.php:120
+#: admin/general-options.php:272
+#, fuzzy
+msgid "SimpleMap Help"
+msgstr "Enlace a SimpleMap"
+
+#: simplemap.php:170
+msgid "SimpleMap settings saved."
+msgstr "Configuración de SimpleMap guardada."
+
+#: simplemap.php:274
+msgid "Class SimpleMap already declared!"
+msgstr "Class SimpleMap ha sido declarada ya!"
+
+#: simplemap.php:303
+msgid "Settings"
+msgstr "Configuración"
+
+#: actions/category-update.php:15
+msgid "Your database has been successfully updated."
+msgstr ""
+
+#: actions/csv-process.php:200
+#, php-format
+msgid "Location \"%s\" failed to geocode, with status %s"
+msgstr ""
+
+#: actions/csv-process.php:222
+#, php-format
+msgid "Location \"%s\" was not successfully inserted into the database.%s"
+msgstr ""
+
+#: actions/csv-process.php:233
+#, fuzzy, php-format
+msgid "%d records imported successfully."
+msgstr "añadido correctamente."
+
+#: actions/location-process.php:17
+msgid "Record deleted."
+msgstr ""
+
+#: actions/location-process.php:26
+msgid "Database cleared."
+msgstr ""
+
+#: actions/location-process.php:144
+#: admin/manage-categories.php:147
+#: admin/manage-db.php:193
+msgid "Quick Edit"
+msgstr "Edición Rápida"
+
+#: actions/location-process.php:145
+#: admin/manage-categories.php:148
+#: admin/manage-db.php:194
+msgid "Delete"
+msgstr "Borrar"
+
+#: actions/location-process.php:185
+#: admin/manage-db.php:234
+msgid "Fax:"
+msgstr "Fax"
+
+#: admin/add-location.php:34
+msgid "added successfully."
+msgstr "añadido correctamente."
+
+#: admin/add-location.php:50
+msgid "Name and Description"
+msgstr "Nombre y descripción"
+
+#: admin/add-location.php:58
+#: admin/manage-db.php:134
+#: admin/manage-db.php:151
+#: admin/manage-db.php:319
+msgid "Name"
+msgstr "Nombre"
+
+#: admin/add-location.php:59
+msgid "Please enter a name."
+msgstr ""
+
+#: admin/add-location.php:63
+#: admin/manage-db.php:139
+#: admin/manage-db.php:156
+#: admin/manage-db.php:418
+msgid "Description"
+msgstr "Descripción"
+
+#: admin/add-location.php:68
+#: admin/manage-categories.php:115
+#: admin/manage-categories.php:124
+#: admin/manage-db.php:137
+#: admin/manage-db.php:154
+#: admin/manage-db.php:391
+msgid "Category"
+msgstr "Categoría"
+
+#: admin/add-location.php:82
+#: admin/manage-db.php:403
+#, php-format
+msgid "You can add categories from the %s General Options screen.%s"
+msgstr "Puedes añadir categorías desde la seccion de %s Opciones Generales%s"
+
+#: admin/add-location.php:88
+#: admin/manage-db.php:138
+#: admin/manage-db.php:155
+#: admin/manage-db.php:406
+msgid "Tags"
+msgstr ""
+
+#: admin/add-location.php:105
+msgid "Geographic Location"
+msgstr "Localización geográfica"
+
+#: admin/add-location.php:108
+msgid "You must enter either an address or a latitude/longitude. If you enter both, the address will not be geocoded and your latitude/longitude values will remain intact."
+msgstr ""
+
+#: admin/add-location.php:114
+#: admin/manage-db.php:135
+#: admin/manage-db.php:152
+#: admin/manage-db.php:332
+msgid "Address"
+msgstr "Dirección"
+
+#: admin/add-location.php:120
+#: admin/general-options.php:38
+#: admin/general-options.php:39
+#: admin/general-options.php:227
+#: admin/general-options.php:229
+#: admin/general-options.php:231
+#: admin/general-options.php:233
+#: admin/general-options.php:235
+#: admin/general-options.php:237
+#: admin/general-options.php:239
+msgid "City/Town"
+msgstr "Ciudad"
+
+#: admin/add-location.php:125
+#: admin/general-options.php:38
+#: admin/general-options.php:39
+#: admin/general-options.php:227
+#: admin/general-options.php:229
+#: admin/general-options.php:231
+#: admin/general-options.php:233
+#: admin/general-options.php:235
+#: admin/manage-db.php:339
+msgid "State/Province"
+msgstr "Estado/provincia"
+
+#: admin/add-location.php:130
+#: admin/general-options.php:38
+#: admin/general-options.php:39
+#: admin/general-options.php:227
+#: admin/general-options.php:229
+#: admin/general-options.php:231
+#: admin/general-options.php:233
+#: admin/general-options.php:235
+#: admin/general-options.php:237
+#: admin/general-options.php:239
+msgid "Zip/Postal Code"
+msgstr "Codigo Postal"
+
+#: admin/add-location.php:135
+#: admin/manage-db.php:371
+msgid "Country"
+msgstr "Pais"
+
+#: admin/add-location.php:151
+msgid "Latitude/Longitude"
+msgstr "Latitud/longitud"
+
+#: admin/add-location.php:179
+msgid "Miscellaneous Information"
+msgstr "Información adicional"
+
+#: admin/add-location.php:187
+#: admin/manage-db.php:384
+msgid "Phone"
+msgstr "Teléfono"
+
+#: admin/add-location.php:192
+#: admin/manage-db.php:386
+msgid "Fax"
+msgstr "Fax"
+
+#: admin/add-location.php:197
+#: admin/manage-db.php:388
+msgid "URL"
+msgstr "URL"
+
+#: admin/add-location.php:199
+msgid "Please include http://"
+msgstr "Por favor, incluya http://"
+
+#: admin/general-options.php:60
+#, php-format
+msgid "%s Auto-load all locations %s is disabled because you have more than 100 locations in your database."
+msgstr ""
+
+#: admin/general-options.php:178
+msgid "Location Defaults"
+msgstr "Localizacion por defecto"
+
+#: admin/general-options.php:181
+#, fuzzy
+msgid "If most of your locations are in the same area, choose the country and state/province here to make adding new locations easier."
+msgstr "Si la mayoría de las localizaciones son del mismo estado, por favor, elígelo aquí para hacer los añadidos de forma mas sencilla."
+
+#: admin/general-options.php:187
+#, fuzzy
+msgid "Google Maps Domain"
+msgstr "Google Maps API Key"
+
+#: admin/general-options.php:203
+msgid "Default Country"
+msgstr "Pais por defecto"
+
+#: admin/general-options.php:219
+msgid "Default State/Province"
+msgstr "Default State/Province"
+
+#: admin/general-options.php:224
+#, fuzzy
+msgid "Address Format"
+msgstr "Dirección"
+
+#: admin/general-options.php:241
+#: admin/general-options.php:242
+#: admin/general-options.php:243
+#: admin/general-options.php:244
+#: admin/general-options.php:245
+#: admin/general-options.php:246
+#: admin/general-options.php:247
+msgid "Example"
+msgstr ""
+
+#: admin/general-options.php:256
+#: admin/general-options.php:392
+#: admin/general-options.php:528
+msgid "Save Options"
+msgstr "Opciones de almacenamiento"
+
+#: admin/general-options.php:269
+msgid "Map Configuration"
+msgstr "Configuracion del mapa"
+
+#: admin/general-options.php:272
+#, php-format
+msgid "See %s the Help page%s for an explanation of these options."
+msgstr ""
+
+#: admin/general-options.php:278
+msgid "Google Maps API Key"
+msgstr "Google Maps API Key"
+
+#: admin/general-options.php:281
+#, fuzzy, php-format
+msgid "%s Click here%s to sign up for a Google Maps API key for your domain."
+msgstr "para conseguir una clave para tu dominio de la API de Google Maps."
+
+#: admin/general-options.php:286
+#: admin/help.php:73
+msgid "Starting Location"
+msgstr "Localización principal"
+
+#: admin/general-options.php:288
+msgid "Latitude:"
+msgstr "Latitud:"
+
+#: admin/general-options.php:290
+msgid "Longitude:"
+msgstr "Longitud:"
+
+#: admin/general-options.php:298
+msgid "Distance Units"
+msgstr "Unidad de distancia"
+
+#: admin/general-options.php:305
+msgid "Miles"
+msgstr "Millas"
+
+#: admin/general-options.php:306
+msgid "Kilometers"
+msgstr "Kilómetros"
+
+#: admin/general-options.php:312
+msgid "Default Search Radius"
+msgstr "Radio de búsqueda por defecto"
+
+#: admin/general-options.php:326
+msgid "Number of Results to Display"
+msgstr ""
+
+#: admin/general-options.php:336
+msgid "Select \"No Limit\" to display all results within the search radius."
+msgstr ""
+
+#: admin/general-options.php:341
+#: admin/help.php:78
+#, fuzzy
+msgid "Auto-Load Database"
+msgstr "Gestionar la base de datos"
+
+#: admin/general-options.php:344
+msgid "No auto-load"
+msgstr ""
+
+#: admin/general-options.php:345
+#, fuzzy
+msgid "Auto-load search results"
+msgstr "Carga automática de direcciones"
+
+#: admin/general-options.php:346
+msgid "Auto-load all locations"
+msgstr ""
+
+#: admin/general-options.php:354
+#, fuzzy
+msgid "Stick to default location set above"
+msgstr "Estado por defecto"
+
+#: admin/general-options.php:359
+msgid "Default Zoom Level"
+msgstr "Nivel de zoom por defecto"
+
+#: admin/general-options.php:368
+msgid "1 is the most zoomed out (the whole world is visible) and 19 is the most zoomed in."
+msgstr "1 es el mínimo zoom (donde toda la tierra es visible) y 19 es el máximo."
+
+#: admin/general-options.php:373
+#: admin/help.php:89
+msgid "Special Location Label"
+msgstr "Etiqueta de localización especial"
+
+#: admin/general-options.php:380
+msgid "Map Page IDs"
+msgstr ""
+
+#: admin/general-options.php:383
+msgid "Enter the IDs of the pages/posts the map will appear on, separated by commas. The map scripts will only be loaded on those pages. Leave blank or enter 0 to load the scripts on all pages."
+msgstr ""
+
+#: admin/general-options.php:415
+msgid "Map Style Defaults"
+msgstr ""
+
+#: admin/general-options.php:418
+#, php-format
+msgid "To insert SimpleMap into a post or page, type this shortcode in the body: %s"
+msgstr ""
+
+#: admin/general-options.php:424
+msgid "Map Size"
+msgstr "Tamaño del Mapa"
+
+#: admin/general-options.php:426
+msgid "Width:"
+msgstr "Ancho:"
+
+#: admin/general-options.php:428
+msgid "Height:"
+msgstr "Alto:"
+
+#: admin/general-options.php:430
+#, php-format
+msgid "Enter a numeric value with CSS units, such as %s or %s."
+msgstr "Introduzca un valor numerico con unidades CSS, como %s o %s"
+
+#: admin/general-options.php:435
+msgid "Default Map Type"
+msgstr "Mapa por defecto"
+
+#: admin/general-options.php:439
+#, fuzzy
+msgid "Road map"
+msgstr "Mapa normal"
+
+#: admin/general-options.php:446
+msgid "Satellite map"
+msgstr "Mapa por satélite"
+
+#: admin/general-options.php:453
+msgid "Hybrid map"
+msgstr "Mapa híbrido"
+
+#: admin/general-options.php:460
+msgid "Terrain map"
+msgstr "Mapa relieve"
+
+#: admin/general-options.php:468
+msgid "Theme"
+msgstr "Plantilla"
+
+#: admin/general-options.php:475
+msgid "Default Themes"
+msgstr "Plantilla por defecto"
+
+#: admin/general-options.php:483
+msgid "Custom Themes"
+msgstr "Plantillas propias"
+
+#: admin/general-options.php:492
+#, fuzzy, php-format
+msgid "To add your own theme, upload your own CSS file to a new directory in your plugins folder called %s simplemap-styles%s. To give it a name, use the following header in the top of your stylesheet:"
+msgstr "Para añadir tu propio estilo, sube la hoja de estilos CSS a un nuevo directorio en la sección de plugins llamado"
+
+#: admin/general-options.php:501
+msgid "Display Search Form"
+msgstr "Mostrar el cajetín de búsqueda"
+
+#: admin/general-options.php:508
+msgid "Show the search form above the map"
+msgstr "Mostrar el cajetín sobre el mapa"
+
+#: admin/general-options.php:513
+msgid "SimpleMap Link"
+msgstr "Enlace a SimpleMap"
+
+#: admin/general-options.php:520
+msgid "Show the \"Powered by SimpleMap\" link"
+msgstr "Mostrar el enlace \"Creado por SimpleMap\""
+
+#: admin/help.php:22
+msgid "Jump to a section:"
+msgstr ""
+
+#: admin/help.php:22
+#: admin/help.php:35
+#, fuzzy
+msgid "Displaying Your Map"
+msgstr "Mostrando"
+
+#: admin/help.php:22
+#: admin/help.php:108
+#, fuzzy
+msgid "Adding a Location"
+msgstr "Añadir localización"
+
+#: admin/help.php:22
+#: admin/help.php:141
+msgid "Everything Else"
+msgstr ""
+
+#: admin/help.php:42
+msgid "To show your map on any post or page, insert the shortcode in the body:"
+msgstr ""
+
+#: admin/help.php:44
+msgid "If you want only certain categories to show on a map, insert shortcode like this, where the numbers are replaced with the ID numbers of your desired categories:"
+msgstr ""
+
+#: admin/help.php:46
+msgid "You can place content above or below your map, just like in any other post. Note that any content placed below the map will be pushed down by the list of search results (unless you have them displaying differently with a custom theme)."
+msgstr ""
+
+#: admin/help.php:48
+#, fuzzy, php-format
+msgid "Configure the appearance of your map on the %s General Options page.%s"
+msgstr "Introduzca la clave en la página de Opciones generales."
+
+#: admin/help.php:74
+msgid "Enter the location the map should open to by default, when no location has been searched for. If you do not know the latitude and longitude of your starting location, enter the address in the provided text field and press \"Geocode Address.\""
+msgstr "Introduzca la localización del mapa que se abrirá por defecto, cuando no se hayan buscado ninguna localización. Si no conoce la latitud y longitud de su localización por defecto, introduzca la dirección en el cajetín inferior y presione \"Geocode Adress\""
+
+#: admin/help.php:80
+#, php-format
+msgid "%s No auto-load:%s Locations will not load automatically."
+msgstr ""
+
+#: admin/help.php:81
+#, php-format
+msgid "%s Auto-load search results:%s The locations will load based on the default location, default search radius and zoom level you have set."
+msgstr ""
+
+#: admin/help.php:82
+#, php-format
+msgid "%s Auto-load all locations:%s All of the locations in your database will load at the default zoom level you have set, disregarding your default search radius. %s This option is not enabled if you have more than 100 locations in your database.%s"
+msgstr ""
+
+#: admin/help.php:84
+msgid "If you leave the checkbox unchecked, then the auto-load feature will automatically move the map to the center of all the loaded locations. If you check the box, your default location will be respected regardless of the locations the map is loading."
+msgstr ""
+
+#: admin/help.php:90
+msgid "This is meant to flag certain locations with a specific label. It shows up in the search results with a gold star next to it. Originally this was developed for an organization that wanted to highlight people that had been members for more than ten years. It could be used for something like that, or for \"Favorite Spots,\" or \"Free Wi-Fi,\" or anything you want. You can also leave it blank to disable it."
+msgstr ""
+
+#: admin/help.php:116
+msgid "To properly add a new location, you must enter one or both of the following:"
+msgstr ""
+
+#: admin/help.php:117
+#, fuzzy
+msgid "1. A full address"
+msgstr "Carga automática de direcciones"
+
+#: admin/help.php:118
+#, fuzzy
+msgid "2. A latitude and longitude"
+msgstr "para encontrar la latitud y longitud de una dirección."
+
+#: admin/help.php:119
+msgid "If you enter a latitude and longitude, then the address will not be geocoded, and your custom values will be left in place. Entering an address without latitude or longitude will result in the address being geocoded before it is submitted to the database."
+msgstr ""
+
+#: admin/help.php:123
+#, fuzzy
+msgid "You must also enter a name for every location."
+msgstr "Debes introducir una clave API para tu dominio."
+
+#: admin/help.php:149
+#, php-format
+msgid "If you have any other questions or comments, please visit the %s SimpleMap Support Forums%s. Search the forums for your problem before you post; the same issue may have been solved already by someone else."
+msgstr ""
+
+#: admin/import-export.php:18
+msgid "SimpleMap: Import/Export CSV"
+msgstr "SimpleMap: Importar / exportar a un CSV"
+
+#: admin/import-export.php:32
+msgid "Import From File"
+msgstr "Importar desde un archivo"
+
+#: admin/import-export.php:36
+msgid "If your file has fewer than 100 records and does not have latitude/longitude data:"
+msgstr ""
+
+#: admin/import-export.php:38
+msgid "Make sure your CSV has a header row that gives the field names (in English). A good example of a header row would be as follows:"
+msgstr ""
+
+#: admin/import-export.php:40
+msgid "Name, Address, Address Line 2, City, State/Province, ZIP/Postal Code, Country, Phone, Fax, URL, Category, Tags, Description, Special (1 or 0), Latitude, Longitude"
+msgstr ""
+
+#: admin/import-export.php:42
+msgid "You can import your file with or without quotation marks around each field. However, if any of your fields contain commas, you should enclose your fields in quotation marks. Single ( ' ) or double ( \" ) quotation marks will work."
+msgstr ""
+
+#: admin/import-export.php:44
+msgid "If your file has more than 100 records:"
+msgstr ""
+
+#: admin/import-export.php:46
+msgid "If you have more than 100 records to import, it is best to do one of the following:"
+msgstr ""
+
+#: admin/import-export.php:49
+msgid "Geocode your own data before importing it"
+msgstr ""
+
+#: admin/import-export.php:50
+msgid "Split your file into multiple files with no more than 100 lines each"
+msgstr ""
+
+#: admin/import-export.php:53
+#, php-format
+msgid "Geocoding your own data will allow you to import thousands of records very quickly. If your locations need to be geocoded by SimpleMap, any file with more than 100 records might stall your server. %s Resources for geocoding your own locations can be found here.%s"
+msgstr ""
+
+#: admin/import-export.php:55
+msgid "If you are importing a file you exported from SimpleMap (and haven't changed since), be sure to check the box below since the locations are already geocoded."
+msgstr ""
+
+#: admin/import-export.php:61
+#, fuzzy
+msgid "File to import (maximum size 2MB):"
+msgstr "Archivo a importar:"
+
+#: admin/import-export.php:63
+msgid "Check this box if the locations in the file are already geocoded."
+msgstr ""
+
+#: admin/import-export.php:65
+#, fuzzy
+msgid "Import CSV File"
+msgstr "Importar desde un archivo"
+
+#: admin/import-export.php:69
+msgid "Importing a file may take several seconds; please be patient."
+msgstr "Importar un archivo puede durar varios segundos, por favor, sea paciente."
+
+#: admin/import-export.php:81
+msgid "Export To File"
+msgstr "Exportar a un fichero"
+
+#: admin/import-export.php:88
+#, fuzzy
+msgid "Export Database to CSV File"
+msgstr "Exportar la base de datos"
+
+#: admin/manage-categories.php:37
+msgid "Delete All Categories"
+msgstr ""
+
+#: admin/manage-categories.php:37
+msgid "Delete all categories in database"
+msgstr ""
+
+#: admin/manage-categories.php:85
+#: admin/manage-categories.php:171
+#, php-format
+msgid "Displaying %d–%d of %d"
+msgstr ""
+
+#: admin/manage-categories.php:114
+#: admin/manage-categories.php:123
+msgid "ID"
+msgstr ""
+
+#: admin/manage-categories.php:162
+#: admin/manage-db.php:263
+#: admin/manage-db.php:265
+msgid "No records found."
+msgstr "No se han encontrado direcciones"
+
+#: admin/manage-categories.php:211
+msgid "Category Name"
+msgstr ""
+
+#: admin/manage-categories.php:217
+#: admin/manage-db.php:423
+msgid "Cancel"
+msgstr "Cancelar"
+
+#: admin/manage-categories.php:218
+#, fuzzy
+msgid "Update Category"
+msgstr "Actualice la localización"
+
+#: admin/manage-categories.php:235
+#, fuzzy
+msgid "You are about to delete the selected categories. \"Cancel\" to stop, \"OK\" to delete."
+msgstr "Va a borrar los post seleccionados \"Cancelar\" para no borrarlos u \"OK\" para borrarlos."
+
+#: admin/manage-categories.php:249
+msgid "Add Category"
+msgstr "Añadir categoría"
+
+#: admin/manage-db.php:57
+msgid "Delete Database"
+msgstr ""
+
+#: admin/manage-db.php:57
+msgid "Do you really want to delete all locations in your database?"
+msgstr ""
+
+#: admin/manage-db.php:57
+msgid "Delete all entries in database"
+msgstr "Borre todas las entradas de la base de datos"
+
+#: admin/manage-db.php:105
+#: admin/manage-db.php:274
+msgid "Displaying"
+msgstr "Mostrando"
+
+#: admin/manage-db.php:136
+#: admin/manage-db.php:153
+msgid "Phone/Fax/URL"
+msgstr "Teléfono/Fax/URL"
+
+#: admin/manage-db.php:193
+msgid "Edit this post inline"
+msgstr ""
+
+#: admin/manage-db.php:194
+#, php-format
+msgid "Do you really want to delete %s ?"
+msgstr ""
+
+#: admin/manage-db.php:323
+msgid "Latitude"
+msgstr "Latitud"
+
+#: admin/manage-db.php:326
+msgid "Longitude"
+msgstr "Longitud"
+
+#: admin/manage-db.php:336
+msgid "City"
+msgstr ""
+
+#: admin/manage-db.php:368
+msgid "ZIP/Postal Code"
+msgstr ""
+
+#: admin/manage-db.php:379
+#, fuzzy
+msgid "Geocode Address"
+msgstr "Dirección"
+
+#: admin/manage-db.php:424
+msgid "Update Location"
+msgstr "Actualice la localización"
+
+#: admin/manage-db.php:424
+msgid "Geocode the new address to update this location."
+msgstr ""
+
+#: admin/manage-db.php:441
+msgid "You are about to delete the selected posts. \"Cancel\" to stop, \"OK\" to delete."
+msgstr "Va a borrar los post seleccionados \"Cancelar\" para no borrarlos u \"OK\" para borrarlos."
+
+#: includes/display-map.php:27
+msgid "Search"
+msgstr ""
+
+#: includes/display-map.php:28
+#, fuzzy
+msgid "Please enter an address or search term in the box above."
+msgstr "Por favor, introduzca el nombre, dirección, ciudad o el código postal en el cajetín de búsqueda"
+
+#: includes/display-map.php:33
+#, fuzzy, php-format
+msgid "Powered by %s SimpleMap"
+msgstr "Mostrar el enlace \"Creado por SimpleMap\""
+
+#: includes/scripts.php:22
+msgid "Visit Website"
+msgstr ""
+
+#: includes/scripts.php:23
+msgid "Get Directions"
+msgstr ""
+
+#: includes/scripts.php:24
+#, fuzzy
+msgid "Location"
+msgstr "Añadir localización"
+
+#: includes/scripts.php:29
+#, fuzzy
+msgid "No results found."
+msgstr "No se han encontrado direcciones"
+
+#: includes/toolbar.php:6
+msgid "Go to the SimpleMap Home Page"
+msgstr ""
+
+#: includes/toolbar.php:6
+#, fuzzy
+msgid "SimpleMap Home Page"
+msgstr "Enlace a SimpleMap"
+
+#: includes/toolbar.php:9
+msgid "Go to the SimpleMap Support Forums"
+msgstr ""
+
+#: includes/toolbar.php:9
+msgid "Support Forums"
+msgstr ""
+
+#: includes/toolbar.php:23
+msgid "You must enter an API key for your domain."
+msgstr "Debes introducir una clave API para tu dominio."
+
+#: includes/toolbar.php:23
+msgid "Enter a key on the General Options page."
+msgstr "Introduzca la clave en la página de Opciones generales."
+
+#: includes/toolbar.php:27
+msgid "You must update your database to enable the new category functionality."
+msgstr ""
+
+#: includes/toolbar.php:28
+msgid "To update the database:"
+msgstr ""
+
+#: includes/toolbar.php:30
+msgid "Click here FIRST to download a backup of your database."
+msgstr ""
+
+#: includes/toolbar.php:32
+msgid "Then click here to update your categories."
+msgstr ""
+
+#~ msgid "Click here to sign up for a Google Maps API key."
+#~ msgstr "Clica aquí para conseguir una clave para la API de Google Maps"
+#~ msgid "Preparing Your CSV File"
+#~ msgstr "Prepare su fichero CSV"
+
+#, fuzzy
+#~ msgid "Importing Your CSV File"
+#~ msgstr "Importar desde un archivo"
+#~ msgid "City, State, Zip"
+#~ msgstr "Ciudad, estado, código postal"
+#~ msgid "Please include the"
+#~ msgstr "Por favor incluye"
+#~ msgid "Click here"
+#~ msgstr "Clica aquí"
+#~ msgid "or"
+#~ msgstr "0"
+#~ msgid ""
+#~ "If you want to distinguish certain locations (i.e. Ten-Year Members, Most "
+#~ "Popular, etc.) then enter the label for them here. Leave it blank to "
+#~ "disable this feature."
+#~ msgstr ""
+#~ "Si quieres hacer distinción entre diferentes direcciones (por ejemplo: "
+#~ "Miembros, mas populares, etc.) introduce una etiqueta aquí. Déjalo en "
+#~ "blanco si quieres deshabilitar esta función."
+#~ msgid ""
+#~ "Enter an address, city, or zip code here if you want the map to "
+#~ "automatically show all locations in that area."
+#~ msgstr ""
+#~ "Introduzca una direccion, ciudad, o código postal aquí si quiere que, "
+#~ "automáticamente, el mapa muestre todas las ubicaciones en el área."
+#~ msgid ""
+#~ "To give it a name, use the following header in the top of your stylesheet:"
+#~ msgstr ""
+#~ "Para nombrarlo, use el siguiente encabezado en la cabecera de tu hoja de "
+#~ "estilos:"
+#~ msgid "Import"
+#~ msgstr "Importar"
+#~ msgid "Powered by"
+#~ msgstr "Creado por"
+
diff --git a/lang/SimpleMap-nl_NL.mo b/lang/SimpleMap-nl_NL.mo
new file mode 100644
index 0000000..f2fb634
Binary files /dev/null and b/lang/SimpleMap-nl_NL.mo differ
diff --git a/lang/SimpleMap-nl_NL.po b/lang/SimpleMap-nl_NL.po
new file mode 100644
index 0000000..d065c9a
--- /dev/null
+++ b/lang/SimpleMap-nl_NL.po
@@ -0,0 +1,947 @@
+msgid ""
+msgstr ""
+"Project-Id-Version: SimpleMap\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2009-11-02 20:05-0600\n"
+"PO-Revision-Date: \n"
+"Last-Translator: Alison Barrett \n"
+"Language-Team: \n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Poedit-Language: English\n"
+"X-Poedit-SourceCharset: utf-8\n"
+"X-Poedit-KeywordsList: __;_e\n"
+"X-Poedit-Basepath: ../\n"
+"X-Poedit-SearchPath-0: .\n"
+"X-Poedit-SearchPath-1: admin\n"
+"X-Poedit-SearchPath-2: includes\n"
+
+#: simplemap.php:13
+msgid "SimpleMap requires WordPress 2.8 or newer. Please update!"
+msgstr "SimpleMap vereist WordPress 2.8 of nieuwer.AUB update!"
+
+#: simplemap.php:114
+msgid "SimpleMap Options"
+msgstr "SimpleMap Opties"
+
+#: simplemap.php:115
+#: admin/general-options.php:160
+msgid "SimpleMap: General Options"
+msgstr "SimpleMap: Algemene opties"
+
+#: simplemap.php:115
+#: admin/help.php:22
+#: admin/help.php:65
+msgid "General Options"
+msgstr "Algemene opties"
+
+#: simplemap.php:116
+#: admin/add-location.php:27
+msgid "SimpleMap: Add Location"
+msgstr "SimpleMap: Voeg Locatie Toe"
+
+#: simplemap.php:116
+#: admin/add-location.php:217
+#: admin/add-location.php:218
+msgid "Add Location"
+msgstr "Voeg Locatie Toe"
+
+#: simplemap.php:117
+#: admin/manage-db.php:45
+msgid "SimpleMap: Manage Database"
+msgstr "SimpleMap: Beheer Database"
+
+#: simplemap.php:117
+#: admin/manage-db.php:77
+#: admin/manage-db.php:83
+#: admin/manage-db.php:89
+#: admin/manage-db.php:90
+#: admin/manage-db.php:108
+#: admin/manage-db.php:117
+#: admin/manage-db.php:123
+#: admin/manage-db.php:134
+#: admin/manage-db.php:135
+#: admin/manage-db.php:136
+#: admin/manage-db.php:137
+#: admin/manage-db.php:151
+#: admin/manage-db.php:152
+#: admin/manage-db.php:153
+#: admin/manage-db.php:154
+#: admin/manage-db.php:277
+#: admin/manage-db.php:286
+#: admin/manage-db.php:292
+msgid "Manage Database"
+msgstr "Beheer Database"
+
+#: simplemap.php:118
+#: admin/manage-categories.php:25
+#, fuzzy
+msgid "SimpleMap: Manage Categories"
+msgstr "SimpleMap: Beheer Database"
+
+#: simplemap.php:118
+#: admin/manage-categories.php:88
+#: admin/manage-categories.php:97
+#: admin/manage-categories.php:103
+#: admin/manage-categories.php:174
+#: admin/manage-categories.php:183
+#: admin/manage-categories.php:189
+#, fuzzy
+msgid "Manage Categories"
+msgstr "Beheer Database"
+
+#: simplemap.php:119
+msgid "SimpleMap: Import/Export"
+msgstr "SimpleMap: Import/Export"
+
+#: simplemap.php:119
+msgid "Import/Export"
+msgstr "Import/Export"
+
+#: simplemap.php:120
+#: admin/help.php:18
+#, fuzzy
+msgid "SimpleMap: Help"
+msgstr "SimpleMap Link"
+
+#: simplemap.php:120
+msgid "Help"
+msgstr ""
+
+#: simplemap.php:120
+#: admin/general-options.php:272
+#, fuzzy
+msgid "SimpleMap Help"
+msgstr "SimpleMap Link"
+
+#: simplemap.php:170
+msgid "SimpleMap settings saved."
+msgstr "SimpleMap instellingen opgeslagen."
+
+#: simplemap.php:274
+msgid "Class SimpleMap already declared!"
+msgstr "Class SimpleMap al aangegeven!"
+
+#: simplemap.php:303
+msgid "Settings"
+msgstr "Instellingen"
+
+#: actions/category-update.php:15
+msgid "Your database has been successfully updated."
+msgstr ""
+
+#: actions/csv-process.php:200
+#, php-format
+msgid "Location \"%s\" failed to geocode, with status %s"
+msgstr ""
+
+#: actions/csv-process.php:222
+#, php-format
+msgid "Location \"%s\" was not successfully inserted into the database.%s"
+msgstr ""
+
+#: actions/csv-process.php:233
+#, fuzzy, php-format
+msgid "%d records imported successfully."
+msgstr "succesvol toegevoegd."
+
+#: actions/location-process.php:17
+msgid "Record deleted."
+msgstr ""
+
+#: actions/location-process.php:26
+msgid "Database cleared."
+msgstr ""
+
+#: actions/location-process.php:144
+#: admin/manage-categories.php:147
+#: admin/manage-db.php:193
+msgid "Quick Edit"
+msgstr "Snel bewerken"
+
+#: actions/location-process.php:145
+#: admin/manage-categories.php:148
+#: admin/manage-db.php:194
+msgid "Delete"
+msgstr "Wissen"
+
+#: actions/location-process.php:185
+#: admin/manage-db.php:234
+#, fuzzy
+msgid "Fax:"
+msgstr "Fax"
+
+#: admin/add-location.php:34
+msgid "added successfully."
+msgstr "succesvol toegevoegd."
+
+#: admin/add-location.php:50
+msgid "Name and Description"
+msgstr ""
+
+#: admin/add-location.php:58
+#: admin/manage-db.php:134
+#: admin/manage-db.php:151
+#: admin/manage-db.php:319
+msgid "Name"
+msgstr "Naam"
+
+#: admin/add-location.php:59
+msgid "Please enter a name."
+msgstr ""
+
+#: admin/add-location.php:63
+#: admin/manage-db.php:139
+#: admin/manage-db.php:156
+#: admin/manage-db.php:418
+msgid "Description"
+msgstr ""
+
+#: admin/add-location.php:68
+#: admin/manage-categories.php:115
+#: admin/manage-categories.php:124
+#: admin/manage-db.php:137
+#: admin/manage-db.php:154
+#: admin/manage-db.php:391
+msgid "Category"
+msgstr ""
+
+#: admin/add-location.php:82
+#: admin/manage-db.php:403
+#, fuzzy, php-format
+msgid "You can add categories from the %s General Options screen.%s"
+msgstr "Druk op een toets op de Algemene opties pagina."
+
+#: admin/add-location.php:88
+#: admin/manage-db.php:138
+#: admin/manage-db.php:155
+#: admin/manage-db.php:406
+msgid "Tags"
+msgstr ""
+
+#: admin/add-location.php:105
+#, fuzzy
+msgid "Geographic Location"
+msgstr "Start Locatie"
+
+#: admin/add-location.php:108
+msgid "You must enter either an address or a latitude/longitude. If you enter both, the address will not be geocoded and your latitude/longitude values will remain intact."
+msgstr ""
+
+#: admin/add-location.php:114
+#: admin/manage-db.php:135
+#: admin/manage-db.php:152
+#: admin/manage-db.php:332
+msgid "Address"
+msgstr "Adres"
+
+#: admin/add-location.php:120
+#: admin/general-options.php:38
+#: admin/general-options.php:39
+#: admin/general-options.php:227
+#: admin/general-options.php:229
+#: admin/general-options.php:231
+#: admin/general-options.php:233
+#: admin/general-options.php:235
+#: admin/general-options.php:237
+#: admin/general-options.php:239
+msgid "City/Town"
+msgstr ""
+
+#: admin/add-location.php:125
+#: admin/general-options.php:38
+#: admin/general-options.php:39
+#: admin/general-options.php:227
+#: admin/general-options.php:229
+#: admin/general-options.php:231
+#: admin/general-options.php:233
+#: admin/general-options.php:235
+#: admin/manage-db.php:339
+msgid "State/Province"
+msgstr ""
+
+#: admin/add-location.php:130
+#: admin/general-options.php:38
+#: admin/general-options.php:39
+#: admin/general-options.php:227
+#: admin/general-options.php:229
+#: admin/general-options.php:231
+#: admin/general-options.php:233
+#: admin/general-options.php:235
+#: admin/general-options.php:237
+#: admin/general-options.php:239
+msgid "Zip/Postal Code"
+msgstr ""
+
+#: admin/add-location.php:135
+#: admin/manage-db.php:371
+msgid "Country"
+msgstr ""
+
+#: admin/add-location.php:151
+#, fuzzy
+msgid "Latitude/Longitude"
+msgstr "Lengtegraad:"
+
+#: admin/add-location.php:179
+msgid "Miscellaneous Information"
+msgstr ""
+
+#: admin/add-location.php:187
+#: admin/manage-db.php:384
+msgid "Phone"
+msgstr "Telefoon"
+
+#: admin/add-location.php:192
+#: admin/manage-db.php:386
+msgid "Fax"
+msgstr "Fax"
+
+#: admin/add-location.php:197
+#: admin/manage-db.php:388
+msgid "URL"
+msgstr "URL"
+
+#: admin/add-location.php:199
+msgid "Please include http://"
+msgstr ""
+
+#: admin/general-options.php:60
+#, php-format
+msgid "%s Auto-load all locations %s is disabled because you have more than 100 locations in your database."
+msgstr ""
+
+#: admin/general-options.php:178
+msgid "Location Defaults"
+msgstr ""
+
+#: admin/general-options.php:181
+#, fuzzy
+msgid "If most of your locations are in the same area, choose the country and state/province here to make adding new locations easier."
+msgstr "Als de meeste van uw locaties zijn in dezelfde provincie zijn, kiest u die provincie hier, om toevoeging van nieuwe locaties te vergemakkelijken."
+
+#: admin/general-options.php:187
+#, fuzzy
+msgid "Google Maps Domain"
+msgstr "Google Maps API sleutel"
+
+#: admin/general-options.php:203
+msgid "Default Country"
+msgstr ""
+
+#: admin/general-options.php:219
+msgid "Default State/Province"
+msgstr ""
+
+#: admin/general-options.php:224
+#, fuzzy
+msgid "Address Format"
+msgstr "Adres"
+
+#: admin/general-options.php:241
+#: admin/general-options.php:242
+#: admin/general-options.php:243
+#: admin/general-options.php:244
+#: admin/general-options.php:245
+#: admin/general-options.php:246
+#: admin/general-options.php:247
+msgid "Example"
+msgstr ""
+
+#: admin/general-options.php:256
+#: admin/general-options.php:392
+#: admin/general-options.php:528
+msgid "Save Options"
+msgstr "Opslagopties"
+
+#: admin/general-options.php:269
+msgid "Map Configuration"
+msgstr ""
+
+#: admin/general-options.php:272
+#, php-format
+msgid "See %s the Help page%s for an explanation of these options."
+msgstr ""
+
+#: admin/general-options.php:278
+msgid "Google Maps API Key"
+msgstr "Google Maps API sleutel"
+
+#: admin/general-options.php:281
+#, fuzzy, php-format
+msgid "%s Click here%s to sign up for a Google Maps API key for your domain."
+msgstr "aan te melden voor een Google Maps API-sleutel voor uw domein."
+
+#: admin/general-options.php:286
+#: admin/help.php:73
+msgid "Starting Location"
+msgstr "Start Locatie"
+
+#: admin/general-options.php:288
+msgid "Latitude:"
+msgstr "Breedtegraad:"
+
+#: admin/general-options.php:290
+msgid "Longitude:"
+msgstr "Lengtegraad:"
+
+#: admin/general-options.php:298
+msgid "Distance Units"
+msgstr "Afstand Eenheden"
+
+#: admin/general-options.php:305
+msgid "Miles"
+msgstr "Mijl"
+
+#: admin/general-options.php:306
+msgid "Kilometers"
+msgstr "Kilometers"
+
+#: admin/general-options.php:312
+msgid "Default Search Radius"
+msgstr "Standaard Zoeken Radius"
+
+#: admin/general-options.php:326
+msgid "Number of Results to Display"
+msgstr ""
+
+#: admin/general-options.php:336
+msgid "Select \"No Limit\" to display all results within the search radius."
+msgstr ""
+
+#: admin/general-options.php:341
+#: admin/help.php:78
+#, fuzzy
+msgid "Auto-Load Database"
+msgstr "Beheer Database"
+
+#: admin/general-options.php:344
+msgid "No auto-load"
+msgstr ""
+
+#: admin/general-options.php:345
+#, fuzzy
+msgid "Auto-load search results"
+msgstr "Automatisch laden van Adres"
+
+#: admin/general-options.php:346
+msgid "Auto-load all locations"
+msgstr ""
+
+#: admin/general-options.php:354
+#, fuzzy
+msgid "Stick to default location set above"
+msgstr "Standaard Provincie"
+
+#: admin/general-options.php:359
+msgid "Default Zoom Level"
+msgstr "Standaard zoomniveau"
+
+#: admin/general-options.php:368
+msgid "1 is the most zoomed out (the whole world is visible) and 19 is the most zoomed in."
+msgstr "1 is de meest uitgezoomde (de hele wereld zichtbaar is) en 19 is de meest ingezoomde."
+
+#: admin/general-options.php:373
+#: admin/help.php:89
+msgid "Special Location Label"
+msgstr "Bijzondere Locatie Label"
+
+#: admin/general-options.php:380
+msgid "Map Page IDs"
+msgstr ""
+
+#: admin/general-options.php:383
+msgid "Enter the IDs of the pages/posts the map will appear on, separated by commas. The map scripts will only be loaded on those pages. Leave blank or enter 0 to load the scripts on all pages."
+msgstr ""
+
+#: admin/general-options.php:415
+msgid "Map Style Defaults"
+msgstr ""
+
+#: admin/general-options.php:418
+#, php-format
+msgid "To insert SimpleMap into a post or page, type this shortcode in the body: %s"
+msgstr ""
+
+#: admin/general-options.php:424
+msgid "Map Size"
+msgstr "Map Grootte"
+
+#: admin/general-options.php:426
+msgid "Width:"
+msgstr "Breedte:"
+
+#: admin/general-options.php:428
+msgid "Height:"
+msgstr "Hoogte:"
+
+#: admin/general-options.php:430
+#, fuzzy, php-format
+msgid "Enter a numeric value with CSS units, such as %s or %s."
+msgstr "Voer een numerieke waarde met CSS eenheden, zoals"
+
+#: admin/general-options.php:435
+msgid "Default Map Type"
+msgstr "Standaard Kaart Type"
+
+#: admin/general-options.php:439
+#, fuzzy
+msgid "Road map"
+msgstr "Normaal kaart"
+
+#: admin/general-options.php:446
+msgid "Satellite map"
+msgstr "Satelliet kaart"
+
+#: admin/general-options.php:453
+msgid "Hybrid map"
+msgstr "Hybride kaart"
+
+#: admin/general-options.php:460
+msgid "Terrain map"
+msgstr "Terrein kaart"
+
+#: admin/general-options.php:468
+msgid "Theme"
+msgstr "Thema"
+
+#: admin/general-options.php:475
+msgid "Default Themes"
+msgstr "Standaard Thema's"
+
+#: admin/general-options.php:483
+msgid "Custom Themes"
+msgstr "Aangepaste Thema's"
+
+#: admin/general-options.php:492
+#, fuzzy, php-format
+msgid "To add your own theme, upload your own CSS file to a new directory in your plugins folder called %s simplemap-styles%s. To give it a name, use the following header in the top of your stylesheet:"
+msgstr "Als u uw eigen thema wilt gebruiken, upload uw eigen CSS-bestand naar een nieuwe map in je plugins map genaamd"
+
+#: admin/general-options.php:501
+msgid "Display Search Form"
+msgstr ""
+
+#: admin/general-options.php:508
+msgid "Show the search form above the map"
+msgstr ""
+
+#: admin/general-options.php:513
+msgid "SimpleMap Link"
+msgstr "SimpleMap Link"
+
+#: admin/general-options.php:520
+msgid "Show the \"Powered by SimpleMap\" link"
+msgstr "Toon de \"Powered by SimpleMap\" link"
+
+#: admin/help.php:22
+msgid "Jump to a section:"
+msgstr ""
+
+#: admin/help.php:22
+#: admin/help.php:35
+#, fuzzy
+msgid "Displaying Your Map"
+msgstr "Weergeven"
+
+#: admin/help.php:22
+#: admin/help.php:108
+#, fuzzy
+msgid "Adding a Location"
+msgstr "Voeg Locatie Toe"
+
+#: admin/help.php:22
+#: admin/help.php:141
+msgid "Everything Else"
+msgstr ""
+
+#: admin/help.php:42
+msgid "To show your map on any post or page, insert the shortcode in the body:"
+msgstr ""
+
+#: admin/help.php:44
+msgid "If you want only certain categories to show on a map, insert shortcode like this, where the numbers are replaced with the ID numbers of your desired categories:"
+msgstr ""
+
+#: admin/help.php:46
+msgid "You can place content above or below your map, just like in any other post. Note that any content placed below the map will be pushed down by the list of search results (unless you have them displaying differently with a custom theme)."
+msgstr ""
+
+#: admin/help.php:48
+#, fuzzy, php-format
+msgid "Configure the appearance of your map on the %s General Options page.%s"
+msgstr "Druk op een toets op de Algemene opties pagina."
+
+#: admin/help.php:74
+#, fuzzy
+msgid "Enter the location the map should open to by default, when no location has been searched for. If you do not know the latitude and longitude of your starting location, enter the address in the provided text field and press \"Geocode Address.\""
+msgstr "Voer de locatie in van de kaart, die standaard geopnend moet worden, als er niet op plaatsnaam is gezocht. Bijvoorbeeld, als uw locaties zich in dezelfde stad bevinden, kunt u beginnen met het midden van die stad."
+
+#: admin/help.php:80
+#, php-format
+msgid "%s No auto-load:%s Locations will not load automatically."
+msgstr ""
+
+#: admin/help.php:81
+#, php-format
+msgid "%s Auto-load search results:%s The locations will load based on the default location, default search radius and zoom level you have set."
+msgstr ""
+
+#: admin/help.php:82
+#, php-format
+msgid "%s Auto-load all locations:%s All of the locations in your database will load at the default zoom level you have set, disregarding your default search radius. %s This option is not enabled if you have more than 100 locations in your database.%s"
+msgstr ""
+
+#: admin/help.php:84
+msgid "If you leave the checkbox unchecked, then the auto-load feature will automatically move the map to the center of all the loaded locations. If you check the box, your default location will be respected regardless of the locations the map is loading."
+msgstr ""
+
+#: admin/help.php:90
+msgid "This is meant to flag certain locations with a specific label. It shows up in the search results with a gold star next to it. Originally this was developed for an organization that wanted to highlight people that had been members for more than ten years. It could be used for something like that, or for \"Favorite Spots,\" or \"Free Wi-Fi,\" or anything you want. You can also leave it blank to disable it."
+msgstr ""
+
+#: admin/help.php:116
+msgid "To properly add a new location, you must enter one or both of the following:"
+msgstr ""
+
+#: admin/help.php:117
+#, fuzzy
+msgid "1. A full address"
+msgstr "Automatisch laden van Adres"
+
+#: admin/help.php:118
+#, fuzzy
+msgid "2. A latitude and longitude"
+msgstr "om de breedte-en lengtegraad van een adres te vinden."
+
+#: admin/help.php:119
+msgid "If you enter a latitude and longitude, then the address will not be geocoded, and your custom values will be left in place. Entering an address without latitude or longitude will result in the address being geocoded before it is submitted to the database."
+msgstr ""
+
+#: admin/help.php:123
+#, fuzzy
+msgid "You must also enter a name for every location."
+msgstr "U moet een API-sleutel voor uw domein invoeren."
+
+#: admin/help.php:149
+#, php-format
+msgid "If you have any other questions or comments, please visit the %s SimpleMap Support Forums%s. Search the forums for your problem before you post; the same issue may have been solved already by someone else."
+msgstr ""
+
+#: admin/import-export.php:18
+msgid "SimpleMap: Import/Export CSV"
+msgstr "SimpleMap: Import/Export CSV"
+
+#: admin/import-export.php:32
+msgid "Import From File"
+msgstr "Import Uit bestand"
+
+#: admin/import-export.php:36
+msgid "If your file has fewer than 100 records and does not have latitude/longitude data:"
+msgstr ""
+
+#: admin/import-export.php:38
+msgid "Make sure your CSV has a header row that gives the field names (in English). A good example of a header row would be as follows:"
+msgstr ""
+
+#: admin/import-export.php:40
+msgid "Name, Address, Address Line 2, City, State/Province, ZIP/Postal Code, Country, Phone, Fax, URL, Category, Tags, Description, Special (1 or 0), Latitude, Longitude"
+msgstr ""
+
+#: admin/import-export.php:42
+msgid "You can import your file with or without quotation marks around each field. However, if any of your fields contain commas, you should enclose your fields in quotation marks. Single ( ' ) or double ( \" ) quotation marks will work."
+msgstr ""
+
+#: admin/import-export.php:44
+msgid "If your file has more than 100 records:"
+msgstr ""
+
+#: admin/import-export.php:46
+msgid "If you have more than 100 records to import, it is best to do one of the following:"
+msgstr ""
+
+#: admin/import-export.php:49
+msgid "Geocode your own data before importing it"
+msgstr ""
+
+#: admin/import-export.php:50
+msgid "Split your file into multiple files with no more than 100 lines each"
+msgstr ""
+
+#: admin/import-export.php:53
+#, php-format
+msgid "Geocoding your own data will allow you to import thousands of records very quickly. If your locations need to be geocoded by SimpleMap, any file with more than 100 records might stall your server. %s Resources for geocoding your own locations can be found here.%s"
+msgstr ""
+
+#: admin/import-export.php:55
+msgid "If you are importing a file you exported from SimpleMap (and haven't changed since), be sure to check the box below since the locations are already geocoded."
+msgstr ""
+
+#: admin/import-export.php:61
+#, fuzzy
+msgid "File to import (maximum size 2MB):"
+msgstr "Bestand te importeren:"
+
+#: admin/import-export.php:63
+msgid "Check this box if the locations in the file are already geocoded."
+msgstr ""
+
+#: admin/import-export.php:65
+#, fuzzy
+msgid "Import CSV File"
+msgstr "Import Uit bestand"
+
+#: admin/import-export.php:69
+msgid "Importing a file may take several seconds; please be patient."
+msgstr "Het importeren van een bestand kan enkele seconden duren, even geduld AUB."
+
+#: admin/import-export.php:81
+msgid "Export To File"
+msgstr "Exporteren naar bestand"
+
+#: admin/import-export.php:88
+#, fuzzy
+msgid "Export Database to CSV File"
+msgstr "Export Database"
+
+#: admin/manage-categories.php:37
+msgid "Delete All Categories"
+msgstr ""
+
+#: admin/manage-categories.php:37
+#, fuzzy
+msgid "Delete all categories in database"
+msgstr "Verwijder alle vermeldingen in de database"
+
+#: admin/manage-categories.php:85
+#: admin/manage-categories.php:171
+#, php-format
+msgid "Displaying %d–%d of %d"
+msgstr ""
+
+#: admin/manage-categories.php:114
+#: admin/manage-categories.php:123
+msgid "ID"
+msgstr ""
+
+#: admin/manage-categories.php:162
+#: admin/manage-db.php:263
+#: admin/manage-db.php:265
+msgid "No records found."
+msgstr "Geen gegevens gevonden."
+
+#: admin/manage-categories.php:211
+msgid "Category Name"
+msgstr ""
+
+#: admin/manage-categories.php:217
+#: admin/manage-db.php:423
+msgid "Cancel"
+msgstr "Annuleren"
+
+#: admin/manage-categories.php:218
+#, fuzzy
+msgid "Update Category"
+msgstr "Vernieuw Locatie"
+
+#: admin/manage-categories.php:235
+#, fuzzy
+msgid "You are about to delete the selected categories. \"Cancel\" to stop, \"OK\" to delete."
+msgstr "U gaat de geselecteerde posten verwijderen. \"Annuleren \" om te stoppen, \"OK \" om te verwijderen."
+
+#: admin/manage-categories.php:249
+msgid "Add Category"
+msgstr ""
+
+#: admin/manage-db.php:57
+msgid "Delete Database"
+msgstr "Verwijder Database"
+
+#: admin/manage-db.php:57
+msgid "Do you really want to delete all locations in your database?"
+msgstr ""
+
+#: admin/manage-db.php:57
+msgid "Delete all entries in database"
+msgstr "Verwijder alle vermeldingen in de database"
+
+#: admin/manage-db.php:105
+#: admin/manage-db.php:274
+msgid "Displaying"
+msgstr "Weergeven"
+
+#: admin/manage-db.php:136
+#: admin/manage-db.php:153
+#, fuzzy
+msgid "Phone/Fax/URL"
+msgstr "Tel/Fax"
+
+#: admin/manage-db.php:193
+msgid "Edit this post inline"
+msgstr ""
+
+#: admin/manage-db.php:194
+#, php-format
+msgid "Do you really want to delete %s ?"
+msgstr ""
+
+#: admin/manage-db.php:323
+#, fuzzy
+msgid "Latitude"
+msgstr "Breedtegraad:"
+
+#: admin/manage-db.php:326
+#, fuzzy
+msgid "Longitude"
+msgstr "Lengtegraad:"
+
+#: admin/manage-db.php:336
+msgid "City"
+msgstr ""
+
+#: admin/manage-db.php:368
+msgid "ZIP/Postal Code"
+msgstr ""
+
+#: admin/manage-db.php:379
+#, fuzzy
+msgid "Geocode Address"
+msgstr "Adres"
+
+#: admin/manage-db.php:424
+msgid "Update Location"
+msgstr "Vernieuw Locatie"
+
+#: admin/manage-db.php:424
+msgid "Geocode the new address to update this location."
+msgstr ""
+
+#: admin/manage-db.php:441
+msgid "You are about to delete the selected posts. \"Cancel\" to stop, \"OK\" to delete."
+msgstr "U gaat de geselecteerde posten verwijderen. \"Annuleren \" om te stoppen, \"OK \" om te verwijderen."
+
+#: includes/display-map.php:27
+msgid "Search"
+msgstr ""
+
+#: includes/display-map.php:28
+#, fuzzy
+msgid "Please enter an address or search term in the box above."
+msgstr "Geef een naam, adres, woonplaats of postcode in het zoekvak hierboven."
+
+#: includes/display-map.php:33
+#, fuzzy, php-format
+msgid "Powered by %s SimpleMap"
+msgstr "Toon de \"Powered by SimpleMap\" link"
+
+#: includes/scripts.php:22
+msgid "Visit Website"
+msgstr ""
+
+#: includes/scripts.php:23
+msgid "Get Directions"
+msgstr ""
+
+#: includes/scripts.php:24
+#, fuzzy
+msgid "Location"
+msgstr "Voeg Locatie Toe"
+
+#: includes/scripts.php:29
+#, fuzzy
+msgid "No results found."
+msgstr "Geen gegevens gevonden."
+
+#: includes/toolbar.php:6
+msgid "Go to the SimpleMap Home Page"
+msgstr ""
+
+#: includes/toolbar.php:6
+#, fuzzy
+msgid "SimpleMap Home Page"
+msgstr "SimpleMap Link"
+
+#: includes/toolbar.php:9
+msgid "Go to the SimpleMap Support Forums"
+msgstr ""
+
+#: includes/toolbar.php:9
+msgid "Support Forums"
+msgstr ""
+
+#: includes/toolbar.php:23
+msgid "You must enter an API key for your domain."
+msgstr "U moet een API-sleutel voor uw domein invoeren."
+
+#: includes/toolbar.php:23
+msgid "Enter a key on the General Options page."
+msgstr "Druk op een toets op de Algemene opties pagina."
+
+#: includes/toolbar.php:27
+msgid "You must update your database to enable the new category functionality."
+msgstr ""
+
+#: includes/toolbar.php:28
+msgid "To update the database:"
+msgstr ""
+
+#: includes/toolbar.php:30
+msgid "Click here FIRST to download a backup of your database."
+msgstr ""
+
+#: includes/toolbar.php:32
+msgid "Then click here to update your categories."
+msgstr ""
+
+#~ msgid "Click here to sign up for a Google Maps API key."
+#~ msgstr "Klik hier om u aan te melden voor een Google Maps API-sleutel."
+
+#, fuzzy
+#~ msgid "Importing Your CSV File"
+#~ msgstr "Import Uit bestand"
+#~ msgid "City, State, Zip"
+#~ msgstr "Plaats, Provincie , postcode"
+#~ msgid "Please include the"
+#~ msgstr "Geef ook de"
+#~ msgid "Click here"
+#~ msgstr "Klik hier"
+#~ msgid "or"
+#~ msgstr "of"
+#~ msgid ""
+#~ "If you want to distinguish certain locations (i.e. Ten-Year Members, Most "
+#~ "Popular, etc.) then enter the label for them here. Leave it blank to "
+#~ "disable this feature."
+#~ msgstr ""
+#~ "Als je diverse locaties wilt onderscheiden (bv: Tien Jaar leden, Meest "
+#~ "Populaire, enz.), voer het etiket dan hier in. Laat dit veld leeg om deze "
+#~ "functie uit te schakelen."
+#~ msgid ""
+#~ "Enter an address, city, or zip code here if you want the map to "
+#~ "automatically show all locations in that area."
+#~ msgstr ""
+#~ "Voer een adres, plaats of postcode in, als u wilt dat de kaart "
+#~ "automatisch alle locaties in dat gebied laat zien."
+#~ msgid ""
+#~ "To give it a name, use the following header in the top of your stylesheet:"
+#~ msgstr ""
+#~ "Om het een naam te geven, gebruikt u de volgende kop in de top van uw "
+#~ "stylesheet:"
+#~ msgid ""
+#~ "To ensure that you have the correct column structure, please download an "
+#~ "export of your database below, even if it is empty, and compare your "
+#~ "column order to what is in the export. If you are using a spreadsheet "
+#~ "application, be sure to remove any double quotation marks (\") from your "
+#~ "data before you export the CSV."
+#~ msgstr ""
+#~ "Om ervoor te zorgen dat u de juiste kolom structuur heeft, download een "
+#~ "export van uw database hier beneden, zelfs als deze leeg is, U kunt dan "
+#~ "een vergelijking maken van uw kolom structuur en die van het eport "
+#~ "bestand. Als u een spreadsheet-toepassing gebruikt, moet u eventuele "
+#~ "dubbele aanhalingstekens (\") van uw gegevens verwijderen voordat u het "
+#~ "CSV bestnd exporteert."
+#~ msgid "Import"
+#~ msgstr "Import"
+#~ msgid "Powered by"
+#~ msgstr "Powered by"
+
diff --git a/lang/SimpleMap-pt_BR.mo b/lang/SimpleMap-pt_BR.mo
new file mode 100644
index 0000000..ca3f22f
Binary files /dev/null and b/lang/SimpleMap-pt_BR.mo differ
diff --git a/lang/SimpleMap-pt_BR.po b/lang/SimpleMap-pt_BR.po
new file mode 100644
index 0000000..a70525e
--- /dev/null
+++ b/lang/SimpleMap-pt_BR.po
@@ -0,0 +1,946 @@
+msgid ""
+msgstr ""
+"Project-Id-Version: SimpleMap\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2009-11-02 20:05-0600\n"
+"PO-Revision-Date: \n"
+"Last-Translator: Alison Barrett \n"
+"Language-Team: \n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Poedit-Language: Portuguese\n"
+"X-Poedit-SourceCharset: utf-8\n"
+"X-Poedit-KeywordsList: __;_e\n"
+"X-Poedit-Basepath: ../\n"
+"X-Poedit-Country: BRAZIL\n"
+"X-Poedit-SearchPath-0: .\n"
+"X-Poedit-SearchPath-1: admin\n"
+"X-Poedit-SearchPath-2: includes\n"
+
+#: simplemap.php:13
+msgid "SimpleMap requires WordPress 2.8 or newer. Please update!"
+msgstr "SimpleMap requer Wordpress 2.8 ou superior. Por favor, faça update do seu sistema!"
+
+#: simplemap.php:114
+msgid "SimpleMap Options"
+msgstr "Opções SimpleMap"
+
+#: simplemap.php:115
+#: admin/general-options.php:160
+msgid "SimpleMap: General Options"
+msgstr "SimpleMap: Opções Principais"
+
+#: simplemap.php:115
+#: admin/help.php:22
+#: admin/help.php:65
+msgid "General Options"
+msgstr "Opções Principais"
+
+#: simplemap.php:116
+#: admin/add-location.php:27
+msgid "SimpleMap: Add Location"
+msgstr "SimpleMap: Adicionar Local"
+
+#: simplemap.php:116
+#: admin/add-location.php:217
+#: admin/add-location.php:218
+msgid "Add Location"
+msgstr "Adicionar local"
+
+#: simplemap.php:117
+#: admin/manage-db.php:45
+msgid "SimpleMap: Manage Database"
+msgstr "SimpleMap: Gerenciar Banco de Dados"
+
+#: simplemap.php:117
+#: admin/manage-db.php:77
+#: admin/manage-db.php:83
+#: admin/manage-db.php:89
+#: admin/manage-db.php:90
+#: admin/manage-db.php:108
+#: admin/manage-db.php:117
+#: admin/manage-db.php:123
+#: admin/manage-db.php:134
+#: admin/manage-db.php:135
+#: admin/manage-db.php:136
+#: admin/manage-db.php:137
+#: admin/manage-db.php:151
+#: admin/manage-db.php:152
+#: admin/manage-db.php:153
+#: admin/manage-db.php:154
+#: admin/manage-db.php:277
+#: admin/manage-db.php:286
+#: admin/manage-db.php:292
+msgid "Manage Database"
+msgstr "Gerenciar Banco de Dados"
+
+#: simplemap.php:118
+#: admin/manage-categories.php:25
+#, fuzzy
+msgid "SimpleMap: Manage Categories"
+msgstr "SimpleMap: Gerenciar Banco de Dados"
+
+#: simplemap.php:118
+#: admin/manage-categories.php:88
+#: admin/manage-categories.php:97
+#: admin/manage-categories.php:103
+#: admin/manage-categories.php:174
+#: admin/manage-categories.php:183
+#: admin/manage-categories.php:189
+#, fuzzy
+msgid "Manage Categories"
+msgstr "Gerenciar Banco de Dados"
+
+#: simplemap.php:119
+msgid "SimpleMap: Import/Export"
+msgstr "SimpleMap: Importar/Exportar"
+
+#: simplemap.php:119
+msgid "Import/Export"
+msgstr "Importar/Exportar"
+
+#: simplemap.php:120
+#: admin/help.php:18
+#, fuzzy
+msgid "SimpleMap: Help"
+msgstr "Link SimpleMap"
+
+#: simplemap.php:120
+msgid "Help"
+msgstr ""
+
+#: simplemap.php:120
+#: admin/general-options.php:272
+#, fuzzy
+msgid "SimpleMap Help"
+msgstr "Link SimpleMap"
+
+#: simplemap.php:170
+msgid "SimpleMap settings saved."
+msgstr "Configurações salvas."
+
+#: simplemap.php:274
+msgid "Class SimpleMap already declared!"
+msgstr "Classe SimpleMap já declarada!"
+
+#: simplemap.php:303
+msgid "Settings"
+msgstr "Configurações"
+
+#: actions/category-update.php:15
+msgid "Your database has been successfully updated."
+msgstr ""
+
+#: actions/csv-process.php:200
+#, php-format
+msgid "Location \"%s\" failed to geocode, with status %s"
+msgstr ""
+
+#: actions/csv-process.php:222
+#, php-format
+msgid "Location \"%s\" was not successfully inserted into the database.%s"
+msgstr ""
+
+#: actions/csv-process.php:233
+#, fuzzy, php-format
+msgid "%d records imported successfully."
+msgstr "adicionado com sucesso."
+
+#: actions/location-process.php:17
+msgid "Record deleted."
+msgstr ""
+
+#: actions/location-process.php:26
+msgid "Database cleared."
+msgstr ""
+
+#: actions/location-process.php:144
+#: admin/manage-categories.php:147
+#: admin/manage-db.php:193
+msgid "Quick Edit"
+msgstr "Edição rápida"
+
+#: actions/location-process.php:145
+#: admin/manage-categories.php:148
+#: admin/manage-db.php:194
+msgid "Delete"
+msgstr "Excluir"
+
+#: actions/location-process.php:185
+#: admin/manage-db.php:234
+#, fuzzy
+msgid "Fax:"
+msgstr "Fax"
+
+#: admin/add-location.php:34
+msgid "added successfully."
+msgstr "adicionado com sucesso."
+
+#: admin/add-location.php:50
+msgid "Name and Description"
+msgstr ""
+
+#: admin/add-location.php:58
+#: admin/manage-db.php:134
+#: admin/manage-db.php:151
+#: admin/manage-db.php:319
+msgid "Name"
+msgstr "Nome"
+
+#: admin/add-location.php:59
+msgid "Please enter a name."
+msgstr ""
+
+#: admin/add-location.php:63
+#: admin/manage-db.php:139
+#: admin/manage-db.php:156
+#: admin/manage-db.php:418
+msgid "Description"
+msgstr ""
+
+#: admin/add-location.php:68
+#: admin/manage-categories.php:115
+#: admin/manage-categories.php:124
+#: admin/manage-db.php:137
+#: admin/manage-db.php:154
+#: admin/manage-db.php:391
+msgid "Category"
+msgstr ""
+
+#: admin/add-location.php:82
+#: admin/manage-db.php:403
+#, fuzzy, php-format
+msgid "You can add categories from the %s General Options screen.%s"
+msgstr "Adicione uma chave na Página de configurações gerais."
+
+#: admin/add-location.php:88
+#: admin/manage-db.php:138
+#: admin/manage-db.php:155
+#: admin/manage-db.php:406
+msgid "Tags"
+msgstr ""
+
+#: admin/add-location.php:105
+#, fuzzy
+msgid "Geographic Location"
+msgstr "Localização Inicial"
+
+#: admin/add-location.php:108
+msgid "You must enter either an address or a latitude/longitude. If you enter both, the address will not be geocoded and your latitude/longitude values will remain intact."
+msgstr ""
+
+#: admin/add-location.php:114
+#: admin/manage-db.php:135
+#: admin/manage-db.php:152
+#: admin/manage-db.php:332
+msgid "Address"
+msgstr "Endereço"
+
+#: admin/add-location.php:120
+#: admin/general-options.php:38
+#: admin/general-options.php:39
+#: admin/general-options.php:227
+#: admin/general-options.php:229
+#: admin/general-options.php:231
+#: admin/general-options.php:233
+#: admin/general-options.php:235
+#: admin/general-options.php:237
+#: admin/general-options.php:239
+msgid "City/Town"
+msgstr ""
+
+#: admin/add-location.php:125
+#: admin/general-options.php:38
+#: admin/general-options.php:39
+#: admin/general-options.php:227
+#: admin/general-options.php:229
+#: admin/general-options.php:231
+#: admin/general-options.php:233
+#: admin/general-options.php:235
+#: admin/manage-db.php:339
+msgid "State/Province"
+msgstr ""
+
+#: admin/add-location.php:130
+#: admin/general-options.php:38
+#: admin/general-options.php:39
+#: admin/general-options.php:227
+#: admin/general-options.php:229
+#: admin/general-options.php:231
+#: admin/general-options.php:233
+#: admin/general-options.php:235
+#: admin/general-options.php:237
+#: admin/general-options.php:239
+msgid "Zip/Postal Code"
+msgstr ""
+
+#: admin/add-location.php:135
+#: admin/manage-db.php:371
+msgid "Country"
+msgstr ""
+
+#: admin/add-location.php:151
+#, fuzzy
+msgid "Latitude/Longitude"
+msgstr "Longitude:"
+
+#: admin/add-location.php:179
+msgid "Miscellaneous Information"
+msgstr ""
+
+#: admin/add-location.php:187
+#: admin/manage-db.php:384
+msgid "Phone"
+msgstr "Telefone"
+
+#: admin/add-location.php:192
+#: admin/manage-db.php:386
+msgid "Fax"
+msgstr "Fax"
+
+#: admin/add-location.php:197
+#: admin/manage-db.php:388
+msgid "URL"
+msgstr "URL"
+
+#: admin/add-location.php:199
+msgid "Please include http://"
+msgstr ""
+
+#: admin/general-options.php:60
+#, php-format
+msgid "%s Auto-load all locations %s is disabled because you have more than 100 locations in your database."
+msgstr ""
+
+#: admin/general-options.php:178
+msgid "Location Defaults"
+msgstr ""
+
+#: admin/general-options.php:181
+#, fuzzy
+msgid "If most of your locations are in the same area, choose the country and state/province here to make adding new locations easier."
+msgstr "Se a maioria dos locais estão no mesmo Estado, escolha aqui o Estado que faço a adição de novos locais mais fácil."
+
+#: admin/general-options.php:187
+#, fuzzy
+msgid "Google Maps Domain"
+msgstr "API do Google Maps"
+
+#: admin/general-options.php:203
+msgid "Default Country"
+msgstr ""
+
+#: admin/general-options.php:219
+msgid "Default State/Province"
+msgstr ""
+
+#: admin/general-options.php:224
+#, fuzzy
+msgid "Address Format"
+msgstr "Endereço"
+
+#: admin/general-options.php:241
+#: admin/general-options.php:242
+#: admin/general-options.php:243
+#: admin/general-options.php:244
+#: admin/general-options.php:245
+#: admin/general-options.php:246
+#: admin/general-options.php:247
+msgid "Example"
+msgstr ""
+
+#: admin/general-options.php:256
+#: admin/general-options.php:392
+#: admin/general-options.php:528
+msgid "Save Options"
+msgstr "Salvar opções"
+
+#: admin/general-options.php:269
+msgid "Map Configuration"
+msgstr ""
+
+#: admin/general-options.php:272
+#, php-format
+msgid "See %s the Help page%s for an explanation of these options."
+msgstr ""
+
+#: admin/general-options.php:278
+msgid "Google Maps API Key"
+msgstr "API do Google Maps"
+
+#: admin/general-options.php:281
+#, fuzzy, php-format
+msgid "%s Click here%s to sign up for a Google Maps API key for your domain."
+msgstr "para pegar um API do Google Maps para seu domínio."
+
+#: admin/general-options.php:286
+#: admin/help.php:73
+msgid "Starting Location"
+msgstr "Localização Inicial"
+
+#: admin/general-options.php:288
+msgid "Latitude:"
+msgstr "Latitude:"
+
+#: admin/general-options.php:290
+msgid "Longitude:"
+msgstr "Longitude:"
+
+#: admin/general-options.php:298
+msgid "Distance Units"
+msgstr "Unidade de distância"
+
+#: admin/general-options.php:305
+msgid "Miles"
+msgstr "Milhas (mi)"
+
+#: admin/general-options.php:306
+msgid "Kilometers"
+msgstr "Quilômetros (km)"
+
+#: admin/general-options.php:312
+msgid "Default Search Radius"
+msgstr "Abrangência padrão da busca"
+
+#: admin/general-options.php:326
+msgid "Number of Results to Display"
+msgstr ""
+
+#: admin/general-options.php:336
+msgid "Select \"No Limit\" to display all results within the search radius."
+msgstr ""
+
+#: admin/general-options.php:341
+#: admin/help.php:78
+#, fuzzy
+msgid "Auto-Load Database"
+msgstr "Gerenciar Banco de Dados"
+
+#: admin/general-options.php:344
+msgid "No auto-load"
+msgstr ""
+
+#: admin/general-options.php:345
+#, fuzzy
+msgid "Auto-load search results"
+msgstr "Autocarregar Endereço"
+
+#: admin/general-options.php:346
+msgid "Auto-load all locations"
+msgstr ""
+
+#: admin/general-options.php:354
+#, fuzzy
+msgid "Stick to default location set above"
+msgstr "Estado Padrão"
+
+#: admin/general-options.php:359
+msgid "Default Zoom Level"
+msgstr "Nível de zoom padrão"
+
+#: admin/general-options.php:368
+msgid "1 is the most zoomed out (the whole world is visible) and 19 is the most zoomed in."
+msgstr "1 é o zoom mínimo (todo o globo é visível) e 19 é o zoom máximo."
+
+#: admin/general-options.php:373
+#: admin/help.php:89
+msgid "Special Location Label"
+msgstr "Identificação Especial de Local"
+
+#: admin/general-options.php:380
+msgid "Map Page IDs"
+msgstr ""
+
+#: admin/general-options.php:383
+msgid "Enter the IDs of the pages/posts the map will appear on, separated by commas. The map scripts will only be loaded on those pages. Leave blank or enter 0 to load the scripts on all pages."
+msgstr ""
+
+#: admin/general-options.php:415
+msgid "Map Style Defaults"
+msgstr ""
+
+#: admin/general-options.php:418
+#, php-format
+msgid "To insert SimpleMap into a post or page, type this shortcode in the body: %s"
+msgstr ""
+
+#: admin/general-options.php:424
+msgid "Map Size"
+msgstr "Tamanho do mapa"
+
+#: admin/general-options.php:426
+msgid "Width:"
+msgstr "Largura:"
+
+#: admin/general-options.php:428
+msgid "Height:"
+msgstr "Altura:"
+
+#: admin/general-options.php:430
+#, fuzzy, php-format
+msgid "Enter a numeric value with CSS units, such as %s or %s."
+msgstr "Entre um valor numérico com unidades CSS, como"
+
+#: admin/general-options.php:435
+msgid "Default Map Type"
+msgstr "Tipo de Mapa Padrão"
+
+#: admin/general-options.php:439
+#, fuzzy
+msgid "Road map"
+msgstr "Normal"
+
+#: admin/general-options.php:446
+msgid "Satellite map"
+msgstr "Satélite"
+
+#: admin/general-options.php:453
+msgid "Hybrid map"
+msgstr "Híbrido"
+
+#: admin/general-options.php:460
+msgid "Terrain map"
+msgstr "Terreno"
+
+#: admin/general-options.php:468
+msgid "Theme"
+msgstr "Tema"
+
+#: admin/general-options.php:475
+msgid "Default Themes"
+msgstr "Temas padrões"
+
+#: admin/general-options.php:483
+msgid "Custom Themes"
+msgstr "Temas personalizados"
+
+#: admin/general-options.php:492
+#, fuzzy, php-format
+msgid "To add your own theme, upload your own CSS file to a new directory in your plugins folder called %s simplemap-styles%s. To give it a name, use the following header in the top of your stylesheet:"
+msgstr "Para adicionar seu próprio tema, faça upload do seu próprio arquivo de CSS para um novo diretório dentro do diretório atual do plugin chamado"
+
+#: admin/general-options.php:501
+msgid "Display Search Form"
+msgstr ""
+
+#: admin/general-options.php:508
+msgid "Show the search form above the map"
+msgstr ""
+
+#: admin/general-options.php:513
+msgid "SimpleMap Link"
+msgstr "Link SimpleMap"
+
+#: admin/general-options.php:520
+msgid "Show the \"Powered by SimpleMap\" link"
+msgstr "Mostrar o link \"por SimpleMap\""
+
+#: admin/help.php:22
+msgid "Jump to a section:"
+msgstr ""
+
+#: admin/help.php:22
+#: admin/help.php:35
+#, fuzzy
+msgid "Displaying Your Map"
+msgstr "Mostrando"
+
+#: admin/help.php:22
+#: admin/help.php:108
+#, fuzzy
+msgid "Adding a Location"
+msgstr "Adicionar local"
+
+#: admin/help.php:22
+#: admin/help.php:141
+msgid "Everything Else"
+msgstr ""
+
+#: admin/help.php:42
+msgid "To show your map on any post or page, insert the shortcode in the body:"
+msgstr ""
+
+#: admin/help.php:44
+msgid "If you want only certain categories to show on a map, insert shortcode like this, where the numbers are replaced with the ID numbers of your desired categories:"
+msgstr ""
+
+#: admin/help.php:46
+msgid "You can place content above or below your map, just like in any other post. Note that any content placed below the map will be pushed down by the list of search results (unless you have them displaying differently with a custom theme)."
+msgstr ""
+
+#: admin/help.php:48
+#, fuzzy, php-format
+msgid "Configure the appearance of your map on the %s General Options page.%s"
+msgstr "Adicione uma chave na Página de configurações gerais."
+
+#: admin/help.php:74
+#, fuzzy
+msgid "Enter the location the map should open to by default, when no location has been searched for. If you do not know the latitude and longitude of your starting location, enter the address in the provided text field and press \"Geocode Address.\""
+msgstr "Adicione o local no mapa a ser aberto por padrão quando nenhum local tenha sido pesquisado. Por exemplo, se seus locais estão concentrados na mesma cidade, você pode querer começar centralizado naquela cidade."
+
+#: admin/help.php:80
+#, php-format
+msgid "%s No auto-load:%s Locations will not load automatically."
+msgstr ""
+
+#: admin/help.php:81
+#, php-format
+msgid "%s Auto-load search results:%s The locations will load based on the default location, default search radius and zoom level you have set."
+msgstr ""
+
+#: admin/help.php:82
+#, php-format
+msgid "%s Auto-load all locations:%s All of the locations in your database will load at the default zoom level you have set, disregarding your default search radius. %s This option is not enabled if you have more than 100 locations in your database.%s"
+msgstr ""
+
+#: admin/help.php:84
+msgid "If you leave the checkbox unchecked, then the auto-load feature will automatically move the map to the center of all the loaded locations. If you check the box, your default location will be respected regardless of the locations the map is loading."
+msgstr ""
+
+#: admin/help.php:90
+msgid "This is meant to flag certain locations with a specific label. It shows up in the search results with a gold star next to it. Originally this was developed for an organization that wanted to highlight people that had been members for more than ten years. It could be used for something like that, or for \"Favorite Spots,\" or \"Free Wi-Fi,\" or anything you want. You can also leave it blank to disable it."
+msgstr ""
+
+#: admin/help.php:116
+msgid "To properly add a new location, you must enter one or both of the following:"
+msgstr ""
+
+#: admin/help.php:117
+#, fuzzy
+msgid "1. A full address"
+msgstr "Autocarregar Endereço"
+
+#: admin/help.php:118
+#, fuzzy
+msgid "2. A latitude and longitude"
+msgstr "para encontrar a latitude e longitude de um endereço"
+
+#: admin/help.php:119
+msgid "If you enter a latitude and longitude, then the address will not be geocoded, and your custom values will be left in place. Entering an address without latitude or longitude will result in the address being geocoded before it is submitted to the database."
+msgstr ""
+
+#: admin/help.php:123
+#, fuzzy
+msgid "You must also enter a name for every location."
+msgstr "Você precisa adicionar um API para a seu domínio."
+
+#: admin/help.php:149
+#, php-format
+msgid "If you have any other questions or comments, please visit the %s SimpleMap Support Forums%s. Search the forums for your problem before you post; the same issue may have been solved already by someone else."
+msgstr ""
+
+#: admin/import-export.php:18
+msgid "SimpleMap: Import/Export CSV"
+msgstr "SimpleMap: Importar/Exportar CSV"
+
+#: admin/import-export.php:32
+msgid "Import From File"
+msgstr "Importar do Arquivo"
+
+#: admin/import-export.php:36
+msgid "If your file has fewer than 100 records and does not have latitude/longitude data:"
+msgstr ""
+
+#: admin/import-export.php:38
+msgid "Make sure your CSV has a header row that gives the field names (in English). A good example of a header row would be as follows:"
+msgstr ""
+
+#: admin/import-export.php:40
+msgid "Name, Address, Address Line 2, City, State/Province, ZIP/Postal Code, Country, Phone, Fax, URL, Category, Tags, Description, Special (1 or 0), Latitude, Longitude"
+msgstr ""
+
+#: admin/import-export.php:42
+msgid "You can import your file with or without quotation marks around each field. However, if any of your fields contain commas, you should enclose your fields in quotation marks. Single ( ' ) or double ( \" ) quotation marks will work."
+msgstr ""
+
+#: admin/import-export.php:44
+msgid "If your file has more than 100 records:"
+msgstr ""
+
+#: admin/import-export.php:46
+msgid "If you have more than 100 records to import, it is best to do one of the following:"
+msgstr ""
+
+#: admin/import-export.php:49
+msgid "Geocode your own data before importing it"
+msgstr ""
+
+#: admin/import-export.php:50
+msgid "Split your file into multiple files with no more than 100 lines each"
+msgstr ""
+
+#: admin/import-export.php:53
+#, php-format
+msgid "Geocoding your own data will allow you to import thousands of records very quickly. If your locations need to be geocoded by SimpleMap, any file with more than 100 records might stall your server. %s Resources for geocoding your own locations can be found here.%s"
+msgstr ""
+
+#: admin/import-export.php:55
+msgid "If you are importing a file you exported from SimpleMap (and haven't changed since), be sure to check the box below since the locations are already geocoded."
+msgstr ""
+
+#: admin/import-export.php:61
+#, fuzzy
+msgid "File to import (maximum size 2MB):"
+msgstr "Arquivo para importar:"
+
+#: admin/import-export.php:63
+msgid "Check this box if the locations in the file are already geocoded."
+msgstr ""
+
+#: admin/import-export.php:65
+#, fuzzy
+msgid "Import CSV File"
+msgstr "Importar do Arquivo"
+
+#: admin/import-export.php:69
+msgid "Importing a file may take several seconds; please be patient."
+msgstr "Importação de um arquivo pode levar vários segundos, por favor seja paciente."
+
+#: admin/import-export.php:81
+msgid "Export To File"
+msgstr "Exportar para arquivo"
+
+#: admin/import-export.php:88
+#, fuzzy
+msgid "Export Database to CSV File"
+msgstr "Exportar Banco de Dados"
+
+#: admin/manage-categories.php:37
+msgid "Delete All Categories"
+msgstr ""
+
+#: admin/manage-categories.php:37
+#, fuzzy
+msgid "Delete all categories in database"
+msgstr "Excluir todas as entrada no banco de dados"
+
+#: admin/manage-categories.php:85
+#: admin/manage-categories.php:171
+#, php-format
+msgid "Displaying %d–%d of %d"
+msgstr ""
+
+#: admin/manage-categories.php:114
+#: admin/manage-categories.php:123
+msgid "ID"
+msgstr ""
+
+#: admin/manage-categories.php:162
+#: admin/manage-db.php:263
+#: admin/manage-db.php:265
+msgid "No records found."
+msgstr "Registro não encontrado."
+
+#: admin/manage-categories.php:211
+msgid "Category Name"
+msgstr ""
+
+#: admin/manage-categories.php:217
+#: admin/manage-db.php:423
+msgid "Cancel"
+msgstr "Cancelar"
+
+#: admin/manage-categories.php:218
+#, fuzzy
+msgid "Update Category"
+msgstr "Atualizar local"
+
+#: admin/manage-categories.php:235
+#, fuzzy
+msgid "You are about to delete the selected categories. \"Cancel\" to stop, \"OK\" to delete."
+msgstr "Você deseja excluir as entradas selecionados. \"Cancelar\" para parar, \"OK\" para excluir."
+
+#: admin/manage-categories.php:249
+msgid "Add Category"
+msgstr ""
+
+#: admin/manage-db.php:57
+msgid "Delete Database"
+msgstr "Excluir Banco de Dados"
+
+#: admin/manage-db.php:57
+msgid "Do you really want to delete all locations in your database?"
+msgstr ""
+
+#: admin/manage-db.php:57
+msgid "Delete all entries in database"
+msgstr "Excluir todas as entrada no banco de dados"
+
+#: admin/manage-db.php:105
+#: admin/manage-db.php:274
+msgid "Displaying"
+msgstr "Mostrando"
+
+#: admin/manage-db.php:136
+#: admin/manage-db.php:153
+#, fuzzy
+msgid "Phone/Fax/URL"
+msgstr "Fone/Fax"
+
+#: admin/manage-db.php:193
+msgid "Edit this post inline"
+msgstr ""
+
+#: admin/manage-db.php:194
+#, php-format
+msgid "Do you really want to delete %s ?"
+msgstr ""
+
+#: admin/manage-db.php:323
+#, fuzzy
+msgid "Latitude"
+msgstr "Latitude:"
+
+#: admin/manage-db.php:326
+#, fuzzy
+msgid "Longitude"
+msgstr "Longitude:"
+
+#: admin/manage-db.php:336
+msgid "City"
+msgstr ""
+
+#: admin/manage-db.php:368
+msgid "ZIP/Postal Code"
+msgstr ""
+
+#: admin/manage-db.php:379
+#, fuzzy
+msgid "Geocode Address"
+msgstr "Endereço"
+
+#: admin/manage-db.php:424
+msgid "Update Location"
+msgstr "Atualizar local"
+
+#: admin/manage-db.php:424
+msgid "Geocode the new address to update this location."
+msgstr ""
+
+#: admin/manage-db.php:441
+msgid "You are about to delete the selected posts. \"Cancel\" to stop, \"OK\" to delete."
+msgstr "Você deseja excluir as entradas selecionados. \"Cancelar\" para parar, \"OK\" para excluir."
+
+#: includes/display-map.php:27
+msgid "Search"
+msgstr ""
+
+#: includes/display-map.php:28
+#, fuzzy
+msgid "Please enter an address or search term in the box above."
+msgstr "Adicione um nome, endereço, cidade ou CEP no campo de busca acima."
+
+#: includes/display-map.php:33
+#, fuzzy, php-format
+msgid "Powered by %s SimpleMap"
+msgstr "Mostrar o link \"por SimpleMap\""
+
+#: includes/scripts.php:22
+msgid "Visit Website"
+msgstr ""
+
+#: includes/scripts.php:23
+msgid "Get Directions"
+msgstr ""
+
+#: includes/scripts.php:24
+#, fuzzy
+msgid "Location"
+msgstr "Adicionar local"
+
+#: includes/scripts.php:29
+#, fuzzy
+msgid "No results found."
+msgstr "Registro não encontrado."
+
+#: includes/toolbar.php:6
+msgid "Go to the SimpleMap Home Page"
+msgstr ""
+
+#: includes/toolbar.php:6
+#, fuzzy
+msgid "SimpleMap Home Page"
+msgstr "Link SimpleMap"
+
+#: includes/toolbar.php:9
+msgid "Go to the SimpleMap Support Forums"
+msgstr ""
+
+#: includes/toolbar.php:9
+msgid "Support Forums"
+msgstr ""
+
+#: includes/toolbar.php:23
+msgid "You must enter an API key for your domain."
+msgstr "Você precisa adicionar um API para a seu domínio."
+
+#: includes/toolbar.php:23
+msgid "Enter a key on the General Options page."
+msgstr "Adicione uma chave na Página de configurações gerais."
+
+#: includes/toolbar.php:27
+msgid "You must update your database to enable the new category functionality."
+msgstr ""
+
+#: includes/toolbar.php:28
+msgid "To update the database:"
+msgstr ""
+
+#: includes/toolbar.php:30
+msgid "Click here FIRST to download a backup of your database."
+msgstr ""
+
+#: includes/toolbar.php:32
+msgid "Then click here to update your categories."
+msgstr ""
+
+#~ msgid "Click here to sign up for a Google Maps API key."
+#~ msgstr "Clique aqui para pegar seu API do Google Maps."
+
+#, fuzzy
+#~ msgid "Importing Your CSV File"
+#~ msgstr "Importar do Arquivo"
+#~ msgid "City, State, Zip"
+#~ msgstr "Cidade, Estado, CEP"
+#~ msgid "Please include the"
+#~ msgstr "Por favor inclua o(a)"
+#~ msgid "Click here"
+#~ msgstr "Clique aqui"
+#~ msgid "or"
+#~ msgstr "ou"
+#~ msgid ""
+#~ "If you want to distinguish certain locations (i.e. Ten-Year Members, Most "
+#~ "Popular, etc.) then enter the label for them here. Leave it blank to "
+#~ "disable this feature."
+#~ msgstr ""
+#~ "Se você deseja distinguir certos locais (por exemplo, Membros de 10 anos, "
+#~ "Mais Popular, etc.) então adicione a identificação para eles aqui. Deixe "
+#~ "em branco se desejar desabilitar esta opção."
+#~ msgid ""
+#~ "Enter an address, city, or zip code here if you want the map to "
+#~ "automatically show all locations in that area."
+#~ msgstr ""
+#~ "Adicione aqui um endereço, cidade ou CEP se você deseja que o mapa mostre "
+#~ "automaticamente todos os locais daquela área. "
+#~ msgid ""
+#~ "To give it a name, use the following header in the top of your stylesheet:"
+#~ msgstr ""
+#~ "Ao nomeá-lo, use a seguinte cabeçalho no topo da sua folha de estilo:"
+#~ msgid ""
+#~ "To ensure that you have the correct column structure, please download an "
+#~ "export of your database below, even if it is empty, and compare your "
+#~ "column order to what is in the export. If you are using a spreadsheet "
+#~ "application, be sure to remove any double quotation marks (\") from your "
+#~ "data before you export the CSV."
+#~ msgstr ""
+#~ "Esteja seguro que a estrutura de coluna seja correta, por favor, faça "
+#~ "abaixo o download do seu banco de dados, ainda que vazio, e compare a "
+#~ "posição das colunas. Se você está usando um aplicativo de planilhas, "
+#~ "tenha certeza que removeu qualquer aspas ('\") do seus dados antes de "
+#~ "exportar o arquivo CSV."
+#~ msgid "Import"
+#~ msgstr "Importar"
+#~ msgid "Powered by"
+#~ msgstr "por"
+
diff --git a/lang/SimpleMap.mo b/lang/SimpleMap.mo
new file mode 100644
index 0000000..642e6b6
Binary files /dev/null and b/lang/SimpleMap.mo differ
diff --git a/lang/SimpleMap.pot b/lang/SimpleMap.pot
new file mode 100644
index 0000000..68bffb6
--- /dev/null
+++ b/lang/SimpleMap.pot
@@ -0,0 +1,862 @@
+msgid ""
+msgstr ""
+"Project-Id-Version: SimpleMap\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2009-11-02 20:05-0600\n"
+"PO-Revision-Date: \n"
+"Last-Translator: Alison Barrett \n"
+"Language-Team: \n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Poedit-Language: English\n"
+"X-Poedit-SourceCharset: utf-8\n"
+"X-Poedit-KeywordsList: __;_e\n"
+"X-Poedit-Basepath: ../\n"
+"X-Poedit-SearchPath-0: .\n"
+"X-Poedit-SearchPath-1: admin\n"
+"X-Poedit-SearchPath-2: includes\n"
+
+#: simplemap.php:13
+msgid "SimpleMap requires WordPress 2.8 or newer. Please update!"
+msgstr ""
+
+#: simplemap.php:114
+msgid "SimpleMap Options"
+msgstr ""
+
+#: simplemap.php:115
+#: admin/general-options.php:160
+msgid "SimpleMap: General Options"
+msgstr ""
+
+#: simplemap.php:115
+#: admin/help.php:22
+#: admin/help.php:65
+msgid "General Options"
+msgstr ""
+
+#: simplemap.php:116
+#: admin/add-location.php:27
+msgid "SimpleMap: Add Location"
+msgstr ""
+
+#: simplemap.php:116
+#: admin/add-location.php:217
+#: admin/add-location.php:218
+msgid "Add Location"
+msgstr ""
+
+#: simplemap.php:117
+#: admin/manage-db.php:45
+msgid "SimpleMap: Manage Database"
+msgstr ""
+
+#: simplemap.php:117
+#: admin/manage-db.php:77
+#: admin/manage-db.php:83
+#: admin/manage-db.php:89
+#: admin/manage-db.php:90
+#: admin/manage-db.php:108
+#: admin/manage-db.php:117
+#: admin/manage-db.php:123
+#: admin/manage-db.php:134
+#: admin/manage-db.php:135
+#: admin/manage-db.php:136
+#: admin/manage-db.php:137
+#: admin/manage-db.php:151
+#: admin/manage-db.php:152
+#: admin/manage-db.php:153
+#: admin/manage-db.php:154
+#: admin/manage-db.php:277
+#: admin/manage-db.php:286
+#: admin/manage-db.php:292
+msgid "Manage Database"
+msgstr ""
+
+#: simplemap.php:118
+#: admin/manage-categories.php:25
+msgid "SimpleMap: Manage Categories"
+msgstr ""
+
+#: simplemap.php:118
+#: admin/manage-categories.php:88
+#: admin/manage-categories.php:97
+#: admin/manage-categories.php:103
+#: admin/manage-categories.php:174
+#: admin/manage-categories.php:183
+#: admin/manage-categories.php:189
+msgid "Manage Categories"
+msgstr ""
+
+#: simplemap.php:119
+msgid "SimpleMap: Import/Export"
+msgstr ""
+
+#: simplemap.php:119
+msgid "Import/Export"
+msgstr ""
+
+#: simplemap.php:120
+#: admin/help.php:18
+msgid "SimpleMap: Help"
+msgstr ""
+
+#: simplemap.php:120
+msgid "Help"
+msgstr ""
+
+#: simplemap.php:120
+#: admin/general-options.php:272
+msgid "SimpleMap Help"
+msgstr ""
+
+#: simplemap.php:170
+msgid "SimpleMap settings saved."
+msgstr ""
+
+#: simplemap.php:274
+msgid "Class SimpleMap already declared!"
+msgstr ""
+
+#: simplemap.php:303
+msgid "Settings"
+msgstr ""
+
+#: actions/category-update.php:15
+msgid "Your database has been successfully updated."
+msgstr ""
+
+#: actions/csv-process.php:200
+#, php-format
+msgid "Location \"%s\" failed to geocode, with status %s"
+msgstr ""
+
+#: actions/csv-process.php:222
+#, php-format
+msgid "Location \"%s\" was not successfully inserted into the database.%s"
+msgstr ""
+
+#: actions/csv-process.php:233
+#, php-format
+msgid "%d records imported successfully."
+msgstr ""
+
+#: actions/location-process.php:17
+msgid "Record deleted."
+msgstr ""
+
+#: actions/location-process.php:26
+msgid "Database cleared."
+msgstr ""
+
+#: actions/location-process.php:144
+#: admin/manage-categories.php:147
+#: admin/manage-db.php:193
+msgid "Quick Edit"
+msgstr ""
+
+#: actions/location-process.php:145
+#: admin/manage-categories.php:148
+#: admin/manage-db.php:194
+msgid "Delete"
+msgstr ""
+
+#: actions/location-process.php:185
+#: admin/manage-db.php:234
+msgid "Fax:"
+msgstr ""
+
+#: admin/add-location.php:34
+msgid "added successfully."
+msgstr ""
+
+#: admin/add-location.php:50
+msgid "Name and Description"
+msgstr ""
+
+#: admin/add-location.php:58
+#: admin/manage-db.php:134
+#: admin/manage-db.php:151
+#: admin/manage-db.php:319
+msgid "Name"
+msgstr ""
+
+#: admin/add-location.php:59
+msgid "Please enter a name."
+msgstr ""
+
+#: admin/add-location.php:63
+#: admin/manage-db.php:139
+#: admin/manage-db.php:156
+#: admin/manage-db.php:418
+msgid "Description"
+msgstr ""
+
+#: admin/add-location.php:68
+#: admin/manage-categories.php:115
+#: admin/manage-categories.php:124
+#: admin/manage-db.php:137
+#: admin/manage-db.php:154
+#: admin/manage-db.php:391
+msgid "Category"
+msgstr ""
+
+#: admin/add-location.php:82
+#: admin/manage-db.php:403
+#, php-format
+msgid "You can add categories from the %s General Options screen.%s"
+msgstr ""
+
+#: admin/add-location.php:88
+#: admin/manage-db.php:138
+#: admin/manage-db.php:155
+#: admin/manage-db.php:406
+msgid "Tags"
+msgstr ""
+
+#: admin/add-location.php:105
+msgid "Geographic Location"
+msgstr ""
+
+#: admin/add-location.php:108
+msgid "You must enter either an address or a latitude/longitude. If you enter both, the address will not be geocoded and your latitude/longitude values will remain intact."
+msgstr ""
+
+#: admin/add-location.php:114
+#: admin/manage-db.php:135
+#: admin/manage-db.php:152
+#: admin/manage-db.php:332
+msgid "Address"
+msgstr ""
+
+#: admin/add-location.php:120
+#: admin/general-options.php:38
+#: admin/general-options.php:39
+#: admin/general-options.php:227
+#: admin/general-options.php:229
+#: admin/general-options.php:231
+#: admin/general-options.php:233
+#: admin/general-options.php:235
+#: admin/general-options.php:237
+#: admin/general-options.php:239
+msgid "City/Town"
+msgstr ""
+
+#: admin/add-location.php:125
+#: admin/general-options.php:38
+#: admin/general-options.php:39
+#: admin/general-options.php:227
+#: admin/general-options.php:229
+#: admin/general-options.php:231
+#: admin/general-options.php:233
+#: admin/general-options.php:235
+#: admin/manage-db.php:339
+msgid "State/Province"
+msgstr ""
+
+#: admin/add-location.php:130
+#: admin/general-options.php:38
+#: admin/general-options.php:39
+#: admin/general-options.php:227
+#: admin/general-options.php:229
+#: admin/general-options.php:231
+#: admin/general-options.php:233
+#: admin/general-options.php:235
+#: admin/general-options.php:237
+#: admin/general-options.php:239
+msgid "Zip/Postal Code"
+msgstr ""
+
+#: admin/add-location.php:135
+#: admin/manage-db.php:371
+msgid "Country"
+msgstr ""
+
+#: admin/add-location.php:151
+msgid "Latitude/Longitude"
+msgstr ""
+
+#: admin/add-location.php:179
+msgid "Miscellaneous Information"
+msgstr ""
+
+#: admin/add-location.php:187
+#: admin/manage-db.php:384
+msgid "Phone"
+msgstr ""
+
+#: admin/add-location.php:192
+#: admin/manage-db.php:386
+msgid "Fax"
+msgstr ""
+
+#: admin/add-location.php:197
+#: admin/manage-db.php:388
+msgid "URL"
+msgstr ""
+
+#: admin/add-location.php:199
+msgid "Please include http://"
+msgstr ""
+
+#: admin/general-options.php:60
+#, php-format
+msgid "%s Auto-load all locations %s is disabled because you have more than 100 locations in your database."
+msgstr ""
+
+#: admin/general-options.php:178
+msgid "Location Defaults"
+msgstr ""
+
+#: admin/general-options.php:181
+msgid "If most of your locations are in the same area, choose the country and state/province here to make adding new locations easier."
+msgstr ""
+
+#: admin/general-options.php:187
+msgid "Google Maps Domain"
+msgstr ""
+
+#: admin/general-options.php:203
+msgid "Default Country"
+msgstr ""
+
+#: admin/general-options.php:219
+msgid "Default State/Province"
+msgstr ""
+
+#: admin/general-options.php:224
+msgid "Address Format"
+msgstr ""
+
+#: admin/general-options.php:241
+#: admin/general-options.php:242
+#: admin/general-options.php:243
+#: admin/general-options.php:244
+#: admin/general-options.php:245
+#: admin/general-options.php:246
+#: admin/general-options.php:247
+msgid "Example"
+msgstr ""
+
+#: admin/general-options.php:256
+#: admin/general-options.php:392
+#: admin/general-options.php:528
+msgid "Save Options"
+msgstr ""
+
+#: admin/general-options.php:269
+msgid "Map Configuration"
+msgstr ""
+
+#: admin/general-options.php:272
+#, php-format
+msgid "See %s the Help page%s for an explanation of these options."
+msgstr ""
+
+#: admin/general-options.php:278
+msgid "Google Maps API Key"
+msgstr ""
+
+#: admin/general-options.php:281
+#, php-format
+msgid "%s Click here%s to sign up for a Google Maps API key for your domain."
+msgstr ""
+
+#: admin/general-options.php:286
+#: admin/help.php:73
+msgid "Starting Location"
+msgstr ""
+
+#: admin/general-options.php:288
+msgid "Latitude:"
+msgstr ""
+
+#: admin/general-options.php:290
+msgid "Longitude:"
+msgstr ""
+
+#: admin/general-options.php:298
+msgid "Distance Units"
+msgstr ""
+
+#: admin/general-options.php:305
+msgid "Miles"
+msgstr ""
+
+#: admin/general-options.php:306
+msgid "Kilometers"
+msgstr ""
+
+#: admin/general-options.php:312
+msgid "Default Search Radius"
+msgstr ""
+
+#: admin/general-options.php:326
+msgid "Number of Results to Display"
+msgstr ""
+
+#: admin/general-options.php:336
+msgid "Select \"No Limit\" to display all results within the search radius."
+msgstr ""
+
+#: admin/general-options.php:341
+#: admin/help.php:78
+msgid "Auto-Load Database"
+msgstr ""
+
+#: admin/general-options.php:344
+msgid "No auto-load"
+msgstr ""
+
+#: admin/general-options.php:345
+msgid "Auto-load search results"
+msgstr ""
+
+#: admin/general-options.php:346
+msgid "Auto-load all locations"
+msgstr ""
+
+#: admin/general-options.php:354
+msgid "Stick to default location set above"
+msgstr ""
+
+#: admin/general-options.php:359
+msgid "Default Zoom Level"
+msgstr ""
+
+#: admin/general-options.php:368
+msgid "1 is the most zoomed out (the whole world is visible) and 19 is the most zoomed in."
+msgstr ""
+
+#: admin/general-options.php:373
+#: admin/help.php:89
+msgid "Special Location Label"
+msgstr ""
+
+#: admin/general-options.php:380
+msgid "Map Page IDs"
+msgstr ""
+
+#: admin/general-options.php:383
+msgid "Enter the IDs of the pages/posts the map will appear on, separated by commas. The map scripts will only be loaded on those pages. Leave blank or enter 0 to load the scripts on all pages."
+msgstr ""
+
+#: admin/general-options.php:415
+msgid "Map Style Defaults"
+msgstr ""
+
+#: admin/general-options.php:418
+#, php-format
+msgid "To insert SimpleMap into a post or page, type this shortcode in the body: %s"
+msgstr ""
+
+#: admin/general-options.php:424
+msgid "Map Size"
+msgstr ""
+
+#: admin/general-options.php:426
+msgid "Width:"
+msgstr ""
+
+#: admin/general-options.php:428
+msgid "Height:"
+msgstr ""
+
+#: admin/general-options.php:430
+#, php-format
+msgid "Enter a numeric value with CSS units, such as %s or %s."
+msgstr ""
+
+#: admin/general-options.php:435
+msgid "Default Map Type"
+msgstr ""
+
+#: admin/general-options.php:439
+msgid "Road map"
+msgstr ""
+
+#: admin/general-options.php:446
+msgid "Satellite map"
+msgstr ""
+
+#: admin/general-options.php:453
+msgid "Hybrid map"
+msgstr ""
+
+#: admin/general-options.php:460
+msgid "Terrain map"
+msgstr ""
+
+#: admin/general-options.php:468
+msgid "Theme"
+msgstr ""
+
+#: admin/general-options.php:475
+msgid "Default Themes"
+msgstr ""
+
+#: admin/general-options.php:483
+msgid "Custom Themes"
+msgstr ""
+
+#: admin/general-options.php:492
+#, php-format
+msgid "To add your own theme, upload your own CSS file to a new directory in your plugins folder called %s simplemap-styles%s. To give it a name, use the following header in the top of your stylesheet:"
+msgstr ""
+
+#: admin/general-options.php:501
+msgid "Display Search Form"
+msgstr ""
+
+#: admin/general-options.php:508
+msgid "Show the search form above the map"
+msgstr ""
+
+#: admin/general-options.php:513
+msgid "SimpleMap Link"
+msgstr ""
+
+#: admin/general-options.php:520
+msgid "Show the \"Powered by SimpleMap\" link"
+msgstr ""
+
+#: admin/help.php:22
+msgid "Jump to a section:"
+msgstr ""
+
+#: admin/help.php:22
+#: admin/help.php:35
+msgid "Displaying Your Map"
+msgstr ""
+
+#: admin/help.php:22
+#: admin/help.php:108
+msgid "Adding a Location"
+msgstr ""
+
+#: admin/help.php:22
+#: admin/help.php:141
+msgid "Everything Else"
+msgstr ""
+
+#: admin/help.php:42
+msgid "To show your map on any post or page, insert the shortcode in the body:"
+msgstr ""
+
+#: admin/help.php:44
+msgid "If you want only certain categories to show on a map, insert shortcode like this, where the numbers are replaced with the ID numbers of your desired categories:"
+msgstr ""
+
+#: admin/help.php:46
+msgid "You can place content above or below your map, just like in any other post. Note that any content placed below the map will be pushed down by the list of search results (unless you have them displaying differently with a custom theme)."
+msgstr ""
+
+#: admin/help.php:48
+#, php-format
+msgid "Configure the appearance of your map on the %s General Options page.%s"
+msgstr ""
+
+#: admin/help.php:74
+msgid "Enter the location the map should open to by default, when no location has been searched for. If you do not know the latitude and longitude of your starting location, enter the address in the provided text field and press \"Geocode Address.\""
+msgstr ""
+
+#: admin/help.php:80
+#, php-format
+msgid "%s No auto-load:%s Locations will not load automatically."
+msgstr ""
+
+#: admin/help.php:81
+#, php-format
+msgid "%s Auto-load search results:%s The locations will load based on the default location, default search radius and zoom level you have set."
+msgstr ""
+
+#: admin/help.php:82
+#, php-format
+msgid "%s Auto-load all locations:%s All of the locations in your database will load at the default zoom level you have set, disregarding your default search radius. %s This option is not enabled if you have more than 100 locations in your database.%s"
+msgstr ""
+
+#: admin/help.php:84
+msgid "If you leave the checkbox unchecked, then the auto-load feature will automatically move the map to the center of all the loaded locations. If you check the box, your default location will be respected regardless of the locations the map is loading."
+msgstr ""
+
+#: admin/help.php:90
+msgid "This is meant to flag certain locations with a specific label. It shows up in the search results with a gold star next to it. Originally this was developed for an organization that wanted to highlight people that had been members for more than ten years. It could be used for something like that, or for \"Favorite Spots,\" or \"Free Wi-Fi,\" or anything you want. You can also leave it blank to disable it."
+msgstr ""
+
+#: admin/help.php:116
+msgid "To properly add a new location, you must enter one or both of the following:"
+msgstr ""
+
+#: admin/help.php:117
+msgid "1. A full address"
+msgstr ""
+
+#: admin/help.php:118
+msgid "2. A latitude and longitude"
+msgstr ""
+
+#: admin/help.php:119
+msgid "If you enter a latitude and longitude, then the address will not be geocoded, and your custom values will be left in place. Entering an address without latitude or longitude will result in the address being geocoded before it is submitted to the database."
+msgstr ""
+
+#: admin/help.php:123
+msgid "You must also enter a name for every location."
+msgstr ""
+
+#: admin/help.php:149
+#, php-format
+msgid "If you have any other questions or comments, please visit the %s SimpleMap Support Forums%s. Search the forums for your problem before you post; the same issue may have been solved already by someone else."
+msgstr ""
+
+#: admin/import-export.php:18
+msgid "SimpleMap: Import/Export CSV"
+msgstr ""
+
+#: admin/import-export.php:32
+msgid "Import From File"
+msgstr ""
+
+#: admin/import-export.php:36
+msgid "If your file has fewer than 100 records and does not have latitude/longitude data:"
+msgstr ""
+
+#: admin/import-export.php:38
+msgid "Make sure your CSV has a header row that gives the field names (in English). A good example of a header row would be as follows:"
+msgstr ""
+
+#: admin/import-export.php:40
+msgid "Name, Address, Address Line 2, City, State/Province, ZIP/Postal Code, Country, Phone, Fax, URL, Category, Tags, Description, Special (1 or 0), Latitude, Longitude"
+msgstr ""
+
+#: admin/import-export.php:42
+msgid "You can import your file with or without quotation marks around each field. However, if any of your fields contain commas, you should enclose your fields in quotation marks. Single ( ' ) or double ( \" ) quotation marks will work."
+msgstr ""
+
+#: admin/import-export.php:44
+msgid "If your file has more than 100 records:"
+msgstr ""
+
+#: admin/import-export.php:46
+msgid "If you have more than 100 records to import, it is best to do one of the following:"
+msgstr ""
+
+#: admin/import-export.php:49
+msgid "Geocode your own data before importing it"
+msgstr ""
+
+#: admin/import-export.php:50
+msgid "Split your file into multiple files with no more than 100 lines each"
+msgstr ""
+
+#: admin/import-export.php:53
+#, php-format
+msgid "Geocoding your own data will allow you to import thousands of records very quickly. If your locations need to be geocoded by SimpleMap, any file with more than 100 records might stall your server. %s Resources for geocoding your own locations can be found here.%s"
+msgstr ""
+
+#: admin/import-export.php:55
+msgid "If you are importing a file you exported from SimpleMap (and haven't changed since), be sure to check the box below since the locations are already geocoded."
+msgstr ""
+
+#: admin/import-export.php:61
+msgid "File to import (maximum size 2MB):"
+msgstr ""
+
+#: admin/import-export.php:63
+msgid "Check this box if the locations in the file are already geocoded."
+msgstr ""
+
+#: admin/import-export.php:65
+msgid "Import CSV File"
+msgstr ""
+
+#: admin/import-export.php:69
+msgid "Importing a file may take several seconds; please be patient."
+msgstr ""
+
+#: admin/import-export.php:81
+msgid "Export To File"
+msgstr ""
+
+#: admin/import-export.php:88
+msgid "Export Database to CSV File"
+msgstr ""
+
+#: admin/manage-categories.php:37
+msgid "Delete All Categories"
+msgstr ""
+
+#: admin/manage-categories.php:37
+msgid "Delete all categories in database"
+msgstr ""
+
+#: admin/manage-categories.php:85
+#: admin/manage-categories.php:171
+#, php-format
+msgid "Displaying %d–%d of %d"
+msgstr ""
+
+#: admin/manage-categories.php:114
+#: admin/manage-categories.php:123
+msgid "ID"
+msgstr ""
+
+#: admin/manage-categories.php:162
+#: admin/manage-db.php:263
+#: admin/manage-db.php:265
+msgid "No records found."
+msgstr ""
+
+#: admin/manage-categories.php:211
+msgid "Category Name"
+msgstr ""
+
+#: admin/manage-categories.php:217
+#: admin/manage-db.php:423
+msgid "Cancel"
+msgstr ""
+
+#: admin/manage-categories.php:218
+msgid "Update Category"
+msgstr ""
+
+#: admin/manage-categories.php:235
+msgid "You are about to delete the selected categories. \"Cancel\" to stop, \"OK\" to delete."
+msgstr ""
+
+#: admin/manage-categories.php:249
+msgid "Add Category"
+msgstr ""
+
+#: admin/manage-db.php:57
+msgid "Delete Database"
+msgstr ""
+
+#: admin/manage-db.php:57
+msgid "Do you really want to delete all locations in your database?"
+msgstr ""
+
+#: admin/manage-db.php:57
+msgid "Delete all entries in database"
+msgstr ""
+
+#: admin/manage-db.php:105
+#: admin/manage-db.php:274
+msgid "Displaying"
+msgstr ""
+
+#: admin/manage-db.php:136
+#: admin/manage-db.php:153
+msgid "Phone/Fax/URL"
+msgstr ""
+
+#: admin/manage-db.php:193
+msgid "Edit this post inline"
+msgstr ""
+
+#: admin/manage-db.php:194
+#, php-format
+msgid "Do you really want to delete %s ?"
+msgstr ""
+
+#: admin/manage-db.php:323
+msgid "Latitude"
+msgstr ""
+
+#: admin/manage-db.php:326
+msgid "Longitude"
+msgstr ""
+
+#: admin/manage-db.php:336
+msgid "City"
+msgstr ""
+
+#: admin/manage-db.php:368
+msgid "ZIP/Postal Code"
+msgstr ""
+
+#: admin/manage-db.php:379
+msgid "Geocode Address"
+msgstr ""
+
+#: admin/manage-db.php:424
+msgid "Update Location"
+msgstr ""
+
+#: admin/manage-db.php:424
+msgid "Geocode the new address to update this location."
+msgstr ""
+
+#: admin/manage-db.php:441
+msgid "You are about to delete the selected posts. \"Cancel\" to stop, \"OK\" to delete."
+msgstr ""
+
+#: includes/display-map.php:27
+msgid "Search"
+msgstr ""
+
+#: includes/display-map.php:28
+msgid "Please enter an address or search term in the box above."
+msgstr ""
+
+#: includes/display-map.php:33
+#, php-format
+msgid "Powered by %s SimpleMap"
+msgstr ""
+
+#: includes/scripts.php:22
+msgid "Visit Website"
+msgstr ""
+
+#: includes/scripts.php:23
+msgid "Get Directions"
+msgstr ""
+
+#: includes/scripts.php:24
+msgid "Location"
+msgstr ""
+
+#: includes/scripts.php:29
+msgid "No results found."
+msgstr ""
+
+#: includes/toolbar.php:6
+msgid "Go to the SimpleMap Home Page"
+msgstr ""
+
+#: includes/toolbar.php:6
+msgid "SimpleMap Home Page"
+msgstr ""
+
+#: includes/toolbar.php:9
+msgid "Go to the SimpleMap Support Forums"
+msgstr ""
+
+#: includes/toolbar.php:9
+msgid "Support Forums"
+msgstr ""
+
+#: includes/toolbar.php:23
+msgid "You must enter an API key for your domain."
+msgstr ""
+
+#: includes/toolbar.php:23
+msgid "Enter a key on the General Options page."
+msgstr ""
+
+#: includes/toolbar.php:27
+msgid "You must update your database to enable the new category functionality."
+msgstr ""
+
+#: includes/toolbar.php:28
+msgid "To update the database:"
+msgstr ""
+
+#: includes/toolbar.php:30
+msgid "Click here FIRST to download a backup of your database."
+msgstr ""
+
+#: includes/toolbar.php:32
+msgid "Then click here to update your categories."
+msgstr ""
+
diff --git a/readme.txt b/readme.txt
new file mode 100644
index 0000000..961822c
--- /dev/null
+++ b/readme.txt
@@ -0,0 +1,418 @@
+=== SimpleMap Store Locator ===
+
+Contributors: hallsofmontezuma, fullthrottledevelopment
+Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=DTJBYXGQFSW64
+Tags: map, maps, store locator, database, locations, stores, Google maps, locator
+Requires at least: 2.8
+Tested up to: 3.7.1
+Stable tag: 2.4.6
+
+SimpleMap is an easy-to-use international store locator plugin that uses Google Maps to display information directly on your WordPress site.
+
+== Description ==
+
+SimpleMap is a *powerful* and *easy-to-use* international store locator plugin. It has an intuitive interface and is completely customizable. Its search features make it easy for your users to find your locations quickly.
+
+Please note: SimpleMap has some compatibility problems with WordPress MU.
+
+Key features include:
+
+* Manage locations from any country supported by Google Maps
+* Manage an unlimited number of locations
+* Put a Google Map on any page or post that gives instant results to users
+* Users can enter a street address, city, state, or zip to search the database
+* Customize the appearance of the map and results with your own themes
+* Use a familiar interface that fits seamlessly into the WordPress admin area
+* Import and export your database as a CSV file
+* Quick Edit function allows for real-time updates to the location database
+* Make certain locations stand out with a customizable tag (Most Popular, Ten-Year Member, etc.)
+* Easy-to-use settings page means you don't need to know any code to customize your map
+
+See the screenshots for examples of the plugin in action.
+
+With SimpleMap, you can easily put a store locator on your WordPress site in seconds. Its intuitive interface makes it the easiest plugin of its kind to use, and the clean design means you'll have a classy store locator that fits in perfectly with any WordPress theme.
+
+== Installation ==
+
+1. Upload the entire `simplemap` folder to your `/wp-content/plugins/` folder.
+2. Go to the 'Plugins' page in the menu and activate the plugin.
+3. Type `[simplemap]` into any Post or Page you want SimpleMap to be displayed in.
+4. Enter some locations in the database and start enjoying the plugin!
+
+== Screenshots ==
+
+1. Example of the map and results
+2. Location with an image tag in the description
+3. Location with HTML formatting in the description
+4. General Options page
+5. Managing the database
+
+== Frequently Asked Questions ==
+
+= What are the minimum requirements for SimpleMap? =
+
+You must have:
+
+* WordPress 2.8 or later
+* PHP 5 (or PHP 4 with the SimpleXML extension loaded), DOMDocument class
+
+= How do I put SimpleMap on my website? =
+
+Simply insert the following shortcode into any page or post: `[simplemap]`
+
+= I've put in the shortcode, but my map isn't showing up. Why? =
+
+If the search form is showing up, but the map is blank, it's probably a Javascript error. Check to see if any other plugins are throwing Javascript errors before the SimpleMap Javascript gets loaded.
+
+= What is the "Special Location Label"? =
+
+This is meant to flag certain locations with a specific label. It shows up in the search results with a gold star next to it. Originally this was developed for an organization that wanted to highlight people that had been members for more than ten years. It could be used for something like that, or for "Favorite Spots," or "Free Wi-Fi," or anything you want. You can also leave it blank to disable it.
+
+= Why can't my map load more than 100 search results at a time? =
+
+On most browsers, loading more than 100 locations at once will really slow things down. In some cases, such as a slower internet connection, it can crash the browser completely. I put that limit on there to prevent that from happening.
+
+= Can I suggest a feature for SimpleMap? =
+
+Of course! Visit [the SimpleMap home page](http://simplemap-plugin.com/) to do so.
+
+= What if I have a problem with SimpleMap, or find a bug? =
+
+Please visit [the SimpleMap forums at WordPress.org](http://wordpress.org/tags/simplemap?forum_id=10) if you have a bug to report. Otherwise, you may access premium support inside the plugin dashboard.
+
+== Changelog ==
+
+= 2.4.6 =
+* Bugfix release for Google API changes
+* Fixed display of marker bubble
+
+= 2.4.5 =
+* Compatibility fixes for WordPress 3.5
+= 2.4.4 =
+* Added filters to menu item permissions
+* Don't display map updating image if map is hidden
+* Show error if over Google API limit
+* Added ability to to show description in search results with a filter
+* Fixed typo with call to wp_get_current_user
+* Fixed bug that prevented locations less than 1KM from being returned
+* Passing current WordPress post/page ID to search script
+* Fixed bug that created memory errors when large amount of locations were deleted at once
+* Fixed bug that created memory errors on medium size DBs during export. Still need to refactor for large exports
+* Change locations from hierarchical to non-hierarchical to avoid poor WP query
+* Fixed error that prevented permalink map from rendering in IE
+
+= 2.4.3 =
+* Added filter to allow devs to remove loading image
+* Added filter to allow devs to change sort order
+* Added language options for Google Maps API call to allow for additional localization
+* Changed the name of the CSV class to prevent conflicts with other plugins
+* Removed some random characters appearing in location pages
+* Change HTTP/1.1 200 OK header to Status: 200 OK', false, 200
+* Added ability to hide bubble description with filter
+* Switch paramater order in call to maps.googleapis.com that was causing errors
+* Fixed permalink error
+* Added auto-locate options to experimental features
+
+= 2.4.2 =
+* Changed XML in search class to json
+* Fix broken taxonomy filters
+* Fix error caused when deleting locations where no categories exist
+* Changed query params to get directions links to reflect Googles changes
+* Fixed display bug associated with "Now Loading" image when small maps are used.
+* Forced 200 status in header of xml-search.php script
+
+= 2.4.1 =
+* Revamped the way we pass locaitonData and searchData back and forth between JS functions (placed in objects)
+* Made custom JS function for Custom Markers future proof (this is not backwards compatible but will be from here out)
+* Fixed errors in options-general.php
+* Fixed bad tabbing that snuck into the code
+* Fixed autoload bug introduced in 2.4
+* Fixed taxonomy shortcodes.
+
+
+= 2.4 =
+* Added ability to turn on location permalinks
+* Google Maps API version 3
+* Streetview
+* Options to activate permalinks for locations
+* Foundation for templating system
+* Added ability to delete all locations but to preserve settings
+* Added cancel link to second stage of import process
+* Added code to remove a hook added by the AddThis plugin that breaks results
+* Added map_type and zoom_level to shortcode options
+* Relax permissions on SM menu items
+* Applied label filters for categories in widget (to match search form)
+* Allow custom taxonomies to be integrated into the SimpleMap API and attached to the sm-location custom post type
+* Allow for custom taxonomies to be imported and created on the fly
+* Added ability to span table cells via shortcode
+* Added markers to titles
+* Added autoload shortcode
+* Fixed error where not all categories are imported in some instances
+* Don’t autozoom search results on initial page load
+* Changed location of temp XML upload file and added the blog id to file handle for ** * MultiSite configurations
+* Added missing filters for search form text
+* Only pass non-empty post_content through 'the_content' filter in case submit button is not included, attached an invisible submit button so that hitting Enter in the address fields still works
+* Reorganized column counting function and added in safety limitations to avoid all rows from being combined when the column count doesn't exactly match
+* W3C and performance enhancements
+* Only save options when they have changed
+* Fixed the lat / lng and zoom settings on a permalink location map
+* Fixed error causing 404 for location permalinks after initial activation
+* Added a pin to indicate search lat/lng location as well as additional pin colors that can be set with a filter
+* Fixed error message appearing in some instances of deleting locations from General Options screen
+* Import / Export modification to make sure we convert old CSV values to new ones.
+* Added region to Google Maps API call to fix default google domain
+* Added some additional CSS classes to map bubbles and search results divs
+* Fixed some JS errors that broke search results in some cases
+* Fixed issue that prevented adsense from showing in some instances
+* Template class refining
+* Enabled custom markers for permalink pages
+* Made taxonomy information available on permalink page
+* Fix autoload shortcode argument
+* Added titles to markers
+* Additional actions, filters, whitespace formatting, and notifications
+
+= 2.3.4 =
+* Refactored XML Search query. Very large speed improvments to search
+* Fixed bug returning false negatives with low limit + taxonomy combo on search
+* Added South Africa Google domain
+* Made Google Domains and Country names array filterable
+* Revamped functions that identify plugin path and plugin URL to work with SSL and non-standard setups
+* Minor CSS changes
+* Replace calls to get_option( 'site_url' ) with site_url()
+* Removed debugging code at top of XML-Search.php that was lowering PHP memory_limit
+* Fixed limit shortcode so that it works again
+
+= 2.3.3 =
+* Add a fallback that geocodes new locations via JS when PHP doesn't work because of 620 status from Google
+* Added actions to the load_simplemap JS function
+* Added ability to use a select box for taxonomies in the search form (rather than checkboxes)
+* Fixed bug that allowed results to show up in search
+* Fixed bug preventing drag and drop location from updating address in some locations
+
+= 2.3.2 =
+* Add a fallback XML generator for servers without DOMDocument Installed
+* Added ids to search form tr and td elements to allow manipulation via CSS / JS
+* Refactored parts of XML search script for optimization
+* More hooks
+* Forced JS header as 200. Some hosts were reporting status for PHP as JS to be 400.
+* Added WP_IMPORTING flag while importing locations.
+* Fixed some HTML Validation issues in the Search form (have one more to root out)
+
+= 2.3.1 =
+* Added additional filters to allow modifying search form labels without use of .pot file.
+* Removed stray testing code in simplemap.php
+
+= 2.3 =
+* Revamped the search form making it extremly flexible via shortcode arguments (see KB article on premium support site)
+* Reformulated the main search query to trim search results to 1/10 the time of that introduced in 2.0 (more work still to be done here)
+* Added multiple filters that allow for customization of text labels / tabs / visual elements in the map and search results
+* Added more than a dozen new shortcode arguments for overriding General Settings on a per map instance (see KB article on premium support site)
+* Added 2 new optional taxonomies (Days and Times)
+* Added optional ability to add Google Adwords for maps overlay to map
+* Removed caching system introduced in 2.2.1 as it was failing for large DBs
+* Fixed country code problem in General Settings
+* Fixed bug that prevented default zoom level from working
+* Fixed bug that prevented auto load all locations in some setups
+* Limited total number of auto load locations. It proved impractical to load them all if you had a large DB
+* Added instructional descriptions to General Settings that proved confusing to users
+* Fixed bug preventing radius from working in some setups
+
+= 2.2.1 =
+* Added 'Loading' message to map when doing search
+* Added caching system to speed up repeated searches on systems with large amounts of locations
+* Added filters to compensate for WP Bug when more than 10k locations exist
+* Fixed bug that prevented locations from appearing when searched from widget and search form is hidden
+* Fixed bug that prevented categories and tags from being imported correctly on some systems
+* Fixed bug that prevented 'No Limit' option for number of results shown to be set.
+* Fixed autoload bug introduced in 2.2
+* Fixed bug that prevented changing of Default Country in options
+
+= 2.2 =
+* Added ability to customize map markers without hacking plugin files
+* Added ability to filter locations by meeting day and time
+* Added search widget
+* Added shortcode argument for custom search form title
+* Fixed errors that broke distance reporting
+* Fixed errors that locked up the edit screen with large number of locations
+* Fixed error that created bad XML link when no search results were found
+* Added several warning / error messages to UI
+* Fixed error that prevented custom style sheets from loading properly
+
+= 2.1 =
+* Added shortcode args to hide map
+* Added shortcode args to hide list of results
+* Added shortcode args to hide entire search box
+* Added shortcode args to override default lat / lng for individual maps
+
+= 2.0 =
+* First major overhaul since FullThrottle took over development
+* Custom Post Types and Taxonomies for Locations, Location Categories, and Location Tags.
+* All scripts and styles are now enqueued to prevent conflicts
+* Custom MySQL queries have been reduced to 1. The rest have been replaced by WordPress API functions.
+* Overhauled search form allows more control
+* Additional shortag attributes allows more search form flexibility
+* Drag and Drop map available on New / Edit Location screen to fine tune placement of location
+* Autoload of locations on by default.
+* Multiple bug fixes covered in switch to custom post types and WordPress DB API (functions and $wpdb)
+* Several hooks and filters added to code (more to come in the future)
+* Option added to General Options screen that allows complete deletion of all SimpleMap data
+* Revamped Import / Export process. Import process now allows fine tuning of column data
+* Ability to export legacy ( prior to version 2.0 ) data into CSV
+* Ability to completely remove legacy database tables and data
+* Ability to create categories / tags on the fly during CSV import
+
+= 1.2.2 =
+* Modified URL references to admin pages to fix 'Do not have permissions' errors that occurred in WP 3.0
+* Modified the way existing form values are populated in the admin pages
+* Plugin development was taken over by [FullThrottle Development](http://fullthrottledevelopment.com/)
+
+= 1.2.1 =
+* Moved SimpleMap out of beta status and into a stable release
+
+= 1.2b4 =
+* Cleaned up the scripts loaded in the head section of the page.
+* Added ability to specify page IDs on which to load the map scripts.
+* Separated CSS from Javascript in the head section to hopefully make it more compatible with the "Javascript to the Bottom" plugin.
+
+= 1.2b3 =
+* Fixed error where database table was not being created on install/activation of plugin
+* Text search works on name, description, and tags (but not on categories yet - still in progress)
+* Changing a location's address in Quick Edit forces you to re-geocode before saving the changes
+* Added ability to specify an address format (order of fields in the City line)
+* Page now scrolls to map when you click on a location in the results list
+
+= 1.2b2 =
+* "Get Directions" link now uses custom Google Maps country domain (as set in General Options)
+* Added translation support for a few strings that were missing it (including "Fax" and "Tags")
+* Fixed the bubble-height problem (hopefully for good this time)
+* Added ability to re-geocode address when changing the database with Quick Edit
+* Info bubble correctly displays category name instead of ID number
+* Removed "get computed style" function, which should eliminate that error in any browsers
+
+= 1.2b1 =
+* Added tags
+* Multiple maps (on different posts/pages only)
+* Maps with specific categories
+* Searching by name or keyword now searches the Name, Description, Category, and Tags fields
+* Improved CSV support
+* Added ability to choose Google Maps domain (.com, .co.uk, etc.)
+
+= 1.1.4 =
+* Added Help page to de-clutter the other admin pages, and allow for more thorough explanations of features
+* Improved CSV import: Now includes an option to quickly import large files if the locations are already geocoded
+* Improved latitude/longitude handling: The values are now directly editable on the Manage Database page, and any new location (added on the Add Location page OR via CSV import) that has latitude/longitude already set will keep those values intact
+* Improved Auto-Load: There is now an option to auto-load all locations in the database, and it automatically disables itself if there are more than 100 locations (to prevent crashing browsers)
+* Improved Auto-Load: There is now an option to lock the auto-load to your default location, instead of the map centering itself on the loaded locations
+* Improved map display: Numerous CSS fixes added to ensure that map overlays display properly
+* Improved state/province: Is now a text field instead of a drop-down list, so any value can be entered
+* Added ability to sort the database by column on the Manage Database page
+* Added ability to change the number of search results shown (was previously limited to 20)
+* Fixed bug: Info bubble should now expand properly when a location's name/category takes up more than one line
+* Added questions to FAQ in Readme file
+
+= 1.1.3 =
+* Fixed bug: "Get Directions" link in location's info bubble no longer inserts "null" in the destination address
+* Fixed bug: Single quotes in a location's name and address are no longer preceded by a backslash in the results display
+
+= 1.1.2 =
+* Fixed bug: Javascript code was breaking map functionality and the Geocode Address button in the General Options (Internet Explorer/Firefox only)
+
+= 1.1.1 =
+* Support for Cyrillic characters
+* Autoloading locations now respects the default zoom level set in General Options
+* Link to sign up for Google Maps API key will link to a translated signup page (English, Spanish, German, Japanese, Korean, Portugese, Russian, and Chinese)
+* Fixed bug causing error when adding a location before any categories had been created
+* Fixed bug causing the default country to reset to "United States"
+* Fixed bug regarding duplicate function names; all function names are now unique to the plugin
+
+= 1.1 =
+* New Feature: Support for international locations
+* New Feature: HTML descriptions for locations
+* New Feature: Custom categories for locations
+* New Feature: Choose to show or hide the search box with the map
+* New Feature: Geocode your default location right in the Admin section
+* Simplified Autoload feature: automatically loads at the default location
+* Improved Admin interface
+* Slightly improved CSV compatibility (in regards to quotation marks)
+* Fixed bug causing map overlays to display strangely when a background color was applied to images in that WordPress theme
+
+= 1.0.6 =
+* Fixed bug that was causing map to always appear at the top of a page or post
+* Modified CSV importing function to be more flexible about quotation marks
+* Modified paging in the Manage Database screen to better accomodate a large number of pages
+* Added button to Manage Database screen to clear entire database
+* Added German & Spanish translations
+* Fixed some tiny cosmetic errors
+* Removed some redundant code in the Manage Database screen
+
+= 1.0.5 =
+* Changed required WordPress version to 2.8
+
+= 1.0.4 =
+* Added support for localization
+* Fixed bug causing fatal error when trying to activate the plugin
+
+= 1.0.3 =
+* Added optional "Powered by SimpleMap" link to map display
+
+= 1.0.2 =
+* Fixed bug that was showing ".svn" in the drop-down list of themes
+* Added the ability to automatically load the map results from a given location
+* Added the ability to change the default search radius
+* Added support for both miles and kilometers
+* Fixed invalid markup in search form
+* Fixed invalid markup in Google Maps script call
+* Fixed bug appearing on certain servers when trying to access remote file created by Google Maps
+
+= 1.0.1 =
+* Fixed a folder structure problem where an auto-install from within WordPress would give a missing header error.
+
+= 1.0 =
+* Initial release
+
+== Making Your Own Theme ==
+
+To upload your own SimpleMap theme, make a directory in your `plugins` folder called `simplemap-styles`. Upload your theme's CSS file here.
+
+To give it a name that shows up in the **Theme** drop-down menu (instead of the filename), use the following markup at the beginning of the CSS file:
+
+`/*
+Theme Name: YOUR THEME NAME HERE
+*/`
+
+== Other Notes ==
+
+Planned for future releases:
+
+* UI for custom markers
+* Show map of single location
+* Search by Day / Time (great for groups)
+* Search by Date (great for traveling gigs / performances)
+
+To suggest any new features, please visit [the SimpleMap home page](http://simplemap-plugin.com/) and leave a comment.
+
+== Credits ==
+
+= Code and Inspiration =
+
+* [Alison Barrett](http://alisothegeek.com/) Original developer and maintainer until June, 2010.
+
+= Translations =
+
+* German: Thorsten at [.numinose](http://www.numinose.com)
+* Spanish: Fernando at [Dixit](http://www.dixit.es)
+* Portugese (Brazil): Rodolfo Rodrigues at [ChEngineer Place](http://chengineer.com/)
+* Dutch: Jan-Albert Droppers at [Droppers.NL](http://droppers.nl)
+
+If you want to help with any translation for this plugin, please don't hesitate to contact us. Any help translating is greatly appreciated! The updated `.POT` file is always included in every release, in the `lang` folder.
+
+== License ==
+
+SimpleMap - the easy store locator for WordPress.
+Copyright (C) 2010 FullThrottle Development, LLC.
+
+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 .
diff --git a/screenshot-1.png b/screenshot-1.png
new file mode 100644
index 0000000..0982e1a
Binary files /dev/null and b/screenshot-1.png differ
diff --git a/screenshot-2.png b/screenshot-2.png
new file mode 100644
index 0000000..42c61bf
Binary files /dev/null and b/screenshot-2.png differ
diff --git a/screenshot-3.png b/screenshot-3.png
new file mode 100644
index 0000000..139fbe0
Binary files /dev/null and b/screenshot-3.png differ
diff --git a/screenshot-4.png b/screenshot-4.png
new file mode 100644
index 0000000..5c83bf7
Binary files /dev/null and b/screenshot-4.png differ
diff --git a/screenshot-5.png b/screenshot-5.png
new file mode 100644
index 0000000..f20859b
Binary files /dev/null and b/screenshot-5.png differ
diff --git a/simplemap.php b/simplemap.php
new file mode 100644
index 0000000..cd964f1
--- /dev/null
+++ b/simplemap.php
@@ -0,0 +1,153 @@
+Please update!', 'SimpleMap' );
+if ( version_compare( $wp_version, "2.8", "<" ) )
+ exit( $exit_msg );
+
+#### CONSTANTS ####
+
+ // Plugin Version Number
+ define( 'SIMPLEMAP_VERSION', '2.4.6' );
+
+ if ( !defined( 'WP_PLUGIN_DIR' ) ) {
+ define( 'WP_PLUGIN_DIR', ABSPATH . 'wp-content/plugins' );
+ }
+
+ // If this file is in the plugin directory, proceed as normal.
+ if ( strpos( __FILE__, WP_PLUGIN_DIR ) === 0 ) {
+ $simplemap_file = plugin_basename( __FILE__ );
+ } else {
+ // This file is most likely marked as an active plugin, so let's find it that way.
+ $simplemap_plugins = preg_grep( '#/' . basename( __FILE__ ) . '$#', get_option( 'active_plugins', array() ) );
+ if ( !empty( $simplemap_plugins ) ) {
+ $simplemap_file = current( $simplemap_plugins );
+ } else {
+ // Last ditch effort to find the 'good' filename.
+ $simplemap_file = plugin_basename( $plugin ? $plugin : ( $mu_plugin ? $mu_plugin : ( $network_plugin ? $network_plugin : __FILE__ ) ) );
+ }
+ }
+ $simplemap_dir = dirname( $simplemap_file );
+
+ // Define plugin file
+ define( 'SIMPLEMAP_FILE', $simplemap_file );
+
+ // Define plugin path
+ define( 'SIMPLEMAP_PATH', WP_PLUGIN_DIR . '/' . $simplemap_dir );
+
+ // Define plugin URL
+ define( 'SIMPLEMAP_URL', plugins_url() . '/' . $simplemap_dir );
+
+ // Table Names
+ if ( !defined( 'SIMPLEMAP_TABLE' ) )
+ define( 'SIMPLEMAP_TABLE', $wpdb->prefix . 'simple_map' );
+
+ if ( !defined( 'SIMPLEMAP_CAT_TABLE' ) )
+ define( 'SIMPLEMAP_CAT_TABLE', $wpdb->prefix . 'simple_map_cats' );
+
+ // Map HOST
+ if ( !defined( 'SIMPLEMAP_MAPS_JS_API' ) ) {
+ // TODO: Evaluate removing scheme check as scheme-less urls can be enqueued in 3.3 (WP #16560)
+ $scheme = 'http:';
+ if ( !empty( $_SERVER['HTTPS'] ) && $_SERVER['HTTPS'] !== 'off' ) {
+ $scheme = 'https:';
+ }
+
+ define( 'SIMPLEMAP_MAPS_WS_API', $scheme . '//maps.googleapis.com/maps/api/' );
+ define( 'SIMPLEMAP_MAPS_JS_API', SIMPLEMAP_MAPS_WS_API . 'js?' );
+ }
+
+#### INCLUDES ####
+
+ include_once( 'classes/simplemap.php' );
+ include_once( 'classes/widgets.php' );
+ include_once( 'classes/locations.php' );
+
+ // Check to make sure another plugin hasn't already loaded the client before including
+ if ( ! class_exists( 'FT_Premium_Support_Client' ) )
+ include_once( 'classes/ft-ps-client.php' );
+
+#### FIRE IN THE HOLE! ####
+
+ // Init SimpleMap class
+ if ( class_exists( 'Simple_Map' ) && ( ! isset( $simple_map ) ) )
+ $simple_map = $SimpleMap = new Simple_Map();
+
+ // Register Location post types and custom taxonomies
+ if ( class_exists( 'SM_Locations' ) && ( ! isset( $sm_locations ) || ! is_object( $sm_locations ) ) )
+ $sm_locations = new SM_Locations();
+
+ if ( is_admin() ) {
+ register_activation_hook( SIMPLEMAP_FILE, array( 'SM_Admin', 'on_activate' ) );
+
+ include_once( 'classes/admin.php' );
+ include_once( 'classes/options-general.php' );
+ include_once( 'classes/import-export.php' );
+ include_once( 'classes/help.php' );
+
+ // Register General Options adminpages
+ if ( class_exists( 'SM_Options' ) && ( ! isset( $sm_options ) || ! is_object( $sm_options ) ) )
+ $sm_options = new SM_Options();
+
+ // Register Import / Export adminpages
+ if ( class_exists( 'SM_Import_Export' ) && ( ! isset( $sm_import_export ) || ! is_object( $sm_import_export ) ) )
+ $sm_import_export = new SM_Import_Export();
+
+ // Register Help adminpages
+ if ( class_exists( 'SM_Help' ) && ( ! isset( $sm_help ) || ! is_object( $sm_help ) ) )
+ $sm_help = new SM_Help();
+ } else {
+ include_once( 'classes/xml-search.php' );
+ include_once( 'classes/shortcodes.php' );
+ include_once( 'classes/maps.php' );
+ include_once( 'classes/templates.php' );
+
+ // Init XML Search class
+ if ( class_exists( 'SM_XML_Search' ) && ( ! isset( $sm_xml_search ) ) )
+ $sm_xml_search = new SM_XML_Search();
+
+ // Init the shortcode class
+ if ( class_exists( 'SM_Location_Shortcodes' ) && ! isset( $sm_location_shortcodes ) )
+ $sm_location_shortcodes = new SM_Location_Shortcodes();
+
+ // Init the maps class
+ if ( class_exists( 'SM_Map_Factory' ) && ! isset( $sm_map_factory ) )
+ $sm_map_factory = new SM_Map_Factory();
+
+ // Init the templating system for single locations
+ if ( class_exists( 'SM_Template_Factory' ) && ! isset( $sm_template_factory ) )
+ add_action( 'template_redirect', 'sm_init_templating' );
+ }
+
+ function sm_init_templating() {
+ $sm_location_master = new SM_Template_Factory();
+ }
+
+ // Build admin pages and shuffle menu to merge WP UI for custom posts with our custom pages
+ if ( class_exists( 'SM_Admin' ) && ( ! isset( $sm_admin ) || ! is_object( $sm_admin ) ) )
+ $sm_admin = new SM_Admin();
+
+ // Premium Support Client for SimpleMap
+ $config = array(
+ 'server_url' => 'http://simplemap-plugin.com',
+ 'product_id' => 1,
+ 'product-slug' => 'sm-premium',
+ 'plugin_support_page_ids' => array( 'simplemap_page_simplemap-help', 'toplevel_page_simplemap', 'simplemap_page_simplemap-import-export', 'sm-location' ),
+ 'plugin_basename' => plugin_basename( SIMPLEMAP_PATH . '/simplemap.php' ),
+ 'plugin_slug' => 'simplemap',
+ 'learn_more_link' => 'http://simplemap-plugin.com/premium-support/'
+ );
+ if ( class_exists( 'FT_Premium_Support_Client' ) && ( ! isset( $simplemap_ps ) || ! is_object( $simplemap_ps ) ) )
+ $simplemap_ps = new FT_Premium_Support_Client( $config );
+?>