First commit
614
LICENSE
|
@ -1,614 +0,0 @@
|
|||
GNU AFFERO GENERAL PUBLIC LICENSE
|
||||
|
||||
Version 3, 19 November 2007
|
||||
|
||||
Copyright (C) 2007 Free Software Foundation, Inc. <http s ://fsf.org/>
|
||||
|
||||
Everyone is permitted to copy and distribute verbatim copies of this license
|
||||
document, but changing it is not allowed.
|
||||
|
||||
Preamble
|
||||
|
||||
The GNU Affero General Public License is a free, copyleft license for software
|
||||
and other kinds of works, specifically designed to ensure cooperation with
|
||||
the community in the case of network server software.
|
||||
|
||||
The licenses for most software and other practical works are designed to take
|
||||
away your freedom to share and change the works. By contrast, our General
|
||||
Public Licenses are 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.
|
||||
|
||||
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.
|
||||
|
||||
Developers that use our General Public Licenses protect your rights with two
|
||||
steps: (1) assert copyright on the software, and (2) offer you this License
|
||||
which gives you legal permission to copy, distribute and/or modify the software.
|
||||
|
||||
A secondary benefit of defending all users' freedom is that improvements made
|
||||
in alternate versions of the program, if they receive widespread use, become
|
||||
available for other developers to incorporate. Many developers of free software
|
||||
are heartened and encouraged by the resulting cooperation. However, in the
|
||||
case of software used on network servers, this result may fail to come about.
|
||||
The GNU General Public License permits making a modified version and letting
|
||||
the public access it on a server without ever releasing its source code to
|
||||
the public.
|
||||
|
||||
The GNU Affero General Public License is designed specifically to ensure that,
|
||||
in such cases, the modified source code becomes available to the community.
|
||||
It requires the operator of a network server to provide the source code of
|
||||
the modified version running there to the users of that server. Therefore,
|
||||
public use of a modified version, on a publicly accessible server, gives the
|
||||
public access to the source code of the modified version.
|
||||
|
||||
An older license, called the Affero General Public License and published by
|
||||
Affero, was designed to accomplish similar goals. This is a different license,
|
||||
not a version of the Affero GPL, but Affero has released a new version of
|
||||
the Affero GPL which permits relicensing under this license.
|
||||
|
||||
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 Affero 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 s ue 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. Remote Network Interaction; Use with the GNU General Public License.
|
||||
|
||||
Notwithstanding any other provision of this License, if you modify the Program,
|
||||
your modified version must prominently offer all users interacting with it
|
||||
remotely through a computer network (if your version supports such interaction)
|
||||
an opportunity to receive the Corresponding Source of your version by providing
|
||||
access to the Corresponding Source from a network server at no charge, through
|
||||
some standard or customary means of facilitating copying of software. This
|
||||
Corresponding Source shall include the Corresponding Source for any work covered
|
||||
by version 3 of the GNU General Public License that is incorporated pursuant
|
||||
to the following paragraph.
|
||||
|
||||
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 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 work with which it is combined will remain
|
||||
governed by version 3 of the GNU General Public License.
|
||||
|
||||
14. Revised Versions of this License.
|
||||
|
||||
The Free Software Foundation may publish revised and/or new versions of the
|
||||
GNU Affero 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 Affero 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 Affero 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 Affero General Public License can be used, that proxy's public statement
|
||||
of acceptance of a version permanently authorizes you to choose that version
|
||||
for the Program.
|
||||
|
||||
Later license versions may give you additional or different permissions. However,
|
||||
no additional obligations are imposed on any author or copyright holder as
|
||||
a result of your choosing to follow a later version.
|
||||
|
||||
15. Disclaimer of Warranty.
|
||||
|
||||
THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE
|
||||
LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR
|
||||
OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER
|
||||
EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
|
||||
OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS
|
||||
TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM
|
||||
PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR
|
||||
CORRECTION.
|
||||
|
||||
16. Limitation of Liability.
|
||||
|
||||
IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL
|
||||
ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS THE PROGRAM
|
||||
AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL,
|
||||
INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO
|
||||
USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED
|
||||
INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE
|
||||
PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR OTHER
|
||||
PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
|
||||
|
||||
17. Interpretation of Sections 15 and 16.
|
||||
|
||||
If the disclaimer of warranty and limitation of liability provided above cannot
|
||||
be given local legal effect according to their terms, reviewing courts shall
|
||||
apply local law that most closely approximates an absolute waiver of all civil
|
||||
liability in connection with the Program, unless a warranty or assumption
|
||||
of liability accompanies a copy of the Program in return for a fee. END OF
|
||||
TERMS AND CONDITIONS
|
||||
|
||||
How to Apply These Terms to Your New Programs
|
||||
|
||||
If you develop a new program, and you want it to be of the greatest possible
|
||||
use to the public, the best way to achieve this is to make it free software
|
||||
which everyone can redistribute and change under these terms.
|
||||
|
||||
To do so, attach the following notices to the program. It is safest to attach
|
||||
them to the start of each source file to most effectively state the exclusion
|
||||
of warranty; and each file should have at least the "copyright" line and a
|
||||
pointer to where the full notice is found.
|
||||
|
||||
<one line to give the program's name and a brief idea of what it does.>
|
||||
|
||||
Copyright (C) <year> <name of author>
|
||||
|
||||
This program is free software: you can redistribute it and/or modify it under
|
||||
the terms of the GNU Affero 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 Affero General Public License for more
|
||||
details.
|
||||
|
||||
You should have received a copy of the GNU Affero General Public License along
|
||||
with this program. If not, see <http s ://www.gnu.org/licenses/>.
|
||||
|
||||
Also add information on how to contact you by electronic and paper mail.
|
||||
|
||||
If your software can interact with users remotely through a computer network,
|
||||
you should also make sure that it provides a way for users to get its source.
|
||||
For example, if your program is a web application, its interface could display
|
||||
a "Source" link that leads users to an archive of the code. There are many
|
||||
ways you could offer source, and different solutions will be better for different
|
||||
programs; see section 13 for the specific requirements.
|
||||
|
||||
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 AGPL, see <http
|
||||
s ://www.gnu.org/licenses/>.
|
25
README.md
|
@ -1,3 +1,26 @@
|
|||
# BrowzOS
|
||||
|
||||
The web browser's operating system
|
||||
This project is a cloud-based OS, written in HTML, PHP, JavaScript & CSS. It was started by TechEmporium in 2008 & programming ceased in 2011, due to other projects & life matters. It has now been revived.
|
||||
|
||||
Key features:
|
||||
- A desktop & Mac OS X like icon dock, written in CSS, HTML & JavaScript to launch different pop-up windows
|
||||
- Each desktop icon can be dragged & repositioned
|
||||
- Each pop-up window runs its own web pages, containing applets or web apps with various utilities
|
||||
|
||||
These utilities include:
|
||||
- Clock & calendar
|
||||
- Word processor*
|
||||
- Spreadsheet*
|
||||
- Calculator
|
||||
- Instant messaging using phpFreeChat
|
||||
- Media browser/player**
|
||||
- Games listing***
|
||||
|
||||
* These utilities will need improvement, in order for users to save files in their web directories
|
||||
|
||||
** This utility will need massive improvements, in order to allow users to upload, view a listing of, select & run media files from their web directories
|
||||
|
||||
*** A preference for GPL or AGPL v3 games is desired, though as it stands, all games available are closed-source freeware, except for Java Chess & Madness Interactive.
|
||||
|
||||
# Looking for contributors to fork this project
|
||||
## All assistance is appreciated
|
|
@ -0,0 +1,689 @@
|
|||
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
||||
|
||||
<html><head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||
<title>GNU Affero General Public License - GNU Project - Free Software Foundation (FSF)</title>
|
||||
<link rel="alternate" type="application/rdf+xml"
|
||||
href="http://www.gnu.org/licenses/agpl-3.0.rdf">
|
||||
</head>
|
||||
<body>
|
||||
<h3 style="text-align: center;">GNU AFFERO GENERAL PUBLIC LICENSE</h3>
|
||||
<p style="text-align: center;">Version 3, 19 November 2007</p>
|
||||
|
||||
<p>Copyright © 2007 Free Software Foundation,
|
||||
Inc. <<a href="http://fsf.org/">http://fsf.org/</a>>
|
||||
<br>
|
||||
Everyone is permitted to copy and distribute verbatim copies
|
||||
of this license document, but changing it is not allowed.</p>
|
||||
|
||||
<h3><a name="preamble"></a>Preamble</h3>
|
||||
|
||||
<p>The GNU Affero General Public License is a free, copyleft license
|
||||
for software and other kinds of works, specifically designed to ensure
|
||||
cooperation with the community in the case of network server software.</p>
|
||||
|
||||
<p>The licenses for most software and other practical works are
|
||||
designed to take away your freedom to share and change the works. By
|
||||
contrast, our General Public Licenses are 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.</p>
|
||||
|
||||
<p>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.</p>
|
||||
|
||||
<p>Developers that use our General Public Licenses protect your rights
|
||||
with two steps: (1) assert copyright on the software, and (2) offer
|
||||
you this License which gives you legal permission to copy, distribute
|
||||
and/or modify the software.</p>
|
||||
|
||||
<p>A secondary benefit of defending all users' freedom is that
|
||||
improvements made in alternate versions of the program, if they
|
||||
receive widespread use, become available for other developers to
|
||||
incorporate. Many developers of free software are heartened and
|
||||
encouraged by the resulting cooperation. However, in the case of
|
||||
software used on network servers, this result may fail to come about.
|
||||
The GNU General Public License permits making a modified version and
|
||||
letting the public access it on a server without ever releasing its
|
||||
source code to the public.</p>
|
||||
|
||||
<p>The GNU Affero General Public License is designed specifically to
|
||||
ensure that, in such cases, the modified source code becomes available
|
||||
to the community. It requires the operator of a network server to
|
||||
provide the source code of the modified version running there to the
|
||||
users of that server. Therefore, public use of a modified version, on
|
||||
a publicly accessible server, gives the public access to the source
|
||||
code of the modified version.</p>
|
||||
|
||||
<p>An older license, called the Affero General Public License and
|
||||
published by Affero, was designed to accomplish similar goals. This is
|
||||
a different license, not a version of the Affero GPL, but Affero has
|
||||
released a new version of the Affero GPL which permits relicensing under
|
||||
this license.</p>
|
||||
|
||||
<p>The precise terms and conditions for copying, distribution and
|
||||
modification follow.</p>
|
||||
|
||||
<h3><a name="terms"></a>TERMS AND CONDITIONS</h3>
|
||||
|
||||
<h4><a name="section0"></a>0. Definitions.</h4>
|
||||
|
||||
<p>"This License" refers to version 3 of the GNU Affero General Public
|
||||
License.</p>
|
||||
|
||||
<p>"Copyright" also means copyright-like laws that apply to other kinds
|
||||
of works, such as semiconductor masks.</p>
|
||||
|
||||
<p>"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.</p>
|
||||
|
||||
<p>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.</p>
|
||||
|
||||
<p>A "covered work" means either the unmodified Program or a work based
|
||||
on the Program.</p>
|
||||
|
||||
<p>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.</p>
|
||||
|
||||
<p>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.</p>
|
||||
|
||||
<p>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.</p>
|
||||
|
||||
<h4><a name="section1"></a>1. Source Code.</h4>
|
||||
|
||||
<p>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.</p>
|
||||
|
||||
<p>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.</p>
|
||||
|
||||
<p>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.</p>
|
||||
|
||||
<p>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.</p>
|
||||
|
||||
<p>The Corresponding Source need not include anything that users
|
||||
can regenerate automatically from other parts of the Corresponding
|
||||
Source.</p>
|
||||
|
||||
<p>The Corresponding Source for a work in source code form is that
|
||||
same work.</p>
|
||||
|
||||
<h4><a name="section2"></a>2. Basic Permissions.</h4>
|
||||
|
||||
<p>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.</p>
|
||||
|
||||
<p>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.</p>
|
||||
|
||||
<p>Conveying under any other circumstances is permitted solely under
|
||||
the conditions stated below. Sublicensing is not allowed; section 10
|
||||
makes it unnecessary.</p>
|
||||
|
||||
<h4><a name="section3"></a>3. Protecting Users' Legal Rights From Anti-Circumvention Law.</h4>
|
||||
|
||||
<p>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.</p>
|
||||
|
||||
<p>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.</p>
|
||||
|
||||
<h4><a name="section4"></a>4. Conveying Verbatim Copies.</h4>
|
||||
|
||||
<p>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.</p>
|
||||
|
||||
<p>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.</p>
|
||||
|
||||
<h4><a name="section5"></a>5. Conveying Modified Source Versions.</h4>
|
||||
|
||||
<p>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:</p>
|
||||
|
||||
<ul>
|
||||
|
||||
<li>a) The work must carry prominent notices stating that you modified
|
||||
it, and giving a relevant date.</li>
|
||||
|
||||
<li>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".</li>
|
||||
|
||||
<li>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.</li>
|
||||
|
||||
<li>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.</li>
|
||||
|
||||
</ul>
|
||||
|
||||
<p>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.</p>
|
||||
|
||||
<h4><a name="section6"></a>6. Conveying Non-Source Forms.</h4>
|
||||
|
||||
<p>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:</p>
|
||||
|
||||
<ul>
|
||||
|
||||
<li>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.</li>
|
||||
|
||||
<li>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.</li>
|
||||
|
||||
<li>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.</li>
|
||||
|
||||
<li>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.</li>
|
||||
|
||||
<li>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.</li>
|
||||
|
||||
</ul>
|
||||
|
||||
<p>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.</p>
|
||||
|
||||
<p>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.</p>
|
||||
|
||||
<p>"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.</p>
|
||||
|
||||
<p>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).</p>
|
||||
|
||||
<p>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.</p>
|
||||
|
||||
<p>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.</p>
|
||||
|
||||
<h4><a name="section7"></a>7. Additional Terms.</h4>
|
||||
|
||||
<p>"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.</p>
|
||||
|
||||
<p>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.</p>
|
||||
|
||||
<p>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:</p>
|
||||
|
||||
<ul>
|
||||
|
||||
<li>a) Disclaiming warranty or limiting liability differently from the
|
||||
terms of sections 15 and 16 of this License; or</li>
|
||||
|
||||
<li>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</li>
|
||||
|
||||
<li>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</li>
|
||||
|
||||
<li>d) Limiting the use for publicity purposes of names of licensors or
|
||||
authors of the material; or</li>
|
||||
|
||||
<li>e) Declining to grant rights under trademark law for use of some
|
||||
trade names, trademarks, or service marks; or</li>
|
||||
|
||||
<li>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.</li>
|
||||
|
||||
</ul>
|
||||
|
||||
<p>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.</p>
|
||||
|
||||
<p>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.</p>
|
||||
|
||||
<p>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.</p>
|
||||
|
||||
<h4><a name="section8"></a>8. Termination.</h4>
|
||||
|
||||
<p>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).</p>
|
||||
|
||||
<p>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.</p>
|
||||
|
||||
<p>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.</p>
|
||||
|
||||
<p>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.</p>
|
||||
|
||||
<h4><a name="section9"></a>9. Acceptance Not Required for Having Copies.</h4>
|
||||
|
||||
<p>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.</p>
|
||||
|
||||
<h4><a name="section10"></a>10. Automatic Licensing of Downstream Recipients.</h4>
|
||||
|
||||
<p>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.</p>
|
||||
|
||||
<p>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.</p>
|
||||
|
||||
<p>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.</p>
|
||||
|
||||
<h4><a name="section11"></a>11. Patents.</h4>
|
||||
|
||||
<p>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".</p>
|
||||
|
||||
<p>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.</p>
|
||||
|
||||
<p>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.</p>
|
||||
|
||||
<p>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.</p>
|
||||
|
||||
<p>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.</p>
|
||||
|
||||
<p>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.</p>
|
||||
|
||||
<p>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.</p>
|
||||
|
||||
<p>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.</p>
|
||||
|
||||
<h4><a name="section12"></a>12. No Surrender of Others' Freedom.</h4>
|
||||
|
||||
<p>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.</p>
|
||||
|
||||
<h4><a name="section13"></a>13. Remote Network Interaction; Use with the GNU General Public License.</h4>
|
||||
|
||||
<p>Notwithstanding any other provision of this License, if you modify the
|
||||
Program, your modified version must prominently offer all users
|
||||
interacting with it remotely through a computer network (if your version
|
||||
supports such interaction) an opportunity to receive the Corresponding
|
||||
Source of your version by providing access to the Corresponding Source
|
||||
from a network server at no charge, through some standard or customary
|
||||
means of facilitating copying of software. This Corresponding Source
|
||||
shall include the Corresponding Source for any work covered by version 3
|
||||
of the GNU General Public License that is incorporated pursuant to the
|
||||
following paragraph.</p>
|
||||
|
||||
<p>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 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 work with which it is
|
||||
combined will remain governed by version 3 of the GNU General Public
|
||||
License.</p>
|
||||
|
||||
<h4><a name="section14"></a>14. Revised Versions of this License.</h4>
|
||||
|
||||
<p>The Free Software Foundation may publish revised and/or new versions of
|
||||
the GNU Affero 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.</p>
|
||||
|
||||
<p>Each version is given a distinguishing version number. If the
|
||||
Program specifies that a certain numbered version of the GNU Affero
|
||||
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 Affero General Public License, you may choose any version
|
||||
ever published by the Free Software Foundation.</p>
|
||||
|
||||
<p>If the Program specifies that a proxy can decide which future
|
||||
versions of the GNU Affero 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.</p>
|
||||
|
||||
<p>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.</p>
|
||||
|
||||
<h4><a name="section15"></a>15. Disclaimer of Warranty.</h4>
|
||||
|
||||
<p>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.</p>
|
||||
|
||||
<h4><a name="section16"></a>16. Limitation of Liability.</h4>
|
||||
|
||||
<p>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.</p>
|
||||
|
||||
<h4><a name="section17"></a>17. Interpretation of Sections 15 and 16.</h4>
|
||||
|
||||
<p>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.</p>
|
||||
|
||||
<p>END OF TERMS AND CONDITIONS</p>
|
||||
|
||||
<h3><a name="howto"></a>How to Apply These Terms to Your New Programs</h3>
|
||||
|
||||
<p>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.</p>
|
||||
|
||||
<p>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.</p>
|
||||
|
||||
<pre> <one line to give the program's name and a brief idea of what it does.>
|
||||
|
||||
Copyright (C) <year> <name of author>
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU Affero 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 Affero General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU Affero General Public License
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
</pre>
|
||||
|
||||
<p>Also add information on how to contact you by electronic and paper mail.</p>
|
||||
|
||||
<p>If your software can interact with users remotely through a computer
|
||||
network, you should also make sure that it provides a way for users to
|
||||
get its source. For example, if your program is a web application, its
|
||||
interface could display a "Source" link that leads users to an archive
|
||||
of the code. There are many ways you could offer source, and different
|
||||
solutions will be better for different programs; see section 13 for the
|
||||
specific requirements.</p>
|
||||
|
||||
<p>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 AGPL, see
|
||||
<<a href="http://www.gnu.org/licenses/">http://www.gnu.org/licenses/</a>>.</p>
|
||||
|
||||
</body></html>
|
|
@ -0,0 +1,661 @@
|
|||
GNU AFFERO GENERAL PUBLIC LICENSE
|
||||
Version 3, 19 November 2007
|
||||
|
||||
Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
|
||||
Everyone is permitted to copy and distribute verbatim copies
|
||||
of this license document, but changing it is not allowed.
|
||||
|
||||
Preamble
|
||||
|
||||
The GNU Affero General Public License is a free, copyleft license for
|
||||
software and other kinds of works, specifically designed to ensure
|
||||
cooperation with the community in the case of network server software.
|
||||
|
||||
The licenses for most software and other practical works are designed
|
||||
to take away your freedom to share and change the works. By contrast,
|
||||
our General Public Licenses are 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.
|
||||
|
||||
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.
|
||||
|
||||
Developers that use our General Public Licenses protect your rights
|
||||
with two steps: (1) assert copyright on the software, and (2) offer
|
||||
you this License which gives you legal permission to copy, distribute
|
||||
and/or modify the software.
|
||||
|
||||
A secondary benefit of defending all users' freedom is that
|
||||
improvements made in alternate versions of the program, if they
|
||||
receive widespread use, become available for other developers to
|
||||
incorporate. Many developers of free software are heartened and
|
||||
encouraged by the resulting cooperation. However, in the case of
|
||||
software used on network servers, this result may fail to come about.
|
||||
The GNU General Public License permits making a modified version and
|
||||
letting the public access it on a server without ever releasing its
|
||||
source code to the public.
|
||||
|
||||
The GNU Affero General Public License is designed specifically to
|
||||
ensure that, in such cases, the modified source code becomes available
|
||||
to the community. It requires the operator of a network server to
|
||||
provide the source code of the modified version running there to the
|
||||
users of that server. Therefore, public use of a modified version, on
|
||||
a publicly accessible server, gives the public access to the source
|
||||
code of the modified version.
|
||||
|
||||
An older license, called the Affero General Public License and
|
||||
published by Affero, was designed to accomplish similar goals. This is
|
||||
a different license, not a version of the Affero GPL, but Affero has
|
||||
released a new version of the Affero GPL which permits relicensing under
|
||||
this license.
|
||||
|
||||
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 Affero 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. Remote Network Interaction; Use with the GNU General Public License.
|
||||
|
||||
Notwithstanding any other provision of this License, if you modify the
|
||||
Program, your modified version must prominently offer all users
|
||||
interacting with it remotely through a computer network (if your version
|
||||
supports such interaction) an opportunity to receive the Corresponding
|
||||
Source of your version by providing access to the Corresponding Source
|
||||
from a network server at no charge, through some standard or customary
|
||||
means of facilitating copying of software. This Corresponding Source
|
||||
shall include the Corresponding Source for any work covered by version 3
|
||||
of the GNU General Public License that is incorporated pursuant to the
|
||||
following paragraph.
|
||||
|
||||
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 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 work with which it is combined will remain governed by version
|
||||
3 of the GNU General Public License.
|
||||
|
||||
14. Revised Versions of this License.
|
||||
|
||||
The Free Software Foundation may publish revised and/or new versions of
|
||||
the GNU Affero 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 Affero 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 Affero 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 Affero General Public License can be used, that proxy's
|
||||
public statement of acceptance of a version permanently authorizes you
|
||||
to choose that version for the Program.
|
||||
|
||||
Later license versions may give you additional or different
|
||||
permissions. However, no additional obligations are imposed on any
|
||||
author or copyright holder as a result of your choosing to follow a
|
||||
later version.
|
||||
|
||||
15. Disclaimer of Warranty.
|
||||
|
||||
THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
|
||||
APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
|
||||
HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
|
||||
OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
|
||||
THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
|
||||
PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
|
||||
IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
|
||||
ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
|
||||
|
||||
16. Limitation of Liability.
|
||||
|
||||
IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
|
||||
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
|
||||
THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
|
||||
GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
|
||||
USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
|
||||
DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
|
||||
PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
|
||||
EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
|
||||
SUCH DAMAGES.
|
||||
|
||||
17. Interpretation of Sections 15 and 16.
|
||||
|
||||
If the disclaimer of warranty and limitation of liability provided
|
||||
above cannot be given local legal effect according to their terms,
|
||||
reviewing courts shall apply local law that most closely approximates
|
||||
an absolute waiver of all civil liability in connection with the
|
||||
Program, unless a warranty or assumption of liability accompanies a
|
||||
copy of the Program in return for a fee.
|
||||
|
||||
END OF TERMS AND CONDITIONS
|
||||
|
||||
How to Apply These Terms to Your New Programs
|
||||
|
||||
If you develop a new program, and you want it to be of the greatest
|
||||
possible use to the public, the best way to achieve this is to make it
|
||||
free software which everyone can redistribute and change under these terms.
|
||||
|
||||
To do so, attach the following notices to the program. It is safest
|
||||
to attach them to the start of each source file to most effectively
|
||||
state the exclusion of warranty; and each file should have at least
|
||||
the "copyright" line and a pointer to where the full notice is found.
|
||||
|
||||
<one line to give the program's name and a brief idea of what it does.>
|
||||
Copyright (C) <year> <name of author>
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU Affero 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 Affero General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU Affero General Public License
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
Also add information on how to contact you by electronic and paper mail.
|
||||
|
||||
If your software can interact with users remotely through a computer
|
||||
network, you should also make sure that it provides a way for users to
|
||||
get its source. For example, if your program is a web application, its
|
||||
interface could display a "Source" link that leads users to an archive
|
||||
of the code. There are many ways you could offer source, and different
|
||||
solutions will be better for different programs; see section 13 for the
|
||||
specific requirements.
|
||||
|
||||
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 AGPL, see
|
||||
<http://www.gnu.org/licenses/>.
|
|
@ -0,0 +1,28 @@
|
|||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||
<html><head><title>Command Line</title>
|
||||
<meta content="text/html; charset=windows-1251" http-equiv="Content-Type">
|
||||
<meta name="description" content="A JavaScript BASH emulator.">
|
||||
<script type="text/javascript">var Ver="5.50b"</script>
|
||||
<script type="text/javascript" src="unix.js"></script>
|
||||
<script type="text/javascript" src="mail.js"></script>
|
||||
<script type="text/javascript" src="file.js"></script>
|
||||
<script type="text/javascript" src="exec.js"></script>
|
||||
<style type="text/css">
|
||||
div, layer {font-family:'Lucida Console';font-size:18px;border-style:none;background-color:black;color:#C0C0C0}
|
||||
A {text-decoration: none}
|
||||
IMG {position:relative;visibility:hidden}
|
||||
</style></head>
|
||||
<body style="overflow:auto" onload="wid=Width();hig=Height();if (document.all) document.all.text.style.width=document.body.clientWidth-50;this.focus();Type('\nBrowzOS Command Line\n');TypeCPU();Type('\n\nLogin: ');
|
||||
if (NC && /X/.test(navigator.userAgent) && Version<5) bHnd = window.open('modules/modf.htm',null,'width=400,height=200')" onkeypress="KeyPress(event)" onkeydown="KeyDown(event)" onkeyup="KeyUp(event)" bgcolor="BLACK" text="#C0C0C0">
|
||||
<div style="position: absolute; top: 3px; left: 5px; cursor: default;" title="copyright">
|
||||
<a href="http://junix.kzn.ru/" target="_top">
|
||||
<font style="font-family: Monospace; font-size: 10px; color: #C0C0C0;" face="System" size="1">
|
||||
© Stepanischev Evgeny. (BO/\K) 2001 Kazan</font></a>
|
||||
</div>
|
||||
<br>
|
||||
<table style="width:500px;height:300px;">
|
||||
<tbody><tr><td valign="top">
|
||||
<div id="text">
|
||||
BrowzOS Command Line<br> <br># help<br>help: Command not found.<br># ?<br># ? @ alias bc break brow bye cat cd chmod clear compress continue cp cut d date df <br>echo eval exit fg foreach fw fy goto grep icq id if jzip kill ln load ls mail man mk<br>dir mkfifo more mount mv ping ps pwd read rehash repeat rm rmdir save scan sed set s<br>hift source su tail tee touch unalias uname unhash unmount unset vi wc where while w<br>hoami wish<br># _</div>
|
||||
</td></tr></tbody></table>
|
||||
</body></html>
|
|
@ -0,0 +1,67 @@
|
|||
// Çàãëóøêà
|
||||
function SetLogin(user, pass)
|
||||
{
|
||||
SetVar("user",user)
|
||||
}
|
||||
|
||||
// Ïåðåéòè ê... (â îáúåêòå mail)
|
||||
function Navi()
|
||||
{
|
||||
dtime = ping?(new Date()-0):0 // äëÿ êîìàíäû ping
|
||||
|
||||
with(document)
|
||||
if (NaviStack.length)
|
||||
{
|
||||
for (i = 10; i && images["navi"+curnavi].busy; i--)
|
||||
if (++curnavi>9) curnavi = 0
|
||||
|
||||
if (!images["navi"+curnavi].busy)
|
||||
{
|
||||
images["navi"+curnavi].busy = true
|
||||
images["navi"+curnavi].onerror = new Function("x","NaviFree("+curnavi+","+dtime+")")
|
||||
images["navi"+curnavi].src = NaviStack.pop()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Ïîñòàâèòü â î÷åðåäü
|
||||
function SetNavi(url)
|
||||
{
|
||||
NaviStack.unshift(url+(ping?'/%00?'+Math.random():''))
|
||||
Navi()
|
||||
}
|
||||
|
||||
function NaviFree(num, dtime)
|
||||
{
|
||||
if (document.images && document.images["navi"+num])
|
||||
{
|
||||
document.images["navi"+num].busy = false
|
||||
if (/^http:\/\/([^\/]+)/.test(host = document.images["navi"+num].src)) host = RegExp.$1
|
||||
if (dtime)
|
||||
{
|
||||
dtime = new Date()-dtime
|
||||
if (dtime>pingto) Type('Request timed out.\n'); else
|
||||
Type('64 bytes from '+host+': time='+dtime+' msec\n')
|
||||
}
|
||||
|
||||
if (--ping<0)
|
||||
{
|
||||
ping = dialog = 0
|
||||
Type(P())
|
||||
} else SetNavi('http://'+host)
|
||||
}
|
||||
}
|
||||
|
||||
// Ïðîâåðêà íà ãëþ÷íûå áðàóçåðû
|
||||
|
||||
function NaviCheckBrowser() // 1 <= bad
|
||||
{
|
||||
if (NC && Version>=5) return 1
|
||||
if (MZ)
|
||||
{
|
||||
var Aver = Version.split (".")
|
||||
if (Aver[1]<9 || Aver[1]==9 && Aver[2]<6)
|
||||
return 1
|
||||
}
|
||||
return 0
|
||||
}
|
|
@ -0,0 +1,466 @@
|
|||
/* Calc4Chem - Scientific calculator for chemists written by Eni Generalic - http://www.periodni.com/ */
|
||||
/* Copyright © 2008 by EniG. If you use a variant of this in your page, then please email me (eni.generalic@gmail.com) */
|
||||
|
||||
/* --------------------------------------------------------- */
|
||||
/* Calc4Chem */
|
||||
/* --------------------------------------------------------- */
|
||||
|
||||
#calc4chem {
|
||||
position: relative;
|
||||
top: 15px;
|
||||
width: 529px;
|
||||
height: 377px;
|
||||
margin: auto;
|
||||
border: 3px outset;
|
||||
background: #e4e4e4;
|
||||
text-align: center;
|
||||
color: #eee;
|
||||
}
|
||||
|
||||
#kalkulator {
|
||||
position: absolute;
|
||||
top: 3px;
|
||||
left: 3px;
|
||||
width: 257px;
|
||||
height: 365px;
|
||||
border: 0px ridge #f00;
|
||||
background: #e4e4e4;
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
#biljeska {
|
||||
position: absolute;
|
||||
top: 3px;
|
||||
left: 267px;
|
||||
width: 256px;
|
||||
height: 365px;
|
||||
border: 0px ridge #999;
|
||||
background: #e4e4e4;
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
#konstante {
|
||||
position: absolute;
|
||||
top: 13px;
|
||||
left: 275px;
|
||||
width: 245px;
|
||||
height: 350px;
|
||||
border: 1px ridge #999;
|
||||
background: #fff;
|
||||
color: #fff;
|
||||
display: none;
|
||||
/*visibility: hidden; visible hidden */
|
||||
text-align: center;
|
||||
overflow: auto;
|
||||
}
|
||||
|
||||
#numformat {
|
||||
position: absolute;
|
||||
top: 138px;
|
||||
left: 3px;
|
||||
width: 245px;
|
||||
height: 225px;
|
||||
border: 1px ridge #999;
|
||||
display: none;
|
||||
background: #e4e4e4;
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
.constnaslov {
|
||||
width: 200px;
|
||||
color: #00f;
|
||||
text-align: center;
|
||||
font: normal 12px/125% sans-serif;
|
||||
margin: 5px;
|
||||
padding-bottom: 5px;
|
||||
border-bottom: 1px #cacaba solid;
|
||||
}
|
||||
.const {
|
||||
width: 200px;
|
||||
text-align: center;
|
||||
font: 11px/125% sans-serif;
|
||||
margin: 5px;
|
||||
padding-bottom: 5px;
|
||||
border-bottom: 1px #cacaba solid;
|
||||
}
|
||||
.const a:link {
|
||||
display: block;
|
||||
color: #900;
|
||||
text-decoration: none;
|
||||
}
|
||||
.const a:visited {
|
||||
display: block;
|
||||
color: #036;
|
||||
text-decoration: none;
|
||||
}
|
||||
.const a:active {
|
||||
display: block;
|
||||
color: #900;
|
||||
text-decoration: none;
|
||||
}
|
||||
.const a:hover {
|
||||
display: block;
|
||||
background: #eaeafa;
|
||||
color: #900;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
|
||||
.crta {
|
||||
position: absolute;
|
||||
top: 0px;
|
||||
left: 262px;
|
||||
width: 2px;
|
||||
height: 372px;
|
||||
border: 2px inset;
|
||||
background: #fff; /* groove ridge */
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
.tipkovnica {
|
||||
position: absolute;
|
||||
top: 138px;
|
||||
left: 5px;
|
||||
width: 245px;
|
||||
height: 228px;
|
||||
background: #e4e4e4;
|
||||
}
|
||||
|
||||
.displej {
|
||||
position: absolute;
|
||||
top: 10px;
|
||||
left: 6px;
|
||||
width: 240px;
|
||||
height: 82px;
|
||||
border: 2px ridge #eee;
|
||||
background: #eee;
|
||||
}
|
||||
|
||||
#numauto, #numsci, #numfix, #nummem, #numrad, #numdeg, #numgrad {
|
||||
position: absolute;
|
||||
margin-top: 2px;
|
||||
width: 26px;
|
||||
height: 10px;
|
||||
font: normal 9px sans-serif;
|
||||
color: #ccc;
|
||||
display: inline;
|
||||
border: 0px solid #e00;
|
||||
background: #eee;
|
||||
}
|
||||
|
||||
#numauto {
|
||||
left: 5px;
|
||||
color: #000;
|
||||
}
|
||||
#numsci {
|
||||
left: 37px;
|
||||
}
|
||||
#numfix {
|
||||
left: 62px;
|
||||
}
|
||||
#nummem {
|
||||
left: 107px;
|
||||
}
|
||||
#numrad {
|
||||
left: 154px;
|
||||
color: #000;
|
||||
}
|
||||
#numdeg {
|
||||
left: 180px;
|
||||
}
|
||||
#numgrad {
|
||||
left: 205px;
|
||||
}
|
||||
|
||||
.upit {
|
||||
position: absolute;
|
||||
top: 27px;
|
||||
left: 6px;
|
||||
width: 225px;
|
||||
height: 25px;
|
||||
border: 0px;
|
||||
background: #eee;
|
||||
text-align: left;
|
||||
font: normal 9pt sans-serif;
|
||||
letter-spacing: 1px;
|
||||
color: #0a0;
|
||||
}
|
||||
|
||||
.rezultat {
|
||||
position: absolute;
|
||||
top: 52px;
|
||||
left: 6px;
|
||||
width: 225px;
|
||||
height: 25px;
|
||||
border: 0px;
|
||||
background: #eee;
|
||||
text-align: right;
|
||||
font: bold 12pt sans-serif;
|
||||
letter-spacing: 1px;
|
||||
color: #00a;
|
||||
}
|
||||
|
||||
.formatbr {
|
||||
position: absolute;
|
||||
top: 35px;
|
||||
left: 12px;
|
||||
width: 220px;
|
||||
height: 95px;
|
||||
border: 1px solid #cdcdcd;
|
||||
background: #e8e8e8;
|
||||
}
|
||||
.formatnaslov {
|
||||
position: relative;
|
||||
margin-top: 5px;
|
||||
font: normal 12pt cursive;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.automatik, .scienc, .fiksed {
|
||||
position: absolute;
|
||||
left: 6px;
|
||||
font: normal 10pt sans-serif;
|
||||
}
|
||||
.automatik {top: 10px;}
|
||||
.scienc {top: 38px;}
|
||||
.fiksed {top: 66px;}
|
||||
|
||||
.decnaslov {
|
||||
position: absolute;
|
||||
top: 10px;
|
||||
left: 110px;
|
||||
width: 110px;
|
||||
text-align: center;
|
||||
font: normal 10pt sans-serif;
|
||||
color: #000;
|
||||
border: 0px solid #cdcdcd;
|
||||
}
|
||||
.decimal {
|
||||
position: absolute;
|
||||
top: 32px;
|
||||
left: 136px;
|
||||
width: 60px;
|
||||
height: 22px;
|
||||
}
|
||||
.separator {
|
||||
position: absolute;
|
||||
top: 70px;
|
||||
left: 65px;
|
||||
width: 150px;
|
||||
text-align: right;
|
||||
font: normal 10pt sans-serif;
|
||||
color: #000;
|
||||
border: 0px solid #cdcdcd;
|
||||
}
|
||||
|
||||
.rad {
|
||||
position: absolute;
|
||||
top: 140px;
|
||||
left: 12px;
|
||||
width: 220px;
|
||||
height: 21px;
|
||||
border: 1px solid #cdcdcd;
|
||||
background: #e8e8e8;
|
||||
}
|
||||
|
||||
.deg {
|
||||
position: relative;
|
||||
margin: 4px;
|
||||
top: -1px;
|
||||
font: normal 10pt sans-serif;
|
||||
}
|
||||
|
||||
.cls {
|
||||
position: absolute;
|
||||
top: 103px;
|
||||
left: 217px;
|
||||
width: 30px;
|
||||
height: 22px;
|
||||
color: #f00;
|
||||
display: none;
|
||||
}
|
||||
|
||||
.zadatak {
|
||||
position: absolute;
|
||||
top: 98px;
|
||||
left: 6px;
|
||||
width: 240px;
|
||||
height: 28px;
|
||||
border: 2px groove #eee;
|
||||
background: #fff;
|
||||
}
|
||||
|
||||
.unos {
|
||||
position: absolute;
|
||||
top: 1px;
|
||||
left: 4px;
|
||||
width: 228px;
|
||||
height: 23px;
|
||||
border: 0px;
|
||||
font: bold 10pt cursive;
|
||||
color: #060;
|
||||
}
|
||||
|
||||
|
||||
.tekstarea {
|
||||
position: absolute;
|
||||
top: 10px;
|
||||
left: 8px;
|
||||
width: 238px;
|
||||
height: 317px;
|
||||
padding: 0px 0px 0px 5px;
|
||||
border: 2px groove #ccc;
|
||||
background: #fff; /*plavo*/
|
||||
font: normal 9pt/150% monospace;
|
||||
color: #345678;
|
||||
overflow: auto;
|
||||
}
|
||||
|
||||
.n1, .n2, .n3, .n4 {
|
||||
position: absolute;
|
||||
top: 340px;
|
||||
height: 24px;
|
||||
width: 80px;
|
||||
font: normal 9pt sans-serif;
|
||||
color: #000;
|
||||
}
|
||||
|
||||
.n1 {
|
||||
left: 8px;
|
||||
}
|
||||
.n2 {
|
||||
left: 91px;
|
||||
}
|
||||
.n3 {
|
||||
left: 174px;
|
||||
}
|
||||
.n4 {
|
||||
top: 174px;
|
||||
left: 85px;
|
||||
}
|
||||
.n2copy {
|
||||
position: absolute;
|
||||
left: 0px;
|
||||
top: 206px;
|
||||
width: 242px;
|
||||
color: #aaa;
|
||||
font: normal 9pt sans-serif;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.b11, .b12, .b13, .b14, .b15, .b16, .b21, .b22, .b23, .b24, .b25, .b26, .b31, .b32, .b33, .b34, .b35, .b36 {
|
||||
position: absolute;
|
||||
height: 25px;
|
||||
width: 40px;
|
||||
padding: 0px;
|
||||
color: #000;
|
||||
font: normal 10pt monospace;
|
||||
}
|
||||
|
||||
.b41, .b42, .b43, .b44, .b45, .b46, .b51, .b52, .b53, .b54, .b55, .b56, .b61, .b62, .b63, .b64, .b65, .b66, .b71, .b72, .b73, .b74, .b75, .b76 {
|
||||
position: absolute;
|
||||
height: 35px;
|
||||
width: 40px;
|
||||
padding: 0px;
|
||||
color: #000;
|
||||
}
|
||||
|
||||
.b55, .b75 {
|
||||
position: absolute;
|
||||
height: 35px;
|
||||
width: 81px;
|
||||
font: normal 10pt sans-serif;
|
||||
color: #000;
|
||||
}
|
||||
|
||||
.b75 {
|
||||
position: absolute;
|
||||
height: 35px;
|
||||
width: 81px;
|
||||
font: normal 15pt sans-serif;
|
||||
color: #050;
|
||||
}
|
||||
|
||||
.b45, .b46 {
|
||||
font: normal 10pt sans-serif;
|
||||
color: #a00;
|
||||
}
|
||||
|
||||
.b34 {
|
||||
font: normal 10pt sans-serif;
|
||||
}
|
||||
|
||||
.b44, .b54, .b74 {
|
||||
font: bold 13pt sans-serif;
|
||||
color: #00f;
|
||||
}
|
||||
.b64 {
|
||||
font: normal 15pt serif;
|
||||
color: #00f;
|
||||
}
|
||||
|
||||
.b41, .b42, .b43, .b51, .b52, .b53, .b61, .b62, .b63, .b71, .b72 {
|
||||
font: normal 12pt cursive;
|
||||
color: #575;
|
||||
}
|
||||
|
||||
.b11, .b12, .b13, .b14, .b15, .b16 {
|
||||
top: 0px;
|
||||
}
|
||||
|
||||
.b21, .b22, .b23, .b24, .b25, .b26 {
|
||||
top: 26px;
|
||||
}
|
||||
|
||||
.b31, .b32, .b33, .b34, .b35, .b36 {
|
||||
top: 52px;
|
||||
}
|
||||
|
||||
.b41, .b42, .b43, .b44, .b45, .b46 {
|
||||
top: 85px;
|
||||
}
|
||||
|
||||
.b51, .b52, .b53, .b54, .b55, .b56 {
|
||||
top: 121px;
|
||||
}
|
||||
|
||||
.b61, .b62, .b63, .b64, .b65, .b66 {
|
||||
top: 156px;
|
||||
}
|
||||
|
||||
.b71, .b72, .b73, .b74, .b75, .b76 {
|
||||
top: 192px;
|
||||
}
|
||||
|
||||
|
||||
.b11, .b21, .b31, .b41, .b51, .b61, .b71 {
|
||||
left: 0px
|
||||
}
|
||||
|
||||
.b12, .b22, .b32, .b42, .b52, .b62, .b72 {
|
||||
left: 41px
|
||||
}
|
||||
|
||||
.b13, .b23, .b33, .b43, .b53, .b63, .b73 {
|
||||
left: 82px
|
||||
}
|
||||
|
||||
.b14, .b24, .b34, .b44, .b54, .b64, .b74 {
|
||||
left: 123px
|
||||
}
|
||||
|
||||
.b15, .b25, .b35, .b45, .b55, .b65, .b75 {
|
||||
left: 164px
|
||||
}
|
||||
|
||||
.b16, .b26, .b36, .b46, .b56, .b66, .b76 {
|
||||
left: 205px
|
||||
}
|
||||
|
||||
/* END of Calc4Chem */
|
||||
/* --------------------------------------------------------- */
|
||||
|
||||
|
||||
|
||||
/*Eni Generalic, Split, Create: 1999/10/14; Update: 2008/02/27 */
|
||||
/* Copyright © 2008 by EniG. */
|
|
@ -0,0 +1,619 @@
|
|||
body {
|
||||
margin: 0px;
|
||||
padding: 0px;
|
||||
border: 0px;
|
||||
font: normal 10pt cursive;
|
||||
color: #123456;
|
||||
background: #000000
|
||||
}
|
||||
|
||||
h1 {
|
||||
font-size: 2em;
|
||||
margin: 2em 0;
|
||||
text-align: center;
|
||||
}
|
||||
h2 {
|
||||
margin: 10px;
|
||||
color: #000099;
|
||||
font: 12pt cursive;
|
||||
padding: 5px 0px;
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
h3 {
|
||||
margin: 10px;
|
||||
font: bold 11pt cursive;
|
||||
padding: 5px 0px;
|
||||
text-align: left;
|
||||
}
|
||||
h4 {
|
||||
margin: 10px;
|
||||
font: bold italic 10pt cursive;
|
||||
padding: 5px 0px;
|
||||
text-align: left;
|
||||
}
|
||||
h5 {
|
||||
margin: 10px;
|
||||
font: italic 10pt cursive;
|
||||
text-align: left;
|
||||
}
|
||||
img {border: 0px;}
|
||||
li {padding: 5px;}
|
||||
p {
|
||||
margin-bottom: 1em;
|
||||
text-align: justify;
|
||||
color: #123456;
|
||||
}
|
||||
td {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
#glavni {
|
||||
position: relative;
|
||||
width: 880px;
|
||||
margin: auto;
|
||||
border: 0px;
|
||||
}
|
||||
#gore {
|
||||
position: relative;
|
||||
top: 0px;
|
||||
left: 0px;
|
||||
width: 100%;
|
||||
height: 160px;
|
||||
margin-right: 0px;
|
||||
border-bottom: 0px #cacaba solid;
|
||||
background: #fff;
|
||||
}
|
||||
|
||||
#dole {
|
||||
position: relative;
|
||||
top: 0px;
|
||||
left: 0px;
|
||||
margin: 0px;
|
||||
width: 100%;
|
||||
border-top: 1px #cacaba solid;
|
||||
}
|
||||
#livi {
|
||||
position: absolute;
|
||||
top: 0px;
|
||||
left: 0px;
|
||||
width: 145px;
|
||||
margin-right: 5px;
|
||||
text-align: center;
|
||||
border: 0px solid #0f0;
|
||||
}
|
||||
#desni {
|
||||
position: relative;
|
||||
top: 0px;
|
||||
left: 0px;
|
||||
margin-left: 150px;
|
||||
width: 725px;
|
||||
border: 0px solid #f00;
|
||||
}
|
||||
#footer {
|
||||
position: relative;
|
||||
top: 0px;
|
||||
left: 0px;
|
||||
width: 100%;
|
||||
clear: both;
|
||||
}
|
||||
|
||||
.data , .prilog {
|
||||
position: relative;
|
||||
top: 0px;
|
||||
left: 0px;
|
||||
width: 100%;
|
||||
clear: both;
|
||||
}
|
||||
|
||||
.desno {
|
||||
position: absolute;
|
||||
top: 0px;
|
||||
left: 0px;
|
||||
margin-left: 512px;
|
||||
width: 365px;
|
||||
text-align: justify;
|
||||
background: #fff;
|
||||
border: 1px solid #0cc;
|
||||
}
|
||||
.centar {
|
||||
position: absolute;
|
||||
top: 0px;
|
||||
left: 0px;
|
||||
width: 145px;
|
||||
margin-left: 366px;
|
||||
text-align: center;
|
||||
border: 0px solid #0ff;
|
||||
}
|
||||
|
||||
|
||||
/* --------------------------------------------------------- */
|
||||
/* GOOGLE */
|
||||
/* --------------------------------------------------------- */
|
||||
.google-vrh {
|
||||
position: absolute;
|
||||
top: 70px;
|
||||
left: 150px;
|
||||
/* border-top: 1px #cacaba solid; */
|
||||
}
|
||||
|
||||
.google-dno {
|
||||
position: relative;
|
||||
top: 0px;
|
||||
left: 0px;
|
||||
text-align: center;
|
||||
width: 100%;
|
||||
background: #fff;
|
||||
padding-top: 10px;
|
||||
border-top: 1px #cacaba solid;
|
||||
border-bottom: 1px #cacaba solid;
|
||||
}
|
||||
|
||||
/* --------------------------------------------------------- */
|
||||
/* SLIKE */
|
||||
/* --------------------------------------------------------- */
|
||||
.img-l {
|
||||
float: left;
|
||||
margin: 10px 20px 10px 10px;
|
||||
}
|
||||
.img-r {
|
||||
float: right;
|
||||
margin: 10px 10px 10px 20px;
|
||||
}
|
||||
.img-c {
|
||||
text-align: center;
|
||||
margin: 20px;
|
||||
}
|
||||
.img-p {
|
||||
margin-top: 10px;
|
||||
text-align: center;
|
||||
font: italic 11pt Times;
|
||||
}
|
||||
.txt-c {
|
||||
text-align: center;
|
||||
}
|
||||
/* --------------------------------------------------------- */
|
||||
/* TOPMENI */
|
||||
/* --------------------------------------------------------- */
|
||||
|
||||
.topmeni {
|
||||
position: absolute;
|
||||
top: 0px;
|
||||
left: 0px;
|
||||
width: 725px;
|
||||
height: 55px;
|
||||
margin-top: 5px;
|
||||
margin-left: 150px;
|
||||
font: 11px/150% verdana,sans-serif;
|
||||
text-align: center;
|
||||
color: #226622;
|
||||
border-bottom: 1px #cacaba solid;
|
||||
}
|
||||
.zastave {
|
||||
top:0px;
|
||||
padding: 5px;
|
||||
}
|
||||
.zde, .zen, .zfr, .zhr, .zit, .zes {
|
||||
position: absolute;
|
||||
top: 0px;
|
||||
width: 116px;
|
||||
margin: 0px;
|
||||
padding-bottom: 5px;
|
||||
}
|
||||
.zde {left: 0px;}
|
||||
.zen {left: 122px;}
|
||||
.zfr {left: 244px;}
|
||||
.zhr {left: 366px;}
|
||||
.zit {left: 488px;}
|
||||
.zes {left: 610px;}
|
||||
|
||||
.topmeni a:link {
|
||||
display: block;
|
||||
color: #900;
|
||||
}
|
||||
.topmeni a:visited {
|
||||
display: block;
|
||||
color: #036;
|
||||
}
|
||||
.topmeni a:active {
|
||||
display: block;
|
||||
color: #900;
|
||||
}
|
||||
.topmeni a:hover {
|
||||
display: block;
|
||||
background: #fff;
|
||||
color: #00f;
|
||||
}
|
||||
|
||||
/* --------------------------------------------------------- */
|
||||
|
||||
a:link {
|
||||
color: #00f;
|
||||
text-decoration: none;
|
||||
}
|
||||
a:visited {
|
||||
color: #00a;
|
||||
text-decoration: none;
|
||||
}
|
||||
a:active {
|
||||
color: #000;
|
||||
text-decoration: none;
|
||||
}
|
||||
a:hover {
|
||||
color: #f00;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
/* --------------------------------------------------------- */
|
||||
/* PSE LOGO */
|
||||
/* --------------------------------------------------------- */
|
||||
|
||||
.logo {
|
||||
position: absolute;
|
||||
top: 0px;
|
||||
left: 0px;
|
||||
width: 120px;
|
||||
height: 120px;
|
||||
margin: 15px 0px 0px 10px;
|
||||
text-align: center;
|
||||
border: 0px #f00 solid;
|
||||
}
|
||||
.img-riba {
|
||||
position: absolute;
|
||||
top: 46px;
|
||||
left: -15px;
|
||||
}
|
||||
.img-logo {
|
||||
position: relative;
|
||||
top: 7px;
|
||||
}
|
||||
.txt-logo {
|
||||
position: absolute;
|
||||
top: 58px;
|
||||
left: 40px;
|
||||
font: 28pt cursive;
|
||||
letter-spacing: 5px;
|
||||
z-index: 10;
|
||||
}
|
||||
.pse-logo {
|
||||
position: relative;
|
||||
margin-top: 10px;
|
||||
font: 11px/150% verdana,sans-serif;
|
||||
color: #226622;
|
||||
}
|
||||
/* --------------------------------------------------------- */
|
||||
/* UTF-8 */
|
||||
|
||||
.tablice {
|
||||
position: absolute;
|
||||
top: 119px;
|
||||
left: 2px;
|
||||
width: 750px;
|
||||
height: 510px;
|
||||
}
|
||||
|
||||
.naslov {
|
||||
position: relative;
|
||||
top: 0px;
|
||||
width: 750px;
|
||||
color:#800;
|
||||
font: bold 22pt cursive;
|
||||
text-align: center;
|
||||
}
|
||||
.znak {
|
||||
text-align: left;
|
||||
}
|
||||
.utf h2 {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
/* ---------------------------------------- */
|
||||
/* COLOR TABLE */
|
||||
.ct {
|
||||
top: 0px;
|
||||
}
|
||||
|
||||
.ct table {
|
||||
width: 98%;
|
||||
border: 1px #000 solid;
|
||||
border-collapse: collapse;
|
||||
border-spacing: 0px;
|
||||
margin-top: 15px;
|
||||
}
|
||||
.ct td {
|
||||
text-align: center;
|
||||
width: 20%;
|
||||
border: 1px #000 solid;
|
||||
}
|
||||
/* ---------------------------------------- */
|
||||
/* EniG. */
|
||||
/* ---------------------------------------- */
|
||||
.enig {
|
||||
font: normal 10pt cursive;
|
||||
color: #123456;
|
||||
}
|
||||
.enig p {
|
||||
margin: 0;
|
||||
padding: 0px 10px 5px 10px;
|
||||
text-align: justify;
|
||||
color: #123456;
|
||||
}
|
||||
.BiliOkvir{
|
||||
position: relative;
|
||||
width: 100%;
|
||||
padding: 5px;
|
||||
margin-bottom: 5px;
|
||||
background: #fff;
|
||||
border: 1px solid #0cc;
|
||||
}
|
||||
.SlikaLivo, .SlikaDesno , .SlikaVrh {
|
||||
position: relative;
|
||||
width: 30%;
|
||||
text-align: center;
|
||||
}
|
||||
.SlikaLivo {
|
||||
float: left;
|
||||
margin-top: 20px;
|
||||
}
|
||||
.SlikaDesno {
|
||||
float: right;
|
||||
margin-top: 20px;
|
||||
}
|
||||
.SlikaVrh {
|
||||
float: left;
|
||||
margin-top: 0px;
|
||||
}
|
||||
.TekstLivo, .TekstDesno {
|
||||
position: relative;
|
||||
width: 70%;
|
||||
text-align: left;
|
||||
}
|
||||
.TekstDesno {
|
||||
margin-left: 30%;
|
||||
}
|
||||
|
||||
.onlyen {
|
||||
font: normal 10pt cursive;
|
||||
margin-top: 5px;
|
||||
text-align: center;
|
||||
color: #f00;
|
||||
}
|
||||
.red, .livo, .desno, .centar, .kratki, .dugi {
|
||||
top: 0px;
|
||||
left: 0px;
|
||||
}
|
||||
.red {
|
||||
position: relative;
|
||||
width: 100%;
|
||||
padding-bottom: 5px;
|
||||
margin-bottom: 5px;
|
||||
background: #fff;
|
||||
border: 1px solid #0cc;
|
||||
}
|
||||
.livo {
|
||||
position: relative;
|
||||
width: 370px;
|
||||
text-align: justify;
|
||||
background: #fff;
|
||||
border: 1px solid #0c0;
|
||||
}
|
||||
.desno {
|
||||
position: absolute;
|
||||
margin-left: 517px;
|
||||
width: 370px;
|
||||
text-align: justify;
|
||||
background: #fff;
|
||||
border: 1px solid #0cc;
|
||||
}
|
||||
.centar {
|
||||
position: absolute;
|
||||
width: 145px;
|
||||
margin-left: 371px;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.dugi {
|
||||
position: absolute;
|
||||
margin-left: 20px;
|
||||
margin-right: 5px;
|
||||
width: 530px;
|
||||
text-align: left;
|
||||
padding-bottom: 5px;
|
||||
}
|
||||
.kratki {
|
||||
|
||||
position: relative;
|
||||
width: 325px;
|
||||
margin-left: 550px;
|
||||
margin-top: 0px;
|
||||
margin-right: 0px;
|
||||
text-align: center;
|
||||
|
||||
}
|
||||
.dugi2 {
|
||||
|
||||
position: relative;
|
||||
margin-left: 325px;
|
||||
margin-right: 5px;
|
||||
width: 550px;
|
||||
text-align: left;
|
||||
padding-bottom: 5px;
|
||||
}
|
||||
.kratki2 {
|
||||
position: absolute;
|
||||
width: 325px;
|
||||
margin-left: 0px;
|
||||
margin-top: 0px;
|
||||
margin-right: 0px;
|
||||
text-align: center;
|
||||
|
||||
}
|
||||
|
||||
.jezik {
|
||||
font: normal 9pt cursive;
|
||||
margin-top: 10px;
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
.enig a:link {
|
||||
color: #00f;
|
||||
text-decoration: none;
|
||||
}
|
||||
.enig a:visited {
|
||||
color: #00a;
|
||||
text-decoration: none;
|
||||
}
|
||||
.enig a:active {
|
||||
color: #000;
|
||||
text-decoration: none;
|
||||
}
|
||||
.enig a:hover {
|
||||
color: #f00;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
/* --------------------------------------------------------- */
|
||||
.space4 {
|
||||
font: 4pt verdana,sans-serif;
|
||||
}
|
||||
.space6 {
|
||||
font: 6pt verdana,sans-serif;
|
||||
}
|
||||
.space8 {
|
||||
font: 8pt verdana,sans-serif;
|
||||
}
|
||||
|
||||
.paypal {
|
||||
margin-bottom: 10px;
|
||||
color: #000;
|
||||
font: normal 10pt cursive;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.linkdno {
|
||||
margin-bottom: 10px;
|
||||
color: #000;
|
||||
font: normal 12pt cursive;
|
||||
text-align: center;
|
||||
}
|
||||
.copyme {
|
||||
position: relative;
|
||||
text-align: center;
|
||||
color: #aaa;
|
||||
font: 8pt verdana,sans-serif;
|
||||
}
|
||||
.copyme a:link {color: #a8a9b9}
|
||||
.copyme a:hover {color: #f00}
|
||||
|
||||
.tekst {
|
||||
color: #000;
|
||||
font: 10pt verdana,sans-serif;
|
||||
text-align: justify;
|
||||
}
|
||||
.copycent {
|
||||
margin-top: 5px;
|
||||
font: 10pt verdana,sans-serif;
|
||||
text-align: center;
|
||||
}
|
||||
.crven {
|
||||
color: #f00;
|
||||
}
|
||||
.plav {
|
||||
color: #00f;
|
||||
}
|
||||
.citat {
|
||||
padding: 0px 10px 5px 10px;
|
||||
font: 11px/150% verdana,sans-serif;
|
||||
color: #226622;
|
||||
text-align: justify;
|
||||
}
|
||||
.eni-print {
|
||||
position: absolute;
|
||||
left: -6000px;
|
||||
}
|
||||
|
||||
|
||||
.tablica table, .tablica-b table{
|
||||
border: 1px #000 solid;
|
||||
border-collapse: collapse;
|
||||
border-spacing: 0px;
|
||||
margin-left:auto;
|
||||
margin-right:auto;
|
||||
text-align: center;
|
||||
}
|
||||
.tablica caption, .tablica-b caption {
|
||||
font-size: 1em;
|
||||
font-style: italic;
|
||||
padding: 3px 0px;
|
||||
text-align: center;
|
||||
}
|
||||
.tablica td {
|
||||
text-align: left;
|
||||
vertical-align: top;
|
||||
padding: 3px;
|
||||
}
|
||||
.tablica-b td {
|
||||
text-align: center;
|
||||
vertical-align: top;
|
||||
padding: 3px;
|
||||
}
|
||||
.sredina {
|
||||
text-align: center;
|
||||
padding: 3px;
|
||||
}
|
||||
/* ---------------------------------------- */
|
||||
/* Oksidacijski brojevi */
|
||||
/* ---------------------------------------- */
|
||||
.sy, .sy-r, .sy-g, .sy-b {
|
||||
position: relative;
|
||||
padding-left: 1px;
|
||||
font-size: 11pt;
|
||||
font-weight: 500;
|
||||
text-align: center;
|
||||
}
|
||||
.sy-r {color: #f00;}
|
||||
.sy-g {color: #4f8c4f;}
|
||||
.sy-b {color: #00f;}
|
||||
.oxbr {
|
||||
position: absolute;
|
||||
top: -1em;
|
||||
left: 0px;
|
||||
width: 100%;
|
||||
font-family: serif;
|
||||
font-size: 70%;
|
||||
text-align: center;
|
||||
}
|
||||
.eq-l, .eq-c, .eq-t {
|
||||
position: relative;
|
||||
font-size: 11pt;
|
||||
font-weight: 500;
|
||||
}
|
||||
.eq-l {
|
||||
padding: 15px;
|
||||
text-align: left;
|
||||
}
|
||||
.eq-c {
|
||||
padding: 10px 0px;
|
||||
text-align: center;
|
||||
}
|
||||
.eq-t {
|
||||
padding: 5px;
|
||||
text-align: left;
|
||||
}
|
||||
.eq-final {
|
||||
padding: 10px;
|
||||
text-align: center;
|
||||
width: 50%;
|
||||
margin: auto;
|
||||
background: #fff;
|
||||
border: 1px solid #0cc;
|
||||
}
|
||||
.korak {
|
||||
padding-left: 50px;
|
||||
}
|
||||
/* ---------------------------------------- */
|
||||
|
||||
/*
|
||||
.vidi {background: #ff0; visibility: visible;}
|
||||
.nevidi {visibility: hidden;} */
|
||||
/* -------------------------------------------- */
|
|
@ -0,0 +1,175 @@
|
|||
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||
<html lang="en"><head><title>Scientific Calculator</title>
|
||||
<meta http-equiv="content-type" content="text/html; charset=utf-8">
|
||||
<meta name="description" content="Calc4Chem is a JavaScript scientific calculator for chemists. This calculator can be used as common scientific calculator (sin, cos, log, power, root, memory), but it also includes a molecular weight calculator and the tables with various physical and chemical constants. The calculator contains a list with task history, storing all the recent inputs and results. Scientific calculator displays the numbers rounded to a user-specified number of decimal places.">
|
||||
<meta name="keywords" content="javascript, calc4chem, enig, scientific, calculator, chemists, mathematic, chemistry, molecular, weight, physical, constants, memory, decimals, sine, cosine, tangent, power, root, logarithm, percent, factorial, memory, round, numbers, free, program">
|
||||
<meta name="url" content="http://www.periodni.com">
|
||||
<meta name="author" content="Eni Generalic, Faculty of Chemistry and Technology, Split, Croatia">
|
||||
<meta name="reply-to" content="enig@periodni.com">
|
||||
<meta name="copyright" content="Copyright © 2010 Eni Generalic, All Rights Reserved">
|
||||
<script type="text/javascript" src="calc4chem.js"></script>
|
||||
<link media="all" href="enig.css" type="text/css" rel="stylesheet">
|
||||
<link media="all" href="calc4chem.css" type="text/css" rel="stylesheet"></head>
|
||||
<body onload="start()">
|
||||
<!-- END DIV - logo -->
|
||||
<!-- END DIV - topmeni -->
|
||||
<div class="data">
|
||||
<div id="calc4chem">
|
||||
<form action="http://www.periodni.com" name="racunalo">
|
||||
<div id="kalkulator">
|
||||
<div class="displej">
|
||||
<input name="numauto" value="AUTO" id="numauto" onfocus="ascifix[0].click()" type="text" size="20">
|
||||
<input name="numsci" value="SCI" id="numsci" onfocus="ascifix[1].click()" type="text" size="20">
|
||||
<input name="numfix" value="FIX" id="numfix" onfocus="ascifix[2].click()" type="text" size="20">
|
||||
<input name="nummem" value="MEM" id="nummem" onfocus="MS.click()" type="text" size="20">
|
||||
<input name="numrad" value="RAD" id="numrad" onfocus="stupnjevi[0].click()" type="text" size="20">
|
||||
<input name="numdeg" value="DEG" id="numdeg" onfocus="stupnjevi[1].click()" type="text" size="20">
|
||||
<input name="numgrad" value="GRAD" id="numgrad" onfocus="stupnjevi[2].click()" type="text" size="20">
|
||||
<input name="upit" value="Problem" onclick="this.select()" class="upit" type="text" size="20">
|
||||
<input name="rezultat" value="Solution" onclick="this.select()" class="rezultat" type="text" size="20">
|
||||
</div>
|
||||
<div class="zadatak">
|
||||
<input name="zadatak" value="" onkeydown="if (event.keyCode==13) {enter.click()}" class="unos" type="text" size="20">
|
||||
</div>
|
||||
<input name="cls" value="Cls" title="Clear" onclick="memory(3)" class="cls" type="button">
|
||||
<div class="tipkovnica">
|
||||
<input name="sqrt" value="√¯" title="Square root" onclick="izracunaj(3)" class="b11" type="button">
|
||||
<input name="root" value="y√¯x" title="Root" onclick="izracunaj(22)" class="b12" type="button">
|
||||
<input name="ln" value="ln" title="Natural logarithm" onclick="izracunaj(5)" class="b13" type="button">
|
||||
<input name="log" value="log" title="Common logarithm" onclick="izracunaj(8)" class="b14" type="button">
|
||||
<input name="tan" value="tan" title="Tangent" onclick="izracunaj(14)" class="b15" type="button">
|
||||
<input name="atan" value="atan" title="Arc tangent" onclick="izracunaj(10)" class="b16" type="button">
|
||||
<input name="kvadrat" value="x²" title="Square" onclick="izracunaj(2)" class="b21" type="button">
|
||||
<input name="potencija" value="x^y" title="Power" onclick="izracunaj(21)" class="b22" type="button">
|
||||
<input name="aln" value="e^x" title="Natural antilogarithm" onclick="izracunaj(6)" class="b23" type="button">
|
||||
<input name="alog" value="10^x" title="Common antilogarithm" onclick="izracunaj(9)" class="b24" type="button">
|
||||
<input name="cos" value="cos" title="Cosine" onclick="izracunaj(15)" class="b25" type="button">
|
||||
<input name="acos" value="acos" title="Arc cosine" onclick="izracunaj(11)" class="b26" type="button">
|
||||
<input name="sign" value="+/-" title="Sign change" onclick="izracunaj(4)" class="b31" type="button">
|
||||
<input name="1/x" value="1/x" title="Reciprocal" onclick="izracunaj(7)" class="b32" type="button">
|
||||
<input name="fact" value="x!" title="Factorial" onclick="izracunaj(20)" class="b33" type="button">
|
||||
<input name="postotak" value="%" title="Percent" onclick="izracunaj(17)" class="b34" type="button">
|
||||
<input name="sin" value="sin" title="Sine" onclick="izracunaj(16)" class="b35" type="button">
|
||||
<input name="asin" value="asin" title="Arc sine" onclick="izracunaj(12)" class="b36" type="button">
|
||||
<input name="7" value="7" title="Seven" onclick="dodajBroj(7)" class="b41" type="button">
|
||||
<input name="8" value="8" title="Eight" onclick="dodajBroj(8)" class="b42" type="button">
|
||||
<input name="9" value="9" title="Nine" onclick="dodajBroj(9)" class="b43" type="button">
|
||||
<input name="djeljeno" value="÷" title="Division" onclick="dodajBroj('/')" class="b44" type="button">
|
||||
<input name="MS" value="MS" title="Memory store" onclick="memory(1)" class="b45" type="button">
|
||||
<input name="MR" value="MR" title="Memory recall" onclick="memory(2)" class="b46" type="button">
|
||||
<input name="4" value="4" title="Four" onclick="dodajBroj(4)" class="b51" type="button">
|
||||
<input name="5" value="5" title="Five" onclick="dodajBroj(5)" class="b52" type="button">
|
||||
<input name="6" value="6" title="Six" onclick="dodajBroj(6)" class="b53" type="button">
|
||||
<input name="puta" value="×" title="Multiplication" onclick="dodajBroj('*')" class="b54" type="button">
|
||||
<input name="con" value="Constants" title="Physical Constants" onclick="vidi('konstante'); return false;" class="b55" type="button">
|
||||
<input name="1" value="1" title="One" onclick="dodajBroj(1)" class="b61" type="button">
|
||||
<input name="2" value="2" title="Two" onclick="dodajBroj(2)" class="b62" type="button">
|
||||
<input name="3" value="3" title="Three" onclick="dodajBroj(3)" class="b63" type="button">
|
||||
<input name="minus" value="-" title="Subtraction" onclick="dodajBroj('-')" class="b64" type="button">
|
||||
<input name="lijevo" value="(" title="Parentheses" onclick="dodajBroj('(')" class="b65" type="button">
|
||||
<input name="desno" value=")" title="Parentheses" onclick="dodajBroj(')')" class="b66" type="button">
|
||||
<input name="0" value="0" title="Zero" onclick="dodajBroj(0)" class="b71" type="button">
|
||||
<input name="." value="." title="Decimal point" onclick="dodajBroj('.')" class="b72" type="button">
|
||||
<input name="exp" value="exp" title="Exponent" onclick="dodajBroj('e')" class="b73" type="button">
|
||||
<input name="plus" value="+" title="Addition" onclick="dodajBroj('+')" class="b74" type="button">
|
||||
<input name="enter" value="=" title="Calculate" onclick="izracunaj(1)" class="b75" type="button">
|
||||
</div> <!-- END tipkovnica -->
|
||||
<div id="numformat">
|
||||
<p class="formatnaslov">Number formats</p>
|
||||
<div class="formatbr">
|
||||
<div class="automatik">
|
||||
<input name="ascifix" checked="checked" title="Automatic" onclick="scifix(0)" type="radio">
|
||||
<a href="javascript:document.racunalo.ascifix[0].click()" onmouseover="self.status='Automatic'; return true">Auto</a>
|
||||
</div>
|
||||
<div class="scienc">
|
||||
<input name="ascifix" title="Scientific notation" onclick="scifix(1)" type="radio">
|
||||
<a href="javascript:document.racunalo.ascifix[1].click()" onmouseover="self.status='Scientific notation'; return true">Sci</a>
|
||||
</div>
|
||||
<div class="fiksed">
|
||||
<input name="ascifix" title="Fixed number of decimal places" onclick="scifix(2)" type="radio">
|
||||
<a href="javascript:document.racunalo.ascifix[2].click()" onmouseover="self.status='Fixed number of decimal places'; return true">Fix</a>
|
||||
</div>
|
||||
<div class="decnaslov">Decimals</div>
|
||||
<select name="izaZareza" size="1" onchange="numformat(this.selectedIndex)" class="decimal">
|
||||
<option value="0"> 0 </option>
|
||||
<option value="1"> 1 </option>
|
||||
<option value="2"> 2 </option>
|
||||
<option value="3"> 3 </option>
|
||||
<option value="4"> 4 </option>
|
||||
<option value="5"> 5 </option>
|
||||
<option value="6"> 6 </option>
|
||||
<option value="7"> 7 </option>
|
||||
<option value="8"> 8 </option>
|
||||
<option value="9"> 9 </option>
|
||||
<option value="10"> 10 </option>
|
||||
<option value="11"> 11 </option>
|
||||
<option value="12"> 12 </option>
|
||||
<option value="13"> ---- </option>
|
||||
<option value="14" selected="selected"> Auto </option>
|
||||
</select>
|
||||
<div class="separator">
|
||||
<a href="javascript:seplk(1)" onmouseover="self.status='1000 separator'; return true">1000 separator </a>
|
||||
<input id="tisucice" onclick="seplk(0)" type="checkbox" value="ON">
|
||||
</div>
|
||||
</div> <!-- END formatbr -->
|
||||
<div class="rad">
|
||||
<input name="stupnjevi" checked="checked" title="Radians" onclick="raddeg(0)" type="radio">
|
||||
<span class="deg">
|
||||
<a href="javascript:document.racunalo.stupnjevi[0].click()" onmouseover="self.status='Radians'; return true">Rad </a>
|
||||
</span>
|
||||
<input name="stupnjevi" title="Degrees" onclick="raddeg(1)" type="radio">
|
||||
<span class="deg">
|
||||
<a href="javascript:document.racunalo.stupnjevi[1].click()" onmouseover="self.status='Degrees'; return true">Deg </a>
|
||||
</span>
|
||||
<input name="stupnjevi" title="Grads" onclick="raddeg(2)" type="radio">
|
||||
<span class="deg">
|
||||
<a href="javascript:document.racunalo.stupnjevi[2].click()" onmouseover="self.status='Grads'; return true">Grad</a>
|
||||
</span>
|
||||
</div>
|
||||
<input name="close" value="Close" title="Close Form" onclick="memory(4)" class="n4" type="button">
|
||||
<div class="n2copy"><a href="http://www.periodni.com/">Copyright © 2010 by Eni Generalić</a></div>
|
||||
</div> <!-- END numformat -->
|
||||
</div> <!-- END racunalo -->
|
||||
<div id="biljeska">
|
||||
<textarea name="notes" class="tekstarea" rows="1" cols="20">
|
||||
Operations listing:
|
||||
|
||||
</textarea>
|
||||
<input name="mode" value="Mode" title="Number formats" onclick="memory(4)" class="n1" type="button">
|
||||
<input name="select" value="Select All" title="Select All" onclick="document.racunalo.notes.select()" class="n2" type="button">
|
||||
<input name="clear" value="Clear" title="Clear All" onclick="memory(5)" class="n3" type="reset">
|
||||
</div> <!-- END biljeska -->
|
||||
<div id="konstante">
|
||||
<div class="constnaslov"><b>PHYSICAL CONSTANTS</b></div>
|
||||
<div class="const" onclick="dodajConst(-273.15)"><a href="#">Absolute zero<br>-273.15 °C</a></div>
|
||||
<div class="const" onclick="dodajConst(9.80665)"><a href="#">Acceleration of free fall, standard<br>9.80665 m/s<sup>2</sup></a></div>
|
||||
<div class="const" onclick="dodajConst(1.6605402e-27)"><a href="#">Atomic mass unit<br>1.6605402×10<sup>-27</sup> kg</a></div>
|
||||
<div class="const" onclick="dodajConst(6.0221367e23)"><a href="#">Avogadro constant<br>6.0221367×10<sup>23</sup> 1/mol</a></div>
|
||||
<div class="const" onclick="dodajConst(2.718281828)"><a href="#">Base of natural logarithms <br>2.718281828</a></div>
|
||||
<div class="const" onclick="dodajConst(1.380658e-23)"><a href="#">Boltzmann constant<br>1.380658×10<sup>-23</sup> J/K</a></div>
|
||||
<div class="const" onclick="dodajConst(2.81794092e-15)"><a href="#">Classical electron radius<br>2.81794092×10<sup>-15</sup> m</a></div>
|
||||
<div class="const" onclick="dodajConst(9.1093897e-31)"><a href="#">Electron mass<br>9.1093897×10<sup>-31</sup> kg</a></div>
|
||||
<div class="const" onclick="dodajConst(5.44617013e-4)"><a href="#">Electron-proton mass ratio<br>5.44617013×10<sup>-4</sup></a></div>
|
||||
<div class="const" onclick="dodajConst(1.6021892e-19)"><a href="#">Electronvolt<br>1.6021892×10<sup>-19</sup> J</a></div>
|
||||
<div class="const" onclick="dodajConst(1.60217733e-19)"><a href="#">Elementary charge<br>1.60217733×10<sup>-19</sup> C</a></div>
|
||||
<div class="const" onclick="dodajConst(96485.309)"><a href="#">Faraday constant<br>96485.309 C/mol</a></div>
|
||||
<div class="const" onclick="dodajConst(3.7417749e-16)"><a href="#">First radiation constant<br>3.7417749×10<sup>-16</sup> W m<sup>2</sup></a></div>
|
||||
<div class="const" onclick="dodajConst(8.314510)"><a href="#">Molar gas constant<br>8.314510 J/mol K</a></div>
|
||||
<div class="const" onclick="dodajConst(0.02241410)"><a href="#">Molar volume<br>(Ideal gas, <i>T</i> = 273.15 K, <i>p</i> = 101.325 kPa)<br>0.02241410 m<sup>3</sup>/mol</a></div>
|
||||
<div class="const" onclick="dodajConst(6.67259e-11)"><a href="#">Newtonian constant of gravitation<br>6.67259×10<sup>-11</sup> N m<sup>2</sup>/kg<sup>2</sup></a></div>
|
||||
<div class="const" onclick="dodajConst(12.566370614e-7)"><a href="#">Permeability of vacuum<br>12.566370614×10<sup>-7</sup> N/A<sup>2</sup></a></div>
|
||||
<div class="const" onclick="dodajConst(8.854187817e-12)"><a href="#">Permittivity of vacuum<br>8.854187817×10<sup>-12</sup> F/m</a></div>
|
||||
<div class="const" onclick="dodajConst(3.1415926535897932)"><a href="#">PI<br>3.1415926535897932</a></div>
|
||||
<div class="const" onclick="dodajConst(6.6260755e-34)"><a href="#">Planck constants<br>6.6260755×10<sup>-34</sup> J s</a></div>
|
||||
<div class="const" onclick="dodajConst(0.01438769)"><a href="#">Second radiation constant<br>0.01438769 m K</a></div>
|
||||
<div class="const" onclick="dodajConst(1400)"><a href="#">Solar constant<br>1400 W/m<sup>2</sup></a></div>
|
||||
<div class="const" onclick="dodajConst(299792458)"><a href="#">Speed of light in vacuum<br>299792458 m/s</a></div>
|
||||
<div class="const" onclick="dodajConst(340)"><a href="#">Speed of sound in air at STP<br>340 m/s</a></div>
|
||||
<div class="const" onclick="dodajConst(101325)"><a href="#">Standard pressure<br>101325 Pa</a></div>
|
||||
</div> <!-- END konstante -->
|
||||
<input name="oldrezultat" value="" type="hidden">
|
||||
<input name="memorija" value="Memory recall" type="hidden">
|
||||
</form>
|
||||
</div> <!-- END calc4chem -->
|
||||
</div>
|
||||
</body></html>
|
|
@ -0,0 +1,34 @@
|
|||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||
<html><head><title>Calendar Component</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
|
||||
<meta name="description" content="This is the calendar component of the Dock.">
|
||||
<link rel="stylesheet" type="text/css" media="all" href="jsDatePick_ltr.min.css" />
|
||||
<script type="text/javascript" src="jsDatePick.min.1.3.js"></script>
|
||||
<script type="text/javascript">
|
||||
window.onload = function(){
|
||||
g_globalObject = new JsDatePick({
|
||||
useMode:1,
|
||||
isStripped:true,
|
||||
target:"calendar"
|
||||
/*selectedDate:{
|
||||
day:5,
|
||||
month:9,
|
||||
year:2006
|
||||
},
|
||||
yearsRange:[1900,2100],
|
||||
limitToToday:false,
|
||||
cellColorScheme:"beige",
|
||||
dateFormat:"%m-%d-%Y",
|
||||
imgPath:"img/",
|
||||
weekStartDay:1*/
|
||||
});
|
||||
g_globalObject.setOnSelectedDelegate(function(){
|
||||
var obj = g_globalObject.getSelectedDay();
|
||||
});
|
||||
};
|
||||
</script>
|
||||
</head>
|
||||
<body style="background-color: #FFFFFF">
|
||||
<div id="calendar" style="width:205px; height:230px;"></div>
|
||||
</div>
|
||||
</body></html>
|
|
@ -0,0 +1,10 @@
|
|||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||
<html><head><title>Time Component</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
|
||||
<meta name="description" content="This is the time component of the Dock.">
|
||||
</head>
|
||||
<body style="background-color: #008080">
|
||||
<div style="width:117px; height:117px; margin-left:auto; margin-right:auto;">
|
||||
<script type="text/javascript" src="clock_dial.js"></script>
|
||||
</div>
|
||||
</body></html>
|
|
@ -0,0 +1,86 @@
|
|||
<!--
|
||||
ns4 = (navigator.appName.indexOf("Netscape")>=0 && document.layers)? true : false;
|
||||
ie4 = (document.all && !document.getElementById)? true : false;
|
||||
ie5 = (document.all && document.getElementById)? true : false;
|
||||
ns6 = (document.getElementById && navigator.appName.indexOf("Netscape")>=0 )? true: false;
|
||||
var mx=0;
|
||||
var my=0;
|
||||
var outer;
|
||||
var now=new Date();
|
||||
var ringX=new Array();
|
||||
var ringY=new Array();
|
||||
ringX[7]=[80,94,100,94,77,53,28,11,5,11,28,53];
|
||||
ringY[7]=[8,26,50,74,91,97,91,74,50,26,8,2];
|
||||
var hours=new Array();
|
||||
var minutes=new Array();
|
||||
var seconds=new Array();
|
||||
var txt=(ns4)? '<table cellpadding=0 cellspacing=0><tr><td width="117" height="117"><ilayer name="outer" height="117" width="117">' : '<div id="outer" style="position:relative; width:117px; height:117px; visibility:visible">';
|
||||
txt+='<img src="face.gif">';
|
||||
for(i=1;i<=7;i++)txt+=(ns4)? '<layer name="sec'+i+'" top="-100" left="0" bgcolor="black" width="6" height="6"></layer>' : '<div id="sec'+i+'" style="position:absolute; top:-100px; left:-100px; width:6px; height:6px; background-color:black; font-size:6px;"></div>';
|
||||
for(i=1;i<=6;i++)txt+=(ns4)? '<layer name="min'+i+'" top="-100" left="0" bgcolor="blue" width="6" height="6"></layer>' : '<div id="min'+i+'" style="position:absolute; top:-100px; left:-100px; width:6px; height:6px; background-color:blue; font-size:6px;"></div>';
|
||||
for(i=1;i<=5;i++)txt+=(ns4)? '<layer name="hrs'+i+'" top="-100" left="0" bgcolor="red" width="6" height="6"></layer>' : '<div id="hrs'+i+'" style="position:absolute; top:-100px; left:-100px; width:6px; height:6px; background-color:red; font-size:6px;"></div>';
|
||||
txt+=(ns4)? '</ilayer></td></tr></table>' : '</div>';
|
||||
document.write(txt);
|
||||
function runclock(){
|
||||
now=new Date();
|
||||
now.hrs=now.getHours();
|
||||
now.min=now.getMinutes();
|
||||
now.sec=now.getSeconds();
|
||||
if(now.hrs==12)now.hrs=0;
|
||||
now.hrs=(now.hrs>12)? now.hrs-12 : now.hrs;
|
||||
now.hrs=Math.floor((now.hrs*5)+(now.min/12));
|
||||
for(n=0;n<hours.length;n++)moveid(hours[n], ringX[n][now.hrs], ringY[n][now.hrs]);
|
||||
for(n=0;n<minutes.length;n++)moveid(minutes[n], ringX[n][now.min], ringY[n][now.min]);
|
||||
for(n=0;n<seconds.length;n++)moveid(seconds[n], ringX[n][now.sec], ringY[n][now.sec]);
|
||||
}
|
||||
function moveid(id,x,y){
|
||||
if(ns4)id.moveTo(x,y);
|
||||
else{
|
||||
id.style.left=x+'px';
|
||||
id.style.top=y+'px';
|
||||
}}
|
||||
// FUNCTION TO FIND NESTED LAYERS IN NS4 BY MIKE HALL
|
||||
function findlayer(name,doc){
|
||||
var i,layer;
|
||||
for(i=0;i<doc.layers.length;i++){
|
||||
layer=doc.layers[i];
|
||||
if(layer.name==name)return layer;
|
||||
if(layer.document.layers.length>0)if((layer=findlayer(name,layer.document))!=null)return layer;
|
||||
}
|
||||
return null;
|
||||
}
|
||||
function getid(idstr){
|
||||
if(ns4) return findlayer(idstr, document);
|
||||
if(ie4) return document.all[idstr];
|
||||
else return document.getElementById(idstr);
|
||||
}
|
||||
window.onload=function(){
|
||||
for(i=1;i<=5;i++)hours[i-1]=getid('hrs'+i);
|
||||
for(i=1;i<=6;i++)minutes[i-1]=getid('min'+i);
|
||||
for(i=1;i<=7;i++)seconds[i-1]=getid('sec'+i);
|
||||
outer=getid('outer');
|
||||
var cnt=[0];
|
||||
var radius=6;
|
||||
var result=new Array();
|
||||
for(i=1;i<=60;i++){
|
||||
cnt[i]=cnt[i-1]+((Math.PI*2)/60);
|
||||
cnt[i-1]+=Math.PI/180;
|
||||
}
|
||||
for(num=0;num<=6;num++){
|
||||
ringX[num]=new Array();
|
||||
ringY[num]=new Array();
|
||||
for(i=1;i<=60;i++){
|
||||
result=((i-15)<0)? 60+i-15 : i-15;
|
||||
ringX[num][i]=Math.floor((num*radius*Math.cos(cnt[result]))+56);
|
||||
ringY[num][i]=Math.floor((num*radius*Math.sin(cnt[result]))+55);
|
||||
}
|
||||
ringX[num][0]=ringX[num][60];
|
||||
ringY[num][0]=ringY[num][60];
|
||||
}
|
||||
setInterval('runclock()',100);
|
||||
}
|
||||
|
||||
window.onresize=function(){
|
||||
if(ns4)setTimeout('history.go(0)',300);
|
||||
}
|
||||
//-->
|
|
@ -0,0 +1,86 @@
|
|||
<!--
|
||||
ns4 = (navigator.appName.indexOf("Netscape")>=0 && document.layers)? true : false;
|
||||
ie4 = (document.all && !document.getElementById)? true : false;
|
||||
ie5 = (document.all && document.getElementById)? true : false;
|
||||
ns6 = (document.getElementById && navigator.appName.indexOf("Netscape")>=0 )? true: false;
|
||||
var mx=0;
|
||||
var my=0;
|
||||
var outer;
|
||||
var now=new Date();
|
||||
var ringX=new Array();
|
||||
var ringY=new Array();
|
||||
ringX[7]=[80,94,100,94,77,53,28,11,5,11,28,53];
|
||||
ringY[7]=[8,26,50,74,91,97,91,74,50,26,8,2];
|
||||
var hours=new Array();
|
||||
var minutes=new Array();
|
||||
var seconds=new Array();
|
||||
var txt=(ns4)? '<table cellpadding=0 cellspacing=0><tr><td width="117" height="117"><ilayer name="outer" height="117" width="117">' : '<div id="outer" style="position:relative; width:117px; height:117px; visibility:visible">';
|
||||
txt+='<img src="face.gif">';
|
||||
for(i=1;i<=7;i++)txt+=(ns4)? '<layer name="sec'+i+'" top="-100" left="0" bgcolor="black" width="6" height="6"></layer>' : '<div id="sec'+i+'" style="position:absolute; top:-100px; left:-100px; width:6px; height:6px; background-color:black; font-size:6px;"></div>';
|
||||
for(i=1;i<=6;i++)txt+=(ns4)? '<layer name="min'+i+'" top="-100" left="0" bgcolor="blue" width="6" height="6"></layer>' : '<div id="min'+i+'" style="position:absolute; top:-100px; left:-100px; width:6px; height:6px; background-color:blue; font-size:6px;"></div>';
|
||||
for(i=1;i<=5;i++)txt+=(ns4)? '<layer name="hrs'+i+'" top="-100" left="0" bgcolor="red" width="6" height="6"></layer>' : '<div id="hrs'+i+'" style="position:absolute; top:-100px; left:-100px; width:6px; height:6px; background-color:red; font-size:6px;"></div>';
|
||||
txt+=(ns4)? '</ilayer></td></tr></table>' : '</div>';
|
||||
document.write(txt);
|
||||
function runclock(){
|
||||
now=new Date();
|
||||
now.hrs=now.getHours();
|
||||
now.min=now.getMinutes();
|
||||
now.sec=now.getSeconds();
|
||||
if(now.hrs==12)now.hrs=0;
|
||||
now.hrs=(now.hrs>12)? now.hrs-12 : now.hrs;
|
||||
now.hrs=Math.floor((now.hrs*5)+(now.min/12));
|
||||
for(n=0;n<hours.length;n++)moveid(hours[n], ringX[n][now.hrs], ringY[n][now.hrs]);
|
||||
for(n=0;n<minutes.length;n++)moveid(minutes[n], ringX[n][now.min], ringY[n][now.min]);
|
||||
for(n=0;n<seconds.length;n++)moveid(seconds[n], ringX[n][now.sec], ringY[n][now.sec]);
|
||||
}
|
||||
function moveid(id,x,y){
|
||||
if(ns4)id.moveTo(x,y);
|
||||
else{
|
||||
id.style.left=x+'px';
|
||||
id.style.top=y+'px';
|
||||
}}
|
||||
// FUNCTION TO FIND NESTED LAYERS IN NS4 BY MIKE HALL
|
||||
function findlayer(name,doc){
|
||||
var i,layer;
|
||||
for(i=0;i<doc.layers.length;i++){
|
||||
layer=doc.layers[i];
|
||||
if(layer.name==name)return layer;
|
||||
if(layer.document.layers.length>0)if((layer=findlayer(name,layer.document))!=null)return layer;
|
||||
}
|
||||
return null;
|
||||
}
|
||||
function getid(idstr){
|
||||
if(ns4) return findlayer(idstr, document);
|
||||
if(ie4) return document.all[idstr];
|
||||
else return document.getElementById(idstr);
|
||||
}
|
||||
window.onload=function(){
|
||||
for(i=1;i<=5;i++)hours[i-1]=getid('hrs'+i);
|
||||
for(i=1;i<=6;i++)minutes[i-1]=getid('min'+i);
|
||||
for(i=1;i<=7;i++)seconds[i-1]=getid('sec'+i);
|
||||
outer=getid('outer');
|
||||
var cnt=[0];
|
||||
var radius=6;
|
||||
var result=new Array();
|
||||
for(i=1;i<=60;i++){
|
||||
cnt[i]=cnt[i-1]+((Math.PI*2)/60);
|
||||
cnt[i-1]+=Math.PI/180;
|
||||
}
|
||||
for(num=0;num<=6;num++){
|
||||
ringX[num]=new Array();
|
||||
ringY[num]=new Array();
|
||||
for(i=1;i<=60;i++){
|
||||
result=((i-15)<0)? 60+i-15 : i-15;
|
||||
ringX[num][i]=Math.floor((num*radius*Math.cos(cnt[result]))+56);
|
||||
ringY[num][i]=Math.floor((num*radius*Math.sin(cnt[result]))+55);
|
||||
}
|
||||
ringX[num][0]=ringX[num][60];
|
||||
ringY[num][0]=ringY[num][60];
|
||||
}
|
||||
setInterval('runclock()',100);
|
||||
}
|
||||
|
||||
window.onresize=function(){
|
||||
if(ns4)setTimeout('history.go(0)',300);
|
||||
}
|
||||
//-->
|
After Width: | Height: | Size: 1.5 KiB |
After Width: | Height: | Size: 150 B |
After Width: | Height: | Size: 150 B |
After Width: | Height: | Size: 150 B |
After Width: | Height: | Size: 150 B |
After Width: | Height: | Size: 150 B |
After Width: | Height: | Size: 150 B |
After Width: | Height: | Size: 150 B |
After Width: | Height: | Size: 150 B |
After Width: | Height: | Size: 150 B |
After Width: | Height: | Size: 150 B |
After Width: | Height: | Size: 148 B |
After Width: | Height: | Size: 150 B |
After Width: | Height: | Size: 2.8 KiB |
After Width: | Height: | Size: 2.8 KiB |
After Width: | Height: | Size: 49 B |
After Width: | Height: | Size: 2.7 KiB |
After Width: | Height: | Size: 2.8 KiB |
After Width: | Height: | Size: 62 B |
After Width: | Height: | Size: 2.7 KiB |
After Width: | Height: | Size: 2.9 KiB |
After Width: | Height: | Size: 616 B |
After Width: | Height: | Size: 398 B |
After Width: | Height: | Size: 406 B |
After Width: | Height: | Size: 150 B |
After Width: | Height: | Size: 150 B |
After Width: | Height: | Size: 150 B |
After Width: | Height: | Size: 150 B |
After Width: | Height: | Size: 150 B |
After Width: | Height: | Size: 150 B |
After Width: | Height: | Size: 150 B |
After Width: | Height: | Size: 150 B |
After Width: | Height: | Size: 150 B |
After Width: | Height: | Size: 648 B |
After Width: | Height: | Size: 649 B |
After Width: | Height: | Size: 642 B |
After Width: | Height: | Size: 646 B |
After Width: | Height: | Size: 648 B |
After Width: | Height: | Size: 642 B |
After Width: | Height: | Size: 150 B |
After Width: | Height: | Size: 150 B |
After Width: | Height: | Size: 150 B |
After Width: | Height: | Size: 150 B |
After Width: | Height: | Size: 150 B |
After Width: | Height: | Size: 150 B |
After Width: | Height: | Size: 150 B |
After Width: | Height: | Size: 150 B |
After Width: | Height: | Size: 150 B |
After Width: | Height: | Size: 150 B |
After Width: | Height: | Size: 150 B |
After Width: | Height: | Size: 150 B |
After Width: | Height: | Size: 150 B |
After Width: | Height: | Size: 150 B |
After Width: | Height: | Size: 150 B |
After Width: | Height: | Size: 150 B |
After Width: | Height: | Size: 150 B |
After Width: | Height: | Size: 150 B |
After Width: | Height: | Size: 657 B |
After Width: | Height: | Size: 658 B |
After Width: | Height: | Size: 651 B |
After Width: | Height: | Size: 658 B |
After Width: | Height: | Size: 659 B |
After Width: | Height: | Size: 653 B |
|
@ -0,0 +1,12 @@
|
|||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||
<html><head><title>Clock</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
|
||||
<meta name="description" content="This window displays a current calendar, as well as a continuously-updated clock.">
|
||||
</head>
|
||||
<body style="background-color: #008080">
|
||||
<div style="text-align:center; width:170pt; height:110pt;">
|
||||
<iframe src="clock.html" width="165" height="140" frameborder="0" scrolling="no"></iframe></div>
|
||||
<div style="text-align:center; width:165pt; height:35pt;"><script type="text/javascript" src="../desktop/js/clock.js"></script><span id="clockbox" style="font-weight: bold;"></span></div>
|
||||
<div style="text-align:center; width:165pt; height:187pt; border:3px double; border-collapse: collapse;">
|
||||
<iframe src="cal.html" width="220" height="250" frameborder="0" scrolling="no"></iframe></div>
|
||||
</body></html>
|
|
@ -0,0 +1,107 @@
|
|||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||
<head>
|
||||
<title>BrowzOS</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
|
||||
<meta name="description" content="BrowzOS consists of sevearl JavaScrip components, all behaving like an actual operating system.">
|
||||
<script type="text/javascript" src="desktop/js/jquery.js"></script>
|
||||
<script type="text/javascript" src="desktop/js/interface.js"></script>
|
||||
<script type="text/javascript" src="desktop/js/drag.js"></script>
|
||||
<script type="text/javascript">
|
||||
function disp_alert()
|
||||
{alert("BrowzOS © 2008-2011 by TechEmporium. All rights reserved." + '\n' + '\n' + '\t' + "This software is in the public domain." + '\n');}
|
||||
</script>
|
||||
<script type="text/javascript">
|
||||
window.moveTo(0,0);
|
||||
window.resizeTo(screen.availWidth,screen.availHeight);
|
||||
</script>
|
||||
<!--[if IE]>
|
||||
<style type="text/css">
|
||||
img {behavior: url(desktop/desk_png.htc);}
|
||||
</style>
|
||||
<![endif]-->
|
||||
<link href="desktop/style.css" rel="stylesheet" type="text/css">
|
||||
</head>
|
||||
<body>
|
||||
<!--bottom dock -->
|
||||
<div class="dock" id="dock2">
|
||||
<div class="dock-container2">
|
||||
<a class="dock-item2" href="#" onclick="window.open('rte/','_blank','width=screen.width,height=450,scrollbars=0,status=0,menubar=0,toolbar=0,top=20,left=0,resizable=0'); return false;"><span>Word Processor</span><img src="desktop/dock/wproc.gif" alt="rte"></a>
|
||||
<a class="dock-item2" href="#" onclick="window.open('sprdsht/index_offline.html','_blank','width=screen.width,height=450,scrollbars=0,status=0,menubar=0,toolbar=0,top=30,left=0,resizable=0'); return false;"><span>Spreadsheet</span><img src="desktop/dock/sprdsht.gif" alt="sprdsht"></a>
|
||||
<a class="dock-item2" href="#" onclick="window.open('calc/','_blank','width=550,height=410,scrollbars=0,status=0,menubar=0,toolbar=0,top=100,left=100,resizable=0'); return false;"><span>Scientific Calculator</span><img src="desktop/dock/calc.gif" alt="calc"></a>
|
||||
<a class="dock-item2" href="#" onclick="window.open('web/','_blank','width=screen.width,height=350,scrollbars=1,status=1,menubar=1,toolbar=1,location=1,top=10,left=0,resizable=1'); return false;"><span>Web Browser</span><img src="desktop/dock/inet.gif" alt="inet"></a>
|
||||
<a class="dock-item2" href="#" onclick="window.open('instmess/index_offline.html','_blank','width=550,height=200,scrollbars=0,status=0,menubar=0,toolbar=0,top=60,left=60,resizable=0'); return false;"><span>Instant Messenger</span><img src="desktop/dock/chat.gif" alt="chat"></a>
|
||||
<a class="dock-item2" href="#" onclick="window.open('games/','_blank','width=675,height=410,scrollbars=0,status=0,menubar=0,toolbar=1,top=50,left=100,resizable=0'); return false;"><span>Games</span><img src="desktop/dock/games.gif" alt="games"></a>
|
||||
<a class="dock-item2" href="#" onclick="window.open('media/','_blank','width=450,height=410,scrollbars=0,status=0,menubar=0,toolbar=0,top=100,left=200,resizable=0'); return false;"><span>Media Player</span><img src="desktop/dock/media.gif" alt="media"></a>
|
||||
<a class="dock-item2" href="#" onclick="window.open('bzcmd/','_blank','width=800,height=450,scrollbars=0,status=0,menubar=0,toolbar=0,top=50,left=50,resizable=0'); return false;"><span>Command Line</span><img src="desktop/dock/term.gif" alt="term"></a>
|
||||
<a class="dock-item2" href="#" onclick="window.open('sample_app/','_blank','width=800,height=450,scrollbars=0,status=0,menubar=0,toolbar=0,top=50,left=50,resizable=0'); return false;"><span>Sample "Application"</span><img src="desktop/dock/sample.gif" alt="sample"></a>
|
||||
<a class="dock-item2" href="#" onclick="window.open('help_offline/','_blank','width=800,height=450,scrollbars=1,status=0,menubar=0,toolbar=1,top=0,left=100,resizable=0'); return false;"><span>Help</span><img src="desktop/dock/help.gif" alt="help"></a>
|
||||
<a class="dock-item2" href="#" onclick="window.open('forum/','_blank','width=600,height=300,scrollbars=1,status=0,menubar=0,toolbar=0,top=70,left=50,resizable=0'); return false;"><span>Forum</span><img src="desktop/dock/forum.gif" alt="forum"></a>
|
||||
<a class="dock-item2" href="#" onclick="window.open('clock/','_blank','width=245,height=475,scrollbars=0,status=0,menubar=0,toolbar=0,top=30,left=30,resizable=0'); return false;"><script type="text/javascript" src="desktop/js/clock.js"></script><span id="clockbox"></span><img src="desktop/dock/time.gif" alt="time"></a>
|
||||
<a class="dock-item2" href="#" onclick="disp_alert()"><span>About BrowzOS</span><img src="desktop/dock/info.gif" alt="info"></a>
|
||||
</div>
|
||||
</div>
|
||||
<!--dock menu JS options -->
|
||||
<script type="text/javascript">
|
||||
$(document).ready(
|
||||
function()
|
||||
{
|
||||
$('#dock2').Fisheye(
|
||||
{
|
||||
maxWidth: 75,
|
||||
items: 'a',
|
||||
itemsText: 'span',
|
||||
container: '.dock-container2',
|
||||
itemWidth: 50,
|
||||
proximity: 80,
|
||||
alignment : 'left',
|
||||
valign: 'bottom',
|
||||
halign : 'center'
|
||||
})});</script>
|
||||
<div id="i2" style="position:absolute; top:30px; left:200px; width:32px; height:32px;">
|
||||
<dl>
|
||||
<dt><img src="desktop/drag/wproc.gif" width="48" height="48" align="left" alt="wproc"></dt>
|
||||
<dt><font size="2"><a href="#" onclick="window.open('rte/','_blank','width=screen.width,height=450,scrollbars=0,status=0,menubar=0,toolbar=0,top=20,left=0,resizable=0'); return false;">Word Processor</a></font></dt>
|
||||
</dl>
|
||||
</div>
|
||||
<div id="i3" style="position:absolute; top:30px; left:450px; width:96px; height:51px;">
|
||||
<dl>
|
||||
<dt><img src="desktop/drag/sprdsht.gif" width="48" height="48" align="left" alt="spreadsheet"></dt>
|
||||
<dt><font size="2"><a href="#" onclick="window.open('sprdsht/index_offline.html','_blank','width=screen.width,height=450,scrollbars=0,status=0,menubar=0,toolbar=0,top=30,left=0,resizable=0'); return false;">Spreadsheet</a></font></dt>
|
||||
</dl>
|
||||
</div>
|
||||
<div id="i4" style="position:absolute; top:30px; left:700px; width:32px; height:32px;">
|
||||
<dl>
|
||||
<dt><img src="desktop/drag/calc.gif" width="48" height="48" align="left" alt="calc"></dt>
|
||||
<dt><font size="2"><a href="#" onclick="window.open('calc/','_blank','width=550,height=410,scrollbars=0,status=0,menubar=0,toolbar=0,top=100,left=100,resizable=0'); return false;">Scientific Calculator</a></font></dt>
|
||||
</dl>
|
||||
</div>
|
||||
<div id="i5" style="position:absolute; top:130px; left:200px; width:32px; height:32px;">
|
||||
<dl>
|
||||
<dt><img src="desktop/drag/inet.gif" width="48" height="48" align="left" alt="inet"></dt>
|
||||
<dt><font size="2"><a href="#" onclick="window.open('web/','_blank','width=screen.width,height=350,scrollbars=1,status=1,menubar=1,toolbar=1,location=1,top=10,left=0,resizable=1'); return false;">Web Browser</a></font></dt>
|
||||
</dl>
|
||||
</div>
|
||||
<div id="i6" style="position:absolute; top:130px; left:450px; width:32px; height:32px;">
|
||||
<dl>
|
||||
<dt><img src="desktop/drag/chat.gif" width="48" height="48" align="left" alt="chat"></dt>
|
||||
<dt><font size="2"><a href="#" onclick="window.open('instmess/index_offline.html','_blank','width=550,height=200,scrollbars=0,status=0,menubar=0,toolbar=0,top=60,left=60,resizable=0'); return false;">Instant Messenger</a></font></dt>
|
||||
</dl>
|
||||
</div>
|
||||
<div id="i7" style="position:absolute; top:130px; left:700px; width:32px; height:32px;">
|
||||
<dl>
|
||||
<dt><img src="desktop/drag/media.gif" width="48" height="48" align="left" alt="vid"></dt>
|
||||
<dt><font size="2"><a href="#" onclick="window.open('media/','_blank','width=450,height=410,scrollbars=0,status=0,menubar=0,toolbar=0,top=100,left=200,resizable=0'); return false;">Media Player</a></font></dt>
|
||||
</dl>
|
||||
</div>
|
||||
<table style="border-collapse: collapse;" summary="layout" id="table2" cellpadding="0" width="100%">
|
||||
<tr>
|
||||
<td width="100%" style="border-left-style: none; border-left-width: medium; border-top-style: none; border-top-width: medium; border-bottom-style: none; border-bottom-width: medium" height="80%">
|
||||
<script type="text/javascript">
|
||||
new dragElement('i2');
|
||||
new dragElement('i3');
|
||||
new dragElement('i4');
|
||||
new dragElement('i5');
|
||||
new dragElement('i6');
|
||||
new dragElement('i7');
|
||||
</script>
|
||||
</td></tr></table></body></html>
|
|
@ -0,0 +1,109 @@
|
|||
<?php include("desktop/login.php"); ?>
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||
<head>
|
||||
<title>BrowzOS</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
|
||||
<meta name="description" content="BrowzOS consists of sevearl JavaScrip components, all behaving like an actual operating system.">
|
||||
<script type="text/javascript" src="desktop/js/jquery.js"></script>
|
||||
<script type="text/javascript" src="desktop/js/interface.js"></script>
|
||||
<script type="text/javascript" src="desktop/js/drag.js"></script>
|
||||
<script type="text/javascript">
|
||||
function disp_alert()
|
||||
{alert("BrowzOS © 2008-2011 by TechEmporium. All rights reserved." + '\n' + '\n' + '\t' + "This software is in the public domain." + '\n');}
|
||||
</script>
|
||||
<script type="text/javascript">
|
||||
window.moveTo(0,0);
|
||||
window.resizeTo(screen.availWidth,screen.availHeight);
|
||||
</script>
|
||||
<!--[if IE]>
|
||||
<style type="text/css">
|
||||
img {behavior: url(desktop/desk_png.htc);}
|
||||
</style>
|
||||
<![endif]-->
|
||||
<link href="desktop/style.css" rel="stylesheet" type="text/css">
|
||||
</head>
|
||||
<body>
|
||||
<!--bottom dock -->
|
||||
<div class="dock" id="dock2">
|
||||
<div class="dock-container2">
|
||||
<a class="dock-item2" href="#" onclick="window.open('rte/','_blank','width=screen.width,height=450,scrollbars=0,status=0,menubar=0,toolbar=0,top=20,left=0,resizable=0'); return false;"><span>Word Processor</span><img src="desktop/dock/wproc.gif" alt="rte"></a>
|
||||
<a class="dock-item2" href="#" onclick="window.open('sprdsht/index_offline.html','_blank','width=screen.width,height=450,scrollbars=0,status=0,menubar=0,toolbar=0,top=30,left=0,resizable=0'); return false;"><span>Spreadsheet</span><img src="desktop/dock/sprdsht.gif" alt="sprdsht"></a>
|
||||
<a class="dock-item2" href="#" onclick="window.open('calc/','_blank','width=550,height=410,scrollbars=0,status=0,menubar=0,toolbar=0,top=100,left=100,resizable=0'); return false;"><span>Scientific Calculator</span><img src="desktop/dock/calc.gif" alt="calc"></a>
|
||||
<a class="dock-item2" href="#" onclick="window.open('web/','_blank','width=screen.width,height=350,scrollbars=1,status=1,menubar=1,toolbar=1,location=1,top=10,left=0,resizable=1'); return false;"><span>Web Browser</span><img src="desktop/dock/inet.gif" alt="inet"></a>
|
||||
<a class="dock-item2" href="#" onclick="window.open('instmess/index_offline.html','_blank','width=550,height=200,scrollbars=0,status=0,menubar=0,toolbar=0,top=60,left=60,resizable=0'); return false;"><span>Instant Messenger</span><img src="desktop/dock/chat.gif" alt="chat"></a>
|
||||
<a class="dock-item2" href="#" onclick="window.open('games/','_blank','width=675,height=410,scrollbars=0,status=0,menubar=0,toolbar=1,top=50,left=100,resizable=0'); return false;"><span>Games</span><img src="desktop/dock/games.gif" alt="games"></a>
|
||||
<a class="dock-item2" href="#" onclick="window.open('media/','_blank','width=450,height=410,scrollbars=0,status=0,menubar=0,toolbar=0,top=100,left=200,resizable=0'); return false;"><span>Media Player</span><img src="desktop/dock/media.gif" alt="media"></a>
|
||||
<a class="dock-item2" href="#" onclick="window.open('bzcmd/','_blank','width=800,height=450,scrollbars=0,status=0,menubar=0,toolbar=0,top=50,left=50,resizable=0'); return false;"><span>Command Line</span><img src="desktop/dock/term.gif" alt="term"></a>
|
||||
<a class="dock-item2" href="#" onclick="window.open('sample_app/','_blank','width=800,height=450,scrollbars=0,status=0,menubar=0,toolbar=0,top=50,left=50,resizable=0'); return false;"><span>Sample "Application"</span><img src="desktop/dock/sample.gif" alt="sample"></a>
|
||||
<a class="dock-item2" href="#" onclick="window.open('help_offline/','_blank','width=800,height=450,scrollbars=1,status=0,menubar=0,toolbar=1,top=0,left=100,resizable=0'); return false;"><span>Help</span><img src="desktop/dock/help.gif" alt="help"></a>
|
||||
<a class="dock-item2" href="#" onclick="window.open('forum/','_blank','width=600,height=300,scrollbars=1,status=0,menubar=0,toolbar=0,top=70,left=50,resizable=0'); return false;"><span>Forum</span><img src="desktop/dock/forum.gif" alt="forum"></a>
|
||||
<a class="dock-item2" href="#" onclick="window.open('clock/','_blank','width=245,height=475,scrollbars=0,status=0,menubar=0,toolbar=0,top=30,left=30,resizable=0'); return false;"><script type="text/javascript" src="desktop/js/clock.js"></script><span id="clockbox"></span><img src="desktop/dock/time.gif" alt="time"></a>
|
||||
<a class="dock-item2" href="#" onclick="disp_alert()"><span>About BrowzOS</span><img src="desktop/dock/info.gif" alt="info"></a>
|
||||
<a class="dock-item2" href="desktop.php?logout=1"><span>Log Off</span><img src="desktop/dock/logout.gif" alt="info"></a>
|
||||
</div>
|
||||
</div>
|
||||
<!--dock menu JS options -->
|
||||
<script type="text/javascript">
|
||||
$(document).ready(
|
||||
function()
|
||||
{
|
||||
$('#dock2').Fisheye(
|
||||
{
|
||||
maxWidth: 75,
|
||||
items: 'a',
|
||||
itemsText: 'span',
|
||||
container: '.dock-container2',
|
||||
itemWidth: 50,
|
||||
proximity: 80,
|
||||
alignment : 'left',
|
||||
valign: 'bottom',
|
||||
halign : 'center'
|
||||
})});</script>
|
||||
<div id="i2" style="position:absolute; top:30px; left:200px; width:32px; height:32px;">
|
||||
<dl>
|
||||
<dt><img src="desktop/drag/wproc.gif" width="48" height="48" align="left" alt="wproc"></dt>
|
||||
<dt><font size="2"><a href="#" onclick="window.open('rte/','_blank','width=screen.width,height=450,scrollbars=0,status=0,menubar=0,toolbar=0,top=20,left=0,resizable=0'); return false;">Word Processor</a></font></dt>
|
||||
</dl>
|
||||
</div>
|
||||
<div id="i3" style="position:absolute; top:30px; left:450px; width:96px; height:51px;">
|
||||
<dl>
|
||||
<dt><img src="desktop/drag/sprdsht.gif" width="48" height="48" align="left" alt="spreadsheet"></dt>
|
||||
<dt><font size="2"><a href="#" onclick="window.open('sprdsht/index_offline.html','_blank','width=screen.width,height=450,scrollbars=0,status=0,menubar=0,toolbar=0,top=30,left=0,resizable=0'); return false;">Spreadsheet</a></font></dt>
|
||||
</dl>
|
||||
</div>
|
||||
<div id="i4" style="position:absolute; top:30px; left:700px; width:32px; height:32px;">
|
||||
<dl>
|
||||
<dt><img src="desktop/drag/calc.gif" width="48" height="48" align="left" alt="calc"></dt>
|
||||
<dt><font size="2"><a href="#" onclick="window.open('calc/','_blank','width=550,height=410,scrollbars=0,status=0,menubar=0,toolbar=0,top=100,left=100,resizable=0'); return false;">Scientific Calculator</a></font></dt>
|
||||
</dl>
|
||||
</div>
|
||||
<div id="i5" style="position:absolute; top:130px; left:200px; width:32px; height:32px;">
|
||||
<dl>
|
||||
<dt><img src="desktop/drag/inet.gif" width="48" height="48" align="left" alt="inet"></dt>
|
||||
<dt><font size="2"><a href="#" onclick="window.open('web/','_blank','width=screen.width,height=350,scrollbars=1,status=1,menubar=1,toolbar=1,location=1,top=10,left=0,resizable=1'); return false;">Web Browser</a></font></dt>
|
||||
</dl>
|
||||
</div>
|
||||
<div id="i6" style="position:absolute; top:130px; left:450px; width:32px; height:32px;">
|
||||
<dl>
|
||||
<dt><img src="desktop/drag/chat.gif" width="48" height="48" align="left" alt="chat"></dt>
|
||||
<dt><font size="2"><a href="#" onclick="window.open('instmess/index_offline.html','_blank','width=550,height=200,scrollbars=0,status=0,menubar=0,toolbar=0,top=60,left=60,resizable=0'); return false;">Instant Messenger</a></font></dt>
|
||||
</dl>
|
||||
</div>
|
||||
<div id="i7" style="position:absolute; top:130px; left:700px; width:32px; height:32px;">
|
||||
<dl>
|
||||
<dt><img src="desktop/drag/media.gif" width="48" height="48" align="left" alt="vid"></dt>
|
||||
<dt><font size="2"><a href="#" onclick="window.open('media/','_blank','width=450,height=410,scrollbars=0,status=0,menubar=0,toolbar=0,top=100,left=200,resizable=0'); return false;">Media Player</a></font></dt>
|
||||
</dl>
|
||||
</div>
|
||||
<table style="border-collapse: collapse;" summary="layout" id="table2" cellpadding="0" width="100%">
|
||||
<tr>
|
||||
<td width="100%" style="border-left-style: none; border-left-width: medium; border-top-style: none; border-top-width: medium; border-bottom-style: none; border-bottom-width: medium" height="80%">
|
||||
<script type="text/javascript">
|
||||
new dragElement('i2');
|
||||
new dragElement('i3');
|
||||
new dragElement('i4');
|
||||
new dragElement('i5');
|
||||
new dragElement('i6');
|
||||
new dragElement('i7');
|
||||
</script>
|
||||
</td></tr></table></body></html>
|
|
@ -0,0 +1,103 @@
|
|||
<public:component>
|
||||
<public:attach event="onpropertychange" onevent="iePNGFix(0)" />
|
||||
|
||||
<script type="text/javascript">
|
||||
|
||||
// IE5.5+ PNG Alpha Fix v1.0
|
||||
// (c) 2004-2008 Angus Turnbull http://www.twinhelix.com
|
||||
|
||||
// This is licensed under the GNU LGPL, version 2.1 or later.
|
||||
// For details, see: http://creativecommons.org/licenses/LGPL/2.1/
|
||||
|
||||
|
||||
// This must be a path to a blank image, relative to the HTML document(s).
|
||||
// In production use I suggest '/images/spacer.png' or similar. That's all!
|
||||
if (typeof blankImg == 'undefined') var blankImg = '../desktop/spacer.png';
|
||||
|
||||
|
||||
|
||||
function filt(s, b)
|
||||
{
|
||||
var f = 'DXImageTransform.Microsoft.AlphaImageLoader';
|
||||
var sM = (currentStyle.backgroundRepeat == 'no-repeat') ? 'crop' : 'scale';
|
||||
s = (s || '').replace(/\(/g, '%28').replace(/\)/g, '%29');
|
||||
|
||||
if (s && !(/IMG|INPUT/.test(nodeName) && !b) &&
|
||||
currentStyle.width == 'auto' && currentStyle.height == 'auto')
|
||||
{
|
||||
style.width = offsetWidth + 'px';
|
||||
style.height = clientHeight + 'px';
|
||||
if (currentStyle.display == 'inline') style.display = 'inline-block';
|
||||
}
|
||||
|
||||
if (filters[f])
|
||||
{
|
||||
filters[f].enabled = s ? true : false;
|
||||
if (s) with (filters[f]) { src = s }
|
||||
}
|
||||
else if (s) style.filter = 'progid:'+f+'(src="'+s+'",sizingMethod="' + sM + '")';
|
||||
}
|
||||
|
||||
function iePNGFix(init)
|
||||
{
|
||||
if (!/MSIE (5\.5|6)/.test(navigator.userAgent) || typeof filters == 'unknown') return;
|
||||
var evt = init ? { propertyName: 'src,background' } : event;
|
||||
var isSrc = /src/.test(evt.propertyName);
|
||||
var isBg = /background/.test(evt.propertyName);
|
||||
var isClass = !init &&
|
||||
((this.className != this._png_class) && (this.className || this._png_class));
|
||||
if (!(isSrc || isBg || isClass)) return;
|
||||
this._png_class = this.className;
|
||||
var blank = blankImg.match(/([^\/]+)$/)[1];
|
||||
|
||||
// Required for Whatever:hover support - erase any set BG if className changes.
|
||||
if (isClass && ((style.backgroundImage.indexOf('url(') == -1) ||
|
||||
(style.backgroundImage.indexOf(blank) > -1)))
|
||||
{
|
||||
setTimeout(function() { this.style.backgroundImage = '' }, 0);
|
||||
return;
|
||||
}
|
||||
|
||||
if (isSrc && this.src && /IMG|INPUT/.test(nodeName))
|
||||
{
|
||||
if ((/\.png/i).test(src))
|
||||
{
|
||||
filt(src, 1);
|
||||
src = blankImg;
|
||||
}
|
||||
else if (src.indexOf(blank) == -1) filt();
|
||||
}
|
||||
|
||||
var bgSrc = currentStyle.backgroundImage || style.backgroundImage;
|
||||
if ((bgSrc + this.src).indexOf(blank) == -1)
|
||||
{
|
||||
var bgPNG = bgSrc.match(/^url[("']+(.*\.png[^\)"']*)[\)"']+[^\)]*$/i);
|
||||
|
||||
if (bgPNG)
|
||||
{
|
||||
style.backgroundImage = 'url("' + blankImg + '")';
|
||||
filt(bgPNG[1], 0);
|
||||
// Unclickable elements inside PNG backgrounds.
|
||||
var tags = ['a', 'input', 'select', 'textarea', 'iframe', 'object'],
|
||||
t = tags.length, tFix = [];
|
||||
while (t--)
|
||||
{
|
||||
var elms = all.tags(tags[t]), e = elms.length;
|
||||
while (e--) tFix.push(elms[e]);
|
||||
}
|
||||
var t = tFix.length;
|
||||
if (t && (/relative|absolute/i).test(currentStyle.position))
|
||||
alert('IEPNGFix: Children of positioned element are unclickable:\n\n<' +
|
||||
nodeName + (id && ' id=' + id) + '>');
|
||||
while (t--)
|
||||
if (!(/relative|absolute/i).test(tFix[t].currentStyle.position))
|
||||
tFix[t].style.position = 'relative';
|
||||
}
|
||||
else filt();
|
||||
}
|
||||
}
|
||||
|
||||
iePNGFix(1);
|
||||
|
||||
</script>
|
||||
</public:component>
|
After Width: | Height: | Size: 5.2 KiB |
After Width: | Height: | Size: 5.2 KiB |
|
@ -0,0 +1,103 @@
|
|||
<public:component>
|
||||
<public:attach event="onpropertychange" onevent="iePNGFix(0)" />
|
||||
|
||||
<script type="text/javascript">
|
||||
|
||||
// IE5.5+ PNG Alpha Fix v1.0
|
||||
// (c) 2004-2008 Angus Turnbull http://www.twinhelix.com
|
||||
|
||||
// This is licensed under the GNU LGPL, version 2.1 or later.
|
||||
// For details, see: http://creativecommons.org/licenses/LGPL/2.1/
|
||||
|
||||
|
||||
// This must be a path to a blank image, relative to the HTML document(s).
|
||||
// In production use I suggest '/images/spacer.png' or similar. That's all!
|
||||
if (typeof blankImg == 'undefined') var blankImg = 'desktop/spacer.png';
|
||||
|
||||
|
||||
|
||||
function filt(s, b)
|
||||
{
|
||||
var f = 'DXImageTransform.Microsoft.AlphaImageLoader';
|
||||
var sM = (currentStyle.backgroundRepeat == 'no-repeat') ? 'crop' : 'scale';
|
||||
s = (s || '').replace(/\(/g, '%28').replace(/\)/g, '%29');
|
||||
|
||||
if (s && !(/IMG|INPUT/.test(nodeName) && !b) &&
|
||||
currentStyle.width == 'auto' && currentStyle.height == 'auto')
|
||||
{
|
||||
style.width = offsetWidth + 'px';
|
||||
style.height = clientHeight + 'px';
|
||||
if (currentStyle.display == 'inline') style.display = 'inline-block';
|
||||
}
|
||||
|
||||
if (filters[f])
|
||||
{
|
||||
filters[f].enabled = s ? true : false;
|
||||
if (s) with (filters[f]) { src = s }
|
||||
}
|
||||
else if (s) style.filter = 'progid:'+f+'(src="'+s+'",sizingMethod="' + sM + '")';
|
||||
}
|
||||
|
||||
function iePNGFix(init)
|
||||
{
|
||||
if (!/MSIE (5\.5|6)/.test(navigator.userAgent) || typeof filters == 'unknown') return;
|
||||
var evt = init ? { propertyName: 'src,background' } : event;
|
||||
var isSrc = /src/.test(evt.propertyName);
|
||||
var isBg = /background/.test(evt.propertyName);
|
||||
var isClass = !init &&
|
||||
((this.className != this._png_class) && (this.className || this._png_class));
|
||||
if (!(isSrc || isBg || isClass)) return;
|
||||
this._png_class = this.className;
|
||||
var blank = blankImg.match(/([^\/]+)$/)[1];
|
||||
|
||||
// Required for Whatever:hover support - erase any set BG if className changes.
|
||||
if (isClass && ((style.backgroundImage.indexOf('url(') == -1) ||
|
||||
(style.backgroundImage.indexOf(blank) > -1)))
|
||||
{
|
||||
setTimeout(function() { this.style.backgroundImage = '' }, 0);
|
||||
return;
|
||||
}
|
||||
|
||||
if (isSrc && this.src && /IMG|INPUT/.test(nodeName))
|
||||
{
|
||||
if ((/\.png/i).test(src))
|
||||
{
|
||||
filt(src, 1);
|
||||
src = blankImg;
|
||||
}
|
||||
else if (src.indexOf(blank) == -1) filt();
|
||||
}
|
||||
|
||||
var bgSrc = currentStyle.backgroundImage || style.backgroundImage;
|
||||
if ((bgSrc + this.src).indexOf(blank) == -1)
|
||||
{
|
||||
var bgPNG = bgSrc.match(/^url[("']+(.*\.png[^\)"']*)[\)"']+[^\)]*$/i);
|
||||
|
||||
if (bgPNG)
|
||||
{
|
||||
style.backgroundImage = 'url("' + blankImg + '")';
|
||||
filt(bgPNG[1], 0);
|
||||
// Unclickable elements inside PNG backgrounds.
|
||||
var tags = ['a', 'input', 'select', 'textarea', 'iframe', 'object'],
|
||||
t = tags.length, tFix = [];
|
||||
while (t--)
|
||||
{
|
||||
var elms = all.tags(tags[t]), e = elms.length;
|
||||
while (e--) tFix.push(elms[e]);
|
||||
}
|
||||
var t = tFix.length;
|
||||
if (t && (/relative|absolute/i).test(currentStyle.position))
|
||||
alert('IEPNGFix: Children of positioned element are unclickable:\n\n<' +
|
||||
nodeName + (id && ' id=' + id) + '>');
|
||||
while (t--)
|
||||
if (!(/relative|absolute/i).test(tFix[t].currentStyle.position))
|
||||
tFix[t].style.position = 'relative';
|
||||
}
|
||||
else filt();
|
||||
}
|
||||
}
|
||||
|
||||
iePNGFix(1);
|
||||
|
||||
</script>
|
||||
</public:component>
|
After Width: | Height: | Size: 2.1 KiB |
After Width: | Height: | Size: 2.9 KiB |
After Width: | Height: | Size: 1.4 KiB |
After Width: | Height: | Size: 1.3 KiB |
After Width: | Height: | Size: 2.2 KiB |
After Width: | Height: | Size: 2.7 KiB |
After Width: | Height: | Size: 2.9 KiB |
After Width: | Height: | Size: 3.8 KiB |
After Width: | Height: | Size: 2.2 KiB |
After Width: | Height: | Size: 2.1 KiB |
After Width: | Height: | Size: 2.5 KiB |