diff -urpN contributions/modules/wymeditor/CVS/Entries wymeditor/CVS/Entries --- contributions/modules/wymeditor/CVS/Entries 2008-02-26 14:24:12.000000000 +0000 +++ wymeditor/CVS/Entries 1970-01-01 01:00:00.000000000 +0100 @@ -1,6 +0,0 @@ -/INSTALL.txt/1.2/Wed Nov 22 00:08:17 2006// -/README.txt/1.4/Wed Feb 7 16:27:49 2007// -/wymeditor.install/1.3/Fri Mar 30 08:33:26 2007// -/wymeditor.module/1.6/Wed Mar 28 09:57:26 2007// -D/wymeditor//// -/wymeditor.js/1.3/Tue Feb 26 14:24:12 2008// diff -urpN contributions/modules/wymeditor/CVS/Repository wymeditor/CVS/Repository --- contributions/modules/wymeditor/CVS/Repository 2008-02-26 14:17:35.000000000 +0000 +++ wymeditor/CVS/Repository 1970-01-01 01:00:00.000000000 +0100 @@ -1 +0,0 @@ -contributions/modules/wymeditor diff -urpN contributions/modules/wymeditor/CVS/Root wymeditor/CVS/Root --- contributions/modules/wymeditor/CVS/Root 2008-02-26 14:17:35.000000000 +0000 +++ wymeditor/CVS/Root 1970-01-01 01:00:00.000000000 +0100 @@ -1 +0,0 @@ -:pserver:anonymous:anonymous@cvs.drupal.org:/cvs/drupal-contrib diff -urpN contributions/modules/wymeditor/INSTALL.txt wymeditor/INSTALL.txt --- contributions/modules/wymeditor/INSTALL.txt 2006-11-22 00:08:17.000000000 +0000 +++ wymeditor/INSTALL.txt 2008-02-25 15:28:03.000000000 +0000 @@ -1,4 +1,5 @@ -$Id: INSTALL.txt,v 1.2 2006/11/22 00:08:17 moxide Exp $ +$Id: INSTALL.txt,v 1.2.4.2 2007/03/10 13:35:33 moxide Exp $ +altered by Luis Santos (luis.santos@openquest.pt) ******************************************************* This module is under development. Use at your own risk. @@ -7,7 +8,9 @@ This module is under development. Use at Installation procedure ---------------------- -1 - Place all the module files in /modules/wymeditor ( 'iframe.htm' should be in /modules/wymeditor/wymeditor ) +1 - Your drupal 5.X with the jquery 1.2.1 (e.g http://drupal.org/node/156221) + +2 - Place all the module files in /modules/wymeditor 2 - In Drupal, go to 'administer > modules' and enable WYMeditor module. diff -urpN contributions/modules/wymeditor/INSTALL.txt.rej wymeditor/INSTALL.txt.rej --- contributions/modules/wymeditor/INSTALL.txt.rej 1970-01-01 01:00:00.000000000 +0100 +++ wymeditor/INSTALL.txt.rej 2008-02-26 14:23:22.000000000 +0000 @@ -0,0 +1,31 @@ +*************** +*** 1,4 **** +- $Id: INSTALL.txt,v 1.2 2006/11/22 00:08:17 moxide Exp $ + + ******************************************************* + This module is under development. Use at your own risk. +--- 1,5 ---- ++ $Id: INSTALL.txt,v 1.2.4.2 2007/03/10 13:35:33 moxide Exp $ ++ altered by Luis Santos (luis.santos@openquest.pt) + + ******************************************************* + This module is under development. Use at your own risk. +*************** This module is under development. Use at +*** 7,13 **** + Installation procedure + ---------------------- + +- 1 - Place all the module files in /modules/wymeditor ( 'iframe.htm' should be in /modules/wymeditor/wymeditor ) + + 2 - In Drupal, go to 'administer > modules' and enable WYMeditor module. + +--- 8,16 ---- + Installation procedure + ---------------------- + ++ 1 - Your drupal 5.X with the jquery 1.2.1 (e.g http://drupal.org/node/156221) ++ ++ 2 - Place all the module files in /modules/wymeditor + + 2 - In Drupal, go to 'administer > modules' and enable WYMeditor module. + diff -urpN contributions/modules/wymeditor/LICENSE.txt wymeditor/LICENSE.txt --- contributions/modules/wymeditor/LICENSE.txt 1970-01-01 01:00:00.000000000 +0100 +++ wymeditor/LICENSE.txt 2008-01-29 10:06:14.000000000 +0000 @@ -0,0 +1,274 @@ +GNU GENERAL PUBLIC LICENSE + + Version 2, June 1991 + +Copyright (C) 1989, 1991 Free Software Foundation, Inc. 675 Mass Ave, +Cambridge, MA 02139, USA. Everyone is permitted to copy and distribute +verbatim copies of this license document, but changing it is not allowed. + + Preamble + +The licenses for most software are designed to take away your freedom to +share and change it. By contrast, the GNU General Public License is +intended to guarantee your freedom to share and change free software--to +make sure the software is free for all its users. This General Public License +applies to most of the Free Software Foundation's software and to any other +program whose authors commit to using it. (Some other Free Software +Foundation software is covered by the GNU Library General Public License +instead.) You can apply it to your programs, too. + +When we speak of free software, we are referring to freedom, not price. Our +General Public Licenses are designed to make sure that you have the +freedom to distribute copies of free software (and charge for this service if +you wish), that you receive source code or can get it if you want it, that you +can change the software or use pieces of it in new free programs; and that +you know you can do these things. + +To protect your rights, we need to make restrictions that forbid anyone to +deny you these rights or to ask you to surrender the rights. These restrictions +translate to certain responsibilities for you if you distribute copies of the +software, or if you modify it. + +For example, if you distribute copies of such a program, whether gratis or for +a fee, you must give the recipients all the rights that you have. You must make +sure that they, too, receive or can get the source code. And you must show +them these terms so they know their rights. + +We protect your rights with two steps: (1) copyright the software, and (2) +offer you this license which gives you legal permission to copy, distribute +and/or modify the software. + +Also, for each author's protection and ours, we want to make certain that +everyone understands that there is no warranty for this free software. If the +software is modified by someone else and passed on, we want its recipients +to know that what they have is not the original, so that any problems +introduced by others will not reflect on the original authors' reputations. + +Finally, any free program is threatened constantly by software patents. We +wish to avoid the danger that redistributors of a free program will individually +obtain patent licenses, in effect making the program proprietary. To prevent +this, we have made it clear that any patent must be licensed for everyone's +free use or not licensed at all. + +The precise terms and conditions for copying, distribution and modification +follow. + + GNU GENERAL PUBLIC LICENSE + TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND + MODIFICATION + +0. This License applies to any program or other work which contains a notice +placed by the copyright holder saying it may be distributed under the terms +of this General Public License. The "Program", below, refers to any such +program or work, and a "work based on the Program" means either the +Program or any derivative work under copyright law: that is to say, a work +containing the Program or a portion of it, either verbatim or with +modifications and/or translated into another language. (Hereinafter, translation +is included without limitation in the term "modification".) Each licensee is +addressed as "you". + +Activities other than copying, distribution and modification are not covered +by this License; they are outside its scope. The act of running the Program is +not restricted, and the output from the Program is covered only if its contents +constitute a work based on the Program (independent of having been made +by running the Program). Whether that is true depends on what the Program +does. + +1. You may copy and distribute verbatim copies of the Program's source +code as you receive it, in any medium, provided that you conspicuously and +appropriately publish on each copy an appropriate copyright notice and +disclaimer of warranty; keep intact all the notices that refer to this License +and to the absence of any warranty; and give any other recipients of the +Program a copy of this License along with the Program. + +You may charge a fee for the physical act of transferring a copy, and you +may at your option offer warranty protection in exchange for a fee. + +2. You may modify your copy or copies of the Program or any portion of it, +thus forming a work based on the Program, and copy and distribute such +modifications or work under the terms of Section 1 above, provided that you +also meet all of these conditions: + +a) You must cause the modified files to carry prominent notices stating that +you changed the files and the date of any change. + +b) You must cause any work that you distribute or publish, that in whole or in +part contains or is derived from the Program or any part thereof, to be +licensed as a whole at no charge to all third parties under the terms of this +License. + +c) If the modified program normally reads commands interactively when run, +you must cause it, when started running for such interactive use in the most +ordinary way, to print or display an announcement including an appropriate +copyright notice and a notice that there is no warranty (or else, saying that +you provide a warranty) and that users may redistribute the program under +these conditions, and telling the user how to view a copy of this License. +(Exception: if the Program itself is interactive but does not normally print such +an announcement, your work based on the Program is not required to print +an announcement.) + +These requirements apply to the modified work as a whole. If identifiable +sections of that work are not derived from the Program, and can be +reasonably considered independent and separate works in themselves, then +this License, and its terms, do not apply to those sections when you distribute +them as separate works. But when you distribute the same sections as part +of a whole which is a work based on the Program, the distribution of the +whole must be on the terms of this License, whose permissions for other +licensees extend to the entire whole, and thus to each and every part +regardless of who wrote it. + +Thus, it is not the intent of this section to claim rights or contest your rights to +work written entirely by you; rather, the intent is to exercise the right to +control the distribution of derivative or collective works based on the +Program. + +In addition, mere aggregation of another work not based on the Program +with the Program (or with a work based on the Program) on a volume of a +storage or distribution medium does not bring the other work under the scope +of this License. + +3. You may copy and distribute the Program (or a work based on it, under +Section 2) in object code or executable form under the terms of Sections 1 +and 2 above provided that you also do one of the following: + +a) Accompany it with the complete corresponding machine-readable source +code, which must be distributed under the terms of Sections 1 and 2 above +on a medium customarily used for software interchange; or, + +b) Accompany it with a written offer, valid for at least three years, to give +any third party, for a charge no more than your cost of physically performing +source distribution, a complete machine-readable copy of the corresponding +source code, to be distributed under the terms of Sections 1 and 2 above on +a medium customarily used for software interchange; or, + +c) Accompany it with the information you received as to the offer to distribute +corresponding source code. (This alternative is allowed only for +noncommercial distribution and only if you received the program in object +code or executable form with such an offer, in accord with Subsection b +above.) + +The source code for a work means the preferred form of the work for +making modifications to it. For an executable work, complete source code +means all the source code for all modules it contains, plus any associated +interface definition files, plus the scripts used to control compilation and +installation of the executable. However, as a special exception, the source +code distributed need not include anything that is normally distributed (in +either source or binary form) with the major components (compiler, kernel, +and so on) of the operating system on which the executable runs, unless that +component itself accompanies the executable. + +If distribution of executable or object code is made by offering access to +copy from a designated place, then offering equivalent access to copy the +source code from the same place counts as distribution of the source code, +even though third parties are not compelled to copy the source along with the +object code. + +4. You may not copy, modify, sublicense, or distribute the Program except as +expressly provided under this License. Any attempt otherwise to copy, +modify, sublicense or distribute the Program is void, and will automatically +terminate your rights under this License. However, parties who have received +copies, or rights, from you under this License will not have their licenses +terminated so long as such parties remain in full compliance. + +5. You are not required to accept this License, since you have not signed it. +However, nothing else grants you permission to modify or distribute the +Program or its derivative works. These actions are prohibited by law if you +do not accept this License. Therefore, by modifying or distributing the +Program (or any work based on the Program), you indicate your acceptance +of this License to do so, and all its terms and conditions for copying, +distributing or modifying the Program or works based on it. + +6. Each time you redistribute the Program (or any work based on the +Program), the recipient automatically receives a license from the original +licensor to copy, distribute or modify the Program subject to these terms and +conditions. You may not impose any further restrictions on the recipients' +exercise of the rights granted herein. You are not responsible for enforcing +compliance by third parties to this License. + +7. If, as a consequence of a court judgment or allegation of patent +infringement or for any other reason (not limited to patent issues), conditions +are imposed on you (whether by court order, agreement or otherwise) that +contradict the conditions of this License, they do not excuse you from the +conditions of this License. If you cannot distribute so as to satisfy +simultaneously your obligations under this License and any other pertinent +obligations, then as a consequence you may not distribute the Program at all. +For example, if a patent license would not permit royalty-free redistribution +of the Program by all those who receive copies directly or indirectly through +you, then the only way you could satisfy both it and this License would be to +refrain entirely from distribution of the Program. + +If any portion of this section is held invalid or unenforceable under any +particular circumstance, the balance of the section is intended to apply and +the section as a whole is intended to apply in other circumstances. + +It is not the purpose of this section to induce you to infringe any patents or +other property right claims or to contest validity of any such claims; this +section has the sole purpose of protecting the integrity of the free software +distribution system, which is implemented by public license practices. Many +people have made generous contributions to the wide range of software +distributed through that system in reliance on consistent application of that +system; it is up to the author/donor to decide if he or she is willing to +distribute software through any other system and a licensee cannot impose +that choice. + +This section is intended to make thoroughly clear what is believed to be a +consequence of the rest of this License. + +8. If the distribution and/or use of the Program is restricted in certain +countries either by patents or by copyrighted interfaces, the original copyright +holder who places the Program under this License may add an explicit +geographical distribution limitation excluding those countries, so that +distribution is permitted only in or among countries not thus excluded. In such +case, this License incorporates the limitation as if written in the body of this +License. + +9. The Free Software Foundation may publish revised and/or new versions +of the General Public License from time to time. Such new versions will be +similar in spirit to the present version, but may differ in detail to address new +problems or concerns. + +Each version is given a distinguishing version number. If the Program specifies +a version number of this License which applies to it and "any later version", +you have the option of following the terms and conditions either of that +version or of any later version published by the Free Software Foundation. If +the Program does not specify a version number of this License, you may +choose any version ever published by the Free Software Foundation. + +10. If you wish to incorporate parts of the Program into other free programs +whose distribution conditions are different, write to the author to ask for +permission. For software which is copyrighted by the Free Software +Foundation, write to the Free Software Foundation; we sometimes make +exceptions for this. Our decision will be guided by the two goals of +preserving the free status of all derivatives of our free software and of +promoting the sharing and reuse of software generally. + + NO WARRANTY + +11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, +THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT +PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE +STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR +OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT +WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, +INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES +OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND +PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE +PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL +NECESSARY SERVICING, REPAIR OR CORRECTION. + +12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR +AGREED TO IN WRITING WILL ANY COPYRIGHT HOLDER, OR +ANY OTHER PARTY WHO MAY MODIFY AND/OR +REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE +LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, +SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES +ARISING OUT OF THE USE OR INABILITY TO USE THE +PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA +OR DATA BEING RENDERED INACCURATE OR LOSSES +SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE +PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN +IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF +THE POSSIBILITY OF SUCH DAMAGES. + + END OF TERMS AND CONDITIONS diff -urpN contributions/modules/wymeditor/LICENSE.txt.rej wymeditor/LICENSE.txt.rej --- contributions/modules/wymeditor/LICENSE.txt.rej 1970-01-01 01:00:00.000000000 +0100 +++ wymeditor/LICENSE.txt.rej 2008-02-26 14:23:29.000000000 +0000 @@ -0,0 +1,277 @@ +*************** +*** 0 **** +--- 1,274 ---- ++ GNU GENERAL PUBLIC LICENSE ++ ++ Version 2, June 1991 ++ ++ Copyright (C) 1989, 1991 Free Software Foundation, Inc. 675 Mass Ave, ++ Cambridge, MA 02139, USA. Everyone is permitted to copy and distribute ++ verbatim copies of this license document, but changing it is not allowed. ++ ++ Preamble ++ ++ The licenses for most software are designed to take away your freedom to ++ share and change it. By contrast, the GNU General Public License is ++ intended to guarantee your freedom to share and change free software--to ++ make sure the software is free for all its users. This General Public License ++ applies to most of the Free Software Foundation's software and to any other ++ program whose authors commit to using it. (Some other Free Software ++ Foundation software is covered by the GNU Library General Public License ++ instead.) You can apply it to your programs, too. ++ ++ When we speak of free software, we are referring to freedom, not price. Our ++ General Public Licenses are designed to make sure that you have the ++ freedom to distribute copies of free software (and charge for this service if ++ you wish), that you receive source code or can get it if you want it, that you ++ can change the software or use pieces of it in new free programs; and that ++ you know you can do these things. ++ ++ To protect your rights, we need to make restrictions that forbid anyone to ++ deny you these rights or to ask you to surrender the rights. These restrictions ++ translate to certain responsibilities for you if you distribute copies of the ++ software, or if you modify it. ++ ++ For example, if you distribute copies of such a program, whether gratis or for ++ a fee, you must give the recipients all the rights that you have. You must make ++ sure that they, too, receive or can get the source code. And you must show ++ them these terms so they know their rights. ++ ++ We protect your rights with two steps: (1) copyright the software, and (2) ++ offer you this license which gives you legal permission to copy, distribute ++ and/or modify the software. ++ ++ Also, for each author's protection and ours, we want to make certain that ++ everyone understands that there is no warranty for this free software. If the ++ software is modified by someone else and passed on, we want its recipients ++ to know that what they have is not the original, so that any problems ++ introduced by others will not reflect on the original authors' reputations. ++ ++ Finally, any free program is threatened constantly by software patents. We ++ wish to avoid the danger that redistributors of a free program will individually ++ obtain patent licenses, in effect making the program proprietary. To prevent ++ this, we have made it clear that any patent must be licensed for everyone's ++ free use or not licensed at all. ++ ++ The precise terms and conditions for copying, distribution and modification ++ follow. ++ ++ GNU GENERAL PUBLIC LICENSE ++ TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND ++ MODIFICATION ++ ++ 0. This License applies to any program or other work which contains a notice ++ placed by the copyright holder saying it may be distributed under the terms ++ of this General Public License. The "Program", below, refers to any such ++ program or work, and a "work based on the Program" means either the ++ Program or any derivative work under copyright law: that is to say, a work ++ containing the Program or a portion of it, either verbatim or with ++ modifications and/or translated into another language. (Hereinafter, translation ++ is included without limitation in the term "modification".) Each licensee is ++ addressed as "you". ++ ++ Activities other than copying, distribution and modification are not covered ++ by this License; they are outside its scope. The act of running the Program is ++ not restricted, and the output from the Program is covered only if its contents ++ constitute a work based on the Program (independent of having been made ++ by running the Program). Whether that is true depends on what the Program ++ does. ++ ++ 1. You may copy and distribute verbatim copies of the Program's source ++ code as you receive it, in any medium, provided that you conspicuously and ++ appropriately publish on each copy an appropriate copyright notice and ++ disclaimer of warranty; keep intact all the notices that refer to this License ++ and to the absence of any warranty; and give any other recipients of the ++ Program a copy of this License along with the Program. ++ ++ You may charge a fee for the physical act of transferring a copy, and you ++ may at your option offer warranty protection in exchange for a fee. ++ ++ 2. You may modify your copy or copies of the Program or any portion of it, ++ thus forming a work based on the Program, and copy and distribute such ++ modifications or work under the terms of Section 1 above, provided that you ++ also meet all of these conditions: ++ ++ a) You must cause the modified files to carry prominent notices stating that ++ you changed the files and the date of any change. ++ ++ b) You must cause any work that you distribute or publish, that in whole or in ++ part contains or is derived from the Program or any part thereof, to be ++ licensed as a whole at no charge to all third parties under the terms of this ++ License. ++ ++ c) If the modified program normally reads commands interactively when run, ++ you must cause it, when started running for such interactive use in the most ++ ordinary way, to print or display an announcement including an appropriate ++ copyright notice and a notice that there is no warranty (or else, saying that ++ you provide a warranty) and that users may redistribute the program under ++ these conditions, and telling the user how to view a copy of this License. ++ (Exception: if the Program itself is interactive but does not normally print such ++ an announcement, your work based on the Program is not required to print ++ an announcement.) ++ ++ These requirements apply to the modified work as a whole. If identifiable ++ sections of that work are not derived from the Program, and can be ++ reasonably considered independent and separate works in themselves, then ++ this License, and its terms, do not apply to those sections when you distribute ++ them as separate works. But when you distribute the same sections as part ++ of a whole which is a work based on the Program, the distribution of the ++ whole must be on the terms of this License, whose permissions for other ++ licensees extend to the entire whole, and thus to each and every part ++ regardless of who wrote it. ++ ++ Thus, it is not the intent of this section to claim rights or contest your rights to ++ work written entirely by you; rather, the intent is to exercise the right to ++ control the distribution of derivative or collective works based on the ++ Program. ++ ++ In addition, mere aggregation of another work not based on the Program ++ with the Program (or with a work based on the Program) on a volume of a ++ storage or distribution medium does not bring the other work under the scope ++ of this License. ++ ++ 3. You may copy and distribute the Program (or a work based on it, under ++ Section 2) in object code or executable form under the terms of Sections 1 ++ and 2 above provided that you also do one of the following: ++ ++ a) Accompany it with the complete corresponding machine-readable source ++ code, which must be distributed under the terms of Sections 1 and 2 above ++ on a medium customarily used for software interchange; or, ++ ++ b) Accompany it with a written offer, valid for at least three years, to give ++ any third party, for a charge no more than your cost of physically performing ++ source distribution, a complete machine-readable copy of the corresponding ++ source code, to be distributed under the terms of Sections 1 and 2 above on ++ a medium customarily used for software interchange; or, ++ ++ c) Accompany it with the information you received as to the offer to distribute ++ corresponding source code. (This alternative is allowed only for ++ noncommercial distribution and only if you received the program in object ++ code or executable form with such an offer, in accord with Subsection b ++ above.) ++ ++ The source code for a work means the preferred form of the work for ++ making modifications to it. For an executable work, complete source code ++ means all the source code for all modules it contains, plus any associated ++ interface definition files, plus the scripts used to control compilation and ++ installation of the executable. However, as a special exception, the source ++ code distributed need not include anything that is normally distributed (in ++ either source or binary form) with the major components (compiler, kernel, ++ and so on) of the operating system on which the executable runs, unless that ++ component itself accompanies the executable. ++ ++ If distribution of executable or object code is made by offering access to ++ copy from a designated place, then offering equivalent access to copy the ++ source code from the same place counts as distribution of the source code, ++ even though third parties are not compelled to copy the source along with the ++ object code. ++ ++ 4. You may not copy, modify, sublicense, or distribute the Program except as ++ expressly provided under this License. Any attempt otherwise to copy, ++ modify, sublicense or distribute the Program is void, and will automatically ++ terminate your rights under this License. However, parties who have received ++ copies, or rights, from you under this License will not have their licenses ++ terminated so long as such parties remain in full compliance. ++ ++ 5. You are not required to accept this License, since you have not signed it. ++ However, nothing else grants you permission to modify or distribute the ++ Program or its derivative works. These actions are prohibited by law if you ++ do not accept this License. Therefore, by modifying or distributing the ++ Program (or any work based on the Program), you indicate your acceptance ++ of this License to do so, and all its terms and conditions for copying, ++ distributing or modifying the Program or works based on it. ++ ++ 6. Each time you redistribute the Program (or any work based on the ++ Program), the recipient automatically receives a license from the original ++ licensor to copy, distribute or modify the Program subject to these terms and ++ conditions. You may not impose any further restrictions on the recipients' ++ exercise of the rights granted herein. You are not responsible for enforcing ++ compliance by third parties to this License. ++ ++ 7. If, as a consequence of a court judgment or allegation of patent ++ infringement or for any other reason (not limited to patent issues), conditions ++ are imposed on you (whether by court order, agreement or otherwise) that ++ contradict the conditions of this License, they do not excuse you from the ++ conditions of this License. If you cannot distribute so as to satisfy ++ simultaneously your obligations under this License and any other pertinent ++ obligations, then as a consequence you may not distribute the Program at all. ++ For example, if a patent license would not permit royalty-free redistribution ++ of the Program by all those who receive copies directly or indirectly through ++ you, then the only way you could satisfy both it and this License would be to ++ refrain entirely from distribution of the Program. ++ ++ If any portion of this section is held invalid or unenforceable under any ++ particular circumstance, the balance of the section is intended to apply and ++ the section as a whole is intended to apply in other circumstances. ++ ++ It is not the purpose of this section to induce you to infringe any patents or ++ other property right claims or to contest validity of any such claims; this ++ section has the sole purpose of protecting the integrity of the free software ++ distribution system, which is implemented by public license practices. Many ++ people have made generous contributions to the wide range of software ++ distributed through that system in reliance on consistent application of that ++ system; it is up to the author/donor to decide if he or she is willing to ++ distribute software through any other system and a licensee cannot impose ++ that choice. ++ ++ This section is intended to make thoroughly clear what is believed to be a ++ consequence of the rest of this License. ++ ++ 8. If the distribution and/or use of the Program is restricted in certain ++ countries either by patents or by copyrighted interfaces, the original copyright ++ holder who places the Program under this License may add an explicit ++ geographical distribution limitation excluding those countries, so that ++ distribution is permitted only in or among countries not thus excluded. In such ++ case, this License incorporates the limitation as if written in the body of this ++ License. ++ ++ 9. The Free Software Foundation may publish revised and/or new versions ++ of the General Public License from time to time. Such new versions will be ++ similar in spirit to the present version, but may differ in detail to address new ++ problems or concerns. ++ ++ Each version is given a distinguishing version number. If the Program specifies ++ a version number of this License which applies to it and "any later version", ++ you have the option of following the terms and conditions either of that ++ version or of any later version published by the Free Software Foundation. If ++ the Program does not specify a version number of this License, you may ++ choose any version ever published by the Free Software Foundation. ++ ++ 10. If you wish to incorporate parts of the Program into other free programs ++ whose distribution conditions are different, write to the author to ask for ++ permission. For software which is copyrighted by the Free Software ++ Foundation, write to the Free Software Foundation; we sometimes make ++ exceptions for this. Our decision will be guided by the two goals of ++ preserving the free status of all derivatives of our free software and of ++ promoting the sharing and reuse of software generally. ++ ++ NO WARRANTY ++ ++ 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, ++ THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT ++ PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE ++ STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR ++ OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT ++ WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, ++ INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES ++ OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR ++ PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND ++ PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE ++ PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL ++ NECESSARY SERVICING, REPAIR OR CORRECTION. ++ ++ 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR ++ AGREED TO IN WRITING WILL ANY COPYRIGHT HOLDER, OR ++ ANY OTHER PARTY WHO MAY MODIFY AND/OR ++ REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE ++ LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, ++ SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ++ ARISING OUT OF THE USE OR INABILITY TO USE THE ++ PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA ++ OR DATA BEING RENDERED INACCURATE OR LOSSES ++ SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE ++ PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN ++ IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF ++ THE POSSIBILITY OF SUCH DAMAGES. ++ ++ END OF TERMS AND CONDITIONS diff -urpN contributions/modules/wymeditor/README.txt wymeditor/README.txt --- contributions/modules/wymeditor/README.txt 2007-02-07 16:27:49.000000000 +0000 +++ wymeditor/README.txt 2008-02-25 15:28:25.000000000 +0000 @@ -1,4 +1,5 @@ -$Id: README.txt,v 1.4 2007/02/07 16:27:49 moxide Exp $ +$Id: README.txt,v 1.4.2.2 2007/03/10 13:35:33 moxide Exp $ +altered by Luis Santos (luis.santos@openquest.pt) ******************************************************* This module is under development. Use at your own risk. @@ -6,12 +7,9 @@ This module is under development. Use at Description ----------- -This module integrates WYMeditor 0.2 in Drupal. +This module integrates WYMeditor 0.4 in Drupal. WYMeditor is an XHTML/Javascript WYSIWYM editor. -Note: a patched version of WYMeditor 0.2 is included in the module archive. -Current version is 0.2.2 Stable (26/01/2007) - Resources --------- WYMeditor homepage : http://www.wymeditor.org @@ -19,7 +17,7 @@ WYMeditor demo : http://www.wymeditor.or Prerequisites ------------- -This module currently works with Drupal 4.7 +Update your drupal jquery (http://drupal.org/node/156221) Installation/Configuration -------------------------- diff -urpN contributions/modules/wymeditor/README.txt.rej wymeditor/README.txt.rej --- contributions/modules/wymeditor/README.txt.rej 1970-01-01 01:00:00.000000000 +0100 +++ wymeditor/README.txt.rej 2008-02-26 14:23:31.000000000 +0000 @@ -0,0 +1,53 @@ +*************** +*** 1,4 **** +- $Id: README.txt,v 1.4 2007/02/07 16:27:49 moxide Exp $ + + ******************************************************* + This module is under development. Use at your own risk. +--- 1,5 ---- ++ $Id: README.txt,v 1.4.2.2 2007/03/10 13:35:33 moxide Exp $ ++ altered by Luis Santos (luis.santos@openquest.pt) + + ******************************************************* + This module is under development. Use at your own risk. +*************** This module is under development. Use at +*** 6,17 **** + + Description + ----------- +- This module integrates WYMeditor 0.2 in Drupal. + WYMeditor is an XHTML/Javascript WYSIWYM editor. + +- Note: a patched version of WYMeditor 0.2 is included in the module archive. +- Current version is 0.2.2 Stable (26/01/2007) +- + Resources + --------- + WYMeditor homepage : http://www.wymeditor.org +--- 7,15 ---- + + Description + ----------- ++ This module integrates WYMeditor 0.4 in Drupal. + WYMeditor is an XHTML/Javascript WYSIWYM editor. + + Resources + --------- + WYMeditor homepage : http://www.wymeditor.org +*************** WYMeditor demo : http://www.wymeditor.or +*** 19,25 **** + + Prerequisites + ------------- +- This module currently works with Drupal 4.7 + + Installation/Configuration + -------------------------- +--- 17,23 ---- + + Prerequisites + ------------- ++ Update your drupal jquery (http://drupal.org/node/156221) + + Installation/Configuration + -------------------------- diff -urpN contributions/modules/wymeditor/wymeditor/browser.js wymeditor/wymeditor/browser.js --- contributions/modules/wymeditor/wymeditor/browser.js 2006-11-22 00:08:18.000000000 +0000 +++ wymeditor/wymeditor/browser.js 1970-01-01 01:00:00.000000000 +0100 @@ -1,51 +0,0 @@ -/* -Script Name: Simple Javascript Browser/OS detection -Authors: Harald Hope, Tapio Markula, Websites: http://techpatterns.com/ -http://www.nic.fi/~tapio1/Teaching/index1.php3 -Script Source URI: http://techpatterns.com/downloads/javascript_browser_detection.php -Version 2.0.1 -Copyright (C) 08 August 2004 - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU Lesser General Public -License as published by the Free Software Foundation; either -version 2.1 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Lesser General Public License for more details. - -Lesser GPL license text: -http://www.gnu.org/licenses/lgpl.txt - -*/ - -var d, dom, ie, ie4, ie5x, moz, mac, win, lin, old, ie5mac, ie5xwin, op; - -d = document; -n = navigator; -na = n.appVersion; -nua = n.userAgent; -win = ( na.indexOf( 'Win' ) != -1 ); -mac = ( na.indexOf( 'Mac' ) != -1 ); -lin = ( nua.indexOf( 'Linux' ) != -1 ); - -if ( !d.layers ){ - dom = ( d.getElementById ); - op = ( nua.indexOf( 'Opera' ) != -1 ); - konq = ( nua.indexOf( 'Konqueror' ) != -1 ); - saf = ( nua.indexOf( 'Safari' ) != -1 ); - moz = ( nua.indexOf( 'Gecko' ) != -1 && !saf && !konq); - ie = ( d.all && !op ); - ie4 = ( ie && !dom ); - - /* - ie5x tests only for functionality. ( dom||ie5x ) would be default settings. - Opera will register true in this test if set to identify as IE 5 - */ - - ie5x = ( d.all && dom ); - ie5mac = ( mac && ie5x ); - ie5xwin = ( win && ie5x ); -} diff -urpN contributions/modules/wymeditor/wymeditor/config.js wymeditor/wymeditor/config.js --- contributions/modules/wymeditor/wymeditor/config.js 2006-11-22 00:08:18.000000000 +0000 +++ wymeditor/wymeditor/config.js 1970-01-01 01:00:00.000000000 +0100 @@ -1,47 +0,0 @@ -/* - * WYMeditor : what you see is What You Mean web-based editor - * Copyright (C) 2006 H.O.net - http://www.honet.be/ - * Dual licensed under the MIT (MIT-license.txt) - * and GPL (GPL-license.txt) licenses. - * - * For further information visit: - * http://www.wymeditor.org/ - * - * File Name: - * config.js - * Custom configuration values. - * See the documentation for more info. - * - * File Authors: - * Jean-François Hovinne (jf.hovinne@wymeditor.org) -*/ - -//modify these values if you want to better integrate WYMeditor in your application -//just modify the value after the ":" -//i.e. "link.htm" becomes "link.php", so you can add server-side generated controls, values, ... -var dialogs= -{ - "base": "dialogs/", //base dialogs url - "default": "dialog.htm", //default dialog template - "link": "link.htm", //dialog used to add or modify a link - "image": "image.htm", //add or modify an image - "table": "table.htm", //add a table - "template": "template.htm", //add structured content based on a template - "paste": "paste.htm" -}; - -//dialogs features - see javascript window.open() -var dialogs_features="menubar=no,titlebar=no,toolbar=no,resizable=no,width=560,height=300,top=0,left=0"; - -//preview dialog is specific -var preview_url="dialogs/preview.htm"; -var preview_features="scrollbars,width=760,height=540"; - -//prevent CTRL+V (Gecko browsers only) -var moz_prevent_copy=false; - -//custom values -var custom_values= -{ - "wym_editor_description": "WYMeditor is a web-based WYSIWYM editor." -} diff -urpN contributions/modules/wymeditor/wymeditor/CVS/Entries wymeditor/wymeditor/CVS/Entries --- contributions/modules/wymeditor/wymeditor/CVS/Entries 2008-02-26 14:24:12.000000000 +0000 +++ wymeditor/wymeditor/CVS/Entries 1970-01-01 01:00:00.000000000 +0100 @@ -1,13 +0,0 @@ -/GPL-license.txt/1.1/Wed Nov 22 00:08:18 2006// -/MIT-license.txt/1.1/Wed Nov 22 00:08:18 2006// -/browser.js/1.1/Wed Nov 22 00:08:18 2006// -/config.js/1.1/Wed Nov 22 00:08:18 2006// -/dialog.js/1.2/Wed Feb 7 16:27:49 2007// -/iframe.htm/1.1/Wed Nov 22 00:08:18 2006// -/preview.js/1.1/Wed Nov 22 00:08:18 2006// -/readme.txt/1.1/Wed Nov 22 00:08:18 2006// -/util.js/1.2/Wed Feb 7 16:27:49 2007// -/wym.js/1.5/Wed Apr 25 09:21:16 2007// -D/dialogs//// -D/images//// -D/skins//// diff -urpN contributions/modules/wymeditor/wymeditor/CVS/Repository wymeditor/wymeditor/CVS/Repository --- contributions/modules/wymeditor/wymeditor/CVS/Repository 2008-02-26 14:17:35.000000000 +0000 +++ wymeditor/wymeditor/CVS/Repository 1970-01-01 01:00:00.000000000 +0100 @@ -1 +0,0 @@ -contributions/modules/wymeditor/wymeditor diff -urpN contributions/modules/wymeditor/wymeditor/CVS/Root wymeditor/wymeditor/CVS/Root --- contributions/modules/wymeditor/wymeditor/CVS/Root 2008-02-26 14:17:35.000000000 +0000 +++ wymeditor/wymeditor/CVS/Root 1970-01-01 01:00:00.000000000 +0100 @@ -1 +0,0 @@ -:pserver:anonymous:anonymous@cvs.drupal.org:/cvs/drupal-contrib diff -urpN contributions/modules/wymeditor/wymeditor/dialog.js wymeditor/wymeditor/dialog.js --- contributions/modules/wymeditor/wymeditor/dialog.js 2007-02-07 16:27:49.000000000 +0000 +++ wymeditor/wymeditor/dialog.js 1970-01-01 01:00:00.000000000 +0100 @@ -1,388 +0,0 @@ -/* - * WYMeditor : what you see is What You Mean web-based editor - * Copyright (C) 2006 H.O.net - http://www.honet.be/ - * Dual licensed under the MIT (MIT-license.txt) - * and GPL (GPL-license.txt) licenses. - * - * For further information visit: - * http://www.wymeditor.org/ - * - * File Name: - * dialog.js - * Main dialogs javascript functions. - * See the documentation for more info. - * - * File Authors: - * Jean-François Hovinne (jf.hovinne@wymeditor.org) -*/ - -//oSelected and oSelectedId : defined if an image has been dblclicked -var oSelected=window.opener.selected(); -var oSelectedId=null; - -//container and mainContainer : we are in a container and we want to insert a new object -var container, mainContainer; - -container=window.opener.getSelectedContainer(); -mainContainer=window.opener.getMainContainer(container); - -//init dialog values -function init(sDialog) -{ - var elem=null; - switch(sDialog) - { - case "image": - if(oSelected!=null) - { - //we need selection id for sendValue() - oSelectedId=oSelected.id; - switch(oSelected.tagName.toLowerCase()) - { - //an image has been dblclicked - case "img": - if(getValue("image_src")=="")setValue("image_src",oSelected.src) - if(getValue("image_alt")=="")setValue("image_alt",oSelected.alt) - if(getValue("image_title")=="")setValue("image_title",oSelected.title) - if(getValue("image_width")=="")setValue("image_width",oSelected.width) - if(getValue("image_height")=="")setValue("image_height",oSelected.height) - if(getValue("image_id")=="")setValue("image_id",oSelected.id) - image_preview(); - break; - } - } - else - { - //not an image, or new image - image_preview(); - image_unique_id(); - } - break; - - case "link": - if(container!=null) - { - var link_href=""; - var link_title=""; - - switch(container.tagName.toLowerCase()) - { - case "a": - link_href=container.href; - link_title=container.title; - break; - - default: - elem=container.parentNode; - if(elem!=null) - { - if(elem.tagName.toLowerCase()=="a") - { - link_href=elem.href; - link_title=elem.title; - } - } - } - - if(getValue("link_href")=="")setValue("link_href",link_href); - if(getValue("link_title")=="")setValue("link_title",link_title); - } - break; - - } -} - -//get and set dialog values -function getValue(sName) -{ - return(document.getElementById(sName).value); -} -function setValue(sName,sValue) -{ - document.getElementById(sName).value=sValue; -} - -//link -function link_sendValue() -{ - var elem=null; - var marker=getUniqueId(); - - //create the link, or overwrite it - if(ie) window.opener.document.execCommand("CreateLink",false,getValue("link_href")); - - //well, not sure the marker is the best way to do it, but it works (see below, moz section) - else if(moz) window.opener.iframe().contentDocument.execCommand("CreateLink","",marker); - - //now we need to set the other attributes - - if(ie) - { - //is it an image ? - if(oSelected!=null) - { - elem=oSelected.parentNode; - if(elem!=null) - { - //elem is the link - if(elem.tagName.toLowerCase()=="a") - { - elem.title=getValue("link_title"); - } - } - } - - //not an image - if(container!=null) - { - switch(container.tagName.toLowerCase()) - { - //an updated link - case "a": - container.title=getValue("link_title"); - break; - //everything else - default: - elem=container.parentNode; - if(elem!=null) - { - //is elem the link ? - if(elem.tagName.toLowerCase()=="a") - { - elem.title=getValue("link_title"); - } - else - { - //this is a new link - - //get the selected text - var sel=window.opener.document.selection.createRange(); - //parentNode is undefined :( - //get the new link - elem=sel.parentElement(); - if(elem!=null) - { - if(elem.tagName.toLowerCase()=="a") - { - elem.title=getValue("link_title"); - } - } - } - } - break; - } - } - } - - else if(moz) - { - var nodes=window.opener.iframe().contentDocument.body.getElementsByTagName("a"); - for(var x=0;x-1 && oSelected==null) - { - //not on an image > insert new image - var html=window.opener.editor().innerHTML; - var img=window.opener.document.createElement("IMG"); - - img.src=getValue("image_src"); - img.title=getValue("image_title"); - img.alt=getValue("image_alt"); - img.width=getValue("image_width"); - img.height=getValue("image_height"); - img.id=getValue("image_id"); - - window.opener.editor().innerHTML=insertAt(html,img.outerHTML,pos); - } - else - { - if(oSelected!=null) - { - //an image has been dblclicked > get it by id - img=window.opener.document.getElementById(oSelectedId); - if(img!=null) - { - //set new values - img.src=getValue("image_src"); - img.title=getValue("image_title"); - img.alt=getValue("image_alt"); - img.width=getValue("image_width"); - img.height=getValue("image_height"); - } - } - } - } - else if(moz) - { - var marker=getUniqueId(); - window.opener.iframe().contentDocument.execCommand("InsertImage","",marker); - - var nodes=window.opener.iframe().contentDocument.body.getElementsByTagName("img"); - for(var x=0;x"); //replacing newlines by
- - reg=new RegExp("#"+i+"#","gi"); //replacing flags by contents - html=html.replace(reg,ct); - i++; - } - else bln=false; - } - - if(ie) mainContainer.insertAdjacentHTML("afterEnd",html); //inserting - else if(moz) window.opener.execCom("inserthtml",html); - - //update txthtml value - window.opener.getCleanHTML(); - } - } -} - -function paste_sendValue() -{ - var html=getValue("paste_txt"); - window.opener.pasteData(html); -} diff -urpN contributions/modules/wymeditor/wymeditor/dialogs/CVS/Entries wymeditor/wymeditor/dialogs/CVS/Entries --- contributions/modules/wymeditor/wymeditor/dialogs/CVS/Entries 2008-02-26 14:17:36.000000000 +0000 +++ wymeditor/wymeditor/dialogs/CVS/Entries 1970-01-01 01:00:00.000000000 +0100 @@ -1,8 +0,0 @@ -/dialog.htm/1.1/Wed Nov 22 00:08:18 2006// -/image.htm/1.1/Wed Nov 22 00:08:18 2006// -/link.htm/1.1/Wed Nov 22 00:08:18 2006// -/paste.htm/1.1/Wed Nov 22 00:08:18 2006// -/preview.htm/1.1/Wed Nov 22 00:08:18 2006// -/table.htm/1.2/Wed Feb 7 16:27:49 2007// -/template.htm/1.1/Wed Nov 22 00:08:18 2006// -D diff -urpN contributions/modules/wymeditor/wymeditor/dialogs/CVS/Repository wymeditor/wymeditor/dialogs/CVS/Repository --- contributions/modules/wymeditor/wymeditor/dialogs/CVS/Repository 2008-02-26 14:17:36.000000000 +0000 +++ wymeditor/wymeditor/dialogs/CVS/Repository 1970-01-01 01:00:00.000000000 +0100 @@ -1 +0,0 @@ -contributions/modules/wymeditor/wymeditor/dialogs diff -urpN contributions/modules/wymeditor/wymeditor/dialogs/CVS/Root wymeditor/wymeditor/dialogs/CVS/Root --- contributions/modules/wymeditor/wymeditor/dialogs/CVS/Root 2008-02-26 14:17:36.000000000 +0000 +++ wymeditor/wymeditor/dialogs/CVS/Root 1970-01-01 01:00:00.000000000 +0100 @@ -1 +0,0 @@ -:pserver:anonymous:anonymous@cvs.drupal.org:/cvs/drupal-contrib diff -urpN contributions/modules/wymeditor/wymeditor/dialogs/dialog.htm wymeditor/wymeditor/dialogs/dialog.htm --- contributions/modules/wymeditor/wymeditor/dialogs/dialog.htm 2006-11-22 00:08:18.000000000 +0000 +++ wymeditor/wymeditor/dialogs/dialog.htm 1970-01-01 01:00:00.000000000 +0100 @@ -1,32 +0,0 @@ - - - - - -WYMeditor - Dialog - - - - - - - - - - diff -urpN contributions/modules/wymeditor/wymeditor/dialogs/image.htm wymeditor/wymeditor/dialogs/image.htm --- contributions/modules/wymeditor/wymeditor/dialogs/image.htm 2006-11-22 00:08:18.000000000 +0000 +++ wymeditor/wymeditor/dialogs/image.htm 1970-01-01 01:00:00.000000000 +0100 @@ -1,60 +0,0 @@ - - - - - -WYMeditor - Image - - - - - - - - -

- -

-

- -

-

- -

-

- - - -

-

-Preview -

-

- - -

- - - diff -urpN contributions/modules/wymeditor/wymeditor/dialogs/link.htm wymeditor/wymeditor/dialogs/link.htm --- contributions/modules/wymeditor/wymeditor/dialogs/link.htm 2006-11-22 00:08:18.000000000 +0000 +++ wymeditor/wymeditor/dialogs/link.htm 1970-01-01 01:00:00.000000000 +0100 @@ -1,42 +0,0 @@ - - - - - -WYMeditor - Link - - - - - - - -

- -

-

- -

-

- - -

- - diff -urpN contributions/modules/wymeditor/wymeditor/dialogs/paste.htm wymeditor/wymeditor/dialogs/paste.htm --- contributions/modules/wymeditor/wymeditor/dialogs/paste.htm 2006-11-22 00:08:18.000000000 +0000 +++ wymeditor/wymeditor/dialogs/paste.htm 1970-01-01 01:00:00.000000000 +0100 @@ -1,39 +0,0 @@ - - - - - -WYMeditor - Paste - - - - - - - -

- -

- -

- - -

- - diff -urpN contributions/modules/wymeditor/wymeditor/dialogs/preview.htm wymeditor/wymeditor/dialogs/preview.htm --- contributions/modules/wymeditor/wymeditor/dialogs/preview.htm 2006-11-22 00:08:18.000000000 +0000 +++ wymeditor/wymeditor/dialogs/preview.htm 1970-01-01 01:00:00.000000000 +0100 @@ -1,42 +0,0 @@ - - - - - -WYMeditor - Preview - - - - - - -
-

Preview:

-
- -
- - diff -urpN contributions/modules/wymeditor/wymeditor/dialogs/table.htm wymeditor/wymeditor/dialogs/table.htm --- contributions/modules/wymeditor/wymeditor/dialogs/table.htm 2007-02-07 16:27:49.000000000 +0000 +++ wymeditor/wymeditor/dialogs/table.htm 1970-01-01 01:00:00.000000000 +0100 @@ -1,45 +0,0 @@ - - - - - -WYMeditor - Table - - - - - - - -

- -

-

- -

-

- -

-

- - -

- - diff -urpN contributions/modules/wymeditor/wymeditor/dialogs/template.htm wymeditor/wymeditor/dialogs/template.htm --- contributions/modules/wymeditor/wymeditor/dialogs/template.htm 2006-11-22 00:08:18.000000000 +0000 +++ wymeditor/wymeditor/dialogs/template.htm 1970-01-01 01:00:00.000000000 +0100 @@ -1,65 +0,0 @@ - - - - - -WYMeditor - Template - - - - - - - - -

- -

- -

- -

- -

- -

- -

- -

- - - -

- - -

- - - diff -urpN contributions/modules/wymeditor/wymeditor/GPL-license.txt wymeditor/wymeditor/GPL-license.txt --- contributions/modules/wymeditor/wymeditor/GPL-license.txt 2006-11-22 00:08:18.000000000 +0000 +++ wymeditor/wymeditor/GPL-license.txt 1970-01-01 01:00:00.000000000 +0100 @@ -1,278 +0,0 @@ - GNU GENERAL PUBLIC LICENSE - Version 2, June 1991 - - Copyright (C) 1989, 1991 Free Software Foundation, Inc. - 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - Everyone is permitted to copy and distribute verbatim copies - of this license document, but changing it is not allowed. - - Preamble - - The licenses for most software are designed to take away your -freedom to share and change it. By contrast, the GNU General Public -License is intended to guarantee your freedom to share and change free -software--to make sure the software is free for all its users. This -General Public License applies to most of the Free Software -Foundation's software and to any other program whose authors commit to -using it. (Some other Free Software Foundation software is covered by -the GNU Lesser General Public License instead.) You can apply it to -your programs, too. - - When we speak of free software, we are referring to freedom, not -price. Our General Public Licenses are designed to make sure that you -have the freedom to distribute copies of free software (and charge for -this service if you wish), that you receive source code or can get it -if you want it, that you can change the software or use pieces of it -in new free programs; and that you know you can do these things. - - To protect your rights, we need to make restrictions that forbid -anyone to deny you these rights or to ask you to surrender the rights. -These restrictions translate to certain responsibilities for you if you -distribute copies of the software, or if you modify it. - - For example, if you distribute copies of such a program, whether -gratis or for a fee, you must give the recipients all the rights that -you have. You must make sure that they, too, receive or can get the -source code. And you must show them these terms so they know their -rights. - - We protect your rights with two steps: (1) copyright the software, and -(2) offer you this license which gives you legal permission to copy, -distribute and/or modify the software. - - Also, for each author's protection and ours, we want to make certain -that everyone understands that there is no warranty for this free -software. If the software is modified by someone else and passed on, we -want its recipients to know that what they have is not the original, so -that any problems introduced by others will not reflect on the original -authors' reputations. - - Finally, any free program is threatened constantly by software -patents. We wish to avoid the danger that redistributors of a free -program will individually obtain patent licenses, in effect making the -program proprietary. To prevent this, we have made it clear that any -patent must be licensed for everyone's free use or not licensed at all. - - The precise terms and conditions for copying, distribution and -modification follow. - - GNU GENERAL PUBLIC LICENSE - TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION - - 0. This License applies to any program or other work which contains -a notice placed by the copyright holder saying it may be distributed -under the terms of this General Public License. The "Program", below, -refers to any such program or work, and a "work based on the Program" -means either the Program or any derivative work under copyright law: -that is to say, a work containing the Program or a portion of it, -either verbatim or with modifications and/or translated into another -language. (Hereinafter, translation is included without limitation in -the term "modification".) Each licensee is addressed as "you". - -Activities other than copying, distribution and modification are not -covered by this License; they are outside its scope. The act of -running the Program is not restricted, and the output from the Program -is covered only if its contents constitute a work based on the -Program (independent of having been made by running the Program). -Whether that is true depends on what the Program does. - - 1. You may copy and distribute verbatim copies of the Program's -source code as you receive it, in any medium, provided that you -conspicuously and appropriately publish on each copy an appropriate -copyright notice and disclaimer of warranty; keep intact all the -notices that refer to this License and to the absence of any warranty; -and give any other recipients of the Program a copy of this License -along with the Program. - -You may charge a fee for the physical act of transferring a copy, and -you may at your option offer warranty protection in exchange for a fee. - - 2. You may modify your copy or copies of the Program or any portion -of it, thus forming a work based on the Program, and copy and -distribute such modifications or work under the terms of Section 1 -above, provided that you also meet all of these conditions: - - a) You must cause the modified files to carry prominent notices - stating that you changed the files and the date of any change. - - b) You must cause any work that you distribute or publish, that in - whole or in part contains or is derived from the Program or any - part thereof, to be licensed as a whole at no charge to all third - parties under the terms of this License. - - c) If the modified program normally reads commands interactively - when run, you must cause it, when started running for such - interactive use in the most ordinary way, to print or display an - announcement including an appropriate copyright notice and a - notice that there is no warranty (or else, saying that you provide - a warranty) and that users may redistribute the program under - these conditions, and telling the user how to view a copy of this - License. (Exception: if the Program itself is interactive but - does not normally print such an announcement, your work based on - the Program is not required to print an announcement.) - -These requirements apply to the modified work as a whole. If -identifiable sections of that work are not derived from the Program, -and can be reasonably considered independent and separate works in -themselves, then this License, and its terms, do not apply to those -sections when you distribute them as separate works. But when you -distribute the same sections as part of a whole which is a work based -on the Program, the distribution of the whole must be on the terms of -this License, whose permissions for other licensees extend to the -entire whole, and thus to each and every part regardless of who wrote it. - -Thus, it is not the intent of this section to claim rights or contest -your rights to work written entirely by you; rather, the intent is to -exercise the right to control the distribution of derivative or -collective works based on the Program. - -In addition, mere aggregation of another work not based on the Program -with the Program (or with a work based on the Program) on a volume of -a storage or distribution medium does not bring the other work under -the scope of this License. - - 3. You may copy and distribute the Program (or a work based on it, -under Section 2) in object code or executable form under the terms of -Sections 1 and 2 above provided that you also do one of the following: - - a) Accompany it with the complete corresponding machine-readable - source code, which must be distributed under the terms of Sections - 1 and 2 above on a medium customarily used for software interchange; or, - - b) Accompany it with a written offer, valid for at least three - years, to give any third party, for a charge no more than your - cost of physically performing source distribution, a complete - machine-readable copy of the corresponding source code, to be - distributed under the terms of Sections 1 and 2 above on a medium - customarily used for software interchange; or, - - c) Accompany it with the information you received as to the offer - to distribute corresponding source code. (This alternative is - allowed only for noncommercial distribution and only if you - received the program in object code or executable form with such - an offer, in accord with Subsection b above.) - -The source code for a work means the preferred form of the work for -making modifications to it. For an executable work, complete source -code means all the source code for all modules it contains, plus any -associated interface definition files, plus the scripts used to -control compilation and installation of the executable. However, as a -special exception, the source code distributed need not include -anything that is normally distributed (in either source or binary -form) with the major components (compiler, kernel, and so on) of the -operating system on which the executable runs, unless that component -itself accompanies the executable. - -If distribution of executable or object code is made by offering -access to copy from a designated place, then offering equivalent -access to copy the source code from the same place counts as -distribution of the source code, even though third parties are not -compelled to copy the source along with the object code. - - 4. You may not copy, modify, sublicense, or distribute the Program -except as expressly provided under this License. Any attempt -otherwise to copy, modify, sublicense or distribute the Program is -void, and will automatically terminate your rights under this License. -However, parties who have received copies, or rights, from you under -this License will not have their licenses terminated so long as such -parties remain in full compliance. - - 5. You are not required to accept this License, since you have not -signed it. However, nothing else grants you permission to modify or -distribute the Program or its derivative works. These actions are -prohibited by law if you do not accept this License. Therefore, by -modifying or distributing the Program (or any work based on the -Program), you indicate your acceptance of this License to do so, and -all its terms and conditions for copying, distributing or modifying -the Program or works based on it. - - 6. Each time you redistribute the Program (or any work based on the -Program), the recipient automatically receives a license from the -original licensor to copy, distribute or modify the Program subject to -these terms and conditions. You may not impose any further -restrictions on the recipients' exercise of the rights granted herein. -You are not responsible for enforcing compliance by third parties to -this License. - - 7. If, as a consequence of a court judgment or allegation of patent -infringement or for any other reason (not limited to patent issues), -conditions are imposed on you (whether by court order, agreement or -otherwise) that contradict the conditions of this License, they do not -excuse you from the conditions of this License. If you cannot -distribute so as to satisfy simultaneously your obligations under this -License and any other pertinent obligations, then as a consequence you -may not distribute the Program at all. For example, if a patent -license would not permit royalty-free redistribution of the Program by -all those who receive copies directly or indirectly through you, then -the only way you could satisfy both it and this License would be to -refrain entirely from distribution of the Program. - -If any portion of this section is held invalid or unenforceable under -any particular circumstance, the balance of the section is intended to -apply and the section as a whole is intended to apply in other -circumstances. - -It is not the purpose of this section to induce you to infringe any -patents or other property right claims or to contest validity of any -such claims; this section has the sole purpose of protecting the -integrity of the free software distribution system, which is -implemented by public license practices. Many people have made -generous contributions to the wide range of software distributed -through that system in reliance on consistent application of that -system; it is up to the author/donor to decide if he or she is willing -to distribute software through any other system and a licensee cannot -impose that choice. - -This section is intended to make thoroughly clear what is believed to -be a consequence of the rest of this License. - - 8. If the distribution and/or use of the Program is restricted in -certain countries either by patents or by copyrighted interfaces, the -original copyright holder who places the Program under this License -may add an explicit geographical distribution limitation excluding -those countries, so that distribution is permitted only in or among -countries not thus excluded. In such case, this License incorporates -the limitation as if written in the body of this License. - - 9. The Free Software Foundation may publish revised and/or new versions -of the General Public License from time to time. Such new versions will -be similar in spirit to the present version, but may differ in detail to -address new problems or concerns. - -Each version is given a distinguishing version number. If the Program -specifies a version number of this License which applies to it and "any -later version", you have the option of following the terms and conditions -either of that version or of any later version published by the Free -Software Foundation. If the Program does not specify a version number of -this License, you may choose any version ever published by the Free Software -Foundation. - - 10. If you wish to incorporate parts of the Program into other free -programs whose distribution conditions are different, write to the author -to ask for permission. For software which is copyrighted by the Free -Software Foundation, write to the Free Software Foundation; we sometimes -make exceptions for this. Our decision will be guided by the two goals -of preserving the free status of all derivatives of our free software and -of promoting the sharing and reuse of software generally. - - NO WARRANTY - - 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY -FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN -OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES -PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED -OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF -MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS -TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE -PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, -REPAIR OR CORRECTION. - - 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING -WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR -REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, -INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING -OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED -TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY -YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER -PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE -POSSIBILITY OF SUCH DAMAGES. Ficheiros binários contributions/modules/wymeditor/wymeditor/iframe/default/lbl-blockquote.png e wymeditor/wymeditor/iframe/default/lbl-blockquote.png diferem Ficheiros binários contributions/modules/wymeditor/wymeditor/iframe/default/lbl-div.png e wymeditor/wymeditor/iframe/default/lbl-div.png diferem Ficheiros binários contributions/modules/wymeditor/wymeditor/iframe/default/lbl-h1.png e wymeditor/wymeditor/iframe/default/lbl-h1.png diferem Ficheiros binários contributions/modules/wymeditor/wymeditor/iframe/default/lbl-h2.png e wymeditor/wymeditor/iframe/default/lbl-h2.png diferem Ficheiros binários contributions/modules/wymeditor/wymeditor/iframe/default/lbl-h3.png e wymeditor/wymeditor/iframe/default/lbl-h3.png diferem Ficheiros binários contributions/modules/wymeditor/wymeditor/iframe/default/lbl-h4.png e wymeditor/wymeditor/iframe/default/lbl-h4.png diferem Ficheiros binários contributions/modules/wymeditor/wymeditor/iframe/default/lbl-h5.png e wymeditor/wymeditor/iframe/default/lbl-h5.png diferem Ficheiros binários contributions/modules/wymeditor/wymeditor/iframe/default/lbl-h6.png e wymeditor/wymeditor/iframe/default/lbl-h6.png diferem Ficheiros binários contributions/modules/wymeditor/wymeditor/iframe/default/lbl-p.png e wymeditor/wymeditor/iframe/default/lbl-p.png diferem Ficheiros binários contributions/modules/wymeditor/wymeditor/iframe/default/lbl-pre.png e wymeditor/wymeditor/iframe/default/lbl-pre.png diferem Ficheiros binários contributions/modules/wymeditor/wymeditor/iframe/default/Thumbs.db e wymeditor/wymeditor/iframe/default/Thumbs.db diferem diff -urpN contributions/modules/wymeditor/wymeditor/iframe/default/wymiframe.css wymeditor/wymeditor/iframe/default/wymiframe.css --- contributions/modules/wymeditor/wymeditor/iframe/default/wymiframe.css 1970-01-01 01:00:00.000000000 +0100 +++ wymeditor/wymeditor/iframe/default/wymiframe.css 2008-02-25 15:28:38.000000000 +0000 @@ -0,0 +1,91 @@ +/* + * WYMeditor : what you see is What You Mean web-based editor + * Copyright (C) 2007 H.O.net - http://www.honet.be/ + * Dual licensed under the MIT (MIT-license.txt) + * and GPL (GPL-license.txt) licenses. + * + * For further information visit: + * http://www.wymeditor.org/ + * + * File Name: + * wymeditor.css + * Main editor css file. + * See the documentation for more info. + * + * File Authors: + * Jean-Francois Hovinne (jf.hovinne@wymeditor.org) + * Daniel Reszka (d.reszka@wymeditor.org) +*/ + +/* VISUAL FEEDBACK */ + +/* basic */ + body { background: #e1e8f1; font-size:12px; font-family: Arial;} + +/* make HTML blocs visible */ + p, + h1, + h2, + h3, + h4, + h5, + h6, + ul, + ol, + table, + blockquote, + div, + pre { background: #FFFFFF no-repeat 2px 2px; + padding:8px 5px 5px; + margin:10px; } + td { background: #F0F4F8; } + th { background: #ffffcc; } + ul, + ol { border-left:20px solid #B9C4D0; padding:0px 5px; } + caption { background: #E4E4B0; padding: 5px; font-weight: bold; } + table { font-size: 12px; width: 500px; } + td { width: 25%; } + blockquote { margin-left: 30px; } + pre { background-color:transparent; border: 1px solid white; } + +/* Gecko min height fix */ + p { min-height: 1em; } /*min-height is needed under Firefox, because empty parargraphs */ + *+html p { min-height: auto; } /* but we have to remove it under IE7 because it triggers the 'haslayout' mode */ + td { height: 1.6em; } + +/* labels */ + div { background-image: url(lbl-div.png); } + p { background-image: url(lbl-p.png); } + h1 { background-image: url(lbl-h1.png); } + h2 { background-image: url(lbl-h2.png); } + h3 { background-image: url(lbl-h3.png); } + h4 { background-image: url(lbl-h4.png); } + h5 { background-image: url(lbl-h5.png); } + h6 { background-image: url(lbl-h6.png); } + blockquote{ background-image: url(lbl-blockquote.png); } + pre { background-image: url(lbl-pre.png); } + +/* specific HTML elements */ + caption { text-align: left; } + img { margin-right: 5px; + border-style: solid; + border-color: gray; + border-width: 0; } + a img { border-width: 1px; border-color: blue; } + acronym { border: 1px solid gray; } + +/* visual feedback for non-valid nesting of elements*/ + h1 h1, h1 h2, h1 h3, h1 h4, h1 h5, h1 h6, h1 p, h1 pre, h1 address, + h2 h1, h2 h2, h2 h3, h2 h4, h2 h5, h2 h6, h2 p, h2 pre, h2 address, + h3 h1, h3 h2, h3 h3, h3 h4, h3 h5, h3 h6, h3 p, h3 pre, h3 address, + h4 h1, h4 h2, h4 h3, h4 h4, h4 h5, h4 h6, h4 p, h4 pre, h4 address, + h5 h1, h5 h2, h5 h3, h5 h4, h5 h5, h5 h6, h5 p, h5 pre, h5 address, + h6 h1, h6 h2, h6 h3, h6 h4, h6 h4, h6 h6, h6 p, h6 pre, h6 address, + p h1, p h2, p h3, p h4, p h5, p h6, p pre, p address, + pre h1, pre h2, pre h3, pre h4, pre h5, pre h6, pre p, pre pre, pre address, + address h1, address h2, address h3, address h4, address h5, address h6, + address p, address pre, address address + { background-color: #ff9999 !important; + border: 1px solid red !important; + font-size: 12px !important; + font-weight: normal; } diff -urpN contributions/modules/wymeditor/wymeditor/iframe/default/wymiframe.html wymeditor/wymeditor/iframe/default/wymiframe.html --- contributions/modules/wymeditor/wymeditor/iframe/default/wymiframe.html 1970-01-01 01:00:00.000000000 +0100 +++ wymeditor/wymeditor/iframe/default/wymiframe.html 2008-02-25 15:23:36.000000000 +0000 @@ -0,0 +1,25 @@ + + + + +WYMeditor iframe + + + + diff -urpN contributions/modules/wymeditor/wymeditor/iframe.htm wymeditor/wymeditor/iframe.htm --- contributions/modules/wymeditor/wymeditor/iframe.htm 2006-11-22 00:08:18.000000000 +0000 +++ wymeditor/wymeditor/iframe.htm 1970-01-01 01:00:00.000000000 +0100 @@ -1,27 +0,0 @@ - - - - - -WYMeditor - - - - - diff -urpN contributions/modules/wymeditor/wymeditor/images/CVS/Entries wymeditor/wymeditor/images/CVS/Entries --- contributions/modules/wymeditor/wymeditor/images/CVS/Entries 2008-02-26 14:17:36.000000000 +0000 +++ wymeditor/wymeditor/images/CVS/Entries 1970-01-01 01:00:00.000000000 +0100 @@ -1,2 +0,0 @@ -/wym-editor.png/1.1/Wed Nov 22 00:08:18 2006/-kb/ -D diff -urpN contributions/modules/wymeditor/wymeditor/images/CVS/Repository wymeditor/wymeditor/images/CVS/Repository --- contributions/modules/wymeditor/wymeditor/images/CVS/Repository 2008-02-26 14:17:36.000000000 +0000 +++ wymeditor/wymeditor/images/CVS/Repository 1970-01-01 01:00:00.000000000 +0100 @@ -1 +0,0 @@ -contributions/modules/wymeditor/wymeditor/images diff -urpN contributions/modules/wymeditor/wymeditor/images/CVS/Root wymeditor/wymeditor/images/CVS/Root --- contributions/modules/wymeditor/wymeditor/images/CVS/Root 2008-02-26 14:17:36.000000000 +0000 +++ wymeditor/wymeditor/images/CVS/Root 1970-01-01 01:00:00.000000000 +0100 @@ -1 +0,0 @@ -:pserver:anonymous:anonymous@cvs.drupal.org:/cvs/drupal-contrib Ficheiros binários contributions/modules/wymeditor/wymeditor/images/wym-editor.png e wymeditor/wymeditor/images/wym-editor.png diferem diff -urpN contributions/modules/wymeditor/wymeditor/jquery.wymeditor.pack.js wymeditor/wymeditor/jquery.wymeditor.pack.js --- contributions/modules/wymeditor/wymeditor/jquery.wymeditor.pack.js 1970-01-01 01:00:00.000000000 +0100 +++ wymeditor/wymeditor/jquery.wymeditor.pack.js 2008-01-29 10:06:13.000000000 +0000 @@ -0,0 +1 @@ +eval(function(p,a,c,k,e,d){e=function(c){return(c35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--)d[e(c)]=k[c]||e(c);k=[function(e){return d[e]}];e=function(){return'\\w+'};c=1};while(c--)if(k[c])p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c]);return p}('f(!2y)9 2y=Y 1q();9 8P={63:\'63\',62:\'62\',4i:\'4i\',4h:\'4h\',8C:\'co 8T\',8B:\'cn 8T\',3m:\'3m\',3l:\'3l\',4g:\'4g\',4f:\'4f\',3j:\'3j\',4e:\'4e\',3i:\'3i\',2G:\'2G\',60:\'60\',5Y:\'5Y\',8w:\'2H 1\',8v:\'2H 2\',8u:\'2H 3\',8t:\'2H 4\',8s:\'2H 5\',8r:\'2H 6\',5X:\'5X\',5W:\'5W\',8q:\'2G cm\',4c:\'4c\',4b:\'4b\',88:\'cl 18\',5P:\'5P\',84:\'8S 8R 7Y\',82:\'8S 8R 7X\',2F:\'2F\',2E:\'2E\',8Q:\'8Q\',3k:\'3k\',49:\'61 ck cj\',64:\'64\',5Z:\'5Z\',5V:\'5V\',5U:\'5U\',8p:\'ci ch\'};2y[\'8F\']=8P;9 1r=Y 1q();9 43="o";9 1C="{cg}";9 7m="{cf}";9 5d="{ce}";9 5c="{cd}";9 5L="{cc}";9 7U="19/1X/";9 5b="{cb}";9 5K="{ca}";9 5B="{c9}";9 5D="{c8}";9 44="{c7}";9 5C="{c6}";9 5I="{c5}";9 5x="{c4}";9 5z="{c3}";9 5y="{c2}";9 5J="{c1}";9 5r="{c0}";9 5u="{bZ}";9 5t="{bY}";9 5s="{bX}";9 5H="{bW}";9 5G="{bV}";9 5F="{bU}";9 5a="{bT}";9 59="{bS}";9 23="H";9 7x="bR";9 2k="p";9 5o="8O";9 3L="1j";9 5n="8N";9 5m="8M";9 5l="8L";9 5k="8K";9 3C="8I";9 3a="1E";9 3b="8H";9 3c="8G";9 2V="a";9 6i="br";9 4H="70";9 6K="26";9 6l="1n";9 6m="8J";9 4q="1V";9 7y="l";9 3K="1A";9 2S="1g";9 2R="w";9 3I="bQ";9 2X="3j";9 3Y="3i";9 3X="2G";9 3W="49";9 6k="8E";9 6j="8D";9 4K="8A";9 4J="8z";9 7D="8y";9 7C="61";9 2J="3m";9 2I="3l";9 7B="8x";9 3B="bP";9 3V="3k";9 4S="1X";9 6G=Y 1q(2k,5o,3L,5n,5m,5l,5k,3C,3a);9 4r=Y 1q("bO","1E","m","bN","1G","1F","8O","1j","8N","8M","8L","8K","bM","bL","8J","p","8I","26","1n","bK","bJ","1V","bI","8H","bH","8G","bG","bF");9 bE={bD:8,bC:13,bB:35,bA:36,bz:37,by:38,bx:39,bw:40,bv:Y 1q(37,38,39,40),bu:46};9 bt={bs:1,bq:2,bp:3};d.4y.2u=j(2C){2C=d.54({A:"",29:F,3U:F,3T:F,45:F,3S:F,7b:\'bo.2w.2v\',72:\'bn.2w.2v\',W:F,30:F,34:"8F",K:""+""+5K+""+""+""+5J+5I+""+""+5H+5G+5F+""+""+"bj"+""+"",2B:""+"<19 "+"1g=\'"+5L+"bi.A\' "+"2D=\'7.1d.bh.1r["+1C+"].3t(7)\' "+">"+"",21:[],7S:""+"<1j>{64}"+"<1n>"+5B+""+"",7M:"<1V l=\'"+5C+"\'>"+44+"",7N:[{\'o\':\'8E\',\'w\':\'63\',\'z\':\'bg\'},{\'o\':\'8D\',\'w\':\'62\',\'z\':\'bf\'},{\'o\':\'4i\',\'w\':\'4i\',\'z\':\'be\'},{\'o\':\'4h\',\'w\':\'4h\',\'z\':\'bd\'},{\'o\':\'bc\',\'w\':\'8C\',\'z\':\'bb\'},{\'o\':\'ba\',\'w\':\'8B\',\'z\':\'b9\'},{\'o\':\'3m\',\'w\':\'3m\',\'z\':\'b8\'},{\'o\':\'3l\',\'w\':\'3l\',\'z\':\'b7\'},{\'o\':\'4g\',\'w\':\'4g\',\'z\':\'b6\'},{\'o\':\'4f\',\'w\':\'4f\',\'z\':\'b5\'},{\'o\':\'8A\',\'w\':\'3j\',\'z\':\'b4\'},{\'o\':\'4e\',\'w\':\'4e\',\'z\':\'b3\'},{\'o\':\'8z\',\'w\':\'3i\',\'z\':\'b2\'},{\'o\':\'8y\',\'w\':\'2G\',\'z\':\'b1\'},{\'o\':\'61\',\'w\':\'49\',\'z\':\'b0\'},{\'o\':\'8x\',\'w\':\'60\',\'z\':\'aZ\'},{\'o\':\'3k\',\'w\':\'3k\',\'z\':\'aY\'}],7R:""+"<1j>{5Z}"+"<1n>"+5r+""+"",7J:"<1V l=\'"+5s+"\'>"+""+5t+"",7K:[{\'o\':\'P\',\'w\':\'5Y\',\'z\':\'aX\'},{\'o\':\'aW\',\'w\':\'8w\',\'z\':\'aV\'},{\'o\':\'aU\',\'w\':\'8v\',\'z\':\'aT\'},{\'o\':\'aS\',\'w\':\'8u\',\'z\':\'aR\'},{\'o\':\'aQ\',\'w\':\'8t\',\'z\':\'aO\'},{\'o\':\'aN\',\'w\':\'8s\',\'z\':\'aM\'},{\'o\':\'aL\',\'w\':\'8r\',\'z\':\'aK\'},{\'o\':\'aJ\',\'w\':\'5X\',\'z\':\'aI\'},{\'o\':\'aH\',\'w\':\'5W\',\'z\':\'aG\'},{\'o\':\'aF\',\'w\':\'8q\',\'z\':\'aE\'}],7Q:""+"<1j>{5V}<1n>"+5x+"",7L:"<1V>"+5y+"",2t:[],7O:""+"<1j>{5U}"+"",7P:""+"<1j>{8p}"+"<48 l=\'8k\'>"+"",4P:".8o",6Y:".5T",aD:" 1n",6X:".5S",6Z:".5R",56:".8n",aC:".8m 19",7u:".8l",3r:".5T a",7I:".5S a",7H:".5R a",5e:".8k",4L:".8b",3J:".89",2Q:".5Q",3H:".87",6E:".7Z",6M:".83",6L:".81",6J:".85",2P:".3g",6A:".3f",6B:"",6R:".3h",6O:".8c",2U:".8a",6N:".86",6F:".80",6C:".7W",7G:".aB",7F:"1O",7s:"aA=4d,az=4d,ay=4d,ax=4d"+",aw=av,au=at,as=0,6U=0",1Q:""+"<8d>"+"<27 ah=\'30\' M=\'18/z\' ag=\'7d\'"+" 1A=\'"+5d+"\' />"+""+5a+""+"<2a M=\'18/8e\'"+" 1g=\'"+5b+"\'>"+"<2a M=\'18/8e\'"+" 1g=\'"+5c+"\'>"+""+59+"",7r:""+"<1F>"+"<1G>"+""+"<1U>{3j}"+""+"<16>{4c}"+""+""+""+"<16>{4b}"+""+""+""+""+""+""+""+""+"",7q:""+"<1F>"+"<1G>"+""+"<1U>{3i}"+""+"<16>{4c}"+""+""+""+"<16>{88}"+""+""+""+"<16>{4b}"+""+""+""+""+""+""+""+""+"",7p:""+"<1F>"+"<1G>"+""+"<1U>{2G}"+""+"<16>{5P}"+""+""+""+"<16>{84}"+""+""+""+"<16>{82}"+""+""+""+""+""+""+""+""+"",7o:""+"<1F>"+""+"<1G>"+"<1U>{49}"+""+"<48 l=\'7Z\' 7Y=\'10\' 7X=\'50\'>"+""+""+""+""+""+""+""+"",7n:"",2W:[],3M:4S,33:"{",32:"}",5N:D,20:D,1Y:D,4M:D,4z:D},2C);q 7.af(j(){Y C(d(7),2C)})};d.54({ae:j(i){q(1r[i])},ad:j(34,7V){q(2y[34][7V])}});j C(2N,2C){7.2g=1r.6b(7)-1;7.5f=2N;7.c=2C;7.2K=d(2N).S();f(7.c.A)7.2K=7.c.A;7.c.29=7.c.29||7.7h();7.c.3U=7.c.3U||7.7e();7.c.3T=7.c.3T||7.7g();7.c.45=7.c.45||7.c.29+7U;7.c.3S=7.c.3S||7.7f();7.7T()};C.k.7T=j(){f(d.47.ac){9 1z=Y 1x(7)}I f(d.47.ab){9 1z=Y 1f(7)}I f(d.47.aa){9 1z=Y 1H(7)}I f(d.47.a9){}f(1z){f(d.1v(7.c.5N))7.c.5N(7);7.7c(1z);f(7.c.W||7.c.30){7.74()}7.6a=Y 55();X(5M 7v 1z){7[5M]=1z[5M]}7.Q=d(7.5f).3q().4B(7.c.K).a8();9 2B=7.c.2B;2B=2B.G(1C,7.2g).G(5L,7.c.45);9 K=d(7.Q).A();K=K.G(5K,7.c.7S);K=K.G(5J,7.c.7R);K=K.G(5I,7.c.7Q);K=K.G(5H,7.c.7P);K=K.G(5G,2B);K=K.G(5F,7.c.7O);9 5E=1p(7.c.7N);9 5A="";X(9 i=0;i<5E.L;i++){9 2A=5E[i];f(2A.o&&2A.w)5A+=7.c.7M.G(5D,2A.o).G(44,7.c.33+2A.w+7.c.32).G(5C,2A.z)}K=K.G(5B,5A);9 3d=1p(7.c.2t);9 5w="";X(9 i=0;i<3d.L;i++){9 1S=3d[i];f(1S.o&&1S.w)5w+=7.c.7L.G(5z,1S.o).G(5y,1S.w)}K=K.G(5x,5w);9 5v=1p(7.c.7K);9 5q="";X(9 i=0;i<5v.L;i++){9 2z=5v[i];f(2z.o&&2z.w)5q+=7.c.7J.G(5u,2z.o).G(5t,7.c.33+2z.w+7.c.32).G(5s,2z.z)}K=K.G(5r,5q);K=7.58(K);d(7.Q).A(K);d(7.Q).V(7.c.56).3q();7.3M()}};C.k.3p=j(){9 h=7;d(7.Q).V(7.c.3r).1O(j(){h.7E(d(7).N(43));q(F)});d(7.Q).V(7.c.7I).1O(j(){h.v(d(7).N(43));q(F)});d(7.Q).V(7.c.5e).1s(j(){d(h.u.H).A(d(7).S())});d(7.Q).V(7.c.7H).1O(j(){9 3d=1p(h.c.2t);9 5p=d(7).N(43);9 1S=3d.6s(5p);f(1S){25=1S.a7;h.5i(5p,25)}q(F)});d(7.c.7G).1Z(7.c.7F,j(){h.31()})};C.k.a6=j(){q(7.u!=D)};C.k.a5=j(){q(7.Q)};C.k.A=j(A){f(A)d(7.u.H).A(A);I q(d(7.u.H).A())};C.k.4A=j(){q 7.75.4V(7.A())};C.k.7E=j(Z){1I(Z){O 4K:9 v=7.v();f(v||7.1a)7.2c(2X);J;O 4J:7.2c(3Y);J;O 7D:7.2c(3X);J;O 7C:7.2c(3W);J;O 7B:7.31();7.7k();J;O 3V:7.2c(3V);J;1X:7.1l(Z);J}};C.k.v=j(1h){f(1h){9 v=D;f(1h.11()==3c){v=7.v();1I(v.14.11()){O 3b:O 3c:J;1X:9 42=Y 1q(3b,3c);v=7.1N(7.v(),42);J}f(v!=D){1h=(v.14.11()==3b)?3c:3b;7.5h(v,1h);7.31()}}I{9 42=Y 1q(2k,5o,3L,5n,5m,5l,5k,3C,3a);v=7.1N(7.v(),42);f(v){9 1D=D;f(1h.11()==3a){9 1E=7.1N(7.v(),3a);f(1E==D){1D=7.u.4G(1h);v.1b.7A(1D,v);1D.a4(v);7.2d(1D.a3)}I{9 1i=1E.4m;9 5j=1i.L;9 41=D;f(5j>0)41=1i.3F(0);X(9 x=0;x<5j;x++){1E.1b.7A(1i.3F(0),1E)}1E.1b.a2(1E);f(41)7.2d(41)}}I 7.5h(v,1h);7.31()}}}I q(7.E())};C.k.5i=j(7z,25){9 v=(7.1a?7.1a:d(7.E()));v=d(v).3G(25);d(v).5i(7z);f(!d(v).N(7y))d(v).a1(7.3u)};C.k.1N=j(B,2n){f(B){9 1R=B.14.11();f(51(2n)==7x){7w(1R!=2n&&1R!=23){B=B.1b;1R=B.14.11()}}I{9 3Z=F;7w(!3Z&&1R!=23){X(9 i=0;i<2n.L;i++){f(1R==2n[i]){3Z=3y;J}}f(!3Z){B=B.1b;1R=B.14.11()}}}f(1R!=23)q(B);I q(D)}I q(D)};C.k.5h=j(B,1h){9 1D=7.u.4G(1h);9 A=d(B).A();B.1b.a0(1D,B);d(1D).A(A);7.2d(1D)};C.k.58=j(2x){X(9 5g 7v 2y[7.c.34]){2x=2x.G(7.c.33+5g+7.c.32,2y[7.c.34][5g])}q(2x)};C.k.7l=j(2x){q(7.c.33+2x+7.c.32)};C.k.68=j(7t){d(7.Q).V(7.c.7u).A(7t)};C.k.31=j(){9 A=7.4A();d(7.5f).S(A);d(7.Q).V(7.c.5e).S(A)};C.k.2c=j(1h){9 57=R.9Z(\'\',\'2c\',7.1e.c.7s);f(57){9 2b="";1I(1h){O(2X):2b=7.c.7r;J;O(3Y):2b=7.c.7q;J;O(3X):2b=7.c.7p;J;O(3W):2b=7.c.7o;J;O(3V):2b=7.c.7n;J}9 1Q=7.c.1Q;1Q=1Q.G(7m,7.c.29).G(5d,7.c.3U).G(5c,7.c.3T).G(5b,7.c.3S).G(5a,7.7l(1h)).G(59,2b).G(1C,7.2g);1Q=7.58(1Q);9 1P=57.1J;1P.9Y(1Q);1P.2o()}};C.k.7k=j(){d(7.Q).V(7.c.56).9X()};C.k.6Q=j(){9 7j=Y 9W();q("h-"+7j.9V())};C.k.4s=j(7i){9 1B;9 v=7.E();9 aP=7i.9U(7.2h+7.2h);9 2O=Y 6v(7.2h,"g");f(v&&v.14.11()!=23){X(x=aP.L-1;x>=0;x--){1B=aP[x];1B=1B.1w(2O,"
");d(v).4B("

"+1B+"

")}}I{X(x=0;x");d(7.u.H).4C("

"+1B+"

")}}};C.k.2L=j(1P,1m){9 W=1P.2M[0];f(W){X(9 i=0;i<1m.L;i++){9 1c=1m[i];f(1c.o&&1c.z)7.3n(W,1c)}}};C.k.7h=j(){q d(d.3Q(d(\'2a\'),j(s){q(s.1g&&s.1g.3P(/3R\\.2u(\\.2w){0,1}\\.2v(\\?.*)?$/))})).N(\'1g\').1w(/3R\\.2u(\\.2w){0,1}\\.2v(\\?.*)?$/,\'\')};C.k.7g=j(){q d(d.3Q(d(\'2a\'),j(s){q(s.1g&&s.1g.3P(/3R\\.2u(\\.2w){0,1}\\.2v(\\?.*)?$/))})).N(\'1g\')};C.k.7f=j(){q d(d.3Q(d(\'2a\'),j(s){q(s.1g&&s.1g.3P(/3R(-(.*)){0,1}(\\.2w){0,1}\\.2v(\\?.*)?$/))})).N(\'1g\')};C.k.7e=j(){q d(d.3Q(d(\'27\'),j(s){q(s.1A&&s.1A.3P(/2u\\/9T\\/(.*)7d\\.z(\\?.*)?$/))})).N(\'1A\')};C.k.7c=j(1z){f(51 3O!=\'j\'){1p(d.4Z({4Y:7.c.29+7.c.7b,4X:F}).4W);R.55=55;R.7a=7a;R.79=79;R.78=78;R.77=77;R.76=76;R.53=53;R.3O=3O}9 52=Y 3O();d.54(52,1z);7.75=Y 53(52)};C.k.74=j(){f(51 3N!=\'j\'){1p(d.4Z({4Y:7.c.29+7.c.72,4X:F}).4W);R.71=71;R.3N=3N}9 2s=Y 3N();f(7.c.30){2s.4V(d.4Z({4Y:7.c.30,4X:F}).4W)}I{2s.4V(7.c.W,F)}f(7.c.2t.L==0){7.c.2t=2s.4U.2t}f(7.c.21.L==0){7.c.21=2s.4U.21}f(7.c.2W.L==0){7.c.2W=2s.4U.2W}};C.k.1W=j(){d(7.u.H).1Z("2Z",7.2Z);9 4T=7.u.H.4I("70");X(9 i=0;i<4T.L;i++){d(4T[i]).1Z("2Z",7.2Z)}};C.k.2Z=j(12){9 h=1r[7.9S.w];f(7.14.11()==4H)h.1a=7;I h.1a=D;12.9R()};C.k.3M=j(){1I(7.c.3M){O 4S:d(7.Q).2Y("9Q");d(7.Q).V(7.c.6Z).2Y("9P");d(7.Q).V(7.c.6Y).2Y("9O");d(7.Q).V(7.c.6X).2Y("9N").V(3L).4C("<4k>&9M;&9L;");d(7.Q).V("m.4R 1n").2m("m.4R").6W().2m(7.c.4P).V("m.4O").z({"6V-9K":"6T"});d(7.Q).V("m.4Q 1n").2m("m.4Q").6W().2m(7.c.4P).V("m.4O").z({"6V-6U":"6T"});d(7.Q).V(".28").4N(j(){d(7).2Y("4N")},j(){d(7).9J("4N")});J}};j 2r(6S){9 h=R.9I.1r[6S];9 1P=R.1J;9 E=h.E();9 6P=d(h.c.6R).S();9 2T=h.6Q();1I(6P){O 2X:f(E&&E.14&&E.14.11!=2V)E=d(E).3G(2V);f(!E&&h.1a)E=d(h.1a).3G(2V);J}f(d.1v(h.c.4M))h.c.4M(h,R);9 W=1P.2M[0];9 1m=1p(h.c.2W);h.2L(1P,1m);f(E){d(h.c.4L).S(d(E).N(3K));d(h.c.3J).S(d(E).N(2S));d(h.c.2Q).S(d(E).N(2R));d(h.c.3H).S(d(E).N(3I))}f(h.1a){d(h.c.2U+" "+h.c.3J).S(d(h.1a).N(2S));d(h.c.2U+" "+h.c.2Q).S(d(h.1a).N(2R));d(h.c.2U+" "+h.c.3H).S(d(h.1a).N(3I))}d(h.c.6O+" "+h.c.2P).1O(j(){9 2q=d(h.c.4L).S();f(2q.L>0){h.1l(4K,2T);9 27=D;9 1i=h.u.H.4I(2V);X(9 i=0;i<1i.L;i++){f(d(1i[i]).N(3K)==2T){27=d(1i[i]);J}}f(27){27.N(3K,2q);27.N(2R,d(h.c.2Q).S())}}R.2o()});d(h.c.2U+" "+h.c.2P).1O(j(){9 2q=d(h.c.3J).S();f(2q.L>0){h.1l(4J,2T);9 2p=D;9 1i=h.u.H.4I(4H);X(9 i=0;i<1i.L;i++){f(d(1i[i]).N(2S)==2T){2p=d(1i[i]);J}}f(2p){2p.N(2S,2q);2p.N(2R,d(h.c.2Q).S());2p.N(3I,d(h.c.3H).S())}}R.2o()});d(h.c.6N+" "+h.c.2P).1O(j(){9 4F=d(h.c.6M).S();9 4E=d(h.c.6L).S();f(4F>0&&4E>0){9 26=h.u.4G(6K);9 4D=D;9 9H=D;9 6H=d(h.c.6J).S();9 6I=26.9G();6I.9F=6H;X(x=0;x<4F;x++){4D=26.9E(x);X(y=0;y<4E;y++){4D.9D(y)}}9 B=d(h.1N(h.v(),6G)).9C(0);f(!B||!B.1b)d(h.u.H).4C(26);I d(B).4B(26)}R.2o()});d(h.c.6F+" "+h.c.2P).1O(j(){9 6D=d(h.c.6E).S();h.4s(6D);R.2o()});d(h.c.6C+" "+h.c.6B).A(h.4A());d(h.c.6A).9B(j(){R.2o()});f(d.1v(h.c.4z))h.c.4z(h,R)};d.4y.6z=j(){f(7[0].4x==3)q!(/[^\\t\\n\\r ]/.2i(7[0].6y));q F};j 6z(n){f(n.4x==3)q!(/[^\\t\\n\\r ]/.2i(n.6y));q F};d.4y.3G=j(25){9 n=7;f(n[0].4x==3)n=n.2m().6x(0,1);f(n.2n(25).1y()==1)q n;I q n.2m(25).6x(0,1)};4u.k.9A=j(6w,4w){q(7.9z(0,4w)+6w+7.9y(4w))};4u.k.G=j(6u,6t){9 2O=Y 6v(6u,"g");q(7.1w(2O,6t))};1q.k.9x=j(2N){X(9 i=0;i<7.L;i++){f(7[i]===2N){q 3y}}q F};1q.k.9w=j(3F){9 4v=-1;X(9 i=0;i<7.L;i++){f(7[i]==3F){4v=i;J}}q(4v)};4u.k.9v=j(){q 7.1w(/^(\\s*)|(\\s*)$/9u,\'\')};1q.k.6s=j(o){X(9 i=0;i<7.L;i++){9 4t=7[i];f(4t.o==o){q(4t)}}q(D)};j 1x(h){7.1e=h;7.3u="9t";7.2h="\\r\\n"};1x.k.3t=j(19){7.1k=19;7.u=19.1d.1J;9 W=7.u.2M[0];9 1m=1p(7.c.21);7.2L(7.u,1m);7.u.w=7.1e.2g;d(7.u.H).A(7.1e.2K);9 h=7;7.u.H.9s=j(){h.u.2f="3s";h.u=19.1d.1J};7.u.9r=j(){h.3E()};7.u.9q=j(){h.3E();h.1s()};7.u.9p=j(){h.3E()};7.u.H.9o=j(){h.1k.1d.6r.6q=F};7.u.H.9n=j(){h.1k.1d.6r.6q=F;h.4s(R.9m.9l("9k"))};f(7.6p){f(d.1v(7.c.20))7.c.20(7);7.1e.3p();f(d.1v(7.c.1Y))7.c.1Y(7);7.1W()}7.6p=3y;7.u.2f="3s";6f{7.u=19.1d.1J}6e(e){}};1x.k.1l=j(Z,1u){1I(Z){O 2J:O 2I:9 v=7.1N(7.v(),4q);f(v)7.u.1t(Z);J;1X:f(1u)7.u.1t(Z,F,1u);I 7.u.1t(Z);J}7.1W()};1x.k.E=j(){9 2l=7.1k.1d.1J.2l;f(2l!=D){f(2l.6o!=9j)q(2l.6o())}};1x.k.3E=j(){7.u.2l=7.u.6n.4n()};1x.k.3n=j(W,1c){W.9i(1c.o,1c.z)};1x.k.1s=j(){7.1a=D};1x.k.2d=j(B){9 1L=7.u.6n.4n();1L.9h(B);1L.6d(F);1L.9g(\'9f\',-1);1L.9e();B.4l()};j 1f(h){7.1e=h;7.3u="l";7.2h="\\n"};1f.k.3t=j(19){7.1k=19;7.u=19.9d;9 W=7.u.2M[0];9 1m=1p(7.c.21);7.2L(7.u,1m);7.u.w=7.1e.2g;7.A(7.1e.2K);7.3A();f(d.1v(7.c.20))7.c.20(7);7.1e.3p();d(7.u).1Z("4o",7.4o);d(7.u).1Z("1s",7.1s);d(7.u).1Z("4l",7.3A);f(d.1v(7.c.1Y))7.c.1Y(7);7.1W()};1f.k.A=j(A){f(A){7.u.2f="6g";A=A.1w(/<3w([^>]*)>/3D,"").1w(/<\\/3w>/3D,"").1w(/<3x([^>]*)>/3D,"").1w(/<\\/3x>/3D,"");d(7.u.H).A(A);7.3A()}I q(d(7.u.H).A())};1f.k.1l=j(Z,1u){f(!7.E())q(F);1I(Z){O 2J:O 2I:9 1o=7.E();9 2e=7.1k.1d.3o();9 1M=2e.1M;f(1M.4j=="#18")1M=1M.1b;1o=7.1N(1o,4r);1M=7.1N(1M,4r);f(1o&&1o==1M&&1o.14.11()==4q){9 4p=1o.1b.1b;f(1o.1b.4m.L>1||4p.14.11()==6m||4p.14.11()==6l)7.u.1t(Z,\'\',D)}J;1X:f(1u)7.u.1t(Z,\'\',1u);I 7.u.1t(Z,\'\',D)}9 v=7.E();f(v.14.11()==23)7.1l(3B,2k);7.1W()};1f.k.E=j(){9 2e=7.1k.1d.3o();9 B=2e.1o;f(B){f(B.4j=="#18")q(B.1b);I q(B)}I q(D)};1f.k.3n=j(W,1c){W.67(1c.o+" {"+1c.z+"}",W.65.L)};1f.k.4o=j(12){9 h=1r[7.w];f(12.6h){f(12.24==66){h.1l(6k);q F}f(12.24==73){h.1l(6j);q F}}};1f.k.1s=j(12){9 h=1r[7.w];h.1a=D;9 v=D;f(12.24==13&&!12.9c){d(h.u.H).9b(6i).9a();v=h.E();f(v&&v.14.11()==3C)h.1l(3B,2k);}I f(12.24!=8&&12.24!=17&&12.24!=46&&12.24!=99&&!12.98&&!12.6h){v=h.E();9 o=v.14.11();f(o=="3x"||o=="b"||o=="3w"||o=="i"||o=="3v"||o=="97"||o=="a")o=v.1b.14.11();f(o==23)h.1l(3B,2k)}};1f.k.3A=j(){f(7.2f=="6g"){6f{7.2f="3s";7.1t("96",\'\',F)}6e(e){}}};1f.k.2d=j(B){9 1L=1J.4n();1L.95(B);9 E=7.1k.1d.3o();E.94(1L);E.6d(B,B.4m.L);7.1k.1d.4l()};1f.k.93=j(2j,22){9 22=7.92.91(2j,22);f(2j==\'4k\'&&22.1K){9 3z=7.69(22.1K);f(3z){7.6c.90();9 2j=3z;7.6c.6b(3z);22.1K=\'\'}I{q}}7.8Z+=7.6a.2j(2j,22,3y)};1f.k.69=j(1K){f(/8Y/.2i(1K))q\'3x\';f(/8X/.2i(1K))q\'3w\';f(/3v/.2i(1K))q\'3v\';f(/3v/.2i(1K))q\'8W\';q F};j 1H(h){7.1e=h;7.3u="l";7.2h="\\r\\n"};1H.k.3t=j(19){7.1k=19;7.u=19.1d.1J;9 W=7.u.2M[0];9 1m=1p(7.c.21);7.2L(7.u,1m);7.u.w=7.1e.2g;7.u.2f="3s";7.A(7.1e.2K);f(d.1v(7.c.20))7.c.20(7);d(7.Q).V(7.c.3r+\'[@o=\'+2J+\']\').3q();d(7.Q).V(7.c.3r+\'[@o=\'+2I+\']\').3q();7.1e.3p();d(7.u).1Z("1s",7.1s);f(d.1v(7.c.1Y))7.c.1Y(7);7.1W()};1H.k.1l=j(Z,1u){1I(Z){O 2J:O 2I:7.68("8V 8U.");J;1X:f(1u)7.u.1t(Z,F,1u);I 7.u.1t(Z);J}7.1W()};1H.k.E=j(){9 2e=7.1k.1d.3o();9 B=2e.1o;f(B){f(B.4j=="#18")q(B.1b);I q(B)}I q(D)};1H.k.3n=j(W,1c){W.67(1c.o+" {"+1c.z+"}",W.65.L)};1H.k.1s=j(12){9 h=1r[7.w];h.1a=D};1H.k.2d=j(B){};',62,769,'|||||||this||var|||_options|jQuery||if||wym||function|prototype|class|div||name||return||||_doc|container|title|||css|html|node|Wymeditor|null|selected|false|replaceAll|body|else|break|boxHtml|length|type|attr|case||_box|window|val|value|input|find|styles|for|new|cmd||toLowerCase|evt||tagName|row|label||text|iframe|_selected_image|parentNode|oCss|contentWindow|_wym|WymClassMozilla|src|sType|nodes|h2|_iframe|_exec|aCss|ul|focusNode|eval|Array|WYM_INSTANCES|keyup|execCommand|param|isFunction|replace|WymClassExplorer|size|WymClass|href|sTmp|WYM_INDEX|newNode|blockquote|form|fieldset|WymClassOpera|switch|document|style|range|anchorNode|findUp|click|doc|dialogHtml|tagname|oClass|button|legend|li|listen|default|postInit|bind|preBind|editorStyles|attributes|WYM_BODY|keyCode|jqexpr|table|link|wym_section|basePath|script|sBodyHtml|dialog|setFocusToNode|sel|designMode|_index|_newLine|test|tag|WYM_P|caretPos|parents|filter|close|image|sUrl|WYM_INIT_DIALOG|CssParser|classesItems|wymeditor|js|pack|sVal|WYM_STRINGS|oContainer|oTool|iframeHtml|options|onload|Cancel|Submit|Table|Heading|WYM_OUTDENT|WYM_INDENT|_html|addCssRules|styleSheets|elem|rExp|submitSelector|titleSelector|WYM_TITLE|WYM_SRC|sStamp|dialogImageSelector|WYM_A|dialogStyles|WYM_DIALOG_LINK|addClass|mouseup|stylesheet|update|stringDelimiterRight|stringDelimiterLeft|lang||||||WYM_BLOCKQUOTE|WYM_TD|WYM_TH|aClasses|wym_dialog|wym_cancel|wym_submit|wym_dialog_type|Image|Link|Preview|Outdent|Indent|addCssRule|getSelection|bindEvents|hide|toolSelector|on|initIframe|_class|sub|em|strong|true|new_tag|enableDesignMode|WYM_FORMAT_BLOCK|WYM_PRE|gi|saveCaret|item|parentsOrSelf|altSelector|WYM_ALT|srcSelector|WYM_HREF|WYM_H2|skin|WymCssParser|XhtmlSaxListener|match|grep|jquery|jQueryPath|wymPath|cssPath|WYM_PREVIEW|WYM_DIALOG_PASTE|WYM_DIALOG_TABLE|WYM_DIALOG_IMAGE|bFound||firstNode|aTypes|WYM_NAME|WYM_TOOL_TITLE|iframeBasePath||browser|textarea|Paste_From_Word|hidden|Title|URL|no|Unlink|Redo|Undo|Subscript|Superscript|nodeName|span|focus|childNodes|createRange|keydown|ancestor|WYM_LI|WYM_BLOCKS|paste|Item|String|ret|pos|nodeType|fn|postInitDialog|xhtml|after|append|newRow|iCols|iRows|createElement|WYM_IMG|getElementsByTagName|WYM_INSERT_IMAGE|WYM_CREATE_LINK|hrefSelector|preInitDialog|hover|wym_area_main|boxSelector|wym_area_left|wym_area_right|WYM_DEFAULT_SKIN|images|css_settings|parse|responseText|async|url|ajax||typeof|SaxListener|XhtmlParser|extend|XmlHelper|htmlSelector|wDialog|replaceStrings|WYM_DIALOG_BODY|WYM_DIALOG_TITLE|WYM_JQUERY_PATH|WYM_WYM_PATH|WYM_CSS_PATH|htmlValSelector|_element|key|switchTo|toggleClass|lgt|WYM_H6|WYM_H5|WYM_H4|WYM_H3|WYM_H1|sName|sContainers|WYM_CONTAINERS_ITEMS|WYM_CONTAINER_CLASS|WYM_CONTAINER_TITLE|WYM_CONTAINER_NAME|aContainers|sClasses|WYM_CLASSES_ITEMS|WYM_CLASS_TITLE|WYM_CLASS_NAME|sTools|WYM_TOOLS_ITEMS|WYM_TOOL_CLASS|WYM_TOOL_NAME|aTools|WYM_STATUS|WYM_IFRAME|WYM_HTML|WYM_CLASSES|WYM_CONTAINERS|WYM_TOOLS|WYM_IFRAME_BASE_PATH|prop|preInit|indent|Caption|wym_title|wym_classes|wym_containers|wym_tools|Status|Classes|Blockquote|Preformatted|Paragraph|Containers|HTML|Paste|Emphasis|Strong|Tools|cssRules||insertRule|status|getTagForStyle|helper|push|_tag_stack|collapse|catch|try|off|ctrlKey|WYM_BR|WYM_ITALIC|WYM_BOLD|WYM_UL|WYM_OL|selection|parentElement|_initialized|returnValue|event|findByName|rep|old|RegExp|inserted|slice|data|isPhantomNode|cancelSelector|previewSelector|dialogPreviewSelector|sText|textSelector|dialogPasteSelector|WYM_MAIN_CONTAINERS|sCaption|newCaption|captionSelector|WYM_TABLE|colsSelector|rowsSelector|dialogTableSelector|dialogLinkSelector|dialogType|uniqueStamp|dialogTypeSelector|index|155px|left|margin|show|containersSelector|toolsSelector|classesSelector|img|WymCssLexer|cssParser||configureEditorUsingRawCss|parser|XhtmlLexer|Lexer|StateStack|ParallelRegex|XhtmlValidator|xhtmlParser|loadXhtmlParser|screen|computeCssPath|computeJqueryPath|computeWymPath|computeBasePath|sData|now|toggleHtml|encloseString|WYM_BASE_PATH|dialogPreviewHtml|dialogPasteHtml|dialogTableHtml|dialogImageHtml|dialogLinkHtml|dialogFeatures|sMessage|statusSelector|in|while|WYM_STRING|WYM_CLASS|sClass|insertBefore|WYM_TOGGLE_HTML|WYM_PASTE|WYM_INSERT_TABLE|exec|updateEvent|updateSelector|classSelector|containerSelector|containersItemHtml|containersItems|classesItemHtml|toolsItemHtml|toolsItems|statusHtml|htmlHtml|classesHtml|containersHtml|toolsHtml|init|WYM_IFRAME_DEFAULT|sKey|wym_dialog_preview|cols|rows|wym_text|wym_dialog_paste|wym_cols|Number_Of_Cols|wym_rows|Number_Of_Rows|wym_caption|wym_dialog_table|wym_alt|Alternative_Text|wym_src|wym_dialog_image|wym_href|wym_dialog_link|head|javascript|xhtml1|DTD|org|www|http|wym_html_val|wym_status|wym_iframe|wym_html|wym_box|Source_Code|Table_Header|Heading_6|Heading_5|Heading_4|Heading_3|Heading_2|Heading_1|ToggleHtml|InsertTable|InsertImage|CreateLink|Unordered_List|Ordered_List|Italic|Bold|en|th|td|pre|ol|h6|h5|h4|h3|h1|WYM_STRINGS_EN|Choose|of|Number|List|feature|Unsupported|super|italic|bold|output|pop|getValidTagAttributes|validator|openBlockTag|addRange|selectNode|styleWithCSS|sup|metaKey|224|remove|children|shiftKey|contentDocument|select|character|move|moveToElementText|addRule|undefined|Text|getData|clipboardData|onpaste|onbeforepaste|onclick|onkeyup|onbeforedeactivate|onfocus|className|gm|trim|indexOf|contains|substring|substr|insertAt|mousedown|get|insertCell|insertRow|innerHTML|createCaption|newCol|opener|removeClass|right|gt|nbsp|wym_dropdown|wym_buttons|wym_panel|wym_skin_default|stopPropagation|ownerDocument|skins|split|getTime|Date|toggle|write|open|replaceChild|removeAttr|removeChild|firstChild|appendChild|box|ready|expr|next|safari|opera|mozilla|msie|wymstrings|wymeditors|each|media|rel|dtd|strict|TR|w3|EN|Strict|XHTML|W3C|PUBLIC|DOCTYPE|top|300|height|560|width|resizable|toolbar|titlebar|menubar|wymupdate|iframeSelector|toolsListSelector|wym_containers_th|TH|wym_containers_blockquote|BLOCKQUOTE|wym_containers_pre|PRE|wym_containers_h6|H6|wym_containers_h5|H5|wym_containers_h4||H4|wym_containers_h3|H3|wym_containers_h2|H2|wym_containers_h1|H1|wym_containers_p|wym_tools_preview|wym_tools_html|wym_tools_paste|wym_tools_table|wym_tools_image|wym_tools_unlink|wym_tools_link|wym_tools_redo|wym_tools_undo|wym_tools_outdent|wym_tools_indent|wym_tools_unordered_list|InsertUnorderedList|wym_tools_ordered_list|InsertOrderedList|wym_tools_subscript|wym_tools_superscript|wym_tools_emphasis|wym_tools_strong|parent|wymiframe|WYMeditor|wym_wymeditor_link|wym_area_bottom|wym_area_top|wym_css_parser|xhtml_parser|TEXT|ATTRIBUTE||ELEMENT|WYM_NODE|DELETE|CURSOR|DOWN|RIGHT|UP|LEFT|HOME|END|ENTER|BACKSPACE|WYM_KEY|tr|thead|tfoot|tbody|dt|dd|noscript|hr|dl|address|FormatBlock|alt|string|Wym_Dialog_Body|Wym_Dialog_Title|Wym_Status|Wym_Iframe|Wym_Html|Wym_Container_Class|Wym_Containers_Title|Wym_Container_Name|Wym_Containers_Items|Wym_Containers|Wym_Class_Title|Wym_Class_Name|Wym_Classes_Items|Wym_Classes|Wym_Tool_Class|Wym_Tool_Title|Wym_Tool_Name|Wym_Tools_Items|Wym_Tools|Wym_Jquery_Path|Wym_Iframe_Base_Path|Wym_Wym_Path|Wym_Css_Path|Wym_Base_Path|Wym_Index|code|Source|Word|from|Alternative|Header|Unordered|Ordered'.split('|'),0,{})) diff -urpN contributions/modules/wymeditor/wymeditor/lang/ca.js wymeditor/wymeditor/lang/ca.js --- contributions/modules/wymeditor/wymeditor/lang/ca.js 1970-01-01 01:00:00.000000000 +0100 +++ wymeditor/wymeditor/lang/ca.js 2008-01-29 10:06:12.000000000 +0000 @@ -0,0 +1,47 @@ +if(!WYM_STRINGS) var WYM_STRINGS = new Array(); + +var WYM_STRINGS_CA = { + Strong: 'Ressaltar', + Emphasis: 'Emfatitzar', + Superscript: 'Superindex', + Subscript: 'Subindex', + Ordered_List: 'Llistat ordenat', + Unordered_List: 'Llistat sense ordenar', + Indent: 'Indentat', + Outdent: 'Sense indentar', + Undo: 'Desfer', + Redo: 'Refer', + Link: 'Enllaçar', + Unlink: 'Eliminar enllaç', + Image: 'Imatge', + Table: 'Taula', + HTML: 'HTML', + Paragraph: 'Paràgraf', + Heading_1: 'Capçalera 1', + Heading_2: 'Capçalera 2', + Heading_3: 'Capçalera 3', + Heading_4: 'Capçalera 4', + Heading_5: 'Capçalera 5', + Heading_6: 'Capçalera 6', + Preformatted: 'Pre-formatejat', + Blockquote: 'Cita', + Table_Header: 'Capçalera de la taula', + URL: 'URL', + Title: 'Títol', + Alternative_Text: 'Text alternatiu', + Caption: 'Llegenda', + Number_Of_Rows: 'Nombre de files', + Number_Of_Cols: 'Nombre de columnes', + Submit: 'Enviar', + Cancel: 'Cancel·lar', + Choose: 'Triar', + Preview: 'Vista prèvia', + Paste_From_Word: 'Pegar des de Word', + Tools: 'Eines', + Containers: 'Contenidors', + Classes: 'Classes', + Status: 'Estat', + Source_Code: 'Codi font' +}; + +WYM_STRINGS['ca'] = WYM_STRINGS_CA; diff -urpN contributions/modules/wymeditor/wymeditor/lang/de.js wymeditor/wymeditor/lang/de.js --- contributions/modules/wymeditor/wymeditor/lang/de.js 1970-01-01 01:00:00.000000000 +0100 +++ wymeditor/wymeditor/lang/de.js 2008-01-29 10:06:12.000000000 +0000 @@ -0,0 +1,47 @@ +if(!WYM_STRINGS) var WYM_STRINGS = new Array(); + +var WYM_STRINGS_DE = { + Strong: 'Fett', + Emphasis: 'Kursiv', + Superscript: 'Text hochstellen', + Subscript: 'Text tiefstellen', + Ordered_List: 'Geordnete Liste einfügen', + Unordered_List: 'Ungeordnete Liste einfügen', + Indent: 'Einzug erhöhen', + Outdent: 'Einzug vermindern', + Undo: 'Befehle rückgängig machen', + Redo: 'Befehle wiederherstellen', + Link: 'Hyperlink einfügen', + Unlink: 'Hyperlink entfernen', + Image: 'Bild einfügen', + Table: 'Tabelle einfügen', + HTML: 'HTML anzeigen/verstecken', + Paragraph: 'Absatz', + Heading_1: 'Überschrift 1', + Heading_2: 'Überschrift 2', + Heading_3: 'Überschrift 3', + Heading_4: 'Überschrift 4', + Heading_5: 'Überschrift 5', + Heading_6: 'Überschrift 6', + Preformatted: 'Vorformatiert', + Blockquote: 'Zitat', + Table_Header: 'Tabellenüberschrift', + URL: 'URL', + Title: 'Titel', + Alternative_Text: 'Alternativer Text', + Caption: 'Tabellenüberschrift', + Number_Of_Rows: 'Anzahl Zeilen', + Number_Of_Cols: 'Anzahl Spalten', + Submit: 'Absenden', + Cancel: 'Abbrechen', + Choose: 'Auswählen', + Preview: 'Vorschau', + Paste_From_Word: 'Aus Word einfügen', + Tools: 'Werkzeuge', + Containers: 'Inhaltstyp', + Classes: 'Klassen', + Status: 'Status', + Source_Code: 'Quellcode' +}; + +WYM_STRINGS['de'] = WYM_STRINGS_DE; diff -urpN contributions/modules/wymeditor/wymeditor/lang/en.js wymeditor/wymeditor/lang/en.js --- contributions/modules/wymeditor/wymeditor/lang/en.js 1970-01-01 01:00:00.000000000 +0100 +++ wymeditor/wymeditor/lang/en.js 2008-01-29 10:06:12.000000000 +0000 @@ -0,0 +1,48 @@ +if(!WYM_STRINGS) var WYM_STRINGS = new Array(); + +var WYM_STRINGS_EN = { + Strong: 'Strong', + Emphasis: 'Emphasis', + Superscript: 'Superscript', + Subscript: 'Subscript', + Ordered_List: 'Ordered List', + Unordered_List: 'Unordered List', + Indent: 'Indent', + Outdent: 'Outdent', + Undo: 'Undo', + Redo: 'Redo', + Link: 'Link', + Unlink: 'Unlink', + Image: 'Image', + Table: 'Table', + HTML: 'HTML', + Paragraph: 'Paragraph', + Heading_1: 'Heading 1', + Heading_2: 'Heading 2', + Heading_3: 'Heading 3', + Heading_4: 'Heading 4', + Heading_5: 'Heading 5', + Heading_6: 'Heading 6', + Div 'Div', + Preformatted: 'Preformatted', + Blockquote: 'Blockquote', + Table_Header: 'Table Header', + URL: 'URL', + Title: 'Title', + Alternative_Text: 'Alternative text', + Caption: 'Caption', + Number_Of_Rows: 'Number of rows', + Number_Of_Cols: 'Number of cols', + Submit: 'Submit', + Cancel: 'Cancel', + Choose: 'Choose', + Preview: 'Preview', + Paste_From_Word: 'Paste from Word', + Tools: 'Tools', + Containers: 'Containers', + Classes: 'Classes', + Status: 'Status', + Source_Code: 'Source code' +}; + +WYM_STRINGS['en'] = WYM_STRINGS_EN; diff -urpN contributions/modules/wymeditor/wymeditor/lang/es.js wymeditor/wymeditor/lang/es.js --- contributions/modules/wymeditor/wymeditor/lang/es.js 1970-01-01 01:00:00.000000000 +0100 +++ wymeditor/wymeditor/lang/es.js 2008-01-29 10:06:12.000000000 +0000 @@ -0,0 +1,47 @@ +if(!WYM_STRINGS) var WYM_STRINGS = new Array(); + +var WYM_STRINGS_ES = { + Strong: 'Resaltar', + Emphasis: 'Enfatizar', + Superscript: 'Superindice', + Subscript: 'Subindice', + Ordered_List: 'Lista ordenada', + Unordered_List: 'Lista sin ordenar', + Indent: 'Indentado', + Outdent: 'Sin indentar', + Undo: 'Deshacer', + Redo: 'Rehacer', + Link: 'Enlazar', + Unlink: 'Eliminar enlace', + Image: 'Imagen', + Table: 'Tabla', + HTML: 'HTML', + Paragraph: 'Párrafo', + Heading_1: 'Cabecera 1', + Heading_2: 'Cabecera 2', + Heading_3: 'Cabecera 3', + Heading_4: 'Cabecera 4', + Heading_5: 'Cabecera 5', + Heading_6: 'Cabecera 6', + Preformatted: 'Preformateado', + Blockquote: 'Cita', + Table_Header: 'Cabecera de la tabla', + URL: 'URL', + Title: 'Título', + Alternative_Text: 'Texto alternativo', + Caption: 'Leyenda', + Number_Of_Rows: 'Número de filas', + Number_Of_Cols: 'Número de columnas', + Submit: 'Enviar', + Cancel: 'Cancelar', + Choose: 'Seleccionar', + Preview: 'Vista previa', + Paste_From_Word: 'Pegar desde Word', + Tools: 'Herramientas', + Containers: 'Contenedores', + Classes: 'Clases', + Status: 'Estado', + Source_Code: 'Código fuente' +}; + +WYM_STRINGS['es'] = WYM_STRINGS_ES; diff -urpN contributions/modules/wymeditor/wymeditor/lang/fr.js wymeditor/wymeditor/lang/fr.js --- contributions/modules/wymeditor/wymeditor/lang/fr.js 1970-01-01 01:00:00.000000000 +0100 +++ wymeditor/wymeditor/lang/fr.js 2008-01-29 10:06:12.000000000 +0000 @@ -0,0 +1,47 @@ +if(!WYM_STRINGS) var WYM_STRINGS = new Array(); + +var WYM_STRINGS_FR = { + Strong: 'Mise en évidence', + Emphasis: 'Emphase', + Superscript: 'Exposant', + Subscript: 'Indice', + Ordered_List: 'Liste Ordonnée', + Unordered_List: 'Liste Non-Ordonnée', + Indent: 'Imbriqué', + Outdent: 'Non-imbriqué', + Undo: 'Annuler', + Redo: 'Rétablir', + Link: 'Lien', + Unlink: 'Supprimer le Lien', + Image: 'Image', + Table: 'Tableau', + HTML: 'HTML', + Paragraph: 'Paragraphe', + Heading_1: 'Titre 1', + Heading_2: 'Titre 2', + Heading_3: 'Titre 3', + Heading_4: 'Titre 4', + Heading_5: 'Titre 5', + Heading_6: 'Titre 6', + Preformatted: 'Pré-formatté', + Blockquote: 'Citation', + Table_Header: 'Cellule de titre', + URL: 'URL', + Title: 'Titre', + Alternative_Text: 'Texte alternatif', + Caption: 'Légende', + Number_Of_Rows: 'Nombre de lignes', + Number_Of_Cols: 'Nombre de colonnes', + Submit: 'Envoyer', + Cancel: 'Annuler', + Choose: 'Choisir', + Preview: 'Prévisualisation', + Paste_From_Word: 'Copier depuis Word', + Tools: 'Outils', + Containers: 'Type de texte', + Classes: 'Type de contenu', + Status: 'Infos', + Source_Code: 'Code source' +}; + +WYM_STRINGS['fr'] = WYM_STRINGS_FR; diff -urpN contributions/modules/wymeditor/wymeditor/lang/hu.js wymeditor/wymeditor/lang/hu.js --- contributions/modules/wymeditor/wymeditor/lang/hu.js 1970-01-01 01:00:00.000000000 +0100 +++ wymeditor/wymeditor/lang/hu.js 2008-01-29 10:06:12.000000000 +0000 @@ -0,0 +1,47 @@ +if(!WYM_STRINGS) var WYM_STRINGS = new Array(); + +var WYM_STRINGS_HU = { + Strong: 'Félkövér', + Emphasis: 'Kiemelt', + Superscript: 'Felső index', + Subscript: 'Alsó index', + Ordered_List: 'Rendezett lista', + Unordered_List: 'Rendezetlen lista', + Indent: 'Bekezdés', + Outdent: 'Bekezdés törlése', + Undo: 'Visszavon', + Redo: 'Visszaállít', + Link: 'Link', + Unlink: 'Link törlése', + Image: 'Kép', + Table: 'Tábla', + HTML: 'HTML', + Paragraph: 'Bekezdés', + Heading_1: 'Címsor 1', + Heading_2: 'Címsor 2', + Heading_3: 'Címsor 3', + Heading_4: 'Címsor 4', + Heading_5: 'Címsor 5', + Heading_6: 'Címsor 6', + Preformatted: 'Előformázott', + Blockquote: 'Idézet', + Table_Header: 'Tábla Fejléc', + URL: 'Webcím', + Title: 'Megnevezés', + Alternative_Text: 'Alternatív szöveg', + Caption: 'Fejléc', + Number_Of_Rows: 'Sorok száma', + Number_Of_Cols: 'Oszlopok száma', + Submit: 'Elküld', + Cancel: 'Mégsem', + Choose: 'Választ', + Preview: 'Előnézet', + Paste_From_Word: 'Másolás Word-ból', + Tools: 'Eszközök', + Containers: 'Tartalmak', + Classes: 'Osztályok', + Status: 'Állapot', + Source_Code: 'Forráskód' +}; + +WYM_STRINGS['hu'] = WYM_STRINGS_HU; diff -urpN contributions/modules/wymeditor/wymeditor/lang/it.js wymeditor/wymeditor/lang/it.js --- contributions/modules/wymeditor/wymeditor/lang/it.js 1970-01-01 01:00:00.000000000 +0100 +++ wymeditor/wymeditor/lang/it.js 2008-01-29 10:06:12.000000000 +0000 @@ -0,0 +1,47 @@ +if(!WYM_STRINGS) var WYM_STRINGS = new Array(); + +var WYM_STRINGS_IT = { + Strong: 'Grassetto', + Emphasis: 'Corsetto', + Superscript: 'Apice', + Subscript: 'Pedice', + Ordered_List: 'Lista Ordinata', + Unordered_List: 'Lista Puntata', + Indent: 'Indenta', + Outdent: 'Caccia', + Undo: 'Indietro', + Redo: 'Avanti', + Link: 'Inserisci Link', + Unlink: 'Togli Link', + Image: 'Inserisci Immagine', + Table: 'Inserisci Tabella', + HTML: 'HTML', + Paragraph: 'Paragrafo', + Heading_1: 'Heading 1', + Heading_2: 'Heading 2', + Heading_3: 'Heading 3', + Heading_4: 'Heading 4', + Heading_5: 'Heading 5', + Heading_6: 'Heading 6', + Preformatted: 'Preformattato', + Blockquote: 'Blockquote', + Table_Header: 'Header Tabella', + URL: 'Indirizzo', + Title: 'Titolo', + Alternative_Text: 'Testo Alternativo', + Caption: 'Caption', + Number_Of_Rows: 'Numero di Righe', + Number_Of_Cols: 'Numero di Colonne', + Submit: 'Invia', + Cancel: 'Cancella', + Choose: 'Scegli', + Preview: 'Anteprima', + Paste_From_Word: 'Incolla', + Tools: 'Tools', + Containers: 'Contenitori', + Classes: 'Classi', + Status: 'Stato', + Source_Code: 'Codice Sorgente' +}; + +WYM_STRINGS['it'] = WYM_STRINGS_IT; diff -urpN contributions/modules/wymeditor/wymeditor/lang/nl.js wymeditor/wymeditor/lang/nl.js --- contributions/modules/wymeditor/wymeditor/lang/nl.js 1970-01-01 01:00:00.000000000 +0100 +++ wymeditor/wymeditor/lang/nl.js 2008-01-29 10:06:12.000000000 +0000 @@ -0,0 +1,47 @@ +if(!WYM_STRINGS) var WYM_STRINGS = new Array(); + +var WYM_STRINGS_NL = { + Strong: 'Sterk benadrukken', + Emphasis: 'Benadrukken', + Superscript: 'Bovenschrift', + Subscript: 'Onderschrift', + Ordered_List: 'Geordende lijst', + Unordered_List: 'Ongeordende lijst', + Indent: 'Inspringen', + Outdent: 'Terugspringen', + Undo: 'Ongedaan maken', + Redo: 'Opnieuw uitvoeren', + Link: 'Linken', + Unlink: 'Ontlinken', + Image: 'Afbeelding', + Table: 'Tabel', + HTML: 'HTML', + Paragraph: 'Paragraaf', + Heading_1: 'Hoofding 1', + Heading_2: 'Hoofding 2', + Heading_3: 'Hoofding 3', + Heading_4: 'Hoofding 4', + Heading_5: 'Hoofding 5', + Heading_6: 'Hoofding 6', + Preformatted: 'Voorgeformatteerd', + Blockquote: 'Aanhaling', + Table_Header: 'Tabel hoofding', + URL: 'URL', + Title: 'Titel', + Alternative_Text: 'Alternatieve tekst', + Caption: 'Bijschrift', + Number_Of_Rows: 'Aantal rijen', + Number_Of_Cols: 'Aantal kolommen', + Submit: 'Versturen', + Cancel: 'Annuleren', + Choose: 'Kiezen', + Preview: 'Voorbeeld bekijken', + Paste_From_Word: 'Plakken uit Word', + Tools: 'Tools', + Containers: 'Containers', + Classes: 'Classes', + Status: 'Status', + Source_Code: 'Broncode' +}; + +WYM_STRINGS['nl'] = WYM_STRINGS_NL; diff -urpN contributions/modules/wymeditor/wymeditor/lang/pl.js wymeditor/wymeditor/lang/pl.js --- contributions/modules/wymeditor/wymeditor/lang/pl.js 1970-01-01 01:00:00.000000000 +0100 +++ wymeditor/wymeditor/lang/pl.js 2008-01-29 10:06:12.000000000 +0000 @@ -0,0 +1,47 @@ +if(!WYM_STRINGS) var WYM_STRINGS = new Array(); + +var WYM_STRINGS_PL = { + Strong: 'Nacisk', + Emphasis: 'Emfaza', + Superscript: 'Indeks górny', + Subscript: 'Indeks dolny', + Ordered_List: 'Lista numerowana', + Unordered_List: 'Lista wypunktowana', + Indent: 'Zwiększ wcięcie', + Outdent: 'Zmniejsz wcięcie', + Undo: 'Cofnij', + Redo: 'Ponów', + Link: 'Wstaw link', + Unlink: 'Usuń link', + Image: 'Obraz', + Table: 'Tabela', + HTML: 'Źródło HTML', + Paragraph: 'Akapit', + Heading_1: 'Nagłówek 1', + Heading_2: 'Nagłówek 2', + Heading_3: 'Nagłówek 3', + Heading_4: 'Nagłówek 4', + Heading_5: 'Nagłówek 5', + Heading_6: 'Nagłówek 6', + Preformatted: 'Preformatowany', + Blockquote: 'Cytat blokowy', + Table_Header: 'Nagłówek tabeli', + URL: 'URL', + Title: 'Tytuł', + Alternative_Text: 'Tekst alternatywny', + Caption: 'Tytuł tabeli', + Number_Of_Rows: 'Liczba wierszy', + Number_Of_Cols: 'Liczba kolumn', + Submit: 'Wyślij', + Cancel: 'Anuluj', + Choose: 'Wybierz', + Preview: 'Podgląd', + Paste_From_Word: 'Wklej z Worda', + Tools: 'Narzędzia', + Containers: 'Format', + Classes: 'Styl', + Status: 'Status', + Source_Code: 'Kod źródłowy' +}; + +WYM_STRINGS['pl'] = WYM_STRINGS_PL; diff -urpN contributions/modules/wymeditor/wymeditor/lang/pt.js wymeditor/wymeditor/lang/pt.js --- contributions/modules/wymeditor/wymeditor/lang/pt.js 1970-01-01 01:00:00.000000000 +0100 +++ wymeditor/wymeditor/lang/pt.js 2008-01-29 10:06:12.000000000 +0000 @@ -0,0 +1,47 @@ +if(!WYM_STRINGS) var WYM_STRINGS = new Array(); + +var WYM_STRINGS_PT = { + Strong: 'Negrito', + Emphasis: 'Itálico', + Superscript: 'Superior à linha', + Subscript: 'Inferior à linha', + Ordered_List: 'Lista numerada', + Unordered_List: 'Lista com marcas', + Indent: 'Avançar', + Outdent: 'Recuar', + Undo: 'Anular', + Redo: 'Refazer', + Link: 'Link', + Unlink: 'Unlink', + Image: 'Imagem', + Table: 'Tabela', + HTML: 'HTML', + Paragraph: 'Parágrafo', + Heading_1: 'Cabeçalho 1', + Heading_2: 'Cabeçalho 2', + Heading_3: 'Cabeçalho 3', + Heading_4: 'Cabeçalho 4', + Heading_5: 'Cabeçalho 5', + Heading_6: 'Cabeçalho 6', + Preformatted: 'Pré-formatado', + Blockquote: 'Citação', + Table_Header: 'Titulo da tabela', + URL: 'URL', + Title: 'Titulo', + Alternative_Text: 'Texto alternativo', + Caption: 'Legenda', + Number_Of_Rows: 'Numero de linhas', + Number_Of_Cols: 'Numero de colunas', + Submit: 'Submeter', + Cancel: 'Cancelar', + Choose: 'Escolher', + Preview: 'Pré-visualizar', + Paste_From_Word: 'Colar do Word', + Tools: 'Ferramentas', + Containers: 'Contentor', + Classes: 'Classes', + Status: 'Estado', + Source_Code: 'Código fonte' +}; + +WYM_STRINGS['pt'] = WYM_STRINGS_PT; diff -urpN contributions/modules/wymeditor/wymeditor/lang/sv.js wymeditor/wymeditor/lang/sv.js --- contributions/modules/wymeditor/wymeditor/lang/sv.js 1970-01-01 01:00:00.000000000 +0100 +++ wymeditor/wymeditor/lang/sv.js 2008-01-29 10:06:12.000000000 +0000 @@ -0,0 +1,47 @@ +if(!WYM_STRINGS) var WYM_STRINGS = new Array(); + +var WYM_STRINGS_SV = { + Strong: 'Viktigt', + Emphasis: 'Betoning', + Superscript: 'Upphöjt', + Subscript: 'Nedsänkt', + Ordered_List: 'Nummerlista', + Unordered_List: 'Punktlista', + Indent: 'Indrag', + Outdent: 'Utdrag', + Undo: 'Ångra', + Redo: 'Gör om', + Link: 'Länk', + Unlink: 'Ta bort länk', + Image: 'Bild', + Table: 'Tabell', + HTML: 'HTML', + Paragraph: 'Paragraf', + Heading_1: 'Rubrik 1', + Heading_2: 'Rubrik 2', + Heading_3: 'Rubrik 3', + Heading_4: 'Rubrik 4', + Heading_5: 'Rubrik 5', + Heading_6: 'Rubrik 6', + Preformatted: 'Förformaterad', + Blockquote: 'Blockcitat', + Table_Header: 'Tabellrubrik', + URL: 'URL', + Title: 'Titel', + Alternative_Text: 'Alternativ text', + Caption: 'Överskrift', + Number_Of_Rows: 'Antal rader', + Number_Of_Cols: 'Antal kolumner', + Submit: 'Skicka', + Cancel: 'Avbryt', + Choose: 'Välj', + Preview: 'Förhandsgranska', + Paste_From_Word: 'Klistra in från Word', + Tools: 'Verktyg', + Containers: 'Formatering', + Classes: 'Klasser', + Status: 'Status', + Source_Code: 'Källkod' +}; + +WYM_STRINGS['sv'] = WYM_STRINGS_SV; diff -urpN contributions/modules/wymeditor/wymeditor/MIT-license.txt wymeditor/wymeditor/MIT-license.txt --- contributions/modules/wymeditor/wymeditor/MIT-license.txt 2006-11-22 00:08:18.000000000 +0000 +++ wymeditor/wymeditor/MIT-license.txt 1970-01-01 01:00:00.000000000 +0100 @@ -1,20 +0,0 @@ -Copyright (C) 2006 H.O.net - http://www.honet.be/ - -Permission is hereby granted, free of charge, to any person obtaining -a copy of this software and associated documentation files (the -"Software"), to deal in the Software without restriction, including -without limitation the rights to use, copy, modify, merge, publish, -distribute, sublicense, and/or sell copies of the Software, and to -permit persons to whom the Software is furnished to do so, subject to -the following conditions: - -The above copyright notice and this permission notice shall be -included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND -NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE -LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION -OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION -WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff -urpN contributions/modules/wymeditor/wymeditor/plugins/hovertools/jquery.wymeditor.hovertools.js wymeditor/wymeditor/plugins/hovertools/jquery.wymeditor.hovertools.js --- contributions/modules/wymeditor/wymeditor/plugins/hovertools/jquery.wymeditor.hovertools.js 1970-01-01 01:00:00.000000000 +0100 +++ wymeditor/wymeditor/plugins/hovertools/jquery.wymeditor.hovertools.js 2008-01-29 10:06:12.000000000 +0000 @@ -0,0 +1,57 @@ +/* + * WYMeditor : what you see is What You Mean web-based editor + * Copyright (C) 2007 H.O.net - http://www.honet.be/ + * Dual licensed under the MIT (MIT-license.txt) + * and GPL (GPL-license.txt) licenses. + * + * For further information visit: + * http://www.wymeditor.org/ + * + * File Name: + * jquery.wymeditor.hovertools.js + * hovertools plugin for WYMeditor + * + * File Authors: + * Jean-Francois Hovinne (jf.hovinne@wymeditor.org) + */ + +//Extend WYMeditor +Wymeditor.prototype.hovertools = function() { + + var wym = this; + + //bind events on buttons + jQuery(this._box).find(this._options.toolSelector).hover( + function() { + wym.status(jQuery(this).html()); + }, + function() { + wym.status(' '); + } + ); + + //classes: add/remove a style attr to matching elems + //while mouseover/mouseout + jQuery(this._box).find(this._options.classSelector).hover( + function() { + var aClasses = eval(wym._options.classesItems); + var sName = jQuery(this).attr(WYM_NAME); + var oClass = aClasses.findByName(sName); + + if(oClass){ + jqexpr = oClass.expr; + //don't use jQuery.find() on the iframe body + //because of MSIE + jQuery + expando issue (#JQ1143) + if(!jQuery.browser.msie) + jQuery(wym._doc).find(jqexpr).css('background-color','#cfc'); + } + }, + function() { + //don't use jQuery.find() on the iframe body + //because of MSIE + jQuery + expando issue (#JQ1143) + if(!jQuery.browser.msie) + jQuery(wym._doc).find('*').removeAttr('style'); + } + ); + +}; diff -urpN contributions/modules/wymeditor/wymeditor/plugins/tidy/jquery.wymeditor.tidy.js wymeditor/wymeditor/plugins/tidy/jquery.wymeditor.tidy.js --- contributions/modules/wymeditor/wymeditor/plugins/tidy/jquery.wymeditor.tidy.js 1970-01-01 01:00:00.000000000 +0100 +++ wymeditor/wymeditor/plugins/tidy/jquery.wymeditor.tidy.js 2008-01-29 10:06:12.000000000 +0000 @@ -0,0 +1,82 @@ +/* + * WYMeditor : what you see is What You Mean web-based editor + * Copyright (C) 2007 H.O.net - http://www.honet.be/ + * Dual licensed under the MIT (MIT-license.txt) + * and GPL (GPL-license.txt) licenses. + * + * For further information visit: + * http://www.wymeditor.org/ + * + * File Name: + * jquery.wymeditor.tidy.js + * HTML Tidy plugin for WYMeditor + * + * File Authors: + * Jean-Francois Hovinne (jf.hovinne@wymeditor.org) + */ + +//Extend WYMeditor +Wymeditor.prototype.tidy = function(options) { + var tidy = new WymTidy(options, this); + return(tidy); +}; + +//WymTidy constructor +function WymTidy(options, wym) { + + options = jQuery.extend({ + + sUrl: "wymeditor/plugins/tidy/tidy.php", + sButtonHtml: "
  • " + + "" + + "Clean up HTML" + + "
  • ", + + sButtonSelector: "li.wym_tools_tidy a" + + }, options); + + this._options = options; + this._wym = wym; + +}; + +//WymTidy initialization +WymTidy.prototype.init = function() { + + var tidy = this; + + jQuery(this._wym._box).find( + this._wym._options.toolsSelector + this._wym._options.toolsListSelector) + .append(this._options.sButtonHtml); + + //handle click event + jQuery(this._wym._box).find(this._options.sButtonSelector).click(function() { + tidy.cleanup(); + return(false); + }); + +}; + +//WymTidy cleanup +WymTidy.prototype.cleanup = function() { + + var wym = this._wym; + var html = "" + wym.xhtml() + ""; + + jQuery.post(this._options.sUrl, { html: html}, function(data) { + + if(data.length > 0 && data != '0') { + if(data.indexOf(" 0) { + + // Specify configuration + $config = array( + 'bare' => true, + 'clean' => true, + 'doctype' => 'strict', + 'drop-empty-paras' => true, + 'drop-font-tags' => true, + 'drop-proprietary-attributes' => true, + 'enclose-block-text' => true, + 'indent' => false, + 'join-classes' => true, + 'join-styles' => true, + 'logical-emphasis' => true, + 'output-xhtml' => true, + 'show-body-only' => true, + 'wrap' => 0); + + // Tidy + $tidy = new tidy; + $tidy->parseString($html, $config, 'utf8'); + $tidy->cleanRepair(); + + // Output + echo $tidy; +} else { + +echo ('0'); +} +?> Ficheiros binários contributions/modules/wymeditor/wymeditor/plugins/tidy/wand.png e wymeditor/wymeditor/plugins/tidy/wand.png diferem diff -urpN contributions/modules/wymeditor/wymeditor/preview.js wymeditor/wymeditor/preview.js --- contributions/modules/wymeditor/wymeditor/preview.js 2006-11-22 00:08:18.000000000 +0000 +++ wymeditor/wymeditor/preview.js 1970-01-01 01:00:00.000000000 +0100 @@ -1,32 +0,0 @@ -/* - * WYMeditor : what you see is What You Mean web-based editor - * Copyright (C) 2006 H.O.net - http://www.honet.be/ - * Dual licensed under the MIT (MIT-license.txt) - * and GPL (GPL-license.txt) licenses. - * - * For further information visit: - * http://www.wymeditor.org/ - * - * File Name: - * preview.js - * Preview functions. - * See the documentation for more info. - * - * File Authors: - * Jean-François Hovinne (jf.hovinne@wymeditor.org) -*/ - -var iClass=1; - -function init() -{ - window.document.getElementById("preview_container").innerHTML=window.opener.editor().innerHTML; -} - -function switchSkin() -{ - if(iClass==3)iClass=1; - else iClass+=1; - window.document.body.className="sample_"+iClass; - window.document.getElementById("m_skin_name").innerText=window.document.body.className; -} diff -urpN contributions/modules/wymeditor/wymeditor/readme.txt wymeditor/wymeditor/readme.txt --- contributions/modules/wymeditor/wymeditor/readme.txt 2006-11-22 00:08:18.000000000 +0000 +++ wymeditor/wymeditor/readme.txt 1970-01-01 01:00:00.000000000 +0100 @@ -1,19 +0,0 @@ - - -WYMeditor documentation is available online at http://www.wymeditor.org/ diff -urpN contributions/modules/wymeditor/wymeditor/skins/CVS/Entries wymeditor/wymeditor/skins/CVS/Entries --- contributions/modules/wymeditor/wymeditor/skins/CVS/Entries 2008-02-26 14:24:12.000000000 +0000 +++ wymeditor/wymeditor/skins/CVS/Entries 1970-01-01 01:00:00.000000000 +0100 @@ -1,3 +0,0 @@ -/editor-skin.css/1.1/Wed Nov 22 00:08:18 2006// -D/default//// -D/preview//// diff -urpN contributions/modules/wymeditor/wymeditor/skins/CVS/Repository wymeditor/wymeditor/skins/CVS/Repository --- contributions/modules/wymeditor/wymeditor/skins/CVS/Repository 2008-02-26 14:17:36.000000000 +0000 +++ wymeditor/wymeditor/skins/CVS/Repository 1970-01-01 01:00:00.000000000 +0100 @@ -1 +0,0 @@ -contributions/modules/wymeditor/wymeditor/skins diff -urpN contributions/modules/wymeditor/wymeditor/skins/CVS/Root wymeditor/wymeditor/skins/CVS/Root --- contributions/modules/wymeditor/wymeditor/skins/CVS/Root 2008-02-26 14:17:36.000000000 +0000 +++ wymeditor/wymeditor/skins/CVS/Root 1970-01-01 01:00:00.000000000 +0100 @@ -1 +0,0 @@ -:pserver:anonymous:anonymous@cvs.drupal.org:/cvs/drupal-contrib diff -urpN contributions/modules/wymeditor/wymeditor/skins/default/CVS/Entries wymeditor/wymeditor/skins/default/CVS/Entries --- contributions/modules/wymeditor/wymeditor/skins/default/CVS/Entries 2008-02-26 14:17:36.000000000 +0000 +++ wymeditor/wymeditor/skins/default/CVS/Entries 1970-01-01 01:00:00.000000000 +0100 @@ -1,14 +0,0 @@ -/dialogs.css/1.1/Wed Nov 22 00:08:18 2006// -/display.css/1.1/Wed Nov 22 00:08:18 2006// -/icons.png/1.2/Wed Feb 7 16:27:49 2007/-kb/ -/layout.css/1.3/Wed Feb 7 16:27:49 2007// -/lbl-blockquote.png/1.1/Wed Nov 22 00:08:18 2006/-kb/ -/lbl-h1.png/1.1/Wed Nov 22 00:08:18 2006/-kb/ -/lbl-h2.png/1.1/Wed Nov 22 00:08:18 2006/-kb/ -/lbl-h3.png/1.1/Wed Nov 22 00:08:18 2006/-kb/ -/lbl-h4.png/1.1/Wed Nov 22 00:08:18 2006/-kb/ -/lbl-h5.png/1.1/Wed Nov 22 00:08:18 2006/-kb/ -/lbl-h6.png/1.1/Wed Nov 22 00:08:18 2006/-kb/ -/lbl-p.png/1.1/Wed Nov 22 00:08:18 2006/-kb/ -/lbl-pre.png/1.1/Wed Nov 22 00:08:18 2006/-kb/ -D diff -urpN contributions/modules/wymeditor/wymeditor/skins/default/CVS/Repository wymeditor/wymeditor/skins/default/CVS/Repository --- contributions/modules/wymeditor/wymeditor/skins/default/CVS/Repository 2008-02-26 14:17:36.000000000 +0000 +++ wymeditor/wymeditor/skins/default/CVS/Repository 1970-01-01 01:00:00.000000000 +0100 @@ -1 +0,0 @@ -contributions/modules/wymeditor/wymeditor/skins/default diff -urpN contributions/modules/wymeditor/wymeditor/skins/default/CVS/Root wymeditor/wymeditor/skins/default/CVS/Root --- contributions/modules/wymeditor/wymeditor/skins/default/CVS/Root 2008-02-26 14:17:36.000000000 +0000 +++ wymeditor/wymeditor/skins/default/CVS/Root 1970-01-01 01:00:00.000000000 +0100 @@ -1 +0,0 @@ -:pserver:anonymous:anonymous@cvs.drupal.org:/cvs/drupal-contrib diff -urpN contributions/modules/wymeditor/wymeditor/skins/default/dialogs.css wymeditor/wymeditor/skins/default/dialogs.css --- contributions/modules/wymeditor/wymeditor/skins/default/dialogs.css 2006-11-22 00:08:18.000000000 +0000 +++ wymeditor/wymeditor/skins/default/dialogs.css 1970-01-01 01:00:00.000000000 +0100 @@ -1,28 +0,0 @@ -/* - * WYMeditor : what you see is What You Mean web-based editor - * Copyright (C) 2006 H.O.net - http://www.honet.be/ - * Dual licensed under the MIT (MIT-license.txt) - * and GPL (GPL-license.txt) licenses. - * - * For further information visit: - * http://www.wymeditor.org/ - * - * File Name: - * dialog.css - * Dialogs css file. - * See the documentation for more info. - * - * File Authors: - * Daniel Reszka (d.reszka@wym-editor.org) -*/ - -/* DIALOGS */ - - .dialog { background: #e1e8f1} - .dialog input { border: 1px solid gray; margin-bottom: 5px; background-color: white; float: left; width: 380px } - .dialog label { float: left; width: 140px; margin: 0 0 0 10px; padding: 0; clear: both; } - .dialog p { margin: 0; padding: 1px 0 } - .dialog textarea { width: 380px; height: 200px; } - .dialog input#bt_submit { margin-left: 150px; background: #EEE ; clear: both; width: 100px} - .dialog input#bt_cancel { margin-left: 5px; background: #EEE ; width: 100px} - .dialog img#image_preview { margin-left: 150px; } diff -urpN contributions/modules/wymeditor/wymeditor/skins/default/display.css wymeditor/wymeditor/skins/default/display.css --- contributions/modules/wymeditor/wymeditor/skins/default/display.css 2006-11-22 00:08:18.000000000 +0000 +++ wymeditor/wymeditor/skins/default/display.css 1970-01-01 01:00:00.000000000 +0100 @@ -1,95 +0,0 @@ -/* - * WYMeditor : what you see is What You Mean web-based editor - * Copyright (C) 2006 H.O.net - http://www.honet.be/ - * Dual licensed under the MIT (MIT-license.txt) - * and GPL (GPL-license.txt) licenses. - * - * For further information visit: - * http://www.wymeditor.org/ - * - * File Name: - * display.css - * Default feedback styles. - * See the documentation for more info. - * - * File Authors: - * Daniel Reszka (d.reszka@wym-editor.org) - * - * Contributors: - * Maxime Caron (maxime.caron@gmail.com) - * - * Notes: - * Recommended tab width = 8 - * -*/ - -/* VISUAL FEEDBACK */ - - /* basic */ - #editor { background: #e1e8f1;} - - /* make HTML blocs visible */ - #editor p, - #editor h1, - #editor h2, - #editor h3, - #editor h4, - #editor h5, - #editor h6, - #editor ul, - #editor ol, - #editor table, - #editor blockquote, - #editor pre { background: #FFFFFF no-repeat 2px 2px; padding:8px 5px 5px; margin:10px; } - #editor td { background: #F0F4F8; border: 2px solid white;} - #editor th { background: #ffffcc;} - #editor ul, - #editor ol { border-left:20px solid #B9C4D0; padding:0px 5px;} - #editor caption { background: #E4E4B0; padding: 5px; font-weight: bold;} - #editor table { font-size: 12px; width: 90%;} - #editor td { width: 25%;} - #editor blockquote { margin-left: 30px;} - #editor pre { background-color:transparent; border: 1px solid white;} - - /* Gecko min height fix */ - #editor.iframe p { min-height: 1em;} - #editor.iframe td { height: 1.6em;} - - /* labels */ - #editor p { background-image: url(lbl-p.png);} - #editor h1 { background-image: url(lbl-h1.png);} - #editor h2 { background-image: url(lbl-h2.png);} - #editor h3 { background-image: url(lbl-h3.png);} - #editor h4 { background-image: url(lbl-h4.png);} - #editor h5 { background-image: url(lbl-h5.png);} - #editor h6 { background-image: url(lbl-h6.png);} - #editor blockquote { background-image: url(lbl-blockquote.png);} - #editor pre { background-image: url(lbl-pre.png);} - - /* specific HTML elements */ - #editor caption { text-align: left;} - #editor img { margin-right: 5px; border-style: solid; border-color: gray; border-width: 0;} - #editor a img { border-width: 1px; border-color: blue;} - #editor acronym { border: 1px solid gray;} - - /* custom classes display */ - #editor .important { color:red; font-weight:bold; border: 1px solid red;} - #editor .hidden-note { color:#aaa;} - #editor .hidden-note * { border-color: #aaa;} - #editor img.border { padding: 4px; background: #ccc;} - #editor p.date { background-color: #ffffcc;} - #editor p.block { border: 2px solid #aaa; background-position: 4px 4px ;} - #editor p.imglegend { border: 1px solid; padding:5px; margin:10px; background-color: #ccffff; font-style: italic;} - #editor p.imglegend img { border: 1px solid gray;} - - /* visual feedback for non-valid nesting of elements*/ - h1 h1, h1 h2, h1 h3, h1 h4, h1 h5, h1 h6, h1 p, h1 pre, h1 address, - h2 h1, h2 h2, h2 h3, h2 h4, h2 h5, h2 h6, h2 p, h2 pre, h2 address, - h3 h1, h3 h2, h3 h3, h3 h4, h3 h5, h3 h6, h3 p, h3 pre, h3 address, - h4 h1, h4 h2, h4 h3, h4 h4, h4 h5, h4 h6, h4 p, h4 pre, h4 address, - h5 h1, h5 h2, h5 h3, h5 h4, h5 h5, h5 h6, h5 p, h5 pre, h5 address, - h6 h1, h6 h2, h6 h3, h6 h4, h6 h4, h6 h6, h6 p, h6 pre, h6 address, - p h1, p h2, p h3, p h4, p h5, p h6, p pre, p address, - pre h1, pre h2, pre h3, pre h4, pre h5, pre h6, pre p, pre pre, pre address, - address h1, address h2, address h3, address h4, address h5, address h6, address p, address pre, address address - { background-color: #ff9999 !important; border: 1px solid red !important; font-size: 12px !important; font-weight: normal;} Ficheiros binários contributions/modules/wymeditor/wymeditor/skins/default/icons.png e wymeditor/wymeditor/skins/default/icons.png diferem diff -urpN contributions/modules/wymeditor/wymeditor/skins/default/layout.css wymeditor/wymeditor/skins/default/layout.css --- contributions/modules/wymeditor/wymeditor/skins/default/layout.css 2007-02-07 16:27:49.000000000 +0000 +++ wymeditor/wymeditor/skins/default/layout.css 1970-01-01 01:00:00.000000000 +0100 @@ -1,102 +0,0 @@ -/* - * WYMeditor : what you see is What You Mean web-based editor - * Copyright (C) 2006 H.O.net - http://www.honet.be/ - * Dual licensed under the MIT (MIT-license.txt) - * and GPL (GPL-license.txt) licenses. - * - * For further information visit: - * http://www.wymeditor.org/ - * - * File Name: - * layout.css - * Editor layout css file. - * See the documentation for more info. - * - * File Authors: - * Daniel Reszka (d.reszka@wym-editor.org) -*/ - -/* CSS FILE - AUTHOR: Daniel Reszka - d.reszka@wym-editor.org - NOTES: tab width = 8 -*/ - -/* EDITOR LAYOUT*/ - - /* hide gecko editor in IE*/ - /*ie5 & ie6*/ - * html #iframe_editor { display: none;} - /*ie7*/ - *+html #iframe_editor { display: none;} - /* hide IE editor in gecko + modern browsers*/ - html>body #editor { display: none; *display: block} - - /* basic */ - .editor { text-align: center } - .editor #topdiv { width: 99%; margin: auto; text-align: left } - .editor #editor, - .editor #iframe_editor { border: 1px solid gray; height: 450px; width: 79%; overflow: auto } - .editor textarea { border: 1px solid gray; margin: 0 0 10px 0; width: 80% } - .editor #header { overflow: hidden; padding: 0 0 10px 0 } - .editor a img { border:none } - * html .editor #header { overflow: visible; height: 1% } - .editor #logo-main { float: right } - acronym { border-bottom: 1px dashed gray } - - /* debug */ - #m_debug { margin: 0 0 20px 0; font-size: 11px; display: none } - #m_debug a { text-decoration: none; margin-right: 20px } - #m_debug a:hover { background-color: yellow } - - /* toolbars */ - #toolbars { overflow: hidden; margin: 0 0 12px 0; font-family: verdana, arial, sans-serif; font-size: 11px } - * html #toolbars { height: 1%; overflow: visible } - #toolbars a { text-indent: -9999px; text-decoration: none; display: block; float: left; margin: 0 5px; overflow: hidden; height: 24px; width: 24px; background: url(icons.png) no-repeat } - #toolbars a:hover { background-color: yellow } - #toolbars div { float: left; border: 1px solid gray; margin-right: 0; background: white } - #toolbars #m_advanced { border: none; background: transparent } - #m_table_advanced { display: none; } - * html #m_table_advanced { display: block; } - *+html #m_table_advanced { display: block; } - - /* panels */ - #panels { width: 18%; float: right; font-family: verdana, arial, sans-serif; font-size: 11px } - #panels a { display: block; text-decoration: none; padding: 2px 10px; color: #5A5AA0; font-size: 11px } - #panels a:hover { background-color: yellow } - #panels a.active { background-color: #CCFFFF } - #panels div { border: 1px solid gray; margin: 0px 0 1px 0; background: #F6F8FB } - #panels h2 { font-size: 11px; margin: 0 0 5px; padding: 1px 2px; background: gray; color: white; position: relative } - #panels h3 { font-size: 10px; margin: 5px 0 2px; padding: 1px 3px 0; color: gray; font-weight: normal; background: #eee } - - /* icons */ - a#m_strong { background-position: 0 -384px } - a#m_italic { background-position: 0 -24px } - a#m_sup { background-position: 0 -432px } - a#m_sub { background-position: 0 -456px } - a#m_ordered_list { background-position: 0 -48px } - a#m_unordered_list { background-position: 0 -72px } - a#m_table_insert_row_after { background-position: 0 -240px } - a#m_table_insert_row_before { background-position: 0 -264px } - a#m_table_insert_col_after { background-position: 0 -288px } - a#m_table_insert_col_before { background-position: 0 -312px } - a#m_table_delete_row { background-position: 0 -336px } - a#m_table_delete_col { background-position: 0 -360px } - a#m_html { background-position: 0 -192px } - a#m_preview { background-position: 0 -408px } - a#m_link { background-position: 0 -96px } - a#m_unlink { background-position: 0 -168px } - a#m_image { background-position: 0 -120px } - a#m_table { background-position: 0 -144px } - a#m_word { background-position: 0 -168px } - a#m_undo { background-position: 0 -504px;} - a#m_redo { background-position: 0 -528px;} - a#m_paste { background-position: 0 -552px } - a#m_indent { background-position: 0 -576px } - a#m_outdent { background-position: 0 -600px } - - /* special buttons */ - a#m_paragraph, - a#m_remove_class { font-style: italic } - - * html a#m_paste { display:none; } - *+html a#m_paste { display:none; } Ficheiros binários contributions/modules/wymeditor/wymeditor/skins/default/lbl-blockquote.png e wymeditor/wymeditor/skins/default/lbl-blockquote.png diferem Ficheiros binários contributions/modules/wymeditor/wymeditor/skins/default/lbl-h1.png e wymeditor/wymeditor/skins/default/lbl-h1.png diferem Ficheiros binários contributions/modules/wymeditor/wymeditor/skins/default/lbl-h2.png e wymeditor/wymeditor/skins/default/lbl-h2.png diferem Ficheiros binários contributions/modules/wymeditor/wymeditor/skins/default/lbl-h3.png e wymeditor/wymeditor/skins/default/lbl-h3.png diferem Ficheiros binários contributions/modules/wymeditor/wymeditor/skins/default/lbl-h4.png e wymeditor/wymeditor/skins/default/lbl-h4.png diferem Ficheiros binários contributions/modules/wymeditor/wymeditor/skins/default/lbl-h5.png e wymeditor/wymeditor/skins/default/lbl-h5.png diferem Ficheiros binários contributions/modules/wymeditor/wymeditor/skins/default/lbl-h6.png e wymeditor/wymeditor/skins/default/lbl-h6.png diferem Ficheiros binários contributions/modules/wymeditor/wymeditor/skins/default/lbl-p.png e wymeditor/wymeditor/skins/default/lbl-p.png diferem Ficheiros binários contributions/modules/wymeditor/wymeditor/skins/default/lbl-pre.png e wymeditor/wymeditor/skins/default/lbl-pre.png diferem diff -urpN contributions/modules/wymeditor/wymeditor/skins/default/screen.css wymeditor/wymeditor/skins/default/screen.css --- contributions/modules/wymeditor/wymeditor/skins/default/screen.css 1970-01-01 01:00:00.000000000 +0100 +++ wymeditor/wymeditor/skins/default/screen.css 2008-02-25 15:22:10.000000000 +0000 @@ -0,0 +1,131 @@ +/* + * WYMeditor : what you see is What You Mean web-based editor + * Copyright (C) 2007 H.O.net - http://www.honet.be/ + * Dual licensed under the MIT (MIT-license.txt) + * and GPL (GPL-license.txt) licenses. + * + * For further information visit: + * http://www.wymeditor.org/ + * + * File Name: + * screen.css + * main stylesheet for the default WYMeditor skin + * See the documentation for more info. + * + * File Authors: + * Daniel Reszka (d.reszka@wymeditor.org) +*/ + +/*TRYING TO RESET STYLES THAT MAY INTERFERE WITH WYMEDITOR*/ + .wym_skin_default p, .wym_skin_default h2, .wym_skin_default h3, + .wym_skin_default ul, .wym_skin_default li { background: transparent url(); margin: 0; padding: 0; border-width:0; list-style: none; } + + +/*HIDDEN BY DEFAULT*/ + .wym_skin_default .wym_area_bottom { display: none;} + .wym_skin_default .wym_area_left, + .wym_skin_default .wym_area_right { display: none; } + + +/*TYPO*/ + .wym_skin_default { font-size: 62.5%; font-family: Verdana, Arial, sans-serif; } + .wym_skin_default h2 { font-size: 110%; /* = 11px */} + .wym_skin_default h3 { font-size: 100%; /* = 10px */} + .wym_skin_default li { font-size: 100%; /* = 10px */} + + +/*WYM_BOX*/ + .wym_skin_default { border: 1px solid gray; background: #f2f2f2; padding: 5px} + .wym_skin_default .wym_status {height: 10px;} + + /*auto-clear the wym_box*/ + .wym_skin_default:after { content: "."; display: block; height: 0; clear: both; visibility: hidden; } + * html .wym_skin_default { height: 1%;} + + +/*WYM_HTML*/ + .wym_skin_default .wym_html { width: 98%;} + .wym_skin_default .wym_html textarea { width: 100%; height: 200px; border: 1px solid gray; background: white; } + + +/*WYM_IFRAME*/ + .wym_skin_default .wym_iframe { width: 98%;} + .wym_skin_default .wym_iframe iframe { width: 100%; height: 300px; border: 1px solid gray; background: white } + + +/*AREAS*/ + .wym_skin_default .wym_area_left { width: 150px; float: left;} + .wym_skin_default .wym_area_right { width: 150px; float: right;} + * html .wym_skin_default .wym_area_main { height: 1%;} + * html .wym_skin_default .wym_area_top { height: 1%;} + *+html .wym_skin_default .wym_area_top { height: 1%;} + +/*SECTIONS SYSTEM*/ + + /*common defaults for all sections*/ + .wym_skin_default .wym_section { margin-bottom: 5px; } + .wym_skin_default .wym_section h2, + .wym_skin_default .wym_section h3 { padding: 1px 3px; margin: 0; } + .wym_skin_default .wym_section a { padding: 0 3px; display: block; text-decoration: none; color: black; } + .wym_skin_default .wym_section a:hover { background-color: yellow; } + /*hide section titles by default*/ + .wym_skin_default .wym_section h2 { display: none; } + /*disable any margin-collapse*/ + .wym_skin_default .wym_section { padding-top: 1px; padding-bottom: 1px; } + /*auto-clear sections*/ + .wym_skin_default .wym_section ul:after { content: "."; display: block; height: 0; clear: both; visibility: hidden; } + * html .wym_skin_default .wym_section ul { height: 1%;} + + /*option: add this class to a section to make it render as a panel*/ + .wym_skin_default .wym_panel { } + .wym_skin_default .wym_panel h2 { display: block; } + + /*option: add this class to a section to make it render as a dropdown menu*/ + .wym_skin_default .wym_dropdown h2 { display: block; } + .wym_skin_default .wym_dropdown ul { display: none; position: absolute; background: white; } + .wym_skin_default .wym_dropdown:hover ul, + .wym_skin_default .wym_dropdown.hover ul { display: block; } + + /*option: add this class to a section to make its elements render buttons (icons are only available for the wym_tools section for now)*/ + .wym_skin_default .wym_buttons li { float:left;} + .wym_skin_default .wym_buttons a { width: 20px; height: 20px; overflow: hidden; padding: 2px } + /*image replacements*/ + .wym_skin_default .wym_buttons li a { background: url(icons.png) no-repeat; text-indent: -9999px;} + .wym_skin_default .wym_buttons li.wym_tools_strong a { background-position: 0 -382px;} + .wym_skin_default .wym_buttons li.wym_tools_emphasis a { background-position: 0 -22px;} + .wym_skin_default .wym_buttons li.wym_tools_superscript a { background-position: 0 -430px;} + .wym_skin_default .wym_buttons li.wym_tools_subscript a { background-position: 0 -454px;} + .wym_skin_default .wym_buttons li.wym_tools_ordered_list a { background-position: 0 -48px;} + .wym_skin_default .wym_buttons li.wym_tools_unordered_list a{ background-position: 0 -72px;} + .wym_skin_default .wym_buttons li.wym_tools_indent a { background-position: 0 -574px;} + .wym_skin_default .wym_buttons li.wym_tools_outdent a { background-position: 0 -598px;} + .wym_skin_default .wym_buttons li.wym_tools_undo a { background-position: 0 -502px;} + .wym_skin_default .wym_buttons li.wym_tools_redo a { background-position: 0 -526px;} + .wym_skin_default .wym_buttons li.wym_tools_link a { background-position: 0 -96px;} + .wym_skin_default .wym_buttons li.wym_tools_unlink a { background-position: 0 -168px;} + .wym_skin_default .wym_buttons li.wym_tools_image a { background-position: 0 -121px;} + .wym_skin_default .wym_buttons li.wym_tools_table a { background-position: 0 -144px;} + .wym_skin_default .wym_buttons li.wym_tools_paste a { background-position: 0 -552px;} + .wym_skin_default .wym_buttons li.wym_tools_html a { background-position: 0 -193px;} + .wym_skin_default .wym_buttons li.wym_tools_preview a { background-position: 0 -408px;} + +/*DECORATION*/ + .wym_skin_default .wym_section h2 { background: #ddd; border: solid gray; border-width: 0 0 1px;} + .wym_skin_default .wym_section h2 span { color: gray;} + .wym_skin_default .wym_panel { padding: 0; border: solid gray; border-width: 1px; background: white;} + .wym_skin_default .wym_panel ul { margin: 2px 0 5px; } + .wym_skin_default .wym_dropdown { padding: 0; border: solid gray; border-width: 1px 1px 0 1px; } + .wym_skin_default .wym_dropdown ul { border: solid gray; border-width: 0 1px 1px 1px; margin-left: -1px; padding: 5px 10px 5px 3px;} + +/*DIALOGS*/ + .wym_dialog div.row { margin-bottom: 5px;} + .wym_dialog div.row input { margin-right: 5px;} + .wym_dialog div.row label { float: left; width: 150px; display: block; text-align: right; margin-right: 10px; } + .wym_dialog div.row-indent { padding-left: 160px; } + /*autoclearing*/ + .wym_dialog div.row:after { content: "."; display: block; height: 0; clear: both; visibility: hidden; } + .wym_dialog div.row { display: inline-block; } + /* Hides from IE-mac \*/ + * html .wym_dialog div.row { height: 1%; } + .wym_dialog div.row { display: block; } + /* End hide from IE-mac */ Ficheiros binários contributions/modules/wymeditor/wymeditor/skins/default/Thumbs.db e wymeditor/wymeditor/skins/default/Thumbs.db diferem diff -urpN contributions/modules/wymeditor/wymeditor/skins/editor-skin.css wymeditor/wymeditor/skins/editor-skin.css --- contributions/modules/wymeditor/wymeditor/skins/editor-skin.css 2006-11-22 00:08:18.000000000 +0000 +++ wymeditor/wymeditor/skins/editor-skin.css 1970-01-01 01:00:00.000000000 +0100 @@ -1,21 +0,0 @@ -/* - * WYMeditor : what you see is What You Mean web-based editor - * Copyright (C) 2006 H.O.net - http://www.honet.be/ - * Dual licensed under the MIT (MIT-license.txt) - * and GPL (GPL-license.txt) licenses. - * - * For further information visit: - * http://www.wymeditor.org/ - * - * File Name: - * editor-skin.css - * Main editor css file. - * See the documentation for more info. - * - * File Authors: - * Daniel Reszka (d.reszka@wym-editor.org) -*/ - -@import url(default/dialogs.css); -@import url(default/layout.css); -@import url(default/display.css); diff -urpN contributions/modules/wymeditor/wymeditor/skins/preview/CVS/Entries wymeditor/wymeditor/skins/preview/CVS/Entries --- contributions/modules/wymeditor/wymeditor/skins/preview/CVS/Entries 2008-02-26 14:17:36.000000000 +0000 +++ wymeditor/wymeditor/skins/preview/CVS/Entries 1970-01-01 01:00:00.000000000 +0100 @@ -1,8 +0,0 @@ -/s1-bg01.png/1.1/Wed Nov 22 00:08:18 2006/-kb/ -/s1-bg02.png/1.1/Wed Nov 22 00:08:18 2006/-kb/ -/s1-line01.png/1.1/Wed Nov 22 00:08:18 2006/-kb/ -/s2-bg01.png/1.1/Wed Nov 22 00:08:18 2006/-kb/ -/s2-bullet01.png/1.1/Wed Nov 22 00:08:18 2006/-kb/ -/s2-line01.png/1.1/Wed Nov 22 00:08:18 2006/-kb/ -/screen.css/1.1/Wed Nov 22 00:08:18 2006// -D diff -urpN contributions/modules/wymeditor/wymeditor/skins/preview/CVS/Repository wymeditor/wymeditor/skins/preview/CVS/Repository --- contributions/modules/wymeditor/wymeditor/skins/preview/CVS/Repository 2008-02-26 14:17:36.000000000 +0000 +++ wymeditor/wymeditor/skins/preview/CVS/Repository 1970-01-01 01:00:00.000000000 +0100 @@ -1 +0,0 @@ -contributions/modules/wymeditor/wymeditor/skins/preview diff -urpN contributions/modules/wymeditor/wymeditor/skins/preview/CVS/Root wymeditor/wymeditor/skins/preview/CVS/Root --- contributions/modules/wymeditor/wymeditor/skins/preview/CVS/Root 2008-02-26 14:17:36.000000000 +0000 +++ wymeditor/wymeditor/skins/preview/CVS/Root 1970-01-01 01:00:00.000000000 +0100 @@ -1 +0,0 @@ -:pserver:anonymous:anonymous@cvs.drupal.org:/cvs/drupal-contrib Ficheiros binários contributions/modules/wymeditor/wymeditor/skins/preview/s1-bg01.png e wymeditor/wymeditor/skins/preview/s1-bg01.png diferem Ficheiros binários contributions/modules/wymeditor/wymeditor/skins/preview/s1-bg02.png e wymeditor/wymeditor/skins/preview/s1-bg02.png diferem Ficheiros binários contributions/modules/wymeditor/wymeditor/skins/preview/s1-line01.png e wymeditor/wymeditor/skins/preview/s1-line01.png diferem Ficheiros binários contributions/modules/wymeditor/wymeditor/skins/preview/s2-bg01.png e wymeditor/wymeditor/skins/preview/s2-bg01.png diferem Ficheiros binários contributions/modules/wymeditor/wymeditor/skins/preview/s2-bullet01.png e wymeditor/wymeditor/skins/preview/s2-bullet01.png diferem Ficheiros binários contributions/modules/wymeditor/wymeditor/skins/preview/s2-line01.png e wymeditor/wymeditor/skins/preview/s2-line01.png diferem diff -urpN contributions/modules/wymeditor/wymeditor/skins/preview/screen.css wymeditor/wymeditor/skins/preview/screen.css --- contributions/modules/wymeditor/wymeditor/skins/preview/screen.css 2006-11-22 00:08:18.000000000 +0000 +++ wymeditor/wymeditor/skins/preview/screen.css 1970-01-01 01:00:00.000000000 +0100 @@ -1,78 +0,0 @@ -/* - * WYMeditor : what you see is What You Mean web-based editor - * Copyright (C) 2006 H.O.net - http://www.honet.be/ - * Dual licensed under the MIT (MIT-license.txt) - * and GPL (GPL-license.txt) licenses. - * - * For further information visit: - * http://www.wymeditor.org/ - * - * File Name: - * screen.css - * Preview css file. - * See the documentation for more info. - * - * File Authors: - * Daniel Reszka (d.reszka@wym-editor.org) -*/ - -/* COMMON */ - body { margin: 0; padding: 0; font-family: verdana, arial, sans-serif; font-size: 90%; background: /*#F6F8FB*/ #eee; line-height: 1.3em } - img#logo-main { float: right; margin: 5px 20px 0 0} - .nav ul { list-style: none; margin: 0; padding: 0; } - .nav a { text-decoration: none; } - .nav a:hover { background: yellow; } - #nav-pri { border-bottom: 1px solid gray; border-top: 2px solid white; overflow: hidden; font-size: 0.8em; background: white; color: gray; } - * html #nav-pri { height: 1%; overflow: visible;} - #nav-pri li { float: left; margin: 0 10px; padding: 5px 3px; } - #nav-pri a { display: block; padding: 0 3px; } - #nav-pri span { color: black;} - #infos { padding: 10px 0 0 20px; border-bottom: 1px solid gray; background: #eee; } - #infos h2 { margin: 0; font-size: 0.9em; font-weight: normal; color: gray; } - #preview_container { background: white; padding: 20px; overflow: hidden; } - * html #preview_container { height:1%; overflow: visible; } - acronym { border-bottom: 1px dashed gray } - p.block { float: right; width: 200px; border: 1px solid gray; padding: 15px; margin: 0 0 20px 20px; clear: both; text-align: left !important;} - img.border { border: 1px solid black; padding: 1px } - p.important { border: 3px double black; padding: 3px; background: #ffffcc } - .hidden-note { display: none;} -/* SAMPLE 1*/ - .sample_1 #infos { background: white url(s1-bg01.png); } - .sample_1 #infos h2 { background: white; display: inline; } - .sample_1 #preview_container { background: white url(s1-bg02.png) no-repeat 624px 15px } - .sample_1 #preview_container h1 { color: #C8242F; font-family: georgia, serif; font-weight: normal; font-size: 1.6em; background: url(s1-line01.png) no-repeat bottom left; padding: 0 0 8px 15px; position: relative; left: -15px; margin: 1.3em 0 1em; } - .sample_1 #preview_container h2 { color: #C8242F; font-family: georgia, serif; font-weight: normal; font-size: 1.4em; margin: 1.8em 0 0.5em; } - .sample_1 #preview_container h3 { color: #C8242F; font-family: georgia, serif; font-weight: normal; font-size: 1.3em; } - .sample_1 #preview_container h4 { color: #C8242F; font-family: georgia, serif; font-weight: normal; font-size: 1.2em; } - .sample_1 #preview_container h5 { color: #C8242F; font-family: georgia, serif; font-weight: normal; font-size: 1.1em; } - .sample_1 #preview_container h6 { color: #C8242F; font-family: georgia, serif; font-weight: normal; font-size: 1em; } - .sample_1 #preview_container p { font-size: 0.9em; margin-top: 0.5em } - .sample_1 #preview_container p.date { font-family: georgia, serif; color: #C8242F; margin-bottom: -0.4em;} - .sample_1 #preview_container strong { color: #C8242F;} - .sample_1 p.block { background: white} -/* SAMPLE 2*/ - .sample_2 { margin-bottom: 20px; background: #637a91; } - .sample_2 #infos { border-bottom: 1px solid black; background: white url(s2-bg01.png) repeat-x ; } - .sample_2 #preview_container { padding: 1px 30px; margin: 50px 70px 0; background: #EFF1F4; border: 1px solid black; } - .sample_2 #preview_container p { font-size: 0.9em; margin-top: 0.5em; font-size: 0.8em; text-align: justify; } - .sample_2 #preview_container p.date { margin-bottom: -0.4em; font-family:Georgia, serif; color:#929DAA; font-weight:bold;} - .sample_2 #preview_container strong { color: red; } - .sample_2 #preview_container h1 { font-size: 15px; color: #637a91 ; border: 1px solid black; background: white; padding: 3px 5px 2px; letter-spacing: 0.1em; float: right; margin-top: 10px; } - .sample_2 #preview_container h2 { background: url(s2-bullet01.png) no-repeat 5px 60%; color:#637a91; font-weight:bold; font-size: 1.1em; padding: 0 0 0 17px; position: relative; left: -17px; margin: 1.8em 0 0.5em; } - .sample_2 #preview_container h3 { color:#637a91; font-weight:bold; font-size: 1em; } - .sample_2 #preview_container h4 { color:#637a91; font-weight:normal; font-size: 1em; text-decoration: underline; } - .sample_2 #preview_container h5 { color:#637a91; font-weight:normal; font-size: 0.9em; text-decoration: underline; } - .sample_2 #preview_container h6 { color:#637a91; font-weight:bold; font-size: 0.8em; } - .sample_2 p.block { background: white} -/* SAMPLE 3*/ - .sample_3 { background: #737E8A } - .sample_3 #nav-pri { border: solid black; border-width: 2px 0} - .sample_3 #infos { background: #42484E; color: #8B97A7; border: solid black; border-width: 1px 0 } - .sample_3 #preview_container { background: #8A97A7; margin: 0 20px; color: #2A2B2C; border: #9FA8B2 solid; border-width: 0 1px; font-family: arial, sans-serif; text-align: justify; } - .sample_3 #preview_container p { font-size: 0.9em; margin-top: 0.5em } - .sample_3 p.date { color: #2C3034 ; margin-bottom: -0.4em; } - .sample_3 #preview_container strong { color: white; font-weight: normal;} - .sample_3 #preview_container h1 { font-family: impact, arial black, sans-serif; font-weight: normal; font-size: 1.4em; margin: 1.3em 0 1em; letter-spacing: 0.1em; border-bottom: 1px solid; text-align: right; } - .sample_3 #preview_container h2 { color: white; font-weight: bold; font-size: 1.2em; margin: 1.8em 0 0.5em; letter-spacing: 0.1em; } - .sample_3 p.block { background: #737E8A; border-color: black; } - .sample_3 p.important { background-color: #737E8A; border: none } Ficheiros binários contributions/modules/wymeditor/wymeditor/skins/wymeditor_icon.png e wymeditor/wymeditor/skins/wymeditor_icon.png diferem diff -urpN contributions/modules/wymeditor/wymeditor/util.js wymeditor/wymeditor/util.js --- contributions/modules/wymeditor/wymeditor/util.js 2007-02-07 16:27:49.000000000 +0000 +++ wymeditor/wymeditor/util.js 1970-01-01 01:00:00.000000000 +0100 @@ -1,394 +0,0 @@ -/* - * WYMeditor : what you see is What You Mean web-based editor - * Copyright (C) 2006 H.O.net - http://www.honet.be/ - * Dual licensed under the MIT (MIT-license.txt) - * and GPL (GPL-license.txt) licenses. - * - * For further information visit: - * http://www.wymeditor.org/ - * - * File Name: - * util.js - * Javascript utilities. - * See the documentation for more info. - * - * File Authors: - * Jean-François Hovinne (jf.hovinne@wymeditor.org) -*/ - -var entities=new Array('nbsp','iexcl','cent','pound','curren','yen','brvbar','sect','uml','copy','ordf','laquo','not','shy','reg','macr','deg','plusmn','sup2','sup3','acute','micro','para','middot','cedil','sup1','ordm','raquo','frac14','frac12','frac34','iquest','agrave','aacute','acirc','atilde','auml','aring','aelig','ccedil','egrave','eacute','ecirc','euml','igrave','iacute','icirc','iuml','eth','ntilde','ograve','oacute','ocirc','otilde','ouml','times','oslash','ugrave','uacute','ucirc','uuml','yacute','thorn','szlig','agrave','aacute','acirc','atilde','auml','aring','aelig','ccedil','egrave','eacute','ecirc','euml','igrave','iacute','icirc','iuml','eth','ntilde','ograve','oacute','ocirc','otilde','ouml','divide','oslash','ugrave','uacute','ucirc','uuml','yacute','thorn','yuml','quot','amp','lt','gt','oelig','oelig','scaron','scaron','yuml','circ','tilde','ensp','emsp','thinsp','zwnj','zwj','lrm','rlm','ndash','mdash','lsquo','rsquo','sbquo','ldquo','rdquo','bdquo','dagger','dagger','permil','lsaquo','rsaquo','euro','fnof','alpha','beta','gamma','delta','epsilon','zeta','eta','theta','iota','kappa','lambda','mu','nu','xi','omicron','pi','rho','sigma','tau','upsilon','phi','chi','psi','omega','alpha','beta','gamma','delta','epsilon','zeta','eta','theta','iota','kappa','lambda','mu','nu','xi','omicron','pi','rho','sigmaf','sigma','tau','upsilon','phi','chi','psi','omega','thetasym','upsih','piv','bull','hellip','prime','prime','oline','frasl','weierp','image','real','trade','alefsym','larr','uarr','rarr','darr','harr','crarr','larr','uarr','rarr','darr','harr','forall','part','exist','empty','nabla','isin','notin','ni','prod','sum','minus','lowast','radic','prop','infin','ang','and','or','cap','cup','int','there4','sim','cong','asymp','ne','equiv','le','ge','sub','sup','nsub','sube','supe','oplus','otimes','perp','sdot','lceil','rceil','lfloor','rfloor','lang','rang','loz','spades','clubs','hearts','diams') -var numEntities=new Array('160','161','162','163','164','165','166','167','168','169','170','171','172','173','174','175','176','177','178','179','180','181','182','183','184','185','186','187','188','189','190','191','192','193','194','195','196','197','198','199','200','201','202','203','204','205','206','207','208','209','210','211','212','213','214','215','216','217','218','219','220','221','222','223','224','225','226','227','228','229','230','231','232','233','234','235','236','237','238','239','240','241','242','243','244','245','246','247','248','249','250','251','252','253','254','255','34','38','60','62','338','339','352','353','376','710','732','8194','8195','8201','8204','8205','8206','8207','8211','8212','8216','8217','8218','8220','8221','8222','8224','8225','8240','8249','8250','8364','402','913','914','915','916','917','918','919','920','921','922','923','924','925','926','927','928','929','931','932','933','934','935','936','937','945','946','947','948','949','950','951','952','953','954','955','956','957','958','959','960','961','962','963','964','965','966','967','968','969','977','978','982','8226','8230','8242','8243','8254','8260','8472','8465','8476','8482','8501','8592','8593','8594','8595','8596','8629','8656','8657','8658','8659','8660','8704','8706','8707','8709','8711','8712','8713','8715','8719','8721','8722','8727','8730','8733','8734','8736','8743','8744','8745','8746','8747','8756','8764','8773','8776','8800','8801','8804','8805','8834','8835','8836','8838','8839','8853','8855','8869','8901','8968','8969','8970','8971','9001','9002','9674','9824','9827','9829','9830') - -function sTrim(sText) -{ - return(lTrim(rTrim(sText))); -} - -function lTrim(sText) -{ - while(sText.charAt(0)==" "){sText=sText.substr(1,sText.length)} - return(sText); -} - -function rTrim(sText) -{ - while(sText.charAt(sText.length-1)==" "){sText=sText.substr(0,sText.length-1)} - return(sText); -} - -function insertAt(sText,sInserted,iPos) -{ - return(sText.substr(0,iPos)+sInserted+sText.substring(iPos,sText.length)); -} - -function indexOfArray(ar,item) -{ - var ret=-1; - for(var x=0;x-1)flagEntity=true; - } - else if(c==" " || c=="#"){begEntity=false;flagEntity=false;entity="";} - else entity+=c; - } - - if(c=="&")begEntity=true; - if(begTag) - { - if(c==" " || c==">") - { - switch(tag.toLowerCase()) - { - case "br": - case "img": - case "hr": - case "input": - case "link": - case "base": - case "basefont": - case "col": - case "frame": - case "isindex": - case "meta": - case "param": - empty=true; - break; - case "li": - if(flagLi && lastTag!="ul" && lastTag!="ol" && lastTag!="/li")unclosed=true; - flagLi=true; - empty=false; - break; - case "ol": - case "ul": - if(lastTag=="/li" || lastTag=="ol" || lastTag=="ul")unopened=true; - empty=false; - break; - case "/ol": - case "/ul": - if(lastTag=="/ol" || lastTag=="/ul")unclosedList=true; - empty=false; - break; - case "font":case "/font": - case "b":case "/b": - case "i":case "/i": - case "u":case "/u": - case "center":case "/center": - case "marquee":case "/marquee": - case "blink":case "/blink": - case "big":case "/big": - case "small":case "/small": - - dropTag=true; - empty=false; - break; - default: - empty=false; - break; - } - lastTag=tag.toLowerCase(); - tag=""; - begTag=false; - } - else tag+=c; - } - - if(c=="<"){begTag=true;flagTag=true;} - if(c==">" && empty){c=" />";} - - if(begTag)ret+=c.toLowerCase(); - - else if(flagTag) - { - if(flagAttr) - { - if(begAttr) - { - if(c!="\""){ret+="\""+c;unquoted=true;begAttr=false;} - else{ret+=c;unquoted=false;begAttr=false;} - } - else if(c==" " || c==">" || c==" />") - { - if(unquoted) - { - if(sHtml.charAt(x-1)!="\""){ret+="\""+c;flagAttr=false;} - else ret+=c; - } - else ret+=c; - } - else if(c=="\""){ret+=c;flagAttr=false;} - else ret+=c; - - if(!flagAttr) - { - switch(attr.toLowerCase()) - { - case "align": - case "background": - case "bgcolor": - case "style": - ret=ret.substr(0,ret.lastIndexOf(attr+"=\"")); - if(c==">" || c==" />")ret+=c; - break; - default: - break; - } - } - } - else if(c=="=") - { - begAttr=true;flagAttr=true;ret+=c; - attr=ret.substr(ret.lastIndexOf(" ")+1,ret.length-(ret.lastIndexOf(" ")+2)); - } - else ret+=c.toLowerCase(); - - if(c==">" || c==" />") - { - flagTag=false; - flagAttr=false; - if(unclosed){ret=insertAt(ret,"",ret.lastIndexOf("<"));unclosed=false;} - if(unopened){ret=ret.substr(0,ret.lastIndexOf("")) + "<"+lastTag+">";unopened=false;} - if(unclosedList){ret=insertAt(ret,"",ret.lastIndexOf("<"));unclosedList=false;} - if(dropTag){ret=ret.substr(0,ret.lastIndexOf("<"));dropTag=false;} - } - } - else ret+=c; - - if(flagEntity) - { - ret=ret.substr(0,ret.lastIndexOf("&"))+"&#"+numEntities[iEnt]+ret.substr(ret.lastIndexOf(";")); - entity=""; - flagEntity=false; - } - } - - //various cleanups - - //replacing '> <' by '><' - var rExp=/> <"); - - return(ret); -} - - -//GECKO - -/* -HTML cleanup -- replaces 'b' by 'strong', 'i' by 'em' (not done by string.replace for further cleanings) -*/ -function cleanupHTML_moz(sHtml) -{ - var flagTag=false,begTag=false; - var tag="",ret="",attr=""; - var level=0; - - for(var x=0;x") - { - switch(tag) - { - case "b": - tag="strong"; - break; - case "/b": - tag="/strong"; - break; - case "i": - tag="em"; - break; - case "/i": - tag="/em"; - break; - case "br": - tag="br /" - break; - case "ol": case "ul": - level++; - if(level>1 && ret.substr(ret.length-5)=="") - ret=ret.substr(0,ret.length-5); - break; - default: - break; - } - begTag=false; - } - else tag+=c; - } - - if(c=="<"){begTag=true;flagTag=true;} - - if(flagTag) - { - if(c==">") - { - flagTag=false; - switch(tag) - { - case "img": - case "hr": - case "input": - case "link": - case "base": - case "basefont": - case "col": - case "frame": - case "isindex": - case "meta": - case "param": - ret+="<"+tag+attr+"/>"; - break; - case "/ol": case "/ul": - if(level>1)ret+="<"+tag+attr+">"; - else ret+="<"+tag+attr+">"; - level--; - break; - default: - ret+="<"+tag+attr+">"; - break; - } - - tag=""; - attr=""; - } - else if(!begTag) - { - attr+=c; - } - } - else ret+=c; - } - return(ret); -} - - -//Removes unnecessary nodes when possible and ads some when necessary (moz)... -function handleNodes(doc) -{ - var nodes=doc.childNodes; - var nodeName; - for(var x=0;x1) - { - //remove
    nodes if possible - if(nodes.item(x).lastChild!=null && nodes.item(x).lastChild.nodeName.toLowerCase()=="br") - nodes.item(x).removeChild(nodes.item(x).lastChild); - } - - //add nodes if necessary (otherwise the paragraph is uneditable) - else if(nodes.item(x).innerHTML==null || sTrim(nodes.item(x).innerHTML)=="") - nodes.item(x).innerHTML="
    "; //
    causes problems... - break; - - //other - } - handleAttributes(nodes.item(x)); - } -} - -//Removes unnecessary or deprecated attributes -//Doesn't conform perfectly to XHTML strict 1.0 for compatibility/logical/other reasons. -//See cleanAttributes() -//handleAttributes() is recursive. -function handleAttributes(node) -{ - if(node.hasAttributes()) cleanAttributes(node); - if(node.hasChildNodes()) - { - var nodes=node.childNodes; - for(var x=0;x35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--)d[e(c)]=k[c]||e(c);k=[function(e){return d[e]}];e=function(){return'\\w+'};c=1};while(c--)if(k[c])p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c]);return p}('d W(10,7){h 7=(7==Y?b:7);1o.1n(2,X 1m(10,(7?\'B\':\'l\')));2.1l(\'l\',\'B\');3(7==b){2.D("/\\\\\\g[<\\\\s]*Z[>\\\\s]*\\\\\\g/",\'B\',\'l\');2.C("/\\\\\\g[<\\/\\\\s]*Z[>\\\\s]*\\\\\\g/",\'l\')}2.1k("\\\\\\1j[a-z-1i-9]+[\\\\1h-z]*",\'l\',\'R\');2.D("/\\\\\\g",\'l\',\'J\');2.C("\\\\\\g/",\'J\');2.D("\\1g",\'l\',\'A\');2.C("\\1f",\'A\');2.D("/\\\\\\g",\'A\',\'I\');2.C("\\\\\\g/",\'I\');f 2};d e(){2.y=r;2.q=r;2.7=b;2.u={\'N\':[],\'M\':[],\'L\':[]};f 2};e.i.U=d(T,7){h 7=(7==Y?2.7:7);2.V=X W(2,7);2.V.U(T)};e.i.B=d(5,1e){f b};e.i.J=d(t,k){3(t.5(/1d[a-S-9\\s]*1c[a-S-9\\s]*/1b)){f r}3(k==H){3(!2.y){2.q=b;2.6={\'o\':t.m()}}p{3(2.6[2.4]){3(!2.6[2.4].w){2.6[2.4].w=[t]}p{2.6[2.4].w.n(t)}}}2.y=b}f b};e.i.A=d(5,k){3(k==H){5=5.m();3(5!=\'\'){2.6[2.4].E=5}}p 3(k==1a){2.y=r;2.q=r;2.O(2.6)}f b};e.i.I=d(5,k){3(k==H){2.6[2.4].F=5.Q(/^([\\s\\/\\*]*)|([\\s\\/\\*]*)$/P,\'\')}f b};e.i.R=d(5){5=5.Q(/^([\\s\\.]*)|([\\s\\.*]*)$/P,\'\');h j=\'\';3(5.19(\' \')>0){h G=5.18(\' \');2.4=G[0];h j=G[1]}p{2.4=5}3(!2.q){2.6={\'o\':(!j?\'\':j.17()+\': \')+2.4};2.q=b}3(!2.6[2.4]){2.6[2.4]={\'c\':2.4}}3(j){3(!2.6[2.4].v){2.6[2.4].v=[j]}p{2.6[2.4].v.n(j)}}f b};e.i.O=d(x){16(h c 15 x){h 8=x[c];3(14 8==\'13\'&&c!=\'o\'){2.u.N.n({\'c\':8.c.m(),\'o\':x.o,\'12\':(8.w||8.v).11(\', \').m()});3(8.F){2.u.M.n({\'c\':\'.\'+8.c.m(),\'K\':8.F})}3(8.E){2.u.L.n({\'c\':\'.\'+8.c.m(),\'K\':8.E})}}}};',62,87,'||this|if|_current_element|match|_current_item|only_wym_blocks|details|||true|name|function|WymCssParser|return|x2a|var|prototype|tag|status|WymCss|trim|push|title|else|_has_title|false||text|css_settings|tags|expressions|style_details|_in_style||WymCssStyle|Ignore|addExitPattern|addEntryPattern|style|feedback_style|parts|LEXER_UNMATCHED|WymCssFeddbackStyle|WymCssComment|css|dialogStyles|editorStyles|classesItems|addStyleSetting|gm|replace|WymCssStyleDeclaration|z0|raw|parse|_Lexer|WymCssLexer|new|undefined|WYMeditor|parser|join|expr|object|typeof|in|for|toUpperCase|split|indexOf|LEXER_EXIT|mi|wym|end|state|x7d|x7b|sa|_0|x2e|addSpecialPattern|mapHandler|Lexer|extend|jQuery'.split('|'),0,{})) diff -urpN contributions/modules/wymeditor/wymeditor/wym.js wymeditor/wymeditor/wym.js --- contributions/modules/wymeditor/wymeditor/wym.js 2007-04-25 10:21:16.000000000 +0100 +++ wymeditor/wymeditor/wym.js 1970-01-01 01:00:00.000000000 +0100 @@ -1,1021 +0,0 @@ -/* - * WYMeditor : what you see is What You Mean web-based editor - * Copyright (C) 2006 H.O.net - http://www.honet.be/ - * Dual licensed under the MIT (MIT-license.txt) - * and GPL (GPL-license.txt) licenses. - * - * For further information visit: - * http://www.wymeditor.org/ - * - * File Name: - * wym.js - * Main javascript functions. - * See the documentation for more info. - * - * File Authors: - * Jean-François Hovinne (jf.hovinne@wymeditor.org) -*/ - -//global vars -var selectedElement=null; -var bCleanPaste=true; -var txtRef=null; //Reference to the parent textarea - -//called at body.onload -function init(txtAreaId) -{ - if(txtAreaId != null) - txtRef = document.getElementById(txtAreaId); - setImgEvent(); //add mouse events on images - displayPasteCleanup(true); //paste cleanup is on or off - setHTML(); - if(moz) - { - iframe().contentDocument.designMode="on"; - - //handles (un)necessary nodes - handleNodes(editor()); - - //add key and mouse events listeners - iframe().contentDocument.addEventListener('keydown',iframe_keydown_handler,false); - iframe().contentDocument.addEventListener('keyup',iframe_keyup_handler,false); - iframe().contentDocument.addEventListener('mouseup',iframe_mouseup_handler,false); - iframe().contentDocument.addEventListener('blur',function(evt){bCleanPaste=false;displayPasteCleanup(true);getCleanHTML();},false); - - //disable inline styles - execCom("styleWithCSS",false); - } - -} - -//these functions return base objects -function editor() -{ - if(ie) return(document.getElementById('editor')); - else if(moz) return(iframe().contentDocument.body); -} -function txthtml() -{ - return(txtRef); -} -function container() -{ - return(getSelectedContainer()); -} -function classespanel() -{ - return(document.getElementById('m_class')); -} -//returns selected image -function selected() -{ - return(selectedElement); -} -function selectedId() -{ - if(selectedElement!=null)return(selectedElement.id); - else return(null); -} - -function iframe() -{ - return(document.getElementById('iframe_editor')); -} - -//we 'release' the image selection -function release() -{ - selectedElement=null; -} - -//used to get the cursor position -function saveCaret() -{ - editor().caretPos=document.selection.createRange(); -} - -//little hack to get the current cursor position -function getCaretPos() -{ - var bookmark="~caret~pos~"; - var orig=editor().innerHTML; - var caretPos=editor().caretPos; - if(caretPos!=null) - { - caretPos.text=bookmark; - var i=editor().innerHTML.search(bookmark); - editor().innerHTML=orig; - - var hid=document.getElementById('caretpos'); - hid.value=i; - } - return(i); -} - -//insert HTML at cursor pos -function insertAtCursor(sHtml) -{ - if(ie) - { - var pos=getCaretPos(); - if(pos>-1) - { - var html=editor().innerHTML; - editor().innerHTML=insertAt(html,sHtml,pos); - } - } - else if(moz) - { - execCom("inserthtml",sHtml); - } -} - -//insert an HTML element *after* the current one -function insertAfter(elem,currentElem) -{ - if(currentElem.nextSibling!=null)editor().insertBefore(elem,currentElem.nextSibling); - else editor().appendChild(elem); -} - -//put editor value in txthtml -function getHTML() -{ - if(ie) - { - txthtml().innerText=""; - txthtml().innerText=editor().innerHTML; - } - else if(moz) - { - txthtml().value=""; - txthtml().value=editor().innerHTML; - } -} - -//put cleaned editor value in txthtml -function getCleanHTML() -{ - if(ie) - { - txthtml().innerText=""; - txthtml().innerText=cleanupHTML_ie(editor().innerHTML); - } - else if(moz) - { - txthtml().value=""; - - //various cleanups, see util.js - handleNodes(editor()); - txthtml().value=cleanupHTML_moz(editor().innerHTML); - } -} - -//put txthtml value in editor -function setHTML() -{ - if(ie) editor().innerHTML=txthtml().innerText; - else if(moz){ - txtReg=txthtml().value; - txtReg=txtReg.replace(//g,'').replace(/<\/strong>/g,''); - txtReg=txtReg.replace(//g,'').replace(/<\/em>/g,''); - editor().innerHTML=txtReg; - } -} - -//set txthtml (in)visible -function htmlVisible() -{ - if(txthtml().style.display!="none")txthtml().style.display="none"; - else txthtml().style.display="inline"; -} - -//buttons events -function execCom(cmd,opt) -{ - if(moz) - { - //well, moz sets #text or #text - //in this case, we don't use execCommand: we replace the or nodes by a textNode - - //nested lists (indent and outdent): moz creates blockquotes around lists, so we (try to) prevent this - switch(cmd.toLowerCase()) - { - /*case "bold": - container=getSelectedContainer(); - if(container.tagName.toLowerCase()=="strong") - { - ntext=iframe().contentDocument.createTextNode(container.innerHTML); - container.parentNode.replaceChild(ntext,container); - } - else iframe().contentDocument.execCommand(cmd,'',opt); - break; - case "italic": - container=getSelectedContainer(); - if(container.tagName.toLowerCase()=="em") - { - ntext=iframe().contentDocument.createTextNode(container.innerHTML); - container.parentNode.replaceChild(ntext,container); - } - else iframe().contentDocument.execCommand(cmd,'',opt); - break;*/ - case "indent": case "outdent": - var focusNode=getSelectedNode("focus"); - var anchorNode=getSelectedNode("anchor"); - - focusNode=getFirstBlockParent(focusNode); - anchorNode=getFirstBlockParent(anchorNode); - - if(focusNode!=null && focusNode==anchorNode && focusNode.tagName.toLowerCase()=="li") - { - var ancestor=focusNode.parentNode.parentNode; - if(focusNode.parentNode.childNodes.length>1 - || ancestor.tagName.toLowerCase()=="ol" - || ancestor.tagName.toLowerCase()=="ul") - - iframe().contentDocument.execCommand(cmd,'',opt); - } - break; - default: - iframe().contentDocument.execCommand(cmd,'',opt); - break; - } - } - else if(ie) - { - switch(cmd.toLowerCase()) - { - case "indent": case "outdent": - container=getSelectedContainer(); - if(container.tagName.toLowerCase()=="li") document.execCommand(cmd); - break; - default: - document.execCommand(cmd); - break; - } - } -} - -//main function to get the current selected container -function getSelectedContainer() -{ - if(selectedElement==null) - { - if(ie) - { - var caretPos=editor().caretPos; - if(caretPos!=null) - { - if(caretPos.parentElement!=undefined)return(caretPos.parentElement()); - } - } - else if(moz) - { - var sel=iframe().contentWindow.getSelection(); - var node=sel.focusNode; - if(node.nodeName=="#text")return(node.parentNode); - else return(node); - } - } - else return(selectedElement); -} - -//returns the selected anchor or focus node -function getSelectedNode(sType) -{ - if(moz) - { - var sel=iframe().contentWindow.getSelection(); - if(sType=="focus") node=sel.focusNode; - else if(sType=="anchor") node=sel.anchorNode; - if(node.nodeName=="#text")return(node.parentNode); - else return(node); - } -} -//get the top container (the first editor's child which contains the element) -function getMainContainer(elem) -{ - if(ie) - { - nodes=editor().children; - for(var x=0;x-1 || sClasses.indexOf(" "+sValue)>-1) - { - sClasses=sClasses.replace(sValue,""); - sClasses=sClasses.replace(" "," "); - sValue=sClasses; - } - else - { - if(sClasses=="")sClasses=sValue; - else sValue=sClasses+" "+sValue; - } - - sValue=sTrim(sValue); - if(sValue=="") - { - if(ie)container.removeAttribute("className"); - else if(moz)container.attributes.removeNamedItem("class"); - } - else - { - if(ie)container.setAttribute("className",sValue,0); - else if(moz)container.setAttribute("class",sValue); - } - displayClasses(); - } - } -} - -//highlight the container's classes -function displayClasses() -{ - var container=getSelectedContainer(); - var nodes=document.getElementById('m_class').getElementsByTagName("A"); //get the buttons from the panel - for(var i=0;i1)table.deleteRow(tr.rowIndex); - break; - //delete each coll at tdindex - case "COL": - if(tr.cells.length>1) - { - for(x=0;x"); - newNode.innerHTML=sTmp; - - //switch the container to add the next P at the good position - container=newNode; - } - - //remove the temp container (if in a TD) - if(tmpContainer!=null)tmpContainer.removeNode(); - - //remove remaining BR (moz only) - if(moz && editor().childNodes[1]!=null && editor().childNodes[1].tagName=="BR") - editor().removeChild(editor().childNodes[1]); - - getCleanHTML(); - } - } -} - - -//GECKO - -//keydown & keyup handlers, mainly used for cleanups - -function iframe_keydown_handler(evt) -{ - if(evt.keyCode==86 && evt.ctrlKey) //CTRL+V -> PASTE - { - //prevent CTRL+V - if(moz_prevent_copy) evt.preventDefault(); - } -} - -function iframe_keyup_handler(evt) -{ - if(evt.keyCode==13 && !evt.shiftKey) //RETURN key - { - //cleanup

    between paragraphs - - nodes=editor().childNodes; - - for(var x=0;x35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--)d[e(c)]=k[c]||e(c);k=[function(e){return d[e]}];e=function(){return'\\w+'};c=1};while(c--)if(k[c])p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c]);return p}('f 1n(){c.3R=hc.hb(\'2O\');h c};1n.j.e=f(Y,Z,3S){Z=Z||C;3S=3S||C;h\'<\'+Y+(Z?c.4M(Z):\'\')+(3S?\'>\':\' />\')};1n.j.ha=f(Y,K,Z){Z=Z||C;h\'<\'+Y+(Z?c.4M(Z):\'\')+\'>\'+K+\'\'};1n.j.h9=f(K){h\'\'};1n.j.7a=f(1A){h c.7c(c.79(1A))};1n.j.7c=f(7b){h 7b.y(/&h7;([a-z]+|(#\\d+));/h0,"&$1;")};1n.j.4M=f(Z){o 1A=c;1A.4L=\'\';S(Q 1f Z){o gZ=\'\';o A=Z[Q];l(1x A!=\'f\'&&A.J>0){l(6o(Q)==Q&&1x A==\'2c\'){Q=A.gY();A=A.2K()}l(Q!=\'\'&&A!=\'\'){1A.4L+=\' \'+Q+\'="\'+1A.7a(A)+\'"\'}}}h 1A.4L};1n.j.79=f(3u,3Q){c.3R.78=3u;c.3R.gX=3u;o I=c.3R.78;l(1x 3Q==\'1a\'){l(3Q!=C)I=I.y(\'"\',\'&gW;\');l(3Q==D)I=I.y(\'"\',\'&#gV;\')}h I};1n.j.gU=f(2n){o I=[];o 1r=2n.gT(/((=\\s*")(")("))|((=\\s*\\\')(\\\')(\\\'))|((=\\s*[^>\\s]*))/g);l(1r.gS()!=2n){S(k 1f 1r){o v=1r[k];l(1x v!=\'f\'&&v.J!=0){o 77=W 2r(\'(\\\\w+)\\\\s*\'+v);l(t=2n.t(77)){o A=v.y(/^[\\s=]+/,"");o 2o=A.gR(0);2o=2o==\'"\'?\'"\':(2o=="\'"?"\'":\'\');l(2o!=\'\'){A=2o==\'"\'?A.y(/^"|"+$/g,\'\'):A.y(/^\'|\'+$/g,\'\')}2n=2n.y(t[0],\'\');I.1B([t[1],A])}}}}h I};o 5y={"4D":{"gQ":{"2m":["2f","2d","2u","3z","2b","1C","1u","2a"],"n":["5I","4J","1u","2a","76","75"]},"gP":{"2m":["2f","br","4d","73","2b","1C"],"n":{"4K":["6U","6T"],"0":"4g","1":"1A:4g"}},"74":{"n":{"76":/^(\\w){1}$/,"75":/^(\\d)+$/}}},"4E":{"2k":{"3v":["4f"],"n":["gO","gN"]},"1m":{"3v":["1m","4c","4e","2t","a","1l","2w"],"n":["gM","gL","gK","gJ","gI","gH"]},"74":{"2m":["2f","3b","br","6x","gG","2d","2u","73","3z","2b","1C","1u","2a"],"n":["gF","gE","gD"]},"gC":{"2m":["2f","3b","br","2d","2u","3z","2b","1C","1u","2a"],"n":["gB","gA","gz","gy","gx","gw","gv"]}},"H":{"a":{"n":{"0":"3y","1":"71","2":"2I","3":"6O","4":"Y","6N":/^(3P|72|3D|1c|3G|3F|3L|3H|3J|3K|3M|3E|3C|3O|3I|3N||3B|3A)+$/,"6M":/^(3P|72|3D|1c|3G|3F|3L|3H|3J|3K|3M|3E|3C|3O|3I|3N||3B|3A)+$/,"70":/^(6Z|6Y|4h|6X|6W|6V)$/,"5":"X"}},"0":"3c","1":"48","2":"44","5v":{"n":{"0":"2J","1":"71","2":"2I","gu":/^(D|C)$/,"70":/^(6Z|6Y|4h|6X|6W|6V)$/},"N":["2J"]},"3":"b","2f":{"n":["2I"],"N":["2I"]},"3b":{"n":{"4K":/^(6U|6T)$/},"N":["4K"]},"4":"5u","45":{"n":["2e"]},"5":"4f","6":"br","2w":{"n":{"1k":/^(1k)$/,"X":/^(2w|6R|6Q)$/,"0":"A"},"1z":"1m"},"7":"5t","8":"2e","9":"5s","3a":{"n":{"1S":/^(1R|1Q|1P|1O)$/,"0":"1j","1":"1N","2q":/^(\\d)+$/,"1M":/^(1L|1K|1J|1I)$/,"2":"2H"},"1z":"2v"},"2v":{"n":{"1S":/^(1R|1Q|1P|1O)$/,"0":"1j","1":"1N","2q":/^(\\d)+$/,"1M":/^(1L|1K|1J|1I)$/,"2":"2H"}},"10":"dd","46":{"n":{"0":"2e","6P":/^([0-9]){8}/}},"11":"2O","12":"5r","13":"dl","14":"dt","15":"em","5q":{"1z":"1m"},"1m":{"n":{"0":"2z","1":"2C","2":"2C-3y","3":"gt","gs":/^(gr|gq)$/},"N":["2z"]},"2d":{"n":["gp"]},"16":"h1","17":"h2","18":"h3","19":"h4","20":"h5","21":"h6","22":"4d","2u":{"n":["go"]},"23":"i","5b":{"n":["2J","3x","6K","gn","gl","6J","2H"],"N":["2J","3x"]},"4c":{"n":{"0":"2C","1":"2J","6S":/^(6S)$/,"1k":/^(1k)$/,"gk":/^(\\d)+$/,"2":"Y","4H":/^(4H)$/,"6D":/^(\\d)+$/,"3":"3x","X":/^(2w|gj|gi|gh|5x|gg|gf|6R|6Q|L)$/,"4":"A"},"1z":"1m"},"5p":{"n":{"0":"2e","6P":/^([0-9]){8}/}},"24":"5o","1l":{"n":["S"],"1z":"1m"},"25":"5n","26":"1Y","gd":{"n":{"0":"3y","1":"2I","2":"6O","6C":/^(4I|6y|6z|6A|6B|gc|,|;|)+$/i,"6N":/^(3P|3O|3N|3M|3L|3K|3J|3I|6L|3H|3G|3F|3E|1c|3D|3C||3B|3A)+$/i,"6M":/^(3P|3O|3N|3M|3L|3K|3J|3I|6L|3H|3G|3F|3E|1c|3D|3C||3B|3A)+$/i,"3":"X"},"1z":"2d"},"5m":{"n":["4J","Y"],"N":["4J"]},"3z":{"n":{"0":"K","gb-5w":/^(K\\-X|ga|g9|g8\\-g7)$/i,"1":"Y","2":"g6"},"N":["K"]},"27":"5l","2c":{"n":["g5","g4","g3","g2","6H","g1","6K","Y","g0","X","6J","2H"]},"28":"3W","5k":{"n":{"0":"1l","1k":/^(1k)$/},"N":["1l"]},"2Y":{"n":{"0":"1l","1k":/^(1k)$/,"6I":/^(6I)$/,"1":"A"},"1z":"2t"},"29":"p","2b":{"n":{"0":"X","6G":/^(6H|fZ|2c)$/,"1":"6G","2":"A"},"N":["Y"]},"30":"47","q":{"n":["2e"]},"31":"5j","1C":{"n":{"X":/^(L\\/fY|L\\/fX|L\\/fW|L\\/fV|L\\/fU|L\\/1A)$/,"0":"3y","6F":/^(6F)$/,"1":"3x"},"N":["X"]},"2t":{"n":{"1k":/^(1k)$/,"6E":/^(6E)$/,"0":"Y","1":"6D"},"1z":"1m"},"32":"5i","33":"2q","34":"2S","1u":{"n":{"0":"X","6C":/^(6B|fT|fS|6A|fR|6z|6y|fQ|4I)$/},"N":["X"]},"35":"2V","36":"2U","5h":{"n":{"0":"6w","1":"fP","2":"fO","6x":/^(fN|fM|fL|fK|fJ|fI|fH|fG|6w)$/,"fF":/^(fE|fD|4F|4G|4I)$/,"3":"fC","4":"2H"}},"5g":{"n":{"1S":/^(1R|1Q|1P|1O)$/,"0":"1j","1":"1N","1M":/^(1L|1K|1J|1I)$/}},"2Z":{"n":{"0":"3c","1S":/^(1Q|1R|1P|1O|1j)$/,"1":"6v","2":"1j","3":"1N","6u":/^(\\d)+$/,"4":"6t","6s":/^(\\d)+$/,"G":/^(3a|2v|6r|6q)$/,"1M":/^(1L|1K|1J|1I)$/}},"4e":{"n":["4G","4F","1k","Y","4H"],"N":["4G","4F"],"1z":"1m"},"5f":{"n":{"1S":/^(1R|1Q|1P|1O)$/,"0":"1j","1":"1N","1M":/^(1L|1K|1J)$/,"2":"1I"}},"5e":{"n":{"0":"3c","1S":/^(1Q|1R|1P|1O|1j)$/,"1":"6v","2":"1j","3":"1N","6u":/^(\\d)+$/,"4":"6t","6s":/^(\\d)+$/,"G":/^(3a|2v|6r|6q)$/,"1M":/^(1L|1K|1J|1I)$/}},"5d":{"n":{"1S":/^(1R|1Q|1P|1O)$/,"0":"1j","1":"1N","1M":/^(1L|1K|1J|1I)$/}},"37":"2a","4b":{"n":{"1S":/^(1R|1Q|1P|1O|1j)$/,"0":"1j","1":"1N","1M":/^(1L|1K|1J|1I)$/}},"38":"5c","39":"3X","40":"o"},2N:[],2M:[],42:f(e,n){o 3w={};o 6p=c.6j(e);S(o P 1f n){o A=n[P];l(!c.2N.1e(P)&&!c.2M.1e(A)){l(1x A!=\'f\'&&6p.1e(P)){l(c.6l(e,P)){l(c.6k(e,P,A)){3w[P]=A}}2h{3w[P]=A}}}}h 3w},6i:f(e){o I=[];l(c.H[e]&&c.H[e][\'n\']){S(k 1f c.H[e][\'n\']){I.1B(6o(k)==k?c.H[e][\'n\'][k]:k)}}h I},6m:f(){o I=[];S(o Q 1f c.4E){I.1B(c.4E[Q])}S(o Q 1f c.4D){I.1B(c.4D[Q])}h I},6n:f(e){l(c.H[e]){h D}S(o Q 1f c.H){l(c.H[Q]==e){h D}}h C},6h:f(e){o 4B=[];l(c.6n(e)){o 4C=c.6m();S(o Q 1f 4C){o 1y=4C[Q];l(1x 1y==\'2c\'){l((1y[\'2m\']&&1y[\'2m\'].1e(e))||(1y[\'3v\']&&!1y[\'3v\'].1e(e))){fB}o 3t=1y[\'n\']?1y[\'n\']:1y[\'fA\'];S(k 1f 3t){4B.1B(1x 3t[k]!=\'3u\'?k:3t[k])}}}}h 4B},6l:f(e,P){h c.H[e]&&((c.H[e][\'n\']&&c.H[e][\'n\'][P])||(c.H[e][\'N\']&&c.H[e][\'N\'].1e(P)))},6k:f(e,P,A){l(c.H[e]&&(c.H[e][\'n\']&&c.H[e][\'n\'][P]&&A.J>0&&!A.t(c.H[e][\'n\'][P]))||(c.H[e]&&c.H[e][\'N\']&&c.H[e][\'N\'].1e(P)&&A.J==0)){h C}h c.H[e]!=1a},6j:f(e){l(!c.2G){c.2G={}}l(!c.2G[e]){c.2G[e]=c.6i(e).fz(c.6h(e))}h c.2G[e]}};f 1i(3r){c.1X=3r;c.1H=[];c.4A=[];c.2E=4z;h c};1i.j.1G=f(1q,1l){1l=1l||D;o 2F=c.1H.J;c.1H[2F]=1q;c.4A[2F]=1l;c.2E=4z};1i.j.t=f(6g){l(c.1H.J==0){h[C,\'\']}1r=6g.t(c.6f());l(!1r){h[C,\'\']}o t=1r[0];S(i=1;i<1r.J;i++){l(1r[i]){h[c.4A[i-1],t]}}h[D,1r[0]]};1i.j.6f=f(){l(c.2E==4z){S(i=0,2F=c.1H.J;i<2F;i++){c.1H[i]=\'(\'+c.6d(c.6e(c.1H[i]).y(/([\\/\\(\\)])/g,\'\\\\$1\'))+\')\'}c.2E=W 2r(c.1H.56("|"),c.65())}h c.2E};1i.j.6e=f(3s){h 3s.y(/\\(\\?(i|m|s|x|U)\\)/,\'~~~~~~6c\\$1~~~~~~\').y(/\\(\\?(\\-[i|m|s|x|U])\\)/,\'~~~~~~6b\\$1~~~~~~\').y(/\\(\\?\\=(.*)\\)/,\'~~~~~~6a\\$1~~~~~~\').y(/\\(\\?\\!(.*)\\)/,\'~~~~~~69\\$1~~~~~~\').y(/\\(\\?\\<\\=(.*)\\)/,\'~~~~~~68\\$1~~~~~~\').y(/\\(\\?\\<\\!(.*)\\)/,\'~~~~~~67\\$1~~~~~~\').y(/\\(\\?\\:(.*)\\)/,\'~~~~~~66\\$1~~~~~~\')};1i.j.6d=f(3s){h 3s.y(/~~~~~~6c(.{1})~~~~~~/,"(?\\$1)").y(/~~~~~~6b(.{2})~~~~~~/,"(?\\$1)").y(/~~~~~~6a(.*)~~~~~~/,"(?=\\$1)").y(/~~~~~~69(.*)~~~~~~/,"(?!\\$1)").y(/~~~~~~68(.*)~~~~~~/,"(?<=\\$1)").y(/~~~~~~67(.*)~~~~~~/,"(?",\'4q\')};1o.j.5P=f(G){c.1V("<1C",G,\'4p\');c.1F("",\'4p\')};1o.j.5O=f(G){c.1V("<1u",G,\'4o\');c.1F("",\'4o\')};1o.j.5N=f(G){c.2j("<\\\\s*[a-4s-9:\\-]+\\\\s*>",G,\'3m\');c.1V("<[a-4s-9:\\-]+"+\'[\\\\\\/ \\\\\\>]+\',G,\'3m\');c.5M(\'3m\');c.2j("",G,\'5F\')};1o.j.5M=f(G){c.2j(\'\\\\s+\',G,\'5H\');c.5L(G);c.1F(\'/>\',G);c.1F(\'>\',G)};1o.j.5L=f(G){c.2j("\\\\s*[a-z-fp-9]+\\\\s*(?=\\=)\\\\s*",G,\'5A\');c.1V(\'=\\\\s*"\',G,\'3f\');c.1G("\\\\\\\\\\"",\'3f\');c.1F(\'"\',\'3f\');c.1V("=\\\\s*\'",G,\'3e\');c.1G("\\\\\\\\\'",\'3e\');c.1F("\'",\'3e\');c.2j(\'=\\\\s*[^>\\\\s]*\',G,\'5z\')};f E(5K,r){o r=r||\'1w\';c.5J=W 1o(c);c.u=5K;c.1E=r;c.fo=[];c.fn=\'\';c.fm=\'\';h c};E.j.4r=f(F){c.5J.4r(c.2X(F));h c.2W(c.u.53())};E.j.2X=f(F){l(F.t(/5I="4U"/)||F.t(/fl = "fk:fj-fi-fh/)){c.u.4V()}h c.u.2X(F)};E.j.2W=f(1D){l(c.u.41){c.u.4T()}h c.u.2W(1D)};E.j.5H=f(t,O){h D};E.j.1w=f(L){c.u.52(L);h D};E.j.4q=f(t,2i){h c.3n(t,2i,\'2R\')};E.j.4p=f(t,2i){h c.3n(t,2i,\'2Q\')};E.j.4o=f(t,2i){h c.3n(t,2i,\'2P\')};E.j.3n=f(t,O,X){4n(O){1v 3l:c.2y=t;1U;1v 2g:c.2y+=t;1U;1v 3k:4n(X){1v\'2R\':c.u.2R(c.2y+t);1U;1v\'2Q\':c.u.2Q(c.2y+t);1U;1v\'2P\':c.u.2P(c.2y+t);1U}}h D};E.j.3m=f(t,O){4n(O){1v 3l:c.5G=c.3h(t);c.2x={};1U;1v 3g:c.4m(c.3h(t));1U;1v 3k:c.4m(c.5G,c.2x)}h D};E.j.5F=f(t,O){c.4j(c.3h(t));h D};E.j.4m=f(e,n){o n=n||{};c.5D(e);l(c.u.3Z(e)){c.u.4i.1B(e);c.u.4O(e,n);c.u.51(e,n);c.4l(e)}2h l(c.u.4S(e)){c.u.50(e,n)}2h{c.u.4Z(e,n);c.4l(e)}c.u.2L=e;c.u.3V=D;c.u.fg=n};E.j.4j=f(e){l(c.5E(e)){c.5C(e);l(c.u.3Z(e)){o 3j=c.u.4i.2K();l(3j==C){h}2h l(3j!=e){e=3j}c.u.4Y(e)}2h{c.u.4X(e)}}2h{c.u.4W(e)}c.u.2L=e;c.u.3V=C};E.j.4l=f(e){c.u.1h[e]=c.u.1h[e]||0;c.u.1h[e]++};E.j.5E=f(e){l(c.u.1h[e]){c.u.1h[e]--;l(c.u.1h[e]==0){c.u.1h[e]=1a}h D}h C};E.j.5D=f(3i){c.4k(3i,C)};E.j.5C=f(e){c.4k(e,D)};E.j.4k=f(3i,1g){o 1g=1g||C;l(c.u.1h){S(e 1f c.u.1h){5B=c.u.1h[e];l(5B>0&&c.u.5a(e,3i,1g)){c.4j(e,D)}}}};E.j.2T=f(){h c.u.2T()};E.j.3h=f(e){e=e.y(/^([\\s<\\/>]*)|([\\s<\\/>]*)$/gm,\'\').ff();1Z=c.u.2T();l(1Z[e]){h 1Z[e]}h e};E.j.5A=f(t,O){l(3g==O){c.3d=t}h D};E.j.3f=f(t,O){l(2g==O){c.2x[c.3d]=t}h D};E.j.3e=f(t,O){l(2g==O){c.2x[c.3d]=t}h D};E.j.5z=f(t,O){c.2x[c.3d]=t.y(/^=/,\'\');h D};f B(){c.R=\'\';c.43=W 1n();c.1h={};c.1T=5y;c.4i=[];c.2p=[];c.4a={\'&54;\':\'7\',\'&fe;\':\'&#fd;\',\'&fc;\':\'&#fb;\',\'&fa;\':\'&#f9;\',\'&f8;\':\'&#f7;\',\'&f6;\':\'&#f5;\',\'&f4;\':\'&#f3;\',\'&f2;\':\'&#f1;\',\'&f0;\':\'&#eZ;\',\'&eY;\':\'&#eX;\',\'&eW;\':\'&#eV;\',\'&eU;\':\'&#eT;\',\'&eS;\':\'&#eR;\',\'&eQ;\':\'&#eP;\',\'&eO;\':\'&#eN;\',\'&eM;\':\'&#eL;\',\'&eK;\':\'&#eJ;\',\'&eI;\':\'&#eH;\',\'&eG;\':\'&#eF;\',\'&eE;\':\'&#eD;\',\'&eC;\':\'&#eB;\',\'&eA;\':\'&#ez;\',\'&ey;\':\'&#ex;\',\'&ew;\':\'&#ev;\',\'&eu;\':\'&#et;\',\'&es;\':\'&#er;\',\'&eq;\':\'&#ep;\',\'&eo;\':\'&#en;\',\'⪙\':\'&#ek;\',\'&ej;\':\'&#ei;\',\'&eh;\':\'&#eg;\',\'&ef;\':\'&#ee;\',\'&ed;\':\'&#ec;\',\'&eb;\':\'&#ea;\',\'&e9;\':\'&#e8;\',\'&e7;\':\'&#e6;\',\'&e5;\':\'&#e4;\',\'&e3;\':\'&#e2;\',\'&e1;\':\'&#e0;\',\'&dZ;\':\'&#dY;\',\'&dX;\':\'&#dW;\',\'&dV;\':\'&#dU;\',\'&dT;\':\'&#dS;\',\'&dR;\':\'&#dQ;\',\'&dP;\':\'&#dO;\',\'&dN;\':\'&#dM;\',\'&dL;\':\'&#dK;\',\'&dJ;\':\'&#dI;\',\'&dH;\':\'&#dG;\',\'&dF;\':\'&#dE;\',\'&dD;\':\'&#dC;\',\'&dB;\':\'&#dA;\',\'&dz;\':\'&#dy;\',\'&dx;\':\'&#dw;\',\'&dv;\':\'&#du;\',\'&ds;\':\'&#dr;\',\'&dq;\':\'&#dp;\',\'&do;\':\'&#dn;\',\'&dm;\':\'&#dk;\',\'&dj;\':\'&#di;\',\'&dh;\':\'&#dg;\',\'&df;\':\'&#de;\',\'&dc;\':\'&#db;\',\'&da;\':\'&#d9;\',\'&d8;\':\'&#d7;\',\'&d6;\':\'&#d5;\',\'&d4;\':\'&#d3;\',\'&d2;\':\'&#d1;\',\'&d0;\':\'&#cZ;\',\'&cY;\':\'&#cX;\',\'&cW;\':\'&#cV;\',\'&cU;\':\'&#cT;\',\'&cS;\':\'&#cR;\',\'&cQ;\':\'&#cP;\',\'&cO;\':\'&#cN;\',\'&cM;\':\'&#cL;\',\'&cK;\':\'&#cJ;\',\'&cI;\':\'&#cH;\',\'&cG;\':\'&#cF;\',\'&cE;\':\'&#cD;\',\'&cC;\':\'&#cB;\',\'&cA;\':\'&#cz;\',\'&cy;\':\'&#cx;\',\'&cw;\':\'&#cv;\',\'&cu;\':\'&#ct;\',\'&cs;\':\'&#cr;\',\'&cq;\':\'&#cp;\',\'&co;\':\'&#cn;\',\'&cm;\':\'&#cl;\',\'&ck;\':\'&#cj;\',\'&ci;\':\'&#ch;\',\'&cg;\':\'&#cf;\',\'&ce;\':\'&#cd;\',\'&cc;\':\'&#cb;\',\'&ca;\':\'&#c9;\',\'&c8;\':\'&#c7;\',\'&c6;\':\'&#c5;\',\'&c4;\':\'&#c3;\',\'&c2;\':\'&#c1;\',\'&c0;\':\'&#bZ;\',\'&bY;\':\'&#bX;\',\'&bW;\':\'&#bV;\',\'&4h;\':\'&#bU;\',\'&bT;\':\'&#bS;\',\'&bR;\':\'&#bQ;\',\'&bP;\':\'&#bO;\',\'&bN;\':\'&#bM;\',\'&bL;\':\'&#bK;\',\'&bJ;\':\'&#bI;\',\'&bH;\':\'&#bG;\',\'&bF;\':\'&#bE;\',\'&bD;\':\'&#bC;\',\'&bB;\':\'&#bA;\',\'&bz;\':\'&#by;\',\'&bx;\':\'&#bw;\',\'&bv;\':\'&#bu;\',\'&bt;\':\'&#bs;\',\'&bq;\':\'&#bp;\',\'&bo;\':\'&#bn;\',\'&bm;\':\'&#bl;\',\'&bk;\':\'&#bj;\',\'&bi;\':\'&#bh;\',\'&bg;\':\'&#bf;\',\'&be;\':\'&#bd;\',\'&bc;\':\'&#bb;\',\'&ba;\':\'&#b9;\',\'&b8;\':\'&#b7;\',\'&b6;\':\'&#b5;\',\'&b4;\':\'&#b3;\',\'&b2;\':\'&#b1;\',\'&b0;\':\'&#aZ;\',\'&aY;\':\'&#aX;\',\'&aW;\':\'&#aV;\',\'&aU;\':\'&#aT;\',\'&aS;\':\'&#aR;\',\'&aQ;\':\'&#aP;\',\'&aO;\':\'&#aN;\',\'&aM;\':\'&#aL;\',\'&aK;\':\'&#aJ;\',\'&aI;\':\'&#aH;\',\'&aG;\':\'&#aF;\',\'&aE;\':\'&#aD;\',\'&aC;\':\'&#aB;\',\'&aA;\':\'&#az;\',\'&ay;\':\'&#ax;\',\'&aw;\':\'&#av;\',\'&au;\':\'&#at;\',\'&as;\':\'&#ar;\',\'&aq;\':\'&#ap;\',\'&ao;\':\'&#an;\',\'&am;\':\'&#al;\',\'&ak;\':\'&#aj;\',\'&ai;\':\'&#ah;\',\'&ag;\':\'&#af;\',\'&ae;\':\'&#ad;\',\'∾\':\'&#ab;\',\'&aa;\':\'&#a9;\',\'&a8;\':\'&#a7;\',\'&a6;\':\'&#a5;\',\'&a4;\':\'&#a3;\',\'&a2;\':\'&#a1;\',\'&a0;\':\' Z;\',\'&9Y;\':\' X;\',\'&9W;\':\' V;\',\'&9U;\':\' T;\',\'&9S;\':\' R;\',\'&9Q;\':\' P;\',\'&9O;\':\' N;\',\'&9M;\':\' L;\',\'&9K;\':\' J;\',\'&9I;\':\' H;\',\'&9G;\':\' F;\',\'&9E;\':\' D;\',\'&9C;\':\' B;\',\'&9A;\':\' z;\',\'&9y;\':\' x;\',\'&9w;\':\' v;\',\'&9u;\':\' t;\',\'&9s;\':\' r;\',\'&9q;\':\' p;\',\'&9o;\':\' n;\',\'&9m;\':\' l;\',\'&9k;\':\' j;\',\'&5x;\':\' i;\',\'&9h;\':\' g;\',\'&9f;\':\' e;\',\'&9d;\':\' c;\',\'&9b;\':\' a;\',\'&99;\':\'b\',\'&97;\':\'`\',\'&95;\':\'^\',\'&93;\':\'\\',\'&91;\':\'Z\',\'&8Z;\':\'Y;\',\'&8X;\':\'W;\',\'&8V;\':\'U;\',\'&8T;\':\'S;\',\'&8R;\':\'Q;\',\'&8P;\':\'O;\',\'&8N;\':\'M;\',\'&8L;\':\'K;\',\'&8J;\':\'I;\',\'&8H;\':\'G;\',\'&8F;\':\'E;\',\'&8D;\':\'C;\',\'&8B;\':\'A;\',\'&8z;\':\'y;\',\'&8x;\':\'w;\',\'&8v;\':\'u;\',\'&8t;\':\'s;\',\'&8r;\':\'q;\',\'&8p;\':\'o;\',\'&8n;\':\'m;\',\'&8l;\':\'k;\',\'&8j;\':\'i;\',\'&8h;\':\'g;\',\'&8f;\':\'e;\',\'&8d;\':\'c;\',\'&8b;\':\'a;\',\'&89;\':\'X\',\'&87;\':\'V\',\'&85;\':\'T\',\'&83;\':\'R\',\'&81;\':\'P\',\'&7Z;\':\'Y;\',\'&5w;\':\'X;\',\'&7W;\':\'V;\',\'≥\':\'U;\',\'&2V;\':\'T;\',\'&2U;\':\'S;\',\'&7R;\':\'Q;\',\'&7P;\':\'O;\',\'&7N;\':\'M;\',\'&7L;\':\'K;\',\'&7J;\':\'I;\',\'&7H;\':\'G;\',\'&7F;\':\'E;\',\'&7D;\':\'C;\',\'&7B;\':\'A;\',\'&7z;\':\'y;\',\'&7x;\':\'w;\',\'&4g;\':\'v;\',\'&7u;\':\'t;\',\'&7s;\':\'r;\',\'&7q;\':\'p;\',\'&7o;\':\'n;\',\'&7m;\':\'l;\',\'&7k;\':\'j;\'};c.3Y=["a","3c","48","44","5v","b","2f","3b","5u","45","4f","2w","5t","2e","5s","3a","2v","dd","46","2O","5r","dl","dt","em","5q","1m","2d","h1","h2","h3","h4","h5","h6","2u","i","5p","5o","1l","5n","1Y","5m","5l","2c","3W","5k","2Y","p","2b","47","q","5j","1C","2t","5i","2q","2S","1u","2V","2U","5h","5g","2Z","4e","5f","5e","5d","2a","4b","5c","3X","o","7i"];c.4R=["br","4d","5b","4c"];h c};B.j.5a=f(e,2s,1g){o 1g=1g||C;l(e==\'2Z\'){l((1g&&2s==\'4b\')||(!1g&&2s==\'2Z\')){h D}}l(e==\'2Y\'){l((1g&&2s==\'2t\')||(!1g&&2s==\'2Y\')){h D}}h C};B.j.2X=f(F){c.R=\'\';h F};B.j.2W=f(M){M=c.59(M);M=c.58(M);M=c.57(M);h M};B.j.59=f(M){S(49 1f c.4a){M=M.y(49,c.4a[49])}h M};B.j.58=f(M){o 1Z=\'em|2S|2V|2U|48|47|46|45|44\';h M.y(W 2r(\'<\\/(\'+1Z+\')><\\\\1>\',\'\'),\'\').y(W 2r(\'(\\s*<(\'+1Z+\')>\\s*){2}(.*)(\\s*<\\/\\\\2>\\s*){2}\',\'\'),\'<\\$2>\\$3<\\$2>\')};B.j.57=f(M){h M.y(W 2r(\'<(\'+c.3Y.56("|")+\')>(
    |7|&54;|\\s)*<\\/\\\\1>\',\'g\'),\'\')};B.j.53=f(){h c.R};B.j.2T=f(){h{\'b\':\'2S\',\'i\':\'em\'}};B.j.52=f(L){c.R+=L};B.j.2R=f(L){l(c.7h){c.R+=L}};B.j.2Q=f(L){l(!c.7g){c.R+=L}};B.j.2P=f(L){l(!c.7f){c.R+=L}};B.j.51=f(e,n){c.R+=c.43.e(e,c.1T.42(e,n),D)};B.j.50=f(e,n){c.R+=c.43.e(e,c.1T.42(e,n))};B.j.4Z=f(e,n){};B.j.4Y=f(e){c.R=c.R.y(/
    $/,\'\')+c.3T(\'4P\',e)+""+c.3T(\'4Q\',e)};B.j.4X=f(e){};B.j.4W=f(e){c.R+=""};B.j.4V=f(){c.2p=[\'2O\',\'2q\'];c.1T.2N=[\'1u\'];c.1T.2M=[\'4U\',\'7e\'];c.41=D};B.j.4T=f(){c.2p=[];c.1T.2N=[];c.1T.2M=[];c.41=C};B.j.3Z=f(e){h!c.2p.1e(e)&&c.3Y.1e(e)};B.j.4S=f(e){h!c.2p.1e(e)&&c.4R.1e(e)};B.j.4N=f(e,K){c.3U(\'4Q\',e,K)};B.j.7d=f(e,K){c.3U(\'4P\',e,K)};B.j.4O=f(e,n){l(e!=\'1Y\'&&(e==\'3X\'||e==\'3W\')&&c.2L&&!c.3V&&c.2L==\'1Y\'){c.R=c.R.y(/<\\/1Y>$/,\'\');c.4N(e,\'\')}};B.j.3U=f(1d,e,K){l(!c[\'1t\'+1d+\'1s\']){c[\'1t\'+1d+\'1s\']=[]}l(!c[\'1t\'+1d+\'1s\'][e]){c[\'1t\'+1d+\'1s\'][e]=[]}c[\'1t\'+1d+\'1s\'][e].1B(K)};B.j.3T=f(1d,e){l(c[\'1t\'+1d+\'1s\']&&c[\'1t\'+1d+\'1s\'][e]&&c[\'1t\'+1d+\'1s\'][e].J>0){h c[\'1t\'+1d+\'1s\'][e].2K()}h\'\'};',62,1067,'||||||||||||this||tag|function||return||prototype||if||attributes|var|||mode||match|_Listener||||replace||value|XhtmlSaxListener|false|true|XhtmlParser|raw|scope|_tags|result|length|content|text|xhtml|required|state|attribute|key|output|for|Lexer||_regexes|new|type|name|options|||||||||||undefined|_mode_handlers|start|position|contains|in|closing|_open_tags|ParallelRegex|char|disabled|label|form|XmlHelper|XhtmlLexer|matched|pattern|matches|_closing|_insert_|style|case|Text|typeof|defaults|inside|xml|push|script|parsed|_mode|addExitPattern|addPattern|_patterns|baseline|bottom|middle|top|valign|charoff|justify|center|left|right|align|validator|break|addEntryPattern|_invokeParser|_case|li|tags|||||||||||title|param|object|head|cite|base|LEXER_UNMATCHED|else|status|addSpecialPattern|window|_stack|except|tag_attributes|delimiter|avoided_tags|span|RegExp|now_on_tag|select|html|colgroup|button|_tag_attributes|_non_tag|action|special|new_mode|accept|StateStack|_regex|count|_possible_tag_attributes|width|href|alt|pop|last_tag|skiped_attribute_values|skiped_attributes|div|addCss|addScript|addComment|strong|getTagReplacements|sup|sub|afterParsing|beforeParsing|option|td|||||||||||col|bdo|abbr|_current_attribute|SingleQuotedAttribute|DoubleQuotedAttribute|LEXER_SPECIAL|normalizeTag|new_tag|expected_tag|LEXER_EXIT|LEXER_ENTER|OpeningTag|_addNonTagBlock|parser|handler|unmatched|case_sensitive|regex|tag_defaults|string|only|valid_attributes|src|charset|meta|icon|shortcut|subsection|stylesheet|section|prev|next|index|help|glossary|copyright|contents|chapter|bookmark|appendix|alternate|escape_quotes|_entitiesDiv|open|_getClosingTagContent|_insertContentWhenClosingTag|last_tag_opened|ol|ul|block_tags|isBlockTag||_avoiding_tags_implicitly|getValidTagAttributes|helper|address|blockquote|del|pre|acronym|entity|entities|tr|input|hr|textarea|body|lang|circ|_tag_stack|_callCloseTagListener|_autoCloseUnclosed|_increaseOpenTagCounter|_callOpenTagListener|switch|Css|Script|Comment|parse|z0|unparsed_character_count|substring|getCurrent|_parser|enter|leave|null|_labels|default_attributes|default_attributes_and_events|_attributes|_events|rows|cols|readonly|all|id|dir|_formated_options|tagOptions|insertContentAfterClosingTag|fixNestingBeforeOpeningBlockTag|before|after|inline_tags|isInlineTag|allowStylingTagsAndAttributes|MsoNormal|avoidStylingTagsAndAttributes|closeUnopenedTag|closeUnknownTag|closeBlockTag|openUnknownTag|inlineTag|openBlockTag|addContent|getResult|nbsp|160|join|removeEmptyTags|joinRepeatedEntities|replaceNamedEntities|shouldCloseTagAutomatically|img|tt|thead|th|tfoot|tbody|table|small|samp|optgroup|noscript|map|legend|kbd|ins|fieldset|dfn|code|caption|big|area|equiv|image|XhtmlValidator|UnquotedAttribute|TagAttributes|counter|autoCloseUnclosedBeforeTagClosing|autoCloseUnclosedBeforeNewOpening|_decreaseOpenTagCounter|ClosingTag|_tag|Ignore|class|_Lexer|Listener|addAttributeTokens|addInTagDeclarationTokens|addTagTokens|addCssTokens|addScriptTokens|addCommentTokens|addTokens|init|mapHandler|unparsed|_reduce|is_match|current|_decodeSpecial|_|_isSpecialMode|__exit|_isModeEnd|LEXER_MATCHED|_dispatchTokens|_getPerlMatchingFlags|Tk7|Tk6|Tk5|Tk4|Tk3|Tk2|Tk1|_untokenizeRegex|_tokenizeRegex|_getCompoundedRegex|subject|getDefaultAttributesAndEventsForTag|getUniqueAttributesAndEventsForTag|getPossibleTagAttributes|validateAttribute|doesAttributeNeedsValidation|getDefaultAttributesAndEventsForTags|isValidTag|parseInt|possible_attributes|rowgroup|row|rowspan|headers|colspan|axis|border|frame|braille|print|projection|screen|media|size|multiple|defer|valuetype|data|selected|usemap|height|home|rev|rel|hreflang|datetime|submit|reset|checked|rtl|ltr|polygon|poly|circle|rectangle|rect|shape|coords|designates|iframe|keyboard|tabindex|accesskey|re|innerHTML|escapeEntities|escapeOnce|escaped|_fixDoubleEscape|insertContentBeforeClosingTag|main1|remove_embeded_styles|remove_scripts|remove_comments|extends|9830|diams|9829|hearts|9827|clubs|9824|spades|9674|loz|9002|rang|9001|8971|rfloor|8970|lfloor|8969|rceil|8968|lceil|8901|sdot|8869|perp|8855|otimes|8853|oplus|8839|supe|8838|sube|8836|nsub|8835|8834|8805|8804|le|8801|8800|ne|8776|asymp|8773|cong|8764|sim|8756|there4|8747|int|8746|cup|8745|cap|8744|or|8743|and|8736|ang|8734|infin|8733|prop|8730|radic|8727|lowast|8722|minus|8721|sum|8719|prod|8715|ni|8713|notin|8712|isin|8711|nabla|8709|empty|8707|exist|8706|part|8704|forall|8660|hArr|8659|dArr|8658|rArr|8657|uArr|8656|lArr|8629|crarr|8596|harr|8595|darr|8594|rarr|8593|uarr|8592|larr|8501|alefsym|8482|trade|8476|real|8472|weierp|8465|8364|euro|8260|frasl|8254|oline|8250|rsaquo|8249|lsaquo|8243|Prime|8242|prime|8240|permil|8230|hellip|8226|bull|8225|Dagger|8224|dagger|8222|bdquo|8221|rdquo|8220|ldquo|8218|sbquo|8217|rsquo|8216|lsquo|8212|mdash|8211|ndash|8207|rlm|8206|lrm|8205|zwj|8204|zwnj|8201|thinsp|8195|emsp|8194|ensp|982|piv|978|upsih|977|thetasym|969|omega|968|psi|967|chi|966|phi|965|upsilon|964|tau|963|sigma|962|sigmaf|961|rho|960|pi|959|omicron|958|xi|957|nu|956|mu|955|lambda|954|kappa|953|iota|952|theta|951|eta|950|zeta|949|epsilon|948|delta|947|gamma|946|beta|945|alpha|937|Omega|936|Psi|935|Chi|934|Phi|933|Upsilon|932|Tau|931|Sigma|929|Rho|928|Pi|927|Omicron|926|Xi||925|Nu|924|Mu|923|Lambda|922|Kappa|921|Iota|920|Theta|919|Eta|918|Zeta|917|Epsilon|916|Delta|915|Gamma|914|Beta|913|Alpha|732|tilde|710|402|fnof|376|Yuml|353|scaron|352|Scaron|339|oelig|338|OElig|255|yuml|254|thorn|253|yacute|252|uuml|251|ucirc|250|uacute|249|ugrave|248|oslash|247|divide|246|ouml|245|otilde|244|ocirc|243|oacute|242|ograve|241|ntilde|240|eth|239|iuml|238|icirc|237|iacute|236|igrave|235|euml|234|ecirc|233|eacute|232|egrave|231|ccedil|230|aelig|229|aring|228|auml|227|atilde|226|acirc|225|aacute|224|agrave|223|szlig|222|THORN||221|Yacute|220|Uuml|219|Ucirc|218||Uacute|217|Ugrave|216|Oslash|215|times||214|Ouml|213|Otilde|212|Ocirc|211|Oacute|210|Ograve|209|Ntilde|208|ETH|207|Iuml|206|Icirc|205|Iacute|204|Igrave|203|Euml|202|Ecirc|201|Eacute|200|Egrave|199|Ccedil|198|AElig|197|Aring|196|Auml|195|Atilde|194|Acirc|193|Aacute|192|Agrave|191|iquest|190|frac34|189|frac12|188|frac14||187|raquo|186|ordm|185|sup1|184|cedil|183|middot|182|para|181|micro|180|acute|179|sup3|178|sup2|177|plusmn|176|deg|175|macr|174|reg|173|shy|172|not|171|laquo|170|ordf|169|copy|168|uml|167|sect|166|brvbar|165|yen|164|curren|163|pound|162|cent|161|iexcl|toLowerCase|last_tag_attributes|com|microsoft|schemas|urn|ns|_current_match|_last_match|_matches|_0|extend|jQuery|substr|indexOf|eval|test|boolean|while|mi|concat|events|continue|summary|groups|none|rules|box|vsides|rhs|lhs|hsides|below|above|void|cellspacing|cellpadding|aural|handheld|tv|tty|vbs|vbscript|jscript|javascript|ecmascript|ref|standby|declare|codetype|codebase|classid|archive|scheme|cookie|set|refresh|expires|http|speech|link||radio|password|hidden|file|checkbox|maxlength|longdesc||ismap|xmlns|profile|post|get|method|enctype|nohref|onmouseup|onmouseout|onmouseover|onmousemove|onmousedown|ondblclick|onclick|mouse|onkeyup|onkeypress|onkeydown|frameset|onfocus|onblur|onselect|onreset|onsubmit|onchange|onunload|onload|language|core|charAt|toString|split|parseAttributes|039|quot|textContent|shift|formated_options|ig|||||||amp|CDATA|cdataSection|contentTag|createElement|document'.split('|'),0,{})) diff -urpN contributions/modules/wymeditor/wymeditor-image.js wymeditor/wymeditor-image.js --- contributions/modules/wymeditor/wymeditor-image.js 1970-01-01 01:00:00.000000000 +0100 +++ wymeditor/wymeditor-image.js 2008-02-25 15:28:40.000000000 +0000 @@ -0,0 +1,14 @@ +function wymeditorImage(value) { + $('.wym_src').attr('value', value); +} + +var url = window.location.href; +var nid = url.substr(url.indexOf("node/")+5, url.indexOf("/edit")-5); +url = url.substr(0, url.indexOf("node/")) + 'wymeditor/images/'+nid; +$.ajax({ + type: "GET", + url: url, + success: function (data) { + $('fieldset').prepend(data); + }, +}); diff -urpN contributions/modules/wymeditor/wymeditor-image.js.rej wymeditor/wymeditor-image.js.rej --- contributions/modules/wymeditor/wymeditor-image.js.rej 1970-01-01 01:00:00.000000000 +0100 +++ wymeditor/wymeditor-image.js.rej 2008-02-26 14:23:32.000000000 +0000 @@ -0,0 +1,17 @@ +*************** +*** 0 **** +--- 1,14 ---- ++ function wymeditorImage(value) { ++ $('.wym_src').attr('value', value); ++ } ++ ++ var url = window.location.href; ++ var nid = url.substr(url.indexOf("node/")+5, url.indexOf("/edit")-5); ++ url = url.substr(0, url.indexOf("node/")) + 'wymeditor/images/'+nid; ++ $.ajax({ ++ type: "GET", ++ url: url, ++ success: function (data) { ++ $('fieldset').prepend(data); ++ }, ++ }); diff -urpN contributions/modules/wymeditor/wymeditor.info wymeditor/wymeditor.info --- contributions/modules/wymeditor/wymeditor.info 1970-01-01 01:00:00.000000000 +0100 +++ wymeditor/wymeditor.info 2008-02-25 15:29:16.000000000 +0000 @@ -0,0 +1,9 @@ +; $Id: wymeditor.info,v 1.1.2.2 2007/06/18 23:07:16 dww Exp $ +name = WYMeditor +description = a lightweight XHTML/Javascript WYSIWYM editor. + +; Information added by drupal.org packaging script on 2007-06-19 +version = "5.x-1.x-dev" +project = "wymeditor" +datestamp = "1182212812" + diff -urpN contributions/modules/wymeditor/wymeditor.info.rej wymeditor/wymeditor.info.rej --- contributions/modules/wymeditor/wymeditor.info.rej 1970-01-01 01:00:00.000000000 +0100 +++ wymeditor/wymeditor.info.rej 2008-02-26 14:23:33.000000000 +0000 @@ -0,0 +1,12 @@ +*************** +*** 0 **** +--- 1,9 ---- ++ ; $Id: wymeditor.info,v 1.1.2.2 2007/06/18 23:07:16 dww Exp $ ++ name = WYMeditor ++ description = a lightweight XHTML/Javascript WYSIWYM editor. ++ ++ ; Information added by drupal.org packaging script on 2007-06-19 ++ version = "5.x-1.x-dev" ++ project = "wymeditor" ++ datestamp = "1182212812" ++ diff -urpN contributions/modules/wymeditor/wymeditor.install wymeditor/wymeditor.install --- contributions/modules/wymeditor/wymeditor.install 2007-03-30 09:33:26.000000000 +0100 +++ wymeditor/wymeditor.install 2008-02-25 15:28:34.000000000 +0000 @@ -1,6 +1,6 @@ $name) { + db_query("INSERT INTO {wymeditor_profiles} VALUES (%d, '%s');", $rid, 'a:9:{s:3:"rid";s:1:"3";s:4:"edit";s:1:"3";s:7:"plugins";a:4:{i:1;i:1;i:0;i:1;s:10:"hovertools";i:0;s:4:"tidy";i:0;}s:6:"enable";s:1:"0";s:7:"buttons";a:18:{s:6:"italic";i:0;s:11:"superscript";i:0;s:9:"subscript";i:0;i:0;i:1;s:4:"bold";i:0;s:5:"olist";i:0;s:5:"ulist";i:0;s:6:"indent";i:0;s:7:"outdent";i:0;s:4:"undo";i:0;s:4:"redo";i:0;s:4:"link";i:0;s:6:"unlink";i:0;s:5:"image";i:0;s:5:"table";i:0;s:3:"pfw";i:0;s:4:"html";i:0;s:7:"preview";i:0;}s:2:"op";s:7:"Guardar";s:6:"submit";s:7:"Guardar";s:10:"form_token";s:32:"76b04380729b0413582c548a859f5ff2";s:7:"form_id";s:23:"wymeditor_profiles_form";}'); + } // Containers db_query("INSERT INTO {wymeditor_containers} VALUES (1, 'Paragraph', 'P', 0);"); - db_query("INSERT INTO {wymeditor_containers} VALUES (2, 'Heading 1', 'H1', 0);"); - db_query("INSERT INTO {wymeditor_containers} VALUES (3, 'Heading 2', 'H2', 0);"); - db_query("INSERT INTO {wymeditor_containers} VALUES (14, 'Heading 3', 'H3', 0);"); - db_query("INSERT INTO {wymeditor_containers} VALUES (5, 'Heading 4', 'H4', 0);"); - db_query("INSERT INTO {wymeditor_containers} VALUES (6, 'Heading 5', 'H5', 0);"); - db_query("INSERT INTO {wymeditor_containers} VALUES (12, 'Heading 6', 'H6', 0);"); + db_query("INSERT INTO {wymeditor_containers} VALUES (14, 'Heading_3', 'H3', 0);"); + db_query("INSERT INTO {wymeditor_containers} VALUES (5, 'Heading_4', 'H4', 0);"); db_query("INSERT INTO {wymeditor_containers} VALUES (8, 'Preformatted', 'PRE', 0);"); db_query("INSERT INTO {wymeditor_containers} VALUES (9, 'Blockquote', 'BLOCKQUOTE', 0);"); - + // Classes db_query("INSERT INTO {wymeditor_classes} VALUES (1, 1, 'hidden-note', 'note (hidden)', '*', '*', '', 0);"); - db_query("INSERT INTO {wymeditor_classes} VALUES (2, 1, 'date', 'Date', 'P', '*', '', 0);"); - db_query("INSERT INTO {wymeditor_classes} VALUES (3, 1, 'important', 'Important', 'P', '', '*', 0);"); - db_query("INSERT INTO {wymeditor_classes} VALUES (4, 1, 'block', 'Side Block', 'P', '', 'important', 0);"); - db_query("INSERT INTO {wymeditor_classes} VALUES (8, 1, 'border', 'Border', 'IMG', '', '*', 0);"); + db_query("INSERT INTO {wymeditor_classes} VALUES (2, 1, 'date', 'Date', '*', '*', '', 0);"); + db_query("INSERT INTO {wymeditor_classes} VALUES (3, 1, 'important', 'Important', '*', '', '*', 0);"); + db_query("INSERT INTO {wymeditor_classes} VALUES (4, 1, 'block', 'Side Block', '*', '', 'important', 0);"); + db_query("INSERT INTO {wymeditor_classes} VALUES (8, 1, 'border', 'Border', '*', '', '*', 0);"); break; case 'pgsql': // TODO : Add pgsql support break; } + $filter = array("name" => "WYMeditor", "roles" => array(3=> 1, 1 => 0, 2 => 1, 4 => 1), "filters" => array("filter/0" => 1, "openquest/1" => 0, "filter/2" => 0, "openquest/2" => 0, "openquest/0" => 0, "filter/3" => 0 )); + filter_admin_format_form_submit(NULL, $filter); + $filters = filter_formats(); + foreach ($filters as $filter) { + if ($filter->name == 'WYMeditor') { + variable_set("allowed_html_$filter->format", '