diff --git a/assets/cache/siteCache.idx.php b/assets/cache/siteCache.idx.php.blank old mode 100644 new mode 100755 similarity index 100% rename from assets/cache/siteCache.idx.php rename to assets/cache/siteCache.idx.php.blank diff --git a/assets/docs/index.html b/assets/docs/index.html index fdd3791786..cfb7d0fe18 100755 --- a/assets/docs/index.html +++ b/assets/docs/index.html @@ -1,2 +1,2 @@ -

Unauthorized access

+

Unauthorized access

You're not allowed to access file folder \ No newline at end of file diff --git a/assets/docs/license.txt b/assets/docs/license.txt index 2128a66ea7..960fe7469f 100755 --- a/assets/docs/license.txt +++ b/assets/docs/license.txt @@ -1,280 +1,280 @@ - GNU GENERAL PUBLIC LICENSE - Version 2, June 1991 - - Copyright (C) 1989, 1991 Free Software Foundation, Inc. - 59 Temple Place, Suite 330, Boston, MA 02111-1307 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 + GNU GENERAL PUBLIC LICENSE + Version 2, June 1991 + + Copyright (C) 1989, 1991 Free Software Foundation, Inc. + 59 Temple Place, Suite 330, Boston, MA 02111-1307 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 --git a/assets/export/index.html b/assets/export/index.html old mode 100644 new mode 100755 index fdd3791786..cfb7d0fe18 --- a/assets/export/index.html +++ b/assets/export/index.html @@ -1,2 +1,2 @@ -

Unauthorized access

+

Unauthorized access

You're not allowed to access file folder \ No newline at end of file diff --git a/assets/flash/index.html b/assets/flash/index.html index fdd3791786..cfb7d0fe18 100755 --- a/assets/flash/index.html +++ b/assets/flash/index.html @@ -1,2 +1,2 @@ -

Unauthorized access

+

Unauthorized access

You're not allowed to access file folder \ No newline at end of file diff --git a/assets/images/index.html b/assets/images/index.html old mode 100644 new mode 100755 index fdd3791786..cfb7d0fe18 --- a/assets/images/index.html +++ b/assets/images/index.html @@ -1,2 +1,2 @@ -

Unauthorized access

+

Unauthorized access

You're not allowed to access file folder \ No newline at end of file diff --git a/assets/js/csshover3.htc b/assets/js/csshover3.htc old mode 100644 new mode 100755 index 7ce43fa71c..6b160b01aa --- a/assets/js/csshover3.htc +++ b/assets/js/csshover3.htc @@ -1,14 +1,14 @@ - - \ No newline at end of file diff --git a/assets/js/index.html b/assets/js/index.html old mode 100644 new mode 100755 index fdd3791786..cfb7d0fe18 --- a/assets/js/index.html +++ b/assets/js/index.html @@ -1,2 +1,2 @@ -

Unauthorized access

+

Unauthorized access

You're not allowed to access file folder \ No newline at end of file diff --git a/assets/media/index.html b/assets/media/index.html index fdd3791786..cfb7d0fe18 100755 --- a/assets/media/index.html +++ b/assets/media/index.html @@ -1,2 +1,2 @@ -

Unauthorized access

+

Unauthorized access

You're not allowed to access file folder \ No newline at end of file diff --git a/assets/modules/docmanager/classes/dm_backend.class.php b/assets/modules/docmanager/classes/dm_backend.class.php old mode 100644 new mode 100755 index 4e1e30efb8..934ce50ffe --- a/assets/modules/docmanager/classes/dm_backend.class.php +++ b/assets/modules/docmanager/classes/dm_backend.class.php @@ -40,7 +40,7 @@ function showSortList($id) { $resource = array(); if (is_numeric($id)) { - $query = 'SELECT id , pagetitle , parent , menuindex FROM '. $this->modx->getFullTableName('site_content') .' WHERE parent=' . $id . ' ORDER BY menuindex ASC'; + $query = 'SELECT id , pagetitle , parent , menuindex, published, hidemenu, deleted FROM '. $this->modx->getFullTableName('site_content') .' WHERE parent=' . $id . ' ORDER BY menuindex ASC'; if (!$rs = $this->modx->db->query($query)) { return false; } @@ -63,8 +63,15 @@ function showSortList($id) { $this->dm->ph['sort.message'] = $this->dm->lang['DM_sort_nochildren']; } else { foreach ($resource as $item) { - $this->dm->ph['sort.options'] .= '
  • ' . $item['pagetitle'] . '
  • '; - + // Add classes to determine whether it's published, deleted, not in the menu + // or has children. + // Use class names which match the classes in the document tree + $classes = ''; + $classes .= ($item['hidemenu']) ? ' notInMenuNode ' : ' inMenuNode' ; + $classes .= ($item['published']) ? ' publishedNode ' : ' unpublishedNode ' ; + $classes = ($item['deleted']) ? ' deletedNode ' : $classes ; + $classes .= (count($this->modx->getChildIds($item['id'], 1)) > 0) ? ' hasChildren ' : ' noChildren '; + $this->dm->ph['sort.options'] .= '
  • ' . $item['pagetitle'] . '
  • '; } } } diff --git a/assets/modules/docmanager/lang/chinese.inc.php b/assets/modules/docmanager/lang/chinese.inc.php index af5a887cdc..20040256dd 100755 --- a/assets/modules/docmanager/lang/chinese.inc.php +++ b/assets/modules/docmanager/lang/chinese.inc.php @@ -1,162 +1,162 @@ -Key (where n is a document ID number):

    - n* - Change setting for this document and immediate children
    - n** - Change setting for this document and ALL children
    - n-n2 - Change setting for this range of documents
    - n - Change setting for a single document

    -

    Example: 1*,4**,2-20,25 - This will change the selected setting - for documents 1 and its children, document 4 and all children, documents 2 - through 20 and document 25.

    '; -$_lang['DM_select_tree'] ='View and select documents using the Document Tree'; - -//-- process tree/range messages -$_lang['DM_process_noselection'] = 'No selection was made. '; -$_lang['DM_process_novalues'] = 'No values have been specified.'; -$_lang['DM_process_limits_error'] = 'Upper limit less than lower limit:'; -$_lang['DM_process_invalid_error'] = 'Invalid Value:'; -$_lang['DM_process_update_success'] = 'Update was completed successfully, with no errors.'; -$_lang['DM_process_update_error'] = 'Update has completed but encountered errors:'; -$_lang['DM_process_back'] = 'Back'; - -//-- manager access logging -$_lang['DM_log_template'] = 'Document Manager: Templates changed.'; -$_lang['DM_log_templatevariables'] = 'Document Manager: Template variables changed.'; -$_lang['DM_log_docpermissions'] ='Document Manager: Document Permissions changed.'; -$_lang['DM_log_sortmenu']='Document Manager: Menu Index operation completed.'; -$_lang['DM_log_publish']='Document Manager: Document Manager: Documents Published/Unpublished settings changed.'; -$_lang['DM_log_hidemenu']='Document Manager: Documents Hide/Show in Menu settings changed.'; -$_lang['DM_log_search']='Document Manager: Documents Searchable/Unsearchable settings changed.'; -$_lang['DM_log_cache']='Document Manager: Documents Cacheable/Uncacheable settings changed.'; -$_lang['DM_log_richtext']='Document Manager: Documents Use Richtext Editor settings changed.'; -$_lang['DM_log_delete']='Document Manager: Documents Delete/Undelete settings changed.'; -$_lang['DM_log_dates']='Document Manager: Documents Date settings changed.'; -$_lang['DM_log_authors']='Document Manager: Documents Author settings changed.'; - -?> +Key (where n is a document ID number):

    + n* - Change setting for this document and immediate children
    + n** - Change setting for this document and ALL children
    + n-n2 - Change setting for this range of documents
    + n - Change setting for a single document

    +

    Example: 1*,4**,2-20,25 - This will change the selected setting + for documents 1 and its children, document 4 and all children, documents 2 + through 20 and document 25.

    '; +$_lang['DM_select_tree'] ='View and select documents using the Document Tree'; + +//-- process tree/range messages +$_lang['DM_process_noselection'] = 'No selection was made. '; +$_lang['DM_process_novalues'] = 'No values have been specified.'; +$_lang['DM_process_limits_error'] = 'Upper limit less than lower limit:'; +$_lang['DM_process_invalid_error'] = 'Invalid Value:'; +$_lang['DM_process_update_success'] = 'Update was completed successfully, with no errors.'; +$_lang['DM_process_update_error'] = 'Update has completed but encountered errors:'; +$_lang['DM_process_back'] = 'Back'; + +//-- manager access logging +$_lang['DM_log_template'] = 'Document Manager: Templates changed.'; +$_lang['DM_log_templatevariables'] = 'Document Manager: Template variables changed.'; +$_lang['DM_log_docpermissions'] ='Document Manager: Document Permissions changed.'; +$_lang['DM_log_sortmenu']='Document Manager: Menu Index operation completed.'; +$_lang['DM_log_publish']='Document Manager: Document Manager: Documents Published/Unpublished settings changed.'; +$_lang['DM_log_hidemenu']='Document Manager: Documents Hide/Show in Menu settings changed.'; +$_lang['DM_log_search']='Document Manager: Documents Searchable/Unsearchable settings changed.'; +$_lang['DM_log_cache']='Document Manager: Documents Cacheable/Uncacheable settings changed.'; +$_lang['DM_log_richtext']='Document Manager: Documents Use Richtext Editor settings changed.'; +$_lang['DM_log_delete']='Document Manager: Documents Delete/Undelete settings changed.'; +$_lang['DM_log_dates']='Document Manager: Documents Date settings changed.'; +$_lang['DM_log_authors']='Document Manager: Documents Author settings changed.'; + +?> diff --git a/assets/modules/docmanager/lang/danish.inc.php b/assets/modules/docmanager/lang/danish.inc.php old mode 100644 new mode 100755 index 59d5c1bc34..c8d032cacc --- a/assets/modules/docmanager/lang/danish.inc.php +++ b/assets/modules/docmanager/lang/danish.inc.php @@ -1,162 +1,162 @@ -Nøgle (hvor n er et dokument ID nummer):

    - n* - Ændre indstilling for dette dokument og det umiddelbare underdokumenter
    - n** - Ændre indstilling for dette dokument og ALLE underdokumenter
    - n-n2 - Ændre indstilling for denne række af dokumenter
    - n - Ændre indstilling for et enkelt dokument

    -

    Eksempel: 1*,4**,2-20,25 - Dette vil ændre den valgte indstilling - for dokumenter 1 og dets underdokumenter, dokument 4 og alle underdokumenter, dokumenterne 2 - til 20 og dokument 25.

    '; -$_lang['DM_select_tree'] ='Vis og vælg dokumenter ved hjælp af Dokument Træet'; - -//-- process tree/range messages -$_lang['DM_process_noselection'] = 'Ingen valg er blevet foretaget. '; -$_lang['DM_process_novalues'] = 'Ingen værdier er blevet angivet.'; -$_lang['DM_process_limits_error'] = 'Øverste grænse mindre end mindste grænse:'; -$_lang['DM_process_invalid_error'] = 'Ulovlig Værdi:'; -$_lang['DM_process_update_success'] = 'Opdatering blev færdiggjort succesfuldt, uden fejl.'; -$_lang['DM_process_update_error'] = 'Opdatering has completed but encountered errors:'; -$_lang['DM_process_back'] = 'tilbage'; - -//-- manager access logging -$_lang['DM_log_template'] = 'Dokument administration: Skabloner ændret.'; -$_lang['DM_log_templatevariables'] = 'Dokument administration: Skabelon variabler ændret.'; -$_lang['DM_log_docpermissions'] ='Dokument administration: Dokumentets tilladelser ændret.'; -$_lang['DM_log_sortmenu']='Dokument administration: Menu Index operation færdiggjort.'; -$_lang['DM_log_publish']='Dokument administration: Dokument administration: Dokumentets Publiseret/afpubliseret indstillinger ændret.'; -$_lang['DM_log_hidemenu']='Dokument administration: Dokumentets Skjul/vis i Menu indstillinger ændret.'; -$_lang['DM_log_search']='Dokument administration: Dokumentets Søgbar/ikke-søgbar indstillinger ændret.'; -$_lang['DM_log_cache']='Dokument administration: Dokumentets Cacherbar/ikke cacherbar indstillinger ændret.'; -$_lang['DM_log_richtext']='Dokument administration: Dokumentets brug Richtext Editor indstillinger ændret.'; -$_lang['DM_log_delete']='Dokument administration: Dokumentets Slet/Slet-ikke indstillinger ændret.'; -$_lang['DM_log_dates']='Dokument administration: Dokumentets dato indstillinger ændret.'; -$_lang['DM_log_authors']='Dokument administration: Dokumentets forfatter indstillinger ændret.'; - -?> +Nøgle (hvor n er et dokument ID nummer):

    + n* - Ændre indstilling for dette dokument og det umiddelbare underdokumenter
    + n** - Ændre indstilling for dette dokument og ALLE underdokumenter
    + n-n2 - Ændre indstilling for denne række af dokumenter
    + n - Ændre indstilling for et enkelt dokument

    +

    Eksempel: 1*,4**,2-20,25 - Dette vil ændre den valgte indstilling + for dokumenter 1 og dets underdokumenter, dokument 4 og alle underdokumenter, dokumenterne 2 + til 20 og dokument 25.

    '; +$_lang['DM_select_tree'] ='Vis og vælg dokumenter ved hjælp af Dokument Træet'; + +//-- process tree/range messages +$_lang['DM_process_noselection'] = 'Ingen valg er blevet foretaget. '; +$_lang['DM_process_novalues'] = 'Ingen værdier er blevet angivet.'; +$_lang['DM_process_limits_error'] = 'Øverste grænse mindre end mindste grænse:'; +$_lang['DM_process_invalid_error'] = 'Ulovlig Værdi:'; +$_lang['DM_process_update_success'] = 'Opdatering blev færdiggjort succesfuldt, uden fejl.'; +$_lang['DM_process_update_error'] = 'Opdatering has completed but encountered errors:'; +$_lang['DM_process_back'] = 'tilbage'; + +//-- manager access logging +$_lang['DM_log_template'] = 'Dokument administration: Skabloner ændret.'; +$_lang['DM_log_templatevariables'] = 'Dokument administration: Skabelon variabler ændret.'; +$_lang['DM_log_docpermissions'] ='Dokument administration: Dokumentets tilladelser ændret.'; +$_lang['DM_log_sortmenu']='Dokument administration: Menu Index operation færdiggjort.'; +$_lang['DM_log_publish']='Dokument administration: Dokument administration: Dokumentets Publiseret/afpubliseret indstillinger ændret.'; +$_lang['DM_log_hidemenu']='Dokument administration: Dokumentets Skjul/vis i Menu indstillinger ændret.'; +$_lang['DM_log_search']='Dokument administration: Dokumentets Søgbar/ikke-søgbar indstillinger ændret.'; +$_lang['DM_log_cache']='Dokument administration: Dokumentets Cacherbar/ikke cacherbar indstillinger ændret.'; +$_lang['DM_log_richtext']='Dokument administration: Dokumentets brug Richtext Editor indstillinger ændret.'; +$_lang['DM_log_delete']='Dokument administration: Dokumentets Slet/Slet-ikke indstillinger ændret.'; +$_lang['DM_log_dates']='Dokument administration: Dokumentets dato indstillinger ændret.'; +$_lang['DM_log_authors']='Dokument administration: Dokumentets forfatter indstillinger ændret.'; + +?> diff --git a/assets/modules/docmanager/lang/english.inc.php b/assets/modules/docmanager/lang/english.inc.php old mode 100644 new mode 100755 index f5e44bc31b..199306a556 --- a/assets/modules/docmanager/lang/english.inc.php +++ b/assets/modules/docmanager/lang/english.inc.php @@ -1,162 +1,162 @@ -Key (where n is a document ID number):

    - n* - Change setting for this document and immediate children
    - n** - Change setting for this document and ALL children
    - n-n2 - Change setting for this range of documents
    - n - Change setting for a single document

    -

    Example: 1*,4**,2-20,25 - This will change the selected setting - for documents 1 and its children, document 4 and all children, documents 2 - through 20 and document 25.

    '; -$_lang['DM_select_tree'] ='View and select documents using the Document Tree'; - -//-- process tree/range messages -$_lang['DM_process_noselection'] = 'No selection was made. '; -$_lang['DM_process_novalues'] = 'No values have been specified.'; -$_lang['DM_process_limits_error'] = 'Upper limit less than lower limit:'; -$_lang['DM_process_invalid_error'] = 'Invalid Value:'; -$_lang['DM_process_update_success'] = 'Update was completed successfully, with no errors.'; -$_lang['DM_process_update_error'] = 'Update has completed but encountered errors:'; -$_lang['DM_process_back'] = 'Back'; - -//-- manager access logging -$_lang['DM_log_template'] = 'Document Manager: Templates changed.'; -$_lang['DM_log_templatevariables'] = 'Document Manager: Template variables changed.'; -$_lang['DM_log_docpermissions'] ='Document Manager: Document Permissions changed.'; -$_lang['DM_log_sortmenu']='Document Manager: Menu Index operation completed.'; -$_lang['DM_log_publish']='Document Manager: Document Manager: Documents Published/Unpublished settings changed.'; -$_lang['DM_log_hidemenu']='Document Manager: Documents Hide/Show in Menu settings changed.'; -$_lang['DM_log_search']='Document Manager: Documents Searchable/Unsearchable settings changed.'; -$_lang['DM_log_cache']='Document Manager: Documents Cacheable/Uncacheable settings changed.'; -$_lang['DM_log_richtext']='Document Manager: Documents Use Richtext Editor settings changed.'; -$_lang['DM_log_delete']='Document Manager: Documents Delete/Undelete settings changed.'; -$_lang['DM_log_dates']='Document Manager: Documents Date settings changed.'; -$_lang['DM_log_authors']='Document Manager: Documents Author settings changed.'; - -?> +Key (where n is a document ID number):

    + n* - Change setting for this document and immediate children
    + n** - Change setting for this document and ALL children
    + n-n2 - Change setting for this range of documents
    + n - Change setting for a single document

    +

    Example: 1*,4**,2-20,25 - This will change the selected setting + for documents 1 and its children, document 4 and all children, documents 2 + through 20 and document 25.

    '; +$_lang['DM_select_tree'] ='View and select documents using the Document Tree'; + +//-- process tree/range messages +$_lang['DM_process_noselection'] = 'No selection was made. '; +$_lang['DM_process_novalues'] = 'No values have been specified.'; +$_lang['DM_process_limits_error'] = 'Upper limit less than lower limit:'; +$_lang['DM_process_invalid_error'] = 'Invalid Value:'; +$_lang['DM_process_update_success'] = 'Update was completed successfully, with no errors.'; +$_lang['DM_process_update_error'] = 'Update has completed but encountered errors:'; +$_lang['DM_process_back'] = 'Back'; + +//-- manager access logging +$_lang['DM_log_template'] = 'Document Manager: Templates changed.'; +$_lang['DM_log_templatevariables'] = 'Document Manager: Template variables changed.'; +$_lang['DM_log_docpermissions'] ='Document Manager: Document Permissions changed.'; +$_lang['DM_log_sortmenu']='Document Manager: Menu Index operation completed.'; +$_lang['DM_log_publish']='Document Manager: Document Manager: Documents Published/Unpublished settings changed.'; +$_lang['DM_log_hidemenu']='Document Manager: Documents Hide/Show in Menu settings changed.'; +$_lang['DM_log_search']='Document Manager: Documents Searchable/Unsearchable settings changed.'; +$_lang['DM_log_cache']='Document Manager: Documents Cacheable/Uncacheable settings changed.'; +$_lang['DM_log_richtext']='Document Manager: Documents Use Richtext Editor settings changed.'; +$_lang['DM_log_delete']='Document Manager: Documents Delete/Undelete settings changed.'; +$_lang['DM_log_dates']='Document Manager: Documents Date settings changed.'; +$_lang['DM_log_authors']='Document Manager: Documents Author settings changed.'; + +?> diff --git a/assets/modules/docmanager/lang/finnish.inc.php b/assets/modules/docmanager/lang/finnish.inc.php index 173905cb15..94e250a9ce 100755 --- a/assets/modules/docmanager/lang/finnish.inc.php +++ b/assets/modules/docmanager/lang/finnish.inc.php @@ -1,160 +1,160 @@ -Avain (jossa n on dokumentin ID numero):

    - n* - Päivitä muutos tähän dokumenttiin sekä sen välittömiin aladokumentteihin
    - n** - Päivitä muutos tähän dokumenttiin ja kaikkiin sen aladokumentteihin
    - n-n2 - Päivitä muutos näiden dokumenttien välillä
    - n - Päivitä muutos yksittäiseen dokumenttiin

    -

    Esimerkki: 1*,4**,2-20,25 - Tämä päivittää muutoksen dokumenttiin 1 ja sen aladokumentteihin, dokumenttiin 4 ja sen kaikkiin aladokumentteihin, dokumentteihin joiden ID numero on 2-20, sekä dokumenttiin jonka ID numero on 25.

    '; -$_lang['DM_select_tree'] ='Valitse dokumentit käyttäen dokumenttipuuta'; - -//-- process tree/range messages -$_lang['DM_process_noselection'] = 'Valintaa ei tehty. '; -$_lang['DM_process_novalues'] = 'Arvoja ei ole määritetty.'; -$_lang['DM_process_limits_error'] = 'Yläarvo vähemmän kuin ala-arvo:'; -$_lang['DM_process_invalid_error'] = 'Virheellinen arvo:'; -$_lang['DM_process_update_success'] = 'Päivitys suoritettu onnistuneesti.'; -$_lang['DM_process_update_error'] = 'Päivitys suoritettu, mutta havaittiin seuraavat virheet:'; -$_lang['DM_process_back'] = 'Takaisin'; - -//-- manager access logging -$_lang['DM_log_template'] = 'Dokumenttien hallinta moduuli: Sivustopohja vaihdettu.'; -$_lang['DM_log_templatevariables'] = 'Dokumenttien hallinta moduuli: Sivustopohjamuuttujat muutettu.'; -$_lang['DM_log_docpermissions'] ='Dokumenttien hallinta moduuli: Dokumenttien oikeudet muutettu.'; -$_lang['DM_log_sortmenu']='Dokumenttien hallinta moduuli: Valikon järjestysoperaatio suoritettu.'; -$_lang['DM_log_publish']='Dokumenttien hallinta moduuli: Dokumenttien julkaisuasetuksia muutettu.'; -$_lang['DM_log_hidemenu']='Dokumenttien hallinta moduuli: Dokumenttien valikon näkyvyysasetuksia muutettu.'; -$_lang['DM_log_search']='Dokumenttien hallinta moduuli: Dokumenttien hakuasetuksia muutettu.'; -$_lang['DM_log_cache']='Dokumenttien hallinta moduuli: Dokumenttien välimuistiasetuksia muutettu.'; -$_lang['DM_log_richtext']='Dokumenttien hallinta moduuli: Dokumenttien tekstieditoriasetuksia muutettu.'; -$_lang['DM_log_delete']='Dokumenttien hallinta moduuli: Dokumenttien poistoasetuksia muutettu.'; -$_lang['DM_log_dates']='Dokumenttien hallinta moduuli: Dokumenttien päivämääriä muutettu.'; -$_lang['DM_log_authors']='Dokumenttien hallinta moduuli: Dokumenttien henkilötietoja muutettu.'; - -?> +Avain (jossa n on dokumentin ID numero):

    + n* - Päivitä muutos tähän dokumenttiin sekä sen välittömiin aladokumentteihin
    + n** - Päivitä muutos tähän dokumenttiin ja kaikkiin sen aladokumentteihin
    + n-n2 - Päivitä muutos näiden dokumenttien välillä
    + n - Päivitä muutos yksittäiseen dokumenttiin

    +

    Esimerkki: 1*,4**,2-20,25 - Tämä päivittää muutoksen dokumenttiin 1 ja sen aladokumentteihin, dokumenttiin 4 ja sen kaikkiin aladokumentteihin, dokumentteihin joiden ID numero on 2-20, sekä dokumenttiin jonka ID numero on 25.

    '; +$_lang['DM_select_tree'] ='Valitse dokumentit käyttäen dokumenttipuuta'; + +//-- process tree/range messages +$_lang['DM_process_noselection'] = 'Valintaa ei tehty. '; +$_lang['DM_process_novalues'] = 'Arvoja ei ole määritetty.'; +$_lang['DM_process_limits_error'] = 'Yläarvo vähemmän kuin ala-arvo:'; +$_lang['DM_process_invalid_error'] = 'Virheellinen arvo:'; +$_lang['DM_process_update_success'] = 'Päivitys suoritettu onnistuneesti.'; +$_lang['DM_process_update_error'] = 'Päivitys suoritettu, mutta havaittiin seuraavat virheet:'; +$_lang['DM_process_back'] = 'Takaisin'; + +//-- manager access logging +$_lang['DM_log_template'] = 'Dokumenttien hallinta moduuli: Sivustopohja vaihdettu.'; +$_lang['DM_log_templatevariables'] = 'Dokumenttien hallinta moduuli: Sivustopohjamuuttujat muutettu.'; +$_lang['DM_log_docpermissions'] ='Dokumenttien hallinta moduuli: Dokumenttien oikeudet muutettu.'; +$_lang['DM_log_sortmenu']='Dokumenttien hallinta moduuli: Valikon järjestysoperaatio suoritettu.'; +$_lang['DM_log_publish']='Dokumenttien hallinta moduuli: Dokumenttien julkaisuasetuksia muutettu.'; +$_lang['DM_log_hidemenu']='Dokumenttien hallinta moduuli: Dokumenttien valikon näkyvyysasetuksia muutettu.'; +$_lang['DM_log_search']='Dokumenttien hallinta moduuli: Dokumenttien hakuasetuksia muutettu.'; +$_lang['DM_log_cache']='Dokumenttien hallinta moduuli: Dokumenttien välimuistiasetuksia muutettu.'; +$_lang['DM_log_richtext']='Dokumenttien hallinta moduuli: Dokumenttien tekstieditoriasetuksia muutettu.'; +$_lang['DM_log_delete']='Dokumenttien hallinta moduuli: Dokumenttien poistoasetuksia muutettu.'; +$_lang['DM_log_dates']='Dokumenttien hallinta moduuli: Dokumenttien päivämääriä muutettu.'; +$_lang['DM_log_authors']='Dokumenttien hallinta moduuli: Dokumenttien henkilötietoja muutettu.'; + +?> diff --git a/assets/modules/docmanager/lang/italian.inc.php b/assets/modules/docmanager/lang/italian.inc.php old mode 100644 new mode 100755 index 4f287c6f69..103a5154dc --- a/assets/modules/docmanager/lang/italian.inc.php +++ b/assets/modules/docmanager/lang/italian.inc.php @@ -1,161 +1,161 @@ -Sintassi (dove n è un numero di id del documento):

    - n* - Cambia le impostazioni per questo documento e il primo livello di sotto documenti
    - n** - Cambia le impostazioni per questo documento e TUTTI i sotto documenti
    - n-n2 - Cambia le impostazioni per questo intervallo di documenti
    - n - Cambia le impostazioni per un solo documento

    -

    Esempio: 1*,4**,2-20,25 - Cambia le impostazioni per il documento 1 e i sotto documenti, il documento 4 e tutti i sotto documenti, i documenti da 2 - a 20 e il documento 25.

    '; -$_lang['DM_select_tree'] =' Visualizza e seleziona i documenti usando l\'albero dei documenti'; - -//-- process tree/range messages -$_lang['DM_process_noselection'] = 'Non è stata effettuata nessuna selezione. '; -$_lang['DM_process_novalues'] = 'Non è stato specificato alcun valore.'; -$_lang['DM_process_limits_error'] = 'Limite superiore più basso del limite inferiore:'; -$_lang['DM_process_invalid_error'] = 'Valore non valido:'; -$_lang['DM_process_update_success'] = 'L\'aggiornamento è stato completato con successo, senza errori.'; -$_lang['DM_process_update_error'] = 'L\'aggiornamento è stato completato, ma con errori :'; -$_lang['DM_process_back'] = 'Indietro'; - -//-- manager access logging -$_lang['DM_log_template'] = 'Gestione Documenti: Template sostituiti.'; -$_lang['DM_log_templatevariables'] = 'Gestione Documenti: modificate le Variabili di Template.'; -$_lang['DM_log_docpermissions'] ='Gestione Documenti: Permessi dei documenti cambiati.'; -$_lang['DM_log_sortmenu']='Gestione Documenti: Modifica indice del menu completata.'; -$_lang['DM_log_publish']='Gestione Documenti: Impostazioni documenti Pubblicato/Ritirato modificate.'; -$_lang['DM_log_hidemenu']='Gestione Documenti: Impostazioni documenti Mostra/Nascondi nel Menu modificate.'; -$_lang['DM_log_search']='Gestione Documenti: Impostazioni documenti Ricercabile/Non ricercabile modificate.'; -$_lang['DM_log_cache']='Gestione Documenti: Impostazioni documenti Documents Situabile in cache/Non in cache modificate.'; -$_lang['DM_log_richtext']='Gestione Documenti: Impostazioni documenti Usa Richtext Editor modificate.'; -$_lang['DM_log_delete']='Gestione Documenti: Impostazioni documenti Cancella/Ripristina modificate.'; -$_lang['DM_log_dates']='Gestione Documenti: Impostazioni Data dei documenti modificate.'; -$_lang['DM_log_authors']='Gestione Documenti: Impostazioni Autore dei documenti modificate.'; - -?> +Sintassi (dove n è un numero di id del documento):

    + n* - Cambia le impostazioni per questo documento e il primo livello di sotto documenti
    + n** - Cambia le impostazioni per questo documento e TUTTI i sotto documenti
    + n-n2 - Cambia le impostazioni per questo intervallo di documenti
    + n - Cambia le impostazioni per un solo documento

    +

    Esempio: 1*,4**,2-20,25 - Cambia le impostazioni per il documento 1 e i sotto documenti, il documento 4 e tutti i sotto documenti, i documenti da 2 + a 20 e il documento 25.

    '; +$_lang['DM_select_tree'] =' Visualizza e seleziona i documenti usando l\'albero dei documenti'; + +//-- process tree/range messages +$_lang['DM_process_noselection'] = 'Non è stata effettuata nessuna selezione. '; +$_lang['DM_process_novalues'] = 'Non è stato specificato alcun valore.'; +$_lang['DM_process_limits_error'] = 'Limite superiore più basso del limite inferiore:'; +$_lang['DM_process_invalid_error'] = 'Valore non valido:'; +$_lang['DM_process_update_success'] = 'L\'aggiornamento è stato completato con successo, senza errori.'; +$_lang['DM_process_update_error'] = 'L\'aggiornamento è stato completato, ma con errori :'; +$_lang['DM_process_back'] = 'Indietro'; + +//-- manager access logging +$_lang['DM_log_template'] = 'Gestione Documenti: Template sostituiti.'; +$_lang['DM_log_templatevariables'] = 'Gestione Documenti: modificate le Variabili di Template.'; +$_lang['DM_log_docpermissions'] ='Gestione Documenti: Permessi dei documenti cambiati.'; +$_lang['DM_log_sortmenu']='Gestione Documenti: Modifica indice del menu completata.'; +$_lang['DM_log_publish']='Gestione Documenti: Impostazioni documenti Pubblicato/Ritirato modificate.'; +$_lang['DM_log_hidemenu']='Gestione Documenti: Impostazioni documenti Mostra/Nascondi nel Menu modificate.'; +$_lang['DM_log_search']='Gestione Documenti: Impostazioni documenti Ricercabile/Non ricercabile modificate.'; +$_lang['DM_log_cache']='Gestione Documenti: Impostazioni documenti Documents Situabile in cache/Non in cache modificate.'; +$_lang['DM_log_richtext']='Gestione Documenti: Impostazioni documenti Usa Richtext Editor modificate.'; +$_lang['DM_log_delete']='Gestione Documenti: Impostazioni documenti Cancella/Ripristina modificate.'; +$_lang['DM_log_dates']='Gestione Documenti: Impostazioni Data dei documenti modificate.'; +$_lang['DM_log_authors']='Gestione Documenti: Impostazioni Autore dei documenti modificate.'; + +?> diff --git a/assets/modules/docmanager/lang/japanese-utf8.inc.php b/assets/modules/docmanager/lang/japanese-utf8.inc.php index c50afc8233..1d8b58d182 100755 --- a/assets/modules/docmanager/lang/japanese-utf8.inc.php +++ b/assets/modules/docmanager/lang/japanese-utf8.inc.php @@ -1,162 +1,162 @@ -指定方法(n、m はリソースIDを示す数字です):

    - '; -$_lang['DM_select_tree'] ='ツリー表示からリソースを選択します'; - -//-- process tree/range messages -$_lang['DM_process_noselection'] = '必要な指定がされていません。'; -$_lang['DM_process_novalues'] = '値が指定されていませんでした。'; -$_lang['DM_process_limits_error'] = '上限が下限よりも小さいです:'; -$_lang['DM_process_invalid_error'] = '値が変でした:'; -$_lang['DM_process_update_success'] = '変更は無事完了しました。'; -$_lang['DM_process_update_error'] = '変更は完了しましたがエラーがありました:'; -$_lang['DM_process_back'] = '戻る'; - -//-- manager access logging -$_lang['DM_log_template'] = 'Doc Manager: テンプレートを変更しました。'; -$_lang['DM_log_templatevariables'] = 'Doc Manager: テンプレート変数を変更しました。'; -$_lang['DM_log_docpermissions'] ='Doc Manager: リソースのアクセス制限を変更しました。'; -$_lang['DM_log_sortmenu']='Document Manager: メニューインデックス操作を完了しました。'; -$_lang['DM_log_publish']='Document Manager: リソースの公開/非公開を変更しました。'; -$_lang['DM_log_hidemenu']='Document Manager: リソースのメニュー表示/非表示を変更しました。'; -$_lang['DM_log_search']='Document Manager: リソースの検索対象/非対象を変更しました。'; -$_lang['DM_log_cache']='Document Manager: リソースのキャッシュ可/不可を変更しました。'; -$_lang['DM_log_richtext']='Document Manager: リソースのリッチテキストエディタの設定を変更しました。'; -$_lang['DM_log_delete']='Document Manager: リソースの削除/復活を変更しました。'; -$_lang['DM_log_dates']='Document Manager: リソースの各種日付を変更しました。'; -$_lang['DM_log_authors']='Document Manager: リソースの作成者などの情報を変更しました。'; - +指定方法(n、m はリソースIDを示す数字です):

    + '; +$_lang['DM_select_tree'] ='ツリー表示からリソースを選択します'; + +//-- process tree/range messages +$_lang['DM_process_noselection'] = '必要な指定がされていません。'; +$_lang['DM_process_novalues'] = '値が指定されていませんでした。'; +$_lang['DM_process_limits_error'] = '上限が下限よりも小さいです:'; +$_lang['DM_process_invalid_error'] = '値が変でした:'; +$_lang['DM_process_update_success'] = '変更は無事完了しました。'; +$_lang['DM_process_update_error'] = '変更は完了しましたがエラーがありました:'; +$_lang['DM_process_back'] = '戻る'; + +//-- manager access logging +$_lang['DM_log_template'] = 'Doc Manager: テンプレートを変更しました。'; +$_lang['DM_log_templatevariables'] = 'Doc Manager: テンプレート変数を変更しました。'; +$_lang['DM_log_docpermissions'] ='Doc Manager: リソースのアクセス制限を変更しました。'; +$_lang['DM_log_sortmenu']='Document Manager: メニューインデックス操作を完了しました。'; +$_lang['DM_log_publish']='Document Manager: リソースの公開/非公開を変更しました。'; +$_lang['DM_log_hidemenu']='Document Manager: リソースのメニュー表示/非表示を変更しました。'; +$_lang['DM_log_search']='Document Manager: リソースの検索対象/非対象を変更しました。'; +$_lang['DM_log_cache']='Document Manager: リソースのキャッシュ可/不可を変更しました。'; +$_lang['DM_log_richtext']='Document Manager: リソースのリッチテキストエディタの設定を変更しました。'; +$_lang['DM_log_delete']='Document Manager: リソースの削除/復活を変更しました。'; +$_lang['DM_log_dates']='Document Manager: リソースの各種日付を変更しました。'; +$_lang['DM_log_authors']='Document Manager: リソースの作成者などの情報を変更しました。'; + ?> \ No newline at end of file diff --git a/assets/modules/docmanager/lang/nederlands.inc.php b/assets/modules/docmanager/lang/nederlands.inc.php index 3a967f3ab6..bc065097a3 100755 --- a/assets/modules/docmanager/lang/nederlands.inc.php +++ b/assets/modules/docmanager/lang/nederlands.inc.php @@ -1,144 +1,144 @@ -Toets (waarbij n een document ID nummer is):

    - n* - Wijzig de instelling voor dit document en direkte kinderen
    - n** - Wijzig de instelling voor dit document en ALLE kinderen
    - n-n2 - Wijzig de instelling voor dit bereik van documenten
    - n - Wijzig de instelling voor een enkel document

    -

    Voorbeeld: 1*,4**,2-20,25 - Dit zal de geselecteerde instelling wijzigen - voor documenten 1 en direkte kinderen, document 4 en alle kinderen, documenten - 2 t/m 20 en document 25.

    '; -$_lang['DM_select_tree'] ='Bekijk en selecteer documenten door de structuur te gebruiken'; -//-- process tree/range messages -$_lang['DM_process_noselection'] = 'Er is geen selectie gemaakt. '; -$_lang['DM_process_novalues'] = 'Er zijn geen waardes aangegeven.'; -$_lang['DM_process_limits_error'] = 'Hoogste waarde lager dan laagste waarde:'; -$_lang['DM_process_invalid_error'] = 'Ongeldige waarde:'; -$_lang['DM_process_update_success'] = 'Bijwerken succesvol voltooid, zonder fouten.'; -$_lang['DM_process_update_error'] = 'Bijwerken voltooid, maar met de volgende fouten:'; -$_lang['DM_process_back'] = 'Terug'; -//-- manager access logging -$_lang['DM_log_template'] = 'Document Manager: Templates gewijzigd.'; -$_lang['DM_log_templatevariables'] = 'Document Manager: Template Variabelen gewijzigd.'; -$_lang['DM_log_docpermissions'] ='Document Manager: Document rechten gewijzigd.'; -$_lang['DM_log_sortmenu']='Document Manager: Menu-index bewerking voltooid.'; -$_lang['DM_log_publish']='Document Manager: Document Manager: Documentinstellingen Publiceren/Niet publiceren gewijzigd.'; -$_lang['DM_log_hidemenu']='Document Manager: Documentinstellingen Tonen/Vverbergen gewijzigd.'; -$_lang['DM_log_search']='Document Manager: Documentinstellingen Doorzoekbaar/Niet doorzoekbaar gewijzigd.'; -$_lang['DM_log_cache']='Document Manager: Documentinstellingen Cachebaar/Niet cachebaar gewijzigd.'; -$_lang['DM_log_richtext']='Document Manager: Documents Use Richtext Editor settings changed.'; -$_lang['DM_log_delete']='Document Manager: Documentinstellingen Verwijderen/Herstellen gewijzigd.'; -$_lang['DM_log_dates']='Document Manager: Documentinstellingen Datum gewijzigd.'; -$_lang['DM_log_authors']='Document Manager: Documentinstellingen Auteur gewijzigd.'; - -?> +Toets (waarbij n een document ID nummer is):

    + n* - Wijzig de instelling voor dit document en direkte kinderen
    + n** - Wijzig de instelling voor dit document en ALLE kinderen
    + n-n2 - Wijzig de instelling voor dit bereik van documenten
    + n - Wijzig de instelling voor een enkel document

    +

    Voorbeeld: 1*,4**,2-20,25 - Dit zal de geselecteerde instelling wijzigen + voor documenten 1 en direkte kinderen, document 4 en alle kinderen, documenten + 2 t/m 20 en document 25.

    '; +$_lang['DM_select_tree'] ='Bekijk en selecteer documenten door de structuur te gebruiken'; +//-- process tree/range messages +$_lang['DM_process_noselection'] = 'Er is geen selectie gemaakt. '; +$_lang['DM_process_novalues'] = 'Er zijn geen waardes aangegeven.'; +$_lang['DM_process_limits_error'] = 'Hoogste waarde lager dan laagste waarde:'; +$_lang['DM_process_invalid_error'] = 'Ongeldige waarde:'; +$_lang['DM_process_update_success'] = 'Bijwerken succesvol voltooid, zonder fouten.'; +$_lang['DM_process_update_error'] = 'Bijwerken voltooid, maar met de volgende fouten:'; +$_lang['DM_process_back'] = 'Terug'; +//-- manager access logging +$_lang['DM_log_template'] = 'Document Manager: Templates gewijzigd.'; +$_lang['DM_log_templatevariables'] = 'Document Manager: Template Variabelen gewijzigd.'; +$_lang['DM_log_docpermissions'] ='Document Manager: Document rechten gewijzigd.'; +$_lang['DM_log_sortmenu']='Document Manager: Menu-index bewerking voltooid.'; +$_lang['DM_log_publish']='Document Manager: Document Manager: Documentinstellingen Publiceren/Niet publiceren gewijzigd.'; +$_lang['DM_log_hidemenu']='Document Manager: Documentinstellingen Tonen/Vverbergen gewijzigd.'; +$_lang['DM_log_search']='Document Manager: Documentinstellingen Doorzoekbaar/Niet doorzoekbaar gewijzigd.'; +$_lang['DM_log_cache']='Document Manager: Documentinstellingen Cachebaar/Niet cachebaar gewijzigd.'; +$_lang['DM_log_richtext']='Document Manager: Documents Use Richtext Editor settings changed.'; +$_lang['DM_log_delete']='Document Manager: Documentinstellingen Verwijderen/Herstellen gewijzigd.'; +$_lang['DM_log_dates']='Document Manager: Documentinstellingen Datum gewijzigd.'; +$_lang['DM_log_authors']='Document Manager: Documentinstellingen Auteur gewijzigd.'; + +?> diff --git a/assets/modules/docmanager/lang/russian-UTF8.inc.php b/assets/modules/docmanager/lang/russian-UTF8.inc.php index 7200da9692..8913928d7d 100755 --- a/assets/modules/docmanager/lang/russian-UTF8.inc.php +++ b/assets/modules/docmanager/lang/russian-UTF8.inc.php @@ -1,163 +1,163 @@ -Можно использовать следующий синтаксис при задании диапазона (вместо "n" указывайте число ID ресурса):

    -

    Пример: 1*,4**,2-20,25 - будут изменены свойства для ресурса с ID=1 и его непосредственных дочерних ресурсов, ресурса с ID=4 и всех его дочерних ресурсов, ресурсов с ID в диапазоне от 2 до 20, и ресурса с ID=25.

    '; -$_lang['DM_select_tree'] = 'Просмотреть и выбрать ресурсы в дереве'; - -//-- process tree/range messages -$_lang['DM_process_noselection'] = 'Ничего не выбрано. '; -$_lang['DM_process_novalues'] = 'Никаких значений не задано.'; -$_lang['DM_process_limits_error'] = 'Верхняя граница диапазона меньше нижней границы:'; -$_lang['DM_process_invalid_error'] = 'Недопустимое значение:'; -$_lang['DM_process_update_success'] = 'Изменение прошло успешно.'; -$_lang['DM_process_update_error'] = 'Изменение завершено с ошибками:'; -$_lang['DM_process_back'] = 'Назад'; - -//-- manager access logging -$_lang['DM_log_template'] = 'Менеджер ресурсов: шаблоны изменены.'; -$_lang['DM_log_templatevariables'] = 'Менеджер ресурсов: параметры (TV) изменены.'; -$_lang['DM_log_docpermissions'] = 'Менеджер ресурсов: права на ресурсы изменены.'; -$_lang['DM_log_sortmenu'] = 'Менеджер ресурсов: изменение индексов пунктов меню завершено.'; -$_lang['DM_log_publish'] = 'Менеджер ресурсов: свойство ресурсов "Опубликовать / Отменить публикацию" изменено.'; -$_lang['DM_log_hidemenu'] = 'Менеджер ресурсов: свойство ресурсов "Показывать / Не показывать в меню" изменено.'; -$_lang['DM_log_search'] = 'Менеджер ресурсов: свойство ресурсов "Разрешить / Запретить поиск в содержимом" изменено.'; -$_lang['DM_log_cache'] = 'Менеджер ресурсов: свойство ресурсов "Кэшировать / Не кэшировать" изменено.'; -$_lang['DM_log_richtext'] = 'Менеджер ресурсов: свойство ресурсов "Использовать / Не использовать HTML-редактор" изменено.'; -$_lang['DM_log_delete'] = 'Менеджер ресурсов: удаление / отмена удаления прошла успешно.'; -$_lang['DM_log_dates'] = 'Менеджер ресурсов: даты ресурсов изменены.'; -$_lang['DM_log_authors'] = 'Менеджер ресурсов: авторы ресурсов изменены.'; - +Можно использовать следующий синтаксис при задании диапазона (вместо "n" указывайте число ID ресурса):

    +

    Пример: 1*,4**,2-20,25 - будут изменены свойства для ресурса с ID=1 и его непосредственных дочерних ресурсов, ресурса с ID=4 и всех его дочерних ресурсов, ресурсов с ID в диапазоне от 2 до 20, и ресурса с ID=25.

    '; +$_lang['DM_select_tree'] = 'Просмотреть и выбрать ресурсы в дереве'; + +//-- process tree/range messages +$_lang['DM_process_noselection'] = 'Ничего не выбрано. '; +$_lang['DM_process_novalues'] = 'Никаких значений не задано.'; +$_lang['DM_process_limits_error'] = 'Верхняя граница диапазона меньше нижней границы:'; +$_lang['DM_process_invalid_error'] = 'Недопустимое значение:'; +$_lang['DM_process_update_success'] = 'Изменение прошло успешно.'; +$_lang['DM_process_update_error'] = 'Изменение завершено с ошибками:'; +$_lang['DM_process_back'] = 'Назад'; + +//-- manager access logging +$_lang['DM_log_template'] = 'Менеджер ресурсов: шаблоны изменены.'; +$_lang['DM_log_templatevariables'] = 'Менеджер ресурсов: параметры (TV) изменены.'; +$_lang['DM_log_docpermissions'] = 'Менеджер ресурсов: права на ресурсы изменены.'; +$_lang['DM_log_sortmenu'] = 'Менеджер ресурсов: изменение индексов пунктов меню завершено.'; +$_lang['DM_log_publish'] = 'Менеджер ресурсов: свойство ресурсов "Опубликовать / Отменить публикацию" изменено.'; +$_lang['DM_log_hidemenu'] = 'Менеджер ресурсов: свойство ресурсов "Показывать / Не показывать в меню" изменено.'; +$_lang['DM_log_search'] = 'Менеджер ресурсов: свойство ресурсов "Разрешить / Запретить поиск в содержимом" изменено.'; +$_lang['DM_log_cache'] = 'Менеджер ресурсов: свойство ресурсов "Кэшировать / Не кэшировать" изменено.'; +$_lang['DM_log_richtext'] = 'Менеджер ресурсов: свойство ресурсов "Использовать / Не использовать HTML-редактор" изменено.'; +$_lang['DM_log_delete'] = 'Менеджер ресурсов: удаление / отмена удаления прошла успешно.'; +$_lang['DM_log_dates'] = 'Менеджер ресурсов: даты ресурсов изменены.'; +$_lang['DM_log_authors'] = 'Менеджер ресурсов: авторы ресурсов изменены.'; + ?> \ No newline at end of file diff --git a/assets/modules/docmanager/module.docmanager.tpl b/assets/modules/docmanager/module.docmanager.tpl deleted file mode 100644 index 69e3e0ef4f..0000000000 --- a/assets/modules/docmanager/module.docmanager.tpl +++ /dev/null @@ -1,20 +0,0 @@ -include_once(MODX_BASE_PATH.'assets/modules/docmanager/classes/docmanager.class.php'); -include_once(MODX_BASE_PATH.'assets/modules/docmanager/classes/dm_frontend.class.php'); -include_once(MODX_BASE_PATH.'assets/modules/docmanager/classes/dm_backend.class.php'); - -$dm = new DocManager($modx); -$dmf = new DocManagerFrontend($dm, $modx); -$dmb = new DocManagerBackend($dm, $modx); - -$dm->ph = $dm->getLang(); -$dm->ph['theme'] = $dm->getTheme(); -$dm->ph['ajax.endpoint'] = MODX_SITE_URL.'assets/modules/docmanager/tv.ajax.php'; -$dm->ph['datepicker.offset'] = $modx->config['datepicker_offset']; -$dm->ph['datetime.format'] = $modx->config['datetime_format']; - -if (isset($_POST['tabAction'])) { - $dmb->handlePostback(); -} else { - $dmf->getViews(); - echo $dm->parseTemplate('main.tpl', $dm->ph); -} diff --git a/assets/modules/docmanager/templates/sort_list.tpl b/assets/modules/docmanager/templates/sort_list.tpl old mode 100644 new mode 100755 index 33da56a9a5..e24e58b683 --- a/assets/modules/docmanager/templates/sort_list.tpl +++ b/assets/modules/docmanager/templates/sort_list.tpl @@ -37,6 +37,18 @@ diff --git a/assets/modules/index.html b/assets/modules/index.html index fdd3791786..cfb7d0fe18 100755 --- a/assets/modules/index.html +++ b/assets/modules/index.html @@ -1,2 +1,2 @@ -

    Unauthorized access

    +

    Unauthorized access

    You're not allowed to access file folder \ No newline at end of file diff --git a/assets/plugins/index.html b/assets/plugins/index.html index fdd3791786..cfb7d0fe18 100755 --- a/assets/plugins/index.html +++ b/assets/plugins/index.html @@ -1,2 +1,2 @@ -

    Unauthorized access

    +

    Unauthorized access

    You're not allowed to access file folder \ No newline at end of file diff --git a/assets/plugins/managermanager/functions/fieldvalues.inc.php b/assets/plugins/managermanager/functions/fieldvalues.inc.php old mode 100644 new mode 100755 diff --git a/assets/plugins/managermanager/functions/utilities.inc.php b/assets/plugins/managermanager/functions/utilities.inc.php old mode 100644 new mode 100755 diff --git a/assets/plugins/managermanager/widgets/showimagetvs/showimagetvs.php b/assets/plugins/managermanager/widgets/showimagetvs/showimagetvs.php old mode 100644 new mode 100755 diff --git a/assets/plugins/qm/css/colorbox.css b/assets/plugins/qm/css/colorbox.css index 7acb45ab52..518e8d8773 100755 --- a/assets/plugins/qm/css/colorbox.css +++ b/assets/plugins/qm/css/colorbox.css @@ -1,57 +1,57 @@ -/* - ColorBox Core Style - The following rules are the styles that are consistant between themes. - Avoid changing this area to maintain compatability with future versions of ColorBox. -*/ -#colorbox, #cboxOverlay, #cboxWrapper{position:absolute; top:0; left:0; z-index:9999; overflow:hidden;} -#cboxOverlay{position:fixed; width:100%; height:100%;} -#cboxMiddleLeft, #cboxBottomLeft{clear:left;} -#cboxContent{position:relative; overflow:hidden;} -#cboxLoadedContent{overflow:auto;} -#cboxLoadedContent iframe{display:block; width:100%; height:100%; border:0;} -#cboxTitle{margin:0;} -#cboxLoadingOverlay, #cboxLoadingGraphic{position:absolute; top:0; left:0; width:100%;} -#cboxPrevious, #cboxNext, #cboxClose, #cboxSlideshow{cursor:pointer;} - -/* - Example user style - The following rules are ordered and tabbed in a way that represents the - order/nesting of the generated HTML, so that the structure easier to understand. -*/ -#cboxOverlay{background:#000;} -#colorbox{} - #cboxTopLeft{width:21px; height:21px; background:url(images/controls.png) -100px 0 no-repeat;} - #cboxTopRight{width:21px; height:21px; background:url(images/controls.png) -129px 0 no-repeat;} - #cboxBottomLeft{width:21px; height:21px; background:url(images/controls.png) -100px -29px no-repeat;} - #cboxBottomRight{width:21px; height:21px; background:url(images/controls.png) -129px -29px no-repeat;} - #cboxMiddleLeft{width:21px; background:url(images/controls.png) left top repeat-y;} - #cboxMiddleRight{width:21px; background:url(images/controls.png) right top repeat-y;} - #cboxTopCenter{height:21px; background:url(images/border.png) 0 0 repeat-x;} - #cboxBottomCenter{height:21px; background:url(images/border.png) 0 -29px repeat-x;} - #cboxContent{background:#fff;} - #cboxLoadedContent{margin-bottom:28px;} - #cboxTitle{position:absolute; bottom:3px; left:0; text-align:center; width:100%; color:#949494;} - #cboxCurrent{position:absolute; bottom:3px; left:58px; color:#949494;} - #cboxSlideshow{position:absolute; bottom:3px; right:30px; color:#0092ef;} - #cboxPrevious{position:absolute; bottom:0; left:0px; background:url(images/controls.png) -75px 0px no-repeat; width:25px; height:25px; text-indent:-9999px;} - #cboxPrevious.hover{background-position:-75px -25px;} - #cboxNext{position:absolute; bottom:0; left:27px; background:url(images/controls.png) -50px 0px no-repeat; width:25px; height:25px; text-indent:-9999px;} - #cboxNext.hover{background-position:-50px -25px;} - #cboxLoadingOverlay{background:url(images/loading_background.png) center center no-repeat;} - #cboxLoadingGraphic{background:url(images/ajax-loader.gif) center center no-repeat;} - #cboxClose{position:absolute; bottom:0; right:0; background:url(images/controls.png) -25px 0px no-repeat; width:25px; height:25px; text-indent:-9999px;} - #cboxClose.hover{background-position:-25px -25px;} - -/* - The following fixes png-transparency for IE6. - It is also necessary for png-transparency in IE7 & IE8 to avoid 'black halos' with the fade transition - - Since this method does not support CSS background-positioning, it is incompatible with CSS sprites. - Colorbox preloads navigation hover classes to account for this. - - !! Important Note: AlphaImageLoader src paths are relative to the HTML document, - while regular CSS background images are relative to the CSS document. - - => Moved to qm.inc.php for friendly url compatibility -*/ - +/* + ColorBox Core Style + The following rules are the styles that are consistant between themes. + Avoid changing this area to maintain compatability with future versions of ColorBox. +*/ +#colorbox, #cboxOverlay, #cboxWrapper{position:absolute; top:0; left:0; z-index:9999; overflow:hidden;} +#cboxOverlay{position:fixed; width:100%; height:100%;} +#cboxMiddleLeft, #cboxBottomLeft{clear:left;} +#cboxContent{position:relative; overflow:hidden;} +#cboxLoadedContent{overflow:auto;} +#cboxLoadedContent iframe{display:block; width:100%; height:100%; border:0;} +#cboxTitle{margin:0;} +#cboxLoadingOverlay, #cboxLoadingGraphic{position:absolute; top:0; left:0; width:100%;} +#cboxPrevious, #cboxNext, #cboxClose, #cboxSlideshow{cursor:pointer;} + +/* + Example user style + The following rules are ordered and tabbed in a way that represents the + order/nesting of the generated HTML, so that the structure easier to understand. +*/ +#cboxOverlay{background:#000;} +#colorbox{} + #cboxTopLeft{width:21px; height:21px; background:url(images/controls.png) -100px 0 no-repeat;} + #cboxTopRight{width:21px; height:21px; background:url(images/controls.png) -129px 0 no-repeat;} + #cboxBottomLeft{width:21px; height:21px; background:url(images/controls.png) -100px -29px no-repeat;} + #cboxBottomRight{width:21px; height:21px; background:url(images/controls.png) -129px -29px no-repeat;} + #cboxMiddleLeft{width:21px; background:url(images/controls.png) left top repeat-y;} + #cboxMiddleRight{width:21px; background:url(images/controls.png) right top repeat-y;} + #cboxTopCenter{height:21px; background:url(images/border.png) 0 0 repeat-x;} + #cboxBottomCenter{height:21px; background:url(images/border.png) 0 -29px repeat-x;} + #cboxContent{background:#fff;} + #cboxLoadedContent{margin-bottom:28px;} + #cboxTitle{position:absolute; bottom:3px; left:0; text-align:center; width:100%; color:#949494;} + #cboxCurrent{position:absolute; bottom:3px; left:58px; color:#949494;} + #cboxSlideshow{position:absolute; bottom:3px; right:30px; color:#0092ef;} + #cboxPrevious{position:absolute; bottom:0; left:0px; background:url(images/controls.png) -75px 0px no-repeat; width:25px; height:25px; text-indent:-9999px;} + #cboxPrevious.hover{background-position:-75px -25px;} + #cboxNext{position:absolute; bottom:0; left:27px; background:url(images/controls.png) -50px 0px no-repeat; width:25px; height:25px; text-indent:-9999px;} + #cboxNext.hover{background-position:-50px -25px;} + #cboxLoadingOverlay{background:url(images/loading_background.png) center center no-repeat;} + #cboxLoadingGraphic{background:url(images/ajax-loader.gif) center center no-repeat;} + #cboxClose{position:absolute; bottom:0; right:0; background:url(images/controls.png) -25px 0px no-repeat; width:25px; height:25px; text-indent:-9999px;} + #cboxClose.hover{background-position:-25px -25px;} + +/* + The following fixes png-transparency for IE6. + It is also necessary for png-transparency in IE7 & IE8 to avoid 'black halos' with the fade transition + + Since this method does not support CSS background-positioning, it is incompatible with CSS sprites. + Colorbox preloads navigation hover classes to account for this. + + !! Important Note: AlphaImageLoader src paths are relative to the HTML document, + while regular CSS background images are relative to the CSS document. + + => Moved to qm.inc.php for friendly url compatibility +*/ + diff --git a/assets/plugins/qm/css/ie.css b/assets/plugins/qm/css/ie.css index e99813de24..ec20738441 100755 --- a/assets/plugins/qm/css/ie.css +++ b/assets/plugins/qm/css/ie.css @@ -1,16 +1,16 @@ -#qmEditor, #qmEditorClosed -{ - padding: 5px 3px 1px 0px; -} - -#qmEditor li -{ - margin-top: -2px; -} - -#qmEditor #qmClose -{ - padding: 7px 5px 4px 7px; - margin-bottom: 3px; - margin-top: -1px; +#qmEditor, #qmEditorClosed +{ + padding: 5px 3px 1px 0px; +} + +#qmEditor li +{ + margin-top: -2px; +} + +#qmEditor #qmClose +{ + padding: 7px 5px 4px 7px; + margin-bottom: 3px; + margin-top: -1px; } \ No newline at end of file diff --git a/assets/plugins/qm/css/ie7.css b/assets/plugins/qm/css/ie7.css old mode 100644 new mode 100755 index f2ec773ebd..22c8d1dcc3 --- a/assets/plugins/qm/css/ie7.css +++ b/assets/plugins/qm/css/ie7.css @@ -1,17 +1,17 @@ -#qmEditor, #qmEditorClosed -{ - padding: 3px 3px 1px 3px; - -} - -#qmEditor #qmClose -{ - padding: 6px 4px 5px 6px; - margin-bottom: 2px; - margin-top: -1px; -} - -#qmEditor li -{ - margin-top: -1px; -} +#qmEditor, #qmEditorClosed +{ + padding: 3px 3px 1px 3px; + +} + +#qmEditor #qmClose +{ + padding: 6px 4px 5px 6px; + margin-bottom: 2px; + margin-top: -1px; +} + +#qmEditor li +{ + margin-top: -1px; +} diff --git a/assets/plugins/qm/css/style.css b/assets/plugins/qm/css/style.css index 7d622389c2..bea679d0c8 100755 --- a/assets/plugins/qm/css/style.css +++ b/assets/plugins/qm/css/style.css @@ -284,7 +284,7 @@ -moz-border-radius: 4px; -webkit-border-radius: 4px; border-radius: 4px; - -webkit-text-shadow: 0 1px 1px #fff; + -webkit-text-shadow: 1px 1px 0 #fff; -moz-text-shadow: 0 1px 1px #fff; text-shadow: 0 1px 1px #fff; border: 1px solid #8ea4be; diff --git a/assets/plugins/qm/qm.inc.php b/assets/plugins/qm/qm.inc.php index e89d089032..11aa5ec651 100755 --- a/assets/plugins/qm/qm.inc.php +++ b/assets/plugins/qm/qm.inc.php @@ -1,1061 +1,1061 @@ -modx = $modx; - - // Get plugin parameters - $this->jqpath = $jqpath; - $this->loadmanagerjq = $loadmanagerjq; - $this->loadfrontendjq = $loadfrontendjq; - $this->noconflictjq = $noconflictjq; - $this->loadtb = $loadtb; - $this->tbwidth = $tbwidth; - $this->tbheight = $tbheight; - $this->usemm = $usemm; - $this->hidefields = $hidefields; - $this->hidetabs = $hidetabs; - $this->hidesections = $hidesections; - $this->addbutton = $addbutton; - $this->tpltype = $tpltype; - $this->tplid = $tplid; - $this->custombutton = $custombutton; - $this->managerbutton = $managerbutton; - $this->logout = $logout; - $this->autohide = $autohide; - $this->editbuttons = $editbuttons; - $this->editbclass = $editbclass; - $this->newbuttons = $newbuttons; - $this->newbclass = $newbclass; - $this->tvbuttons = $tvbuttons; - $this->tvbclass = $tvbclass; - - // Includes - include_once($this->modx->config['base_path'].'assets/plugins/qm/mcc.class.php'); - - // Run plugin - $this->Run(); - } - - //_______________________________________________________ - function Run() { - - // Include MODx manager language file - global $_lang; - - // Get manager language - $manager_language = $this->modx->config['manager_language']; - - // Individual user language setting (if set) - $query = 'SELECT setting_name, setting_value FROM '.$this->modx->getFullTableName('user_settings').' WHERE setting_name=\'manager_language\' AND user='.$_SESSION['mgrInternalKey']; - $records = $this->modx->db->query($query); - if ($this->modx->db->getRecordCount($records) > 0) { - $record = $this->modx->db->getRow($records); - $manager_language = $record['setting_value']; - } - - // Include_once the language file - if(!isset($manager_language) || !file_exists(MODX_MANAGER_PATH."includes/lang/".$manager_language.".inc.php")) { - $manager_language = "english"; // if not set, get the english language file. - } - // Include default language - include_once MODX_MANAGER_PATH."includes/lang/english.inc.php"; - - // Include user language - if($manager_language!="english" && file_exists(MODX_MANAGER_PATH."includes/lang/".$manager_language.".inc.php")) { - include_once MODX_MANAGER_PATH."includes/lang/".$manager_language.".inc.php"; - } - - // Get event - $e = &$this->modx->Event; - - // Run plugin based on event - switch ($e->name) { - - // Save document - case 'OnDocFormSave': - - // Saving process for Qm only - if(intval($_REQUEST['quickmanager']) == 1) { - - $id = $e->params['id']; - $key = $id; - - // Normal saving document procedure stops to redirect => Before redirecting secure documents and clear cache - - // Secure web documents - flag as private (code from: manager/processors/save_content.processor.php) - include $this->modx->config['base_path']."manager/includes/secure_web_documents.inc.php"; - secureWebDocument($key); - - // Secure manager documents - flag as private (code from: manager/processors/save_content.processor.php) - include $this->modx->config['base_path']."manager/includes/secure_mgr_documents.inc.php"; - secureMgrDocument($key); - - // Clear cache - $this->clearCache(); - - // Different doc to be refreshed than the one we are editing? - if (isset($_POST['qmrefresh'])) { - $id = intval($_POST['qmrefresh']); - } - - // Redirect to clearer page which refreshes parent window and closes modal box frame - $this->modx->sendRedirect($this->modx->config['base_url'].'index.php?id='.$id.'&quickmanagerclose=1', 0, 'REDIRECT_HEADER', 'HTTP/1.1 301 Moved Permanently'); - } - - break; - - // Display page in front-end - case 'OnWebPagePrerender': - - // Get document id - $docID = $this->modx->documentIdentifier; - - // Get page output - $output = &$this->modx->documentOutput; - - // Close modal box after saving (previously close.php) - if (isset($_GET['quickmanagerclose'])) { - - // Set url to refresh - $url = $this->modx->makeUrl($docID, '', '', 'full'); - - $output = ' - - - - - - - - - - '; - - break; - } - - // QM+ TV edit - if(intval($_GET['quickmanagertv'] == 1) && $_GET['tvname'] != '' && $this->tvbuttons == 'true') { - - $tvName = ''; - $locked = FALSE; - $access = FALSE; - $save = 0; - $imagePreview = ''; - - // Includes - $manager_path = 'manager/'; - include_once($manager_path.'includes/tmplvars.inc.php'); - include_once($manager_path.'includes/tmplvars.commands.inc.php'); - include_once($manager_path.'includes/tmplvars.format.inc.php'); - - // Get save status - if (isset($_POST['save'])) $save = intval($_POST['save']); - - // Get TV name - if (preg_match('/^([A-Za-z0-9&:;_\-]+)/i', $_GET['tvname'])) $tvName = $_GET['tvname']; - - // Get TV array - $tv = $this->modx->getTemplateVar($tvName, '*', $docID); - - // Handle default TVs - switch ($tvName) { - case 'pagetitle' : $tv['type'] = 'text'; $tv['caption'] = $this->getDefaultTvCaption($tvName); $access = TRUE; break; - case 'longtitle' : $tv['type'] = 'text'; $tv['caption'] = $this->getDefaultTvCaption($tvName); $access = TRUE; break; - case 'description' : $tv['type'] = 'text'; $tv['caption'] = $this->getDefaultTvCaption($tvName); $access = TRUE; break; - case 'content' : $tv['type'] = 'richtext'; $tv['caption'] = $this->getDefaultTvCaption($tvName); $access = TRUE; break; - case 'menutitle' : $tv['type'] = 'text'; $tv['caption'] = $this->getDefaultTvCaption($tvName); $access = TRUE; break; - case 'introtext' : $tv['type'] = 'textarea'; $tv['caption'] = $this->getDefaultTvCaption($tvName); $access = TRUE; break; - } - - // Check TV access - if (!$access) { $access = $this->checkTvAccess($tv['id']); } - - // User can access TV - if ($access) { - - // Show TV form - if ($save == 0) { - - // Check is document locked? Someone else is editing the document... //$_lang['lock_msg'] - if ($this->checkLocked()) $locked = TRUE; - - // Set document locked - else $this->setLocked(1); - - // Handle RTE - if($tv['type'] == 'richtext') { - // Invoke OnRichTextEditorInit event - $eventOutput = $this->modx->invokeEvent("OnRichTextEditorInit", array('editor'=>$this->modx->config['which_editor'], 'elements'=>array('tv'.$tvName))); - - if(is_array($eventOutput)) { - $editorHtml = implode("",$eventOutput); - } - } - - // Render TV html - $tvHtml = renderFormElement($tv['type'], $tv['name'], $tv['default_text'], $tv['elements'], $tv['value']); - - // Get jQuery conflict mode - if ($this->noconflictjq == 'true') $jq_mode = '$j'; - else $jq_mode = '$'; - } - - // Save TV - else { - // Remove document locked - $this->setLocked(0); - - // Save TV - $this->saveTv($tvName); - } - - // Page output: header - $output = ' - - - - - - - - - - - '; - - // Page output: TV form - if ($save == 0) { - $output .= ' - - '; - - // Document is locked message - if ($locked) { - $output .= ' -

    '.$_lang['locked'].'

    -
    '.$_lang['lock_msg'].'
    - '; - } - - // Normal form - else { - // Image preview - if ($tv['type'] == 'image') { - $imagePreview = ' -
    - - '; - } - - $output .= ' -
    - - - - - -

    '.$tv['caption'].'

    - -
    '.$tv['description'].'
    - -
    - '.$tvHtml.' -
    - - '.$imagePreview.' - -
    - '.$editorHtml.' - '; - } - } - - // Page output: close modal box and refresh parent frame - else $output .= ''; - - // Page output: footer - $output .= ' - - - '; - } - - else { - $output = 'Error: Access denied.'; - } - } - - // QM+ with toolbar - else { - - if(isset($_SESSION['mgrValidated']) && $_REQUEST['z'] != 'manprev') { - - // If logout break here - if(isset($_REQUEST['logout'])) { - $this->Logout(); - break; - } - - $userID = $_SESSION['mgrInternalKey']; - //$docID = $this->modx->documentIdentifier; - $doc = $this->modx->getDocument($docID); - - // Edit button - - $editButton = ' -
  • - '.$_lang['edit_resource'].' -
  • - '; - - // Check if user has manager access to current document - $access = $this->checkAccess(); - - // Does user have permissions to edit document - if($access) $controls .= $editButton; - - if ($this->addbutton == 'true' && $access) { - // Add button - $addButton = ' -
  • - '.$_lang['create_resource_here'].' -
  • - '; - - // Does user have permissions to add document - if($this->modx->hasPermission('new_document')) $controls .= $addButton; - } - - // Custom add buttons if not empty and enough permissions - if ($this->custombutton != '') { - - // Replace [*id*] with current doc id - $this->custombutton = str_replace("[*id*]", $docID, $this->custombutton); - - // Handle [~id~] links - $this->custombutton = $this->modx->rewriteUrls($this->custombutton); - - $buttons = explode("||", $this->custombutton); // Buttons are divided by "||" - - // Custom buttons class index - $i = 0; - - // Parse buttons - foreach($buttons as $key => $field) { - $i++; - - $field = substr($field, 1, -1); // Trim "'" from beginning and from end - $buttonParams = explode("','", $field); // Button params are divided by "','" - - $buttonTitle = $buttonParams[0]; - $buttonAction = $buttonParams[1]; // Contains URL if this is not add button - $buttonParentId = $buttonParams[2]; // Is empty is this is not add button - $buttonTplId = $buttonParams[3]; - - // Button visible for all - if ($buttonParams[4] == '') { - $showButton = TRUE; - } - // Button is visible for specific user roles - else { - $showButton = FALSE; - - // Get user roles the button is visible for - $buttonRoles = explode(",", $buttonParams[4]); // Roles are divided by ',' - - // Check if user role is found - foreach($buttonRoles as $key => $field) { - if ($field == $_SESSION['mgrRole']) { - $showButton = TRUE; - } - } - } - - // Show custom button - if ($showButton) { - switch ($buttonAction) - { - case 'new': - $customButton = ' -
  • - '.$buttonTitle.' -
  • - '; - break; - - case 'link': - $customButton = ' -
  • - '.$buttonTitle.' -
  • - '; - break; - - case 'modal': - $customButton = ' -
  • - '.$buttonTitle.' -
  • - '; - break; - } - $controls .= $customButton; - } - } - } - - // Go to Manager button - if ($this->managerbutton == 'true') { - $managerButton = ' -
  • - '.$_lang['manager'].' -
  • - '; - $controls .= $managerButton; - } - - // Logout button - $logout = $this->modx->config['site_url'].'manager/index.php?a=8&quickmanager=logout&logoutid='.$docID; - $logoutButton = ' -
  • - '.$_lang['logout'].' -
  • - '; - $controls .= $logoutButton; - - // Add action buttons - $editor = ' -
    - -
    - - X - - -
    '; - - $css = ' - - - - '; - - // Autohide toolbar? Default: true - if ($this->autohide == 'false') { - $css .= ' - - '; - } - - // Insert jQuery and ColorBox in head if needed - if ($this->loadfrontendjq == 'true') $head .= ''; - if ($this->loadtb == 'true') { - $head .= ' - - - - - - '; - } - - // Insert ColorBox jQuery definitions for QuickManager+ - $head .= ' - - '; - - // Insert QM+ css in head - $head .= $css; - - // Place QM+ head information in head, just before tag - $output = preg_replace('~()~i', $head . '\1', $output); - - // Insert editor toolbar right after tag - $output = preg_replace('~(]*>)~i', '\1' . $editor, $output); - - // Search and create edit buttons in to the content - if ($this->editbuttons == 'true' && $access) { - $output = preg_replace('//', '$2', $output); - } - - // Search and create new document buttons in to the content - if ($this->newbuttons == 'true' && $access) { - $output = preg_replace('//', '$3', $output); - } - - // Search and create new document buttons in to the content - if ($this->tvbuttons == 'true' && $access) { - // Set and get user doc groups for TV permissions - $this->docGroup = ''; - $mrgDocGroups = $_SESSION['mgrDocgroups']; - if (!empty($mrgDocGroups)) $this->docGroup = implode(",", $mrgDocGroups); - - // Create TV buttons and check TV permissions - $output = preg_replace_callback('//', array(&$this, 'createTvButtons'), $output); - } - } - } - - break; - - // Edit document in ThickBox frame (MODx manager frame) - case 'OnDocFormPrerender': - - // If there is Qm call, add control buttons and modify to edit document page - if (intval($_REQUEST['quickmanager']) == 1) { - - global $content; - - // Set template for new document, action = 4 - if(intval($_GET['a']) == 4) { - - // Custom add button - if (isset($_GET['customaddtplid'])) { - // Set template - $content['template'] = intval($_GET['customaddtplid']); - } - - // Normal add button - else { - switch ($this->tpltype) { - // Template type is parent - case 'parent': - // Get parent document id - $pid = $content['parent'] ? $content['parent'] : intval($_REQUEST['pid']); - - // Get parent document - $parent = $this->modx->getDocument($pid); - - // Set parent template - $content['template'] = $parent['template']; - - break; - - // Template is specific id - case 'id': - $content['template'] = $this->tplid; - - break; - - // Template is inherited by Inherit Selected Template plugin - case 'selected': - // Get parent document id - $pid = $content['parent'] ? $content['parent'] : intval($_REQUEST['pid']); - - // Get inheritTpl TV - $tv = $this->modx->getTemplateVar("inheritTpl", "", $pid); - - // Set template to inherit - if ($tv['value'] != '') $content['template'] = $tv['value']; - else $content['template'] = $this->modx->config['default_template']; - - break; - } - } - } - - // Manager control class - $mc = new Mcc(); - - // Hide default manager action buttons - $mc->addLine('$("#actions").hide();'); - - // Get MODx theme - $qm_theme = $this->modx->config['manager_theme']; - - // Get doc id - $doc_id = intval($_REQUEST['id']); - - // Get jQuery conflict mode - if ($this->noconflictjq == 'true') $jq_mode = '$j'; - else $jq_mode = '$'; - - // Add action buttons - $mc->addLine('var controls = "";'); - - // Modify head - $mc->head = ''; - if ($this->loadmanagerjq == 'true') $mc->head .= ''; - - // Add control button - $mc->addLine('$("body").prepend(controls);'); - - // Hide fields to from front-end editors - if ($this->hidefields != '') { - $hideFields = explode(",", $this->hidefields); - - foreach($hideFields as $key => $field) { - $mc->hideField($field); - } - } - - // Hide tabs to from front-end editors - if ($this->hidetabs != '') { - $hideTabs = explode(",", $this->hidetabs); - - foreach($hideTabs as $key => $field) { - $mc->hideTab($field); - } - } - - // Hide sections from front-end editors - if ($this->hidesections != '') { - $hideSections = explode(",", $this->hidesections); - - foreach($hideSections as $key => $field) { - $mc->hideSection($field); - } - } - - // Hidden field to verify that QM+ call exists - $hiddenFields = ''; - - // Different doc to be refreshed? - if (isset($_REQUEST['qmrefresh'])) { - $hiddenFields .= ''; - } - - // Output - $e->output($mc->Output().$hiddenFields); - } - - break; - - // Where to logout - case 'OnManagerLogout': - // Only if cancel editing the document and QuickManager is in use - if ($_REQUEST['quickmanager'] == 'logout') { - // Redirect to document id - if ($this->logout != 'manager') { - $this->modx->sendRedirect($this->modx->makeUrl($_REQUEST['logoutid']), 0, 'REDIRECT_HEADER', 'HTTP/1.1 301 Moved Permanently'); - } - } - - break; - } - } - - // Check if user has manager access permissions to current document - //_______________________________________________________ - function checkAccess() { - $access = FALSE; - - // If user is admin (role = 1) - if ($_SESSION['mgrRole'] == 1) $access = TRUE; - - else { - $docID = $this->modx->documentIdentifier; - - // Database table - $table= $this->modx->getFullTableName("document_groups"); - - // Check if current document is assigned to one or more doc groups - $sql= "SELECT id FROM {$table} WHERE document={$docID}"; - $result= $this->modx->db->query($sql); - $rowCount= $this->modx->recordCount($result); - - // If document is assigned to one or more doc groups, check access - if ($rowCount >= 1) { - - // Get document groups for current user - $mrgDocGroups = $_SESSION['mgrDocgroups']; - if (!empty($mrgDocGroups)) { - $docGroup = implode(",", $mrgDocGroups); - - // Check if user has access to current document - $sql= "SELECT id FROM {$table} WHERE document = {$docID} AND document_group IN ({$docGroup})"; - $result= $this->modx->db->query($sql); - $rowCount = $this->modx->recordCount($result); - - if ($rowCount >= 1) $access = TRUE; - } - - else $access = FALSE; - } - - else $access = TRUE; - } - - return $access; - } - - // Function from: manager/processors/cache_sync.class.processor.php - //_____________________________________________________ - function getParents($id, $path = '') { // modx:returns child's parent - global $modx; - if(empty($this->aliases)) { - $sql = "SELECT id, IF(alias='', id, alias) AS alias, parent FROM ".$modx->getFullTableName('site_content'); - $qh = $modx->db->query($sql); - if ($qh && $modx->db->getRecordCount($qh) > 0) { - while ($row = $modx->db->getRow($qh)) { - $this->aliases[$row['id']] = $row['alias']; - $this->parents[$row['id']] = $row['parent']; - } - } - } - if (isset($this->aliases[$id])) { - $path = $this->aliases[$id] . ($path != '' ? '/' : '') . $path; - return $this->getParents($this->parents[$id], $path); - } - return $path; - } - - // Create TV buttons if user has permissions to TV - //_____________________________________________________ - function createTvButtons($matches) { - - $access = FALSE; - $table = $this->modx->getFullTableName('site_tmplvar_access'); - $docID = $this->modx->documentIdentifier; - - // Get TV caption for button title - $tv = $this->modx->getTemplateVar($matches[1]); - $caption = $tv['caption']; - - // If caption is empty this must be a "build-in-tv-field" like pagetitle etc. - if ($caption == '') { - - // Allowed for all - $access = TRUE; - - // Resolve caption - $caption = $this->getDefaultTvCaption($matches[1]); - } - - // Check TV access - else { - $access = $this->checkTvAccess($tv['id']); - } - - // Return TV button link if access - if ($access && $caption != '') { - return ''.$caption.''; - } - } - - // Check user access to TV - //_____________________________________________________ - function checkTvAccess($tvId) { - $access = FALSE; - $table = $this->modx->getFullTableName('site_tmplvar_access'); - - // If user is admin (role = 1) - if ($_SESSION['mgrRole'] == 1 && !$access) { $access = TRUE; } - - // Check permission to TV, is TV in document group? - if (!$access) { - $sql = "SELECT id FROM {$table} WHERE tmplvarid = {$tvId}"; - $result = $this->modx->db->query($sql); - $rowCount = $this->modx->recordCount($result); - // TV is not in any document group - if ($rowCount == 0) { $access = TRUE; } - } - - // Check permission to TV, TV is in document group - if (!$access && $this->docGroup != '') { - $sql = "SELECT id FROM {$table} WHERE tmplvarid = {$tvId} AND documentgroup IN ({$this->docGroup})"; - $result = $this->modx->db->query($sql); - $rowCount = $this->modx->recordCount($result); - if ($rowCount >= 1) { $access = TRUE; } - } - - return $access; - } - - // Get default TV ("build-in" TVs) captions - //_____________________________________________________ - function getDefaultTvCaption($name) { - - global $_lang; - $caption = ''; - - switch ($name) { - case 'pagetitle' : $caption = $_lang['resource_title']; break; - case 'longtitle' : $caption = $_lang['long_title']; break; - case 'description' : $caption = $_lang['resource_description']; break; - case 'content' : $caption = $_lang['resource_content']; break; - case 'menutitle' : $caption = $_lang['resource_opt_menu_title']; break; - case 'introtext' : $caption = $_lang['resource_summary']; break; - } - - return $caption; - } - - // Check that a document isn't locked for editing - //_____________________________________________________ - function checkLocked() { - - $activeUsersTable = $this->modx->getFullTableName('active_users'); - $pageId = $this->modx->documentIdentifier; - $locked = TRUE; - $userId = $_SESSION['mgrInternalKey']; - - $sql = "SELECT `internalKey` - FROM {$activeUsersTable} - WHERE (`action` = 27) - AND `internalKey` != '{$userId}' - AND `id` = '{$pageId}';"; - $result = $this->modx->db->query($sql); - - if ($this->modx->db->getRecordCount($result) === 0) { - $locked = FALSE; - } - - return $locked; - } - - // Set document locked on/off - //_____________________________________________________ - function setLocked($locked) { - - $activeUsersTable = $this->modx->getFullTableName('active_users'); - $pageId = $this->modx->documentIdentifier; - $userId = $_SESSION['mgrInternalKey']; - - // Set document locked - if ($locked == 1) { - $fields = array ( - 'id' => $pageId, - 'action' => 27 - ); - } - - // Set document unlocked - else { - $fields = array ( - 'id' => 'NULL', - 'action' => 2 - ); - } - - $where = 'internalKey = "' . $userId . '"'; - - $result = $this->modx->db->update($fields, $activeUsersTable, $where); - } - - // Save TV - //_____________________________________________________ - function saveTv($tvName) { - - $tmplvarContentValuesTable = $this->modx->getFullTableName('site_tmplvar_contentvalues'); - $siteContentTable = $this->modx->getFullTableName('site_content'); - $pageId = $this->modx->documentIdentifier; - $result = null; - $time = time(); - $user = $_SESSION['mgrInternalKey']; - $tvId = isset($_POST['tvid']) ? intval($_POST['tvid']) : ''; - $tvContent = isset($_POST['tv'.$tvName]) ? $_POST['tv'.$tvName] : ''; - $tvContentTemp = ''; - - // Invoke OnBeforeDocFormSave event - $this->modx->invokeEvent('OnBeforeDocFormSave', array('mode'=>'upd', 'id'=>$pageId)); - - // Handle checkboxes and other arrays, TV to be saved must be e.g. value1||value2||value3 - if (is_array($tvContent)) { - foreach($tvContent as $key => $value) { - $tvContentTemp .= $value . '||'; - } - $tvContentTemp = substr($tvContentTemp, 0, -2); // Remove last || - $tvContent = $tvContentTemp; - } - - // Save TV - if ($tvId != '') { - // Escape TV content - $tvContent = $this->modx->db->escape($tvContent); - - $sql = "SELECT id - FROM {$tmplvarContentValuesTable} - WHERE `tmplvarid` = '{$tvId}' - AND `contentid` = '{$pageId}';"; - $result = $this->modx->db->query($sql); - - // TV exists, update TV - if($this->modx->db->getRecordCount($result)) { - - $sql = "UPDATE {$tmplvarContentValuesTable} - SET `value` = '{$tvContent}' - WHERE `tmplvarid` = '{$tvId}' - AND `contentid` = '{$pageId}';"; - } - - // TV does not exist, create new TV - else { - $sql = "INSERT INTO {$tmplvarContentValuesTable} (tmplvarid, contentid, value) - VALUES('{$tvId}', '{$pageId}', '{$tvContent}');"; - } - - // Page edited by - $this->modx->db->update(array('editedon'=>$time, 'editedby'=>$user), $siteContentTable, 'id = "' . $pageId . '"'); - } - - // Save default field, e.g. pagetitle - else { - $sql = "UPDATE {$siteContentTable} - SET - `{$tvName}` = '{$tvContent}', - `editedon` = '{$time}', - `editedby` = '{$user}' - WHERE `id` = '{$pageId}';"; - - } - - // Update TV - if($sql) { $result = $this->modx->db->query($sql); } - - // Log possible errors - if(!$result) { - $modx->logEvent(0, 0, "

    Save failed!

    SQL:
    {$sql}
    ", 'QuickManager+'); - } - - // No errors - else { - // Invoke OnDocFormSave event - $this->modx->invokeEvent('OnDocFormSave', array('mode'=>'upd', 'id'=>$pageId)); - - // Clear cache - $this->clearCache(); - } - } - - // Clear cache - //_____________________________________________________ - function clearCache() { - // Clear cache - include_once $this->modx->config['base_path']."manager/processors/cache_sync.class.processor.php"; - $sync = new synccache(); - $sync->setCachepath($this->modx->config['base_path']."assets/cache/"); - $sync->setReport(false); - $sync->emptyCache(); - } - -} -} +modx = $modx; + + // Get plugin parameters + $this->jqpath = $jqpath; + $this->loadmanagerjq = $loadmanagerjq; + $this->loadfrontendjq = $loadfrontendjq; + $this->noconflictjq = $noconflictjq; + $this->loadtb = $loadtb; + $this->tbwidth = $tbwidth; + $this->tbheight = $tbheight; + $this->usemm = $usemm; + $this->hidefields = $hidefields; + $this->hidetabs = $hidetabs; + $this->hidesections = $hidesections; + $this->addbutton = $addbutton; + $this->tpltype = $tpltype; + $this->tplid = $tplid; + $this->custombutton = $custombutton; + $this->managerbutton = $managerbutton; + $this->logout = $logout; + $this->autohide = $autohide; + $this->editbuttons = $editbuttons; + $this->editbclass = $editbclass; + $this->newbuttons = $newbuttons; + $this->newbclass = $newbclass; + $this->tvbuttons = $tvbuttons; + $this->tvbclass = $tvbclass; + + // Includes + include_once($this->modx->config['base_path'].'assets/plugins/qm/mcc.class.php'); + + // Run plugin + $this->Run(); + } + + //_______________________________________________________ + function Run() { + + // Include MODx manager language file + global $_lang; + + // Get manager language + $manager_language = $this->modx->config['manager_language']; + + // Individual user language setting (if set) + $query = 'SELECT setting_name, setting_value FROM '.$this->modx->getFullTableName('user_settings').' WHERE setting_name=\'manager_language\' AND user='.$_SESSION['mgrInternalKey']; + $records = $this->modx->db->query($query); + if ($this->modx->db->getRecordCount($records) > 0) { + $record = $this->modx->db->getRow($records); + $manager_language = $record['setting_value']; + } + + // Include_once the language file + if(!isset($manager_language) || !file_exists(MODX_MANAGER_PATH."includes/lang/".$manager_language.".inc.php")) { + $manager_language = "english"; // if not set, get the english language file. + } + // Include default language + include_once MODX_MANAGER_PATH."includes/lang/english.inc.php"; + + // Include user language + if($manager_language!="english" && file_exists(MODX_MANAGER_PATH."includes/lang/".$manager_language.".inc.php")) { + include_once MODX_MANAGER_PATH."includes/lang/".$manager_language.".inc.php"; + } + + // Get event + $e = &$this->modx->Event; + + // Run plugin based on event + switch ($e->name) { + + // Save document + case 'OnDocFormSave': + + // Saving process for Qm only + if(intval($_REQUEST['quickmanager']) == 1) { + + $id = $e->params['id']; + $key = $id; + + // Normal saving document procedure stops to redirect => Before redirecting secure documents and clear cache + + // Secure web documents - flag as private (code from: manager/processors/save_content.processor.php) + include $this->modx->config['base_path']."manager/includes/secure_web_documents.inc.php"; + secureWebDocument($key); + + // Secure manager documents - flag as private (code from: manager/processors/save_content.processor.php) + include $this->modx->config['base_path']."manager/includes/secure_mgr_documents.inc.php"; + secureMgrDocument($key); + + // Clear cache + $this->clearCache(); + + // Different doc to be refreshed than the one we are editing? + if (isset($_POST['qmrefresh'])) { + $id = intval($_POST['qmrefresh']); + } + + // Redirect to clearer page which refreshes parent window and closes modal box frame + $this->modx->sendRedirect($this->modx->config['base_url'].'index.php?id='.$id.'&quickmanagerclose=1', 0, 'REDIRECT_HEADER', 'HTTP/1.1 301 Moved Permanently'); + } + + break; + + // Display page in front-end + case 'OnWebPagePrerender': + + // Get document id + $docID = $this->modx->documentIdentifier; + + // Get page output + $output = &$this->modx->documentOutput; + + // Close modal box after saving (previously close.php) + if (isset($_GET['quickmanagerclose'])) { + + // Set url to refresh + $url = $this->modx->makeUrl($docID, '', '', 'full'); + + $output = ' + + + + + + + + + + '; + + break; + } + + // QM+ TV edit + if(intval($_GET['quickmanagertv'] == 1) && $_GET['tvname'] != '' && $this->tvbuttons == 'true') { + + $tvName = ''; + $locked = FALSE; + $access = FALSE; + $save = 0; + $imagePreview = ''; + + // Includes + $manager_path = 'manager/'; + include_once($manager_path.'includes/tmplvars.inc.php'); + include_once($manager_path.'includes/tmplvars.commands.inc.php'); + include_once($manager_path.'includes/tmplvars.format.inc.php'); + + // Get save status + if (isset($_POST['save'])) $save = intval($_POST['save']); + + // Get TV name + if (preg_match('/^([^\\"\'\(\)<>!?]+)/i', $_GET['tvname'])) $tvName = $_GET['tvname']; + + // Get TV array + $tv = $this->modx->getTemplateVar($tvName, '*', $docID); + + // Handle default TVs + switch ($tvName) { + case 'pagetitle' : $tv['type'] = 'text'; $tv['caption'] = $this->getDefaultTvCaption($tvName); $access = TRUE; break; + case 'longtitle' : $tv['type'] = 'text'; $tv['caption'] = $this->getDefaultTvCaption($tvName); $access = TRUE; break; + case 'description' : $tv['type'] = 'text'; $tv['caption'] = $this->getDefaultTvCaption($tvName); $access = TRUE; break; + case 'content' : $tv['type'] = 'richtext'; $tv['caption'] = $this->getDefaultTvCaption($tvName); $access = TRUE; break; + case 'menutitle' : $tv['type'] = 'text'; $tv['caption'] = $this->getDefaultTvCaption($tvName); $access = TRUE; break; + case 'introtext' : $tv['type'] = 'textarea'; $tv['caption'] = $this->getDefaultTvCaption($tvName); $access = TRUE; break; + } + + // Check TV access + if (!$access) { $access = $this->checkTvAccess($tv['id']); } + + // User can access TV + if ($access) { + + // Show TV form + if ($save == 0) { + + // Check is document locked? Someone else is editing the document... //$_lang['lock_msg'] + if ($this->checkLocked()) $locked = TRUE; + + // Set document locked + else $this->setLocked(1); + + // Handle RTE + if($tv['type'] == 'richtext') { + // Invoke OnRichTextEditorInit event + $eventOutput = $this->modx->invokeEvent("OnRichTextEditorInit", array('editor'=>$this->modx->config['which_editor'], 'elements'=>array('tv'.$tvName))); + + if(is_array($eventOutput)) { + $editorHtml = implode("",$eventOutput); + } + } + + // Render TV html + $tvHtml = renderFormElement($tv['type'], $tv['name'], $tv['default_text'], $tv['elements'], $tv['value']); + + // Get jQuery conflict mode + if ($this->noconflictjq == 'true') $jq_mode = '$j'; + else $jq_mode = '$'; + } + + // Save TV + else { + // Remove document locked + $this->setLocked(0); + + // Save TV + $this->saveTv($tvName); + } + + // Page output: header + $output = ' + + + + + + + + + + + '; + + // Page output: TV form + if ($save == 0) { + $output .= ' + + '; + + // Document is locked message + if ($locked) { + $output .= ' +

    '.$_lang['locked'].'

    +
    '.$_lang['lock_msg'].'
    + '; + } + + // Normal form + else { + // Image preview + if ($tv['type'] == 'image') { + $imagePreview = ' +
    + + '; + } + + $output .= ' +
    + + + + + +

    '.$tv['caption'].'

    + +
    '.$tv['description'].'
    + +
    + '.$tvHtml.' +
    + + '.$imagePreview.' + +
    + '.$editorHtml.' + '; + } + } + + // Page output: close modal box and refresh parent frame + else $output .= ''; + + // Page output: footer + $output .= ' + + + '; + } + + else { + $output = 'Error: Access denied.'; + } + } + + // QM+ with toolbar + else { + + if(isset($_SESSION['mgrValidated']) && $_REQUEST['z'] != 'manprev') { + + // If logout break here + if(isset($_REQUEST['logout'])) { + $this->Logout(); + break; + } + + $userID = $_SESSION['mgrInternalKey']; + //$docID = $this->modx->documentIdentifier; + $doc = $this->modx->getDocument($docID); + + // Edit button + + $editButton = ' +
  • + '.$_lang['edit_resource'].' +
  • + '; + + // Check if user has manager access to current document + $access = $this->checkAccess(); + + // Does user have permissions to edit document + if($access) $controls .= $editButton; + + if ($this->addbutton == 'true' && $access) { + // Add button + $addButton = ' +
  • + '.$_lang['create_resource_here'].' +
  • + '; + + // Does user have permissions to add document + if($this->modx->hasPermission('new_document')) $controls .= $addButton; + } + + // Custom add buttons if not empty and enough permissions + if ($this->custombutton != '') { + + // Replace [*id*] with current doc id + $this->custombutton = str_replace("[*id*]", $docID, $this->custombutton); + + // Handle [~id~] links + $this->custombutton = $this->modx->rewriteUrls($this->custombutton); + + $buttons = explode("||", $this->custombutton); // Buttons are divided by "||" + + // Custom buttons class index + $i = 0; + + // Parse buttons + foreach($buttons as $key => $field) { + $i++; + + $field = substr($field, 1, -1); // Trim "'" from beginning and from end + $buttonParams = explode("','", $field); // Button params are divided by "','" + + $buttonTitle = $buttonParams[0]; + $buttonAction = $buttonParams[1]; // Contains URL if this is not add button + $buttonParentId = $buttonParams[2]; // Is empty is this is not add button + $buttonTplId = $buttonParams[3]; + + // Button visible for all + if ($buttonParams[4] == '') { + $showButton = TRUE; + } + // Button is visible for specific user roles + else { + $showButton = FALSE; + + // Get user roles the button is visible for + $buttonRoles = explode(",", $buttonParams[4]); // Roles are divided by ',' + + // Check if user role is found + foreach($buttonRoles as $key => $field) { + if ($field == $_SESSION['mgrRole']) { + $showButton = TRUE; + } + } + } + + // Show custom button + if ($showButton) { + switch ($buttonAction) + { + case 'new': + $customButton = ' +
  • + '.$buttonTitle.' +
  • + '; + break; + + case 'link': + $customButton = ' +
  • + '.$buttonTitle.' +
  • + '; + break; + + case 'modal': + $customButton = ' +
  • + '.$buttonTitle.' +
  • + '; + break; + } + $controls .= $customButton; + } + } + } + + // Go to Manager button + if ($this->managerbutton == 'true') { + $managerButton = ' +
  • + '.$_lang['manager'].' +
  • + '; + $controls .= $managerButton; + } + + // Logout button + $logout = $this->modx->config['site_url'].'manager/index.php?a=8&quickmanager=logout&logoutid='.$docID; + $logoutButton = ' +
  • + '.$_lang['logout'].' +
  • + '; + $controls .= $logoutButton; + + // Add action buttons + $editor = ' +
    + +
    + + X + +
      +
    • + '.$controls.' +
    +
    '; + + $css = ' + + + + '; + + // Autohide toolbar? Default: true + if ($this->autohide == 'false') { + $css .= ' + + '; + } + + // Insert jQuery and ColorBox in head if needed + if ($this->loadfrontendjq == 'true') $head .= ''; + if ($this->loadtb == 'true') { + $head .= ' + + + + + + '; + } + + // Insert ColorBox jQuery definitions for QuickManager+ + $head .= ' + + '; + + // Insert QM+ css in head + $head .= $css; + + // Place QM+ head information in head, just before tag + $output = preg_replace('~()~i', $head . '\1', $output); + + // Insert editor toolbar right after tag + $output = preg_replace('~(]*>)~i', '\1' . $editor, $output); + + // Search and create edit buttons in to the content + if ($this->editbuttons == 'true' && $access) { + $output = preg_replace('//', '$2', $output); + } + + // Search and create new document buttons in to the content + if ($this->newbuttons == 'true' && $access) { + $output = preg_replace('//', '$3', $output); + } + + // Search and create new document buttons in to the content + if ($this->tvbuttons == 'true' && $access) { + // Set and get user doc groups for TV permissions + $this->docGroup = ''; + $mrgDocGroups = $_SESSION['mgrDocgroups']; + if (!empty($mrgDocGroups)) $this->docGroup = implode(",", $mrgDocGroups); + + // Create TV buttons and check TV permissions + $output = preg_replace_callback('//', array(&$this, 'createTvButtons'), $output); + } + } + } + + break; + + // Edit document in ThickBox frame (MODx manager frame) + case 'OnDocFormPrerender': + + // If there is Qm call, add control buttons and modify to edit document page + if (intval($_REQUEST['quickmanager']) == 1) { + + global $content; + + // Set template for new document, action = 4 + if(intval($_GET['a']) == 4) { + + // Custom add button + if (isset($_GET['customaddtplid'])) { + // Set template + $content['template'] = intval($_GET['customaddtplid']); + } + + // Normal add button + else { + switch ($this->tpltype) { + // Template type is parent + case 'parent': + // Get parent document id + $pid = $content['parent'] ? $content['parent'] : intval($_REQUEST['pid']); + + // Get parent document + $parent = $this->modx->getDocument($pid); + + // Set parent template + $content['template'] = $parent['template']; + + break; + + // Template is specific id + case 'id': + $content['template'] = $this->tplid; + + break; + + // Template is inherited by Inherit Selected Template plugin + case 'selected': + // Get parent document id + $pid = $content['parent'] ? $content['parent'] : intval($_REQUEST['pid']); + + // Get inheritTpl TV + $tv = $this->modx->getTemplateVar("inheritTpl", "", $pid); + + // Set template to inherit + if ($tv['value'] != '') $content['template'] = $tv['value']; + else $content['template'] = $this->modx->config['default_template']; + + break; + } + } + } + + // Manager control class + $mc = new Mcc(); + + // Hide default manager action buttons + $mc->addLine('$("#actions").hide();'); + + // Get MODx theme + $qm_theme = $this->modx->config['manager_theme']; + + // Get doc id + $doc_id = intval($_REQUEST['id']); + + // Get jQuery conflict mode + if ($this->noconflictjq == 'true') $jq_mode = '$j'; + else $jq_mode = '$'; + + // Add action buttons + $mc->addLine('var controls = "";'); + + // Modify head + $mc->head = ''; + if ($this->loadmanagerjq == 'true') $mc->head .= ''; + + // Add control button + $mc->addLine('$("body").prepend(controls);'); + + // Hide fields to from front-end editors + if ($this->hidefields != '') { + $hideFields = explode(",", $this->hidefields); + + foreach($hideFields as $key => $field) { + $mc->hideField($field); + } + } + + // Hide tabs to from front-end editors + if ($this->hidetabs != '') { + $hideTabs = explode(",", $this->hidetabs); + + foreach($hideTabs as $key => $field) { + $mc->hideTab($field); + } + } + + // Hide sections from front-end editors + if ($this->hidesections != '') { + $hideSections = explode(",", $this->hidesections); + + foreach($hideSections as $key => $field) { + $mc->hideSection($field); + } + } + + // Hidden field to verify that QM+ call exists + $hiddenFields = ''; + + // Different doc to be refreshed? + if (isset($_REQUEST['qmrefresh'])) { + $hiddenFields .= ''; + } + + // Output + $e->output($mc->Output().$hiddenFields); + } + + break; + + // Where to logout + case 'OnManagerLogout': + // Only if cancel editing the document and QuickManager is in use + if ($_REQUEST['quickmanager'] == 'logout') { + // Redirect to document id + if ($this->logout != 'manager') { + $this->modx->sendRedirect($this->modx->makeUrl($_REQUEST['logoutid']), 0, 'REDIRECT_HEADER', 'HTTP/1.1 301 Moved Permanently'); + } + } + + break; + } + } + + // Check if user has manager access permissions to current document + //_______________________________________________________ + function checkAccess() { + $access = FALSE; + + // If user is admin (role = 1) + if ($_SESSION['mgrRole'] == 1) $access = TRUE; + + else { + $docID = $this->modx->documentIdentifier; + + // Database table + $table= $this->modx->getFullTableName("document_groups"); + + // Check if current document is assigned to one or more doc groups + $sql= "SELECT id FROM {$table} WHERE document={$docID}"; + $result= $this->modx->db->query($sql); + $rowCount= $this->modx->recordCount($result); + + // If document is assigned to one or more doc groups, check access + if ($rowCount >= 1) { + + // Get document groups for current user + $mrgDocGroups = $_SESSION['mgrDocgroups']; + if (!empty($mrgDocGroups)) { + $docGroup = implode(",", $mrgDocGroups); + + // Check if user has access to current document + $sql= "SELECT id FROM {$table} WHERE document = {$docID} AND document_group IN ({$docGroup})"; + $result= $this->modx->db->query($sql); + $rowCount = $this->modx->recordCount($result); + + if ($rowCount >= 1) $access = TRUE; + } + + else $access = FALSE; + } + + else $access = TRUE; + } + + return $access; + } + + // Function from: manager/processors/cache_sync.class.processor.php + //_____________________________________________________ + function getParents($id, $path = '') { // modx:returns child's parent + global $modx; + if(empty($this->aliases)) { + $sql = "SELECT id, IF(alias='', id, alias) AS alias, parent FROM ".$modx->getFullTableName('site_content'); + $qh = $modx->db->query($sql); + if ($qh && $modx->db->getRecordCount($qh) > 0) { + while ($row = $modx->db->getRow($qh)) { + $this->aliases[$row['id']] = $row['alias']; + $this->parents[$row['id']] = $row['parent']; + } + } + } + if (isset($this->aliases[$id])) { + $path = $this->aliases[$id] . ($path != '' ? '/' : '') . $path; + return $this->getParents($this->parents[$id], $path); + } + return $path; + } + + // Create TV buttons if user has permissions to TV + //_____________________________________________________ + function createTvButtons($matches) { + + $access = FALSE; + $table = $this->modx->getFullTableName('site_tmplvar_access'); + $docID = $this->modx->documentIdentifier; + + // Get TV caption for button title + $tv = $this->modx->getTemplateVar($matches[1]); + $caption = $tv['caption']; + + // If caption is empty this must be a "build-in-tv-field" like pagetitle etc. + if ($caption == '') { + + // Allowed for all + $access = TRUE; + + // Resolve caption + $caption = $this->getDefaultTvCaption($matches[1]); + } + + // Check TV access + else { + $access = $this->checkTvAccess($tv['id']); + } + + // Return TV button link if access + if ($access && $caption != '') { + return ''.$caption.''; + } + } + + // Check user access to TV + //_____________________________________________________ + function checkTvAccess($tvId) { + $access = FALSE; + $table = $this->modx->getFullTableName('site_tmplvar_access'); + + // If user is admin (role = 1) + if ($_SESSION['mgrRole'] == 1 && !$access) { $access = TRUE; } + + // Check permission to TV, is TV in document group? + if (!$access) { + $sql = "SELECT id FROM {$table} WHERE tmplvarid = {$tvId}"; + $result = $this->modx->db->query($sql); + $rowCount = $this->modx->recordCount($result); + // TV is not in any document group + if ($rowCount == 0) { $access = TRUE; } + } + + // Check permission to TV, TV is in document group + if (!$access && $this->docGroup != '') { + $sql = "SELECT id FROM {$table} WHERE tmplvarid = {$tvId} AND documentgroup IN ({$this->docGroup})"; + $result = $this->modx->db->query($sql); + $rowCount = $this->modx->recordCount($result); + if ($rowCount >= 1) { $access = TRUE; } + } + + return $access; + } + + // Get default TV ("build-in" TVs) captions + //_____________________________________________________ + function getDefaultTvCaption($name) { + + global $_lang; + $caption = ''; + + switch ($name) { + case 'pagetitle' : $caption = $_lang['resource_title']; break; + case 'longtitle' : $caption = $_lang['long_title']; break; + case 'description' : $caption = $_lang['resource_description']; break; + case 'content' : $caption = $_lang['resource_content']; break; + case 'menutitle' : $caption = $_lang['resource_opt_menu_title']; break; + case 'introtext' : $caption = $_lang['resource_summary']; break; + } + + return $caption; + } + + // Check that a document isn't locked for editing + //_____________________________________________________ + function checkLocked() { + + $activeUsersTable = $this->modx->getFullTableName('active_users'); + $pageId = $this->modx->documentIdentifier; + $locked = TRUE; + $userId = $_SESSION['mgrInternalKey']; + + $sql = "SELECT `internalKey` + FROM {$activeUsersTable} + WHERE (`action` = 27) + AND `internalKey` != '{$userId}' + AND `id` = '{$pageId}';"; + $result = $this->modx->db->query($sql); + + if ($this->modx->db->getRecordCount($result) === 0) { + $locked = FALSE; + } + + return $locked; + } + + // Set document locked on/off + //_____________________________________________________ + function setLocked($locked) { + + $activeUsersTable = $this->modx->getFullTableName('active_users'); + $pageId = $this->modx->documentIdentifier; + $userId = $_SESSION['mgrInternalKey']; + + // Set document locked + if ($locked == 1) { + $fields = array ( + 'id' => $pageId, + 'action' => 27 + ); + } + + // Set document unlocked + else { + $fields = array ( + 'id' => 'NULL', + 'action' => 2 + ); + } + + $where = 'internalKey = "' . $userId . '"'; + + $result = $this->modx->db->update($fields, $activeUsersTable, $where); + } + + // Save TV + //_____________________________________________________ + function saveTv($tvName) { + + $tmplvarContentValuesTable = $this->modx->getFullTableName('site_tmplvar_contentvalues'); + $siteContentTable = $this->modx->getFullTableName('site_content'); + $pageId = $this->modx->documentIdentifier; + $result = null; + $time = time(); + $user = $_SESSION['mgrInternalKey']; + $tvId = isset($_POST['tvid']) ? intval($_POST['tvid']) : ''; + $tvContent = isset($_POST['tv'.$tvName]) ? $_POST['tv'.$tvName] : ''; + $tvContentTemp = ''; + + // Invoke OnBeforeDocFormSave event + $this->modx->invokeEvent('OnBeforeDocFormSave', array('mode'=>'upd', 'id'=>$pageId)); + + // Handle checkboxes and other arrays, TV to be saved must be e.g. value1||value2||value3 + if (is_array($tvContent)) { + foreach($tvContent as $key => $value) { + $tvContentTemp .= $value . '||'; + } + $tvContentTemp = substr($tvContentTemp, 0, -2); // Remove last || + $tvContent = $tvContentTemp; + } + + // Save TV + if ($tvId != '') { + // Escape TV content + $tvContent = $this->modx->db->escape($tvContent); + + $sql = "SELECT id + FROM {$tmplvarContentValuesTable} + WHERE `tmplvarid` = '{$tvId}' + AND `contentid` = '{$pageId}';"; + $result = $this->modx->db->query($sql); + + // TV exists, update TV + if($this->modx->db->getRecordCount($result)) { + + $sql = "UPDATE {$tmplvarContentValuesTable} + SET `value` = '{$tvContent}' + WHERE `tmplvarid` = '{$tvId}' + AND `contentid` = '{$pageId}';"; + } + + // TV does not exist, create new TV + else { + $sql = "INSERT INTO {$tmplvarContentValuesTable} (tmplvarid, contentid, value) + VALUES('{$tvId}', '{$pageId}', '{$tvContent}');"; + } + + // Page edited by + $this->modx->db->update(array('editedon'=>$time, 'editedby'=>$user), $siteContentTable, 'id = "' . $pageId . '"'); + } + + // Save default field, e.g. pagetitle + else { + $sql = "UPDATE {$siteContentTable} + SET + `{$tvName}` = '{$tvContent}', + `editedon` = '{$time}', + `editedby` = '{$user}' + WHERE `id` = '{$pageId}';"; + + } + + // Update TV + if($sql) { $result = $this->modx->db->query($sql); } + + // Log possible errors + if(!$result) { + $modx->logEvent(0, 0, "

    Save failed!

    SQL:
    {$sql}
    ", 'QuickManager+'); + } + + // No errors + else { + // Invoke OnDocFormSave event + $this->modx->invokeEvent('OnDocFormSave', array('mode'=>'upd', 'id'=>$pageId)); + + // Clear cache + $this->clearCache(); + } + } + + // Clear cache + //_____________________________________________________ + function clearCache() { + // Clear cache + include_once $this->modx->config['base_path']."manager/processors/cache_sync.class.processor.php"; + $sync = new synccache(); + $sync->setCachepath($this->modx->config['base_path']."assets/cache/"); + $sync->setReport(false); + $sync->emptyCache(); + } + +} +} ?> \ No newline at end of file diff --git a/assets/plugins/qm/readme.html b/assets/plugins/qm/readme.html index 27ed4c2394..bbb3e2fdfa 100755 --- a/assets/plugins/qm/readme.html +++ b/assets/plugins/qm/readme.html @@ -1,854 +1,854 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - QuickManager+ -

    QuickManager+

    - -@author Mikko Lammi, www.maagit.fi/quickmanager-plus
    - -@license GNU General Public -License (GPL v3), www.gnu.org/copyleft/gpl.html
    - -@version 1.5.3 updated 12/10/2010
    - -@requirements MODx 1.0.0+ -              - 
    - -

    Description

    - -QuickManager+ enables front-end content editing.
    -

    Installation

    - -If this is an update from earlier version delete first your old -QuickManager+ plugin and all files at "assets/plugins/qm/".
    - -

    1. Extract all files from package to site root.

    - -NOTICE: If you are using Mac OS X don't extract files to the site root or you will overwrite your whole assets folder.
    - -

    -2. Create plugin with

    - -
      - -
    • Name: QuickManager+
    • -
    • Description: <strong>1.5.2</strong> Enables front-end -content editing
      -
    • -
    - -

    3. Copy paste plugin code:

    - - - - - - -
    /**
    - * QuickManager+
    - *
    - * @author Mikko Lammi, www.maagit.fi/quickmanager-plus
    - * @license GNU General Public License (GPL), http://www.gnu.org/copyleft/gpl.html
    - * @version 1.5.3 updated 12/10/2010    
    - */
    -
    -// In manager
    -if (isset($_SESSION['mgrValidated'])) {
    -
    -    $show = TRUE;
    -   
    -    if ($disabled  != '') {
    -        $arr = explode(",", $disabled );
    -        if (in_array($modx->documentIdentifier, $arr)) {
    -            $show = FALSE;
    -        }
    -    }
    -   
    -    if ($show) {
    -        // Replace [*#tv*] with QM+ edit TV button placeholders
    -        if ($tvbuttons == 'true') {
    -            $e = $modx->Event;
    -            if ($e->name == 'OnParseDocument') {
    -                 -$output = -&$modx->documentOutput;              -
    -                 -$output = preg_replace('~\[\*#(.*?)\*\]~', '<!-- '.$tvbclass.' $1 --->[*$1*]', $output);  
    -                 -$modx->documentOutput = $output;
    -             }   
    -         }
    -        // In manager
    -        if (isset($_SESSION['mgrValidated'])) {
    -            -include_once($modx->config['base_path'].'assets/plugins/qm/qm.inc.php');
    -            $qm -= new Qm($modx, $jqpath, $loadmanagerjq, $loadfrontendjq, -$noconflictjq, $loadtb, $tbwidth, $tbheight, $hidefields, $hidetabs, -$hidesections, $addbutton, $tpltype, $tplid, $custombutton, -$managerbutton, $logout, $autohide, $editbuttons, $editbclass, -$newbuttons, $newbclass, $tvbuttons, $tvbclass);
    -        }
    -    }
    -}
    - - -

    4. Check events:

    - -
      - -
    • OnParseDocument
      -
    • -
    • OnWebPagePrerender
    • - -
    • OnDocFormPrerender
    • -
    • OnDocFormSave
    • - -
    • OnManagerLogout 
      -
    • - -
    - -NOTICE: Make sure QuickManager+ is the first plugin on OnParseDocument -event: Elements > Manage Elements > Plugins > Edit Plugin -Execution Order by Event > OnParseDocument -

    5. Copy paste plugin default configuration:

    - - - - - - - -
    &jqpath=Path -to jQuery;text;assets/js/jquery-1.3.2.min.js &loadmanagerjq=Load -jQuery in manager;list;true,false;false &loadfrontendjq=Load jQuery -in front-end;list;true,false;true &noconflictjq=jQuery noConflict -mode in front-end;list;true,false;false &loadtb=Load modal box in -front-end;list;true,false;true &tbwidth=Modal box window -width;text;80% &tbheight=Modal box window height;text;90% -&hidefields=Hide document fields from front-end editors;text;parent -&hidetabs=Hide document tabs from front-end editors;text; -&hidesections=Hide document sections from front-end editors;text; -&addbutton=Show add document here button;list;true,false;true -&tpltype=New document template type;list;parent,id,selected;parent -&tplid=New document template id;int;3  -&custombutton=Custom buttons;textarea; &1=undefined;; -&managerbutton=Show go to manager button;list;true,false;true -&logout=Logout to;list;manager,front-end;manager -&disabled=Plugin disabled on documents;text; &autohide=Autohide -toolbar;list;true,false;true &editbuttons=Inline edit buttons;list;true,false;false &editbclass=Edit button CSS -class;text;qm-edit &newbuttons=Inline new -resource buttons;list;true,false;false &newbclass=New resource -button CSS -class;text;qm-new &tvbuttons=Inline template variable -buttons;list;true,false;false &tvbclass=Template variable button CSS -class;text;qm-tv

    -

    6. Save plugin.   
    -

    -

    + 7. Rich text editors (optional)
    -

    -If you don't need inline template variable buttons you can skip this.
    -
    -You don't need to change anything if your rich text editor version is at least:
    -- TinyMCE 3.3.6r2 for MODx
    -- CKEditor 3.3 for modx alpha 3
    - -
    Now the hardest part. To get rich text editors to work properly -with -QuickManager+ inline template variable buttons you will need to edit -the rich text editor plugin code. If you won't do this change the rich -text editors will use web theme buttons when editing richtext template -variables.
    - -
    - -TinyMCE 3.2.4.1 (MODx 1.0.2 and below):
    -
    - - -In MODx manager go to: Elements > Manage Elements > Plugins > TinyMCE
    - -
    - -Replace line:
    - -if(isset($forfrontend)||$modx->isFrontend()){
    - -
    - -With:
    - -if(isset($forfrontend)||($modx->isFrontend() -&& (intval($_GET['quickmanagertv'] != 1) && -!(isset($_SESSION['mgrValidated']))))){
    - -
    - -TinyMCE 3.3.2 (MODx 1.0.3) and 3.3.5.1 (MODX 1.0.4):
    -
    - - -In MODx manager go to: Elements > Manage Elements > Plugins > TinyMCE
    - -
    - -Replace line:
    - -if($modx->isBackend())
    - - -
    - - -With:
    - -if($modx->isBackend() || (intval($_GET['quickmanagertv']) == 1 && isset($_SESSION['mgrValidated'])))
    - - -

    Configuration

    - -Go to plugin configuration tab.
    - -
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    Configuration -optionDefault -valuePossible -valuesInstructions
    Path to jQuery  assets/js/jquery-1.3.2.min.js  textPath to your jQuery script. 
    Load jQuery in -manager truetrue || falsePrevent loading jQuery twice if you are already using -some other plugin -which loads jQuery such as ManagerManager.
    Load jQuery in -front-end truetrue || false  Prevent loading jQuery twice if you are already using -it in your site -template.
    jQuery noConflict mode in front-endtruetrue || falseDefine -if jQuery should use noConflict mode. NoConflict mode is useful if you -use other JavaScript libraries in front-end such as Mootools.
    Load modal box in -front-end truetrue || false  Prevent loading the modal box JavaScript (ColorBox) twice if you are already -using -it in your site -template.
    Modal box window width80%number || percentDefine modal box (ColorBox) window width, for example: -800 or 75%.
    Modal box window height90%number || percentDefine modal box (ColorBox) window height, for example: -500 or 75%.
    Hide document fields from front-end editors parenttextSeparate fields with commas, for example: -parent,template,menuindex
    -
    -Parent selection doesn't work at all with QuickManager+ due -missing menu tree -frame, so it should be hidden from front-end editors.
    -
    -Possible fields to hide: content, pagetitle, -longtitle, menuindex, parent, description, alias, link_attributes, -introtext, template, menutitle
    -
    -NOTICE! Hiding document fields may not work if fields are moved to -other tabs with ManagerManager plugin.
    Hide document tabs from front-end -editors
    -
    textSeparate tabs with commas, for example: settings,access
    -
    -Possible tabs to hide: general, settings, access
    -
    -NOTICE! Hiding tabs may not work properly if tab -order is changed with ManagerManager plugin.
    Hide document sections from front-end -editors
    -
    textSeparate sections with commas, for example: -content,tvs
    -
    -Possible sections to hide: docsettings, content, tvs
    -
    -NOTICE! Hiding sections may not work properly if you are hiding sections -with ManagerManager plugin.
    Show add document here -button truetrue || false  Define if it's possible to add documents with -QuickManager+.
    New document template -type parentparent || id || selected How to determine a -new document template:
    -
    -- parent: Use parent document template
    -- id: Use template based on id number
    -- selected: Define template based on parent document "inheritTpl" -template variable used by "Inherit Selected Template" plugin http://modxcms.com/extras.html?view=package/view&package=214. -You don't have to install the plugin, but you still have to -have "inheritTpl" template variable on parent document with correct -template id number.
    New document template id3numberDefine which template id to use with new documents. -Used only if new -document template type is id.
    Custom buttons
    -
    textDefine custom buttons, for example add document to site -root or add news document
    -
    -- New document button: 'button title','new','parent -id','template id','visible for user role ids'
    -
    -- Link button: 'button -title','link','http://www.example.com','','visible for user role ids'
    -
    -- Modal button: 'button -title','modal','http://www.example.com','','visible for user role ids'
    -
    MODx link tag, e.g. [~23~], works for link and modal button links.
    MODx id tag [*id*] works, e.g. http://www.example.com?refererMODxPageId=[*id*]
    -Every custom button has individual CSS class, e.g. qm-custom-"index"
    -
    -Visible for user role ids: leave empty to accept all roles, role 1 = -Administrator
    -
    -Separate different buttons with ||
    -
    -Basic example:
    -'Site statistics','link','http://www.google.com/analytics/','',''
    -
    Advanced example: -
    -'New root document','new','0','3',''||'Add -news','new','10','4','4,5,6'||'For admins only','link','[~45~]','','1,4'||'Site -statistics','modal','http://www.google.com/analytics/','','1,4'
    Show go to manager -buttontruetrue || falseDefine is go to manager button visible.
    Logout tomanagermanager || front-endDefine where to logout: to manager login screen or to -active document -on front-end.
    Plugin disabled on documents
    -

    -
    textDocument id numbers where the plugin is disabled.
    -Separate fields with commas, for example: -34,22,7,19
    Autohide toolbar
    -
    true
    -
    true || falseDefine if toolbar hides automatically or is always visible (manually close the toolbar by clicking MODx logo or X button)
    -
    Inline edit buttons
    -
    false
    -
    true || falseDefine if special edit buttons are searched inside content.
    -
    -Purpose:
    -Edit any page from other page, e.g. for editing ditto listings.
    -
    -How it works:
    -- Add anywhere in to your page: <!-- "Edit button CSS class" "document id to be edited" '"Button title"' -->
    -- This will create an edit button inside your page when logged in manager
    -- For regular visitors it will be shown as a regular HTML comment visible only in the HTML source code
    -
    -Basic example:
    -- Add in to your template <!-- qm-edit 1 'Edit this' -->
    -- Creates button to edit page id 1
    -
    -Advanced example:
    -- Add in to your Ditto template chunk: <!-- qm-edit [+id+] 'Edit news item' -->
    -- Creates edit buttons for news listings etc. inside the container page
    -
    -NOTICE! Button title will fail if you use accented characters. Use HTML entities instead, for example &auml;
    -
    Edit button CSS classqm-edit
    -
    text
    -
    Default qm-edit class can be found at: assets/plugins/qm/css/style.css
    -
    -You can use your own class if you want to make your own edit button or for added security measure.
    -
    Inline new resource buttonsfalse
    -
    true || falseDefine if special new resource buttons are searched inside content.
    - -
    - -Purpose:
    - -Create any page from other page, e.g. create new news items.
    - -
    - -How it works:
    - -- Add anywhere in to your page: <!-- "New resource button CSS class" "parent id" "template id" '"Button title"' -->
    - -- This will create an new resource button inside your page when logged in manager
    - -- For regular visitors it will be shown as a regular HTML comment visible only in the HTML source code
    - -
    - -Basic example:
    - -- Add in to your template <!-- qm-new 1 3 'New news item' -->
    - -- Creates new resource button
    -- Parent id: 1 (new resource will be created under document id 1)
    -- Template id: 3 (uses template id 3)
    -- Button title: New news item
    -
    -NOTICE! Button title will fail if you use accented characters. Use HTML entities instead, for example &auml;
    -
    New resource button CSS classqm-new
    -
    text
    -
    Default qm-new class can be found at: assets/plugins/qm/css/style.css
    - -
    - -You can use your own class if you want to make your own new resource button or for added security measure.
    Inline template variable buttonsfalse
    -
    true || falseDefine if special template variable buttons are searched inside content.
    - -
    - -Purpose:
    - -Edit any template variable.
    - -
    -Editable default MODx fields:
    - pagetitle, longtitle, description, content, menutitle, introtext
    -
    - -How it works:
    - -- Add anywhere in to your page: [*#tvName*], notice the "#"
    -  OR
    - -- Add anywhere in to your page: <!-- "Template variable button CSS class" "tvName" -->
    - -- This will create a template variable button inside your page when logged in manager
    - -- For regular visitors it will be shown as a regular HTML comment visible only in the HTML source code
    - -
    - -Basic example:
    - -- Add in to your template [*#tvName*]
    - -- Creates button to edit tvName template variable (and outputs the template variable)
    - -
    - -Advanced example:
    - -- Add in to your template: <!-- qm-tv tvName -->
    - -- Creates button to edit tvName template variable
    -
    Template variable button CSS classqm-tvtext
    -
    Default qm-tv class can be found at: assets/plugins/qm/css/style.css
    - -
    - -You can use your own class if you want to make your own template variable button or for added security measure.
    - -
    - -

    How to use

    - -Just login, open frontend and enjoy!
    -

    - -Known issues -

    -
      -
    • Parent selection is hidden and doesn't work at all with QuickManager+ due -missing menu tree frame.
    • -
    -

    Special thanks

    -
      -
    • QuickManager+ is orginally based on QuickManager by Urique -Dertlian
    • -
    • Template variable editing ideas from QuickEdit by Adam Crownoble
      -
    • -
    - - -

    Changelog

    1.5.3 - 12/10/2010
    - - -
      -
    • Changed: Plugin code checks immeditally at start if user is in manager to save processing time
      -
    • -
    • Fixed: Inline template variable edit/save was causing error if "'" mark was used
      -
    • - -
    -1.5.2 - 14/09/2010
    - -
      -
    • Added: CSS classes to toolbar buttons, also li elements: qmCustom, qmManager, qmLogout
    • -
    • Changed: Inline buttons div => span, validates correctly
      -
    • -
    • Fixed: Inline template variable editing when TV type is checkbox
      -
    • -
    -1.5.1 - 02/08/2010
    -
      -
    • Added: CSS classes to toolbar buttons: qmCustom, qmManager, qmLogout
      -
    • -
    • Fixed: Updated ColorBox to 1.3.9 that solves TinyMCE image align problems with IE6 and IE7
      -
    • -
    -1.5
    - -
      -
    • Added: Inline template variable buttons!!! Edit template variables with QuickEdit style. Off by default though.
      -
    • - -
    • Added: OnParseDocument plugin event
    • -
    • Added: Image TV preview
    • -
    • Added: Preserve alias on save
    • -
    • Added: "documentDirty=false;" to cancel button to prevent unnecessary MODx manager alert message
    • -
    • Added: Custom buttons now support standard MODx [*id*] tag, e.g. http://www.example.com?refererMODxPageId=[*id*]
    • -
    • Added: Individual CSS class for every custom button, e.g. qm-custom-"index"
      -
    • - - - - - -
    • Changed: Plugin content
    • -
    • Changed: TV access routine
      -
    • -
    • Fixed: TV edit form button labels
    • -
    • Removed: close.php => now implemented with OnWebPagePrerender event to preserve alias
      -
    • - - -
    -1.4.1
    -
      -
    • Added: Individual user language check, previously QM+ used global language setting for all users
      -
    • -
    • Changed: Edit buttons in content => Inline edit buttons, New resource buttons in content => Inline new resource buttons
    • -
    • Changed: Inline edit buttons "placeholder markup" changed to: <!-- "Edit button CSS class" "document id to be edited" '"Button title"' -->
    • -
    • Fixed: Inline edit/new buttons access control
      -
    • -
    -1.4
    -
      -
    • Added: Edit buttons inside content. Edit any page from other page, e.g. for editing ditto listings.
    • -
    • Added: New resource buttons inside content. Create any page from other page, e.g. create new news item.
    • -
    • Added: Custom buttons works now with default MODx links, e.g. [~23~]
      -
    • -
    • Added: Show friendly alias after saving the document. Notice: This is still an experimental feature in is off by default.
      -
    • -
    • Changed: Multiple CSS tweaks mainly for IE
    • -
    • Changed: close.php uses now sessions instead of JavaScript cookies
      -
    • -
    • Fixed: PHP4 support fixed (Thanks yama!)
    • -
    • Fixed: Hiding tabs and sections fixed (access -tab and docsettings -section)
    • -
    • Removed: .htaccess file under qm -folder that was accidentally left there is not needed at all.
      -
    • -
    -1.3.4.1
    -
      -
    • Changed: CSS tweaks for IE, opacity now works fine with IE8 but unfortunately with IE7 ugly fonts remain (Thanks again uxello!)
    • -
    - - -1.3.4
    - -
      - -
    • Added: Autohide toolbar configuration option
    • -
    • Changed: Updated ColorBox to 1.3.6: http://colorpowered.com/colorbox/
      -
    • -
    • Changed: CSS tweaks, mainly for IE (opacity removed for IE, it breaks cleartype fonts resulting very ugly looking fonts)
    • -
    • Changed: Plugin code moved from text file to this file (Installation / 3. Copy paste plugin code)
      -
    • -
    • Fixed: -Document lock problem solved, now document lock is released when cancel -button is pressed (Thanks uxello for the solution!)
      -
    • -
    • Fixed: Toolbar is now valid XHTML 1.0 Transitional code
    • - -
    • Removed: Unnecessary $disabled variable from edit code
    • -
    • Removed: Images folder, all images are now under css > images
      -
    • - -
    - - -1.3.3
    - -
      - -
    • Added: A fallback to English if the languages are missing in the -Manager/user settings
    • -
    • Added: -Little tweaks with QuickManager action buttons: small hide/show -animations and possibilty to close the menu by clicking the MODx logo
    • -
    • Added: New option for custom buttons: modal = any link opened in -a modal box (ColorBox)
    • -
    • Changed:  Custom buttons separator is now || instead of # -(reserved for URL anchors)
    • -
    • Changed: Rounded modal box is back, finally resolved bugs -with ColorBox CSS in IE and friendly urls
    • -
    • Changed: qm-colorbox.css renamed back to colorbox.css
    • -
    • Fixed: Satinitized possible XSS vulnerabilities
    • -
    • Removed: OnManagerPageInit plugin event removed
    • -
    • Removed: IE6 support dropped, QuickManager+ is not tested with -IE6 as MODx manager doesn't offially support IE6
    • -
    - -1.3.2.1
    - -
      - -
    • Fixed: Language file loading
    • -
    - -1.3.2
    - -
      - -
    • Added: New configuration option - jQuery noConflict mode in -front-end
    • -
    • Added: Check user manager access permissions to current document -and show action buttons according to permissions
    • -
    • Added: It's now possible to hide QM+ action buttons
    • -
    • Added: Hide parent frame scrollbars and QM+ buttons when modal -box is visible (ColorBox bindings)
    • -
    • Added: Modal box can't be accidentally closed by clicking the -overlay
    • -
    • Changed: -Stylish ColorBox CSS style didn't work properly with IE and crashed too -often with Safari, had to replace it with minimalistic style for better -cross-browser compatibility
    • -
    • Changed: Updated ColorBox to version 1.3.1, includes for example -IE ClearType fix (no more ugly fonts)
    • -
    • Changed: colorbox.css renamed to qm-colorbox.css and moved to QM+ -css folder
    • -
    • Fixed: -All normal MODx manager actions including template and RTE selection -works now just fine (thank you very much Susan O. for your ideas!)
    • -
    • Fixed: Multiple small CSS fixes for IE
    • -
    • Fixed: Alias friendly logout code (thanks Mar!)
    • -
    • Fixed: Language selection a bit more robust and offer a level of -fallback
    • -
    • Removed: Use with ManagerManager -plugin  -option deprecated
    • -
    - -1.3.1
    - -
      - -
    • Added: -It's now possible to change template once. After that you can't change -the template again but of course you can press cancel button and try -again.
      -Note: ToDo: Investigate if there is a way to detect parent frame in PHP -to solve this problem
    • -
    - -1.3
    - -
      - -
    • Added: Support for MODx Evolution 1.0.0 version, better -combatibility with MODx Carbon manager theme
    • -
    • Added: Support for jQuery in noConflict mode by default
    • -
    • Added: ColorBox modal box support
    • -
    • Added: Modal box (ColorBox) window width
    • -
    • Added: Modal box (ColorBox) window height
    • -
    • Added: Possibility to add custom link buttons
    • -
    • Removed: Thickbox window max width
    • -
    • Removed: MODx versions below 1.0.0 are not supported due -manager interface changes
    • -
    • Removed: ThickBox modal box support
    • -
    - -1.2
    - -
      - -
    • Added: Plugin disabled option
    • -
    • Added: Show go to manager -button option
    • -
    • Added: Custom add buttons option
    • -
    • Added: Hide document sections from front-end -editors option
    • -
    • Added: Hide document tabs from front-end -editors option
    • -
    • Added: Dynamic ThickBox windows size adjustement, window size is -calculated without refreshing the window
    • -
    • Added: ThickBox window max width option 
    • -
    • Added: Logout to configuration option added, needs -event OnManagerLogout 
    • -
    • Fixed: Documentation changed to html file
    • -
    • Fixed: Clearer plugin folder structure
    • -
    • Fixed: Hiding templates if only one template
    • -
    • Fixed: Load jQuery in -front-end was not working properly
    • -
    • Fixed: mcc.class.php => hideTab & hideSection
    • -
    • Removed: ThickBox windows width and height options removed.
    • -
    - -1.1.1
    - -
      - -
    • Fixed: Logout function changed. Previous version had a problem -with multiple users resulting document locked issues. Now plugin logs -user nicely out to the manager login page.
    • -
    - + + + + + + + + + + + + + + + + + + + + + + + + + + QuickManager+ +

    QuickManager+

    + +@author Mikko Lammi, www.maagit.fi/quickmanager-plus
    + +@license GNU General Public +License (GPL v3), www.gnu.org/copyleft/gpl.html
    + +@version 1.5.3 updated 12/10/2010
    + +@requirements MODx 1.0.0+ +              + 
    + +

    Description

    + +QuickManager+ enables front-end content editing.
    +

    Installation

    + +If this is an update from earlier version delete first your old +QuickManager+ plugin and all files at "assets/plugins/qm/".
    + +

    1. Extract all files from package to site root.

    + +NOTICE: If you are using Mac OS X don't extract files to the site root or you will overwrite your whole assets folder.
    + +

    +2. Create plugin with

    + +
      + +
    • Name: QuickManager+
    • +
    • Description: <strong>1.5.2</strong> Enables front-end +content editing
      +
    • +
    + +

    3. Copy paste plugin code:

    + + + + + + +
    /**
    + * QuickManager+
    + *
    + * @author Mikko Lammi, www.maagit.fi/quickmanager-plus
    + * @license GNU General Public License (GPL), http://www.gnu.org/copyleft/gpl.html
    + * @version 1.5.3 updated 12/10/2010    
    + */
    +
    +// In manager
    +if (isset($_SESSION['mgrValidated'])) {
    +
    +    $show = TRUE;
    +   
    +    if ($disabled  != '') {
    +        $arr = explode(",", $disabled );
    +        if (in_array($modx->documentIdentifier, $arr)) {
    +            $show = FALSE;
    +        }
    +    }
    +   
    +    if ($show) {
    +        // Replace [*#tv*] with QM+ edit TV button placeholders
    +        if ($tvbuttons == 'true') {
    +            $e = $modx->Event;
    +            if ($e->name == 'OnParseDocument') {
    +                 +$output = +&$modx->documentOutput;              +
    +                 +$output = preg_replace('~\[\*#(.*?)\*\]~', '<!-- '.$tvbclass.' $1 +-->[*$1*]', $output);  
    +                 +$modx->documentOutput = $output;
    +             }   
    +         }
    +        // In manager
    +        if (isset($_SESSION['mgrValidated'])) {
    +            +include_once($modx->config['base_path'].'assets/plugins/qm/qm.inc.php');
    +            $qm += new Qm($modx, $jqpath, $loadmanagerjq, $loadfrontendjq, +$noconflictjq, $loadtb, $tbwidth, $tbheight, $hidefields, $hidetabs, +$hidesections, $addbutton, $tpltype, $tplid, $custombutton, +$managerbutton, $logout, $autohide, $editbuttons, $editbclass, +$newbuttons, $newbclass, $tvbuttons, $tvbclass);
    +        }
    +    }
    +}
    + + +

    4. Check events:

    + +
      + +
    • OnParseDocument
      +
    • +
    • OnWebPagePrerender
    • + +
    • OnDocFormPrerender
    • +
    • OnDocFormSave
    • + +
    • OnManagerLogout 
      +
    • + +
    + +NOTICE: Make sure QuickManager+ is the first plugin on OnParseDocument +event: Elements > Manage Elements > Plugins > Edit Plugin +Execution Order by Event > OnParseDocument +

    5. Copy paste plugin default configuration:

    + + + + + + + +
    &jqpath=Path +to jQuery;text;assets/js/jquery-1.3.2.min.js &loadmanagerjq=Load +jQuery in manager;list;true,false;false &loadfrontendjq=Load jQuery +in front-end;list;true,false;true &noconflictjq=jQuery noConflict +mode in front-end;list;true,false;false &loadtb=Load modal box in +front-end;list;true,false;true &tbwidth=Modal box window +width;text;80% &tbheight=Modal box window height;text;90% +&hidefields=Hide document fields from front-end editors;text;parent +&hidetabs=Hide document tabs from front-end editors;text; +&hidesections=Hide document sections from front-end editors;text; +&addbutton=Show add document here button;list;true,false;true +&tpltype=New document template type;list;parent,id,selected;parent +&tplid=New document template id;int;3  +&custombutton=Custom buttons;textarea; &1=undefined;; +&managerbutton=Show go to manager button;list;true,false;true +&logout=Logout to;list;manager,front-end;manager +&disabled=Plugin disabled on documents;text; &autohide=Autohide +toolbar;list;true,false;true &editbuttons=Inline edit buttons;list;true,false;false &editbclass=Edit button CSS +class;text;qm-edit &newbuttons=Inline new +resource buttons;list;true,false;false &newbclass=New resource +button CSS +class;text;qm-new &tvbuttons=Inline template variable +buttons;list;true,false;false &tvbclass=Template variable button CSS +class;text;qm-tv

    +

    6. Save plugin.   
    +

    +

    + 7. Rich text editors (optional)
    +

    +If you don't need inline template variable buttons you can skip this.
    +
    +You don't need to change anything if your rich text editor version is at least:
    +- TinyMCE 3.3.6r2 for MODx
    +- CKEditor 3.3 for modx alpha 3
    + +
    Now the hardest part. To get rich text editors to work properly +with +QuickManager+ inline template variable buttons you will need to edit +the rich text editor plugin code. If you won't do this change the rich +text editors will use web theme buttons when editing richtext template +variables.
    + +
    + +TinyMCE 3.2.4.1 (MODx 1.0.2 and below):
    +
    + + +In MODx manager go to: Elements > Manage Elements > Plugins > TinyMCE
    + +
    + +Replace line:
    + +if(isset($forfrontend)||$modx->isFrontend()){
    + +
    + +With:
    + +if(isset($forfrontend)||($modx->isFrontend() +&& (intval($_GET['quickmanagertv'] != 1) && +!(isset($_SESSION['mgrValidated']))))){
    + +
    + +TinyMCE 3.3.2 (MODx 1.0.3) and 3.3.5.1 (MODX 1.0.4):
    +
    + + +In MODx manager go to: Elements > Manage Elements > Plugins > TinyMCE
    + +
    + +Replace line:
    + +if($modx->isBackend())
    + + +
    + + +With:
    + +if($modx->isBackend() || (intval($_GET['quickmanagertv']) == 1 && isset($_SESSION['mgrValidated'])))
    + + +

    Configuration

    + +Go to plugin configuration tab.
    + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    Configuration +optionDefault +valuePossible +valuesInstructions
    Path to jQuery  assets/js/jquery-1.3.2.min.js  textPath to your jQuery script. 
    Load jQuery in +manager truetrue || falsePrevent loading jQuery twice if you are already using +some other plugin +which loads jQuery such as ManagerManager.
    Load jQuery in +front-end truetrue || false  Prevent loading jQuery twice if you are already using +it in your site +template.
    jQuery noConflict mode in front-endtruetrue || falseDefine +if jQuery should use noConflict mode. NoConflict mode is useful if you +use other JavaScript libraries in front-end such as Mootools.
    Load modal box in +front-end truetrue || false  Prevent loading the modal box JavaScript (ColorBox) twice if you are already +using +it in your site +template.
    Modal box window width80%number || percentDefine modal box (ColorBox) window width, for example: +800 or 75%.
    Modal box window height90%number || percentDefine modal box (ColorBox) window height, for example: +500 or 75%.
    Hide document fields from front-end editors parenttextSeparate fields with commas, for example: +parent,template,menuindex
    +
    +Parent selection doesn't work at all with QuickManager+ due +missing menu tree +frame, so it should be hidden from front-end editors.
    +
    +Possible fields to hide: content, pagetitle, +longtitle, menuindex, parent, description, alias, link_attributes, +introtext, template, menutitle
    +
    +NOTICE! Hiding document fields may not work if fields are moved to +other tabs with ManagerManager plugin.
    Hide document tabs from front-end +editors
    +
    textSeparate tabs with commas, for example: settings,access
    +
    +Possible tabs to hide: general, settings, access
    +
    +NOTICE! Hiding tabs may not work properly if tab +order is changed with ManagerManager plugin.
    Hide document sections from front-end +editors
    +
    textSeparate sections with commas, for example: +content,tvs
    +
    +Possible sections to hide: docsettings, content, tvs
    +
    +NOTICE! Hiding sections may not work properly if you are hiding sections +with ManagerManager plugin.
    Show add document here +button truetrue || false  Define if it's possible to add documents with +QuickManager+.
    New document template +type parentparent || id || selected How to determine a +new document template:
    +
    +- parent: Use parent document template
    +- id: Use template based on id number
    +- selected: Define template based on parent document "inheritTpl" +template variable used by "Inherit Selected Template" plugin http://modxcms.com/extras.html?view=package/view&package=214. +You don't have to install the plugin, but you still have to +have "inheritTpl" template variable on parent document with correct +template id number.
    New document template id3numberDefine which template id to use with new documents. +Used only if new +document template type is id.
    Custom buttons
    +
    textDefine custom buttons, for example add document to site +root or add news document
    +
    +- New document button: 'button title','new','parent +id','template id','visible for user role ids'
    +
    +- Link button: 'button +title','link','http://www.example.com','','visible for user role ids'
    +
    +- Modal button: 'button +title','modal','http://www.example.com','','visible for user role ids'
    +
    MODx link tag, e.g. [~23~], works for link and modal button links.
    MODx id tag [*id*] works, e.g. http://www.example.com?refererMODxPageId=[*id*]
    +Every custom button has individual CSS class, e.g. qm-custom-"index"
    +
    +Visible for user role ids: leave empty to accept all roles, role 1 = +Administrator
    +
    +Separate different buttons with ||
    +
    +Basic example:
    +'Site statistics','link','http://www.google.com/analytics/','',''
    +
    Advanced example: +
    +'New root document','new','0','3',''||'Add +news','new','10','4','4,5,6'||'For admins only','link','[~45~]','','1,4'||'Site +statistics','modal','http://www.google.com/analytics/','','1,4'
    Show go to manager +buttontruetrue || falseDefine is go to manager button visible.
    Logout tomanagermanager || front-endDefine where to logout: to manager login screen or to +active document +on front-end.
    Plugin disabled on documents
    +

    +
    textDocument id numbers where the plugin is disabled.
    +Separate fields with commas, for example: +34,22,7,19
    Autohide toolbar
    +
    true
    +
    true || falseDefine if toolbar hides automatically or is always visible (manually close the toolbar by clicking MODx logo or X button)
    +
    Inline edit buttons
    +
    false
    +
    true || falseDefine if special edit buttons are searched inside content.
    +
    +Purpose:
    +Edit any page from other page, e.g. for editing ditto listings.
    +
    +How it works:
    +- Add anywhere in to your page: <!-- "Edit button CSS class" "document id to be edited" '"Button title"' -->
    +- This will create an edit button inside your page when logged in manager
    +- For regular visitors it will be shown as a regular HTML comment visible only in the HTML source code
    +
    +Basic example:
    +- Add in to your template <!-- qm-edit 1 'Edit this' -->
    +- Creates button to edit page id 1
    +
    +Advanced example:
    +- Add in to your Ditto template chunk: <!-- qm-edit [+id+] 'Edit news item' -->
    +- Creates edit buttons for news listings etc. inside the container page
    +
    +NOTICE! Button title will fail if you use accented characters. Use HTML entities instead, for example &auml;
    +
    Edit button CSS classqm-edit
    +
    text
    +
    Default qm-edit class can be found at: assets/plugins/qm/css/style.css
    +
    +You can use your own class if you want to make your own edit button or for added security measure.
    +
    Inline new resource buttonsfalse
    +
    true || falseDefine if special new resource buttons are searched inside content.
    + +
    + +Purpose:
    + +Create any page from other page, e.g. create new news items.
    + +
    + +How it works:
    + +- Add anywhere in to your page: <!-- "New resource button CSS class" "parent id" "template id" '"Button title"' -->
    + +- This will create an new resource button inside your page when logged in manager
    + +- For regular visitors it will be shown as a regular HTML comment visible only in the HTML source code
    + +
    + +Basic example:
    + +- Add in to your template <!-- qm-new 1 3 'New news item' -->
    + +- Creates new resource button
    +- Parent id: 1 (new resource will be created under document id 1)
    +- Template id: 3 (uses template id 3)
    +- Button title: New news item
    +
    +NOTICE! Button title will fail if you use accented characters. Use HTML entities instead, for example &auml;
    +
    New resource button CSS classqm-new
    +
    text
    +
    Default qm-new class can be found at: assets/plugins/qm/css/style.css
    + +
    + +You can use your own class if you want to make your own new resource button or for added security measure.
    Inline template variable buttonsfalse
    +
    true || falseDefine if special template variable buttons are searched inside content.
    + +
    + +Purpose:
    + +Edit any template variable.
    + +
    +Editable default MODx fields:
    + pagetitle, longtitle, description, content, menutitle, introtext
    +
    + +How it works:
    + +- Add anywhere in to your page: [*#tvName*], notice the "#"
    +  OR
    + +- Add anywhere in to your page: <!-- "Template variable button CSS class" "tvName" -->
    + +- This will create a template variable button inside your page when logged in manager
    + +- For regular visitors it will be shown as a regular HTML comment visible only in the HTML source code
    + +
    + +Basic example:
    + +- Add in to your template [*#tvName*]
    + +- Creates button to edit tvName template variable (and outputs the template variable)
    + +
    + +Advanced example:
    + +- Add in to your template: <!-- qm-tv tvName -->
    + +- Creates button to edit tvName template variable
    +
    Template variable button CSS classqm-tvtext
    +
    Default qm-tv class can be found at: assets/plugins/qm/css/style.css
    + +
    + +You can use your own class if you want to make your own template variable button or for added security measure.
    + +
    + +

    How to use

    + +Just login, open frontend and enjoy!
    +

    + +Known issues +

    +
      +
    • Parent selection is hidden and doesn't work at all with QuickManager+ due +missing menu tree frame.
    • +
    +

    Special thanks

    +
      +
    • QuickManager+ is orginally based on QuickManager by Urique +Dertlian
    • +
    • Template variable editing ideas from QuickEdit by Adam Crownoble
      +
    • +
    + + +

    Changelog

    1.5.3 - 12/10/2010
    + + +
      +
    • Changed: Plugin code checks immeditally at start if user is in manager to save processing time
      +
    • +
    • Fixed: Inline template variable edit/save was causing error if "'" mark was used
      +
    • + +
    +1.5.2 - 14/09/2010
    + +
      +
    • Added: CSS classes to toolbar buttons, also li elements: qmCustom, qmManager, qmLogout
    • +
    • Changed: Inline buttons div => span, validates correctly
      +
    • +
    • Fixed: Inline template variable editing when TV type is checkbox
      +
    • +
    +1.5.1 - 02/08/2010
    +
      +
    • Added: CSS classes to toolbar buttons: qmCustom, qmManager, qmLogout
      +
    • +
    • Fixed: Updated ColorBox to 1.3.9 that solves TinyMCE image align problems with IE6 and IE7
      +
    • +
    +1.5
    + +
      +
    • Added: Inline template variable buttons!!! Edit template variables with QuickEdit style. Off by default though.
      +
    • + +
    • Added: OnParseDocument plugin event
    • +
    • Added: Image TV preview
    • +
    • Added: Preserve alias on save
    • +
    • Added: "documentDirty=false;" to cancel button to prevent unnecessary MODx manager alert message
    • +
    • Added: Custom buttons now support standard MODx [*id*] tag, e.g. http://www.example.com?refererMODxPageId=[*id*]
    • +
    • Added: Individual CSS class for every custom button, e.g. qm-custom-"index"
      +
    • + + + + + +
    • Changed: Plugin content
    • +
    • Changed: TV access routine
      +
    • +
    • Fixed: TV edit form button labels
    • +
    • Removed: close.php => now implemented with OnWebPagePrerender event to preserve alias
      +
    • + + +
    +1.4.1
    +
      +
    • Added: Individual user language check, previously QM+ used global language setting for all users
      +
    • +
    • Changed: Edit buttons in content => Inline edit buttons, New resource buttons in content => Inline new resource buttons
    • +
    • Changed: Inline edit buttons "placeholder markup" changed to: <!-- "Edit button CSS class" "document id to be edited" '"Button title"' -->
    • +
    • Fixed: Inline edit/new buttons access control
      +
    • +
    +1.4
    +
      +
    • Added: Edit buttons inside content. Edit any page from other page, e.g. for editing ditto listings.
    • +
    • Added: New resource buttons inside content. Create any page from other page, e.g. create new news item.
    • +
    • Added: Custom buttons works now with default MODx links, e.g. [~23~]
      +
    • +
    • Added: Show friendly alias after saving the document. Notice: This is still an experimental feature in is off by default.
      +
    • +
    • Changed: Multiple CSS tweaks mainly for IE
    • +
    • Changed: close.php uses now sessions instead of JavaScript cookies
      +
    • +
    • Fixed: PHP4 support fixed (Thanks yama!)
    • +
    • Fixed: Hiding tabs and sections fixed (access -tab and docsettings -section)
    • +
    • Removed: .htaccess file under qm -folder that was accidentally left there is not needed at all.
      +
    • +
    +1.3.4.1
    +
      +
    • Changed: CSS tweaks for IE, opacity now works fine with IE8 but unfortunately with IE7 ugly fonts remain (Thanks again uxello!)
    • +
    + + +1.3.4
    + +
      + +
    • Added: Autohide toolbar configuration option
    • +
    • Changed: Updated ColorBox to 1.3.6: http://colorpowered.com/colorbox/
      +
    • +
    • Changed: CSS tweaks, mainly for IE (opacity removed for IE, it breaks cleartype fonts resulting very ugly looking fonts)
    • +
    • Changed: Plugin code moved from text file to this file (Installation / 3. Copy paste plugin code)
      +
    • +
    • Fixed: +Document lock problem solved, now document lock is released when cancel +button is pressed (Thanks uxello for the solution!)
      +
    • +
    • Fixed: Toolbar is now valid XHTML 1.0 Transitional code
    • + +
    • Removed: Unnecessary $disabled variable from edit code
    • +
    • Removed: Images folder, all images are now under css > images
      +
    • + +
    + + +1.3.3
    + +
      + +
    • Added: A fallback to English if the languages are missing in the +Manager/user settings
    • +
    • Added: +Little tweaks with QuickManager action buttons: small hide/show +animations and possibilty to close the menu by clicking the MODx logo
    • +
    • Added: New option for custom buttons: modal = any link opened in +a modal box (ColorBox)
    • +
    • Changed:  Custom buttons separator is now || instead of # +(reserved for URL anchors)
    • +
    • Changed: Rounded modal box is back, finally resolved bugs +with ColorBox CSS in IE and friendly urls
    • +
    • Changed: qm-colorbox.css renamed back to colorbox.css
    • +
    • Fixed: Satinitized possible XSS vulnerabilities
    • +
    • Removed: OnManagerPageInit plugin event removed
    • +
    • Removed: IE6 support dropped, QuickManager+ is not tested with +IE6 as MODx manager doesn't offially support IE6
    • +
    + +1.3.2.1
    + +
      + +
    • Fixed: Language file loading
    • +
    + +1.3.2
    + +
      + +
    • Added: New configuration option - jQuery noConflict mode in +front-end
    • +
    • Added: Check user manager access permissions to current document +and show action buttons according to permissions
    • +
    • Added: It's now possible to hide QM+ action buttons
    • +
    • Added: Hide parent frame scrollbars and QM+ buttons when modal +box is visible (ColorBox bindings)
    • +
    • Added: Modal box can't be accidentally closed by clicking the +overlay
    • +
    • Changed: +Stylish ColorBox CSS style didn't work properly with IE and crashed too +often with Safari, had to replace it with minimalistic style for better +cross-browser compatibility
    • +
    • Changed: Updated ColorBox to version 1.3.1, includes for example +IE ClearType fix (no more ugly fonts)
    • +
    • Changed: colorbox.css renamed to qm-colorbox.css and moved to QM+ +css folder
    • +
    • Fixed: +All normal MODx manager actions including template and RTE selection +works now just fine (thank you very much Susan O. for your ideas!)
    • +
    • Fixed: Multiple small CSS fixes for IE
    • +
    • Fixed: Alias friendly logout code (thanks Mar!)
    • +
    • Fixed: Language selection a bit more robust and offer a level of +fallback
    • +
    • Removed: Use with ManagerManager +plugin  -option deprecated
    • +
    + +1.3.1
    + +
      + +
    • Added: +It's now possible to change template once. After that you can't change +the template again but of course you can press cancel button and try +again.
      +Note: ToDo: Investigate if there is a way to detect parent frame in PHP +to solve this problem
    • +
    + +1.3
    + +
      + +
    • Added: Support for MODx Evolution 1.0.0 version, better +combatibility with MODx Carbon manager theme
    • +
    • Added: Support for jQuery in noConflict mode by default
    • +
    • Added: ColorBox modal box support
    • +
    • Added: Modal box (ColorBox) window width
    • +
    • Added: Modal box (ColorBox) window height
    • +
    • Added: Possibility to add custom link buttons
    • +
    • Removed: Thickbox window max width
    • +
    • Removed: MODx versions below 1.0.0 are not supported due +manager interface changes
    • +
    • Removed: ThickBox modal box support
    • +
    + +1.2
    + +
      + +
    • Added: Plugin disabled option
    • +
    • Added: Show go to manager +button option
    • +
    • Added: Custom add buttons option
    • +
    • Added: Hide document sections from front-end +editors option
    • +
    • Added: Hide document tabs from front-end +editors option
    • +
    • Added: Dynamic ThickBox windows size adjustement, window size is +calculated without refreshing the window
    • +
    • Added: ThickBox window max width option 
    • +
    • Added: Logout to configuration option added, needs +event OnManagerLogout 
    • +
    • Fixed: Documentation changed to html file
    • +
    • Fixed: Clearer plugin folder structure
    • +
    • Fixed: Hiding templates if only one template
    • +
    • Fixed: Load jQuery in +front-end was not working properly
    • +
    • Fixed: mcc.class.php => hideTab & hideSection
    • +
    • Removed: ThickBox windows width and height options removed.
    • +
    + +1.1.1
    + +
      + +
    • Fixed: Logout function changed. Previous version had a problem +with multiple users resulting document locked issues. Now plugin logs +user nicely out to the manager login page.
    • +
    + \ No newline at end of file diff --git a/assets/plugins/tinymce/index.html b/assets/plugins/tinymce/index.html old mode 100644 new mode 100755 index fdd3791786..cfb7d0fe18 --- a/assets/plugins/tinymce/index.html +++ b/assets/plugins/tinymce/index.html @@ -1,2 +1,2 @@ -

    Unauthorized access

    +

    Unauthorized access

    You're not allowed to access file folder \ No newline at end of file diff --git a/assets/plugins/tinymce/js/fbconfig.js b/assets/plugins/tinymce/js/fbconfig.js old mode 100644 new mode 100755 index 8bdaa2f337..b9f3deccaa --- a/assets/plugins/tinymce/js/fbconfig.js +++ b/assets/plugins/tinymce/js/fbconfig.js @@ -1,33 +1,33 @@ -document.write(''); - -var FileBrowserDialogue = { - init : function () { - // Here goes your code for setting your custom things onLoad. - }, - selectURL : function (url) { - var win = tinyMCEPopup.getWindowArg("window"); - - // insert information now - win.document.getElementById(tinyMCEPopup.getWindowArg("input")).value = url; - - if (typeof(win.ImageDialog) != 'undefined') { - // for image browsers: update image dimensions - if (win.ImageDialog.getImageData) { - win.ImageDialog.getImageData(); - } - // show preview image - if (win.ImageDialog.showPreviewImage) { - win.ImageDialog.showPreviewImage(url); - } - } - - // close popup window - tinyMCEPopup.close(); - } -} - -tinyMCEPopup.onInit.add(FileBrowserDialogue.init, FileBrowserDialogue); - -function SetUrl(fileUrl){ - top.FileBrowserDialogue.selectURL(fileUrl); +document.write(''); + +var FileBrowserDialogue = { + init : function () { + // Here goes your code for setting your custom things onLoad. + }, + selectURL : function (url) { + var win = tinyMCEPopup.getWindowArg("window"); + + // insert information now + win.document.getElementById(tinyMCEPopup.getWindowArg("input")).value = url; + + if (typeof(win.ImageDialog) != 'undefined') { + // for image browsers: update image dimensions + if (win.ImageDialog.getImageData) { + win.ImageDialog.getImageData(); + } + // show preview image + if (win.ImageDialog.showPreviewImage) { + win.ImageDialog.showPreviewImage(url); + } + } + + // close popup window + tinyMCEPopup.close(); + } +} + +tinyMCEPopup.onInit.add(FileBrowserDialogue.init, FileBrowserDialogue); + +function SetUrl(fileUrl){ + top.FileBrowserDialogue.selectURL(fileUrl); } \ No newline at end of file diff --git a/assets/plugins/tinymce/js/xconfig.js b/assets/plugins/tinymce/js/xconfig.js old mode 100644 new mode 100755 index 7b605e77d2..656ecdeb8a --- a/assets/plugins/tinymce/js/xconfig.js +++ b/assets/plugins/tinymce/js/xconfig.js @@ -1,27 +1,27 @@ -/** -This file is used by the MODx TinyMCE plugin to pass additional parameters to TinyMCE for processing. -*/ - -var mce_valid_elements = "@[id|class|style|title|dir - Copyright (C) - - 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. - - You should have received a copy of the GNU Lesser General Public - License along with this library; if not, write to the Free Software - Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - -Also add information on how to contact you by electronic and paper mail. - -You should also get your employer (if you work as a programmer) or your -school, if any, to sign a "copyright disclaimer" for the library, if -necessary. Here is a sample; alter the names: - - Yoyodyne, Inc., hereby disclaims all copyright interest in the - library `Frob' (a library for tweaking knobs) written by James Random Hacker. - - , 1 April 1990 - Ty Coon, President of Vice - -That's all there is to it! - - + GNU LESSER GENERAL PUBLIC LICENSE + Version 2.1, February 1999 + + Copyright (C) 1991, 1999 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. + +[This is the first released version of the Lesser GPL. It also counts + as the successor of the GNU Library Public License, version 2, hence + the version number 2.1.] + + Preamble + + The licenses for most software are designed to take away your +freedom to share and change it. By contrast, the GNU General Public +Licenses are intended to guarantee your freedom to share and change +free software--to make sure the software is free for all its users. + + This license, the Lesser General Public License, applies to some +specially designated software packages--typically libraries--of the +Free Software Foundation and other authors who decide to use it. You +can use it too, but we suggest you first think carefully about whether +this license or the ordinary General Public License is the better +strategy to use in any particular case, based on the explanations below. + + When we speak of free software, we are referring to freedom of use, +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 and use pieces of +it in new free programs; and that you are informed that you can do +these things. + + To protect your rights, we need to make restrictions that forbid +distributors to deny you these rights or to ask you to surrender these +rights. These restrictions translate to certain responsibilities for +you if you distribute copies of the library or if you modify it. + + For example, if you distribute copies of the library, whether gratis +or for a fee, you must give the recipients all the rights that we gave +you. You must make sure that they, too, receive or can get the source +code. If you link other code with the library, you must provide +complete object files to the recipients, so that they can relink them +with the library after making changes to the library and recompiling +it. And you must show them these terms so they know their rights. + + We protect your rights with a two-step method: (1) we copyright the +library, and (2) we offer you this license, which gives you legal +permission to copy, distribute and/or modify the library. + + To protect each distributor, we want to make it very clear that +there is no warranty for the free library. Also, if the library is +modified by someone else and passed on, the recipients should know +that what they have is not the original version, so that the original +author's reputation will not be affected by problems that might be +introduced by others. + + Finally, software patents pose a constant threat to the existence of +any free program. We wish to make sure that a company cannot +effectively restrict the users of a free program by obtaining a +restrictive license from a patent holder. Therefore, we insist that +any patent license obtained for a version of the library must be +consistent with the full freedom of use specified in this license. + + Most GNU software, including some libraries, is covered by the +ordinary GNU General Public License. This license, the GNU Lesser +General Public License, applies to certain designated libraries, and +is quite different from the ordinary General Public License. We use +this license for certain libraries in order to permit linking those +libraries into non-free programs. + + When a program is linked with a library, whether statically or using +a shared library, the combination of the two is legally speaking a +combined work, a derivative of the original library. The ordinary +General Public License therefore permits such linking only if the +entire combination fits its criteria of freedom. The Lesser General +Public License permits more lax criteria for linking other code with +the library. + + We call this license the "Lesser" General Public License because it +does Less to protect the user's freedom than the ordinary General +Public License. It also provides other free software developers Less +of an advantage over competing non-free programs. These disadvantages +are the reason we use the ordinary General Public License for many +libraries. However, the Lesser license provides advantages in certain +special circumstances. + + For example, on rare occasions, there may be a special need to +encourage the widest possible use of a certain library, so that it becomes +a de-facto standard. To achieve this, non-free programs must be +allowed to use the library. A more frequent case is that a free +library does the same job as widely used non-free libraries. In this +case, there is little to gain by limiting the free library to free +software only, so we use the Lesser General Public License. + + In other cases, permission to use a particular library in non-free +programs enables a greater number of people to use a large body of +free software. For example, permission to use the GNU C Library in +non-free programs enables many more people to use the whole GNU +operating system, as well as its variant, the GNU/Linux operating +system. + + Although the Lesser General Public License is Less protective of the +users' freedom, it does ensure that the user of a program that is +linked with the Library has the freedom and the wherewithal to run +that program using a modified version of the Library. + + The precise terms and conditions for copying, distribution and +modification follow. Pay close attention to the difference between a +"work based on the library" and a "work that uses the library". The +former contains code derived from the library, whereas the latter must +be combined with the library in order to run. + + GNU LESSER GENERAL PUBLIC LICENSE + TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION + + 0. This License Agreement applies to any software library or other +program which contains a notice placed by the copyright holder or +other authorized party saying it may be distributed under the terms of +this Lesser General Public License (also called "this License"). +Each licensee is addressed as "you". + + A "library" means a collection of software functions and/or data +prepared so as to be conveniently linked with application programs +(which use some of those functions and data) to form executables. + + The "Library", below, refers to any such software library or work +which has been distributed under these terms. A "work based on the +Library" means either the Library or any derivative work under +copyright law: that is to say, a work containing the Library or a +portion of it, either verbatim or with modifications and/or translated +straightforwardly into another language. (Hereinafter, translation is +included without limitation in the term "modification".) + + "Source code" for a work means the preferred form of the work for +making modifications to it. For a library, 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 library. + + Activities other than copying, distribution and modification are not +covered by this License; they are outside its scope. The act of +running a program using the Library is not restricted, and output from +such a program is covered only if its contents constitute a work based +on the Library (independent of the use of the Library in a tool for +writing it). Whether that is true depends on what the Library does +and what the program that uses the Library does. + + 1. You may copy and distribute verbatim copies of the Library's +complete 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 distribute a copy of this License along with the +Library. + + 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 Library or any portion +of it, thus forming a work based on the Library, 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) The modified work must itself be a software library. + + b) You must cause the files modified to carry prominent notices + stating that you changed the files and the date of any change. + + c) You must cause the whole of the work to be licensed at no + charge to all third parties under the terms of this License. + + d) If a facility in the modified Library refers to a function or a + table of data to be supplied by an application program that uses + the facility, other than as an argument passed when the facility + is invoked, then you must make a good faith effort to ensure that, + in the event an application does not supply such function or + table, the facility still operates, and performs whatever part of + its purpose remains meaningful. + + (For example, a function in a library to compute square roots has + a purpose that is entirely well-defined independent of the + application. Therefore, Subsection 2d requires that any + application-supplied function or table used by this function must + be optional: if the application does not supply it, the square + root function must still compute square roots.) + +These requirements apply to the modified work as a whole. If +identifiable sections of that work are not derived from the Library, +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 Library, 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 Library. + +In addition, mere aggregation of another work not based on the Library +with the Library (or with a work based on the Library) on a volume of +a storage or distribution medium does not bring the other work under +the scope of this License. + + 3. You may opt to apply the terms of the ordinary GNU General Public +License instead of this License to a given copy of the Library. To do +this, you must alter all the notices that refer to this License, so +that they refer to the ordinary GNU General Public License, version 2, +instead of to this License. (If a newer version than version 2 of the +ordinary GNU General Public License has appeared, then you can specify +that version instead if you wish.) Do not make any other change in +these notices. + + Once this change is made in a given copy, it is irreversible for +that copy, so the ordinary GNU General Public License applies to all +subsequent copies and derivative works made from that copy. + + This option is useful when you wish to copy part of the code of +the Library into a program that is not a library. + + 4. You may copy and distribute the Library (or a portion or +derivative of it, under Section 2) in object code or executable form +under the terms of Sections 1 and 2 above provided that you 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. + + If distribution of 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 satisfies the requirement to +distribute the source code, even though third parties are not +compelled to copy the source along with the object code. + + 5. A program that contains no derivative of any portion of the +Library, but is designed to work with the Library by being compiled or +linked with it, is called a "work that uses the Library". Such a +work, in isolation, is not a derivative work of the Library, and +therefore falls outside the scope of this License. + + However, linking a "work that uses the Library" with the Library +creates an executable that is a derivative of the Library (because it +contains portions of the Library), rather than a "work that uses the +library". The executable is therefore covered by this License. +Section 6 states terms for distribution of such executables. + + When a "work that uses the Library" uses material from a header file +that is part of the Library, the object code for the work may be a +derivative work of the Library even though the source code is not. +Whether this is true is especially significant if the work can be +linked without the Library, or if the work is itself a library. The +threshold for this to be true is not precisely defined by law. + + If such an object file uses only numerical parameters, data +structure layouts and accessors, and small macros and small inline +functions (ten lines or less in length), then the use of the object +file is unrestricted, regardless of whether it is legally a derivative +work. (Executables containing this object code plus portions of the +Library will still fall under Section 6.) + + Otherwise, if the work is a derivative of the Library, you may +distribute the object code for the work under the terms of Section 6. +Any executables containing that work also fall under Section 6, +whether or not they are linked directly with the Library itself. + + 6. As an exception to the Sections above, you may also combine or +link a "work that uses the Library" with the Library to produce a +work containing portions of the Library, and distribute that work +under terms of your choice, provided that the terms permit +modification of the work for the customer's own use and reverse +engineering for debugging such modifications. + + You must give prominent notice with each copy of the work that the +Library is used in it and that the Library and its use are covered by +this License. You must supply a copy of this License. If the work +during execution displays copyright notices, you must include the +copyright notice for the Library among them, as well as a reference +directing the user to the copy of this License. Also, you must do one +of these things: + + a) Accompany the work with the complete corresponding + machine-readable source code for the Library including whatever + changes were used in the work (which must be distributed under + Sections 1 and 2 above); and, if the work is an executable linked + with the Library, with the complete machine-readable "work that + uses the Library", as object code and/or source code, so that the + user can modify the Library and then relink to produce a modified + executable containing the modified Library. (It is understood + that the user who changes the contents of definitions files in the + Library will not necessarily be able to recompile the application + to use the modified definitions.) + + b) Use a suitable shared library mechanism for linking with the + Library. A suitable mechanism is one that (1) uses at run time a + copy of the library already present on the user's computer system, + rather than copying library functions into the executable, and (2) + will operate properly with a modified version of the library, if + the user installs one, as long as the modified version is + interface-compatible with the version that the work was made with. + + c) Accompany the work with a written offer, valid for at + least three years, to give the same user the materials + specified in Subsection 6a, above, for a charge no more + than the cost of performing this distribution. + + d) If distribution of the work is made by offering access to copy + from a designated place, offer equivalent access to copy the above + specified materials from the same place. + + e) Verify that the user has already received a copy of these + materials or that you have already sent this user a copy. + + For an executable, the required form of the "work that uses the +Library" must include any data and utility programs needed for +reproducing the executable from it. However, as a special exception, +the materials to be 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. + + It may happen that this requirement contradicts the license +restrictions of other proprietary libraries that do not normally +accompany the operating system. Such a contradiction means you cannot +use both them and the Library together in an executable that you +distribute. + + 7. You may place library facilities that are a work based on the +Library side-by-side in a single library together with other library +facilities not covered by this License, and distribute such a combined +library, provided that the separate distribution of the work based on +the Library and of the other library facilities is otherwise +permitted, and provided that you do these two things: + + a) Accompany the combined library with a copy of the same work + based on the Library, uncombined with any other library + facilities. This must be distributed under the terms of the + Sections above. + + b) Give prominent notice with the combined library of the fact + that part of it is a work based on the Library, and explaining + where to find the accompanying uncombined form of the same work. + + 8. You may not copy, modify, sublicense, link with, or distribute +the Library except as expressly provided under this License. Any +attempt otherwise to copy, modify, sublicense, link with, or +distribute the Library 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. + + 9. 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 Library or its derivative works. These actions are +prohibited by law if you do not accept this License. Therefore, by +modifying or distributing the Library (or any work based on the +Library), you indicate your acceptance of this License to do so, and +all its terms and conditions for copying, distributing or modifying +the Library or works based on it. + + 10. Each time you redistribute the Library (or any work based on the +Library), the recipient automatically receives a license from the +original licensor to copy, distribute, link with or modify the Library +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 with +this License. + + 11. 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 Library at all. For example, if a patent +license would not permit royalty-free redistribution of the Library 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 Library. + +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. + + 12. If the distribution and/or use of the Library is restricted in +certain countries either by patents or by copyrighted interfaces, the +original copyright holder who places the Library 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. + + 13. The Free Software Foundation may publish revised and/or new +versions of the Lesser 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 Library +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 Library does not specify a +license version number, you may choose any version ever published by +the Free Software Foundation. + + 14. If you wish to incorporate parts of the Library into other free +programs whose distribution conditions are incompatible with these, +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 + + 15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO +WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW. +EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR +OTHER PARTIES PROVIDE THE LIBRARY "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 +LIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME +THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. + + 16. 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 LIBRARY 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 +LIBRARY (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 LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF +SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH +DAMAGES. + + END OF TERMS AND CONDITIONS + + How to Apply These Terms to Your New Libraries + + If you develop a new library, and you want it to be of the greatest +possible use to the public, we recommend making it free software that +everyone can redistribute and change. You can do so by permitting +redistribution under these terms (or, alternatively, under the terms of the +ordinary General Public License). + + To apply these terms, attach the following notices to the library. It is +safest to attach them to the start of each source file to most effectively +convey the exclusion of warranty; and each file should have at least the +"copyright" line and a pointer to where the full notice is found. + + + Copyright (C) + + 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. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, write to the Free Software + Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + +Also add information on how to contact you by electronic and paper mail. + +You should also get your employer (if you work as a programmer) or your +school, if any, to sign a "copyright disclaimer" for the library, if +necessary. Here is a sample; alter the names: + + Yoyodyne, Inc., hereby disclaims all copyright interest in the + library `Frob' (a library for tweaking knobs) written by James Random Hacker. + + , 1 April 1990 + Ty Coon, President of Vice + +That's all there is to it! + + diff --git a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/advhr/css/advhr.css b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/advhr/css/advhr.css old mode 100644 new mode 100755 index 0e22834985..3fe369cb0d --- a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/advhr/css/advhr.css +++ b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/advhr/css/advhr.css @@ -1,5 +1,5 @@ -input.radio {border:1px none #000; background:transparent; vertical-align:middle;} -.panel_wrapper div.current {height:80px;} -#width {width:50px; vertical-align:middle;} -#width2 {width:50px; vertical-align:middle;} -#size {width:100px;} +input.radio {border:1px none #000; background:transparent; vertical-align:middle;} +.panel_wrapper div.current {height:80px;} +#width {width:50px; vertical-align:middle;} +#width2 {width:50px; vertical-align:middle;} +#size {width:100px;} diff --git a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/advhr/js/rule.js b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/advhr/js/rule.js old mode 100644 new mode 100755 index b6cbd66c75..a60c35fc3c --- a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/advhr/js/rule.js +++ b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/advhr/js/rule.js @@ -1,43 +1,43 @@ -var AdvHRDialog = { - init : function(ed) { - var dom = ed.dom, f = document.forms[0], n = ed.selection.getNode(), w; - - w = dom.getAttrib(n, 'width'); - f.width.value = w ? parseInt(w) : (dom.getStyle('width') || ''); - f.size.value = dom.getAttrib(n, 'size') || parseInt(dom.getStyle('height')) || ''; - f.noshade.checked = !!dom.getAttrib(n, 'noshade') || !!dom.getStyle('border-width'); - selectByValue(f, 'width2', w.indexOf('%') != -1 ? '%' : 'px'); - }, - - update : function() { - var ed = tinyMCEPopup.editor, h, f = document.forms[0], st = ''; - - h = ' - - - {#advhr.advhr_desc} - - - - - - - -
    - - -
    -
    - - - - - - - - - - - - - -
    - - -
    -
    -
    - -
    - - -
    -
    - - + + + + {#advhr.advhr_desc} + + + + + + + +
    + + +
    +
    + + + + + + + + + + + + + +
    + + +
    +
    +
    + +
    + + +
    +
    + + diff --git a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/advimage/css/advimage.css b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/advimage/css/advimage.css old mode 100644 new mode 100755 index 0a6251a696..228530f9ee --- a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/advimage/css/advimage.css +++ b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/advimage/css/advimage.css @@ -1,13 +1,13 @@ -#src_list, #over_list, #out_list {width:280px;} -.mceActionPanel {margin-top:7px;} -.alignPreview {border:1px solid #000; width:140px; height:140px; overflow:hidden; padding:5px;} -.checkbox {border:0;} -.panel_wrapper div.current {height:305px;} -#prev {margin:0; border:1px solid #000; width:428px; height:150px; overflow:auto;} -#align, #classlist {width:150px;} -#width, #height {vertical-align:middle; width:50px; text-align:center;} -#vspace, #hspace, #border {vertical-align:middle; width:30px; text-align:center;} -#class_list {width:180px;} -input {width: 280px;} -#constrain, #onmousemovecheck {width:auto;} -#id, #dir, #lang, #usemap, #longdesc {width:200px;} +#src_list, #over_list, #out_list {width:280px;} +.mceActionPanel {margin-top:7px;} +.alignPreview {border:1px solid #000; width:140px; height:140px; overflow:hidden; padding:5px;} +.checkbox {border:0;} +.panel_wrapper div.current {height:305px;} +#prev {margin:0; border:1px solid #000; width:428px; height:150px; overflow:auto;} +#align, #classlist {width:150px;} +#width, #height {vertical-align:middle; width:50px; text-align:center;} +#vspace, #hspace, #border {vertical-align:middle; width:30px; text-align:center;} +#class_list {width:180px;} +input {width: 280px;} +#constrain, #onmousemovecheck {width:auto;} +#id, #dir, #lang, #usemap, #longdesc {width:200px;} diff --git a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/advimage/image.htm b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/advimage/image.htm old mode 100644 new mode 100755 index 79cff3f19f..7af5a003ac --- a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/advimage/image.htm +++ b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/advimage/image.htm @@ -1,232 +1,232 @@ - - - - {#advimage_dlg.dialog_title} - - - - - - - - - -
    - - -
    -
    -
    - {#advimage_dlg.general} - - - - - - - - - - - - - - - - - - -
    - - - - -
     
    -
    - -
    - {#advimage_dlg.preview} - -
    -
    - -
    -
    - {#advimage_dlg.tab_appearance} - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    - -
    - {#advimage_dlg.example_img} - Lorem ipsum, Dolor sit amet, consectetuer adipiscing loreum ipsum edipiscing elit, sed diam - nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat.Loreum ipsum - edipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam - erat volutpat. -
    -
    - x - px -
      - - - - -
    -
    -
    -
    - -
    -
    - {#advimage_dlg.swap_image} - - - - - - - - - - - - - - - - - - - - - -
    - - - - -
     
    - - - - -
     
    -
    - -
    - {#advimage_dlg.misc} - - - - - - - - - - - - - - - - - - - - - - - - - - -
    - -
    - -
    - -
    - - - - -
     
    -
    -
    -
    - -
    - - -
    -
    - - + + + + {#advimage_dlg.dialog_title} + + + + + + + + + +
    + + +
    +
    +
    + {#advimage_dlg.general} + + + + + + + + + + + + + + + + + + +
    + + + + +
     
    +
    + +
    + {#advimage_dlg.preview} + +
    +
    + +
    +
    + {#advimage_dlg.tab_appearance} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + +
    + {#advimage_dlg.example_img} + Lorem ipsum, Dolor sit amet, consectetuer adipiscing loreum ipsum edipiscing elit, sed diam + nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat.Loreum ipsum + edipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam + erat volutpat. +
    +
    + x + px +
      + + + + +
    +
    +
    +
    + +
    +
    + {#advimage_dlg.swap_image} + + + + + + + + + + + + + + + + + + + + + +
    + + + + +
     
    + + + + +
     
    +
    + +
    + {#advimage_dlg.misc} + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + +
    + +
    + +
    + + + + +
     
    +
    +
    +
    + +
    + + +
    +
    + + diff --git a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/advimage/js/image.js b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/advimage/js/image.js old mode 100644 new mode 100755 index 3bda86a2d3..d08e46945b --- a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/advimage/js/image.js +++ b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/advimage/js/image.js @@ -1,443 +1,443 @@ -var ImageDialog = { - preInit : function() { - var url; - - tinyMCEPopup.requireLangPack(); - - if (url = tinyMCEPopup.getParam("external_image_list_url")) - document.write(''); - }, - - init : function(ed) { - var f = document.forms[0], nl = f.elements, ed = tinyMCEPopup.editor, dom = ed.dom, n = ed.selection.getNode(); - - tinyMCEPopup.resizeToInnerSize(); - this.fillClassList('class_list'); - this.fillFileList('src_list', 'tinyMCEImageList'); - this.fillFileList('over_list', 'tinyMCEImageList'); - this.fillFileList('out_list', 'tinyMCEImageList'); - TinyMCE_EditableSelects.init(); - - if (n.nodeName == 'IMG') { - nl.src.value = dom.getAttrib(n, 'src'); - nl.width.value = dom.getAttrib(n, 'width'); - nl.height.value = dom.getAttrib(n, 'height'); - nl.alt.value = dom.getAttrib(n, 'alt'); - nl.title.value = dom.getAttrib(n, 'title'); - nl.vspace.value = this.getAttrib(n, 'vspace'); - nl.hspace.value = this.getAttrib(n, 'hspace'); - nl.border.value = this.getAttrib(n, 'border'); - selectByValue(f, 'align', this.getAttrib(n, 'align')); - selectByValue(f, 'class_list', dom.getAttrib(n, 'class'), true, true); - nl.style.value = dom.getAttrib(n, 'style'); - nl.id.value = dom.getAttrib(n, 'id'); - nl.dir.value = dom.getAttrib(n, 'dir'); - nl.lang.value = dom.getAttrib(n, 'lang'); - nl.usemap.value = dom.getAttrib(n, 'usemap'); - nl.longdesc.value = dom.getAttrib(n, 'longdesc'); - nl.insert.value = ed.getLang('update'); - - if (/^\s*this.src\s*=\s*\'([^\']+)\';?\s*$/.test(dom.getAttrib(n, 'onmouseover'))) - nl.onmouseoversrc.value = dom.getAttrib(n, 'onmouseover').replace(/^\s*this.src\s*=\s*\'([^\']+)\';?\s*$/, '$1'); - - if (/^\s*this.src\s*=\s*\'([^\']+)\';?\s*$/.test(dom.getAttrib(n, 'onmouseout'))) - nl.onmouseoutsrc.value = dom.getAttrib(n, 'onmouseout').replace(/^\s*this.src\s*=\s*\'([^\']+)\';?\s*$/, '$1'); - - if (ed.settings.inline_styles) { - // Move attribs to styles - if (dom.getAttrib(n, 'align')) - this.updateStyle('align'); - - if (dom.getAttrib(n, 'hspace')) - this.updateStyle('hspace'); - - if (dom.getAttrib(n, 'border')) - this.updateStyle('border'); - - if (dom.getAttrib(n, 'vspace')) - this.updateStyle('vspace'); - } - } - - // Setup browse button - document.getElementById('srcbrowsercontainer').innerHTML = getBrowserHTML('srcbrowser','src','image','theme_advanced_image'); - if (isVisible('srcbrowser')) - document.getElementById('src').style.width = '260px'; - - // Setup browse button - document.getElementById('onmouseoversrccontainer').innerHTML = getBrowserHTML('overbrowser','onmouseoversrc','image','theme_advanced_image'); - if (isVisible('overbrowser')) - document.getElementById('onmouseoversrc').style.width = '260px'; - - // Setup browse button - document.getElementById('onmouseoutsrccontainer').innerHTML = getBrowserHTML('outbrowser','onmouseoutsrc','image','theme_advanced_image'); - if (isVisible('outbrowser')) - document.getElementById('onmouseoutsrc').style.width = '260px'; - - // If option enabled default contrain proportions to checked - if (ed.getParam("advimage_constrain_proportions", true)) - f.constrain.checked = true; - - // Check swap image if valid data - if (nl.onmouseoversrc.value || nl.onmouseoutsrc.value) - this.setSwapImage(true); - else - this.setSwapImage(false); - - this.changeAppearance(); - this.showPreviewImage(nl.src.value, 1); - }, - - insert : function(file, title) { - var ed = tinyMCEPopup.editor, t = this, f = document.forms[0]; - - if (f.src.value === '') { - if (ed.selection.getNode().nodeName == 'IMG') { - ed.dom.remove(ed.selection.getNode()); - ed.execCommand('mceRepaint'); - } - - tinyMCEPopup.close(); - return; - } - - if (tinyMCEPopup.getParam("accessibility_warnings", 1)) { - if (!f.alt.value) { - tinyMCEPopup.confirm(tinyMCEPopup.getLang('advimage_dlg.missing_alt'), function(s) { - if (s) - t.insertAndClose(); - }); - - return; - } - } - - t.insertAndClose(); - }, - - insertAndClose : function() { - var ed = tinyMCEPopup.editor, f = document.forms[0], nl = f.elements, v, args = {}, el; - - tinyMCEPopup.restoreSelection(); - - // Fixes crash in Safari - if (tinymce.isWebKit) - ed.getWin().focus(); - - if (!ed.settings.inline_styles) { - args = { - vspace : nl.vspace.value, - hspace : nl.hspace.value, - border : nl.border.value, - align : getSelectValue(f, 'align') - }; - } else { - // Remove deprecated values - args = { - vspace : '', - hspace : '', - border : '', - align : '' - }; - } - - tinymce.extend(args, { - src : nl.src.value, - width : nl.width.value, - height : nl.height.value, - alt : nl.alt.value, - title : nl.title.value, - 'class' : getSelectValue(f, 'class_list'), - style : nl.style.value, - id : nl.id.value, - dir : nl.dir.value, - lang : nl.lang.value, - usemap : nl.usemap.value, - longdesc : nl.longdesc.value - }); - - args.onmouseover = args.onmouseout = ''; - - if (f.onmousemovecheck.checked) { - if (nl.onmouseoversrc.value) - args.onmouseover = "this.src='" + nl.onmouseoversrc.value + "';"; - - if (nl.onmouseoutsrc.value) - args.onmouseout = "this.src='" + nl.onmouseoutsrc.value + "';"; - } - - el = ed.selection.getNode(); - - if (el && el.nodeName == 'IMG') { - ed.dom.setAttribs(el, args); - } else { - ed.execCommand('mceInsertContent', false, '', {skip_undo : 1}); - ed.dom.setAttribs('__mce_tmp', args); - ed.dom.setAttrib('__mce_tmp', 'id', ''); - ed.undoManager.add(); - } - - tinyMCEPopup.close(); - }, - - getAttrib : function(e, at) { - var ed = tinyMCEPopup.editor, dom = ed.dom, v, v2; - - if (ed.settings.inline_styles) { - switch (at) { - case 'align': - if (v = dom.getStyle(e, 'float')) - return v; - - if (v = dom.getStyle(e, 'vertical-align')) - return v; - - break; - - case 'hspace': - v = dom.getStyle(e, 'margin-left') - v2 = dom.getStyle(e, 'margin-right'); - - if (v && v == v2) - return parseInt(v.replace(/[^0-9]/g, '')); - - break; - - case 'vspace': - v = dom.getStyle(e, 'margin-top') - v2 = dom.getStyle(e, 'margin-bottom'); - if (v && v == v2) - return parseInt(v.replace(/[^0-9]/g, '')); - - break; - - case 'border': - v = 0; - - tinymce.each(['top', 'right', 'bottom', 'left'], function(sv) { - sv = dom.getStyle(e, 'border-' + sv + '-width'); - - // False or not the same as prev - if (!sv || (sv != v && v !== 0)) { - v = 0; - return false; - } - - if (sv) - v = sv; - }); - - if (v) - return parseInt(v.replace(/[^0-9]/g, '')); - - break; - } - } - - if (v = dom.getAttrib(e, at)) - return v; - - return ''; - }, - - setSwapImage : function(st) { - var f = document.forms[0]; - - f.onmousemovecheck.checked = st; - setBrowserDisabled('overbrowser', !st); - setBrowserDisabled('outbrowser', !st); - - if (f.over_list) - f.over_list.disabled = !st; - - if (f.out_list) - f.out_list.disabled = !st; - - f.onmouseoversrc.disabled = !st; - f.onmouseoutsrc.disabled = !st; - }, - - fillClassList : function(id) { - var dom = tinyMCEPopup.dom, lst = dom.get(id), v, cl; - - if (v = tinyMCEPopup.getParam('theme_advanced_styles')) { - cl = []; - - tinymce.each(v.split(';'), function(v) { - var p = v.split('='); - - cl.push({'title' : p[0], 'class' : p[1]}); - }); - } else - cl = tinyMCEPopup.editor.dom.getClasses(); - - if (cl.length > 0) { - lst.options.length = 0; - lst.options[lst.options.length] = new Option(tinyMCEPopup.getLang('not_set'), ''); - - tinymce.each(cl, function(o) { - lst.options[lst.options.length] = new Option(o.title || o['class'], o['class']); - }); - } else - dom.remove(dom.getParent(id, 'tr')); - }, - - fillFileList : function(id, l) { - var dom = tinyMCEPopup.dom, lst = dom.get(id), v, cl; - - l = window[l]; - lst.options.length = 0; - - if (l && l.length > 0) { - lst.options[lst.options.length] = new Option('', ''); - - tinymce.each(l, function(o) { - lst.options[lst.options.length] = new Option(o[0], o[1]); - }); - } else - dom.remove(dom.getParent(id, 'tr')); - }, - - resetImageData : function() { - var f = document.forms[0]; - - f.elements.width.value = f.elements.height.value = ''; - }, - - updateImageData : function(img, st) { - var f = document.forms[0]; - - if (!st) { - f.elements.width.value = img.width; - f.elements.height.value = img.height; - } - - this.preloadImg = img; - }, - - changeAppearance : function() { - var ed = tinyMCEPopup.editor, f = document.forms[0], img = document.getElementById('alignSampleImg'); - - if (img) { - if (ed.getParam('inline_styles')) { - ed.dom.setAttrib(img, 'style', f.style.value); - } else { - img.align = f.align.value; - img.border = f.border.value; - img.hspace = f.hspace.value; - img.vspace = f.vspace.value; - } - } - }, - - changeHeight : function() { - var f = document.forms[0], tp, t = this; - - if (!f.constrain.checked || !t.preloadImg) { - return; - } - - if (f.width.value == "" || f.height.value == "") - return; - - tp = (parseInt(f.width.value) / parseInt(t.preloadImg.width)) * t.preloadImg.height; - f.height.value = tp.toFixed(0); - }, - - changeWidth : function() { - var f = document.forms[0], tp, t = this; - - if (!f.constrain.checked || !t.preloadImg) { - return; - } - - if (f.width.value == "" || f.height.value == "") - return; - - tp = (parseInt(f.height.value) / parseInt(t.preloadImg.height)) * t.preloadImg.width; - f.width.value = tp.toFixed(0); - }, - - updateStyle : function(ty) { - var dom = tinyMCEPopup.dom, st, v, f = document.forms[0], img = dom.create('img', {style : dom.get('style').value}); - - if (tinyMCEPopup.editor.settings.inline_styles) { - // Handle align - if (ty == 'align') { - dom.setStyle(img, 'float', ''); - dom.setStyle(img, 'vertical-align', ''); - - v = getSelectValue(f, 'align'); - if (v) { - if (v == 'left' || v == 'right') - dom.setStyle(img, 'float', v); - else - img.style.verticalAlign = v; - } - } - - // Handle border - if (ty == 'border') { - dom.setStyle(img, 'border', ''); - - v = f.border.value; - if (v || v == '0') { - if (v == '0') - img.style.border = '0'; - else - img.style.border = v + 'px solid black'; - } - } - - // Handle hspace - if (ty == 'hspace') { - dom.setStyle(img, 'marginLeft', ''); - dom.setStyle(img, 'marginRight', ''); - - v = f.hspace.value; - if (v) { - img.style.marginLeft = v + 'px'; - img.style.marginRight = v + 'px'; - } - } - - // Handle vspace - if (ty == 'vspace') { - dom.setStyle(img, 'marginTop', ''); - dom.setStyle(img, 'marginBottom', ''); - - v = f.vspace.value; - if (v) { - img.style.marginTop = v + 'px'; - img.style.marginBottom = v + 'px'; - } - } - - // Merge - dom.get('style').value = dom.serializeStyle(dom.parseStyle(img.style.cssText), 'img'); - } - }, - - changeMouseMove : function() { - }, - - showPreviewImage : function(u, st) { - if (!u) { - tinyMCEPopup.dom.setHTML('prev', ''); - return; - } - - if (!st && tinyMCEPopup.getParam("advimage_update_dimensions_onchange", true)) - this.resetImageData(); - - u = tinyMCEPopup.editor.documentBaseURI.toAbsolute(u); - - if (!st) - tinyMCEPopup.dom.setHTML('prev', ''); - else - tinyMCEPopup.dom.setHTML('prev', ''); - } -}; - -ImageDialog.preInit(); -tinyMCEPopup.onInit.add(ImageDialog.init, ImageDialog); +var ImageDialog = { + preInit : function() { + var url; + + tinyMCEPopup.requireLangPack(); + + if (url = tinyMCEPopup.getParam("external_image_list_url")) + document.write(''); + }, + + init : function(ed) { + var f = document.forms[0], nl = f.elements, ed = tinyMCEPopup.editor, dom = ed.dom, n = ed.selection.getNode(); + + tinyMCEPopup.resizeToInnerSize(); + this.fillClassList('class_list'); + this.fillFileList('src_list', 'tinyMCEImageList'); + this.fillFileList('over_list', 'tinyMCEImageList'); + this.fillFileList('out_list', 'tinyMCEImageList'); + TinyMCE_EditableSelects.init(); + + if (n.nodeName == 'IMG') { + nl.src.value = dom.getAttrib(n, 'src'); + nl.width.value = dom.getAttrib(n, 'width'); + nl.height.value = dom.getAttrib(n, 'height'); + nl.alt.value = dom.getAttrib(n, 'alt'); + nl.title.value = dom.getAttrib(n, 'title'); + nl.vspace.value = this.getAttrib(n, 'vspace'); + nl.hspace.value = this.getAttrib(n, 'hspace'); + nl.border.value = this.getAttrib(n, 'border'); + selectByValue(f, 'align', this.getAttrib(n, 'align')); + selectByValue(f, 'class_list', dom.getAttrib(n, 'class'), true, true); + nl.style.value = dom.getAttrib(n, 'style'); + nl.id.value = dom.getAttrib(n, 'id'); + nl.dir.value = dom.getAttrib(n, 'dir'); + nl.lang.value = dom.getAttrib(n, 'lang'); + nl.usemap.value = dom.getAttrib(n, 'usemap'); + nl.longdesc.value = dom.getAttrib(n, 'longdesc'); + nl.insert.value = ed.getLang('update'); + + if (/^\s*this.src\s*=\s*\'([^\']+)\';?\s*$/.test(dom.getAttrib(n, 'onmouseover'))) + nl.onmouseoversrc.value = dom.getAttrib(n, 'onmouseover').replace(/^\s*this.src\s*=\s*\'([^\']+)\';?\s*$/, '$1'); + + if (/^\s*this.src\s*=\s*\'([^\']+)\';?\s*$/.test(dom.getAttrib(n, 'onmouseout'))) + nl.onmouseoutsrc.value = dom.getAttrib(n, 'onmouseout').replace(/^\s*this.src\s*=\s*\'([^\']+)\';?\s*$/, '$1'); + + if (ed.settings.inline_styles) { + // Move attribs to styles + if (dom.getAttrib(n, 'align')) + this.updateStyle('align'); + + if (dom.getAttrib(n, 'hspace')) + this.updateStyle('hspace'); + + if (dom.getAttrib(n, 'border')) + this.updateStyle('border'); + + if (dom.getAttrib(n, 'vspace')) + this.updateStyle('vspace'); + } + } + + // Setup browse button + document.getElementById('srcbrowsercontainer').innerHTML = getBrowserHTML('srcbrowser','src','image','theme_advanced_image'); + if (isVisible('srcbrowser')) + document.getElementById('src').style.width = '260px'; + + // Setup browse button + document.getElementById('onmouseoversrccontainer').innerHTML = getBrowserHTML('overbrowser','onmouseoversrc','image','theme_advanced_image'); + if (isVisible('overbrowser')) + document.getElementById('onmouseoversrc').style.width = '260px'; + + // Setup browse button + document.getElementById('onmouseoutsrccontainer').innerHTML = getBrowserHTML('outbrowser','onmouseoutsrc','image','theme_advanced_image'); + if (isVisible('outbrowser')) + document.getElementById('onmouseoutsrc').style.width = '260px'; + + // If option enabled default contrain proportions to checked + if (ed.getParam("advimage_constrain_proportions", true)) + f.constrain.checked = true; + + // Check swap image if valid data + if (nl.onmouseoversrc.value || nl.onmouseoutsrc.value) + this.setSwapImage(true); + else + this.setSwapImage(false); + + this.changeAppearance(); + this.showPreviewImage(nl.src.value, 1); + }, + + insert : function(file, title) { + var ed = tinyMCEPopup.editor, t = this, f = document.forms[0]; + + if (f.src.value === '') { + if (ed.selection.getNode().nodeName == 'IMG') { + ed.dom.remove(ed.selection.getNode()); + ed.execCommand('mceRepaint'); + } + + tinyMCEPopup.close(); + return; + } + + if (tinyMCEPopup.getParam("accessibility_warnings", 1)) { + if (!f.alt.value) { + tinyMCEPopup.confirm(tinyMCEPopup.getLang('advimage_dlg.missing_alt'), function(s) { + if (s) + t.insertAndClose(); + }); + + return; + } + } + + t.insertAndClose(); + }, + + insertAndClose : function() { + var ed = tinyMCEPopup.editor, f = document.forms[0], nl = f.elements, v, args = {}, el; + + tinyMCEPopup.restoreSelection(); + + // Fixes crash in Safari + if (tinymce.isWebKit) + ed.getWin().focus(); + + if (!ed.settings.inline_styles) { + args = { + vspace : nl.vspace.value, + hspace : nl.hspace.value, + border : nl.border.value, + align : getSelectValue(f, 'align') + }; + } else { + // Remove deprecated values + args = { + vspace : '', + hspace : '', + border : '', + align : '' + }; + } + + tinymce.extend(args, { + src : nl.src.value, + width : nl.width.value, + height : nl.height.value, + alt : nl.alt.value, + title : nl.title.value, + 'class' : getSelectValue(f, 'class_list'), + style : nl.style.value, + id : nl.id.value, + dir : nl.dir.value, + lang : nl.lang.value, + usemap : nl.usemap.value, + longdesc : nl.longdesc.value + }); + + args.onmouseover = args.onmouseout = ''; + + if (f.onmousemovecheck.checked) { + if (nl.onmouseoversrc.value) + args.onmouseover = "this.src='" + nl.onmouseoversrc.value + "';"; + + if (nl.onmouseoutsrc.value) + args.onmouseout = "this.src='" + nl.onmouseoutsrc.value + "';"; + } + + el = ed.selection.getNode(); + + if (el && el.nodeName == 'IMG') { + ed.dom.setAttribs(el, args); + } else { + ed.execCommand('mceInsertContent', false, '', {skip_undo : 1}); + ed.dom.setAttribs('__mce_tmp', args); + ed.dom.setAttrib('__mce_tmp', 'id', ''); + ed.undoManager.add(); + } + + tinyMCEPopup.close(); + }, + + getAttrib : function(e, at) { + var ed = tinyMCEPopup.editor, dom = ed.dom, v, v2; + + if (ed.settings.inline_styles) { + switch (at) { + case 'align': + if (v = dom.getStyle(e, 'float')) + return v; + + if (v = dom.getStyle(e, 'vertical-align')) + return v; + + break; + + case 'hspace': + v = dom.getStyle(e, 'margin-left') + v2 = dom.getStyle(e, 'margin-right'); + + if (v && v == v2) + return parseInt(v.replace(/[^0-9]/g, '')); + + break; + + case 'vspace': + v = dom.getStyle(e, 'margin-top') + v2 = dom.getStyle(e, 'margin-bottom'); + if (v && v == v2) + return parseInt(v.replace(/[^0-9]/g, '')); + + break; + + case 'border': + v = 0; + + tinymce.each(['top', 'right', 'bottom', 'left'], function(sv) { + sv = dom.getStyle(e, 'border-' + sv + '-width'); + + // False or not the same as prev + if (!sv || (sv != v && v !== 0)) { + v = 0; + return false; + } + + if (sv) + v = sv; + }); + + if (v) + return parseInt(v.replace(/[^0-9]/g, '')); + + break; + } + } + + if (v = dom.getAttrib(e, at)) + return v; + + return ''; + }, + + setSwapImage : function(st) { + var f = document.forms[0]; + + f.onmousemovecheck.checked = st; + setBrowserDisabled('overbrowser', !st); + setBrowserDisabled('outbrowser', !st); + + if (f.over_list) + f.over_list.disabled = !st; + + if (f.out_list) + f.out_list.disabled = !st; + + f.onmouseoversrc.disabled = !st; + f.onmouseoutsrc.disabled = !st; + }, + + fillClassList : function(id) { + var dom = tinyMCEPopup.dom, lst = dom.get(id), v, cl; + + if (v = tinyMCEPopup.getParam('theme_advanced_styles')) { + cl = []; + + tinymce.each(v.split(';'), function(v) { + var p = v.split('='); + + cl.push({'title' : p[0], 'class' : p[1]}); + }); + } else + cl = tinyMCEPopup.editor.dom.getClasses(); + + if (cl.length > 0) { + lst.options.length = 0; + lst.options[lst.options.length] = new Option(tinyMCEPopup.getLang('not_set'), ''); + + tinymce.each(cl, function(o) { + lst.options[lst.options.length] = new Option(o.title || o['class'], o['class']); + }); + } else + dom.remove(dom.getParent(id, 'tr')); + }, + + fillFileList : function(id, l) { + var dom = tinyMCEPopup.dom, lst = dom.get(id), v, cl; + + l = window[l]; + lst.options.length = 0; + + if (l && l.length > 0) { + lst.options[lst.options.length] = new Option('', ''); + + tinymce.each(l, function(o) { + lst.options[lst.options.length] = new Option(o[0], o[1]); + }); + } else + dom.remove(dom.getParent(id, 'tr')); + }, + + resetImageData : function() { + var f = document.forms[0]; + + f.elements.width.value = f.elements.height.value = ''; + }, + + updateImageData : function(img, st) { + var f = document.forms[0]; + + if (!st) { + f.elements.width.value = img.width; + f.elements.height.value = img.height; + } + + this.preloadImg = img; + }, + + changeAppearance : function() { + var ed = tinyMCEPopup.editor, f = document.forms[0], img = document.getElementById('alignSampleImg'); + + if (img) { + if (ed.getParam('inline_styles')) { + ed.dom.setAttrib(img, 'style', f.style.value); + } else { + img.align = f.align.value; + img.border = f.border.value; + img.hspace = f.hspace.value; + img.vspace = f.vspace.value; + } + } + }, + + changeHeight : function() { + var f = document.forms[0], tp, t = this; + + if (!f.constrain.checked || !t.preloadImg) { + return; + } + + if (f.width.value == "" || f.height.value == "") + return; + + tp = (parseInt(f.width.value) / parseInt(t.preloadImg.width)) * t.preloadImg.height; + f.height.value = tp.toFixed(0); + }, + + changeWidth : function() { + var f = document.forms[0], tp, t = this; + + if (!f.constrain.checked || !t.preloadImg) { + return; + } + + if (f.width.value == "" || f.height.value == "") + return; + + tp = (parseInt(f.height.value) / parseInt(t.preloadImg.height)) * t.preloadImg.width; + f.width.value = tp.toFixed(0); + }, + + updateStyle : function(ty) { + var dom = tinyMCEPopup.dom, st, v, f = document.forms[0], img = dom.create('img', {style : dom.get('style').value}); + + if (tinyMCEPopup.editor.settings.inline_styles) { + // Handle align + if (ty == 'align') { + dom.setStyle(img, 'float', ''); + dom.setStyle(img, 'vertical-align', ''); + + v = getSelectValue(f, 'align'); + if (v) { + if (v == 'left' || v == 'right') + dom.setStyle(img, 'float', v); + else + img.style.verticalAlign = v; + } + } + + // Handle border + if (ty == 'border') { + dom.setStyle(img, 'border', ''); + + v = f.border.value; + if (v || v == '0') { + if (v == '0') + img.style.border = '0'; + else + img.style.border = v + 'px solid black'; + } + } + + // Handle hspace + if (ty == 'hspace') { + dom.setStyle(img, 'marginLeft', ''); + dom.setStyle(img, 'marginRight', ''); + + v = f.hspace.value; + if (v) { + img.style.marginLeft = v + 'px'; + img.style.marginRight = v + 'px'; + } + } + + // Handle vspace + if (ty == 'vspace') { + dom.setStyle(img, 'marginTop', ''); + dom.setStyle(img, 'marginBottom', ''); + + v = f.vspace.value; + if (v) { + img.style.marginTop = v + 'px'; + img.style.marginBottom = v + 'px'; + } + } + + // Merge + dom.get('style').value = dom.serializeStyle(dom.parseStyle(img.style.cssText), 'img'); + } + }, + + changeMouseMove : function() { + }, + + showPreviewImage : function(u, st) { + if (!u) { + tinyMCEPopup.dom.setHTML('prev', ''); + return; + } + + if (!st && tinyMCEPopup.getParam("advimage_update_dimensions_onchange", true)) + this.resetImageData(); + + u = tinyMCEPopup.editor.documentBaseURI.toAbsolute(u); + + if (!st) + tinyMCEPopup.dom.setHTML('prev', ''); + else + tinyMCEPopup.dom.setHTML('prev', ''); + } +}; + +ImageDialog.preInit(); +tinyMCEPopup.onInit.add(ImageDialog.init, ImageDialog); diff --git a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/advimage/langs/bg_dlg.js b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/advimage/langs/bg_dlg.js old mode 100644 new mode 100755 index e6e8f18012..d56c884c78 --- a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/advimage/langs/bg_dlg.js +++ b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/advimage/langs/bg_dlg.js @@ -1,43 +1,43 @@ -tinyMCE.addI18n('bg.advimage_dlg',{ -tab_general:"\u041E\u0431\u0449\u0438", -tab_appearance:"\u0412\u044A\u043D\u0448\u0435\u043D \u0432\u0438\u0434", -tab_advanced:"\u0417\u0430 \u043D\u0430\u043F\u0440\u0435\u0434\u043D\u0430\u043B\u0438", -general:"\u041E\u0431\u0449\u0438", -title:"\u0417\u0430\u0433\u043B\u0430\u0432\u0438\u0435", -preview:"\u041F\u0440\u0435\u0433\u043B\u0435\u0434", -constrain_proportions:"\u041E\u0433\u0440\u0430\u043D\u0438\u0447\u0438 \u043F\u0440\u043E\u043F\u043E\u0440\u0446\u0438\u0438\u0442\u0435", -langdir:"\u041F\u043E\u0441\u043E\u043A\u0430 \u043D\u0430 \u0435\u0437\u0438\u043A\u0430", -langcode:"\u041A\u043E\u0434 \u043D\u0430 \u0435\u0437\u0438\u043A\u0430", -long_desc:"\u0425\u0438\u043F\u0435\u0440\u0432\u0440\u044A\u0437\u043A\u0430 \u043A\u044A\u043C \u0434\u044A\u043B\u0433\u043E \u043E\u043F\u0438\u0441\u0430\u043D\u0438\u0435", -style:"\u0421\u0442\u0438\u043B", -classes:"\u041A\u043B\u0430\u0441\u043E\u0432\u0435", -ltr:"\u041E\u0442\u043B\u044F\u0432\u043E \u043D\u0430 \u0434\u044F\u0441\u043D\u043E", -rtl:"\u041E\u0442\u0434\u044F\u0441\u043D\u043E \u043D\u0430 \u043B\u044F\u0432\u043E", -id:"Id", -map:"\u041A\u0430\u0440\u0442\u0438\u043D\u0430 \u043A\u0430\u0440\u0442\u0430", -swap_image:"\u0421\u043C\u0435\u043D\u0438 \u043A\u0430\u0440\u0442\u0438\u043D\u043A\u0430", -alt_image:"\u0420\u0435\u0437\u0435\u0440\u0432\u043D\u0430 \u043A\u0430\u0440\u0442\u0438\u043D\u043A\u0430", -mouseover:"\u0437\u0430 mouse over", -mouseout:"\u0437\u0430 mouse out", -misc:"\u0420\u0430\u0437\u043D\u0438", -example_img:"\u041F\u0440\u0435\u0433\u043B\u0435\u0434 \u043D\u0430 \u043A\u0430\u0440\u0442\u0438\u043D\u043A\u0430\u0442\u0430", -missing_alt:"\u0421\u0438\u0433\u0443\u0440\u0435\u043D \u043B\u0438 \u0441\u0442\u0435 \u0447\u0435 \u0436\u0435\u043B\u0430\u0435\u0442\u0435 \u0434\u0430 \u043F\u0440\u043E\u0434\u044A\u043B\u0436\u0438\u0442\u0435 \u0431\u0435\u0437 \u043E\u043F\u0438\u0441\u0430\u043D\u0438\u0435 \u043D\u0430 \u043A\u0430\u0440\u0442\u0438\u043D\u043A\u0430\u0442\u0430? \u0411\u0435\u0437 \u043D\u0435\u0433\u043E \u043A\u0430\u0440\u0442\u0438\u043D\u043A\u0430\u0442\u0430 \u043C\u043E\u0436\u0435 \u0434\u0430 \u0435 \u043D\u0435\u0434\u043E\u0441\u0442\u044A\u043F\u043D\u0430 \u0437\u0430 \u043D\u044F\u043A\u043E\u0438 \u043F\u043E\u0442\u0440\u0435\u0431\u0438\u0442\u0435\u043B\u0438 \u0441 \u043D\u0435\u0434\u044A\u0437\u0438, \u0438\u043B\u0438 \u0437\u0430 \u0442\u0435\u0437\u0438 \u0438\u0437\u043F\u043E\u043B\u0437\u0432\u0430\u0449\u0438 \u0442\u0435\u043A\u0441\u0442\u043E\u0432 \u0431\u0440\u0430\u0443\u0437\u044A\u0440, \u0438\u043B\u0438 \u0438\u0437\u043F\u043E\u043B\u0437\u0432\u0430\u0449\u0438 \u0418\u043D\u0442\u0435\u0440\u043D\u0435\u0442 \u0441 \u0438\u0437\u043A\u043B\u044E\u0447\u0435\u043D\u0438 \u043A\u0430\u0440\u0442\u0438\u043D\u043A\u0438.", -dialog_title:"\u0412\u043C\u044A\u043A\u043D\u0438/\u0420\u0435\u0434\u0430\u043A\u0442\u0438\u0440\u0430\u0439 \u043A\u0430\u0440\u0442\u0438\u043D\u043A\u0430", -src:"URL \u043D\u0430 \u043A\u0430\u0440\u0442\u0438\u043D\u043A\u0430", -alt:"\u041E\u043F\u0438\u0441\u0430\u043D\u0438\u0435 \u043D\u0430 \u043A\u0430\u0440\u0442\u0438\u043D\u043A\u0430", -list:"\u0421\u043F\u0438\u0441\u044A\u043A \u0441 \u043A\u0430\u0440\u0442\u0438\u043D\u043A\u0438", -border:"\u0420\u0430\u043C\u043A\u0430", -dimensions:"\u0420\u0430\u0437\u043C\u0435\u0440\u0438", -vspace:"\u0412\u0435\u0440\u0442\u0438\u043A\u0430\u043B\u043D\u043E \u0440\u0430\u0437\u0441\u0442\u043E\u044F\u043D\u0438\u0435", -hspace:"\u0425\u043E\u0440\u0438\u0437\u043E\u043D\u0442\u0430\u043B\u043D\u043E \u0440\u0430\u0437\u0441\u0442\u043E\u044F\u043D\u0438\u0435", -align:"\u041F\u043E\u0434\u0440\u0430\u0432\u043D\u044F\u0432\u0430\u043D\u0435", -align_baseline:"\u0411\u0430\u0437\u043E\u0432\u0430 \u043B\u0438\u043D\u0438\u044F", -align_top:"\u0413\u043E\u0440\u0435", -align_middle:"\u0426\u0435\u043D\u0442\u044A\u0440", -align_bottom:"\u0414\u043E\u043B\u0443", -align_texttop:"\u0422\u0435\u043A\u0441\u0442 \u0433\u043E\u0440\u0435", -align_textbottom:"\u0422\u0435\u043A\u0441\u0442 \u0434\u043E\u043B\u0443", -align_left:"\u041B\u044F\u0432\u043E", -align_right:"\u0414\u044F\u0441\u043D\u043E", -image_list:"\u0421\u043F\u0438\u0441\u044A\u043A \u0441 \u043A\u0430\u0440\u0442\u0438\u043D\u043A\u0438" +tinyMCE.addI18n('bg.advimage_dlg',{ +tab_general:"\u041E\u0431\u0449\u0438", +tab_appearance:"\u0412\u044A\u043D\u0448\u0435\u043D \u0432\u0438\u0434", +tab_advanced:"\u0417\u0430 \u043D\u0430\u043F\u0440\u0435\u0434\u043D\u0430\u043B\u0438", +general:"\u041E\u0431\u0449\u0438", +title:"\u0417\u0430\u0433\u043B\u0430\u0432\u0438\u0435", +preview:"\u041F\u0440\u0435\u0433\u043B\u0435\u0434", +constrain_proportions:"\u041E\u0433\u0440\u0430\u043D\u0438\u0447\u0438 \u043F\u0440\u043E\u043F\u043E\u0440\u0446\u0438\u0438\u0442\u0435", +langdir:"\u041F\u043E\u0441\u043E\u043A\u0430 \u043D\u0430 \u0435\u0437\u0438\u043A\u0430", +langcode:"\u041A\u043E\u0434 \u043D\u0430 \u0435\u0437\u0438\u043A\u0430", +long_desc:"\u0425\u0438\u043F\u0435\u0440\u0432\u0440\u044A\u0437\u043A\u0430 \u043A\u044A\u043C \u0434\u044A\u043B\u0433\u043E \u043E\u043F\u0438\u0441\u0430\u043D\u0438\u0435", +style:"\u0421\u0442\u0438\u043B", +classes:"\u041A\u043B\u0430\u0441\u043E\u0432\u0435", +ltr:"\u041E\u0442\u043B\u044F\u0432\u043E \u043D\u0430 \u0434\u044F\u0441\u043D\u043E", +rtl:"\u041E\u0442\u0434\u044F\u0441\u043D\u043E \u043D\u0430 \u043B\u044F\u0432\u043E", +id:"Id", +map:"\u041A\u0430\u0440\u0442\u0438\u043D\u0430 \u043A\u0430\u0440\u0442\u0430", +swap_image:"\u0421\u043C\u0435\u043D\u0438 \u043A\u0430\u0440\u0442\u0438\u043D\u043A\u0430", +alt_image:"\u0420\u0435\u0437\u0435\u0440\u0432\u043D\u0430 \u043A\u0430\u0440\u0442\u0438\u043D\u043A\u0430", +mouseover:"\u0437\u0430 mouse over", +mouseout:"\u0437\u0430 mouse out", +misc:"\u0420\u0430\u0437\u043D\u0438", +example_img:"\u041F\u0440\u0435\u0433\u043B\u0435\u0434 \u043D\u0430 \u043A\u0430\u0440\u0442\u0438\u043D\u043A\u0430\u0442\u0430", +missing_alt:"\u0421\u0438\u0433\u0443\u0440\u0435\u043D \u043B\u0438 \u0441\u0442\u0435 \u0447\u0435 \u0436\u0435\u043B\u0430\u0435\u0442\u0435 \u0434\u0430 \u043F\u0440\u043E\u0434\u044A\u043B\u0436\u0438\u0442\u0435 \u0431\u0435\u0437 \u043E\u043F\u0438\u0441\u0430\u043D\u0438\u0435 \u043D\u0430 \u043A\u0430\u0440\u0442\u0438\u043D\u043A\u0430\u0442\u0430? \u0411\u0435\u0437 \u043D\u0435\u0433\u043E \u043A\u0430\u0440\u0442\u0438\u043D\u043A\u0430\u0442\u0430 \u043C\u043E\u0436\u0435 \u0434\u0430 \u0435 \u043D\u0435\u0434\u043E\u0441\u0442\u044A\u043F\u043D\u0430 \u0437\u0430 \u043D\u044F\u043A\u043E\u0438 \u043F\u043E\u0442\u0440\u0435\u0431\u0438\u0442\u0435\u043B\u0438 \u0441 \u043D\u0435\u0434\u044A\u0437\u0438, \u0438\u043B\u0438 \u0437\u0430 \u0442\u0435\u0437\u0438 \u0438\u0437\u043F\u043E\u043B\u0437\u0432\u0430\u0449\u0438 \u0442\u0435\u043A\u0441\u0442\u043E\u0432 \u0431\u0440\u0430\u0443\u0437\u044A\u0440, \u0438\u043B\u0438 \u0438\u0437\u043F\u043E\u043B\u0437\u0432\u0430\u0449\u0438 \u0418\u043D\u0442\u0435\u0440\u043D\u0435\u0442 \u0441 \u0438\u0437\u043A\u043B\u044E\u0447\u0435\u043D\u0438 \u043A\u0430\u0440\u0442\u0438\u043D\u043A\u0438.", +dialog_title:"\u0412\u043C\u044A\u043A\u043D\u0438/\u0420\u0435\u0434\u0430\u043A\u0442\u0438\u0440\u0430\u0439 \u043A\u0430\u0440\u0442\u0438\u043D\u043A\u0430", +src:"URL \u043D\u0430 \u043A\u0430\u0440\u0442\u0438\u043D\u043A\u0430", +alt:"\u041E\u043F\u0438\u0441\u0430\u043D\u0438\u0435 \u043D\u0430 \u043A\u0430\u0440\u0442\u0438\u043D\u043A\u0430", +list:"\u0421\u043F\u0438\u0441\u044A\u043A \u0441 \u043A\u0430\u0440\u0442\u0438\u043D\u043A\u0438", +border:"\u0420\u0430\u043C\u043A\u0430", +dimensions:"\u0420\u0430\u0437\u043C\u0435\u0440\u0438", +vspace:"\u0412\u0435\u0440\u0442\u0438\u043A\u0430\u043B\u043D\u043E \u0440\u0430\u0437\u0441\u0442\u043E\u044F\u043D\u0438\u0435", +hspace:"\u0425\u043E\u0440\u0438\u0437\u043E\u043D\u0442\u0430\u043B\u043D\u043E \u0440\u0430\u0437\u0441\u0442\u043E\u044F\u043D\u0438\u0435", +align:"\u041F\u043E\u0434\u0440\u0430\u0432\u043D\u044F\u0432\u0430\u043D\u0435", +align_baseline:"\u0411\u0430\u0437\u043E\u0432\u0430 \u043B\u0438\u043D\u0438\u044F", +align_top:"\u0413\u043E\u0440\u0435", +align_middle:"\u0426\u0435\u043D\u0442\u044A\u0440", +align_bottom:"\u0414\u043E\u043B\u0443", +align_texttop:"\u0422\u0435\u043A\u0441\u0442 \u0433\u043E\u0440\u0435", +align_textbottom:"\u0422\u0435\u043A\u0441\u0442 \u0434\u043E\u043B\u0443", +align_left:"\u041B\u044F\u0432\u043E", +align_right:"\u0414\u044F\u0441\u043D\u043E", +image_list:"\u0421\u043F\u0438\u0441\u044A\u043A \u0441 \u043A\u0430\u0440\u0442\u0438\u043D\u043A\u0438" }); \ No newline at end of file diff --git a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/advimage/langs/cs_dlg.js b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/advimage/langs/cs_dlg.js old mode 100644 new mode 100755 index 737efed457..c9cf9a5539 --- a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/advimage/langs/cs_dlg.js +++ b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/advimage/langs/cs_dlg.js @@ -1,43 +1,43 @@ -tinyMCE.addI18n('cs.advimage_dlg',{ -tab_general:"Obecn\u00E9", -tab_appearance:"Vzhled", -tab_advanced:"Roz\u0161\u00ED\u0159en\u00E9", -general:"Obecn\u00E9 parametry", -title:"Titulek", -preview:"N\u00E1hled", -constrain_proportions:"Zachovat proporce", -langdir:"Sm\u011Br textu", -langcode:"K\u00F3d jazyka", -long_desc:"Dlouh\u00FD popis", -style:"Styl", -classes:"T\u0159\u00EDdy", -ltr:"Zleva doprava", -rtl:"Zprava doleva", -id:"ID", -map:"Obr\u00E1zkov\u00E1 mapa", -swap_image:"P\u0159epnout obr\u00E1zek", -alt_image:"Alternativn\u00ED obr\u00E1zek", -mouseover:"P\u0159i najet\u00ED my\u0161i...", -mouseout:"Po odjet\u00ED my\u0161i...", -misc:"R\u016Fzn\u00E9", -example_img:"P\u0159\u00EDklad obr\u00E1zku", -missing_alt:"Skute\u010Dn\u011B chcete pokra\u010Dovat bez vlo\u017Een\u00E9ho popisu obr\u00E1zku? Bez popisu m\u016F\u017Ee b\u00FDt obr\u00E1zek nep\u0159\u00EDstupn\u00FD u\u017Eivatel\u016Fm se zrakov\u00FDm posti\u017Een\u00EDm, u\u017Eivatel\u016Fm textov\u00FDch prohl\u00ED\u017Ee\u010D\u016F nebo u\u017Eivatel\u016Fm, kte\u0159\u00ED maj\u00ED vypnuto zobrazov\u00E1n\u00ED obr\u00E1zk\u016F.", -dialog_title:"Vlo\u017Eit/upravit obr\u00E1zek", -src:"URL obr\u00E1zku", -alt:"Popis obr\u00E1zku", -list:"Seznam obr\u00E1zk\u016F", -border:"R\u00E1me\u010Dek", -dimensions:"Rozm\u011Bry", -vspace:"Vertik\u00E1ln\u00ED odsazen\u00ED", -hspace:"Horizont\u00E1ln\u00ED odsazen\u00ED", -align:"Zarovn\u00E1n\u00ED", -align_baseline:"Na z\u00E1kladnu", -align_top:"Nahoru", -align_middle:"Na st\u0159ed \u0159\u00E1dku", -align_bottom:"Dol\u016F", -align_texttop:"S vrchem \u0159\u00E1dku", -align_textbottom:"Se spodkem \u0159\u00E1dku", -align_left:"Vlevo", -align_right:"Vpravo", -image_list:"Seznam obr\u00E1zk\u016F" +tinyMCE.addI18n('cs.advimage_dlg',{ +tab_general:"Obecn\u00E9", +tab_appearance:"Vzhled", +tab_advanced:"Roz\u0161\u00ED\u0159en\u00E9", +general:"Obecn\u00E9 parametry", +title:"Titulek", +preview:"N\u00E1hled", +constrain_proportions:"Zachovat proporce", +langdir:"Sm\u011Br textu", +langcode:"K\u00F3d jazyka", +long_desc:"Dlouh\u00FD popis", +style:"Styl", +classes:"T\u0159\u00EDdy", +ltr:"Zleva doprava", +rtl:"Zprava doleva", +id:"ID", +map:"Obr\u00E1zkov\u00E1 mapa", +swap_image:"P\u0159epnout obr\u00E1zek", +alt_image:"Alternativn\u00ED obr\u00E1zek", +mouseover:"P\u0159i najet\u00ED my\u0161i...", +mouseout:"Po odjet\u00ED my\u0161i...", +misc:"R\u016Fzn\u00E9", +example_img:"P\u0159\u00EDklad obr\u00E1zku", +missing_alt:"Skute\u010Dn\u011B chcete pokra\u010Dovat bez vlo\u017Een\u00E9ho popisu obr\u00E1zku? Bez popisu m\u016F\u017Ee b\u00FDt obr\u00E1zek nep\u0159\u00EDstupn\u00FD u\u017Eivatel\u016Fm se zrakov\u00FDm posti\u017Een\u00EDm, u\u017Eivatel\u016Fm textov\u00FDch prohl\u00ED\u017Ee\u010D\u016F nebo u\u017Eivatel\u016Fm, kte\u0159\u00ED maj\u00ED vypnuto zobrazov\u00E1n\u00ED obr\u00E1zk\u016F.", +dialog_title:"Vlo\u017Eit/upravit obr\u00E1zek", +src:"URL obr\u00E1zku", +alt:"Popis obr\u00E1zku", +list:"Seznam obr\u00E1zk\u016F", +border:"R\u00E1me\u010Dek", +dimensions:"Rozm\u011Bry", +vspace:"Vertik\u00E1ln\u00ED odsazen\u00ED", +hspace:"Horizont\u00E1ln\u00ED odsazen\u00ED", +align:"Zarovn\u00E1n\u00ED", +align_baseline:"Na z\u00E1kladnu", +align_top:"Nahoru", +align_middle:"Na st\u0159ed \u0159\u00E1dku", +align_bottom:"Dol\u016F", +align_texttop:"S vrchem \u0159\u00E1dku", +align_textbottom:"Se spodkem \u0159\u00E1dku", +align_left:"Vlevo", +align_right:"Vpravo", +image_list:"Seznam obr\u00E1zk\u016F" }); \ No newline at end of file diff --git a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/advimage/langs/da_dlg.js b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/advimage/langs/da_dlg.js old mode 100644 new mode 100755 index 6786ab1a5c..3c72cee38c --- a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/advimage/langs/da_dlg.js +++ b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/advimage/langs/da_dlg.js @@ -1,43 +1,43 @@ -tinyMCE.addI18n('da.advimage_dlg',{ -tab_general:"Generelt", -tab_appearance:"Udseende", -tab_advanced:"Avanceret", -general:"Generelt", -title:"Titel", -preview:"Vis", -constrain_proportions:"Bibehold proportioner", -langdir:"Sprogretning", -langcode:"Sprogkode", -long_desc:"Lang beskrivelseslink", -style:"Stil", -classes:"Klasser", -ltr:"Venstre til h\u00F8jre", -rtl:"H\u00F8jre til venstre", -id:"Id", -map:"Billede map", -swap_image:"Byt billede", -alt_image:"Alternativt billede", -mouseover:"for mus-over", -mouseout:"for mus-ud", -misc:"Diverse", -example_img:"Forh\u00E5ndsvisning af billede", -missing_alt:"Er du sikker p\u00E5, at du vil forts\u00E6tte uden at inkludere en billedebeskrivelse? Uden denne er billedet m\u00E5ske ikke tilg\u00E6ngeligt for nogle brugere med handicaps, eller for dem der bruger en tekstbrowser, eller som browser internettet med billeder sl\u00E5et fra.", -dialog_title:"Inds\u00E6t/rediger billede", -src:"Billed-URL", -alt:"Billedbeskrivelse", -list:"Billedliste", -border:"Kant", -dimensions:"Dimentioner", -vspace:"Vertikal afstand", -hspace:"Horisontal afstand", -align:"Justering", -align_baseline:"Grundlinje", -align_top:"Top", -align_middle:"Midte", -align_bottom:"Bund", -align_texttop:"Teksttop", -align_textbottom:"Tekstbund", -align_left:"Venstre", -align_right:"H\u00F8jre", -image_list:"Billedliste" +tinyMCE.addI18n('da.advimage_dlg',{ +tab_general:"Generelt", +tab_appearance:"Udseende", +tab_advanced:"Avanceret", +general:"Generelt", +title:"Titel", +preview:"Vis", +constrain_proportions:"Bibehold proportioner", +langdir:"Sprogretning", +langcode:"Sprogkode", +long_desc:"Lang beskrivelseslink", +style:"Stil", +classes:"Klasser", +ltr:"Venstre til h\u00F8jre", +rtl:"H\u00F8jre til venstre", +id:"Id", +map:"Billede map", +swap_image:"Byt billede", +alt_image:"Alternativt billede", +mouseover:"for mus-over", +mouseout:"for mus-ud", +misc:"Diverse", +example_img:"Forh\u00E5ndsvisning af billede", +missing_alt:"Er du sikker p\u00E5, at du vil forts\u00E6tte uden at inkludere en billedebeskrivelse? Uden denne er billedet m\u00E5ske ikke tilg\u00E6ngeligt for nogle brugere med handicaps, eller for dem der bruger en tekstbrowser, eller som browser internettet med billeder sl\u00E5et fra.", +dialog_title:"Inds\u00E6t/rediger billede", +src:"Billed-URL", +alt:"Billedbeskrivelse", +list:"Billedliste", +border:"Kant", +dimensions:"Dimentioner", +vspace:"Vertikal afstand", +hspace:"Horisontal afstand", +align:"Justering", +align_baseline:"Grundlinje", +align_top:"Top", +align_middle:"Midte", +align_bottom:"Bund", +align_texttop:"Teksttop", +align_textbottom:"Tekstbund", +align_left:"Venstre", +align_right:"H\u00F8jre", +image_list:"Billedliste" }); \ No newline at end of file diff --git a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/advimage/langs/de_dlg.js b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/advimage/langs/de_dlg.js old mode 100644 new mode 100755 index e704596798..76764c0a64 --- a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/advimage/langs/de_dlg.js +++ b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/advimage/langs/de_dlg.js @@ -1,43 +1,43 @@ -tinyMCE.addI18n('de.advimage_dlg',{ -tab_general:"Allgemein", -tab_appearance:"Aussehen", -tab_advanced:"Erweitert", -general:"Allgemein", -title:"Titel", -preview:"Vorschau", -constrain_proportions:"Seitenverh\u00E4ltnis beibehalten", -langdir:"Schriftrichtung", -langcode:"Sprachcode", -long_desc:"Ausf\u00FChrliche Beschreibung", -style:"Format", -classes:"Klassen", -ltr:"Links nach rechts", -rtl:"Rechts nach links", -id:"ID", -map:"Image-Map", -swap_image:"Bild austauschen", -alt_image:"Alternatives Bild", -mouseover:"bei Mauskontakt", -mouseout:"bei keinem Mauskontakt", -misc:"Verschiedenes", -example_img:"Aussehen der Vorschau", -missing_alt:"Wollen Sie wirklich keine Beschreibung eingeben? Bestimmte Benutzer mit k\u00F6rperlichen Einschr\u00E4nkungen k\u00F6nnen so nicht darauf zugreifen, ebenso solche, die einen Textbrowser benutzen oder die Anzeige von Bildern deaktiviert haben.", -dialog_title:"Bild einf\u00FCgen/bearbeiten", -src:"Adresse", -alt:"Beschreibung", -list:"Bilderliste", -border:"Rahmen", -dimensions:"Ausma\u00DFe", -vspace:"Vertikaler Abstand", -hspace:"Horizontaler Abstand", -align:"Ausrichtung", -align_baseline:"Zeile", -align_top:"Oben", -align_middle:"Mittig", -align_bottom:"Unten", -align_texttop:"Oben im Text", -align_textbottom:"Unten im Text", -align_left:"Links", -align_right:"Rechts", -image_list:"Bilderliste" +tinyMCE.addI18n('de.advimage_dlg',{ +tab_general:"Allgemein", +tab_appearance:"Aussehen", +tab_advanced:"Erweitert", +general:"Allgemein", +title:"Titel", +preview:"Vorschau", +constrain_proportions:"Seitenverh\u00E4ltnis beibehalten", +langdir:"Schriftrichtung", +langcode:"Sprachcode", +long_desc:"Ausf\u00FChrliche Beschreibung", +style:"Format", +classes:"Klassen", +ltr:"Links nach rechts", +rtl:"Rechts nach links", +id:"ID", +map:"Image-Map", +swap_image:"Bild austauschen", +alt_image:"Alternatives Bild", +mouseover:"bei Mauskontakt", +mouseout:"bei keinem Mauskontakt", +misc:"Verschiedenes", +example_img:"Aussehen der Vorschau", +missing_alt:"Wollen Sie wirklich keine Beschreibung eingeben? Bestimmte Benutzer mit k\u00F6rperlichen Einschr\u00E4nkungen k\u00F6nnen so nicht darauf zugreifen, ebenso solche, die einen Textbrowser benutzen oder die Anzeige von Bildern deaktiviert haben.", +dialog_title:"Bild einf\u00FCgen/bearbeiten", +src:"Adresse", +alt:"Beschreibung", +list:"Bilderliste", +border:"Rahmen", +dimensions:"Ausma\u00DFe", +vspace:"Vertikaler Abstand", +hspace:"Horizontaler Abstand", +align:"Ausrichtung", +align_baseline:"Zeile", +align_top:"Oben", +align_middle:"Mittig", +align_bottom:"Unten", +align_texttop:"Oben im Text", +align_textbottom:"Unten im Text", +align_left:"Links", +align_right:"Rechts", +image_list:"Bilderliste" }); \ No newline at end of file diff --git a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/advimage/langs/en_dlg.js b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/advimage/langs/en_dlg.js old mode 100644 new mode 100755 index f493d196fa..ef81f78b4b --- a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/advimage/langs/en_dlg.js +++ b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/advimage/langs/en_dlg.js @@ -1,43 +1,43 @@ -tinyMCE.addI18n('en.advimage_dlg',{ -tab_general:"General", -tab_appearance:"Appearance", -tab_advanced:"Advanced", -general:"General", -title:"Title", -preview:"Preview", -constrain_proportions:"Constrain proportions", -langdir:"Language direction", -langcode:"Language code", -long_desc:"Long description link", -style:"Style", -classes:"Classes", -ltr:"Left to right", -rtl:"Right to left", -id:"Id", -map:"Image map", -swap_image:"Swap image", -alt_image:"Alternative image", -mouseover:"for mouse over", -mouseout:"for mouse out", -misc:"Miscellaneous", -example_img:"Appearance preview image", -missing_alt:"Are you sure you want to continue without including an Image Description? Without it the image may not be accessible to some users with disabilities, or to those using a text browser, or browsing the Web with images turned off.", -dialog_title:"Insert/edit image", -src:"Image URL", -alt:"Image description", -list:"Image list", -border:"Border", -dimensions:"Dimensions", -vspace:"Vertical space", -hspace:"Horizontal space", -align:"Alignment", -align_baseline:"Baseline", -align_top:"Top", -align_middle:"Middle", -align_bottom:"Bottom", -align_texttop:"Text top", -align_textbottom:"Text bottom", -align_left:"Left", -align_right:"Right", -image_list:"Image list" +tinyMCE.addI18n('en.advimage_dlg',{ +tab_general:"General", +tab_appearance:"Appearance", +tab_advanced:"Advanced", +general:"General", +title:"Title", +preview:"Preview", +constrain_proportions:"Constrain proportions", +langdir:"Language direction", +langcode:"Language code", +long_desc:"Long description link", +style:"Style", +classes:"Classes", +ltr:"Left to right", +rtl:"Right to left", +id:"Id", +map:"Image map", +swap_image:"Swap image", +alt_image:"Alternative image", +mouseover:"for mouse over", +mouseout:"for mouse out", +misc:"Miscellaneous", +example_img:"Appearance preview image", +missing_alt:"Are you sure you want to continue without including an Image Description? Without it the image may not be accessible to some users with disabilities, or to those using a text browser, or browsing the Web with images turned off.", +dialog_title:"Insert/edit image", +src:"Image URL", +alt:"Image description", +list:"Image list", +border:"Border", +dimensions:"Dimensions", +vspace:"Vertical space", +hspace:"Horizontal space", +align:"Alignment", +align_baseline:"Baseline", +align_top:"Top", +align_middle:"Middle", +align_bottom:"Bottom", +align_texttop:"Text top", +align_textbottom:"Text bottom", +align_left:"Left", +align_right:"Right", +image_list:"Image list" }); \ No newline at end of file diff --git a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/advimage/langs/es_dlg.js b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/advimage/langs/es_dlg.js old mode 100644 new mode 100755 index 0930e30584..80fd777be4 --- a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/advimage/langs/es_dlg.js +++ b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/advimage/langs/es_dlg.js @@ -1,43 +1,43 @@ -tinyMCE.addI18n('es.advimage_dlg',{ -tab_general:"General", -tab_appearance:"Apariencia", -tab_advanced:"Avanzado", -general:"General", -title:"T\u00EDtulo", -preview:"Vista previa", -constrain_proportions:"Bloquear relaci\u00F3n de aspecto", -langdir:"Direcci\u00F3n del lenguaje", -langcode:"C\u00F3digo del lenguaje", -long_desc:"V\u00EDnculo para descripci\u00F3n larga", -style:"Estilos", -classes:"Clases", -ltr:"Izquierda a derecha", -rtl:"Derecha a izquierda", -id:"Id", -map:"Mapa de imagen", -swap_image:"Intercambiar imagen", -alt_image:"Imagen alternativa", -mouseover:"para mouseover", -mouseout:"para mouseout", -misc:"Miscel\u00E1neo", -example_img:"Vista previa de la imagen", -missing_alt:" \u00BFEsta seguro de continuar sin introducir una descripci\u00F3n a la imagen? Sin ella puede no ser accesible para usuarios con discapacidades, o para aquellos que usen navegadores de modo texto, o tengan deshabilitadas las im\u00E1genes de la p\u00E1gina.", -dialog_title:"Insertar/editar imagen", -src:"URL de la imagen", -alt:"Descripci\u00F3n de la imagen", -list:"Lista de imagen", -border:"Bordes", -dimensions:"Dimensiones", -vspace:"Espacio vertical", -hspace:"Espacio horizontal", -align:"Alineaci\u00F3n", -align_baseline:"L\u00EDnea base", -align_top:"Arriba", -align_middle:"Medio", -align_bottom:"Debajo", -align_texttop:"Texto arriba", -align_textbottom:"Texto abajo", -align_left:"Izquierda", -align_right:"Derecha", -image_list:"Lista de imagen" +tinyMCE.addI18n('es.advimage_dlg',{ +tab_general:"General", +tab_appearance:"Apariencia", +tab_advanced:"Avanzado", +general:"General", +title:"T\u00EDtulo", +preview:"Vista previa", +constrain_proportions:"Bloquear relaci\u00F3n de aspecto", +langdir:"Direcci\u00F3n del lenguaje", +langcode:"C\u00F3digo del lenguaje", +long_desc:"V\u00EDnculo para descripci\u00F3n larga", +style:"Estilos", +classes:"Clases", +ltr:"Izquierda a derecha", +rtl:"Derecha a izquierda", +id:"Id", +map:"Mapa de imagen", +swap_image:"Intercambiar imagen", +alt_image:"Imagen alternativa", +mouseover:"para mouseover", +mouseout:"para mouseout", +misc:"Miscel\u00E1neo", +example_img:"Vista previa de la imagen", +missing_alt:" \u00BFEsta seguro de continuar sin introducir una descripci\u00F3n a la imagen? Sin ella puede no ser accesible para usuarios con discapacidades, o para aquellos que usen navegadores de modo texto, o tengan deshabilitadas las im\u00E1genes de la p\u00E1gina.", +dialog_title:"Insertar/editar imagen", +src:"URL de la imagen", +alt:"Descripci\u00F3n de la imagen", +list:"Lista de imagen", +border:"Bordes", +dimensions:"Dimensiones", +vspace:"Espacio vertical", +hspace:"Espacio horizontal", +align:"Alineaci\u00F3n", +align_baseline:"L\u00EDnea base", +align_top:"Arriba", +align_middle:"Medio", +align_bottom:"Debajo", +align_texttop:"Texto arriba", +align_textbottom:"Texto abajo", +align_left:"Izquierda", +align_right:"Derecha", +image_list:"Lista de imagen" }); \ No newline at end of file diff --git a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/advimage/langs/fa_dlg.js b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/advimage/langs/fa_dlg.js old mode 100644 new mode 100755 index d7f9b201de..fd48077f37 --- a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/advimage/langs/fa_dlg.js +++ b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/advimage/langs/fa_dlg.js @@ -1,43 +1,43 @@ -tinyMCE.addI18n('fa.advimage_dlg',{ -tab_general:"\u0639\u0645\u0648\u0645\u06CC", -tab_appearance:"\u0638\u0627\u0647\u0631", -tab_advanced:"\u067E\u06CC\u0634\u0631\u0641\u062A\u0647", -general:"\u0639\u0645\u0648\u0645\u06CC", -title:"\u0639\u0646\u0648\u0627\u0646", -preview:"\u067E\u06CC\u0634 \u0646\u0645\u0627\u06CC\u0634", -constrain_proportions:"\u062D\u0641\u0638 \u062A\u0646\u0627\u0633\u0628", -langdir:"\u062C\u0647\u062A \u0632\u0628\u0627\u0646", -langcode:"\u06A9\u062F \u0632\u0628\u0627\u0646", -long_desc:"\u0644\u06CC\u0646\u06A9 \u062A\u0648\u0636\u06CC\u062D \u0637\u0648\u0644\u0627\u0646\u06CC", -style:"\u0627\u0633\u062A\u06CC\u0644", -classes:"\u06A9\u0644\u0627\u0633 \u0647\u0627", -ltr:"\u0686\u067E \u0628\u0647 \u0631\u0627\u0633\u062A", -rtl:"\u0631\u0627\u0633\u062A \u0628\u0647 \u0686\u067E", -id:"\u0634\u0646\u0627\u0633\u0647", -map:"\u0646\u0642\u0634\u0647 \u062A\u0635\u0648\u06CC\u0631", -swap_image:"\u062A\u0639\u0648\u06CC\u0636 \u062A\u0635\u0648\u06CC\u0631", -alt_image:"\u062A\u0635\u0648\u06CC\u0631 \u062C\u0627\u06CC\u06AF\u0632\u06CC\u0646", -mouseover:"\u0628\u0631\u0627\u06CC \u0622\u0645\u062F\u0646 \u0645\u0648\u0633", -mouseout:"\u0628\u0631\u0627\u06CC \u0631\u0641\u062A\u0646 \u0645\u0648\u0633", -misc:"\u0645\u062A\u0641\u0631\u0642\u0647", -example_img:"\u062A\u0635\u0648\u06CC\u0631 \u067E\u06CC\u0634 \u0646\u0645\u0627\u06CC\u0634 \u0638\u0627\u0647\u0631", -missing_alt:"\u0622\u06CC\u0627 \u0634\u0645\u0627 \u0627\u0632 \u0627\u062F\u0627\u0645\u0647 \u0628\u062F\u0648\u0646 \u0634\u0627\u0645\u0644 \u06A9\u0631\u062F\u0646 \u06CC\u06A9 \u062A\u0648\u0636\u06CC\u062D \u0628\u0631\u0627\u06CC \u062A\u0635\u0648\u06CC\u0631 \u0627\u0637\u0645\u06CC\u0646\u0627\u0646 \u062F\u0627\u0631\u06CC\u062F\u061F \u0628\u062F\u0648\u0646 \u0622\u0646 \u0645\u0645\u06A9\u0646 \u0646\u06CC\u0633\u062A \u062A\u0635\u0627\u0648\u06CC\u0631 \u0628\u0631\u0627\u06CC \u0628\u0631\u062E\u06CC \u06A9\u0627\u0631\u0628\u0631\u0627\u0646\u06CC \u06A9\u0647 \u0642\u0627\u0628\u0644\u06CC\u062A \u062F\u06CC\u062F\u0646 \u062A\u0635\u0627\u0648\u06CC\u0631 \u0631\u0627 \u0646\u062F\u0627\u0631\u0646\u062F \u060C \u06CC\u0627 \u0622\u0646\u0647\u0627\u06CC\u06CC \u06A9\u0647 \u0627\u0632 \u06CC\u06A9 \u0645\u0631\u0648\u0631\u06AF\u0631 \u0645\u062A\u0646\u06CC \u0627\u0633\u062A\u0641\u0627\u062F\u0647 \u0645\u06CC \u06A9\u0646\u0646\u062F \u060C \u06CC\u0627 \u062F\u0631 \u062D\u0627\u0644 \u062F\u06CC\u062F\u0646 \u0648\u0628 \u0628\u062F\u0648\u0646 \u062A\u0635\u0648\u06CC\u0631 \u0645\u06CC \u0628\u0627\u0634\u0646\u062F \u060C \u0642\u0627\u0628\u0644 \u062F\u0633\u062A\u06CC\u0627\u0628\u06CC \u0628\u0627\u0634\u062F.", -dialog_title:"\u062F\u0631\u062C/\u0648\u06CC\u0631\u0627\u06CC\u0634 \u062A\u0635\u0648\u06CC\u0631", -src:"\u0622\u062F\u0631\u0633 \u062A\u0635\u0648\u06CC\u0631 (URL)", -alt:"\u062A\u0648\u0636\u06CC\u062D \u062A\u0635\u0648\u06CC\u0631", -list:"\u0644\u06CC\u0633\u062A \u062A\u0635\u0648\u06CC\u0631", -border:"\u062D\u0627\u0634\u06CC\u0647", -dimensions:"\u0627\u0628\u0639\u0627\u062F", -vspace:"\u0641\u0627\u0635\u0644\u0647 \u0639\u0645\u0648\u062F\u06CC", -hspace:"\u0641\u0627\u0635\u0644\u0647 \u0627\u0641\u0642\u06CC", -align:"\u062A\u0631\u0627\u0632", -align_baseline:"\u062E\u0637 \u067E\u0627\u06CC\u0647", -align_top:"\u0628\u0627\u0644\u0627", -align_middle:"\u0648\u0633\u0637", -align_bottom:"\u067E\u0627\u06CC\u06CC\u0646", -align_texttop:"\u0645\u062A\u0646 \u0628\u0627\u0644\u0627", -align_textbottom:"\u0645\u062A\u0646 \u067E\u0627\u06CC\u06CC\u0646", -align_left:"\u0686\u067E", -align_right:"\u0631\u0627\u0633\u062A", -image_list:"\u0644\u06CC\u0633\u062A \u062A\u0635\u0648\u06CC\u0631" +tinyMCE.addI18n('fa.advimage_dlg',{ +tab_general:"\u0639\u0645\u0648\u0645\u06CC", +tab_appearance:"\u0638\u0627\u0647\u0631", +tab_advanced:"\u067E\u06CC\u0634\u0631\u0641\u062A\u0647", +general:"\u0639\u0645\u0648\u0645\u06CC", +title:"\u0639\u0646\u0648\u0627\u0646", +preview:"\u067E\u06CC\u0634 \u0646\u0645\u0627\u06CC\u0634", +constrain_proportions:"\u062D\u0641\u0638 \u062A\u0646\u0627\u0633\u0628", +langdir:"\u062C\u0647\u062A \u0632\u0628\u0627\u0646", +langcode:"\u06A9\u062F \u0632\u0628\u0627\u0646", +long_desc:"\u0644\u06CC\u0646\u06A9 \u062A\u0648\u0636\u06CC\u062D \u0637\u0648\u0644\u0627\u0646\u06CC", +style:"\u0627\u0633\u062A\u06CC\u0644", +classes:"\u06A9\u0644\u0627\u0633 \u0647\u0627", +ltr:"\u0686\u067E \u0628\u0647 \u0631\u0627\u0633\u062A", +rtl:"\u0631\u0627\u0633\u062A \u0628\u0647 \u0686\u067E", +id:"\u0634\u0646\u0627\u0633\u0647", +map:"\u0646\u0642\u0634\u0647 \u062A\u0635\u0648\u06CC\u0631", +swap_image:"\u062A\u0639\u0648\u06CC\u0636 \u062A\u0635\u0648\u06CC\u0631", +alt_image:"\u062A\u0635\u0648\u06CC\u0631 \u062C\u0627\u06CC\u06AF\u0632\u06CC\u0646", +mouseover:"\u0628\u0631\u0627\u06CC \u0622\u0645\u062F\u0646 \u0645\u0648\u0633", +mouseout:"\u0628\u0631\u0627\u06CC \u0631\u0641\u062A\u0646 \u0645\u0648\u0633", +misc:"\u0645\u062A\u0641\u0631\u0642\u0647", +example_img:"\u062A\u0635\u0648\u06CC\u0631 \u067E\u06CC\u0634 \u0646\u0645\u0627\u06CC\u0634 \u0638\u0627\u0647\u0631", +missing_alt:"\u0622\u06CC\u0627 \u0634\u0645\u0627 \u0627\u0632 \u0627\u062F\u0627\u0645\u0647 \u0628\u062F\u0648\u0646 \u0634\u0627\u0645\u0644 \u06A9\u0631\u062F\u0646 \u06CC\u06A9 \u062A\u0648\u0636\u06CC\u062D \u0628\u0631\u0627\u06CC \u062A\u0635\u0648\u06CC\u0631 \u0627\u0637\u0645\u06CC\u0646\u0627\u0646 \u062F\u0627\u0631\u06CC\u062F\u061F \u0628\u062F\u0648\u0646 \u0622\u0646 \u0645\u0645\u06A9\u0646 \u0646\u06CC\u0633\u062A \u062A\u0635\u0627\u0648\u06CC\u0631 \u0628\u0631\u0627\u06CC \u0628\u0631\u062E\u06CC \u06A9\u0627\u0631\u0628\u0631\u0627\u0646\u06CC \u06A9\u0647 \u0642\u0627\u0628\u0644\u06CC\u062A \u062F\u06CC\u062F\u0646 \u062A\u0635\u0627\u0648\u06CC\u0631 \u0631\u0627 \u0646\u062F\u0627\u0631\u0646\u062F \u060C \u06CC\u0627 \u0622\u0646\u0647\u0627\u06CC\u06CC \u06A9\u0647 \u0627\u0632 \u06CC\u06A9 \u0645\u0631\u0648\u0631\u06AF\u0631 \u0645\u062A\u0646\u06CC \u0627\u0633\u062A\u0641\u0627\u062F\u0647 \u0645\u06CC \u06A9\u0646\u0646\u062F \u060C \u06CC\u0627 \u062F\u0631 \u062D\u0627\u0644 \u062F\u06CC\u062F\u0646 \u0648\u0628 \u0628\u062F\u0648\u0646 \u062A\u0635\u0648\u06CC\u0631 \u0645\u06CC \u0628\u0627\u0634\u0646\u062F \u060C \u0642\u0627\u0628\u0644 \u062F\u0633\u062A\u06CC\u0627\u0628\u06CC \u0628\u0627\u0634\u062F.", +dialog_title:"\u062F\u0631\u062C/\u0648\u06CC\u0631\u0627\u06CC\u0634 \u062A\u0635\u0648\u06CC\u0631", +src:"\u0622\u062F\u0631\u0633 \u062A\u0635\u0648\u06CC\u0631 (URL)", +alt:"\u062A\u0648\u0636\u06CC\u062D \u062A\u0635\u0648\u06CC\u0631", +list:"\u0644\u06CC\u0633\u062A \u062A\u0635\u0648\u06CC\u0631", +border:"\u062D\u0627\u0634\u06CC\u0647", +dimensions:"\u0627\u0628\u0639\u0627\u062F", +vspace:"\u0641\u0627\u0635\u0644\u0647 \u0639\u0645\u0648\u062F\u06CC", +hspace:"\u0641\u0627\u0635\u0644\u0647 \u0627\u0641\u0642\u06CC", +align:"\u062A\u0631\u0627\u0632", +align_baseline:"\u062E\u0637 \u067E\u0627\u06CC\u0647", +align_top:"\u0628\u0627\u0644\u0627", +align_middle:"\u0648\u0633\u0637", +align_bottom:"\u067E\u0627\u06CC\u06CC\u0646", +align_texttop:"\u0645\u062A\u0646 \u0628\u0627\u0644\u0627", +align_textbottom:"\u0645\u062A\u0646 \u067E\u0627\u06CC\u06CC\u0646", +align_left:"\u0686\u067E", +align_right:"\u0631\u0627\u0633\u062A", +image_list:"\u0644\u06CC\u0633\u062A \u062A\u0635\u0648\u06CC\u0631" }); \ No newline at end of file diff --git a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/advimage/langs/fi_dlg.js b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/advimage/langs/fi_dlg.js old mode 100644 new mode 100755 index 1429139db9..e33d0970ef --- a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/advimage/langs/fi_dlg.js +++ b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/advimage/langs/fi_dlg.js @@ -1,43 +1,43 @@ -tinyMCE.addI18n('fi.advimage_dlg',{ -tab_general:"Yleiset", -tab_appearance:"N\u00E4kyminen", -tab_advanced:"Edistynyt", -general:"Yleiset", -title:"Otsikko", -preview:"Esikatselu", -constrain_proportions:"S\u00E4ilyt\u00E4 mittasuhteet", -langdir:"Kielen suunta", -langcode:"Kielen koodi", -long_desc:"Pitk\u00E4n kuvauksen linkki", -style:"Tyyli", -classes:"Luokat", -ltr:"Vasemmalta oikealle", -rtl:"Oikealta vasemmalle", -id:"Id", -map:"Kuvakartta", -swap_image:"Vaihda kuva", -alt_image:"Vaihtoehtoinen kuva", -mouseover:"mouseoverille", -mouseout:"mouseoutille", -misc:"Sekalaiset", -example_img:"Ulkoasun esikatselukuva", -missing_alt:"Haluatko varmasti jatkaa lis\u00E4\u00E4m\u00E4tt\u00E4 kuvausta? Kuvauksen puuttuminen saattaa h\u00E4irit\u00E4 sellaisia, jotka k\u00E4ytt\u00E4v\u00E4t tekstipohjaista selainta tai ovat kytkeneet kuvien n\u00E4kymisen pois p\u00E4\u00E4lt\u00E4.", -dialog_title:"Lis\u00E4\u00E4/muokkaa kuvaa", -src:"Kuvan URL", -alt:"Kuvan kuvaus", -list:"Kuvalista", -border:"Kehys", -dimensions:"Mitat", -vspace:"pystysuora tila", -hspace:"vaakasuora tila", -align:"Tasaus", -align_baseline:"Rivill\u00E4", -align_top:"Ylh\u00E4\u00E4ll\u00E4", -align_middle:"Keskell\u00E4", -align_bottom:"Alhaalla", -align_texttop:"Teksti ylh\u00E4\u00E4ll\u00E4", -align_textbottom:"Teksti alhaalla", -align_left:"Vasemmalla", -align_right:"Oikealla", -image_list:"Kuvalista" +tinyMCE.addI18n('fi.advimage_dlg',{ +tab_general:"Yleiset", +tab_appearance:"N\u00E4kyminen", +tab_advanced:"Edistynyt", +general:"Yleiset", +title:"Otsikko", +preview:"Esikatselu", +constrain_proportions:"S\u00E4ilyt\u00E4 mittasuhteet", +langdir:"Kielen suunta", +langcode:"Kielen koodi", +long_desc:"Pitk\u00E4n kuvauksen linkki", +style:"Tyyli", +classes:"Luokat", +ltr:"Vasemmalta oikealle", +rtl:"Oikealta vasemmalle", +id:"Id", +map:"Kuvakartta", +swap_image:"Vaihda kuva", +alt_image:"Vaihtoehtoinen kuva", +mouseover:"mouseoverille", +mouseout:"mouseoutille", +misc:"Sekalaiset", +example_img:"Ulkoasun esikatselukuva", +missing_alt:"Haluatko varmasti jatkaa lis\u00E4\u00E4m\u00E4tt\u00E4 kuvausta? Kuvauksen puuttuminen saattaa h\u00E4irit\u00E4 sellaisia, jotka k\u00E4ytt\u00E4v\u00E4t tekstipohjaista selainta tai ovat kytkeneet kuvien n\u00E4kymisen pois p\u00E4\u00E4lt\u00E4.", +dialog_title:"Lis\u00E4\u00E4/muokkaa kuvaa", +src:"Kuvan URL", +alt:"Kuvan kuvaus", +list:"Kuvalista", +border:"Kehys", +dimensions:"Mitat", +vspace:"pystysuora tila", +hspace:"vaakasuora tila", +align:"Tasaus", +align_baseline:"Rivill\u00E4", +align_top:"Ylh\u00E4\u00E4ll\u00E4", +align_middle:"Keskell\u00E4", +align_bottom:"Alhaalla", +align_texttop:"Teksti ylh\u00E4\u00E4ll\u00E4", +align_textbottom:"Teksti alhaalla", +align_left:"Vasemmalla", +align_right:"Oikealla", +image_list:"Kuvalista" }); \ No newline at end of file diff --git a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/advimage/langs/fr_dlg.js b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/advimage/langs/fr_dlg.js old mode 100644 new mode 100755 index 92b6916391..577f7f4597 --- a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/advimage/langs/fr_dlg.js +++ b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/advimage/langs/fr_dlg.js @@ -1,43 +1,43 @@ -tinyMCE.addI18n('fr.advimage_dlg',{ -tab_general:"G\u00E9n\u00E9ral", -tab_appearance:"Apparence", -tab_advanced:"Avanc\u00E9", -general:"G\u00E9n\u00E9ral", -title:"Titre", -preview:"Pr\u00E9visualisation", -constrain_proportions:"Conserver les proportions", -langdir:"Sens de lecture", -langcode:"Code de la langue", -long_desc:"Description longue du lien", -style:"Style", -classes:"Classes", -ltr:"De gauche \u00E0 droite", -rtl:"De droite \u00E0 gauche", -id:"Id", -map:"Image cliquable", -swap_image:"Image de remplacement", -alt_image:"Image alternative", -mouseover:"au survol de la souris", -mouseout:"\u00E0 la sortie de la souris", -misc:"Divers", -example_img:"Apparence de l'image", -missing_alt:"\u00CAtes-vous s\u00FBr de vouloir continuer sans d\u00E9finir de description pour l'image ? Sans elle, l'image peut ne pas \u00EAtre accessible \u00E0 certains utilisateurs handicap\u00E9s, ceux utilisant un navigateur texte ou ceux qui naviguent sans affichage des images.", -dialog_title:"Ins\u00E9rer / \u00E9diter une image", -src:"URL de l'image", -alt:"Description de l'image", -list:"Liste d'images", -border:"Bordure", -dimensions:"Dimensions", -vspace:"Espacement vertical", -hspace:"Espacement horizontal", -align:"Alignement", -align_baseline:"Normal", -align_top:"En haut", -align_middle:"Au milieu", -align_bottom:"En bas", -align_texttop:"Texte en haut", -align_textbottom:"Texte en bas", -align_left:"Gauche (flottant)", -align_right:"Droite (flottant)", -image_list:"Liste d'images" +tinyMCE.addI18n('fr.advimage_dlg',{ +tab_general:"G\u00E9n\u00E9ral", +tab_appearance:"Apparence", +tab_advanced:"Avanc\u00E9", +general:"G\u00E9n\u00E9ral", +title:"Titre", +preview:"Pr\u00E9visualisation", +constrain_proportions:"Conserver les proportions", +langdir:"Sens de lecture", +langcode:"Code de la langue", +long_desc:"Description longue du lien", +style:"Style", +classes:"Classes", +ltr:"De gauche \u00E0 droite", +rtl:"De droite \u00E0 gauche", +id:"Id", +map:"Image cliquable", +swap_image:"Image de remplacement", +alt_image:"Image alternative", +mouseover:"au survol de la souris", +mouseout:"\u00E0 la sortie de la souris", +misc:"Divers", +example_img:"Apparence de l'image", +missing_alt:"\u00CAtes-vous s\u00FBr de vouloir continuer sans d\u00E9finir de description pour l'image ? Sans elle, l'image peut ne pas \u00EAtre accessible \u00E0 certains utilisateurs handicap\u00E9s, ceux utilisant un navigateur texte ou ceux qui naviguent sans affichage des images.", +dialog_title:"Ins\u00E9rer / \u00E9diter une image", +src:"URL de l'image", +alt:"Description de l'image", +list:"Liste d'images", +border:"Bordure", +dimensions:"Dimensions", +vspace:"Espacement vertical", +hspace:"Espacement horizontal", +align:"Alignement", +align_baseline:"Normal", +align_top:"En haut", +align_middle:"Au milieu", +align_bottom:"En bas", +align_texttop:"Texte en haut", +align_textbottom:"Texte en bas", +align_left:"Gauche (flottant)", +align_right:"Droite (flottant)", +image_list:"Liste d'images" }); \ No newline at end of file diff --git a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/advimage/langs/he_dlg.js b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/advimage/langs/he_dlg.js old mode 100644 new mode 100755 index 5a8d689251..b0e01aa15d --- a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/advimage/langs/he_dlg.js +++ b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/advimage/langs/he_dlg.js @@ -1,43 +1,43 @@ -tinyMCE.addI18n('he.advimage_dlg',{ -tab_general:"\u05DB\u05DC\u05DC\u05D9", -tab_appearance:"\u05DE\u05E8\u05D0\u05D4", -tab_advanced:"\u05DE\u05EA\u05E7\u05D3\u05DD", -general:"\u05DB\u05DC\u05DC\u05D9", -title:"\u05DB\u05D5\u05EA\u05E8\u05EA", -preview:"\u05EA\u05E6\u05D5\u05D2\u05D4 \u05DE\u05E7\u05D3\u05D9\u05DE\u05D4", -constrain_proportions:"\u05E9\u05DE\u05D9\u05E8\u05D4 \u05E2\u05DC \u05E4\u05E8\u05D5\u05E4\u05D5\u05E8\u05E6\u05D9\u05D5\u05EA", -langdir:"\u05DB\u05D9\u05D5\u05D5\u05DF \u05D4\u05E9\u05E4\u05D4", -langcode:"\u05E7\u05D5\u05D3 \u05D4\u05E9\u05E4\u05D4", -long_desc:"\u05EA\u05D9\u05D0\u05D5\u05E8 \u05E7\u05D9\u05E9\u05D5\u05E8 \u05D0\u05E8\u05D5\u05DA", -style:"\u05E1\u05D2\u05E0\u05D5\u05DF", -classes:"Classes", -ltr:"\u05DE\u05E9\u05DE\u05D0\u05DC \u05DC\u05D9\u05DE\u05D9\u05DF", -rtl:"\u05DE\u05D9\u05DE\u05D9\u05DF \u05DC\u05E9\u05DE\u05D0\u05DC", -id:"Id", -map:"Image map", -swap_image:"\u05D4\u05D7\u05DC\u05E4\u05EA \u05EA\u05DE\u05D5\u05E0\u05D4", -alt_image:"\u05EA\u05DE\u05D5\u05E0\u05D4 \u05D7\u05DC\u05D9\u05E4\u05D9\u05EA", -mouseover:"\u05D1\u05E2\u05EA \u05DE\u05E2\u05D1\u05E8 \u05D4\u05E1\u05DE\u05DF \u05E2\u05DC \u05D4\u05EA\u05DE\u05D5\u05E0\u05D4", -mouseout:"\u05D4\u05E1\u05DE\u05DF \u05E2\u05D1\u05E8 \u05D0\u05EA \u05D4\u05EA\u05DE\u05D5\u05E0\u05D4", -misc:"\u05E9\u05D5\u05E0\u05D5\u05EA", -example_img:"\u05EA\u05E6\u05D5\u05D2\u05D4 \u05DE\u05E7\u05D3\u05D9\u05DE\u05D4 \u05E9\u05DC \u05D4\u05EA\u05DE\u05D5\u05E0\u05D4", -missing_alt:"\u05DC\u05D4\u05DE\u05E9\u05D9\u05DA \u05DE\u05D1\u05DC\u05D9 \u05DC\u05D4\u05D5\u05E1\u05D9\u05E3 \u05EA\u05D9\u05D0\u05D5\u05E8 \u05DC\u05EA\u05DE\u05D5\u05E0\u05D4?", -dialog_title:"\u05D4\u05D5\u05E1\u05E4\u05D4/\u05E2\u05E8\u05D9\u05DB\u05EA \u05EA\u05DE\u05D5\u05E0\u05D4", -src:"URL \u05E9\u05DC \u05D4\u05EA\u05DE\u05D5\u05E0\u05D4", -alt:"\u05EA\u05D9\u05D0\u05D5\u05E8 \u05D4\u05EA\u05DE\u05D5\u05E0\u05D4", -list:"\u05E8\u05E9\u05D9\u05DE\u05EA \u05EA\u05DE\u05D5\u05E0\u05D5\u05EA", -border:"\u05D2\u05D1\u05D5\u05DC", -dimensions:"\u05DE\u05D9\u05DE\u05D3\u05D9\u05DD", -vspace:"\u05E7\u05D5 \u05D0\u05E0\u05DB\u05D9", -hspace:"\u05E7\u05D5 \u05D0\u05D5\u05E4\u05E7\u05D9", -align:"\u05D9\u05E9\u05D5\u05E8", -align_baseline:"\u05E7\u05D5 \u05D1\u05E1\u05D9\u05E1\u05D9", -align_top:"\u05E2\u05DC\u05D9\u05D5\u05DF", -align_middle:"\u05D0\u05DE\u05E6\u05E2", -align_bottom:"\u05EA\u05D7\u05EA\u05D9\u05EA", -align_texttop:"\u05D8\u05E7\u05E1\u05D8 \u05E2\u05DC\u05D9\u05D5\u05DF", -align_textbottom:"\u05D8\u05E7\u05E1\u05D8 \u05EA\u05D7\u05EA\u05D5\u05DF", -align_left:"\u05DC\u05E9\u05DE\u05D0\u05DC", -align_right:"Right", -image_list:"\u05E8\u05E9\u05D9\u05DE\u05EA \u05EA\u05DE\u05D5\u05E0\u05D5\u05EA" +tinyMCE.addI18n('he.advimage_dlg',{ +tab_general:"\u05DB\u05DC\u05DC\u05D9", +tab_appearance:"\u05DE\u05E8\u05D0\u05D4", +tab_advanced:"\u05DE\u05EA\u05E7\u05D3\u05DD", +general:"\u05DB\u05DC\u05DC\u05D9", +title:"\u05DB\u05D5\u05EA\u05E8\u05EA", +preview:"\u05EA\u05E6\u05D5\u05D2\u05D4 \u05DE\u05E7\u05D3\u05D9\u05DE\u05D4", +constrain_proportions:"\u05E9\u05DE\u05D9\u05E8\u05D4 \u05E2\u05DC \u05E4\u05E8\u05D5\u05E4\u05D5\u05E8\u05E6\u05D9\u05D5\u05EA", +langdir:"\u05DB\u05D9\u05D5\u05D5\u05DF \u05D4\u05E9\u05E4\u05D4", +langcode:"\u05E7\u05D5\u05D3 \u05D4\u05E9\u05E4\u05D4", +long_desc:"\u05EA\u05D9\u05D0\u05D5\u05E8 \u05E7\u05D9\u05E9\u05D5\u05E8 \u05D0\u05E8\u05D5\u05DA", +style:"\u05E1\u05D2\u05E0\u05D5\u05DF", +classes:"Classes", +ltr:"\u05DE\u05E9\u05DE\u05D0\u05DC \u05DC\u05D9\u05DE\u05D9\u05DF", +rtl:"\u05DE\u05D9\u05DE\u05D9\u05DF \u05DC\u05E9\u05DE\u05D0\u05DC", +id:"Id", +map:"Image map", +swap_image:"\u05D4\u05D7\u05DC\u05E4\u05EA \u05EA\u05DE\u05D5\u05E0\u05D4", +alt_image:"\u05EA\u05DE\u05D5\u05E0\u05D4 \u05D7\u05DC\u05D9\u05E4\u05D9\u05EA", +mouseover:"\u05D1\u05E2\u05EA \u05DE\u05E2\u05D1\u05E8 \u05D4\u05E1\u05DE\u05DF \u05E2\u05DC \u05D4\u05EA\u05DE\u05D5\u05E0\u05D4", +mouseout:"\u05D4\u05E1\u05DE\u05DF \u05E2\u05D1\u05E8 \u05D0\u05EA \u05D4\u05EA\u05DE\u05D5\u05E0\u05D4", +misc:"\u05E9\u05D5\u05E0\u05D5\u05EA", +example_img:"\u05EA\u05E6\u05D5\u05D2\u05D4 \u05DE\u05E7\u05D3\u05D9\u05DE\u05D4 \u05E9\u05DC \u05D4\u05EA\u05DE\u05D5\u05E0\u05D4", +missing_alt:"\u05DC\u05D4\u05DE\u05E9\u05D9\u05DA \u05DE\u05D1\u05DC\u05D9 \u05DC\u05D4\u05D5\u05E1\u05D9\u05E3 \u05EA\u05D9\u05D0\u05D5\u05E8 \u05DC\u05EA\u05DE\u05D5\u05E0\u05D4?", +dialog_title:"\u05D4\u05D5\u05E1\u05E4\u05D4/\u05E2\u05E8\u05D9\u05DB\u05EA \u05EA\u05DE\u05D5\u05E0\u05D4", +src:"URL \u05E9\u05DC \u05D4\u05EA\u05DE\u05D5\u05E0\u05D4", +alt:"\u05EA\u05D9\u05D0\u05D5\u05E8 \u05D4\u05EA\u05DE\u05D5\u05E0\u05D4", +list:"\u05E8\u05E9\u05D9\u05DE\u05EA \u05EA\u05DE\u05D5\u05E0\u05D5\u05EA", +border:"\u05D2\u05D1\u05D5\u05DC", +dimensions:"\u05DE\u05D9\u05DE\u05D3\u05D9\u05DD", +vspace:"\u05E7\u05D5 \u05D0\u05E0\u05DB\u05D9", +hspace:"\u05E7\u05D5 \u05D0\u05D5\u05E4\u05E7\u05D9", +align:"\u05D9\u05E9\u05D5\u05E8", +align_baseline:"\u05E7\u05D5 \u05D1\u05E1\u05D9\u05E1\u05D9", +align_top:"\u05E2\u05DC\u05D9\u05D5\u05DF", +align_middle:"\u05D0\u05DE\u05E6\u05E2", +align_bottom:"\u05EA\u05D7\u05EA\u05D9\u05EA", +align_texttop:"\u05D8\u05E7\u05E1\u05D8 \u05E2\u05DC\u05D9\u05D5\u05DF", +align_textbottom:"\u05D8\u05E7\u05E1\u05D8 \u05EA\u05D7\u05EA\u05D5\u05DF", +align_left:"\u05DC\u05E9\u05DE\u05D0\u05DC", +align_right:"Right", +image_list:"\u05E8\u05E9\u05D9\u05DE\u05EA \u05EA\u05DE\u05D5\u05E0\u05D5\u05EA" }); \ No newline at end of file diff --git a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/advimage/langs/it_dlg.js b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/advimage/langs/it_dlg.js old mode 100644 new mode 100755 index 70adae4904..f3990a60eb --- a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/advimage/langs/it_dlg.js +++ b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/advimage/langs/it_dlg.js @@ -1,43 +1,43 @@ -tinyMCE.addI18n('it.advimage_dlg',{ -tab_general:"Generale", -tab_appearance:"Aspetto", -tab_advanced:"Avanzate", -general:"Generale", -title:"Titolo", -preview:"Anteprima", -constrain_proportions:"Mantieni proporzioni", -langdir:"Direzione testo", -langcode:"codice lingua", -long_desc:"Descrizione del collegamento", -style:"Stile", -classes:"Classe", -ltr:"Sinistra verso destra", -rtl:"Destra verso sinistraa", -id:"Id", -map:"Immagine come mappa", -swap_image:"Sostituisci immagine", -alt_image:"Immagine alternativa", -mouseover:"quando mouse sopra", -mouseout:"quando mouse fuori", -misc:"Impostazioni varie", -example_img:"Anteprima aspetto immagine", -missing_alt:"Sicuro di continuare senza includere una descrizione dell'immagine? Senza di essa l'immagine pu\u00F2 non essere accessibile ad alcuni utenti con disabilit\u00E0, o per coloro che usano un browser testuale oppure che hanno disabilitato la visualizzazione delle immagini nel loro browser.", -dialog_title:"Inserisci/modifica immagine", -src:"URL immagine", -alt:"Descrizione immagine", -list:"Lista immagini", -border:"Bordo", -dimensions:"Dimensioni", -vspace:"Spaziatura verticale", -hspace:"Spaziatura orizzontale", -align:"Allineamento", -align_baseline:"Alla base", -align_top:"In alto", -align_middle:"In mezzo", -align_bottom:"In basso", -align_texttop:"In alto al testo", -align_textbottom:"In basso al testo", -align_left:"A sinistra", -align_right:"A destra", -image_list:"Lista immagini" +tinyMCE.addI18n('it.advimage_dlg',{ +tab_general:"Generale", +tab_appearance:"Aspetto", +tab_advanced:"Avanzate", +general:"Generale", +title:"Titolo", +preview:"Anteprima", +constrain_proportions:"Mantieni proporzioni", +langdir:"Direzione testo", +langcode:"codice lingua", +long_desc:"Descrizione del collegamento", +style:"Stile", +classes:"Classe", +ltr:"Sinistra verso destra", +rtl:"Destra verso sinistraa", +id:"Id", +map:"Immagine come mappa", +swap_image:"Sostituisci immagine", +alt_image:"Immagine alternativa", +mouseover:"quando mouse sopra", +mouseout:"quando mouse fuori", +misc:"Impostazioni varie", +example_img:"Anteprima aspetto immagine", +missing_alt:"Sicuro di continuare senza includere una descrizione dell'immagine? Senza di essa l'immagine pu\u00F2 non essere accessibile ad alcuni utenti con disabilit\u00E0, o per coloro che usano un browser testuale oppure che hanno disabilitato la visualizzazione delle immagini nel loro browser.", +dialog_title:"Inserisci/modifica immagine", +src:"URL immagine", +alt:"Descrizione immagine", +list:"Lista immagini", +border:"Bordo", +dimensions:"Dimensioni", +vspace:"Spaziatura verticale", +hspace:"Spaziatura orizzontale", +align:"Allineamento", +align_baseline:"Alla base", +align_top:"In alto", +align_middle:"In mezzo", +align_bottom:"In basso", +align_texttop:"In alto al testo", +align_textbottom:"In basso al testo", +align_left:"A sinistra", +align_right:"A destra", +image_list:"Lista immagini" }); \ No newline at end of file diff --git a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/advimage/langs/ja_dlg.js b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/advimage/langs/ja_dlg.js old mode 100644 new mode 100755 index ab5186fcdb..d0cd469935 --- a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/advimage/langs/ja_dlg.js +++ b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/advimage/langs/ja_dlg.js @@ -1,43 +1,43 @@ -tinyMCE.addI18n('ja.advimage_dlg',{ -tab_general:"\u30A2\u30C9\u30EC\u30B9\u304B\u3089", -tab_appearance:"\u8868\u793A", -tab_advanced:"\u4E0A\u7D1A\u8005\u5411\u3051", -general:"\u4E00\u822C", -title:"title\u5C5E\u6027", -preview:"\u30D7\u30EC\u30D3\u30E5\u30FC", -constrain_proportions:"\u7E26\u6A2A\u6BD4\u306E\u4FDD\u5B58", -langdir:"\u6587\u7AE0\u306E\u65B9\u5411", -langcode:"\u8A00\u8A9E\u30B3\u30FC\u30C9", -long_desc:"\u8A73\u7D30\u8AAC\u660E\u30EA\u30F3\u30AF", -style:"style\u5C5E\u6027", -classes:"class\u5C5E\u6027", -ltr:"\u5DE6\u304B\u3089\u53F3", -rtl:"\u53F3\u304B\u3089\u5DE6", -id:"ID\u5C5E\u6027", -map:"\u30A4\u30E1\u30FC\u30B8\u30DE\u30C3\u30D7", -swap_image:"\u30ED\u30FC\u30EB\u30AA\u30FC\u30D0\u30FC\u52B9\u679C", -alt_image:"\u753B\u50CF\u5207\u66FF\u3092\u884C\u3046", -mouseover:"\u30DE\u30A6\u30B9\u30AA\u30FC\u30D0\u30FC\u6642", -mouseout:"\u30DE\u30A6\u30B9\u30A2\u30A6\u30C8\u6642", -misc:"\u305D\u306E\u4ED6", -example_img:"Appearance preview image", -missing_alt:"\u753B\u50CF\u306E\u8AAC\u660E\u6587\u304C\u5165\u529B\u3055\u308C\u3066\u3044\u307E\u305B\u3093\u3002\u76EE\u306E\u4E0D\u81EA\u7531\u306A\u65B9\u3084\u30C6\u30AD\u30B9\u30C8\u30D6\u30E9\u30A6\u30B6\u3092\u5229\u7528\u3055\u308C\u3066\u3044\u308B\u65B9\u3078\u914D\u616E\u3057\u3001\u753B\u50CF\u8AAC\u660E\u3092\u5165\u529B\u3059\u308B\u3053\u3068\u3092\u304A\u85A6\u3081\u3057\u307E\u3059\u3002", -dialog_title:"\u753B\u50CF\u306E\u633F\u5165/\u7DE8\u96C6", -src:"\u753B\u50CFURL", -alt:"alt\u5C5E\u6027", -list:"\u4E00\u89A7\u304B\u3089\u9078\u3076", -border:"\u67A0\u7DDA", -dimensions:"\u30B5\u30A4\u30BA", -vspace:"\u4E0A\u4E0B\u4F59\u767D", -hspace:"\u5DE6\u53F3\u4F59\u767D", -align:"\u914D\u7F6E", -align_baseline:"Baseline", -align_top:"Top", -align_middle:"Middle", -align_bottom:"Bottom", -align_texttop:"Text top", -align_textbottom:"Text bottom", -align_left:"Left", -align_right:"Right", -image_list:"\u4E00\u89A7\u304B\u3089\u9078\u3076" +tinyMCE.addI18n('ja.advimage_dlg',{ +tab_general:"\u30A2\u30C9\u30EC\u30B9\u304B\u3089", +tab_appearance:"\u8868\u793A", +tab_advanced:"\u4E0A\u7D1A\u8005\u5411\u3051", +general:"\u4E00\u822C", +title:"title\u5C5E\u6027", +preview:"\u30D7\u30EC\u30D3\u30E5\u30FC", +constrain_proportions:"\u7E26\u6A2A\u6BD4\u306E\u4FDD\u5B58", +langdir:"\u6587\u7AE0\u306E\u65B9\u5411", +langcode:"\u8A00\u8A9E\u30B3\u30FC\u30C9", +long_desc:"\u8A73\u7D30\u8AAC\u660E\u30EA\u30F3\u30AF", +style:"style\u5C5E\u6027", +classes:"class\u5C5E\u6027", +ltr:"\u5DE6\u304B\u3089\u53F3", +rtl:"\u53F3\u304B\u3089\u5DE6", +id:"ID\u5C5E\u6027", +map:"\u30A4\u30E1\u30FC\u30B8\u30DE\u30C3\u30D7", +swap_image:"\u30ED\u30FC\u30EB\u30AA\u30FC\u30D0\u30FC\u52B9\u679C", +alt_image:"\u753B\u50CF\u5207\u66FF\u3092\u884C\u3046", +mouseover:"\u30DE\u30A6\u30B9\u30AA\u30FC\u30D0\u30FC\u6642", +mouseout:"\u30DE\u30A6\u30B9\u30A2\u30A6\u30C8\u6642", +misc:"\u305D\u306E\u4ED6", +example_img:"Appearance preview image", +missing_alt:"\u753B\u50CF\u306E\u8AAC\u660E\u6587\u304C\u5165\u529B\u3055\u308C\u3066\u3044\u307E\u305B\u3093\u3002\u76EE\u306E\u4E0D\u81EA\u7531\u306A\u65B9\u3084\u30C6\u30AD\u30B9\u30C8\u30D6\u30E9\u30A6\u30B6\u3092\u5229\u7528\u3055\u308C\u3066\u3044\u308B\u65B9\u3078\u914D\u616E\u3057\u3001\u753B\u50CF\u8AAC\u660E\u3092\u5165\u529B\u3059\u308B\u3053\u3068\u3092\u304A\u85A6\u3081\u3057\u307E\u3059\u3002", +dialog_title:"\u753B\u50CF\u306E\u633F\u5165/\u7DE8\u96C6", +src:"\u753B\u50CFURL", +alt:"alt\u5C5E\u6027", +list:"\u4E00\u89A7\u304B\u3089\u9078\u3076", +border:"\u67A0\u7DDA", +dimensions:"\u30B5\u30A4\u30BA", +vspace:"\u4E0A\u4E0B\u4F59\u767D", +hspace:"\u5DE6\u53F3\u4F59\u767D", +align:"\u914D\u7F6E", +align_baseline:"Baseline", +align_top:"Top", +align_middle:"Middle", +align_bottom:"Bottom", +align_texttop:"Text top", +align_textbottom:"Text bottom", +align_left:"Left", +align_right:"Right", +image_list:"\u4E00\u89A7\u304B\u3089\u9078\u3076" }); \ No newline at end of file diff --git a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/advimage/langs/nl_dlg.js b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/advimage/langs/nl_dlg.js old mode 100644 new mode 100755 index b6db1f22b7..11b41a71c6 --- a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/advimage/langs/nl_dlg.js +++ b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/advimage/langs/nl_dlg.js @@ -1,43 +1,43 @@ -tinyMCE.addI18n('nl.advimage_dlg',{ -tab_general:"Algemeen", -tab_appearance:"Weergave", -tab_advanced:"Geavanceerd", -general:"Algemeen", -title:"Titel", -preview:"Voorbeeld", -constrain_proportions:"Verhouding behouden", -langdir:"Taalrichting", -langcode:"Taalcode", -long_desc:"Uitgebreide beschrijving", -style:"Stijl", -classes:"Klasses", -ltr:"Van links naar rechts", -rtl:"Van rechts naar links", -id:"Id", -map:"Afbeeldingsplattegrond", -swap_image:"Afbeelding wisselen", -alt_image:"Alternatieve afbeeldingen", -mouseover:"Bij muis over", -mouseout:"Bij muis uit", -misc:"Diversen", -example_img:"Voorbeeldweergave", -missing_alt:"Wilt u de afbeelding zonder beschrijving invoegen? De afbeelding wordt dan mogelijk niet opgemerkt door mensen met een visuele handicap, of welke zonder afbeeldingen browsen.", -dialog_title:"Afbeelding invoegen/bewerken", -src:"Bestand/URL", -alt:"Beschrijving", -list:"Lijst", -border:"Rand", -dimensions:"Afmetingen", -vspace:"Verticale ruimte", -hspace:"Horizontale ruimte", -align:"Uitlijning", -align_baseline:"Basislijn", -align_top:"Boven", -align_middle:"Midden", -align_bottom:"Onder", -align_texttop:"Bovenkant tekst", -align_textbottom:"Onderkant tekst", -align_left:"Links", -align_right:"Rechts", -image_list:"Lijst" +tinyMCE.addI18n('nl.advimage_dlg',{ +tab_general:"Algemeen", +tab_appearance:"Weergave", +tab_advanced:"Geavanceerd", +general:"Algemeen", +title:"Titel", +preview:"Voorbeeld", +constrain_proportions:"Verhouding behouden", +langdir:"Taalrichting", +langcode:"Taalcode", +long_desc:"Uitgebreide beschrijving", +style:"Stijl", +classes:"Klasses", +ltr:"Van links naar rechts", +rtl:"Van rechts naar links", +id:"Id", +map:"Afbeeldingsplattegrond", +swap_image:"Afbeelding wisselen", +alt_image:"Alternatieve afbeeldingen", +mouseover:"Bij muis over", +mouseout:"Bij muis uit", +misc:"Diversen", +example_img:"Voorbeeldweergave", +missing_alt:"Wilt u de afbeelding zonder beschrijving invoegen? De afbeelding wordt dan mogelijk niet opgemerkt door mensen met een visuele handicap, of welke zonder afbeeldingen browsen.", +dialog_title:"Afbeelding invoegen/bewerken", +src:"Bestand/URL", +alt:"Beschrijving", +list:"Lijst", +border:"Rand", +dimensions:"Afmetingen", +vspace:"Verticale ruimte", +hspace:"Horizontale ruimte", +align:"Uitlijning", +align_baseline:"Basislijn", +align_top:"Boven", +align_middle:"Midden", +align_bottom:"Onder", +align_texttop:"Bovenkant tekst", +align_textbottom:"Onderkant tekst", +align_left:"Links", +align_right:"Rechts", +image_list:"Lijst" }); \ No newline at end of file diff --git a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/advimage/langs/nn_dlg.js b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/advimage/langs/nn_dlg.js old mode 100644 new mode 100755 index 89e10c13d8..49a83992ed --- a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/advimage/langs/nn_dlg.js +++ b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/advimage/langs/nn_dlg.js @@ -1,43 +1,43 @@ -tinyMCE.addI18n('nn.advimage_dlg',{ -tab_general:"Generelt", -tab_appearance:"Utsj\u00E5nad", -tab_advanced:"Avansert", -general:"Generelt", -title:"Tittel", -preview:"Sj\u00E5 f\u00F8rebels utkast", -constrain_proportions:"Behald proporsjonar", -langdir:"Skriftretning", -langcode:"Spr\u00E5kkode", -long_desc:"Lang omtale", -style:"Stil", -classes:"Klasser", -ltr:"Venstre mot h\u00F8gre", -rtl:"H\u00F8gre mot venstre", -id:"Id", -map:"Biletekart", -swap_image:"Byt bilete", -alt_image:"Alternativt bilete", -mouseover:"for musepeikar over", -mouseout:"for musepeikar utanfor", -misc:"Anna", -example_img:"Sj\u00E5 f\u00F8rebels utkast av bilete", -missing_alt:"Er du sikker p\u00E5 at du vil fortsetje utan \u00E5 setje inn ei omtale av biletet? Utan omtale vil biletet ikkje gje meining for enkelte funksjonshemma eller for personar som bruker ein nettlesar med biletvisinga avsl\u00E5tt.", -dialog_title:"Set inn / endre bilete", -src:"Bilete-URL", -alt:"Bileteomtale", -list:"Bileteliste", -border:"Ramme", -dimensions:"Dimensjonar", -vspace:"Vertikal avstand", -hspace:"Horisontal avstand", -align:"Justering", -align_baseline:"Basislinje", -align_top:"Topp", -align_middle:"Midtstilt", -align_bottom:"Botn", -align_texttop:"Tekst topp", -align_textbottom:"Tekst botn", -align_left:"Venstre", -align_right:"H\u00F8gre", -image_list:"Liste med bilete" +tinyMCE.addI18n('nn.advimage_dlg',{ +tab_general:"Generelt", +tab_appearance:"Utsj\u00E5nad", +tab_advanced:"Avansert", +general:"Generelt", +title:"Tittel", +preview:"Sj\u00E5 f\u00F8rebels utkast", +constrain_proportions:"Behald proporsjonar", +langdir:"Skriftretning", +langcode:"Spr\u00E5kkode", +long_desc:"Lang omtale", +style:"Stil", +classes:"Klasser", +ltr:"Venstre mot h\u00F8gre", +rtl:"H\u00F8gre mot venstre", +id:"Id", +map:"Biletekart", +swap_image:"Byt bilete", +alt_image:"Alternativt bilete", +mouseover:"for musepeikar over", +mouseout:"for musepeikar utanfor", +misc:"Anna", +example_img:"Sj\u00E5 f\u00F8rebels utkast av bilete", +missing_alt:"Er du sikker p\u00E5 at du vil fortsetje utan \u00E5 setje inn ei omtale av biletet? Utan omtale vil biletet ikkje gje meining for enkelte funksjonshemma eller for personar som bruker ein nettlesar med biletvisinga avsl\u00E5tt.", +dialog_title:"Set inn / endre bilete", +src:"Bilete-URL", +alt:"Bileteomtale", +list:"Bileteliste", +border:"Ramme", +dimensions:"Dimensjonar", +vspace:"Vertikal avstand", +hspace:"Horisontal avstand", +align:"Justering", +align_baseline:"Basislinje", +align_top:"Topp", +align_middle:"Midtstilt", +align_bottom:"Botn", +align_texttop:"Tekst topp", +align_textbottom:"Tekst botn", +align_left:"Venstre", +align_right:"H\u00F8gre", +image_list:"Liste med bilete" }); \ No newline at end of file diff --git a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/advimage/langs/pl_dlg.js b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/advimage/langs/pl_dlg.js old mode 100644 new mode 100755 index f7c561532b..5801ea4b8e --- a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/advimage/langs/pl_dlg.js +++ b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/advimage/langs/pl_dlg.js @@ -1,43 +1,43 @@ -tinyMCE.addI18n('pl.advimage_dlg',{ -tab_general:"Og\u00F3lny", -tab_appearance:"Prezentacja", -tab_advanced:"Zaawansowany", -general:"Og\u00F3lny", -title:"Tytu\u0142", -preview:"Podgl\u0105d", -constrain_proportions:"Zachowaj proporcje", -langdir:"Kierunek j\u0119zyka", -langcode:"Kod j\u0119zyka", -long_desc:"D\u0142ugi opis linku", -style:"Styl", -classes:"Klasa", -ltr:"Lewy do prawego", -rtl:"Prawy do lewego", -id:"Id", -map:"Mapa obrazu", -swap_image:"Wymiana obrazka", -alt_image:"alternatywny obrazek", -mouseover:"for mouse over", -mouseout:"for mouse out", -misc:"R\u00F3\u017Cne", -example_img:"Podgl\u0105d wygl\u0105du obrazka", -missing_alt:"Czy jeste\u015B pewien, \u017Ce chcesz kontynuowa\u0107 bez opisu obrazka? Obrazek bez opisu mo\u017Ce nie by\u0107 dost\u0119pny dla u\u017Cytkownik\u00F3w kt\u00F3rzy u\u017Cywaj\u0105 tekstowej przegl\u0105darki, lub przegl\u0105daj\u0105cych stron\u0119 z wy\u0142\u0105czonymi obrazkami.", -dialog_title:"Wklej/edytuj obraz", -src:"URL obrazka", -alt:"Opis obrazka", -list:"Lista obrazk\u00F3w", -border:"Obramowanie", -dimensions:"Rozmiary", -vspace:"Pionowy odstep", -hspace:"Poziomy odstep", -align:"Wyr\u00F3wnanie", -align_baseline:"G\u0142\u00F3wna linia", -align_top:"G\u00F3rny", -align_middle:"\u015Arodkowy", -align_bottom:"Dolny", -align_texttop:"Tekst g\u00F3rny", -align_textbottom:"Tekst dolny", -align_left:"Lewy", -align_right:"Prawy", -image_list:"Lista obrazk\u00F3w" +tinyMCE.addI18n('pl.advimage_dlg',{ +tab_general:"Og\u00F3lny", +tab_appearance:"Prezentacja", +tab_advanced:"Zaawansowany", +general:"Og\u00F3lny", +title:"Tytu\u0142", +preview:"Podgl\u0105d", +constrain_proportions:"Zachowaj proporcje", +langdir:"Kierunek j\u0119zyka", +langcode:"Kod j\u0119zyka", +long_desc:"D\u0142ugi opis linku", +style:"Styl", +classes:"Klasa", +ltr:"Lewy do prawego", +rtl:"Prawy do lewego", +id:"Id", +map:"Mapa obrazu", +swap_image:"Wymiana obrazka", +alt_image:"alternatywny obrazek", +mouseover:"for mouse over", +mouseout:"for mouse out", +misc:"R\u00F3\u017Cne", +example_img:"Podgl\u0105d wygl\u0105du obrazka", +missing_alt:"Czy jeste\u015B pewien, \u017Ce chcesz kontynuowa\u0107 bez opisu obrazka? Obrazek bez opisu mo\u017Ce nie by\u0107 dost\u0119pny dla u\u017Cytkownik\u00F3w kt\u00F3rzy u\u017Cywaj\u0105 tekstowej przegl\u0105darki, lub przegl\u0105daj\u0105cych stron\u0119 z wy\u0142\u0105czonymi obrazkami.", +dialog_title:"Wklej/edytuj obraz", +src:"URL obrazka", +alt:"Opis obrazka", +list:"Lista obrazk\u00F3w", +border:"Obramowanie", +dimensions:"Rozmiary", +vspace:"Pionowy odstep", +hspace:"Poziomy odstep", +align:"Wyr\u00F3wnanie", +align_baseline:"G\u0142\u00F3wna linia", +align_top:"G\u00F3rny", +align_middle:"\u015Arodkowy", +align_bottom:"Dolny", +align_texttop:"Tekst g\u00F3rny", +align_textbottom:"Tekst dolny", +align_left:"Lewy", +align_right:"Prawy", +image_list:"Lista obrazk\u00F3w" }); \ No newline at end of file diff --git a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/advimage/langs/pt_dlg.js b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/advimage/langs/pt_dlg.js old mode 100644 new mode 100755 index f7b45b4987..e54d142d38 --- a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/advimage/langs/pt_dlg.js +++ b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/advimage/langs/pt_dlg.js @@ -1,43 +1,43 @@ -tinyMCE.addI18n('pt.advimage_dlg',{ -tab_general:"Geral", -tab_appearance:"Apar\u00EAncia", -tab_advanced:"Avan\u00E7ado", -general:"Geral", -title:"T\u00EDtulo", -preview:"Pr\u00E9-Visualiza\u00E7\u00E3o", -constrain_proportions:"Manter propor\u00E7\u00F5es", -langdir:"Dire\u00E7\u00E3o do texto", -langcode:"C\u00F3digo do idioma", -long_desc:"Descri\u00E7\u00E3o extensa", -style:"Estilo", -classes:"Classes", -ltr:"Da esquerda para a direita", -rtl:"Da direita para a esquerda", -id:"Id", -map:"Mapa de imagem", -swap_image:"Trocar imagem", -alt_image:"Imagem alternativa", -mouseover:"mouseover", -mouseout:"mouseout", -misc:"Misto", -example_img:"Pr\u00E9-Visualiza\u00E7\u00E3o", -missing_alt:"Tem certeza que deseja continuar sem acrescentar uma descri\u00E7\u00E3o \u00E0 imagem? (Isto pode gerar problemas de acessibilidade em alguns navegadores)", -dialog_title:"Inserir/editar imagem", -src:"Endere\u00E7o da imagem", -alt:"Descri\u00E7\u00E3o da imagem", -list:"Lista de imagens", -border:"Limite", -dimensions:"Dimens\u00F5es", -vspace:"Espa\u00E7o vertical", -hspace:"Espa\u00E7o horizontal", -align:"Alinhamento", -align_baseline:"Sobre a linha de texto", -align_top:"Topo", -align_middle:"Meio", -align_bottom:"Abaixo", -align_texttop:"Topo do texto", -align_textbottom:"Base do texto", -align_left:"Esquerda", -align_right:"Direita", -image_list:"Lista de imagens" +tinyMCE.addI18n('pt.advimage_dlg',{ +tab_general:"Geral", +tab_appearance:"Apar\u00EAncia", +tab_advanced:"Avan\u00E7ado", +general:"Geral", +title:"T\u00EDtulo", +preview:"Pr\u00E9-Visualiza\u00E7\u00E3o", +constrain_proportions:"Manter propor\u00E7\u00F5es", +langdir:"Dire\u00E7\u00E3o do texto", +langcode:"C\u00F3digo do idioma", +long_desc:"Descri\u00E7\u00E3o extensa", +style:"Estilo", +classes:"Classes", +ltr:"Da esquerda para a direita", +rtl:"Da direita para a esquerda", +id:"Id", +map:"Mapa de imagem", +swap_image:"Trocar imagem", +alt_image:"Imagem alternativa", +mouseover:"mouseover", +mouseout:"mouseout", +misc:"Misto", +example_img:"Pr\u00E9-Visualiza\u00E7\u00E3o", +missing_alt:"Tem certeza que deseja continuar sem acrescentar uma descri\u00E7\u00E3o \u00E0 imagem? (Isto pode gerar problemas de acessibilidade em alguns navegadores)", +dialog_title:"Inserir/editar imagem", +src:"Endere\u00E7o da imagem", +alt:"Descri\u00E7\u00E3o da imagem", +list:"Lista de imagens", +border:"Limite", +dimensions:"Dimens\u00F5es", +vspace:"Espa\u00E7o vertical", +hspace:"Espa\u00E7o horizontal", +align:"Alinhamento", +align_baseline:"Sobre a linha de texto", +align_top:"Topo", +align_middle:"Meio", +align_bottom:"Abaixo", +align_texttop:"Topo do texto", +align_textbottom:"Base do texto", +align_left:"Esquerda", +align_right:"Direita", +image_list:"Lista de imagens" }); \ No newline at end of file diff --git a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/advimage/langs/ru_dlg.js b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/advimage/langs/ru_dlg.js old mode 100644 new mode 100755 index 17b2b5ea60..b6ad46a3cf --- a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/advimage/langs/ru_dlg.js +++ b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/advimage/langs/ru_dlg.js @@ -1,43 +1,43 @@ -tinyMCE.addI18n('ru.advimage_dlg',{ -tab_general:"\u041E\u0431\u0449\u0435\u0435", -tab_appearance:"\u041F\u043E\u043B\u043E\u0436\u0435\u043D\u0438\u0435", -tab_advanced:"\u0414\u043E\u043F\u043E\u043B\u043D\u0438\u0442\u0435\u043B\u044C\u043D\u043E", -general:"\u041E\u0431\u0449\u0438\u0435 \u043F\u0430\u0440\u0430\u043C\u0435\u0442\u0440\u044B", -title:"\u0417\u0430\u0433\u043E\u043B\u043E\u0432\u043E\u043A", -preview:"\u041F\u0435\u0434\u0432\u0430\u0440\u0438\u0442\u0435\u043B\u044C\u043D\u044B\u0439 \u043F\u0440\u043E\u0441\u043C\u043E\u0442\u0440", -constrain_proportions:"\u0421\u043E\u0445\u0440\u0430\u043D\u0438\u0442\u044C \u043F\u0440\u043E\u043F\u043E\u0440\u0446\u0438\u0438", -langdir:"\u041D\u0430\u043F\u0440\u0430\u0432\u043B\u0435\u043D\u0438\u0435 \u0442\u0435\u043A\u0441\u0442\u0430", -langcode:"\u041A\u043E\u0434 \u044F\u0437\u044B\u043A\u0430", -long_desc:"\u0421\u0441\u044B\u043B\u043A\u0430 \u043D\u0430 \u043F\u043E\u043B\u043D\u043E\u0435 \u043E\u043F\u0438\u0441\u0430\u043D\u0438\u0435", -style:"\u0421\u0442\u0438\u043B\u044C", -classes:"\u041A\u043B\u0430\u0441\u0441\u044B", -ltr:"\u0421\u043B\u0435\u0432\u0430 \u043D\u0430\u043F\u0440\u0430\u0432\u043E", -rtl:"\u0421\u043F\u0440\u0430\u0432\u0430 \u043D\u0430\u043B\u0435\u0432\u043E", -id:"\u0418\u043C\u044F \u044D\u043B\u0435\u043C\u0435\u043D\u0442\u0430", -map:"\u041A\u0430\u0440\u0442\u0430 \u0441\u0441\u044B\u043B\u043E\u043A", -swap_image:"\u0414\u0438\u043D\u0430\u043C\u0438\u0447\u0435\u0441\u043A\u043E\u0435 \u0438\u0437\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u0438\u0435", -alt_image:"\u0410\u043B\u044C\u0442\u0435\u0440\u043D\u0430\u0442\u0438\u0432\u043D\u043E\u0435 \u0438\u0437\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u0438\u0435", -mouseover:"\u041F\u0440\u0438 \u043D\u0430\u0432\u0435\u0434\u0435\u043D\u0438\u0438", -mouseout:"\u0412 \u043F\u043E\u043A\u043E\u0435", -misc:"\u0414\u043E\u043F\u043E\u043B\u043D\u0438\u0442\u0435\u043B\u044C\u043D\u044B\u0435 \u043F\u0430\u0440\u0430\u043C\u0435\u0442\u0440\u044B", -example_img:"\u041F\u0440\u0438\u043C\u0435\u0440 \u0438\u0437\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u0438\u044F", -missing_alt:"\u041F\u0440\u043E\u0434\u043E\u043B\u0436\u0438\u0442\u044C \u0431\u0435\u0437 \u043E\u043F\u0438\u0441\u0430\u043D\u0438\u044F? \u0411\u0435\u0437 \u044D\u0442\u043E\u0433\u043E \u0438\u0437\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u0438\u0435 \u0431\u0443\u0434\u0435\u0442 \u043D\u0435\u0434\u043E\u0441\u0442\u0443\u043F\u043D\u043E \u043D\u0435\u043A\u043E\u0442\u043E\u0440\u044B\u043C \u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u0435\u043B\u044F\u043C.", -dialog_title:"\u041F\u0430\u0440\u0430\u043C\u0435\u0442\u0440\u044B \u0438\u0437\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u0438\u044F", -src:"\u0410\u0434\u0440\u0435\u0441", -alt:"\u041E\u043F\u0438\u0441\u0430\u043D\u0438\u0435", -list:"\u0421\u043F\u0438\u0441\u043E\u043A", -border:"\u0413\u0440\u0430\u043D\u0438\u0446\u0430", -dimensions:"\u0420\u0430\u0437\u043C\u0435\u0440", -vspace:"\u0412\u0435\u0440\u0442. \u043E\u0442\u0441\u0442\u0443\u043F", -hspace:"\u0413\u043E\u0440\u0438\u0437. \u043E\u0442\u0441\u0442\u0443\u043F", -align:"\u0412\u044B\u0440\u0430\u0432\u043D\u0438\u0432\u0430\u043D\u0438\u0435", -align_baseline:"\u041F\u043E \u0431\u0430\u0437\u043E\u0432\u043E\u0439 \u043B\u0438\u043D\u0438\u0438", -align_top:"\u041F\u043E \u0432\u0435\u0440\u0445\u043D\u0435\u043C\u0443 \u043A\u0440\u0430\u044E", -align_middle:"\u041F\u043E \u0446\u0435\u043D\u0442\u0440\u0443", -align_bottom:"\u041F\u043E \u043D\u0438\u0436\u043D\u0435\u043C\u0443 \u043A\u0440\u0430\u044E", -align_texttop:"\u041F\u043E \u0432\u0435\u0440\u0445\u043D\u0435\u043C\u0443 \u043A\u0440\u0430\u044E \u0442\u0435\u043A\u0441\u0442\u0430", -align_textbottom:"\u041F\u043E \u043D\u0438\u0436\u043D\u0435\u043C\u0443 \u043A\u0440\u0430\u044E \u0442\u0435\u043A\u0441\u0442\u0430", -align_left:"\u041F\u043E \u043B\u0435\u0432\u043E\u043C\u0443 \u043A\u0440\u0430\u044E", -align_right:"\u041F\u043E \u043F\u0440\u0430\u0432\u043E\u043C\u0443 \u043A\u0440\u0430\u044E", -image_list:"\u0421\u043F\u0438\u0441\u043E\u043A \u043A\u0430\u0440\u0442\u0438\u043D\u043E\u043A" +tinyMCE.addI18n('ru.advimage_dlg',{ +tab_general:"\u041E\u0431\u0449\u0435\u0435", +tab_appearance:"\u041F\u043E\u043B\u043E\u0436\u0435\u043D\u0438\u0435", +tab_advanced:"\u0414\u043E\u043F\u043E\u043B\u043D\u0438\u0442\u0435\u043B\u044C\u043D\u043E", +general:"\u041E\u0431\u0449\u0438\u0435 \u043F\u0430\u0440\u0430\u043C\u0435\u0442\u0440\u044B", +title:"\u0417\u0430\u0433\u043E\u043B\u043E\u0432\u043E\u043A", +preview:"\u041F\u0435\u0434\u0432\u0430\u0440\u0438\u0442\u0435\u043B\u044C\u043D\u044B\u0439 \u043F\u0440\u043E\u0441\u043C\u043E\u0442\u0440", +constrain_proportions:"\u0421\u043E\u0445\u0440\u0430\u043D\u0438\u0442\u044C \u043F\u0440\u043E\u043F\u043E\u0440\u0446\u0438\u0438", +langdir:"\u041D\u0430\u043F\u0440\u0430\u0432\u043B\u0435\u043D\u0438\u0435 \u0442\u0435\u043A\u0441\u0442\u0430", +langcode:"\u041A\u043E\u0434 \u044F\u0437\u044B\u043A\u0430", +long_desc:"\u0421\u0441\u044B\u043B\u043A\u0430 \u043D\u0430 \u043F\u043E\u043B\u043D\u043E\u0435 \u043E\u043F\u0438\u0441\u0430\u043D\u0438\u0435", +style:"\u0421\u0442\u0438\u043B\u044C", +classes:"\u041A\u043B\u0430\u0441\u0441\u044B", +ltr:"\u0421\u043B\u0435\u0432\u0430 \u043D\u0430\u043F\u0440\u0430\u0432\u043E", +rtl:"\u0421\u043F\u0440\u0430\u0432\u0430 \u043D\u0430\u043B\u0435\u0432\u043E", +id:"\u0418\u043C\u044F \u044D\u043B\u0435\u043C\u0435\u043D\u0442\u0430", +map:"\u041A\u0430\u0440\u0442\u0430 \u0441\u0441\u044B\u043B\u043E\u043A", +swap_image:"\u0414\u0438\u043D\u0430\u043C\u0438\u0447\u0435\u0441\u043A\u043E\u0435 \u0438\u0437\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u0438\u0435", +alt_image:"\u0410\u043B\u044C\u0442\u0435\u0440\u043D\u0430\u0442\u0438\u0432\u043D\u043E\u0435 \u0438\u0437\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u0438\u0435", +mouseover:"\u041F\u0440\u0438 \u043D\u0430\u0432\u0435\u0434\u0435\u043D\u0438\u0438", +mouseout:"\u0412 \u043F\u043E\u043A\u043E\u0435", +misc:"\u0414\u043E\u043F\u043E\u043B\u043D\u0438\u0442\u0435\u043B\u044C\u043D\u044B\u0435 \u043F\u0430\u0440\u0430\u043C\u0435\u0442\u0440\u044B", +example_img:"\u041F\u0440\u0438\u043C\u0435\u0440 \u0438\u0437\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u0438\u044F", +missing_alt:"\u041F\u0440\u043E\u0434\u043E\u043B\u0436\u0438\u0442\u044C \u0431\u0435\u0437 \u043E\u043F\u0438\u0441\u0430\u043D\u0438\u044F? \u0411\u0435\u0437 \u044D\u0442\u043E\u0433\u043E \u0438\u0437\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u0438\u0435 \u0431\u0443\u0434\u0435\u0442 \u043D\u0435\u0434\u043E\u0441\u0442\u0443\u043F\u043D\u043E \u043D\u0435\u043A\u043E\u0442\u043E\u0440\u044B\u043C \u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u0435\u043B\u044F\u043C.", +dialog_title:"\u041F\u0430\u0440\u0430\u043C\u0435\u0442\u0440\u044B \u0438\u0437\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u0438\u044F", +src:"\u0410\u0434\u0440\u0435\u0441", +alt:"\u041E\u043F\u0438\u0441\u0430\u043D\u0438\u0435", +list:"\u0421\u043F\u0438\u0441\u043E\u043A", +border:"\u0413\u0440\u0430\u043D\u0438\u0446\u0430", +dimensions:"\u0420\u0430\u0437\u043C\u0435\u0440", +vspace:"\u0412\u0435\u0440\u0442. \u043E\u0442\u0441\u0442\u0443\u043F", +hspace:"\u0413\u043E\u0440\u0438\u0437. \u043E\u0442\u0441\u0442\u0443\u043F", +align:"\u0412\u044B\u0440\u0430\u0432\u043D\u0438\u0432\u0430\u043D\u0438\u0435", +align_baseline:"\u041F\u043E \u0431\u0430\u0437\u043E\u0432\u043E\u0439 \u043B\u0438\u043D\u0438\u0438", +align_top:"\u041F\u043E \u0432\u0435\u0440\u0445\u043D\u0435\u043C\u0443 \u043A\u0440\u0430\u044E", +align_middle:"\u041F\u043E \u0446\u0435\u043D\u0442\u0440\u0443", +align_bottom:"\u041F\u043E \u043D\u0438\u0436\u043D\u0435\u043C\u0443 \u043A\u0440\u0430\u044E", +align_texttop:"\u041F\u043E \u0432\u0435\u0440\u0445\u043D\u0435\u043C\u0443 \u043A\u0440\u0430\u044E \u0442\u0435\u043A\u0441\u0442\u0430", +align_textbottom:"\u041F\u043E \u043D\u0438\u0436\u043D\u0435\u043C\u0443 \u043A\u0440\u0430\u044E \u0442\u0435\u043A\u0441\u0442\u0430", +align_left:"\u041F\u043E \u043B\u0435\u0432\u043E\u043C\u0443 \u043A\u0440\u0430\u044E", +align_right:"\u041F\u043E \u043F\u0440\u0430\u0432\u043E\u043C\u0443 \u043A\u0440\u0430\u044E", +image_list:"\u0421\u043F\u0438\u0441\u043E\u043A \u043A\u0430\u0440\u0442\u0438\u043D\u043E\u043A" }); \ No newline at end of file diff --git a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/advimage/langs/sv_dlg.js b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/advimage/langs/sv_dlg.js old mode 100644 new mode 100755 index fc8826b642..d4c47d8daa --- a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/advimage/langs/sv_dlg.js +++ b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/advimage/langs/sv_dlg.js @@ -1,43 +1,43 @@ -tinyMCE.addI18n('sv.advimage_dlg',{ -tab_general:"Generellt", -tab_appearance:"Utseende", -tab_advanced:"Avancerat", -general:"Generellt", -title:"Titel", -preview:"F\u00F6rhandsvisning", -constrain_proportions:"Bibeh\u00E5ll proportionerna", -langdir:"Skriftriktning", -langcode:"Spr\u00E5kkod", -long_desc:"L\u00E5ng beskrivning", -style:"Stil", -classes:"Klasser", -ltr:"V\u00E4nster till h\u00F6ger", -rtl:"H\u00F6ger till v\u00E4nster", -id:"Id", -map:"L\u00E4nkkarta", -swap_image:"Utbytningsbild", -alt_image:"Alternativbild", -mouseover:"vid musen ovanf\u00F6r", -mouseout:"vid musen utanf\u00F6r", -misc:"\u00D6\u0096vrigt", -example_img:"Exempelbild", -missing_alt:"Vill du forts\u00E4tta utan bildbeskrivning. Icke grafiska webbl\u00E4sare kommer inte kunna tolka bilden f\u00F6r anv\u00E4ndaren.", -dialog_title:"Infoga/redigera bild", -src:"Bildens URL", -alt:"Bildens beskrivning", -list:"Bildlista", -border:"Ram", -dimensions:"Dimensioner", -vspace:"Vertikalrymd", -hspace:"Horisontalrymd", -align:"Justering", -align_baseline:"Baslinje", -align_top:"Toppen", -align_middle:"Mitten", -align_bottom:"Botten", -align_texttop:"Toppen av texten", -align_textbottom:"Botten av texten", -align_left:"V\u00E4nster", -align_right:"H\u00F6ger", -image_list:"Bildlista" +tinyMCE.addI18n('sv.advimage_dlg',{ +tab_general:"Generellt", +tab_appearance:"Utseende", +tab_advanced:"Avancerat", +general:"Generellt", +title:"Titel", +preview:"F\u00F6rhandsvisning", +constrain_proportions:"Bibeh\u00E5ll proportionerna", +langdir:"Skriftriktning", +langcode:"Spr\u00E5kkod", +long_desc:"L\u00E5ng beskrivning", +style:"Stil", +classes:"Klasser", +ltr:"V\u00E4nster till h\u00F6ger", +rtl:"H\u00F6ger till v\u00E4nster", +id:"Id", +map:"L\u00E4nkkarta", +swap_image:"Utbytningsbild", +alt_image:"Alternativbild", +mouseover:"vid musen ovanf\u00F6r", +mouseout:"vid musen utanf\u00F6r", +misc:"\u00D6\u0096vrigt", +example_img:"Exempelbild", +missing_alt:"Vill du forts\u00E4tta utan bildbeskrivning. Icke grafiska webbl\u00E4sare kommer inte kunna tolka bilden f\u00F6r anv\u00E4ndaren.", +dialog_title:"Infoga/redigera bild", +src:"Bildens URL", +alt:"Bildens beskrivning", +list:"Bildlista", +border:"Ram", +dimensions:"Dimensioner", +vspace:"Vertikalrymd", +hspace:"Horisontalrymd", +align:"Justering", +align_baseline:"Baslinje", +align_top:"Toppen", +align_middle:"Mitten", +align_bottom:"Botten", +align_texttop:"Toppen av texten", +align_textbottom:"Botten av texten", +align_left:"V\u00E4nster", +align_right:"H\u00F6ger", +image_list:"Bildlista" }); \ No newline at end of file diff --git a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/advimage/langs/zh_dlg.js b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/advimage/langs/zh_dlg.js old mode 100644 new mode 100755 index 69d4dcddf1..b345940797 --- a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/advimage/langs/zh_dlg.js +++ b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/advimage/langs/zh_dlg.js @@ -1,43 +1,43 @@ -tinyMCE.addI18n('zh.advimage_dlg',{ -tab_general:"\u4E00\u822C", -tab_appearance:"\u5916\u89C0", -tab_advanced:"\u9AD8\u7D1A", -general:"\u4E00\u822C", -title:"\u6A19\u984C", -preview:"\u9810\u89BD", -constrain_proportions:"\u7D04\u675F\u6BD4\u4F8B", -langdir:"\u8A9E\u8A00\u66F8\u5BEB\u65B9\u5411", -langcode:"\u8A9E\u8A00\u7DE8\u78BC", -long_desc:"\u9577\u9023\u7D50", -style:"\u6A23\u5F0F", -classes:"\u985E\u5225", -ltr:"\u5F9E\u5DE6\u5230\u53F3", -rtl:"\u5F9E\u53F3\u5230\u5DE6", -id:"ID", -map:"\u5716\u7247 Map", -swap_image:"\u5716\u7247\u5207\u63DB", -alt_image:"\u53D6\u4EE3\u5716\u7247", -mouseover:"\u9F20\u6A19\u79FB\u5165", -mouseout:"\u9F20\u6A19\u79FB\u51FA", -misc:"\u5176\u5B83", -example_img:"\u5716\u7247\u5916\u89C0\u9810\u89BD", -missing_alt:"\u5716\u7247\u6C92\u6709\u8AAA\u660E\u6587\u5B57\uFF0C\u662F\u5426\u7E7C\u7E8C\uFF1F", -dialog_title:"\u63D2\u5165/\u7DE8\u8F2F\u5716\u7247", -src:"\u5716\u7247URL", -alt:"\u5716\u7247\u8AAA\u660E", -list:"\u5716\u7247\u6E05\u55AE", -border:"\u908A\u6846", -dimensions:"\u5C3A\u5BF8", -vspace:"\u5782\u76F4\u9593\u8DDD", -hspace:"\u6C34\u5E73\u9593\u8DDD", -align:"\u5C0D\u9F4A\u65B9\u5F0F", -align_baseline:"\u57FA\u51C6\u7DDA", -align_top:"\u9760\u4E0A", -align_middle:"\u7F6E\u4E2D", -align_bottom:"\u9760\u4E0B", -align_texttop:"\u6587\u5B57\u4E0A\u65B9", -align_textbottom:"\u6587\u5B57\u4E0B\u65B9", -align_left:"\u9760\u5DE6", -align_right:"\u9760\u53F3", -image_list:"\u5716\u7247\u6E05\u55AE" +tinyMCE.addI18n('zh.advimage_dlg',{ +tab_general:"\u4E00\u822C", +tab_appearance:"\u5916\u89C0", +tab_advanced:"\u9AD8\u7D1A", +general:"\u4E00\u822C", +title:"\u6A19\u984C", +preview:"\u9810\u89BD", +constrain_proportions:"\u7D04\u675F\u6BD4\u4F8B", +langdir:"\u8A9E\u8A00\u66F8\u5BEB\u65B9\u5411", +langcode:"\u8A9E\u8A00\u7DE8\u78BC", +long_desc:"\u9577\u9023\u7D50", +style:"\u6A23\u5F0F", +classes:"\u985E\u5225", +ltr:"\u5F9E\u5DE6\u5230\u53F3", +rtl:"\u5F9E\u53F3\u5230\u5DE6", +id:"ID", +map:"\u5716\u7247 Map", +swap_image:"\u5716\u7247\u5207\u63DB", +alt_image:"\u53D6\u4EE3\u5716\u7247", +mouseover:"\u9F20\u6A19\u79FB\u5165", +mouseout:"\u9F20\u6A19\u79FB\u51FA", +misc:"\u5176\u5B83", +example_img:"\u5716\u7247\u5916\u89C0\u9810\u89BD", +missing_alt:"\u5716\u7247\u6C92\u6709\u8AAA\u660E\u6587\u5B57\uFF0C\u662F\u5426\u7E7C\u7E8C\uFF1F", +dialog_title:"\u63D2\u5165/\u7DE8\u8F2F\u5716\u7247", +src:"\u5716\u7247URL", +alt:"\u5716\u7247\u8AAA\u660E", +list:"\u5716\u7247\u6E05\u55AE", +border:"\u908A\u6846", +dimensions:"\u5C3A\u5BF8", +vspace:"\u5782\u76F4\u9593\u8DDD", +hspace:"\u6C34\u5E73\u9593\u8DDD", +align:"\u5C0D\u9F4A\u65B9\u5F0F", +align_baseline:"\u57FA\u51C6\u7DDA", +align_top:"\u9760\u4E0A", +align_middle:"\u7F6E\u4E2D", +align_bottom:"\u9760\u4E0B", +align_texttop:"\u6587\u5B57\u4E0A\u65B9", +align_textbottom:"\u6587\u5B57\u4E0B\u65B9", +align_left:"\u9760\u5DE6", +align_right:"\u9760\u53F3", +image_list:"\u5716\u7247\u6E05\u55AE" }); \ No newline at end of file diff --git a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/advlink/css/advlink.css b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/advlink/css/advlink.css old mode 100644 new mode 100755 index 14364316a1..66c6549354 --- a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/advlink/css/advlink.css +++ b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/advlink/css/advlink.css @@ -1,8 +1,8 @@ -.mceLinkList, .mceAnchorList, #targetlist {width:280px;} -.mceActionPanel {margin-top:7px;} -.panel_wrapper div.current {height:320px;} -#classlist, #title, #href {width:280px;} -#popupurl, #popupname {width:200px;} -#popupwidth, #popupheight, #popupleft, #popuptop {width:30px;vertical-align:middle;text-align:center;} -#id, #style, #classes, #target, #dir, #hreflang, #lang, #charset, #type, #rel, #rev, #tabindex, #accesskey {width:200px;} -#events_panel input {width:200px;} +.mceLinkList, .mceAnchorList, #targetlist {width:280px;} +.mceActionPanel {margin-top:7px;} +.panel_wrapper div.current {height:320px;} +#classlist, #title, #href {width:280px;} +#popupurl, #popupname {width:200px;} +#popupwidth, #popupheight, #popupleft, #popuptop {width:30px;vertical-align:middle;text-align:center;} +#id, #style, #classes, #target, #dir, #hreflang, #lang, #charset, #type, #rel, #rev, #tabindex, #accesskey {width:200px;} +#events_panel input {width:200px;} diff --git a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/advlink/js/advlink.js b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/advlink/js/advlink.js old mode 100644 new mode 100755 index b78e82f76b..6fa37e86c9 --- a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/advlink/js/advlink.js +++ b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/advlink/js/advlink.js @@ -1,528 +1,528 @@ -/* Functions for the advlink plugin popup */ - -tinyMCEPopup.requireLangPack(); - -var templates = { - "window.open" : "window.open('${url}','${target}','${options}')" -}; - -function preinit() { - var url; - - if (url = tinyMCEPopup.getParam("external_link_list_url")) - document.write(''); -} - -function changeClass() { - var f = document.forms[0]; - - f.classes.value = getSelectValue(f, 'classlist'); -} - -function init() { - tinyMCEPopup.resizeToInnerSize(); - - var formObj = document.forms[0]; - var inst = tinyMCEPopup.editor; - var elm = inst.selection.getNode(); - var action = "insert"; - var html; - - document.getElementById('hrefbrowsercontainer').innerHTML = getBrowserHTML('hrefbrowser','href','file','advlink'); - document.getElementById('popupurlbrowsercontainer').innerHTML = getBrowserHTML('popupurlbrowser','popupurl','file','advlink'); - document.getElementById('linklisthrefcontainer').innerHTML = getLinkListHTML('linklisthref','href'); - document.getElementById('anchorlistcontainer').innerHTML = getAnchorListHTML('anchorlist','href'); - document.getElementById('targetlistcontainer').innerHTML = getTargetListHTML('targetlist','target'); - - // Link list - html = getLinkListHTML('linklisthref','href'); - if (html == "") - document.getElementById("linklisthrefrow").style.display = 'none'; - else - document.getElementById("linklisthrefcontainer").innerHTML = html; - - // Resize some elements - if (isVisible('hrefbrowser')) - document.getElementById('href').style.width = '260px'; - - if (isVisible('popupurlbrowser')) - document.getElementById('popupurl').style.width = '180px'; - - elm = inst.dom.getParent(elm, "A"); - if (elm != null && elm.nodeName == "A") - action = "update"; - - formObj.insert.value = tinyMCEPopup.getLang(action, 'Insert', true); - - setPopupControlsDisabled(true); - - if (action == "update") { - var href = inst.dom.getAttrib(elm, 'href'); - var onclick = inst.dom.getAttrib(elm, 'onclick'); - - // Setup form data - setFormValue('href', href); - setFormValue('title', inst.dom.getAttrib(elm, 'title')); - setFormValue('id', inst.dom.getAttrib(elm, 'id')); - setFormValue('style', inst.dom.getAttrib(elm, "style")); - setFormValue('rel', inst.dom.getAttrib(elm, 'rel')); - setFormValue('rev', inst.dom.getAttrib(elm, 'rev')); - setFormValue('charset', inst.dom.getAttrib(elm, 'charset')); - setFormValue('hreflang', inst.dom.getAttrib(elm, 'hreflang')); - setFormValue('dir', inst.dom.getAttrib(elm, 'dir')); - setFormValue('lang', inst.dom.getAttrib(elm, 'lang')); - setFormValue('tabindex', inst.dom.getAttrib(elm, 'tabindex', typeof(elm.tabindex) != "undefined" ? elm.tabindex : "")); - setFormValue('accesskey', inst.dom.getAttrib(elm, 'accesskey', typeof(elm.accesskey) != "undefined" ? elm.accesskey : "")); - setFormValue('type', inst.dom.getAttrib(elm, 'type')); - setFormValue('onfocus', inst.dom.getAttrib(elm, 'onfocus')); - setFormValue('onblur', inst.dom.getAttrib(elm, 'onblur')); - setFormValue('onclick', onclick); - setFormValue('ondblclick', inst.dom.getAttrib(elm, 'ondblclick')); - setFormValue('onmousedown', inst.dom.getAttrib(elm, 'onmousedown')); - setFormValue('onmouseup', inst.dom.getAttrib(elm, 'onmouseup')); - setFormValue('onmouseover', inst.dom.getAttrib(elm, 'onmouseover')); - setFormValue('onmousemove', inst.dom.getAttrib(elm, 'onmousemove')); - setFormValue('onmouseout', inst.dom.getAttrib(elm, 'onmouseout')); - setFormValue('onkeypress', inst.dom.getAttrib(elm, 'onkeypress')); - setFormValue('onkeydown', inst.dom.getAttrib(elm, 'onkeydown')); - setFormValue('onkeyup', inst.dom.getAttrib(elm, 'onkeyup')); - setFormValue('target', inst.dom.getAttrib(elm, 'target')); - setFormValue('classes', inst.dom.getAttrib(elm, 'class')); - - // Parse onclick data - if (onclick != null && onclick.indexOf('window.open') != -1) - parseWindowOpen(onclick); - else - parseFunction(onclick); - - // Select by the values - selectByValue(formObj, 'dir', inst.dom.getAttrib(elm, 'dir')); - selectByValue(formObj, 'rel', inst.dom.getAttrib(elm, 'rel')); - selectByValue(formObj, 'rev', inst.dom.getAttrib(elm, 'rev')); - selectByValue(formObj, 'linklisthref', href); - - if (href.charAt(0) == '#') - selectByValue(formObj, 'anchorlist', href); - - addClassesToList('classlist', 'advlink_styles'); - - selectByValue(formObj, 'classlist', inst.dom.getAttrib(elm, 'class'), true); - selectByValue(formObj, 'targetlist', inst.dom.getAttrib(elm, 'target'), true); - } else - addClassesToList('classlist', 'advlink_styles'); -} - -function checkPrefix(n) { - if (n.value && Validator.isEmail(n) && !/^\s*mailto:/i.test(n.value) && confirm(tinyMCEPopup.getLang('advlink_dlg.is_email'))) - n.value = 'mailto:' + n.value; - - if (/^\s*www\./i.test(n.value) && confirm(tinyMCEPopup.getLang('advlink_dlg.is_external'))) - n.value = 'http://' + n.value; -} - -function setFormValue(name, value) { - document.forms[0].elements[name].value = value; -} - -function parseWindowOpen(onclick) { - var formObj = document.forms[0]; - - // Preprocess center code - if (onclick.indexOf('return false;') != -1) { - formObj.popupreturn.checked = true; - onclick = onclick.replace('return false;', ''); - } else - formObj.popupreturn.checked = false; - - var onClickData = parseLink(onclick); - - if (onClickData != null) { - formObj.ispopup.checked = true; - setPopupControlsDisabled(false); - - var onClickWindowOptions = parseOptions(onClickData['options']); - var url = onClickData['url']; - - formObj.popupname.value = onClickData['target']; - formObj.popupurl.value = url; - formObj.popupwidth.value = getOption(onClickWindowOptions, 'width'); - formObj.popupheight.value = getOption(onClickWindowOptions, 'height'); - - formObj.popupleft.value = getOption(onClickWindowOptions, 'left'); - formObj.popuptop.value = getOption(onClickWindowOptions, 'top'); - - if (formObj.popupleft.value.indexOf('screen') != -1) - formObj.popupleft.value = "c"; - - if (formObj.popuptop.value.indexOf('screen') != -1) - formObj.popuptop.value = "c"; - - formObj.popuplocation.checked = getOption(onClickWindowOptions, 'location') == "yes"; - formObj.popupscrollbars.checked = getOption(onClickWindowOptions, 'scrollbars') == "yes"; - formObj.popupmenubar.checked = getOption(onClickWindowOptions, 'menubar') == "yes"; - formObj.popupresizable.checked = getOption(onClickWindowOptions, 'resizable') == "yes"; - formObj.popuptoolbar.checked = getOption(onClickWindowOptions, 'toolbar') == "yes"; - formObj.popupstatus.checked = getOption(onClickWindowOptions, 'status') == "yes"; - formObj.popupdependent.checked = getOption(onClickWindowOptions, 'dependent') == "yes"; - - buildOnClick(); - } -} - -function parseFunction(onclick) { - var formObj = document.forms[0]; - var onClickData = parseLink(onclick); - - // TODO: Add stuff here -} - -function getOption(opts, name) { - return typeof(opts[name]) == "undefined" ? "" : opts[name]; -} - -function setPopupControlsDisabled(state) { - var formObj = document.forms[0]; - - formObj.popupname.disabled = state; - formObj.popupurl.disabled = state; - formObj.popupwidth.disabled = state; - formObj.popupheight.disabled = state; - formObj.popupleft.disabled = state; - formObj.popuptop.disabled = state; - formObj.popuplocation.disabled = state; - formObj.popupscrollbars.disabled = state; - formObj.popupmenubar.disabled = state; - formObj.popupresizable.disabled = state; - formObj.popuptoolbar.disabled = state; - formObj.popupstatus.disabled = state; - formObj.popupreturn.disabled = state; - formObj.popupdependent.disabled = state; - - setBrowserDisabled('popupurlbrowser', state); -} - -function parseLink(link) { - link = link.replace(new RegExp(''', 'g'), "'"); - - var fnName = link.replace(new RegExp("\\s*([A-Za-z0-9\.]*)\\s*\\(.*", "gi"), "$1"); - - // Is function name a template function - var template = templates[fnName]; - if (template) { - // Build regexp - var variableNames = template.match(new RegExp("'?\\$\\{[A-Za-z0-9\.]*\\}'?", "gi")); - var regExp = "\\s*[A-Za-z0-9\.]*\\s*\\("; - var replaceStr = ""; - for (var i=0; i'); - for (var i=0; i'; - html += ''; - - for (i=0; i' + name + ''; - } - - html += ''; - - return html; -} - -function insertAction() { - var inst = tinyMCEPopup.editor; - var elm, elementArray, i; - - elm = inst.selection.getNode(); - checkPrefix(document.forms[0].href); - - elm = inst.dom.getParent(elm, "A"); - - // Remove element if there is no href - if (!document.forms[0].href.value) { - tinyMCEPopup.execCommand("mceBeginUndoLevel"); - i = inst.selection.getBookmark(); - inst.dom.remove(elm, 1); - inst.selection.moveToBookmark(i); - tinyMCEPopup.execCommand("mceEndUndoLevel"); - tinyMCEPopup.close(); - return; - } - - tinyMCEPopup.execCommand("mceBeginUndoLevel"); - - // Create new anchor elements - if (elm == null) { - inst.getDoc().execCommand("unlink", false, null); - tinyMCEPopup.execCommand("CreateLink", false, "#mce_temp_url#", {skip_undo : 1}); - - elementArray = tinymce.grep(inst.dom.select("a"), function(n) {return inst.dom.getAttrib(n, 'href') == '#mce_temp_url#';}); - for (i=0; i' + tinyMCELinkList[i][0] + ''; - - html += ''; - - return html; - - // tinyMCE.debug('-- image list start --', html, '-- image list end --'); -} - -function getTargetListHTML(elm_id, target_form_element) { - var targets = tinyMCEPopup.getParam('theme_advanced_link_targets', '').split(';'); - var html = ''; - - html += ''; - - return html; -} - -// While loading -preinit(); -tinyMCEPopup.onInit.add(init); +/* Functions for the advlink plugin popup */ + +tinyMCEPopup.requireLangPack(); + +var templates = { + "window.open" : "window.open('${url}','${target}','${options}')" +}; + +function preinit() { + var url; + + if (url = tinyMCEPopup.getParam("external_link_list_url")) + document.write(''); +} + +function changeClass() { + var f = document.forms[0]; + + f.classes.value = getSelectValue(f, 'classlist'); +} + +function init() { + tinyMCEPopup.resizeToInnerSize(); + + var formObj = document.forms[0]; + var inst = tinyMCEPopup.editor; + var elm = inst.selection.getNode(); + var action = "insert"; + var html; + + document.getElementById('hrefbrowsercontainer').innerHTML = getBrowserHTML('hrefbrowser','href','file','advlink'); + document.getElementById('popupurlbrowsercontainer').innerHTML = getBrowserHTML('popupurlbrowser','popupurl','file','advlink'); + document.getElementById('linklisthrefcontainer').innerHTML = getLinkListHTML('linklisthref','href'); + document.getElementById('anchorlistcontainer').innerHTML = getAnchorListHTML('anchorlist','href'); + document.getElementById('targetlistcontainer').innerHTML = getTargetListHTML('targetlist','target'); + + // Link list + html = getLinkListHTML('linklisthref','href'); + if (html == "") + document.getElementById("linklisthrefrow").style.display = 'none'; + else + document.getElementById("linklisthrefcontainer").innerHTML = html; + + // Resize some elements + if (isVisible('hrefbrowser')) + document.getElementById('href').style.width = '260px'; + + if (isVisible('popupurlbrowser')) + document.getElementById('popupurl').style.width = '180px'; + + elm = inst.dom.getParent(elm, "A"); + if (elm != null && elm.nodeName == "A") + action = "update"; + + formObj.insert.value = tinyMCEPopup.getLang(action, 'Insert', true); + + setPopupControlsDisabled(true); + + if (action == "update") { + var href = inst.dom.getAttrib(elm, 'href'); + var onclick = inst.dom.getAttrib(elm, 'onclick'); + + // Setup form data + setFormValue('href', href); + setFormValue('title', inst.dom.getAttrib(elm, 'title')); + setFormValue('id', inst.dom.getAttrib(elm, 'id')); + setFormValue('style', inst.dom.getAttrib(elm, "style")); + setFormValue('rel', inst.dom.getAttrib(elm, 'rel')); + setFormValue('rev', inst.dom.getAttrib(elm, 'rev')); + setFormValue('charset', inst.dom.getAttrib(elm, 'charset')); + setFormValue('hreflang', inst.dom.getAttrib(elm, 'hreflang')); + setFormValue('dir', inst.dom.getAttrib(elm, 'dir')); + setFormValue('lang', inst.dom.getAttrib(elm, 'lang')); + setFormValue('tabindex', inst.dom.getAttrib(elm, 'tabindex', typeof(elm.tabindex) != "undefined" ? elm.tabindex : "")); + setFormValue('accesskey', inst.dom.getAttrib(elm, 'accesskey', typeof(elm.accesskey) != "undefined" ? elm.accesskey : "")); + setFormValue('type', inst.dom.getAttrib(elm, 'type')); + setFormValue('onfocus', inst.dom.getAttrib(elm, 'onfocus')); + setFormValue('onblur', inst.dom.getAttrib(elm, 'onblur')); + setFormValue('onclick', onclick); + setFormValue('ondblclick', inst.dom.getAttrib(elm, 'ondblclick')); + setFormValue('onmousedown', inst.dom.getAttrib(elm, 'onmousedown')); + setFormValue('onmouseup', inst.dom.getAttrib(elm, 'onmouseup')); + setFormValue('onmouseover', inst.dom.getAttrib(elm, 'onmouseover')); + setFormValue('onmousemove', inst.dom.getAttrib(elm, 'onmousemove')); + setFormValue('onmouseout', inst.dom.getAttrib(elm, 'onmouseout')); + setFormValue('onkeypress', inst.dom.getAttrib(elm, 'onkeypress')); + setFormValue('onkeydown', inst.dom.getAttrib(elm, 'onkeydown')); + setFormValue('onkeyup', inst.dom.getAttrib(elm, 'onkeyup')); + setFormValue('target', inst.dom.getAttrib(elm, 'target')); + setFormValue('classes', inst.dom.getAttrib(elm, 'class')); + + // Parse onclick data + if (onclick != null && onclick.indexOf('window.open') != -1) + parseWindowOpen(onclick); + else + parseFunction(onclick); + + // Select by the values + selectByValue(formObj, 'dir', inst.dom.getAttrib(elm, 'dir')); + selectByValue(formObj, 'rel', inst.dom.getAttrib(elm, 'rel')); + selectByValue(formObj, 'rev', inst.dom.getAttrib(elm, 'rev')); + selectByValue(formObj, 'linklisthref', href); + + if (href.charAt(0) == '#') + selectByValue(formObj, 'anchorlist', href); + + addClassesToList('classlist', 'advlink_styles'); + + selectByValue(formObj, 'classlist', inst.dom.getAttrib(elm, 'class'), true); + selectByValue(formObj, 'targetlist', inst.dom.getAttrib(elm, 'target'), true); + } else + addClassesToList('classlist', 'advlink_styles'); +} + +function checkPrefix(n) { + if (n.value && Validator.isEmail(n) && !/^\s*mailto:/i.test(n.value) && confirm(tinyMCEPopup.getLang('advlink_dlg.is_email'))) + n.value = 'mailto:' + n.value; + + if (/^\s*www\./i.test(n.value) && confirm(tinyMCEPopup.getLang('advlink_dlg.is_external'))) + n.value = 'http://' + n.value; +} + +function setFormValue(name, value) { + document.forms[0].elements[name].value = value; +} + +function parseWindowOpen(onclick) { + var formObj = document.forms[0]; + + // Preprocess center code + if (onclick.indexOf('return false;') != -1) { + formObj.popupreturn.checked = true; + onclick = onclick.replace('return false;', ''); + } else + formObj.popupreturn.checked = false; + + var onClickData = parseLink(onclick); + + if (onClickData != null) { + formObj.ispopup.checked = true; + setPopupControlsDisabled(false); + + var onClickWindowOptions = parseOptions(onClickData['options']); + var url = onClickData['url']; + + formObj.popupname.value = onClickData['target']; + formObj.popupurl.value = url; + formObj.popupwidth.value = getOption(onClickWindowOptions, 'width'); + formObj.popupheight.value = getOption(onClickWindowOptions, 'height'); + + formObj.popupleft.value = getOption(onClickWindowOptions, 'left'); + formObj.popuptop.value = getOption(onClickWindowOptions, 'top'); + + if (formObj.popupleft.value.indexOf('screen') != -1) + formObj.popupleft.value = "c"; + + if (formObj.popuptop.value.indexOf('screen') != -1) + formObj.popuptop.value = "c"; + + formObj.popuplocation.checked = getOption(onClickWindowOptions, 'location') == "yes"; + formObj.popupscrollbars.checked = getOption(onClickWindowOptions, 'scrollbars') == "yes"; + formObj.popupmenubar.checked = getOption(onClickWindowOptions, 'menubar') == "yes"; + formObj.popupresizable.checked = getOption(onClickWindowOptions, 'resizable') == "yes"; + formObj.popuptoolbar.checked = getOption(onClickWindowOptions, 'toolbar') == "yes"; + formObj.popupstatus.checked = getOption(onClickWindowOptions, 'status') == "yes"; + formObj.popupdependent.checked = getOption(onClickWindowOptions, 'dependent') == "yes"; + + buildOnClick(); + } +} + +function parseFunction(onclick) { + var formObj = document.forms[0]; + var onClickData = parseLink(onclick); + + // TODO: Add stuff here +} + +function getOption(opts, name) { + return typeof(opts[name]) == "undefined" ? "" : opts[name]; +} + +function setPopupControlsDisabled(state) { + var formObj = document.forms[0]; + + formObj.popupname.disabled = state; + formObj.popupurl.disabled = state; + formObj.popupwidth.disabled = state; + formObj.popupheight.disabled = state; + formObj.popupleft.disabled = state; + formObj.popuptop.disabled = state; + formObj.popuplocation.disabled = state; + formObj.popupscrollbars.disabled = state; + formObj.popupmenubar.disabled = state; + formObj.popupresizable.disabled = state; + formObj.popuptoolbar.disabled = state; + formObj.popupstatus.disabled = state; + formObj.popupreturn.disabled = state; + formObj.popupdependent.disabled = state; + + setBrowserDisabled('popupurlbrowser', state); +} + +function parseLink(link) { + link = link.replace(new RegExp(''', 'g'), "'"); + + var fnName = link.replace(new RegExp("\\s*([A-Za-z0-9\.]*)\\s*\\(.*", "gi"), "$1"); + + // Is function name a template function + var template = templates[fnName]; + if (template) { + // Build regexp + var variableNames = template.match(new RegExp("'?\\$\\{[A-Za-z0-9\.]*\\}'?", "gi")); + var regExp = "\\s*[A-Za-z0-9\.]*\\s*\\("; + var replaceStr = ""; + for (var i=0; i'); + for (var i=0; i'; + html += ''; + + for (i=0; i' + name + ''; + } + + html += ''; + + return html; +} + +function insertAction() { + var inst = tinyMCEPopup.editor; + var elm, elementArray, i; + + elm = inst.selection.getNode(); + checkPrefix(document.forms[0].href); + + elm = inst.dom.getParent(elm, "A"); + + // Remove element if there is no href + if (!document.forms[0].href.value) { + tinyMCEPopup.execCommand("mceBeginUndoLevel"); + i = inst.selection.getBookmark(); + inst.dom.remove(elm, 1); + inst.selection.moveToBookmark(i); + tinyMCEPopup.execCommand("mceEndUndoLevel"); + tinyMCEPopup.close(); + return; + } + + tinyMCEPopup.execCommand("mceBeginUndoLevel"); + + // Create new anchor elements + if (elm == null) { + inst.getDoc().execCommand("unlink", false, null); + tinyMCEPopup.execCommand("CreateLink", false, "#mce_temp_url#", {skip_undo : 1}); + + elementArray = tinymce.grep(inst.dom.select("a"), function(n) {return inst.dom.getAttrib(n, 'href') == '#mce_temp_url#';}); + for (i=0; i' + tinyMCELinkList[i][0] + ''; + + html += ''; + + return html; + + // tinyMCE.debug('-- image list start --', html, '-- image list end --'); +} + +function getTargetListHTML(elm_id, target_form_element) { + var targets = tinyMCEPopup.getParam('theme_advanced_link_targets', '').split(';'); + var html = ''; + + html += ''; + + return html; +} + +// While loading +preinit(); +tinyMCEPopup.onInit.add(init); diff --git a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/advlink/langs/bg_dlg.js b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/advlink/langs/bg_dlg.js old mode 100644 new mode 100755 index b67b1e6e5b..220d48dace --- a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/advlink/langs/bg_dlg.js +++ b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/advlink/langs/bg_dlg.js @@ -1,52 +1,52 @@ -tinyMCE.addI18n('bg.advlink_dlg',{ -title:"\u0412\u043C\u044A\u043A\u043D\u0438/\u0420\u0435\u0434\u0430\u043A\u0442\u0438\u0440\u0430\u0439 \u0445\u0438\u043F\u0435\u0440\u0432\u0440\u044A\u0437\u043A\u0430", -url:"URL \u043D\u0430 \u0445\u0438\u043F\u0435\u0440\u0432\u0440\u044A\u0437\u043A\u0430", -target:"\u0426\u0435\u043B", -titlefield:"\u0417\u0430\u0433\u043B\u0430\u0432\u0438\u0435", -is_email:"URL-\u0442\u043E \u043A\u043E\u0435\u0442\u043E \u0432\u044A\u0432\u0435\u0434\u043E\u0445\u0442\u0435 \u0435 email \u0430\u0434\u0440\u0435\u0441, \u0436\u0435\u043B\u0430\u0435\u0442\u0435 \u043B\u0438 \u0434\u0430 \u0434\u043E\u0431\u0430\u0432\u0438\u0442\u0435 \u043D\u0443\u0436\u043D\u0438\u044F\u0442 mailto: \u043F\u0440\u0435\u0444\u0438\u043A\u0441?", -is_external:"URL-\u0442\u043E \u043A\u043E\u0435\u0442\u043E \u0432\u044A\u0432\u0435\u0434\u043E\u0445\u0442\u0435 \u0435 \u0432\u044A\u043D\u0448\u043D\u0430 \u0445\u0438\u043F\u0435\u0440\u0432\u0440\u044A\u0437\u043A\u0430, \u0436\u0435\u043B\u0430\u0435\u0442\u0435 \u043B\u0438 \u0434\u0430 \u0434\u043E\u0431\u0430\u0432\u0438\u0442\u0435 \u043D\u0443\u0436\u043D\u0438\u044F\u0442 http:// \u043F\u0440\u0435\u0444\u0438\u043A\u0441?", -list:"\u0421\u043F\u0438\u0441\u044A\u043A \u0441 \u0445\u0438\u043F\u0435\u0440\u0432\u0440\u044A\u0437\u043A\u0438", -general_tab:"\u041E\u0431\u0449\u0438", -popup_tab:"Popup", -events_tab:"\u0421\u044A\u0431\u0438\u0442\u0438\u044F", -advanced_tab:"\u0417\u0430 \u043D\u0430\u043F\u0440\u0435\u0434\u043D\u0430\u043B\u0438", -general_props:"\u041E\u0431\u0449\u0438 \u043D\u0430\u0441\u0442\u0440\u043E\u0439\u043A\u0438", -popup_props:"Popup \u043D\u0430\u0441\u0442\u0440\u043E\u0439\u043A\u0438", -event_props:"\u0421\u044A\u0431\u0438\u0442\u0438\u044F", -advanced_props:"\u041D\u0430\u0441\u0442\u0440\u043E\u0439\u043A\u0438 \u0437\u0430 \u043D\u0430\u043F\u0440\u0435\u0434\u043D\u0430\u043B\u0438", -popup_opts:"\u041D\u0430\u0441\u0442\u0440\u043E\u0439\u043A\u0438", -anchor_names:"\u041A\u043E\u0442\u0432\u0438", -target_same:"\u041E\u0442\u0432\u043E\u0440\u0438 \u0432 \u0442\u043E\u0437\u0438 \u043F\u0440\u043E\u0437\u043E\u0440\u0435\u0446 / \u0444\u0440\u0435\u0439\u043C", -target_parent:"\u041E\u0442\u0432\u043E\u0440\u0438 \u0432 \u0433\u043E\u0440\u043D\u0438\u044F \u043F\u0440\u043E\u0437\u043E\u0440\u0435\u0446 / \u0444\u0440\u0435\u0439\u043C", -target_top:"\u041E\u0442\u0432\u043E\u0440\u0438 \u0432 \u043D\u0430\u0439-\u0433\u043E\u0440\u043D\u0438\u044F \u0444\u0440\u0435\u0439\u043C (\u0437\u0430\u043C\u0435\u0441\u0442\u0432\u0430 \u0432\u0441\u0438\u0447\u043A\u0438 \u0444\u0440\u0435\u0439\u043C\u043E\u0432\u0435)", -target_blank:"\u041E\u0442\u0432\u043E\u0440\u0438 \u0432 \u043D\u043E\u0432 \u043F\u0440\u043E\u0437\u043E\u0440\u0435\u0446", -popup:"Javascript popup", -popup_url:"URL \u043D\u0430 popup-\u0430", -popup_name:"\u0418\u043C\u0435 \u043D\u0430 \u043F\u0440\u043E\u0437\u043E\u0440\u0435\u0446\u0430", -popup_return:"\u0412\u043C\u044A\u043A\u043D\u0438 'return false'", -popup_scrollbars:"\u041F\u043E\u043A\u0430\u0436\u0438 \u0441\u043A\u0440\u043E\u043B\u0435\u0440\u0438", -popup_statusbar:"\u041F\u043E\u043A\u0430\u0436\u0438 status bar", -popup_toolbar:"\u041F\u043E\u043A\u0430\u0436\u0438 \u043B\u0435\u043D\u0442\u0438\u0442\u0435 \u0441 \u0438\u043D\u0441\u0442\u0440\u0443\u043C\u0435\u043D\u0442\u0438", -popup_menubar:"\u041F\u043E\u043A\u0430\u0436\u0438 \u043B\u0435\u043D\u0442\u0430\u0442\u0430 \u0441 \u043C\u0435\u043D\u044E\u0442\u0430", -popup_location:"\u041F\u043E\u043A\u0430\u0436\u0438 location bar", -popup_resizable:"\u0420\u0430\u0437\u0440\u0435\u0448\u0438 \u043F\u0440\u0435\u043E\u0440\u0430\u0437\u043C\u0435\u0440\u044F\u0432\u0430\u043D\u0435 \u043D\u0430 \u043F\u0440\u043E\u0437\u043E\u0440\u0446\u0438\u0442\u0435", -popup_dependent:"\u0417\u0430\u0432\u0438\u0441\u0438\u043C\u0438 (Mozilla/Firefox only)", -popup_size:"\u0420\u0430\u0437\u043C\u0435\u0440", -popup_position:"\u041F\u043E\u0437\u0438\u0446\u0438\u044F (X/Y)", -id:"Id", -style:"\u0421\u0442\u0438\u043B", -classes:"\u041A\u043B\u0430\u0441\u043E\u0432\u0435", -target_name:"\u0418\u043C\u0435 \u043D\u0430 \u0446\u0435\u043B", -langdir:"\u041F\u043E\u0441\u043E\u043A\u0430 \u043D\u0430 \u0435\u0437\u0438\u043A\u0430", -target_langcode:"\u0415\u0437\u0438\u043A", -langcode:"\u041A\u043E\u0434 \u043D\u0430 \u0435\u0437\u0438\u043A\u0430", -encoding:"\u041A\u043E\u0434\u0438\u0440\u0430\u043D\u0435 \u043D\u0430 \u0441\u0438\u043C\u0432\u043E\u043B\u0438\u0442\u0435", -mime:"MIME \u0442\u0438\u043F", -rel:"\u0412\u0437\u0430\u0438\u043C\u043E\u043E\u0442\u043D\u043E\u0448\u0435\u043D\u0438\u0435 \u0441\u0442\u0440\u0430\u043D\u0438\u0446\u0430 - \u0446\u0435\u043B", -rev:"\u0412\u0437\u0430\u0438\u043C\u043E\u043E\u0442\u043D\u043E\u0448\u0435\u043D\u0438\u0435 \u0446\u0435\u043B - \u0441\u0442\u0440\u0430\u043D\u0438\u0446\u0430", -tabindex:"\u041F\u043E\u0441\u043B\u0435\u0434\u043E\u0432\u0430\u0442\u0435\u043B\u043D\u043E\u0441\u0442", -accesskey:"\u041A\u043B\u0430\u0432\u0438\u0448", -ltr:"\u041E\u0442\u043B\u044F\u0432\u043E \u043D\u0430 \u0434\u044F\u0441\u043D\u043E", -rtl:"\u041E\u0442\u0434\u044F\u0441\u043D\u043E \u043D\u0430 \u043B\u044F\u0432\u043E", -link_list:"\u0421\u043F\u0438\u0441\u044A\u043A \u0441 \u0445\u0438\u043F\u0435\u0440\u0432\u0440\u044A\u0437\u043A\u0438" +tinyMCE.addI18n('bg.advlink_dlg',{ +title:"\u0412\u043C\u044A\u043A\u043D\u0438/\u0420\u0435\u0434\u0430\u043A\u0442\u0438\u0440\u0430\u0439 \u0445\u0438\u043F\u0435\u0440\u0432\u0440\u044A\u0437\u043A\u0430", +url:"URL \u043D\u0430 \u0445\u0438\u043F\u0435\u0440\u0432\u0440\u044A\u0437\u043A\u0430", +target:"\u0426\u0435\u043B", +titlefield:"\u0417\u0430\u0433\u043B\u0430\u0432\u0438\u0435", +is_email:"URL-\u0442\u043E \u043A\u043E\u0435\u0442\u043E \u0432\u044A\u0432\u0435\u0434\u043E\u0445\u0442\u0435 \u0435 email \u0430\u0434\u0440\u0435\u0441, \u0436\u0435\u043B\u0430\u0435\u0442\u0435 \u043B\u0438 \u0434\u0430 \u0434\u043E\u0431\u0430\u0432\u0438\u0442\u0435 \u043D\u0443\u0436\u043D\u0438\u044F\u0442 mailto: \u043F\u0440\u0435\u0444\u0438\u043A\u0441?", +is_external:"URL-\u0442\u043E \u043A\u043E\u0435\u0442\u043E \u0432\u044A\u0432\u0435\u0434\u043E\u0445\u0442\u0435 \u0435 \u0432\u044A\u043D\u0448\u043D\u0430 \u0445\u0438\u043F\u0435\u0440\u0432\u0440\u044A\u0437\u043A\u0430, \u0436\u0435\u043B\u0430\u0435\u0442\u0435 \u043B\u0438 \u0434\u0430 \u0434\u043E\u0431\u0430\u0432\u0438\u0442\u0435 \u043D\u0443\u0436\u043D\u0438\u044F\u0442 http:// \u043F\u0440\u0435\u0444\u0438\u043A\u0441?", +list:"\u0421\u043F\u0438\u0441\u044A\u043A \u0441 \u0445\u0438\u043F\u0435\u0440\u0432\u0440\u044A\u0437\u043A\u0438", +general_tab:"\u041E\u0431\u0449\u0438", +popup_tab:"Popup", +events_tab:"\u0421\u044A\u0431\u0438\u0442\u0438\u044F", +advanced_tab:"\u0417\u0430 \u043D\u0430\u043F\u0440\u0435\u0434\u043D\u0430\u043B\u0438", +general_props:"\u041E\u0431\u0449\u0438 \u043D\u0430\u0441\u0442\u0440\u043E\u0439\u043A\u0438", +popup_props:"Popup \u043D\u0430\u0441\u0442\u0440\u043E\u0439\u043A\u0438", +event_props:"\u0421\u044A\u0431\u0438\u0442\u0438\u044F", +advanced_props:"\u041D\u0430\u0441\u0442\u0440\u043E\u0439\u043A\u0438 \u0437\u0430 \u043D\u0430\u043F\u0440\u0435\u0434\u043D\u0430\u043B\u0438", +popup_opts:"\u041D\u0430\u0441\u0442\u0440\u043E\u0439\u043A\u0438", +anchor_names:"\u041A\u043E\u0442\u0432\u0438", +target_same:"\u041E\u0442\u0432\u043E\u0440\u0438 \u0432 \u0442\u043E\u0437\u0438 \u043F\u0440\u043E\u0437\u043E\u0440\u0435\u0446 / \u0444\u0440\u0435\u0439\u043C", +target_parent:"\u041E\u0442\u0432\u043E\u0440\u0438 \u0432 \u0433\u043E\u0440\u043D\u0438\u044F \u043F\u0440\u043E\u0437\u043E\u0440\u0435\u0446 / \u0444\u0440\u0435\u0439\u043C", +target_top:"\u041E\u0442\u0432\u043E\u0440\u0438 \u0432 \u043D\u0430\u0439-\u0433\u043E\u0440\u043D\u0438\u044F \u0444\u0440\u0435\u0439\u043C (\u0437\u0430\u043C\u0435\u0441\u0442\u0432\u0430 \u0432\u0441\u0438\u0447\u043A\u0438 \u0444\u0440\u0435\u0439\u043C\u043E\u0432\u0435)", +target_blank:"\u041E\u0442\u0432\u043E\u0440\u0438 \u0432 \u043D\u043E\u0432 \u043F\u0440\u043E\u0437\u043E\u0440\u0435\u0446", +popup:"Javascript popup", +popup_url:"URL \u043D\u0430 popup-\u0430", +popup_name:"\u0418\u043C\u0435 \u043D\u0430 \u043F\u0440\u043E\u0437\u043E\u0440\u0435\u0446\u0430", +popup_return:"\u0412\u043C\u044A\u043A\u043D\u0438 'return false'", +popup_scrollbars:"\u041F\u043E\u043A\u0430\u0436\u0438 \u0441\u043A\u0440\u043E\u043B\u0435\u0440\u0438", +popup_statusbar:"\u041F\u043E\u043A\u0430\u0436\u0438 status bar", +popup_toolbar:"\u041F\u043E\u043A\u0430\u0436\u0438 \u043B\u0435\u043D\u0442\u0438\u0442\u0435 \u0441 \u0438\u043D\u0441\u0442\u0440\u0443\u043C\u0435\u043D\u0442\u0438", +popup_menubar:"\u041F\u043E\u043A\u0430\u0436\u0438 \u043B\u0435\u043D\u0442\u0430\u0442\u0430 \u0441 \u043C\u0435\u043D\u044E\u0442\u0430", +popup_location:"\u041F\u043E\u043A\u0430\u0436\u0438 location bar", +popup_resizable:"\u0420\u0430\u0437\u0440\u0435\u0448\u0438 \u043F\u0440\u0435\u043E\u0440\u0430\u0437\u043C\u0435\u0440\u044F\u0432\u0430\u043D\u0435 \u043D\u0430 \u043F\u0440\u043E\u0437\u043E\u0440\u0446\u0438\u0442\u0435", +popup_dependent:"\u0417\u0430\u0432\u0438\u0441\u0438\u043C\u0438 (Mozilla/Firefox only)", +popup_size:"\u0420\u0430\u0437\u043C\u0435\u0440", +popup_position:"\u041F\u043E\u0437\u0438\u0446\u0438\u044F (X/Y)", +id:"Id", +style:"\u0421\u0442\u0438\u043B", +classes:"\u041A\u043B\u0430\u0441\u043E\u0432\u0435", +target_name:"\u0418\u043C\u0435 \u043D\u0430 \u0446\u0435\u043B", +langdir:"\u041F\u043E\u0441\u043E\u043A\u0430 \u043D\u0430 \u0435\u0437\u0438\u043A\u0430", +target_langcode:"\u0415\u0437\u0438\u043A", +langcode:"\u041A\u043E\u0434 \u043D\u0430 \u0435\u0437\u0438\u043A\u0430", +encoding:"\u041A\u043E\u0434\u0438\u0440\u0430\u043D\u0435 \u043D\u0430 \u0441\u0438\u043C\u0432\u043E\u043B\u0438\u0442\u0435", +mime:"MIME \u0442\u0438\u043F", +rel:"\u0412\u0437\u0430\u0438\u043C\u043E\u043E\u0442\u043D\u043E\u0448\u0435\u043D\u0438\u0435 \u0441\u0442\u0440\u0430\u043D\u0438\u0446\u0430 - \u0446\u0435\u043B", +rev:"\u0412\u0437\u0430\u0438\u043C\u043E\u043E\u0442\u043D\u043E\u0448\u0435\u043D\u0438\u0435 \u0446\u0435\u043B - \u0441\u0442\u0440\u0430\u043D\u0438\u0446\u0430", +tabindex:"\u041F\u043E\u0441\u043B\u0435\u0434\u043E\u0432\u0430\u0442\u0435\u043B\u043D\u043E\u0441\u0442", +accesskey:"\u041A\u043B\u0430\u0432\u0438\u0448", +ltr:"\u041E\u0442\u043B\u044F\u0432\u043E \u043D\u0430 \u0434\u044F\u0441\u043D\u043E", +rtl:"\u041E\u0442\u0434\u044F\u0441\u043D\u043E \u043D\u0430 \u043B\u044F\u0432\u043E", +link_list:"\u0421\u043F\u0438\u0441\u044A\u043A \u0441 \u0445\u0438\u043F\u0435\u0440\u0432\u0440\u044A\u0437\u043A\u0438" }); \ No newline at end of file diff --git a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/advlink/langs/cs_dlg.js b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/advlink/langs/cs_dlg.js old mode 100644 new mode 100755 index 025042e3fb..7d0e2be456 --- a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/advlink/langs/cs_dlg.js +++ b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/advlink/langs/cs_dlg.js @@ -1,52 +1,52 @@ -tinyMCE.addI18n('cs.advlink_dlg',{ -title:"Vlo\u017Eit/upravit odkaz", -url:"URL odkazu", -target:"C\u00EDl", -titlefield:"Titulek", -is_email:"Zadan\u00E9 URL vypad\u00E1 jako e-mailov\u00E1 adresa, chcete doplnit povinn\u00FD prefix mailto:?", -is_external:"Zadan\u00E9 URL vypad\u00E1 jako extern\u00ED odkaz, chcete doplnit povinn\u00FD prefix http://?", -list:"Seznam odkaz\u016F", -general_tab:"Obecn\u00E9", -popup_tab:"Vyskakovac\u00ED okno", -events_tab:"Ud\u00E1losti", -advanced_tab:"Roz\u0161\u00ED\u0159en\u00E9", -general_props:"Obecn\u00E9 parametry", -popup_props:"Vlastnosti vyskakovac\u00EDho okna", -event_props:"Ud\u00E1losti", -advanced_props:"Roz\u0161\u00ED\u0159en\u00E9 parametry", -popup_opts:"Mo\u017Enosti", -anchor_names:"Z\u00E1lo\u017Eka", -target_same:"Otev\u0159\u00EDt v tomto okn\u011B/r\u00E1mu", -target_parent:"Otev\u0159\u00EDt v nad\u0159azen\u00E9m okn\u011B/r\u00E1mu", -target_top:"Otev\u0159\u00EDt v hlavn\u00EDm okn\u011B/r\u00E1mu (nahradit v\u0161echny r\u00E1my)", -target_blank:"Otev\u0159\u00EDt v nov\u00E9m okn\u011B/r\u00E1mu", -popup:"Javascriptov\u00E9 okno", -popup_url:"URL vyskakovac\u00EDho okna", -popup_name:"N\u00E1zev okna", -popup_return:"Vlo\u017Eit 'return false'", -popup_scrollbars:"Zobrazit posuvn\u00EDky", -popup_statusbar:"Zobrazit stavov\u00FD \u0159\u00E1dek", -popup_toolbar:"Zobrazit n\u00E1strojovou li\u0161tu", -popup_menubar:"Zobrazit nab\u00EDdku", -popup_location:"Zobrazit pole s adresou", -popup_resizable:"Umo\u017Enit zm\u011Bnu velikosti", -popup_dependent:"Z\u00E1vislost (pouze Mozilla/Firefox)", -popup_size:"Velikost", -popup_position:"Um\u00EDst\u011Bn\u00ED (X/Y)", -id:"ID", -style:"Styl", -classes:"T\u0159\u00EDdy", -target_name:"N\u00E1zev c\u00EDle", -langdir:"Sm\u011Br textu", -target_langcode:"Jazyk c\u00EDle", -langcode:"K\u00F3d jazyka", -encoding:"K\u00F3dov\u00E1n\u00ED", -mime:"MIME typ", -rel:"Vztah str\u00E1nky k c\u00EDli", -rev:"Vztah c\u00EDle ke str\u00E1nce", -tabindex:"Po\u0159ad\u00ED pro tabul\u00E1tor", -accesskey:"Kl\u00E1vesov\u00E1 zkratka", -ltr:"Zleva doprava", -rtl:"Zprava doleva", -link_list:"Seznam odkaz\u016F" +tinyMCE.addI18n('cs.advlink_dlg',{ +title:"Vlo\u017Eit/upravit odkaz", +url:"URL odkazu", +target:"C\u00EDl", +titlefield:"Titulek", +is_email:"Zadan\u00E9 URL vypad\u00E1 jako e-mailov\u00E1 adresa, chcete doplnit povinn\u00FD prefix mailto:?", +is_external:"Zadan\u00E9 URL vypad\u00E1 jako extern\u00ED odkaz, chcete doplnit povinn\u00FD prefix http://?", +list:"Seznam odkaz\u016F", +general_tab:"Obecn\u00E9", +popup_tab:"Vyskakovac\u00ED okno", +events_tab:"Ud\u00E1losti", +advanced_tab:"Roz\u0161\u00ED\u0159en\u00E9", +general_props:"Obecn\u00E9 parametry", +popup_props:"Vlastnosti vyskakovac\u00EDho okna", +event_props:"Ud\u00E1losti", +advanced_props:"Roz\u0161\u00ED\u0159en\u00E9 parametry", +popup_opts:"Mo\u017Enosti", +anchor_names:"Z\u00E1lo\u017Eka", +target_same:"Otev\u0159\u00EDt v tomto okn\u011B/r\u00E1mu", +target_parent:"Otev\u0159\u00EDt v nad\u0159azen\u00E9m okn\u011B/r\u00E1mu", +target_top:"Otev\u0159\u00EDt v hlavn\u00EDm okn\u011B/r\u00E1mu (nahradit v\u0161echny r\u00E1my)", +target_blank:"Otev\u0159\u00EDt v nov\u00E9m okn\u011B/r\u00E1mu", +popup:"Javascriptov\u00E9 okno", +popup_url:"URL vyskakovac\u00EDho okna", +popup_name:"N\u00E1zev okna", +popup_return:"Vlo\u017Eit 'return false'", +popup_scrollbars:"Zobrazit posuvn\u00EDky", +popup_statusbar:"Zobrazit stavov\u00FD \u0159\u00E1dek", +popup_toolbar:"Zobrazit n\u00E1strojovou li\u0161tu", +popup_menubar:"Zobrazit nab\u00EDdku", +popup_location:"Zobrazit pole s adresou", +popup_resizable:"Umo\u017Enit zm\u011Bnu velikosti", +popup_dependent:"Z\u00E1vislost (pouze Mozilla/Firefox)", +popup_size:"Velikost", +popup_position:"Um\u00EDst\u011Bn\u00ED (X/Y)", +id:"ID", +style:"Styl", +classes:"T\u0159\u00EDdy", +target_name:"N\u00E1zev c\u00EDle", +langdir:"Sm\u011Br textu", +target_langcode:"Jazyk c\u00EDle", +langcode:"K\u00F3d jazyka", +encoding:"K\u00F3dov\u00E1n\u00ED", +mime:"MIME typ", +rel:"Vztah str\u00E1nky k c\u00EDli", +rev:"Vztah c\u00EDle ke str\u00E1nce", +tabindex:"Po\u0159ad\u00ED pro tabul\u00E1tor", +accesskey:"Kl\u00E1vesov\u00E1 zkratka", +ltr:"Zleva doprava", +rtl:"Zprava doleva", +link_list:"Seznam odkaz\u016F" }); \ No newline at end of file diff --git a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/advlink/langs/da_dlg.js b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/advlink/langs/da_dlg.js old mode 100644 new mode 100755 index dc8bfd7887..75970df8fa --- a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/advlink/langs/da_dlg.js +++ b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/advlink/langs/da_dlg.js @@ -1,52 +1,52 @@ -tinyMCE.addI18n('da.advlink_dlg',{ -title:"Inds\u00E6t/rediger link", -url:"Link URL", -target:"M\u00E5l", -titlefield:"Titel", -is_email:"Den URL, der er indtastet, ser ud til at v\u00E6re en emailadresse. Vil du have tilf\u00F8jet det p\u00E5kr\u00E6vede mailto: foran?", -is_external:"Den URL, der er indtastet, ser ud til at v\u00E6re et eksternt link. Vil du have tilf\u00F8jet det p\u00E5kr\u00E6vede http:// foran?", -list:"Liste over links", -general_tab:"Generelt", -popup_tab:"Popup", -events_tab:"H\u00E6ndelser", -advanced_tab:"Advanceret", -general_props:"Generelle egenskaber", -popup_props:"Popup egenskaber", -event_props:"H\u00E6ndelser", -advanced_props:"Avancerede egenskaber", -popup_opts:"Indstillinger", -anchor_names:"Ankre", -target_same:"\u00C5ben i dette vindue / ramme", -target_parent:"\u00C5ben i overliggende vindue / ramme", -target_top:"\u00C5ben i \u00F8verste vindue / ramme (erstatter alle rammer)", -target_blank:"\u00C5ben i nyt vindue", -popup:"Javascript popup", -popup_url:"Popup URL", -popup_name:"Vinduesnavn", -popup_return:"Inds\u00E6t 'return false'", -popup_scrollbars:"Vis rullepanel", -popup_statusbar:"Vis statuslinje", -popup_toolbar:"Vis v\u00E6rkt\u00F8jslinjer", -popup_menubar:"Vis menulinje", -popup_location:"Vis adresselinje", -popup_resizable:"Lad det v\u00E6re muligt at \u00E6ndre st\u00F8rrelsen p\u00E5 vinduet", -popup_dependent:"Afh\u00E6ngig (Kun Mozilla/Firefox)", -popup_size:"St\u00F8rrelse", -popup_position:"Position (X/Y)", -id:"Id", -style:"Stil", -classes:"Klasser", -target_name:"Destinationsnavn", -langdir:"Sprogretning", -target_langcode:"Destinationssprog", -langcode:"Sprogkode", -encoding:"Destinationstegns\u00E6t", -mime:"Destinations-MIME-type", -rel:"Relativ side til destination", -rev:"Relativ destination til side", -tabindex:"Tabindex", -accesskey:"Genvejstast", -ltr:"Venstre mod h\u00F8jre", -rtl:"H\u00F8jre mod venstre", -link_list:"Liste over links" +tinyMCE.addI18n('da.advlink_dlg',{ +title:"Inds\u00E6t/rediger link", +url:"Link URL", +target:"M\u00E5l", +titlefield:"Titel", +is_email:"Den URL, der er indtastet, ser ud til at v\u00E6re en emailadresse. Vil du have tilf\u00F8jet det p\u00E5kr\u00E6vede mailto: foran?", +is_external:"Den URL, der er indtastet, ser ud til at v\u00E6re et eksternt link. Vil du have tilf\u00F8jet det p\u00E5kr\u00E6vede http:// foran?", +list:"Liste over links", +general_tab:"Generelt", +popup_tab:"Popup", +events_tab:"H\u00E6ndelser", +advanced_tab:"Advanceret", +general_props:"Generelle egenskaber", +popup_props:"Popup egenskaber", +event_props:"H\u00E6ndelser", +advanced_props:"Avancerede egenskaber", +popup_opts:"Indstillinger", +anchor_names:"Ankre", +target_same:"\u00C5ben i dette vindue / ramme", +target_parent:"\u00C5ben i overliggende vindue / ramme", +target_top:"\u00C5ben i \u00F8verste vindue / ramme (erstatter alle rammer)", +target_blank:"\u00C5ben i nyt vindue", +popup:"Javascript popup", +popup_url:"Popup URL", +popup_name:"Vinduesnavn", +popup_return:"Inds\u00E6t 'return false'", +popup_scrollbars:"Vis rullepanel", +popup_statusbar:"Vis statuslinje", +popup_toolbar:"Vis v\u00E6rkt\u00F8jslinjer", +popup_menubar:"Vis menulinje", +popup_location:"Vis adresselinje", +popup_resizable:"Lad det v\u00E6re muligt at \u00E6ndre st\u00F8rrelsen p\u00E5 vinduet", +popup_dependent:"Afh\u00E6ngig (Kun Mozilla/Firefox)", +popup_size:"St\u00F8rrelse", +popup_position:"Position (X/Y)", +id:"Id", +style:"Stil", +classes:"Klasser", +target_name:"Destinationsnavn", +langdir:"Sprogretning", +target_langcode:"Destinationssprog", +langcode:"Sprogkode", +encoding:"Destinationstegns\u00E6t", +mime:"Destinations-MIME-type", +rel:"Relativ side til destination", +rev:"Relativ destination til side", +tabindex:"Tabindex", +accesskey:"Genvejstast", +ltr:"Venstre mod h\u00F8jre", +rtl:"H\u00F8jre mod venstre", +link_list:"Liste over links" }); \ No newline at end of file diff --git a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/advlink/langs/de_dlg.js b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/advlink/langs/de_dlg.js old mode 100644 new mode 100755 index 5a68302d94..6fdfbe2586 --- a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/advlink/langs/de_dlg.js +++ b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/advlink/langs/de_dlg.js @@ -1,52 +1,52 @@ -tinyMCE.addI18n('de.advlink_dlg',{ -title:"Link einf\u00FCgen/bearbeiten", -url:"Adresse", -target:"Fenster", -titlefield:"Titel", -is_email:"Diese Adresse scheint eine E-Mail-Adresse zu sein. M\u00F6chten Sie das dazu ben\u00F6tigte \"mailto:\" voranstellen?", -is_external:"Diese Adresse scheint ein externer Link zu sein. M\u00F6chten Sie das dazu ben\u00F6tigte \"http://\" voranstellen?", -list:"Linkliste", -general_tab:"Allgemein", -popup_tab:"Popup", -events_tab:"Ereignisse", -advanced_tab:"Erweitert", -general_props:"Allemeine Eigenschaften", -popup_props:"Popup-Eigenschaften", -event_props:"Ereignisse", -advanced_props:"Erweiterte Eigenschaften", -popup_opts:"Optionen", -anchor_names:"Anker", -target_same:"Im selben Fenster/Frame \u00F6ffnen", -target_parent:"Im \u00FCbergeordneten Fenster/Frame \u00F6ffnen", -target_top:"Im obersten Frame \u00F6ffnen (sprengt das Frameset)", -target_blank:"In neuem Fenster \u00F6ffnen", -popup:"JavaScript-Popup", -popup_url:"Popup-Adresse", -popup_name:"Name des Fensters", -popup_return:"Link trotz Popup folgen", -popup_scrollbars:"Scrollbalken anzeigen", -popup_statusbar:"Statusleiste anzeigen", -popup_toolbar:"Werkzeugleisten anzeigen", -popup_menubar:"Browsermen\u00FC anzeigen", -popup_location:"Adressleiste anzeigen", -popup_resizable:"Vergr\u00F6\u00DFern des Fenster zulassen", -popup_dependent:"Vom Elternfenster abh\u00E4ngig
    (nur Mozilla/Firefox) ", -popup_size:"Gr\u00F6\u00DFe", -popup_position:"Position (X/Y)", -id:"ID", -style:"Format", -classes:"Klassen", -target_name:"Name der Zielseite", -langdir:"Schriftrichtung", -target_langcode:"Sprache der Zielseite", -langcode:"Sprachcode", -encoding:"Zeichenkodierung der Zielseite", -mime:"MIME-Type der Zielseite", -rel:"Beziehung der Seite zum Linkziel", -rev:"Beziehung des Linkziels zur Seite", -tabindex:"Tabindex", -accesskey:"Tastenk\u00FCrzel", -ltr:"Links nach rechts", -rtl:"Rechts nach links", -link_list:"Linkliste" +tinyMCE.addI18n('de.advlink_dlg',{ +title:"Link einf\u00FCgen/bearbeiten", +url:"Adresse", +target:"Fenster", +titlefield:"Titel", +is_email:"Diese Adresse scheint eine E-Mail-Adresse zu sein. M\u00F6chten Sie das dazu ben\u00F6tigte \"mailto:\" voranstellen?", +is_external:"Diese Adresse scheint ein externer Link zu sein. M\u00F6chten Sie das dazu ben\u00F6tigte \"http://\" voranstellen?", +list:"Linkliste", +general_tab:"Allgemein", +popup_tab:"Popup", +events_tab:"Ereignisse", +advanced_tab:"Erweitert", +general_props:"Allemeine Eigenschaften", +popup_props:"Popup-Eigenschaften", +event_props:"Ereignisse", +advanced_props:"Erweiterte Eigenschaften", +popup_opts:"Optionen", +anchor_names:"Anker", +target_same:"Im selben Fenster/Frame \u00F6ffnen", +target_parent:"Im \u00FCbergeordneten Fenster/Frame \u00F6ffnen", +target_top:"Im obersten Frame \u00F6ffnen (sprengt das Frameset)", +target_blank:"In neuem Fenster \u00F6ffnen", +popup:"JavaScript-Popup", +popup_url:"Popup-Adresse", +popup_name:"Name des Fensters", +popup_return:"Link trotz Popup folgen", +popup_scrollbars:"Scrollbalken anzeigen", +popup_statusbar:"Statusleiste anzeigen", +popup_toolbar:"Werkzeugleisten anzeigen", +popup_menubar:"Browsermen\u00FC anzeigen", +popup_location:"Adressleiste anzeigen", +popup_resizable:"Vergr\u00F6\u00DFern des Fenster zulassen", +popup_dependent:"Vom Elternfenster abh\u00E4ngig
    (nur Mozilla/Firefox) ", +popup_size:"Gr\u00F6\u00DFe", +popup_position:"Position (X/Y)", +id:"ID", +style:"Format", +classes:"Klassen", +target_name:"Name der Zielseite", +langdir:"Schriftrichtung", +target_langcode:"Sprache der Zielseite", +langcode:"Sprachcode", +encoding:"Zeichenkodierung der Zielseite", +mime:"MIME-Type der Zielseite", +rel:"Beziehung der Seite zum Linkziel", +rev:"Beziehung des Linkziels zur Seite", +tabindex:"Tabindex", +accesskey:"Tastenk\u00FCrzel", +ltr:"Links nach rechts", +rtl:"Rechts nach links", +link_list:"Linkliste" }); \ No newline at end of file diff --git a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/advlink/langs/en_dlg.js b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/advlink/langs/en_dlg.js old mode 100644 new mode 100755 index c71ffbd0f1..8ef9c792b4 --- a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/advlink/langs/en_dlg.js +++ b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/advlink/langs/en_dlg.js @@ -1,52 +1,52 @@ -tinyMCE.addI18n('en.advlink_dlg',{ -title:"Insert/edit link", -url:"Link URL", -target:"Target", -titlefield:"Title", -is_email:"The URL you entered seems to be an email address, do you want to add the required mailto: prefix?", -is_external:"The URL you entered seems to external link, do you want to add the required http:// prefix?", -list:"Link list", -general_tab:"General", -popup_tab:"Popup", -events_tab:"Events", -advanced_tab:"Advanced", -general_props:"General properties", -popup_props:"Popup properties", -event_props:"Events", -advanced_props:"Advanced properties", -popup_opts:"Options", -anchor_names:"Anchors", -target_same:"Open in this window / frame", -target_parent:"Open in parent window / frame", -target_top:"Open in top frame (replaces all frames)", -target_blank:"Open in new window", -popup:"Javascript popup", -popup_url:"Popup URL", -popup_name:"Window name", -popup_return:"Insert 'return false'", -popup_scrollbars:"Show scrollbars", -popup_statusbar:"Show status bar", -popup_toolbar:"Show toolbars", -popup_menubar:"Show menu bar", -popup_location:"Show location bar", -popup_resizable:"Make window resizable", -popup_dependent:"Dependent (Mozilla/Firefox only)", -popup_size:"Size", -popup_position:"Position (X/Y)", -id:"Id", -style:"Style", -classes:"Classes", -target_name:"Target name", -langdir:"Language direction", -target_langcode:"Target language", -langcode:"Language code", -encoding:"Target character encoding", -mime:"Target MIME type", -rel:"Relationship page to target", -rev:"Relationship target to page", -tabindex:"Tabindex", -accesskey:"Accesskey", -ltr:"Left to right", -rtl:"Right to left", -link_list:"Link list" +tinyMCE.addI18n('en.advlink_dlg',{ +title:"Insert/edit link", +url:"Link URL", +target:"Target", +titlefield:"Title", +is_email:"The URL you entered seems to be an email address, do you want to add the required mailto: prefix?", +is_external:"The URL you entered seems to external link, do you want to add the required http:// prefix?", +list:"Link list", +general_tab:"General", +popup_tab:"Popup", +events_tab:"Events", +advanced_tab:"Advanced", +general_props:"General properties", +popup_props:"Popup properties", +event_props:"Events", +advanced_props:"Advanced properties", +popup_opts:"Options", +anchor_names:"Anchors", +target_same:"Open in this window / frame", +target_parent:"Open in parent window / frame", +target_top:"Open in top frame (replaces all frames)", +target_blank:"Open in new window", +popup:"Javascript popup", +popup_url:"Popup URL", +popup_name:"Window name", +popup_return:"Insert 'return false'", +popup_scrollbars:"Show scrollbars", +popup_statusbar:"Show status bar", +popup_toolbar:"Show toolbars", +popup_menubar:"Show menu bar", +popup_location:"Show location bar", +popup_resizable:"Make window resizable", +popup_dependent:"Dependent (Mozilla/Firefox only)", +popup_size:"Size", +popup_position:"Position (X/Y)", +id:"Id", +style:"Style", +classes:"Classes", +target_name:"Target name", +langdir:"Language direction", +target_langcode:"Target language", +langcode:"Language code", +encoding:"Target character encoding", +mime:"Target MIME type", +rel:"Relationship page to target", +rev:"Relationship target to page", +tabindex:"Tabindex", +accesskey:"Accesskey", +ltr:"Left to right", +rtl:"Right to left", +link_list:"Link list" }); \ No newline at end of file diff --git a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/advlink/langs/es_dlg.js b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/advlink/langs/es_dlg.js old mode 100644 new mode 100755 index d99c45cc6e..8f2056993d --- a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/advlink/langs/es_dlg.js +++ b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/advlink/langs/es_dlg.js @@ -1,52 +1,52 @@ -tinyMCE.addI18n('es.advlink_dlg',{ -title:"Insertar/editar hiperv\u00EDnculo", -url:"URL del hiperv\u00EDnculo", -target:"Destino", -titlefield:"T\u00EDtulo", -is_email:"La URL que ha introducido parece ser una direci\u00F3n de correo, \u00BFdesea agregar el prefijo mailto: necesario?", -is_external:"La URL que ha introducido parece ser un v\u00EDnculo externo, \u00BFdesea agregar el prefijo http:// necesario?", -list:"Lista de v\u00EDnculos", -general_tab:"General", -popup_tab:"Ventana emergente", -events_tab:"Eventos", -advanced_tab:"Avanzado", -general_props:"Propiedades generales", -popup_props:"Propiedades de ventanas emergentes", -event_props:"Eventos", -advanced_props:"Propiedades avanzadas", -popup_opts:"Opciones", -anchor_names:"Anclas", -target_same:"Abrir en esta ventana / marco", -target_parent:"Abrir en ventana padre / marco", -target_top:"Abrir en el marco superior (reemplaza todos los marcos)", -target_blank:"Abrir en ventana nueva", -popup:"Javascript popup", -popup_url:"URL de la ventana emergente", -popup_name:"Nombre de la ventana", -popup_return:"Insertar 'return false'", -popup_scrollbars:"Barras de desplazamiento", -popup_statusbar:"Barra de estado", -popup_toolbar:"Barra de herramientas", -popup_menubar:"Barra de men\u00FA", -popup_location:"Barra de localizaci\u00F3n", -popup_resizable:"Permitir cambiar el tama\u00F1o de la ventana", -popup_dependent:"Dependientes (s\u00F3lo Mozilla/Firefox)", -popup_size:"Tama\u00F1o", -popup_position:"Posici\u00F3n (X/Y)", -id:"Id", -style:"Estilo", -classes:"Clases", -target_name:"Nombre del Target", -langdir:"Direcci\u00F3n del lenguaje", -target_langcode:"Lenguaje del Target", -langcode:"C\u00F3digo del lenguaje", -encoding:"Codificaci\u00F3n de caracteres del Target", -mime:"Tipo MIME del Target", -rel:"Relaci\u00F3n p\u00E1gina a target", -rev:"Relaci\u00F3n target a p\u00E1gina", -tabindex:"Indice de tabulaci\u00F3n", -accesskey:"Tecla de acceso", -ltr:"Izquierda a derecha", -rtl:"Derecha a izquierda", -link_list:"Lista de v\u00EDnculo" +tinyMCE.addI18n('es.advlink_dlg',{ +title:"Insertar/editar hiperv\u00EDnculo", +url:"URL del hiperv\u00EDnculo", +target:"Destino", +titlefield:"T\u00EDtulo", +is_email:"La URL que ha introducido parece ser una direci\u00F3n de correo, \u00BFdesea agregar el prefijo mailto: necesario?", +is_external:"La URL que ha introducido parece ser un v\u00EDnculo externo, \u00BFdesea agregar el prefijo http:// necesario?", +list:"Lista de v\u00EDnculos", +general_tab:"General", +popup_tab:"Ventana emergente", +events_tab:"Eventos", +advanced_tab:"Avanzado", +general_props:"Propiedades generales", +popup_props:"Propiedades de ventanas emergentes", +event_props:"Eventos", +advanced_props:"Propiedades avanzadas", +popup_opts:"Opciones", +anchor_names:"Anclas", +target_same:"Abrir en esta ventana / marco", +target_parent:"Abrir en ventana padre / marco", +target_top:"Abrir en el marco superior (reemplaza todos los marcos)", +target_blank:"Abrir en ventana nueva", +popup:"Javascript popup", +popup_url:"URL de la ventana emergente", +popup_name:"Nombre de la ventana", +popup_return:"Insertar 'return false'", +popup_scrollbars:"Barras de desplazamiento", +popup_statusbar:"Barra de estado", +popup_toolbar:"Barra de herramientas", +popup_menubar:"Barra de men\u00FA", +popup_location:"Barra de localizaci\u00F3n", +popup_resizable:"Permitir cambiar el tama\u00F1o de la ventana", +popup_dependent:"Dependientes (s\u00F3lo Mozilla/Firefox)", +popup_size:"Tama\u00F1o", +popup_position:"Posici\u00F3n (X/Y)", +id:"Id", +style:"Estilo", +classes:"Clases", +target_name:"Nombre del Target", +langdir:"Direcci\u00F3n del lenguaje", +target_langcode:"Lenguaje del Target", +langcode:"C\u00F3digo del lenguaje", +encoding:"Codificaci\u00F3n de caracteres del Target", +mime:"Tipo MIME del Target", +rel:"Relaci\u00F3n p\u00E1gina a target", +rev:"Relaci\u00F3n target a p\u00E1gina", +tabindex:"Indice de tabulaci\u00F3n", +accesskey:"Tecla de acceso", +ltr:"Izquierda a derecha", +rtl:"Derecha a izquierda", +link_list:"Lista de v\u00EDnculo" }); \ No newline at end of file diff --git a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/advlink/langs/fa_dlg.js b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/advlink/langs/fa_dlg.js old mode 100644 new mode 100755 index b6ca3eea31..84319d586c --- a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/advlink/langs/fa_dlg.js +++ b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/advlink/langs/fa_dlg.js @@ -1,52 +1,52 @@ -tinyMCE.addI18n('fa.advlink_dlg',{ -title:"\u062F\u0631\u062C/\u0648\u06CC\u0631\u0627\u06CC\u0634 \u0644\u06CC\u0646\u06A9", -url:"URL \u0644\u06CC\u0646\u06A9", -target:"\u0645\u0642\u0635\u062F (Target)", -titlefield:"\u0639\u0646\u0648\u0627\u0646", -is_email:"URL \u06CC \u06A9\u0647 \u0648\u0627\u0631\u062F \u06A9\u0631\u062F\u0647 \u0627\u06CC\u062F \u0628\u0647 \u0646\u0638\u0631 \u0645\u06CC \u0622\u06CC\u062F \u06A9\u0647 \u06CC\u06A9 \u0622\u062F\u0631\u0633 \u0627\u06CC\u0645\u06CC\u0644 \u0645\u06CC \u0628\u0627\u0634\u062F \u060C \u0622\u06CC\u0627 \u0645\u0627\u06CC\u0644\u06CC\u062F \u062A\u0627 \u067E\u06CC\u0634\u0648\u0646\u062F \u0644\u0627\u0632\u0645\u0647 :mailto \u0631\u0627 \u0627\u0636\u0627\u0641\u0647 \u0646\u0645\u0627\u0626\u06CC\u062F\u061F", -is_external:"URL \u06CC \u06A9\u0647 \u0648\u0627\u0631\u062F \u06A9\u0631\u062F\u0647 \u0627\u06CC\u062F \u0628\u0647 \u0646\u0638\u0631 \u0645\u06CC \u0622\u06CC\u062F \u06A9\u0647 \u06CC\u06A9 \u0644\u06CC\u0646\u06A9 \u062E\u0627\u0631\u062C\u06CC \u0645\u06CC \u0628\u0627\u0634\u062F \u060C \u0622\u06CC\u0627 \u0645\u0627\u06CC\u0644\u06CC\u062F \u062A\u0627 \u067E\u06CC\u0634\u0648\u0646\u062F \u0644\u0627\u0632\u0645\u0647 //:http \u0631\u0627 \u0627\u0636\u0627\u0641\u0647 \u0646\u0645\u0627\u0626\u06CC\u062F\u061F", -list:"\u0644\u06CC\u0633\u062A \u0644\u06CC\u0646\u06A9", -general_tab:"\u0639\u0645\u0648\u0645\u06CC", -popup_tab:"\u067E\u0646\u062C\u0631\u0647 \u0628\u0627\u0632\u0634\u0648 (Popup)", -events_tab:"\u0631\u0648\u06CC\u062F\u0627\u062F\u0647\u0627", -advanced_tab:"\u067E\u06CC\u0634\u0631\u0641\u062A\u0647", -general_props:"\u0645\u0634\u062E\u0635\u0627\u062A \u0639\u0645\u0648\u0645\u06CC", -popup_props:"\u0645\u0634\u062E\u0635\u0627\u062A \u067E\u0646\u062C\u0631\u0647 \u0628\u0627\u0632\u0634\u0648 (Popup)", -event_props:"\u0631\u0648\u06CC\u062F\u0627\u062F\u0647\u0627", -advanced_props:"\u0645\u0634\u062E\u0635\u0627\u062A \u067E\u06CC\u0634\u0631\u0641\u062A\u0647", -popup_opts:"\u06AF\u0632\u06CC\u0646\u0647 \u0647\u0627", -anchor_names:"\u0644\u0646\u06AF\u0631\u0647\u0627 (Anchor)", -target_same:"\u0628\u0627\u0632\u0634\u062F\u0646 \u062F\u0631 \u0627\u06CC\u0646 \u067E\u0646\u062C\u0631\u0647 / \u0642\u0627\u0628 (Frame)", -target_parent:"\u0628\u0627\u0632\u0634\u062F\u0646 \u062F\u0631 \u067E\u0646\u062C\u0631\u0647 / \u0642\u0627\u0628 \u0648\u0627\u0644\u062F (Parent Frame)", -target_top:"\u0628\u0627\u0632\u0634\u062F\u0646 \u062F\u0631 \u0642\u0627\u0628 \u0628\u0627\u0644\u0627 (Top Frame) (\u062A\u0645\u0627\u0645\u06CC \u0642\u0627\u0628 \u0647\u0627 \u0631\u0627 \u062A\u0639\u0648\u06CC\u0636 \u0645\u06CC \u06A9\u0646\u062F)", -target_blank:"\u0628\u0627\u0632\u0634\u062F\u0646 \u062F\u0631 \u067E\u0646\u062C\u0631\u0647 \u062C\u062F\u06CC\u062F", -popup:"\u067E\u0646\u062C\u0631\u0647 \u0628\u0627\u0632\u0634\u0648\u06CC Javascript", -popup_url:"URL \u067E\u0646\u062C\u0631\u0647 \u0628\u0627\u0632\u0634\u0648 (Popup)", -popup_name:"\u0646\u0627\u0645 \u067E\u0646\u062C\u0631\u0647", -popup_return:"\u062F\u0631\u062C 'return false'", -popup_scrollbars:"\u0646\u0645\u0627\u06CC\u0634 \u0646\u0648\u0627\u0631 \u067E\u06CC\u0645\u0627\u06CC\u0634 \u0647\u0627", -popup_statusbar:"\u0646\u0645\u0627\u06CC\u0634 \u0646\u0648\u0627\u0631 \u0648\u0636\u0639\u06CC\u062A", -popup_toolbar:"\u0646\u0645\u0627\u06CC\u0634 \u0646\u0648\u0627\u0631 \u0627\u0628\u0632\u0627\u0631", -popup_menubar:"\u0646\u0645\u0627\u06CC\u0634 \u0646\u0648\u0627\u0631 \u0645\u0646\u0648", -popup_location:"\u0646\u0645\u0627\u06CC\u0634 \u0646\u0648\u0627\u0631 \u0645\u06A9\u0627\u0646", -popup_resizable:"\u0627\u06CC\u062C\u0627\u062F \u067E\u0646\u062C\u0631\u0647 \u0642\u0627\u0628\u0644 \u0627\u0646\u062F\u0627\u0632\u0647 \u0628\u0646\u062F\u06CC \u0645\u062C\u062F\u062F", -popup_dependent:"\u0648\u0627\u0628\u0633\u062A\u0647 (\u0641\u0642\u0637 Mozilla/Firefox)", -popup_size:"\u0627\u0646\u062F\u0627\u0632\u0647", -popup_position:"\u0645\u0648\u0642\u0639\u06CC\u062A (X/Y)", -id:"\u0634\u0646\u0627\u0633\u0647", -style:"\u0627\u0633\u062A\u06CC\u0644", -classes:"\u06A9\u0644\u0627\u0633 \u0647\u0627", -target_name:"\u0646\u0627\u0645 \u0645\u0642\u0635\u062F (Target)", -langdir:"\u062C\u0647\u062A \u0632\u0628\u0627\u0646", -target_langcode:"\u0632\u0628\u0627\u0646 \u0645\u0642\u0635\u062F (Target)", -langcode:"\u06A9\u062F \u0632\u0628\u0627\u0646", -encoding:"\u0631\u0645\u0632\u06AF\u0630\u0627\u0631\u06CC \u06A9\u0627\u0631\u0627\u06A9\u062A\u0631 \u0645\u0642\u0635\u062F (Target)", -mime:"\u0646\u0648\u0639 MIME \u0645\u0642\u0635\u062F (Target)", -rel:"\u0631\u0627\u0628\u0637\u0647 \u0635\u0641\u062D\u0647 \u0628\u0627 \u0645\u0642\u0635\u062F (Target)", -rev:"\u0631\u0627\u0628\u0637\u0647 \u0645\u0642\u0635\u062F (Target) \u0628\u0627 \u0635\u0641\u062D\u0647", -tabindex:"Tabindex", -accesskey:"Accesskey", -ltr:"\u0686\u067E \u0628\u0647 \u0631\u0627\u0633\u062A", -rtl:"\u0631\u0627\u0633\u062A \u0628\u0647 \u0686\u067E", -link_list:"\u0644\u06CC\u0633\u062A \u0644\u06CC\u0646\u06A9" +tinyMCE.addI18n('fa.advlink_dlg',{ +title:"\u062F\u0631\u062C/\u0648\u06CC\u0631\u0627\u06CC\u0634 \u0644\u06CC\u0646\u06A9", +url:"URL \u0644\u06CC\u0646\u06A9", +target:"\u0645\u0642\u0635\u062F (Target)", +titlefield:"\u0639\u0646\u0648\u0627\u0646", +is_email:"URL \u06CC \u06A9\u0647 \u0648\u0627\u0631\u062F \u06A9\u0631\u062F\u0647 \u0627\u06CC\u062F \u0628\u0647 \u0646\u0638\u0631 \u0645\u06CC \u0622\u06CC\u062F \u06A9\u0647 \u06CC\u06A9 \u0622\u062F\u0631\u0633 \u0627\u06CC\u0645\u06CC\u0644 \u0645\u06CC \u0628\u0627\u0634\u062F \u060C \u0622\u06CC\u0627 \u0645\u0627\u06CC\u0644\u06CC\u062F \u062A\u0627 \u067E\u06CC\u0634\u0648\u0646\u062F \u0644\u0627\u0632\u0645\u0647 :mailto \u0631\u0627 \u0627\u0636\u0627\u0641\u0647 \u0646\u0645\u0627\u0626\u06CC\u062F\u061F", +is_external:"URL \u06CC \u06A9\u0647 \u0648\u0627\u0631\u062F \u06A9\u0631\u062F\u0647 \u0627\u06CC\u062F \u0628\u0647 \u0646\u0638\u0631 \u0645\u06CC \u0622\u06CC\u062F \u06A9\u0647 \u06CC\u06A9 \u0644\u06CC\u0646\u06A9 \u062E\u0627\u0631\u062C\u06CC \u0645\u06CC \u0628\u0627\u0634\u062F \u060C \u0622\u06CC\u0627 \u0645\u0627\u06CC\u0644\u06CC\u062F \u062A\u0627 \u067E\u06CC\u0634\u0648\u0646\u062F \u0644\u0627\u0632\u0645\u0647 //:http \u0631\u0627 \u0627\u0636\u0627\u0641\u0647 \u0646\u0645\u0627\u0626\u06CC\u062F\u061F", +list:"\u0644\u06CC\u0633\u062A \u0644\u06CC\u0646\u06A9", +general_tab:"\u0639\u0645\u0648\u0645\u06CC", +popup_tab:"\u067E\u0646\u062C\u0631\u0647 \u0628\u0627\u0632\u0634\u0648 (Popup)", +events_tab:"\u0631\u0648\u06CC\u062F\u0627\u062F\u0647\u0627", +advanced_tab:"\u067E\u06CC\u0634\u0631\u0641\u062A\u0647", +general_props:"\u0645\u0634\u062E\u0635\u0627\u062A \u0639\u0645\u0648\u0645\u06CC", +popup_props:"\u0645\u0634\u062E\u0635\u0627\u062A \u067E\u0646\u062C\u0631\u0647 \u0628\u0627\u0632\u0634\u0648 (Popup)", +event_props:"\u0631\u0648\u06CC\u062F\u0627\u062F\u0647\u0627", +advanced_props:"\u0645\u0634\u062E\u0635\u0627\u062A \u067E\u06CC\u0634\u0631\u0641\u062A\u0647", +popup_opts:"\u06AF\u0632\u06CC\u0646\u0647 \u0647\u0627", +anchor_names:"\u0644\u0646\u06AF\u0631\u0647\u0627 (Anchor)", +target_same:"\u0628\u0627\u0632\u0634\u062F\u0646 \u062F\u0631 \u0627\u06CC\u0646 \u067E\u0646\u062C\u0631\u0647 / \u0642\u0627\u0628 (Frame)", +target_parent:"\u0628\u0627\u0632\u0634\u062F\u0646 \u062F\u0631 \u067E\u0646\u062C\u0631\u0647 / \u0642\u0627\u0628 \u0648\u0627\u0644\u062F (Parent Frame)", +target_top:"\u0628\u0627\u0632\u0634\u062F\u0646 \u062F\u0631 \u0642\u0627\u0628 \u0628\u0627\u0644\u0627 (Top Frame) (\u062A\u0645\u0627\u0645\u06CC \u0642\u0627\u0628 \u0647\u0627 \u0631\u0627 \u062A\u0639\u0648\u06CC\u0636 \u0645\u06CC \u06A9\u0646\u062F)", +target_blank:"\u0628\u0627\u0632\u0634\u062F\u0646 \u062F\u0631 \u067E\u0646\u062C\u0631\u0647 \u062C\u062F\u06CC\u062F", +popup:"\u067E\u0646\u062C\u0631\u0647 \u0628\u0627\u0632\u0634\u0648\u06CC Javascript", +popup_url:"URL \u067E\u0646\u062C\u0631\u0647 \u0628\u0627\u0632\u0634\u0648 (Popup)", +popup_name:"\u0646\u0627\u0645 \u067E\u0646\u062C\u0631\u0647", +popup_return:"\u062F\u0631\u062C 'return false'", +popup_scrollbars:"\u0646\u0645\u0627\u06CC\u0634 \u0646\u0648\u0627\u0631 \u067E\u06CC\u0645\u0627\u06CC\u0634 \u0647\u0627", +popup_statusbar:"\u0646\u0645\u0627\u06CC\u0634 \u0646\u0648\u0627\u0631 \u0648\u0636\u0639\u06CC\u062A", +popup_toolbar:"\u0646\u0645\u0627\u06CC\u0634 \u0646\u0648\u0627\u0631 \u0627\u0628\u0632\u0627\u0631", +popup_menubar:"\u0646\u0645\u0627\u06CC\u0634 \u0646\u0648\u0627\u0631 \u0645\u0646\u0648", +popup_location:"\u0646\u0645\u0627\u06CC\u0634 \u0646\u0648\u0627\u0631 \u0645\u06A9\u0627\u0646", +popup_resizable:"\u0627\u06CC\u062C\u0627\u062F \u067E\u0646\u062C\u0631\u0647 \u0642\u0627\u0628\u0644 \u0627\u0646\u062F\u0627\u0632\u0647 \u0628\u0646\u062F\u06CC \u0645\u062C\u062F\u062F", +popup_dependent:"\u0648\u0627\u0628\u0633\u062A\u0647 (\u0641\u0642\u0637 Mozilla/Firefox)", +popup_size:"\u0627\u0646\u062F\u0627\u0632\u0647", +popup_position:"\u0645\u0648\u0642\u0639\u06CC\u062A (X/Y)", +id:"\u0634\u0646\u0627\u0633\u0647", +style:"\u0627\u0633\u062A\u06CC\u0644", +classes:"\u06A9\u0644\u0627\u0633 \u0647\u0627", +target_name:"\u0646\u0627\u0645 \u0645\u0642\u0635\u062F (Target)", +langdir:"\u062C\u0647\u062A \u0632\u0628\u0627\u0646", +target_langcode:"\u0632\u0628\u0627\u0646 \u0645\u0642\u0635\u062F (Target)", +langcode:"\u06A9\u062F \u0632\u0628\u0627\u0646", +encoding:"\u0631\u0645\u0632\u06AF\u0630\u0627\u0631\u06CC \u06A9\u0627\u0631\u0627\u06A9\u062A\u0631 \u0645\u0642\u0635\u062F (Target)", +mime:"\u0646\u0648\u0639 MIME \u0645\u0642\u0635\u062F (Target)", +rel:"\u0631\u0627\u0628\u0637\u0647 \u0635\u0641\u062D\u0647 \u0628\u0627 \u0645\u0642\u0635\u062F (Target)", +rev:"\u0631\u0627\u0628\u0637\u0647 \u0645\u0642\u0635\u062F (Target) \u0628\u0627 \u0635\u0641\u062D\u0647", +tabindex:"Tabindex", +accesskey:"Accesskey", +ltr:"\u0686\u067E \u0628\u0647 \u0631\u0627\u0633\u062A", +rtl:"\u0631\u0627\u0633\u062A \u0628\u0647 \u0686\u067E", +link_list:"\u0644\u06CC\u0633\u062A \u0644\u06CC\u0646\u06A9" }); \ No newline at end of file diff --git a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/advlink/langs/fi_dlg.js b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/advlink/langs/fi_dlg.js old mode 100644 new mode 100755 index 9cf87a4ce7..57fcf550cc --- a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/advlink/langs/fi_dlg.js +++ b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/advlink/langs/fi_dlg.js @@ -1,52 +1,52 @@ -tinyMCE.addI18n('fi.advlink_dlg',{ -title:"Lis\u00E4\u00E4/muokkaa linkki\u00E4", -url:"Linkin URL", -target:"Kohde (target)", -titlefield:"Otsikko", -is_email:"Sy\u00F6tt\u00E4m\u00E4si URL n\u00E4ytt\u00E4\u00E4 olevan s\u00E4hk\u00F6postiosoite, haluatko lis\u00E4t\u00E4 mailto:-etuliitteen?", -is_external:"Sy\u00F6tt\u00E4m\u00E4si URL n\u00E4ytt\u00E4\u00E4 olevan sivuston ulkoinen osoite, haluatko lis\u00E4t\u00E4 http://-etuliitteen?", -list:"Linkkilista", -general_tab:"Yleiset", -popup_tab:"Ponnahdusikkuna", -events_tab:"Tapahtumat", -advanced_tab:"Edistynyt", -general_props:"Yleiset asetukset", -popup_props:"Ponnahdusikkunan asetukset", -event_props:"Tapahtumat (events)", -advanced_props:"Edistyneet asetukset", -popup_opts:"Valinta", -anchor_names:"Ankkurit", -target_same:"Avaa t\u00E4ss\u00E4 ikkunassa", -target_parent:"Avaa ylemm\u00E4ss\u00E4 ikkunassa", -target_top:"Avaa ylimm\u00E4ss\u00E4 ruudussa (korvaa kaikki ruudut)", -target_blank:"Avaa uudessa ikkunassa", -popup:"Javascript ponnahdusikkuna", -popup_url:"Ponnahdusikkunan URL", -popup_name:"Ikkunan nimi", -popup_return:"Lis\u00E4\u00E4 'return false'", -popup_scrollbars:"N\u00E4yt\u00E4 vierityspalkit", -popup_statusbar:"N\u00E4yt\u00E4 tilapalkki", -popup_toolbar:"N\u00E4yt\u00E4 ty\u00F6kalut", -popup_menubar:"N\u00E4yt\u00E4 valikkopalkki", -popup_location:"N\u00E4yt\u00E4 sijaintipalkki", -popup_resizable:"Tee ikkunan koko muokattavaksi", -popup_dependent:"Riippuvainen (vain Mozilla/Firefox)", -popup_size:"Koko", -popup_position:"Sijainti (X/Y)", -id:"Id", -style:"Tyyli", -classes:"Luokat", -target_name:"Kohteen nimi", -langdir:"Kielen suunta", -target_langcode:"Kohteen kieli", -langcode:"Kielen koodi", -encoding:"Kohteen merkist\u00F6koodaus", -mime:"Kohteen MIME-tyyppi", -rel:"Sivun suhde kohteeseen", -rev:"Kohteen suhde sivuun", -tabindex:"Tabulaattori-indeksi", -accesskey:"Pikan\u00E4pp\u00E4in", -ltr:"Vasemmalta oikealle", -rtl:"Oikealta vasemmalle", -link_list:"Linkkilista" +tinyMCE.addI18n('fi.advlink_dlg',{ +title:"Lis\u00E4\u00E4/muokkaa linkki\u00E4", +url:"Linkin URL", +target:"Kohde (target)", +titlefield:"Otsikko", +is_email:"Sy\u00F6tt\u00E4m\u00E4si URL n\u00E4ytt\u00E4\u00E4 olevan s\u00E4hk\u00F6postiosoite, haluatko lis\u00E4t\u00E4 mailto:-etuliitteen?", +is_external:"Sy\u00F6tt\u00E4m\u00E4si URL n\u00E4ytt\u00E4\u00E4 olevan sivuston ulkoinen osoite, haluatko lis\u00E4t\u00E4 http://-etuliitteen?", +list:"Linkkilista", +general_tab:"Yleiset", +popup_tab:"Ponnahdusikkuna", +events_tab:"Tapahtumat", +advanced_tab:"Edistynyt", +general_props:"Yleiset asetukset", +popup_props:"Ponnahdusikkunan asetukset", +event_props:"Tapahtumat (events)", +advanced_props:"Edistyneet asetukset", +popup_opts:"Valinta", +anchor_names:"Ankkurit", +target_same:"Avaa t\u00E4ss\u00E4 ikkunassa", +target_parent:"Avaa ylemm\u00E4ss\u00E4 ikkunassa", +target_top:"Avaa ylimm\u00E4ss\u00E4 ruudussa (korvaa kaikki ruudut)", +target_blank:"Avaa uudessa ikkunassa", +popup:"Javascript ponnahdusikkuna", +popup_url:"Ponnahdusikkunan URL", +popup_name:"Ikkunan nimi", +popup_return:"Lis\u00E4\u00E4 'return false'", +popup_scrollbars:"N\u00E4yt\u00E4 vierityspalkit", +popup_statusbar:"N\u00E4yt\u00E4 tilapalkki", +popup_toolbar:"N\u00E4yt\u00E4 ty\u00F6kalut", +popup_menubar:"N\u00E4yt\u00E4 valikkopalkki", +popup_location:"N\u00E4yt\u00E4 sijaintipalkki", +popup_resizable:"Tee ikkunan koko muokattavaksi", +popup_dependent:"Riippuvainen (vain Mozilla/Firefox)", +popup_size:"Koko", +popup_position:"Sijainti (X/Y)", +id:"Id", +style:"Tyyli", +classes:"Luokat", +target_name:"Kohteen nimi", +langdir:"Kielen suunta", +target_langcode:"Kohteen kieli", +langcode:"Kielen koodi", +encoding:"Kohteen merkist\u00F6koodaus", +mime:"Kohteen MIME-tyyppi", +rel:"Sivun suhde kohteeseen", +rev:"Kohteen suhde sivuun", +tabindex:"Tabulaattori-indeksi", +accesskey:"Pikan\u00E4pp\u00E4in", +ltr:"Vasemmalta oikealle", +rtl:"Oikealta vasemmalle", +link_list:"Linkkilista" }); \ No newline at end of file diff --git a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/advlink/langs/fr_dlg.js b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/advlink/langs/fr_dlg.js old mode 100644 new mode 100755 index a17db8f15c..17adf455ae --- a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/advlink/langs/fr_dlg.js +++ b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/advlink/langs/fr_dlg.js @@ -1,52 +1,52 @@ -tinyMCE.addI18n('fr.advlink_dlg',{ -title:"Ins\u00E9rer / \u00E9diter un lien", -url:"URL du lien", -target:"Cible", -titlefield:"Titre", -is_email:"L'URL que vous avez saisie semble \u00EAtre une adresse e-mail, souhaitez-vous ajouter le pr\u00E9fixe \u00AB mailto: \u00BB ?", -is_external:"L'URL que vous avez saisie semble \u00EAtre une adresse web externe. Souhaitez-vous ajouter le pr\u00E9fixe \u00AB http:// \u00BB ?", -list:"Liste de liens", -general_tab:"G\u00E9n\u00E9ral", -popup_tab:"Popup", -events_tab:"\u00C9v\u00E8nements", -advanced_tab:"Avanc\u00E9", -general_props:"Propri\u00E9t\u00E9s g\u00E9n\u00E9rales", -popup_props:"Propri\u00E9t\u00E9s de la popup", -event_props:"\u00C9v\u00E8nements", -advanced_props:"Propri\u00E9t\u00E9s avanc\u00E9es", -popup_opts:"Options", -anchor_names:"Ancres", -target_same:"Ouvrir dans cette fen\u00EAtre / dans ce cadre", -target_parent:"Ouvrir dans la fen\u00EAtre / le cadre parent", -target_top:"Ouvrir dans le cadre principal (remplace tous les cadres)", -target_blank:"Ouvrir dans une nouvelle fen\u00EAtre", -popup:"Popup Javascript", -popup_url:"URL de la popup", -popup_name:"Nom de la fen\u00EAtre", -popup_return:"Ins\u00E9rer 'return false'", -popup_scrollbars:"Afficher les ascenseurs", -popup_statusbar:"Afficher la barre d'\u00E9tat", -popup_toolbar:"Afficher la barre d'outils", -popup_menubar:"Afficher la barre de menu", -popup_location:"Afficher la barre d'adresse", -popup_resizable:"Autoriser le redimensionnement de la fen\u00EAtre", -popup_dependent:"D\u00E9pendante (seulement sous Mozilla/Firefox)", -popup_size:"Taille", -popup_position:"Position (X/Y)", -id:"Id", -style:"Style", -classes:"Classes", -target_name:"Nom de la cible", -langdir:"Sens de lecture", -target_langcode:"Langue de la cible", -langcode:"Code de la langue", -encoding:"Encodage de la cible", -mime:"Type MIME de la cible", -rel:"Relation de la page \u00E0 la cible", -rev:"Relation de la cible \u00E0 la page", -tabindex:"Tabindex", -accesskey:"Touche d'acc\u00E8s rapide", -ltr:"Gauche \u00E0 droite", -rtl:"Droite \u00E0 gauche", -link_list:"Liste des liens" +tinyMCE.addI18n('fr.advlink_dlg',{ +title:"Ins\u00E9rer / \u00E9diter un lien", +url:"URL du lien", +target:"Cible", +titlefield:"Titre", +is_email:"L'URL que vous avez saisie semble \u00EAtre une adresse e-mail, souhaitez-vous ajouter le pr\u00E9fixe \u00AB mailto: \u00BB ?", +is_external:"L'URL que vous avez saisie semble \u00EAtre une adresse web externe. Souhaitez-vous ajouter le pr\u00E9fixe \u00AB http:// \u00BB ?", +list:"Liste de liens", +general_tab:"G\u00E9n\u00E9ral", +popup_tab:"Popup", +events_tab:"\u00C9v\u00E8nements", +advanced_tab:"Avanc\u00E9", +general_props:"Propri\u00E9t\u00E9s g\u00E9n\u00E9rales", +popup_props:"Propri\u00E9t\u00E9s de la popup", +event_props:"\u00C9v\u00E8nements", +advanced_props:"Propri\u00E9t\u00E9s avanc\u00E9es", +popup_opts:"Options", +anchor_names:"Ancres", +target_same:"Ouvrir dans cette fen\u00EAtre / dans ce cadre", +target_parent:"Ouvrir dans la fen\u00EAtre / le cadre parent", +target_top:"Ouvrir dans le cadre principal (remplace tous les cadres)", +target_blank:"Ouvrir dans une nouvelle fen\u00EAtre", +popup:"Popup Javascript", +popup_url:"URL de la popup", +popup_name:"Nom de la fen\u00EAtre", +popup_return:"Ins\u00E9rer 'return false'", +popup_scrollbars:"Afficher les ascenseurs", +popup_statusbar:"Afficher la barre d'\u00E9tat", +popup_toolbar:"Afficher la barre d'outils", +popup_menubar:"Afficher la barre de menu", +popup_location:"Afficher la barre d'adresse", +popup_resizable:"Autoriser le redimensionnement de la fen\u00EAtre", +popup_dependent:"D\u00E9pendante (seulement sous Mozilla/Firefox)", +popup_size:"Taille", +popup_position:"Position (X/Y)", +id:"Id", +style:"Style", +classes:"Classes", +target_name:"Nom de la cible", +langdir:"Sens de lecture", +target_langcode:"Langue de la cible", +langcode:"Code de la langue", +encoding:"Encodage de la cible", +mime:"Type MIME de la cible", +rel:"Relation de la page \u00E0 la cible", +rev:"Relation de la cible \u00E0 la page", +tabindex:"Tabindex", +accesskey:"Touche d'acc\u00E8s rapide", +ltr:"Gauche \u00E0 droite", +rtl:"Droite \u00E0 gauche", +link_list:"Liste des liens" }); \ No newline at end of file diff --git a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/advlink/langs/he_dlg.js b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/advlink/langs/he_dlg.js old mode 100644 new mode 100755 index 602dc9f6c2..b91e4af796 --- a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/advlink/langs/he_dlg.js +++ b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/advlink/langs/he_dlg.js @@ -1,52 +1,52 @@ -tinyMCE.addI18n('he.advlink_dlg',{ -title:"\u05D4\u05D5\u05E1\u05E4\u05D4/\u05E2\u05E8\u05D9\u05DB\u05EA \u05E7\u05D9\u05E9\u05D5\u05E8", -url:"\u05DB\u05EA\u05D5\u05D1\u05EA \u05D4\u05E7\u05D9\u05E9\u05D5\u05E8", -target:"\u05D9\u05E2\u05D3", -titlefield:"\u05DB\u05D5\u05EA\u05E8\u05EA \u05D4\u05E7\u05D9\u05E9\u05D5\u05E8", -is_email:"\u05DB\u05EA\u05D5\u05D1\u05EA \u05D4-URL \u05E9\u05D4\u05D5\u05DB\u05E0\u05E1\u05D4 \u05D4\u05D9\u05D0 \u05DB\u05DB\u05DC \u05D4\u05E0\u05E8\u05D0\u05D4 \u05DB\u05EA\u05D5\u05D1\u05EA \u05DE\u05D9\u05D9\u05DC \u05D4\u05D0\u05DD \u05D1\u05E8\u05E6\u05D5\u05E0\u05DA \u05DC\u05D4\u05D5\u05E1\u05D9\u05E3 \u05D0\u05EA \u05D4\u05E7\u05D9\u05D3\u05D5\u05DE\u05EA MAILTO \u05D4\u05E0\u05D3\u05E8\u05E9\u05EA?", -is_external:"\u05DB\u05EA\u05D5\u05D1\u05EA \u05D4-URL \u05E9\u05D4\u05D5\u05DB\u05E0\u05E1\u05D4 \u05D4\u05D9\u05D0 \u05DB\u05DB\u05DC \u05D4\u05E0\u05E8\u05D0\u05D4 \u05E7\u05D9\u05E9\u05D5\u05E8 \u05D7\u05D9\u05E6\u05D5\u05E0\u05D9 \u05D4\u05D0\u05DD \u05D1\u05E8\u05E6\u05D5\u05E0\u05DA \u05DC\u05D4\u05D5\u05E1\u05D9\u05E3 \u05D0\u05EA \u05D4\u05E7\u05D9\u05D3\u05D5\u05DE\u05EA http:// \u05D4\u05E0\u05D3\u05E8\u05E9\u05EA?", -list:"\u05E8\u05E9\u05D9\u05DE\u05EA \u05E7\u05D9\u05E9\u05D5\u05E8\u05D9\u05DD", -general_tab:"\u05DB\u05DC\u05DC\u05D9", -popup_tab:"\u05D7\u05DC\u05D5\u05DF \u05DE\u05D5\u05E7\u05E4\u05E5", -events_tab:"\u05D0\u05E8\u05D5\u05E2\u05D9\u05DD", -advanced_tab:"\u05DE\u05EA\u05E7\u05D3\u05DD", -general_props:"\u05EA\u05DB\u05D5\u05E0\u05D5\u05EA \u05DB\u05DC\u05DC\u05D9\u05D5\u05EA", -popup_props:"\u05EA\u05DB\u05D5\u05E0\u05D5\u05EA \u05D7\u05DC\u05D5\u05DF \u05DE\u05D5\u05E7\u05E4\u05E5", -event_props:"\u05DE\u05D0\u05D5\u05E8\u05E2\u05D5\u05EA", -advanced_props:"\u05EA\u05DB\u05D5\u05E0\u05D5\u05EA \u05DE\u05EA\u05E7\u05D3\u05DE\u05D5\u05EA", -popup_opts:"\u05D0\u05E4\u05E9\u05E8\u05D5\u05D9\u05D5\u05EA", -anchor_names:"\u05E7\u05D9\u05E9\u05D5\u05E8 \u05DC\u05E1\u05D9\u05DE\u05E0\u05D9\u05D4", -target_same:"\u05E4\u05EA\u05D9\u05D7\u05D4 \u05D1\u05D7\u05DC\u05D5\u05DF \u05D7\u05D3\u05E9/\u05D7\u05DC\u05D5\u05DF \u05D1\u05DF", -target_parent:"\u05E4\u05EA\u05D9\u05D7\u05D4 \u05D1\u05DC\u05D5\u05DF \u05D4\u05D0\u05D1\u05D0/\u05D7\u05DC\u05D5\u05DF \u05D1\u05DF", -target_top:"\u05E4\u05EA\u05D9\u05D7\u05D4 \u05D1\u05D7\u05DC\u05D5\u05DF \u05D4\u05D1\u05DF \u05D4\u05E8\u05D0\u05E9\u05D9(\u05DE\u05D7\u05DC\u05D9\u05E3 \u05D0\u05EA \u05DB\u05DC \u05D7\u05DC\u05D5\u05E0\u05D5\u05EA \u05D4\u05D1\u05E0\u05D9\u05DD)", -target_blank:"\u05E4\u05EA\u05D9\u05D7\u05D4 \u05D1\u05D7\u05DC\u05D5\u05DF \u05D7\u05D3\u05E9", -popup:"\u05D7\u05DC\u05D5\u05DF \u05DE\u05D5\u05E7\u05E4\u05E5 javascript", -popup_url:"\u05D7\u05DC\u05D5\u05DF \u05DE\u05D5\u05E7\u05E4\u05E5 URL", -popup_name:"\u05E9\u05DD \u05D4\u05D7\u05DC\u05D5\u05DF", -popup_return:"\u05D9\u05E9 \u05DC\u05D4\u05DB\u05E0\u05D9\u05E1 'return false'", -popup_scrollbars:"\u05D4\u05E6\u05D2\u05EA \u05E4\u05E1 \u05D2\u05DC\u05D9\u05DC\u05D4", -popup_statusbar:"\u05D4\u05E6\u05D2\u05EA \u05E9\u05D5\u05E8\u05EA \u05E1\u05D8\u05D0\u05D8\u05D5\u05E1", -popup_toolbar:"\u05D4\u05E6\u05D2\u05EA \u05E1\u05E8\u05D2\u05DC\u05D9 \u05DB\u05DC\u05D9\u05DD", -popup_menubar:"\u05D4\u05E6\u05D2\u05EA \u05EA\u05E4\u05E8\u05D9\u05D8", -popup_location:"\u05D4\u05E6\u05D2\u05EA location bar ", -popup_resizable:"\u05D7\u05DC\u05D5\u05DF \u05D3\u05D9\u05E0\u05D0\u05DE\u05D9(resizable)", -popup_dependent:"Dependent (Mozilla/Firefox only)", -popup_size:"\u05D2\u05D5\u05D3\u05DC", -popup_position:"\u05DE\u05D9\u05E7\u05D5\u05DD (X/Y)", -id:"\u05DE\u05E1\u05E4\u05E8 \u05E1\u05D9\u05D3\u05D5\u05E8\u05D9", -style:"\u05E1\u05D2\u05E0\u05D5\u05DF", -classes:"Classes", -target_name:"Target name", -langdir:"\u05DB\u05D9\u05D5\u05D5\u05DF \u05D4\u05E9\u05E4\u05D4", -target_langcode:"Target language", -langcode:"\u05E7\u05D5\u05D3 \u05D4\u05E9\u05E4\u05D4", -encoding:"Target character encoding", -mime:"Target MIME type", -rel:"Relationship page to target", -rev:"Relationship target to page", -tabindex:"Tabindex", -accesskey:"Accesskey", -ltr:"\u05DE\u05E9\u05DE\u05D0\u05DC \u05DC\u05D9\u05DE\u05D9\u05DF", -rtl:"\u05DE\u05D9\u05DE\u05D9\u05DF \u05DC\u05E9\u05DE\u05D0\u05DC", -link_list:"\u05E8\u05E9\u05D9\u05DE\u05EA \u05E7\u05D9\u05E9\u05D5\u05E8\u05D9\u05DD" +tinyMCE.addI18n('he.advlink_dlg',{ +title:"\u05D4\u05D5\u05E1\u05E4\u05D4/\u05E2\u05E8\u05D9\u05DB\u05EA \u05E7\u05D9\u05E9\u05D5\u05E8", +url:"\u05DB\u05EA\u05D5\u05D1\u05EA \u05D4\u05E7\u05D9\u05E9\u05D5\u05E8", +target:"\u05D9\u05E2\u05D3", +titlefield:"\u05DB\u05D5\u05EA\u05E8\u05EA \u05D4\u05E7\u05D9\u05E9\u05D5\u05E8", +is_email:"\u05DB\u05EA\u05D5\u05D1\u05EA \u05D4-URL \u05E9\u05D4\u05D5\u05DB\u05E0\u05E1\u05D4 \u05D4\u05D9\u05D0 \u05DB\u05DB\u05DC \u05D4\u05E0\u05E8\u05D0\u05D4 \u05DB\u05EA\u05D5\u05D1\u05EA \u05DE\u05D9\u05D9\u05DC \u05D4\u05D0\u05DD \u05D1\u05E8\u05E6\u05D5\u05E0\u05DA \u05DC\u05D4\u05D5\u05E1\u05D9\u05E3 \u05D0\u05EA \u05D4\u05E7\u05D9\u05D3\u05D5\u05DE\u05EA MAILTO \u05D4\u05E0\u05D3\u05E8\u05E9\u05EA?", +is_external:"\u05DB\u05EA\u05D5\u05D1\u05EA \u05D4-URL \u05E9\u05D4\u05D5\u05DB\u05E0\u05E1\u05D4 \u05D4\u05D9\u05D0 \u05DB\u05DB\u05DC \u05D4\u05E0\u05E8\u05D0\u05D4 \u05E7\u05D9\u05E9\u05D5\u05E8 \u05D7\u05D9\u05E6\u05D5\u05E0\u05D9 \u05D4\u05D0\u05DD \u05D1\u05E8\u05E6\u05D5\u05E0\u05DA \u05DC\u05D4\u05D5\u05E1\u05D9\u05E3 \u05D0\u05EA \u05D4\u05E7\u05D9\u05D3\u05D5\u05DE\u05EA http:// \u05D4\u05E0\u05D3\u05E8\u05E9\u05EA?", +list:"\u05E8\u05E9\u05D9\u05DE\u05EA \u05E7\u05D9\u05E9\u05D5\u05E8\u05D9\u05DD", +general_tab:"\u05DB\u05DC\u05DC\u05D9", +popup_tab:"\u05D7\u05DC\u05D5\u05DF \u05DE\u05D5\u05E7\u05E4\u05E5", +events_tab:"\u05D0\u05E8\u05D5\u05E2\u05D9\u05DD", +advanced_tab:"\u05DE\u05EA\u05E7\u05D3\u05DD", +general_props:"\u05EA\u05DB\u05D5\u05E0\u05D5\u05EA \u05DB\u05DC\u05DC\u05D9\u05D5\u05EA", +popup_props:"\u05EA\u05DB\u05D5\u05E0\u05D5\u05EA \u05D7\u05DC\u05D5\u05DF \u05DE\u05D5\u05E7\u05E4\u05E5", +event_props:"\u05DE\u05D0\u05D5\u05E8\u05E2\u05D5\u05EA", +advanced_props:"\u05EA\u05DB\u05D5\u05E0\u05D5\u05EA \u05DE\u05EA\u05E7\u05D3\u05DE\u05D5\u05EA", +popup_opts:"\u05D0\u05E4\u05E9\u05E8\u05D5\u05D9\u05D5\u05EA", +anchor_names:"\u05E7\u05D9\u05E9\u05D5\u05E8 \u05DC\u05E1\u05D9\u05DE\u05E0\u05D9\u05D4", +target_same:"\u05E4\u05EA\u05D9\u05D7\u05D4 \u05D1\u05D7\u05DC\u05D5\u05DF \u05D7\u05D3\u05E9/\u05D7\u05DC\u05D5\u05DF \u05D1\u05DF", +target_parent:"\u05E4\u05EA\u05D9\u05D7\u05D4 \u05D1\u05DC\u05D5\u05DF \u05D4\u05D0\u05D1\u05D0/\u05D7\u05DC\u05D5\u05DF \u05D1\u05DF", +target_top:"\u05E4\u05EA\u05D9\u05D7\u05D4 \u05D1\u05D7\u05DC\u05D5\u05DF \u05D4\u05D1\u05DF \u05D4\u05E8\u05D0\u05E9\u05D9(\u05DE\u05D7\u05DC\u05D9\u05E3 \u05D0\u05EA \u05DB\u05DC \u05D7\u05DC\u05D5\u05E0\u05D5\u05EA \u05D4\u05D1\u05E0\u05D9\u05DD)", +target_blank:"\u05E4\u05EA\u05D9\u05D7\u05D4 \u05D1\u05D7\u05DC\u05D5\u05DF \u05D7\u05D3\u05E9", +popup:"\u05D7\u05DC\u05D5\u05DF \u05DE\u05D5\u05E7\u05E4\u05E5 javascript", +popup_url:"\u05D7\u05DC\u05D5\u05DF \u05DE\u05D5\u05E7\u05E4\u05E5 URL", +popup_name:"\u05E9\u05DD \u05D4\u05D7\u05DC\u05D5\u05DF", +popup_return:"\u05D9\u05E9 \u05DC\u05D4\u05DB\u05E0\u05D9\u05E1 'return false'", +popup_scrollbars:"\u05D4\u05E6\u05D2\u05EA \u05E4\u05E1 \u05D2\u05DC\u05D9\u05DC\u05D4", +popup_statusbar:"\u05D4\u05E6\u05D2\u05EA \u05E9\u05D5\u05E8\u05EA \u05E1\u05D8\u05D0\u05D8\u05D5\u05E1", +popup_toolbar:"\u05D4\u05E6\u05D2\u05EA \u05E1\u05E8\u05D2\u05DC\u05D9 \u05DB\u05DC\u05D9\u05DD", +popup_menubar:"\u05D4\u05E6\u05D2\u05EA \u05EA\u05E4\u05E8\u05D9\u05D8", +popup_location:"\u05D4\u05E6\u05D2\u05EA location bar ", +popup_resizable:"\u05D7\u05DC\u05D5\u05DF \u05D3\u05D9\u05E0\u05D0\u05DE\u05D9(resizable)", +popup_dependent:"Dependent (Mozilla/Firefox only)", +popup_size:"\u05D2\u05D5\u05D3\u05DC", +popup_position:"\u05DE\u05D9\u05E7\u05D5\u05DD (X/Y)", +id:"\u05DE\u05E1\u05E4\u05E8 \u05E1\u05D9\u05D3\u05D5\u05E8\u05D9", +style:"\u05E1\u05D2\u05E0\u05D5\u05DF", +classes:"Classes", +target_name:"Target name", +langdir:"\u05DB\u05D9\u05D5\u05D5\u05DF \u05D4\u05E9\u05E4\u05D4", +target_langcode:"Target language", +langcode:"\u05E7\u05D5\u05D3 \u05D4\u05E9\u05E4\u05D4", +encoding:"Target character encoding", +mime:"Target MIME type", +rel:"Relationship page to target", +rev:"Relationship target to page", +tabindex:"Tabindex", +accesskey:"Accesskey", +ltr:"\u05DE\u05E9\u05DE\u05D0\u05DC \u05DC\u05D9\u05DE\u05D9\u05DF", +rtl:"\u05DE\u05D9\u05DE\u05D9\u05DF \u05DC\u05E9\u05DE\u05D0\u05DC", +link_list:"\u05E8\u05E9\u05D9\u05DE\u05EA \u05E7\u05D9\u05E9\u05D5\u05E8\u05D9\u05DD" }); \ No newline at end of file diff --git a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/advlink/langs/it_dlg.js b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/advlink/langs/it_dlg.js old mode 100644 new mode 100755 index aa1c25abf0..ba1ff31a17 --- a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/advlink/langs/it_dlg.js +++ b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/advlink/langs/it_dlg.js @@ -1,52 +1,52 @@ -tinyMCE.addI18n('it.advlink_dlg',{ -title:"Inserisci/modifica link", -url:"URL collegamento", -target:"Target", -titlefield:"Titolo", -is_email:"L'URL inserito sembra essere un indirizzo email. Aggiungere il necessario prefisso mailto: ?", -is_external:"L'URL inserito sembra essere un link esterno. Aggiungere il necessario prefisso http:// ?", -list:"Lista collegamenti", -general_tab:"Generale", -popup_tab:"Popup", -events_tab:"Eventi", -advanced_tab:"Avanzate", -general_props:"Propriet\u00E0 generali", -popup_props:"Propriet\u00E0 popup", -event_props:"Eventi", -advanced_props:"Propriet\u00E0 avanzate", -popup_opts:"Opzioni", -anchor_names:"Ancore", -target_same:"Apri in questa finestra / cornice", -target_parent:"Apri nella finestra / cornice genitore", -target_top:"Apri nella cornice superiore (sostituisce tutte le cornici)", -target_blank:"Apri in una nuova finestra", -popup:"Popup Javascript", -popup_url:"URL Popup", -popup_name:"Nome finestra", -popup_return:"Inserisci 'return false'", -popup_scrollbars:"Mostra barre di scorrimento", -popup_statusbar:"Mostra barra di stato", -popup_toolbar:"Mostra barre strumenti", -popup_menubar:"Mostra barra menu", -popup_location:"Mostra barra navigazione", -popup_resizable:"Rendi la finestra ridimensionabile", -popup_dependent:"Dipendente (Solo in Mozilla/Firefox)", -popup_size:"Dimensioni", -popup_position:"Posizione (X/Y)", -id:"Id", -style:"Stile", -classes:"Classe", -target_name:"Nome target", -langdir:"Direzione del testo", -target_langcode:"Lingua del target", -langcode:"Lingua", -encoding:"Codifica carattere del target", -mime:"Tipo MIME del target", -rel:"Relazione da pagina a target", -rev:"Relazione da target a pagina", -tabindex:"Indice tabulazione", -accesskey:"Carattere di accesso", -ltr:"Sinistra verso destra", -rtl:"Destra verso sinistra", -link_list:"Lista collegamenti" +tinyMCE.addI18n('it.advlink_dlg',{ +title:"Inserisci/modifica link", +url:"URL collegamento", +target:"Target", +titlefield:"Titolo", +is_email:"L'URL inserito sembra essere un indirizzo email. Aggiungere il necessario prefisso mailto: ?", +is_external:"L'URL inserito sembra essere un link esterno. Aggiungere il necessario prefisso http:// ?", +list:"Lista collegamenti", +general_tab:"Generale", +popup_tab:"Popup", +events_tab:"Eventi", +advanced_tab:"Avanzate", +general_props:"Propriet\u00E0 generali", +popup_props:"Propriet\u00E0 popup", +event_props:"Eventi", +advanced_props:"Propriet\u00E0 avanzate", +popup_opts:"Opzioni", +anchor_names:"Ancore", +target_same:"Apri in questa finestra / cornice", +target_parent:"Apri nella finestra / cornice genitore", +target_top:"Apri nella cornice superiore (sostituisce tutte le cornici)", +target_blank:"Apri in una nuova finestra", +popup:"Popup Javascript", +popup_url:"URL Popup", +popup_name:"Nome finestra", +popup_return:"Inserisci 'return false'", +popup_scrollbars:"Mostra barre di scorrimento", +popup_statusbar:"Mostra barra di stato", +popup_toolbar:"Mostra barre strumenti", +popup_menubar:"Mostra barra menu", +popup_location:"Mostra barra navigazione", +popup_resizable:"Rendi la finestra ridimensionabile", +popup_dependent:"Dipendente (Solo in Mozilla/Firefox)", +popup_size:"Dimensioni", +popup_position:"Posizione (X/Y)", +id:"Id", +style:"Stile", +classes:"Classe", +target_name:"Nome target", +langdir:"Direzione del testo", +target_langcode:"Lingua del target", +langcode:"Lingua", +encoding:"Codifica carattere del target", +mime:"Tipo MIME del target", +rel:"Relazione da pagina a target", +rev:"Relazione da target a pagina", +tabindex:"Indice tabulazione", +accesskey:"Carattere di accesso", +ltr:"Sinistra verso destra", +rtl:"Destra verso sinistra", +link_list:"Lista collegamenti" }); \ No newline at end of file diff --git a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/advlink/langs/ja_dlg.js b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/advlink/langs/ja_dlg.js old mode 100644 new mode 100755 index 5c97ec6e72..a87cfd4f9d --- a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/advlink/langs/ja_dlg.js +++ b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/advlink/langs/ja_dlg.js @@ -1,52 +1,52 @@ -tinyMCE.addI18n('ja.advlink_dlg',{ -title:"\u30EA\u30F3\u30AF\u306E\u633F\u5165/\u7DE8\u96C6", -url:"\u30EA\u30F3\u30AFURL", -target:"\u30BF\u30FC\u30B2\u30C3\u30C8", -titlefield:"\u30BF\u30A4\u30C8\u30EB", -is_email:"\u30E1\u30FC\u30EB\u30A2\u30C9\u30EC\u30B9\u304C\u5165\u529B\u3055\u308C\u307E\u3057\u305F\u3002\u30EA\u30F3\u30AF\u306Bmailto:\u3092\u4ED8\u52A0\u3057\u307E\u3059\u304B\uFF1F", -is_external:"\u30EA\u30F3\u30AF\u306Bhttp://\u3092\u4ED8\u52A0\u3057\u307E\u3059\u304B\uFF1F", -list:"\u4E00\u89A7\u304B\u3089\u9078\u3076", -general_tab:"\u4E00\u822C", -popup_tab:"\u30DD\u30C3\u30D7\u30A2\u30C3\u30D7", -events_tab:"\u30A4\u30D9\u30F3\u30C8", -advanced_tab:"\u4E0A\u7D1A\u8005\u5411\u3051", -general_props:"\u4E00\u822C", -popup_props:"\u30DD\u30C3\u30D7\u30A2\u30C3\u30D7", -event_props:"\u30A4\u30D9\u30F3\u30C8", -advanced_props:"\u4E0A\u7D1A\u8005\u5411\u3051", -popup_opts:"\u30AA\u30D7\u30B7\u30E7\u30F3", -anchor_names:"\u30A2\u30F3\u30AB\u30FC", -target_same:"\u3053\u306E\u30A6\u30A4\u30F3\u30C9\u30A6/\u30D5\u30EC\u30FC\u30E0\u3067\u958B\u304F", -target_parent:"\u89AA\u30A6\u30A4\u30F3\u30C9\u30A6/\u89AA\u30D5\u30EC\u30FC\u30E0\u3067\u958B\u304F", -target_top:"\u30C8\u30C3\u30D7\u306E\u30D5\u30EC\u30FC\u30E0\u3067\u958B\u304F", -target_blank:"\u65B0\u3057\u3044\u30A6\u30A4\u30F3\u30C9\u30A6\u3067\u958B\u304F", -popup:"Javascript\u30DD\u30C3\u30D7\u30A2\u30C3\u30D7", -popup_url:"\u30DD\u30C3\u30D7\u30A2\u30C3\u30D7URL", -popup_name:"\u30A6\u30A4\u30F3\u30C9\u30A6\u540D", -popup_return:"'return false'\u3092\u633F\u5165\u3059\u308B", -popup_scrollbars:"\u30B9\u30AF\u30ED\u30FC\u30EB\u30D0\u30FC\u3092\u8868\u793A", -popup_statusbar:"\u30B9\u30C6\u30FC\u30BF\u30B9\u30D0\u30FC\u3092\u8868\u793A", -popup_toolbar:"\u30C4\u30FC\u30EB\u30D0\u30FC\u3092\u8868\u793A", -popup_menubar:"\u30E1\u30CB\u30E5\u30FC\u30D0\u30FC\u3092\u8868\u793A", -popup_location:"\u30A2\u30C9\u30EC\u30B9\u30D0\u30FC\u3092\u8868\u793A", -popup_resizable:"\u30A6\u30A4\u30F3\u30C9\u30A6\u306E\u30B5\u30A4\u30BA\u5909\u66F4\u3092\u8A31\u53EF\u3059\u308B", -popup_dependent:"Dependent (Mozilla/Firefox\u306E\u307F)", -popup_size:"\u30B5\u30A4\u30BA", -popup_position:"\u4F4D\u7F6E (X/Y)", -id:"ID\u5C5E\u6027", -style:"style\u5C5E\u6027", -classes:"class\u5C5E\u6027", -target_name:"\u30BF\u30FC\u30B2\u30C3\u30C8", -langdir:"\u6587\u7AE0\u306E\u65B9\u5411", -target_langcode:"\u30BF\u30FC\u30B2\u30C3\u30C8\u306E\u8A00\u8A9E", -langcode:"\u8A00\u8A9E\u30B3\u30FC\u30C9", -encoding:"\u30BF\u30FC\u30B2\u30C3\u30C8\u306E\u30A8\u30F3\u30B3\u30FC\u30C9", -mime:"\u30BF\u30FC\u30B2\u30C3\u30C8\u306EMIME\u30BF\u30A4\u30D7", -rel:"rel\u5C5E\u6027", -rev:"rev\u5C5E\u6027", -tabindex:"\u30BF\u30D6\u30A4\u30F3\u30C7\u30C3\u30AF\u30B9", -accesskey:"\u30A2\u30AF\u30BB\u30B9\u30AD\u30FC", -ltr:"\u5DE6\u304B\u3089\u53F3", -rtl:"\u53F3\u304B\u3089\u5DE6", -link_list:"\u4E00\u89A7\u304B\u3089\u9078\u3076" +tinyMCE.addI18n('ja.advlink_dlg',{ +title:"\u30EA\u30F3\u30AF\u306E\u633F\u5165/\u7DE8\u96C6", +url:"\u30EA\u30F3\u30AFURL", +target:"\u30BF\u30FC\u30B2\u30C3\u30C8", +titlefield:"\u30BF\u30A4\u30C8\u30EB", +is_email:"\u30E1\u30FC\u30EB\u30A2\u30C9\u30EC\u30B9\u304C\u5165\u529B\u3055\u308C\u307E\u3057\u305F\u3002\u30EA\u30F3\u30AF\u306Bmailto:\u3092\u4ED8\u52A0\u3057\u307E\u3059\u304B\uFF1F", +is_external:"\u30EA\u30F3\u30AF\u306Bhttp://\u3092\u4ED8\u52A0\u3057\u307E\u3059\u304B\uFF1F", +list:"\u4E00\u89A7\u304B\u3089\u9078\u3076", +general_tab:"\u4E00\u822C", +popup_tab:"\u30DD\u30C3\u30D7\u30A2\u30C3\u30D7", +events_tab:"\u30A4\u30D9\u30F3\u30C8", +advanced_tab:"\u4E0A\u7D1A\u8005\u5411\u3051", +general_props:"\u4E00\u822C", +popup_props:"\u30DD\u30C3\u30D7\u30A2\u30C3\u30D7", +event_props:"\u30A4\u30D9\u30F3\u30C8", +advanced_props:"\u4E0A\u7D1A\u8005\u5411\u3051", +popup_opts:"\u30AA\u30D7\u30B7\u30E7\u30F3", +anchor_names:"\u30A2\u30F3\u30AB\u30FC", +target_same:"\u3053\u306E\u30A6\u30A4\u30F3\u30C9\u30A6/\u30D5\u30EC\u30FC\u30E0\u3067\u958B\u304F", +target_parent:"\u89AA\u30A6\u30A4\u30F3\u30C9\u30A6/\u89AA\u30D5\u30EC\u30FC\u30E0\u3067\u958B\u304F", +target_top:"\u30C8\u30C3\u30D7\u306E\u30D5\u30EC\u30FC\u30E0\u3067\u958B\u304F", +target_blank:"\u65B0\u3057\u3044\u30A6\u30A4\u30F3\u30C9\u30A6\u3067\u958B\u304F", +popup:"Javascript\u30DD\u30C3\u30D7\u30A2\u30C3\u30D7", +popup_url:"\u30DD\u30C3\u30D7\u30A2\u30C3\u30D7URL", +popup_name:"\u30A6\u30A4\u30F3\u30C9\u30A6\u540D", +popup_return:"'return false'\u3092\u633F\u5165\u3059\u308B", +popup_scrollbars:"\u30B9\u30AF\u30ED\u30FC\u30EB\u30D0\u30FC\u3092\u8868\u793A", +popup_statusbar:"\u30B9\u30C6\u30FC\u30BF\u30B9\u30D0\u30FC\u3092\u8868\u793A", +popup_toolbar:"\u30C4\u30FC\u30EB\u30D0\u30FC\u3092\u8868\u793A", +popup_menubar:"\u30E1\u30CB\u30E5\u30FC\u30D0\u30FC\u3092\u8868\u793A", +popup_location:"\u30A2\u30C9\u30EC\u30B9\u30D0\u30FC\u3092\u8868\u793A", +popup_resizable:"\u30A6\u30A4\u30F3\u30C9\u30A6\u306E\u30B5\u30A4\u30BA\u5909\u66F4\u3092\u8A31\u53EF\u3059\u308B", +popup_dependent:"Dependent (Mozilla/Firefox\u306E\u307F)", +popup_size:"\u30B5\u30A4\u30BA", +popup_position:"\u4F4D\u7F6E (X/Y)", +id:"ID\u5C5E\u6027", +style:"style\u5C5E\u6027", +classes:"class\u5C5E\u6027", +target_name:"\u30BF\u30FC\u30B2\u30C3\u30C8", +langdir:"\u6587\u7AE0\u306E\u65B9\u5411", +target_langcode:"\u30BF\u30FC\u30B2\u30C3\u30C8\u306E\u8A00\u8A9E", +langcode:"\u8A00\u8A9E\u30B3\u30FC\u30C9", +encoding:"\u30BF\u30FC\u30B2\u30C3\u30C8\u306E\u30A8\u30F3\u30B3\u30FC\u30C9", +mime:"\u30BF\u30FC\u30B2\u30C3\u30C8\u306EMIME\u30BF\u30A4\u30D7", +rel:"rel\u5C5E\u6027", +rev:"rev\u5C5E\u6027", +tabindex:"\u30BF\u30D6\u30A4\u30F3\u30C7\u30C3\u30AF\u30B9", +accesskey:"\u30A2\u30AF\u30BB\u30B9\u30AD\u30FC", +ltr:"\u5DE6\u304B\u3089\u53F3", +rtl:"\u53F3\u304B\u3089\u5DE6", +link_list:"\u4E00\u89A7\u304B\u3089\u9078\u3076" }); \ No newline at end of file diff --git a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/advlink/langs/nl_dlg.js b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/advlink/langs/nl_dlg.js old mode 100644 new mode 100755 index e8f2fd608a..23642ba9ba --- a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/advlink/langs/nl_dlg.js +++ b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/advlink/langs/nl_dlg.js @@ -1,52 +1,52 @@ -tinyMCE.addI18n('nl.advlink_dlg',{ -title:"Link invoegen/bewerken", -url:"URL", -target:"Doel", -titlefield:"Titel", -is_email:"De ingevoerde URL lijkt op een e-mailadres. Wilt u de vereiste mailto: tekst voorvoegen?", -is_external:"De ingevoerde URL lijkt op een externe link. Wilt u de vereiste http:// tekst voorvoegen?", -list:"Lijst", -general_tab:"Algemeen", -popup_tab:"Popup", -events_tab:"Gebeurtenissen", -advanced_tab:"Geavanceerd", -general_props:"Algemene eigenschappen", -popup_props:"Popup eigenschappen", -event_props:"Gebeurtenissen", -advanced_props:"Geavanceerde eigenschappen", -popup_opts:"Opties", -anchor_names:"Ankers", -target_same:"In dit venster / frame openen", -target_parent:"In bovenliggend venster / frame openen", -target_top:"In bovenste frame openen (vervangt gehele pagina)", -target_blank:"In nieuw venster openen", -popup:"Javascript popup", -popup_url:"Popup URL", -popup_name:"Venstertitel", -popup_return:"'return false' invoegen", -popup_scrollbars:"Scrollbalken weergeven", -popup_statusbar:"Statusbalk weergeven", -popup_toolbar:"Werkbalk weergeven", -popup_menubar:"Menubalk weergeven", -popup_location:"Lokatiebalk weergeven", -popup_resizable:"Aanpasbaar venster", -popup_dependent:"Afhankelijk (Alleen Mozilla/Firefox)", -popup_size:"Grootte", -popup_position:"Positie (X/Y)", -id:"Id", -style:"Stijl", -classes:"Klassen", -target_name:"Doel", -langdir:"Taalrichting", -target_langcode:"Taal", -langcode:"Taalcode", -encoding:"Taalcodering", -mime:"MIME type", -rel:"Relatie van pagina tot doel", -rev:"Relatie van doel tot pagina", -tabindex:"Tabvolgorde", -accesskey:"Toegangstoets", -ltr:"Van links naar rechts", -rtl:"Van rechts naar links", -link_list:"Lijst" +tinyMCE.addI18n('nl.advlink_dlg',{ +title:"Link invoegen/bewerken", +url:"URL", +target:"Doel", +titlefield:"Titel", +is_email:"De ingevoerde URL lijkt op een e-mailadres. Wilt u de vereiste mailto: tekst voorvoegen?", +is_external:"De ingevoerde URL lijkt op een externe link. Wilt u de vereiste http:// tekst voorvoegen?", +list:"Lijst", +general_tab:"Algemeen", +popup_tab:"Popup", +events_tab:"Gebeurtenissen", +advanced_tab:"Geavanceerd", +general_props:"Algemene eigenschappen", +popup_props:"Popup eigenschappen", +event_props:"Gebeurtenissen", +advanced_props:"Geavanceerde eigenschappen", +popup_opts:"Opties", +anchor_names:"Ankers", +target_same:"In dit venster / frame openen", +target_parent:"In bovenliggend venster / frame openen", +target_top:"In bovenste frame openen (vervangt gehele pagina)", +target_blank:"In nieuw venster openen", +popup:"Javascript popup", +popup_url:"Popup URL", +popup_name:"Venstertitel", +popup_return:"'return false' invoegen", +popup_scrollbars:"Scrollbalken weergeven", +popup_statusbar:"Statusbalk weergeven", +popup_toolbar:"Werkbalk weergeven", +popup_menubar:"Menubalk weergeven", +popup_location:"Lokatiebalk weergeven", +popup_resizable:"Aanpasbaar venster", +popup_dependent:"Afhankelijk (Alleen Mozilla/Firefox)", +popup_size:"Grootte", +popup_position:"Positie (X/Y)", +id:"Id", +style:"Stijl", +classes:"Klassen", +target_name:"Doel", +langdir:"Taalrichting", +target_langcode:"Taal", +langcode:"Taalcode", +encoding:"Taalcodering", +mime:"MIME type", +rel:"Relatie van pagina tot doel", +rev:"Relatie van doel tot pagina", +tabindex:"Tabvolgorde", +accesskey:"Toegangstoets", +ltr:"Van links naar rechts", +rtl:"Van rechts naar links", +link_list:"Lijst" }); \ No newline at end of file diff --git a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/advlink/langs/nn_dlg.js b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/advlink/langs/nn_dlg.js old mode 100644 new mode 100755 index c1d18ea4b5..da68ae75ea --- a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/advlink/langs/nn_dlg.js +++ b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/advlink/langs/nn_dlg.js @@ -1,52 +1,52 @@ -tinyMCE.addI18n('nn.advlink_dlg',{ -title:"Set inn / rediger lenkje", -url:"Lenkje-URL", -target:"M\u00E5l", -titlefield:"Tittel", -is_email:"URL-en du skreiv inn ser ut til \u00E5 vere ei e-postadresse. \u00D8nskjer du \u00E5 leggje til det obligatoriske mailto:-prefikset?", -is_external:"URL-en du skreiv inn ser ut til \u00E5 vere ei eksern lenkje. \u00D8nskjer du \u00E5 leggje til det obligatoriske http://-prefikset?", -list:"Lenkjeliste", -general_tab:"Generelt", -popup_tab:"Popup", -events_tab:"Hendingar", -advanced_tab:"Avansert", -general_props:"Generelt", -popup_props:"Popup-eigenskapar", -event_props:"Hendingar", -advanced_props:"Generelle eigenskapar", -popup_opts:"Innstillingar", -anchor_names:"Anker", -target_same:"Opne i same vindauge/ramme", -target_parent:"Opne i overordna vindauge/ramme", -target_top:"Opne i toppvindauge (erstattar alle rammer)", -target_blank:"Opne i nytt vindauge", -popup:"Javascript-popup", -popup_url:"Popup URL", -popup_name:"Namn p\u00E5 vindauge", -popup_return:"Set inn \'return false\'", -popup_scrollbars:"Vis rullefelt", -popup_statusbar:"Vis statusline", -popup_toolbar:"Vis verktyliner", -popup_menubar:"Vis menyline", -popup_location:"Vis plasseringsline", -popup_resizable:"Gjer vindauget skalerbart", -popup_dependent:"Avhengig vindu (berre i Mozilla/Firefox)", -popup_size:"Storleik", -popup_position:"Posisjon (X/Y)", -id:"Id", -style:"Stil", -classes:"Klasser", -target_name:"M\u00E5lnamn", -langdir:"Skriftretning", -target_langcode:"M\u00E5lspr\u00E5k", -langcode:"Spr\u00E5kkode", -encoding:"Teiknkonvertering", -mime:"M\u00E5let sin MIME-type", -rel:"Sida sitt forhold til m\u00E5let", -rev:"M\u00E5let sitt forhold til sida", -tabindex:"Tabulatorindeks", -accesskey:"Hurtigtast", -ltr:"Venstre mot h\u00F8gre", -rtl:"H\u00F8gre mot venstre", -link_list:"Lenkjeliste" +tinyMCE.addI18n('nn.advlink_dlg',{ +title:"Set inn / rediger lenkje", +url:"Lenkje-URL", +target:"M\u00E5l", +titlefield:"Tittel", +is_email:"URL-en du skreiv inn ser ut til \u00E5 vere ei e-postadresse. \u00D8nskjer du \u00E5 leggje til det obligatoriske mailto:-prefikset?", +is_external:"URL-en du skreiv inn ser ut til \u00E5 vere ei eksern lenkje. \u00D8nskjer du \u00E5 leggje til det obligatoriske http://-prefikset?", +list:"Lenkjeliste", +general_tab:"Generelt", +popup_tab:"Popup", +events_tab:"Hendingar", +advanced_tab:"Avansert", +general_props:"Generelt", +popup_props:"Popup-eigenskapar", +event_props:"Hendingar", +advanced_props:"Generelle eigenskapar", +popup_opts:"Innstillingar", +anchor_names:"Anker", +target_same:"Opne i same vindauge/ramme", +target_parent:"Opne i overordna vindauge/ramme", +target_top:"Opne i toppvindauge (erstattar alle rammer)", +target_blank:"Opne i nytt vindauge", +popup:"Javascript-popup", +popup_url:"Popup URL", +popup_name:"Namn p\u00E5 vindauge", +popup_return:"Set inn \'return false\'", +popup_scrollbars:"Vis rullefelt", +popup_statusbar:"Vis statusline", +popup_toolbar:"Vis verktyliner", +popup_menubar:"Vis menyline", +popup_location:"Vis plasseringsline", +popup_resizable:"Gjer vindauget skalerbart", +popup_dependent:"Avhengig vindu (berre i Mozilla/Firefox)", +popup_size:"Storleik", +popup_position:"Posisjon (X/Y)", +id:"Id", +style:"Stil", +classes:"Klasser", +target_name:"M\u00E5lnamn", +langdir:"Skriftretning", +target_langcode:"M\u00E5lspr\u00E5k", +langcode:"Spr\u00E5kkode", +encoding:"Teiknkonvertering", +mime:"M\u00E5let sin MIME-type", +rel:"Sida sitt forhold til m\u00E5let", +rev:"M\u00E5let sitt forhold til sida", +tabindex:"Tabulatorindeks", +accesskey:"Hurtigtast", +ltr:"Venstre mot h\u00F8gre", +rtl:"H\u00F8gre mot venstre", +link_list:"Lenkjeliste" }); \ No newline at end of file diff --git a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/advlink/langs/pl_dlg.js b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/advlink/langs/pl_dlg.js old mode 100644 new mode 100755 index f067c3642e..24cdaa65cf --- a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/advlink/langs/pl_dlg.js +++ b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/advlink/langs/pl_dlg.js @@ -1,52 +1,52 @@ -tinyMCE.addI18n('pl.advlink_dlg',{ -title:"Wstaw/edytuj link", -url:"Link URL", -target:"Cel", -titlefield:"Tytu\u0142", -is_email:"Podany adres wydaje si\u0119 by\u0107 adresem emailowym, czy chcesz doda\u0107 wymagany prefix mailto: ?", -is_external:"Podany adres wydaje si\u0119 by\u0107 zewn\u0119trznym linkiem, czy chcesz doda\u0107 wymagany prefix http:// ?", -list:"Lista link\u00F3w", -general_tab:"Og\u00F3lny", -popup_tab:"Popup", -events_tab:"Wydarzenia", -advanced_tab:"Zaawansowany", -general_props:"Og\u00F3lne w\u0142a\u015Bciwo\u015Bci", -popup_props:"Popup w\u0142a\u015Bciwo\u015Bci", -event_props:"Wydarzenia", -advanced_props:"Zaawansowae w\u0142a\u015Bciwo\u015Bci", -popup_opts:"Opcje", -anchor_names:"Kotwice", -target_same:"Otw\u00F3rz w tym oknie / ramce", -target_parent:"Otw\u00F3rz w nadrz\u0119dnej oknie / ramce", -target_top:"Otw\u00F3rz w g\u00F3rnej ramce (zamie\u0144 wszystkie ramki)", -target_blank:"Otw\u00F3rz w nowym oknie", -popup:"Wyskakuj\u0105ce okienko", -popup_url:"URL okienka", -popup_name:"Nazwa okiena", -popup_return:"Wklej 'return false'", -popup_scrollbars:"Poka\u017C paski przewijania", -popup_statusbar:"Poka\u017C pasek statusu", -popup_toolbar:"Poka\u017C narz\u0119dzia", -popup_menubar:"Poka\u017C pasek menu", -popup_location:"Poka\u017C pasek adresu", -popup_resizable:"Stw\u00F3rz okno z w\u0142a\u015Bciwo\u015Bciami zmiany rozmiaru", -popup_dependent:"Podleg\u0142y (Mozilla/Firefox wy\u0142\u0105cznie)", -popup_size:"Rozmiar", -popup_position:"Pozycja (X/Y)", -id:"Id", -style:"Wz\u00F3r", -classes:"Klasy", -target_name:"Cel", -langdir:"Kierunek czytania tekstu", -target_langcode:"Docelowy kod j\u0119zyka", -langcode:"Kod j\u0119zyka", -encoding:"Kodowanie znak\u00F3w celu", -mime:"Cel MIME type", -rel:"Relacje strony do celu", -rev:"Relacje celu do strony", -tabindex:"Tabindex", -accesskey:"Klawisz skr\u00F3tu", -ltr:"Kierunek z lewej do prawej", -rtl:"Kierunek z prawej do lewej", -link_list:"Lista odno\u015Bnik\u00F3w" +tinyMCE.addI18n('pl.advlink_dlg',{ +title:"Wstaw/edytuj link", +url:"Link URL", +target:"Cel", +titlefield:"Tytu\u0142", +is_email:"Podany adres wydaje si\u0119 by\u0107 adresem emailowym, czy chcesz doda\u0107 wymagany prefix mailto: ?", +is_external:"Podany adres wydaje si\u0119 by\u0107 zewn\u0119trznym linkiem, czy chcesz doda\u0107 wymagany prefix http:// ?", +list:"Lista link\u00F3w", +general_tab:"Og\u00F3lny", +popup_tab:"Popup", +events_tab:"Wydarzenia", +advanced_tab:"Zaawansowany", +general_props:"Og\u00F3lne w\u0142a\u015Bciwo\u015Bci", +popup_props:"Popup w\u0142a\u015Bciwo\u015Bci", +event_props:"Wydarzenia", +advanced_props:"Zaawansowae w\u0142a\u015Bciwo\u015Bci", +popup_opts:"Opcje", +anchor_names:"Kotwice", +target_same:"Otw\u00F3rz w tym oknie / ramce", +target_parent:"Otw\u00F3rz w nadrz\u0119dnej oknie / ramce", +target_top:"Otw\u00F3rz w g\u00F3rnej ramce (zamie\u0144 wszystkie ramki)", +target_blank:"Otw\u00F3rz w nowym oknie", +popup:"Wyskakuj\u0105ce okienko", +popup_url:"URL okienka", +popup_name:"Nazwa okiena", +popup_return:"Wklej 'return false'", +popup_scrollbars:"Poka\u017C paski przewijania", +popup_statusbar:"Poka\u017C pasek statusu", +popup_toolbar:"Poka\u017C narz\u0119dzia", +popup_menubar:"Poka\u017C pasek menu", +popup_location:"Poka\u017C pasek adresu", +popup_resizable:"Stw\u00F3rz okno z w\u0142a\u015Bciwo\u015Bciami zmiany rozmiaru", +popup_dependent:"Podleg\u0142y (Mozilla/Firefox wy\u0142\u0105cznie)", +popup_size:"Rozmiar", +popup_position:"Pozycja (X/Y)", +id:"Id", +style:"Wz\u00F3r", +classes:"Klasy", +target_name:"Cel", +langdir:"Kierunek czytania tekstu", +target_langcode:"Docelowy kod j\u0119zyka", +langcode:"Kod j\u0119zyka", +encoding:"Kodowanie znak\u00F3w celu", +mime:"Cel MIME type", +rel:"Relacje strony do celu", +rev:"Relacje celu do strony", +tabindex:"Tabindex", +accesskey:"Klawisz skr\u00F3tu", +ltr:"Kierunek z lewej do prawej", +rtl:"Kierunek z prawej do lewej", +link_list:"Lista odno\u015Bnik\u00F3w" }); \ No newline at end of file diff --git a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/advlink/langs/pt_dlg.js b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/advlink/langs/pt_dlg.js old mode 100644 new mode 100755 index aa4a08cfae..b98b6fe9b7 --- a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/advlink/langs/pt_dlg.js +++ b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/advlink/langs/pt_dlg.js @@ -1,52 +1,52 @@ -tinyMCE.addI18n('pt.advlink_dlg',{ -title:"Inserir/editar hyperlink", -url:"URL do hyperlink", -target:"Alvo", -titlefield:"T\u00EDtulo", -is_email:"A URL digitada parece ser um endere\u00E7o de e-mail. Deseja acrescentar o prefixo necess\u00E1rio mailto:?", -is_external:"A URL digitada parece conduzir a um link externo. Deseja acrescentar o prefixo necess\u00E1rio http://?", -list:"Lista de hyperlinks", -general_tab:"Geral", -popup_tab:"Popup", -events_tab:"Eventos", -advanced_tab:"Avan\u00E7ado", -general_props:"Propriedades gerais", -popup_props:"Propriedades de popup", -event_props:"Eventos", -advanced_props:"Propriedades avan\u00E7adas", -popup_opts:"Op\u00E7\u00F5es", -anchor_names:"\u00C2ncoras", -target_same:"Abrir nesta janela/quadro", -target_parent:"Abrir na janela/quadro pai", -target_top:"Abrir na p\u00E1gina inteira (substitui todos os quadros)", -target_blank:"Abrir numa nova janela", -popup:"Popup javascript", -popup_url:"URL do popup", -popup_name:"Nome da janela", -popup_return:"Inserir \"return false\"", -popup_scrollbars:"Mostrar as barras de scroll", -popup_statusbar:"Mostrar a barra de status", -popup_toolbar:"Mostrar a barra de ferramentas", -popup_menubar:"Mostrar a barra de menu", -popup_location:"Mostrar a barra de endere\u00E7os", -popup_resizable:"Permitir altera\u00E7\u00E3o do tamanho da janela", -popup_dependent:"Dependente (Mozilla/Firefox apenas)", -popup_size:"Tamanho", -popup_position:"Posi\u00E7\u00E3o (X/Y)", -id:"Id", -style:"Estilo", -classes:"Classes", -target_name:"Nome do alvo", -langdir:"Dire\u00E7\u00E3o do texto", -target_langcode:"Idioma alvo", -langcode:"C\u00F3digo do idioma", -encoding:"Codifica\u00E7\u00E3o de caracteres", -mime:"Tipo MIME alvo", -rel:"Rela\u00E7\u00E3o p\u00E1gina/alvo", -rev:"Rela\u00E7\u00E3o alvo/p\u00E1gina", -tabindex:"Tabindex", -accesskey:"Chave de acesso", -ltr:"Da esquerda para a direita", -rtl:"Da direita para a esquerda", -link_list:"Lista de hyperlinks" +tinyMCE.addI18n('pt.advlink_dlg',{ +title:"Inserir/editar hyperlink", +url:"URL do hyperlink", +target:"Alvo", +titlefield:"T\u00EDtulo", +is_email:"A URL digitada parece ser um endere\u00E7o de e-mail. Deseja acrescentar o prefixo necess\u00E1rio mailto:?", +is_external:"A URL digitada parece conduzir a um link externo. Deseja acrescentar o prefixo necess\u00E1rio http://?", +list:"Lista de hyperlinks", +general_tab:"Geral", +popup_tab:"Popup", +events_tab:"Eventos", +advanced_tab:"Avan\u00E7ado", +general_props:"Propriedades gerais", +popup_props:"Propriedades de popup", +event_props:"Eventos", +advanced_props:"Propriedades avan\u00E7adas", +popup_opts:"Op\u00E7\u00F5es", +anchor_names:"\u00C2ncoras", +target_same:"Abrir nesta janela/quadro", +target_parent:"Abrir na janela/quadro pai", +target_top:"Abrir na p\u00E1gina inteira (substitui todos os quadros)", +target_blank:"Abrir numa nova janela", +popup:"Popup javascript", +popup_url:"URL do popup", +popup_name:"Nome da janela", +popup_return:"Inserir \"return false\"", +popup_scrollbars:"Mostrar as barras de scroll", +popup_statusbar:"Mostrar a barra de status", +popup_toolbar:"Mostrar a barra de ferramentas", +popup_menubar:"Mostrar a barra de menu", +popup_location:"Mostrar a barra de endere\u00E7os", +popup_resizable:"Permitir altera\u00E7\u00E3o do tamanho da janela", +popup_dependent:"Dependente (Mozilla/Firefox apenas)", +popup_size:"Tamanho", +popup_position:"Posi\u00E7\u00E3o (X/Y)", +id:"Id", +style:"Estilo", +classes:"Classes", +target_name:"Nome do alvo", +langdir:"Dire\u00E7\u00E3o do texto", +target_langcode:"Idioma alvo", +langcode:"C\u00F3digo do idioma", +encoding:"Codifica\u00E7\u00E3o de caracteres", +mime:"Tipo MIME alvo", +rel:"Rela\u00E7\u00E3o p\u00E1gina/alvo", +rev:"Rela\u00E7\u00E3o alvo/p\u00E1gina", +tabindex:"Tabindex", +accesskey:"Chave de acesso", +ltr:"Da esquerda para a direita", +rtl:"Da direita para a esquerda", +link_list:"Lista de hyperlinks" }); \ No newline at end of file diff --git a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/advlink/langs/ru_dlg.js b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/advlink/langs/ru_dlg.js old mode 100644 new mode 100755 index 420e14e6b3..b2112acc0c --- a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/advlink/langs/ru_dlg.js +++ b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/advlink/langs/ru_dlg.js @@ -1,52 +1,52 @@ -tinyMCE.addI18n('ru.advlink_dlg',{ -title:"\u041F\u0430\u0440\u0430\u043C\u0435\u0442\u0440\u044B \u0441\u0441\u044B\u043B\u043A\u0438", -url:"\u0410\u0434\u0440\u0435\u0441", -target:"\u0426\u0435\u043B\u044C", -titlefield:"\u0417\u0430\u0433\u043E\u043B\u043E\u0432\u043E\u043A", -is_email:"\u0412\u0432\u0435\u0434\u0435\u043D\u043D\u044B\u0439 \u0430\u0434\u0440\u0435\u0441 \u043D\u0430\u043F\u043E\u043C\u0438\u043D\u0430\u0435\u0442 \u044D\u043B\u0435\u043A\u0442\u0440\u043E\u043D\u043D\u0443\u044E \u043F\u043E\u0447\u0442\u0443, \u0434\u043E\u0431\u0430\u0432\u0438\u0442\u044C \u043F\u0440\u0435\u0444\u0438\u043A\u0441 mailto:?", -is_external:"\u0412\u0432\u0435\u0434\u0435\u043D\u043D\u044B\u0439 \u0430\u0434\u0440\u0435\u0441 \u043D\u0430\u043F\u043E\u043C\u0438\u043D\u0430\u0435\u0442 \u0432\u043D\u0435\u0448\u043D\u044E\u044E \u0441\u0441\u044B\u043B\u043A\u0443, \u0434\u043E\u0431\u0430\u0432\u0438\u0442\u044C \u043F\u0440\u0435\u0444\u0438\u043A\u0441 http://?", -list:"\u0421\u043F\u0438\u0441\u043E\u043A", -general_tab:"\u041E\u0431\u0449\u0435\u0435", -popup_tab:"\u0420\u0430\u0437\u0432\u0435\u0440\u0442\u044B\u0432\u0430\u043D\u0438\u0435", -events_tab:"\u0421\u043E\u0431\u044B\u0442\u0438\u044F", -advanced_tab:"\u0414\u043E\u043F\u043E\u043B\u043D\u0438\u0442\u0435\u043B\u044C\u043D\u043E", -general_props:"\u041E\u0431\u0449\u0438\u0435 \u043F\u0430\u0440\u0430\u043C\u0435\u0442\u0440\u044B", -popup_props:"\u041F\u0430\u0440\u0430\u043C\u0435\u0442\u0440\u044B \u0440\u0430\u0437\u0432\u0435\u0440\u0442\u044B\u0432\u0430\u043D\u0438\u044F", -event_props:"\u041F\u0430\u0440\u0430\u043C\u0435\u0442\u0440\u044B \u0441\u043E\u0431\u044B\u0442\u0438\u0439", -advanced_props:"\u0414\u043E\u043F\u043E\u043B\u043D\u0438\u0442\u0435\u043B\u044C\u043D\u044B\u0435 \u043F\u0430\u0440\u0430\u043C\u0435\u0442\u0440\u044B", -popup_opts:"\u0421\u0432\u043E\u0439\u0441\u0442\u0432\u0430", -anchor_names:"\u042F\u043A\u043E\u0440\u044F", -target_same:"\u041E\u0442\u043A\u0440\u044B\u0442\u044C \u0432 \u044D\u0442\u043E\u043C \u043E\u043A\u043D\u0435/\u043A\u0430\u0434\u0440\u0435", -target_parent:"\u041E\u0442\u043A\u0440\u044B\u0442\u044C \u0432 \u0440\u043E\u0434\u0438\u0442\u0435\u043B\u044C\u0441\u043A\u043E\u043C \u043E\u043A\u043D\u0435/\u043A\u0430\u0434\u0440\u0435", -target_top:"\u041E\u0442\u043A\u0440\u044B\u0442\u044C \u0432 \u0432\u0435\u0440\u0445\u043D\u0435\u043C \u043A\u0430\u0434\u0440\u0435 (\u0437\u0430\u043C\u0435\u043D\u0438\u0442\u044C \u0432\u0441\u0435 \u043A\u0430\u0434\u0440\u044B)", -target_blank:"\u041E\u0442\u043A\u0440\u044B\u0442\u044C \u0432 \u043D\u043E\u0432\u043E\u043C \u043E\u043A\u043D\u0435", -popup:"\u0420\u0430\u0437\u0432\u0435\u0440\u0442\u044B\u0432\u0430\u043D\u0438\u0435 \u0441 \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u043D\u0438\u0435\u043C Java", -popup_url:"\u0410\u0434\u0440\u0435\u0441", -popup_name:"\u041D\u0430\u0437\u0432\u0430\u043D\u0438\u0435 \u043E\u043A\u043D\u0430", -popup_return:"\u0414\u043E\u0431\u0430\u0432\u0438\u0442\u044C 'return false'", -popup_scrollbars:"\u041E\u0442\u043E\u0431\u0440\u0430\u0436\u0430\u0442\u044C \u043F\u043E\u043B\u043E\u0441\u044B \u043F\u0440\u043E\u043A\u0440\u0443\u0442\u043A\u0438", -popup_statusbar:"\u041E\u0442\u043E\u0431\u0440\u0430\u0436\u0430\u0442\u044C \u0441\u0442\u0440\u043E\u043A\u0443 \u0441\u043E\u0441\u0442\u043E\u044F\u043D\u0438\u044F", -popup_toolbar:"\u041E\u0442\u043E\u0431\u0440\u0430\u0436\u0430\u0442\u044C \u043F\u0430\u043D\u0435\u043B\u0438 \u0438\u043D\u0441\u0442\u0440\u0443\u043C\u0435\u043D\u0442\u043E\u0432", -popup_menubar:"\u041E\u0442\u043E\u0431\u0440\u0430\u0436\u0430\u0442\u044C \u043C\u0435\u043D\u044E", -popup_location:"\u041E\u0442\u043E\u0431\u0440\u0430\u0436\u0430\u0442\u044C \u043F\u0430\u043D\u0435\u043B\u044C \u0440\u0430\u0441\u043F\u043E\u043B\u043E\u0436\u0435\u043D\u0438\u044F", -popup_resizable:"\u0420\u0430\u0437\u0440\u0435\u0448\u0430\u0442\u044C \u0438\u0437\u043C\u0435\u043D\u044F\u0442\u044C \u0440\u0430\u0437\u043C\u0435\u0440", -popup_dependent:"\u0417\u0430\u0432\u0438\u0441\u0438\u043C\u043E\u0441\u0442\u044C (\u0442\u043E\u043B\u044C\u043A\u043E \u0434\u043B\u044F Firefox)", -popup_size:"\u0420\u0430\u0437\u043C\u0435\u0440", -popup_position:"\u041F\u043E\u0437\u0438\u0446\u0438\u044F (X/Y)", -id:"\u0418\u043C\u044F", -style:"\u0421\u0442\u0438\u043B\u044C", -classes:"\u041A\u043B\u0430\u0441\u0441\u044B", -target_name:"\u0418\u043C\u044F \u0446\u0435\u043B\u0438", -langdir:"\u041D\u0430\u043F\u0440\u0430\u0432\u043B\u0435\u043D\u0438\u0435 \u0442\u0435\u043A\u0441\u0442\u0430", -target_langcode:"\u042F\u0437\u044B\u043A \u0446\u0435\u043B\u0438", -langcode:"\u041A\u043E\u0434 \u044F\u0437\u044B\u043A\u0430", -encoding:"\u041A\u043E\u0434\u0438\u0440\u043E\u0432\u043A\u0430 \u0446\u0435\u043B\u0438", -mime:"MIME \u0442\u0438\u043F \u0446\u0435\u043B\u0438", -rel:"\u041E\u0442\u043D\u043E\u0448\u0435\u043D\u0438\u0435 \u0441\u0442\u0440\u0430\u043D\u0438\u0446\u044B \u043A \u0446\u0435\u043B\u0438", -rev:"\u041E\u0442\u043D\u043E\u0448\u0435\u043D\u0438\u0435 \u0446\u0435\u043B\u0438 \u043A \u0441\u0442\u0440\u0430\u043D\u0438\u0446\u0435", -tabindex:"\u0417\u0430\u0433\u043E\u043B\u043E\u0432\u043E\u043A", -accesskey:"\u041A\u043B\u044E\u0447 \u0434\u043E\u0441\u0442\u0443\u043F\u0430", -ltr:"\u0421\u043B\u0435\u0432\u0430 \u043D\u0430\u043F\u0440\u0430\u0432\u043E", -rtl:"\u0421\u043F\u0440\u0430\u0432\u0430 \u043D\u0430\u043B\u0435\u0432\u043E", -link_list:"\u0421\u043F\u0438\u0441\u043E\u043A \u0441\u0441\u044B\u043B\u043E\u043A" +tinyMCE.addI18n('ru.advlink_dlg',{ +title:"\u041F\u0430\u0440\u0430\u043C\u0435\u0442\u0440\u044B \u0441\u0441\u044B\u043B\u043A\u0438", +url:"\u0410\u0434\u0440\u0435\u0441", +target:"\u0426\u0435\u043B\u044C", +titlefield:"\u0417\u0430\u0433\u043E\u043B\u043E\u0432\u043E\u043A", +is_email:"\u0412\u0432\u0435\u0434\u0435\u043D\u043D\u044B\u0439 \u0430\u0434\u0440\u0435\u0441 \u043D\u0430\u043F\u043E\u043C\u0438\u043D\u0430\u0435\u0442 \u044D\u043B\u0435\u043A\u0442\u0440\u043E\u043D\u043D\u0443\u044E \u043F\u043E\u0447\u0442\u0443, \u0434\u043E\u0431\u0430\u0432\u0438\u0442\u044C \u043F\u0440\u0435\u0444\u0438\u043A\u0441 mailto:?", +is_external:"\u0412\u0432\u0435\u0434\u0435\u043D\u043D\u044B\u0439 \u0430\u0434\u0440\u0435\u0441 \u043D\u0430\u043F\u043E\u043C\u0438\u043D\u0430\u0435\u0442 \u0432\u043D\u0435\u0448\u043D\u044E\u044E \u0441\u0441\u044B\u043B\u043A\u0443, \u0434\u043E\u0431\u0430\u0432\u0438\u0442\u044C \u043F\u0440\u0435\u0444\u0438\u043A\u0441 http://?", +list:"\u0421\u043F\u0438\u0441\u043E\u043A", +general_tab:"\u041E\u0431\u0449\u0435\u0435", +popup_tab:"\u0420\u0430\u0437\u0432\u0435\u0440\u0442\u044B\u0432\u0430\u043D\u0438\u0435", +events_tab:"\u0421\u043E\u0431\u044B\u0442\u0438\u044F", +advanced_tab:"\u0414\u043E\u043F\u043E\u043B\u043D\u0438\u0442\u0435\u043B\u044C\u043D\u043E", +general_props:"\u041E\u0431\u0449\u0438\u0435 \u043F\u0430\u0440\u0430\u043C\u0435\u0442\u0440\u044B", +popup_props:"\u041F\u0430\u0440\u0430\u043C\u0435\u0442\u0440\u044B \u0440\u0430\u0437\u0432\u0435\u0440\u0442\u044B\u0432\u0430\u043D\u0438\u044F", +event_props:"\u041F\u0430\u0440\u0430\u043C\u0435\u0442\u0440\u044B \u0441\u043E\u0431\u044B\u0442\u0438\u0439", +advanced_props:"\u0414\u043E\u043F\u043E\u043B\u043D\u0438\u0442\u0435\u043B\u044C\u043D\u044B\u0435 \u043F\u0430\u0440\u0430\u043C\u0435\u0442\u0440\u044B", +popup_opts:"\u0421\u0432\u043E\u0439\u0441\u0442\u0432\u0430", +anchor_names:"\u042F\u043A\u043E\u0440\u044F", +target_same:"\u041E\u0442\u043A\u0440\u044B\u0442\u044C \u0432 \u044D\u0442\u043E\u043C \u043E\u043A\u043D\u0435/\u043A\u0430\u0434\u0440\u0435", +target_parent:"\u041E\u0442\u043A\u0440\u044B\u0442\u044C \u0432 \u0440\u043E\u0434\u0438\u0442\u0435\u043B\u044C\u0441\u043A\u043E\u043C \u043E\u043A\u043D\u0435/\u043A\u0430\u0434\u0440\u0435", +target_top:"\u041E\u0442\u043A\u0440\u044B\u0442\u044C \u0432 \u0432\u0435\u0440\u0445\u043D\u0435\u043C \u043A\u0430\u0434\u0440\u0435 (\u0437\u0430\u043C\u0435\u043D\u0438\u0442\u044C \u0432\u0441\u0435 \u043A\u0430\u0434\u0440\u044B)", +target_blank:"\u041E\u0442\u043A\u0440\u044B\u0442\u044C \u0432 \u043D\u043E\u0432\u043E\u043C \u043E\u043A\u043D\u0435", +popup:"\u0420\u0430\u0437\u0432\u0435\u0440\u0442\u044B\u0432\u0430\u043D\u0438\u0435 \u0441 \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u043D\u0438\u0435\u043C Java", +popup_url:"\u0410\u0434\u0440\u0435\u0441", +popup_name:"\u041D\u0430\u0437\u0432\u0430\u043D\u0438\u0435 \u043E\u043A\u043D\u0430", +popup_return:"\u0414\u043E\u0431\u0430\u0432\u0438\u0442\u044C 'return false'", +popup_scrollbars:"\u041E\u0442\u043E\u0431\u0440\u0430\u0436\u0430\u0442\u044C \u043F\u043E\u043B\u043E\u0441\u044B \u043F\u0440\u043E\u043A\u0440\u0443\u0442\u043A\u0438", +popup_statusbar:"\u041E\u0442\u043E\u0431\u0440\u0430\u0436\u0430\u0442\u044C \u0441\u0442\u0440\u043E\u043A\u0443 \u0441\u043E\u0441\u0442\u043E\u044F\u043D\u0438\u044F", +popup_toolbar:"\u041E\u0442\u043E\u0431\u0440\u0430\u0436\u0430\u0442\u044C \u043F\u0430\u043D\u0435\u043B\u0438 \u0438\u043D\u0441\u0442\u0440\u0443\u043C\u0435\u043D\u0442\u043E\u0432", +popup_menubar:"\u041E\u0442\u043E\u0431\u0440\u0430\u0436\u0430\u0442\u044C \u043C\u0435\u043D\u044E", +popup_location:"\u041E\u0442\u043E\u0431\u0440\u0430\u0436\u0430\u0442\u044C \u043F\u0430\u043D\u0435\u043B\u044C \u0440\u0430\u0441\u043F\u043E\u043B\u043E\u0436\u0435\u043D\u0438\u044F", +popup_resizable:"\u0420\u0430\u0437\u0440\u0435\u0448\u0430\u0442\u044C \u0438\u0437\u043C\u0435\u043D\u044F\u0442\u044C \u0440\u0430\u0437\u043C\u0435\u0440", +popup_dependent:"\u0417\u0430\u0432\u0438\u0441\u0438\u043C\u043E\u0441\u0442\u044C (\u0442\u043E\u043B\u044C\u043A\u043E \u0434\u043B\u044F Firefox)", +popup_size:"\u0420\u0430\u0437\u043C\u0435\u0440", +popup_position:"\u041F\u043E\u0437\u0438\u0446\u0438\u044F (X/Y)", +id:"\u0418\u043C\u044F", +style:"\u0421\u0442\u0438\u043B\u044C", +classes:"\u041A\u043B\u0430\u0441\u0441\u044B", +target_name:"\u0418\u043C\u044F \u0446\u0435\u043B\u0438", +langdir:"\u041D\u0430\u043F\u0440\u0430\u0432\u043B\u0435\u043D\u0438\u0435 \u0442\u0435\u043A\u0441\u0442\u0430", +target_langcode:"\u042F\u0437\u044B\u043A \u0446\u0435\u043B\u0438", +langcode:"\u041A\u043E\u0434 \u044F\u0437\u044B\u043A\u0430", +encoding:"\u041A\u043E\u0434\u0438\u0440\u043E\u0432\u043A\u0430 \u0446\u0435\u043B\u0438", +mime:"MIME \u0442\u0438\u043F \u0446\u0435\u043B\u0438", +rel:"\u041E\u0442\u043D\u043E\u0448\u0435\u043D\u0438\u0435 \u0441\u0442\u0440\u0430\u043D\u0438\u0446\u044B \u043A \u0446\u0435\u043B\u0438", +rev:"\u041E\u0442\u043D\u043E\u0448\u0435\u043D\u0438\u0435 \u0446\u0435\u043B\u0438 \u043A \u0441\u0442\u0440\u0430\u043D\u0438\u0446\u0435", +tabindex:"\u0417\u0430\u0433\u043E\u043B\u043E\u0432\u043E\u043A", +accesskey:"\u041A\u043B\u044E\u0447 \u0434\u043E\u0441\u0442\u0443\u043F\u0430", +ltr:"\u0421\u043B\u0435\u0432\u0430 \u043D\u0430\u043F\u0440\u0430\u0432\u043E", +rtl:"\u0421\u043F\u0440\u0430\u0432\u0430 \u043D\u0430\u043B\u0435\u0432\u043E", +link_list:"\u0421\u043F\u0438\u0441\u043E\u043A \u0441\u0441\u044B\u043B\u043E\u043A" }); \ No newline at end of file diff --git a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/advlink/langs/sv_dlg.js b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/advlink/langs/sv_dlg.js old mode 100644 new mode 100755 index 06f6b0a1ab..9538073c5a --- a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/advlink/langs/sv_dlg.js +++ b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/advlink/langs/sv_dlg.js @@ -1,52 +1,52 @@ -tinyMCE.addI18n('sv.advlink_dlg',{ -title:"Infoga/redigera l\u00E4nk", -url:"L\u00E4nkens URL", -target:"M\u00E5l", -titlefield:"Titel", -is_email:"L\u00E4nken du angav verkar vara en e-post adress. Vill du infoga mailto: prefixet p\u00E5 l\u00E4nken?", -is_external:"L\u00E4nken du angav verkar vara en extern adress. Vill du infoga http:// prefixet p\u00E5 l\u00E4nken?", -list:"L\u00E4nklista", -general_tab:"Generellt", -popup_tab:"Popup", -events_tab:"H\u00E4ndelser", -advanced_tab:"Avancerat", -general_props:"Generella inst\u00E4llningar", -popup_props:"Popup-inst\u00E4llningar", -event_props:"H\u00E4ndelser", -advanced_props:"Avancerade inst\u00E4llningar", -popup_opts:"Inst\u00E4llningar", -anchor_names:"Bokm\u00E4rken", -target_same:"\u00D6ppna i detta f\u00F6nster/ram", -target_parent:"\u00D6ppna i \u00F6verliggande f\u00F6nster/ram", -target_top:"\u00D6ppna i toppramen (ers\u00E4tter alla ramar)", -target_blank:"\u00D6ppna i nytt f\u00F6nster", -popup:"Javascript popup", -popup_url:"Popup URL", -popup_name:"F\u00F6nsternamn", -popup_return:"Infoga 'return false'", -popup_scrollbars:"Rullningslister", -popup_statusbar:"Statusf\u00E4lt", -popup_toolbar:"Verktygsf\u00E4lt", -popup_menubar:"Menyrad", -popup_location:"Adressraden", -popup_resizable:"Skalbart f\u00F6nster", -popup_dependent:"Beroende av (Mozilla/Firefox enbart)", -popup_size:"Storlek", -popup_position:"Position (x/y)", -id:"Id", -style:"Stil", -classes:"Klasser", -target_name:"M\u00E5lnamn", -langdir:"Skriftriktning", -target_langcode:"M\u00E5lspr\u00E5k", -langcode:"Spr\u00E5kkod", -encoding:"Teckenformattering", -mime:"MIME type", -rel:"Relation (rel attribut)", -rev:"Omv\u00E4nd relation (rev)", -tabindex:"Tabbindex", -accesskey:"Snabbtangent", -ltr:"V\u00E4nster till h\u00F6ger", -rtl:"H\u00F6ger till v\u00E4nster", -link_list:"L\u00E4nklista" +tinyMCE.addI18n('sv.advlink_dlg',{ +title:"Infoga/redigera l\u00E4nk", +url:"L\u00E4nkens URL", +target:"M\u00E5l", +titlefield:"Titel", +is_email:"L\u00E4nken du angav verkar vara en e-post adress. Vill du infoga mailto: prefixet p\u00E5 l\u00E4nken?", +is_external:"L\u00E4nken du angav verkar vara en extern adress. Vill du infoga http:// prefixet p\u00E5 l\u00E4nken?", +list:"L\u00E4nklista", +general_tab:"Generellt", +popup_tab:"Popup", +events_tab:"H\u00E4ndelser", +advanced_tab:"Avancerat", +general_props:"Generella inst\u00E4llningar", +popup_props:"Popup-inst\u00E4llningar", +event_props:"H\u00E4ndelser", +advanced_props:"Avancerade inst\u00E4llningar", +popup_opts:"Inst\u00E4llningar", +anchor_names:"Bokm\u00E4rken", +target_same:"\u00D6ppna i detta f\u00F6nster/ram", +target_parent:"\u00D6ppna i \u00F6verliggande f\u00F6nster/ram", +target_top:"\u00D6ppna i toppramen (ers\u00E4tter alla ramar)", +target_blank:"\u00D6ppna i nytt f\u00F6nster", +popup:"Javascript popup", +popup_url:"Popup URL", +popup_name:"F\u00F6nsternamn", +popup_return:"Infoga 'return false'", +popup_scrollbars:"Rullningslister", +popup_statusbar:"Statusf\u00E4lt", +popup_toolbar:"Verktygsf\u00E4lt", +popup_menubar:"Menyrad", +popup_location:"Adressraden", +popup_resizable:"Skalbart f\u00F6nster", +popup_dependent:"Beroende av (Mozilla/Firefox enbart)", +popup_size:"Storlek", +popup_position:"Position (x/y)", +id:"Id", +style:"Stil", +classes:"Klasser", +target_name:"M\u00E5lnamn", +langdir:"Skriftriktning", +target_langcode:"M\u00E5lspr\u00E5k", +langcode:"Spr\u00E5kkod", +encoding:"Teckenformattering", +mime:"MIME type", +rel:"Relation (rel attribut)", +rev:"Omv\u00E4nd relation (rev)", +tabindex:"Tabbindex", +accesskey:"Snabbtangent", +ltr:"V\u00E4nster till h\u00F6ger", +rtl:"H\u00F6ger till v\u00E4nster", +link_list:"L\u00E4nklista" }); \ No newline at end of file diff --git a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/advlink/langs/zh_dlg.js b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/advlink/langs/zh_dlg.js old mode 100644 new mode 100755 index a156410326..7e5d08e207 --- a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/advlink/langs/zh_dlg.js +++ b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/advlink/langs/zh_dlg.js @@ -1,52 +1,52 @@ -tinyMCE.addI18n('zh.advlink_dlg',{ -title:"\u63D2\u5165/\u7DE8\u8F2F\u8D85\u9023\u7D50", -url:"\u8D85\u9023\u7D50URL", -target:"\u76EE\u6A19", -titlefield:"\u6A19\u984C", -is_email:"\u60A8\u8F38\u5165\u7684\u4F3C\u4E4E\u662F\u96FB\u5B50\u90F5\u4EF6\u5730\u5740,\u662F\u5426\u9700\u8981\u52A0 mailto:\uFF1F", -is_external:"\u60A8\u8F38\u5165\u7684 URL \u4F3C\u4E4E\u70BA\u5916\u90E8\u8D85\u9023\u7D50\uFF0C\u662F\u5426\u8981\u52A0\u4E0A \"http://\" \uFF1F", -list:"\u8D85\u9023\u7D50\u6E05\u55AE", -general_tab:"\u4E00\u822C", -popup_tab:"\u5F48\u51FA\u8996\u7A97", -events_tab:"\u4E8B\u4EF6", -advanced_tab:"\u9AD8\u7D1A\u5C6C\u6027", -general_props:"\u4E00\u822C\u5C6C\u6027", -popup_props:"\u5F48\u51FA\u8996\u7A97\u5C6C\u6027", -event_props:"\u4E8B\u4EF6", -advanced_props:"\u9AD8\u7D1A\u5C6C\u6027", -popup_opts:"\u9078\u9805", -anchor_names:"\u66F8\u7C3D", -target_same:"\u5728\u76EE\u524D\u8996\u7A97\u6253\u958B\u8D85\u9023\u7D50", -target_parent:"\u5728\u7236\u8996\u7A97\u6253\u958B\u8D85\u9023\u7D50", -target_top:"\u5728\u9802\u90E8\u8996\u7A97\u6253\u958B\u8D85\u9023\u7D50", -target_blank:"\u5728\u65B0\u8996\u7A97\u6253\u958B\u8D85\u9023\u7D50", -popup:"JavaScript \u5F48\u51FA\u8996\u7A97", -popup_url:"\u5F48\u51FA\u8996\u7A97URL", -popup_name:"\u8996\u7A97\u540D\u7A31", -popup_return:"\u63D2\u5165 \"return false\"", -popup_scrollbars:"\u986F\u793A\u6EFE\u52D5\u689D", -popup_statusbar:"\u986F\u793A\u72C0\u614B\u5217", -popup_toolbar:"\u986F\u793A\u5DE5\u5177\u5217", -popup_menubar:"\u986F\u793A\u83DC\u55AE\u5217", -popup_location:"\u986F\u793A\u5730\u5740\u6B04", -popup_resizable:"\u5F48\u7A97\u53EF\u8ABF\u6574\u5927\u5C0F", -popup_dependent:"\u700F\u89BD\u5668\u9650\u5236(\u50C5\u652F\u63F4 Mozilla/Firefox)", -popup_size:"\u5927\u5C0F", -popup_position:"\u4F4D\u7F6E(X/Y)", -id:"ID", -style:"\u6A23\u5F0F", -classes:"\u985E\u5225", -target_name:"\u76EE\u6A19\u540D\u7A31", -langdir:"\u8A9E\u8A00\u66F8\u5BEB\u65B9\u5411", -target_langcode:"\u76EE\u6A19\u8A9E\u8A00", -langcode:"\u8A9E\u8A00\u7DE8\u78BC", -encoding:"\u76EE\u6A19\u8A9E\u8A00\u7DE8\u78BC", -mime:"\u76EE\u6A19MIME\u985E\u578B", -rel:"\u7DB2\u9801\u5230\u76EE\u6A19\u7684\u95DC\u7CFB", -rev:"\u76EE\u6A19\u5230\u7DB2\u9801\u7684\u95DC\u7CFB", -tabindex:"Tab\u7D22\u5F15", -accesskey:"\u5FEB\u901F\u9375", -ltr:"\u5F9E\u5DE6\u5230\u53F3", -rtl:"\u5F9E\u53F3\u5230\u5DE6", -link_list:"\u8D85\u9023\u7D50\u6E05\u55AE" +tinyMCE.addI18n('zh.advlink_dlg',{ +title:"\u63D2\u5165/\u7DE8\u8F2F\u8D85\u9023\u7D50", +url:"\u8D85\u9023\u7D50URL", +target:"\u76EE\u6A19", +titlefield:"\u6A19\u984C", +is_email:"\u60A8\u8F38\u5165\u7684\u4F3C\u4E4E\u662F\u96FB\u5B50\u90F5\u4EF6\u5730\u5740,\u662F\u5426\u9700\u8981\u52A0 mailto:\uFF1F", +is_external:"\u60A8\u8F38\u5165\u7684 URL \u4F3C\u4E4E\u70BA\u5916\u90E8\u8D85\u9023\u7D50\uFF0C\u662F\u5426\u8981\u52A0\u4E0A \"http://\" \uFF1F", +list:"\u8D85\u9023\u7D50\u6E05\u55AE", +general_tab:"\u4E00\u822C", +popup_tab:"\u5F48\u51FA\u8996\u7A97", +events_tab:"\u4E8B\u4EF6", +advanced_tab:"\u9AD8\u7D1A\u5C6C\u6027", +general_props:"\u4E00\u822C\u5C6C\u6027", +popup_props:"\u5F48\u51FA\u8996\u7A97\u5C6C\u6027", +event_props:"\u4E8B\u4EF6", +advanced_props:"\u9AD8\u7D1A\u5C6C\u6027", +popup_opts:"\u9078\u9805", +anchor_names:"\u66F8\u7C3D", +target_same:"\u5728\u76EE\u524D\u8996\u7A97\u6253\u958B\u8D85\u9023\u7D50", +target_parent:"\u5728\u7236\u8996\u7A97\u6253\u958B\u8D85\u9023\u7D50", +target_top:"\u5728\u9802\u90E8\u8996\u7A97\u6253\u958B\u8D85\u9023\u7D50", +target_blank:"\u5728\u65B0\u8996\u7A97\u6253\u958B\u8D85\u9023\u7D50", +popup:"JavaScript \u5F48\u51FA\u8996\u7A97", +popup_url:"\u5F48\u51FA\u8996\u7A97URL", +popup_name:"\u8996\u7A97\u540D\u7A31", +popup_return:"\u63D2\u5165 \"return false\"", +popup_scrollbars:"\u986F\u793A\u6EFE\u52D5\u689D", +popup_statusbar:"\u986F\u793A\u72C0\u614B\u5217", +popup_toolbar:"\u986F\u793A\u5DE5\u5177\u5217", +popup_menubar:"\u986F\u793A\u83DC\u55AE\u5217", +popup_location:"\u986F\u793A\u5730\u5740\u6B04", +popup_resizable:"\u5F48\u7A97\u53EF\u8ABF\u6574\u5927\u5C0F", +popup_dependent:"\u700F\u89BD\u5668\u9650\u5236(\u50C5\u652F\u63F4 Mozilla/Firefox)", +popup_size:"\u5927\u5C0F", +popup_position:"\u4F4D\u7F6E(X/Y)", +id:"ID", +style:"\u6A23\u5F0F", +classes:"\u985E\u5225", +target_name:"\u76EE\u6A19\u540D\u7A31", +langdir:"\u8A9E\u8A00\u66F8\u5BEB\u65B9\u5411", +target_langcode:"\u76EE\u6A19\u8A9E\u8A00", +langcode:"\u8A9E\u8A00\u7DE8\u78BC", +encoding:"\u76EE\u6A19\u8A9E\u8A00\u7DE8\u78BC", +mime:"\u76EE\u6A19MIME\u985E\u578B", +rel:"\u7DB2\u9801\u5230\u76EE\u6A19\u7684\u95DC\u7CFB", +rev:"\u76EE\u6A19\u5230\u7DB2\u9801\u7684\u95DC\u7CFB", +tabindex:"Tab\u7D22\u5F15", +accesskey:"\u5FEB\u901F\u9375", +ltr:"\u5F9E\u5DE6\u5230\u53F3", +rtl:"\u5F9E\u53F3\u5230\u5DE6", +link_list:"\u8D85\u9023\u7D50\u6E05\u55AE" }); \ No newline at end of file diff --git a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/advlink/link.htm b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/advlink/link.htm old mode 100644 new mode 100755 index 876669c6b3..0b0e0bcd33 --- a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/advlink/link.htm +++ b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/advlink/link.htm @@ -1,333 +1,333 @@ - - - - {#advlink_dlg.title} - - - - - - - - -
    - - -
    -
    -
    - {#advlink_dlg.general_props} - - - - - - - - - - - - - - - - - - - - - - - - - - -
    - - - - -
     
    - -
    -
    -
    - - - -
    -
    - {#advlink_dlg.advanced_props} - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    - -
    - -
    -
    -
    -
    -
    - -
    -
    - {#advlink_dlg.event_props} - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    -
    -
    -
    - -
    - - -
    -
    - - + + + + {#advlink_dlg.title} + + + + + + + + +
    + + +
    +
    +
    + {#advlink_dlg.general_props} + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + + + +
     
    + +
    +
    +
    + + + +
    +
    + {#advlink_dlg.advanced_props} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    +
    +
    +
    + +
    +
    + {#advlink_dlg.event_props} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    +
    +
    +
    + +
    + + +
    +
    + + diff --git a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/autosave/langs/bg.js b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/autosave/langs/bg.js old mode 100644 new mode 100755 index 2f9b2a000b..4e8a4ab9ce --- a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/autosave/langs/bg.js +++ b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/autosave/langs/bg.js @@ -1,4 +1,4 @@ -tinyMCE.addI18n('bg.autosave',{ -restore_content: "Restore auto-saved content", -warning_message: "If you restore the saved content, you will lose all the content that is currently in the editor.\n\nAre you sure you want to restore the saved content?" +tinyMCE.addI18n('bg.autosave',{ +restore_content: "Restore auto-saved content", +warning_message: "If you restore the saved content, you will lose all the content that is currently in the editor.\n\nAre you sure you want to restore the saved content?" }); \ No newline at end of file diff --git a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/autosave/langs/cs.js b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/autosave/langs/cs.js old mode 100644 new mode 100755 index a69b8554c1..b4125045c9 --- a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/autosave/langs/cs.js +++ b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/autosave/langs/cs.js @@ -1,4 +1,4 @@ -tinyMCE.addI18n(cs.autosave',{ -restore_content: "Restore auto-saved content", -warning_message: "If you restore the saved content, you will lose all the content that is currently in the editor.\n\nAre you sure you want to restore the saved content?" +tinyMCE.addI18n(cs.autosave',{ +restore_content: "Restore auto-saved content", +warning_message: "If you restore the saved content, you will lose all the content that is currently in the editor.\n\nAre you sure you want to restore the saved content?" }); \ No newline at end of file diff --git a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/autosave/langs/da.js b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/autosave/langs/da.js old mode 100644 new mode 100755 index c4296bd5ed..897d88a8df --- a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/autosave/langs/da.js +++ b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/autosave/langs/da.js @@ -1,4 +1,4 @@ -tinyMCE.addI18n('da.autosave',{ -restore_content: "Restore auto-saved content", -warning_message: "If you restore the saved content, you will lose all the content that is currently in the editor.\n\nAre you sure you want to restore the saved content?" +tinyMCE.addI18n('da.autosave',{ +restore_content: "Restore auto-saved content", +warning_message: "If you restore the saved content, you will lose all the content that is currently in the editor.\n\nAre you sure you want to restore the saved content?" }); \ No newline at end of file diff --git a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/autosave/langs/de.js b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/autosave/langs/de.js old mode 100644 new mode 100755 index afbee1377d..07c3281401 --- a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/autosave/langs/de.js +++ b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/autosave/langs/de.js @@ -1,4 +1,4 @@ -tinyMCE.addI18n('de.autosave',{ -restore_content: "Restore auto-saved content", -warning_message: "If you restore the saved content, you will lose all the content that is currently in the editor.\n\nAre you sure you want to restore the saved content?" +tinyMCE.addI18n('de.autosave',{ +restore_content: "Restore auto-saved content", +warning_message: "If you restore the saved content, you will lose all the content that is currently in the editor.\n\nAre you sure you want to restore the saved content?" }); \ No newline at end of file diff --git a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/autosave/langs/en.js b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/autosave/langs/en.js old mode 100644 new mode 100755 index fce6bd3e1f..219f769ac4 --- a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/autosave/langs/en.js +++ b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/autosave/langs/en.js @@ -1,4 +1,4 @@ -tinyMCE.addI18n('en.autosave',{ -restore_content: "Restore auto-saved content", -warning_message: "If you restore the saved content, you will lose all the content that is currently in the editor.\n\nAre you sure you want to restore the saved content?" +tinyMCE.addI18n('en.autosave',{ +restore_content: "Restore auto-saved content", +warning_message: "If you restore the saved content, you will lose all the content that is currently in the editor.\n\nAre you sure you want to restore the saved content?" }); \ No newline at end of file diff --git a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/autosave/langs/es.js b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/autosave/langs/es.js old mode 100644 new mode 100755 index 2451237e5b..f67d608651 --- a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/autosave/langs/es.js +++ b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/autosave/langs/es.js @@ -1,4 +1,4 @@ -tinyMCE.addI18n('es.autosave',{ -restore_content: "Restore auto-saved content", -warning_message: "If you restore the saved content, you will lose all the content that is currently in the editor.\n\nAre you sure you want to restore the saved content?" +tinyMCE.addI18n('es.autosave',{ +restore_content: "Restore auto-saved content", +warning_message: "If you restore the saved content, you will lose all the content that is currently in the editor.\n\nAre you sure you want to restore the saved content?" }); \ No newline at end of file diff --git a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/autosave/langs/fa.js b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/autosave/langs/fa.js old mode 100644 new mode 100755 index 5071392868..95bfbb6d40 --- a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/autosave/langs/fa.js +++ b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/autosave/langs/fa.js @@ -1,4 +1,4 @@ -tinyMCE.addI18n('fa.autosave',{ -restore_content: "Restore auto-saved content", -warning_message: "If you restore the saved content, you will lose all the content that is currently in the editor.\n\nAre you sure you want to restore the saved content?" +tinyMCE.addI18n('fa.autosave',{ +restore_content: "Restore auto-saved content", +warning_message: "If you restore the saved content, you will lose all the content that is currently in the editor.\n\nAre you sure you want to restore the saved content?" }); \ No newline at end of file diff --git a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/autosave/langs/fi.js b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/autosave/langs/fi.js old mode 100644 new mode 100755 index 8e7f53805b..4eb628cc63 --- a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/autosave/langs/fi.js +++ b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/autosave/langs/fi.js @@ -1,4 +1,4 @@ -tinyMCE.addI18n('fi.autosave',{ -restore_content: "Restore auto-saved content", -warning_message: "If you restore the saved content, you will lose all the content that is currently in the editor.\n\nAre you sure you want to restore the saved content?" +tinyMCE.addI18n('fi.autosave',{ +restore_content: "Restore auto-saved content", +warning_message: "If you restore the saved content, you will lose all the content that is currently in the editor.\n\nAre you sure you want to restore the saved content?" }); \ No newline at end of file diff --git a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/autosave/langs/fr.js b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/autosave/langs/fr.js old mode 100644 new mode 100755 index 66688c4e0c..c0f6cc791d --- a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/autosave/langs/fr.js +++ b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/autosave/langs/fr.js @@ -1,4 +1,4 @@ -tinyMCE.addI18n('fr.autosave',{ -restore_content: "Restore auto-saved content", -warning_message: "If you restore the saved content, you will lose all the content that is currently in the editor.\n\nAre you sure you want to restore the saved content?" +tinyMCE.addI18n('fr.autosave',{ +restore_content: "Restore auto-saved content", +warning_message: "If you restore the saved content, you will lose all the content that is currently in the editor.\n\nAre you sure you want to restore the saved content?" }); \ No newline at end of file diff --git a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/autosave/langs/he.js b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/autosave/langs/he.js old mode 100644 new mode 100755 index c4420aba8f..f6281af2a9 --- a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/autosave/langs/he.js +++ b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/autosave/langs/he.js @@ -1,4 +1,4 @@ -tinyMCE.addI18n('he.autosave',{ -restore_content: "Restore auto-saved content", -warning_message: "If you restore the saved content, you will lose all the content that is currently in the editor.\n\nAre you sure you want to restore the saved content?" +tinyMCE.addI18n('he.autosave',{ +restore_content: "Restore auto-saved content", +warning_message: "If you restore the saved content, you will lose all the content that is currently in the editor.\n\nAre you sure you want to restore the saved content?" }); \ No newline at end of file diff --git a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/autosave/langs/it.js b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/autosave/langs/it.js old mode 100644 new mode 100755 index 4521b78036..8dea3d644f --- a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/autosave/langs/it.js +++ b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/autosave/langs/it.js @@ -1,4 +1,4 @@ -tinyMCE.addI18n('it.autosave',{ -restore_content: "Restore auto-saved content", -warning_message: "If you restore the saved content, you will lose all the content that is currently in the editor.\n\nAre you sure you want to restore the saved content?" +tinyMCE.addI18n('it.autosave',{ +restore_content: "Restore auto-saved content", +warning_message: "If you restore the saved content, you will lose all the content that is currently in the editor.\n\nAre you sure you want to restore the saved content?" }); \ No newline at end of file diff --git a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/autosave/langs/ja.js b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/autosave/langs/ja.js old mode 100644 new mode 100755 index c593dbefaf..095b7042f9 --- a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/autosave/langs/ja.js +++ b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/autosave/langs/ja.js @@ -1,4 +1,4 @@ -tinyMCE.addI18n('ja.autosave',{ -restore_content: "Restore auto-saved content", -warning_message: "If you restore the saved content, you will lose all the content that is currently in the editor.\n\nAre you sure you want to restore the saved content?" +tinyMCE.addI18n('ja.autosave',{ +restore_content: "Restore auto-saved content", +warning_message: "If you restore the saved content, you will lose all the content that is currently in the editor.\n\nAre you sure you want to restore the saved content?" }); \ No newline at end of file diff --git a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/autosave/langs/nl.js b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/autosave/langs/nl.js old mode 100644 new mode 100755 index 2f37162277..24e42dff33 --- a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/autosave/langs/nl.js +++ b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/autosave/langs/nl.js @@ -1,4 +1,4 @@ -tinyMCE.addI18n('nl.autosave',{ -restore_content: "Restore auto-saved content", -warning_message: "If you restore the saved content, you will lose all the content that is currently in the editor.\n\nAre you sure you want to restore the saved content?" +tinyMCE.addI18n('nl.autosave',{ +restore_content: "Restore auto-saved content", +warning_message: "If you restore the saved content, you will lose all the content that is currently in the editor.\n\nAre you sure you want to restore the saved content?" }); \ No newline at end of file diff --git a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/autosave/langs/nn.js b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/autosave/langs/nn.js old mode 100644 new mode 100755 index 480d8d34cf..6bdec3382b --- a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/autosave/langs/nn.js +++ b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/autosave/langs/nn.js @@ -1,4 +1,4 @@ -tinyMCE.addI18n('nn.autosave',{ -restore_content: "Restore auto-saved content", -warning_message: "If you restore the saved content, you will lose all the content that is currently in the editor.\n\nAre you sure you want to restore the saved content?" +tinyMCE.addI18n('nn.autosave',{ +restore_content: "Restore auto-saved content", +warning_message: "If you restore the saved content, you will lose all the content that is currently in the editor.\n\nAre you sure you want to restore the saved content?" }); \ No newline at end of file diff --git a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/autosave/langs/pl.js b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/autosave/langs/pl.js old mode 100644 new mode 100755 index cd1c95ed84..49efc66967 --- a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/autosave/langs/pl.js +++ b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/autosave/langs/pl.js @@ -1,4 +1,4 @@ -tinyMCE.addI18n('pl.autosave',{ -restore_content: "Restore auto-saved content", -warning_message: "If you restore the saved content, you will lose all the content that is currently in the editor.\n\nAre you sure you want to restore the saved content?" +tinyMCE.addI18n('pl.autosave',{ +restore_content: "Restore auto-saved content", +warning_message: "If you restore the saved content, you will lose all the content that is currently in the editor.\n\nAre you sure you want to restore the saved content?" }); \ No newline at end of file diff --git a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/autosave/langs/pt.js b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/autosave/langs/pt.js old mode 100644 new mode 100755 index 64927e6fbd..28e314d08b --- a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/autosave/langs/pt.js +++ b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/autosave/langs/pt.js @@ -1,4 +1,4 @@ -tinyMCE.addI18n('pt.autosave',{ -restore_content: "Restore auto-saved content", -warning_message: "If you restore the saved content, you will lose all the content that is currently in the editor.\n\nAre you sure you want to restore the saved content?" +tinyMCE.addI18n('pt.autosave',{ +restore_content: "Restore auto-saved content", +warning_message: "If you restore the saved content, you will lose all the content that is currently in the editor.\n\nAre you sure you want to restore the saved content?" }); \ No newline at end of file diff --git a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/autosave/langs/ru.js b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/autosave/langs/ru.js old mode 100644 new mode 100755 index 944df6d747..b9b15e3940 --- a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/autosave/langs/ru.js +++ b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/autosave/langs/ru.js @@ -1,4 +1,4 @@ -tinyMCE.addI18n('ru.autosave',{ -restore_content: "Restore auto-saved content", -warning_message: "If you restore the saved content, you will lose all the content that is currently in the editor.\n\nAre you sure you want to restore the saved content?" +tinyMCE.addI18n('ru.autosave',{ +restore_content: "Restore auto-saved content", +warning_message: "If you restore the saved content, you will lose all the content that is currently in the editor.\n\nAre you sure you want to restore the saved content?" }); \ No newline at end of file diff --git a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/autosave/langs/sv.js b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/autosave/langs/sv.js old mode 100644 new mode 100755 index e2ba58f297..d0a8574c65 --- a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/autosave/langs/sv.js +++ b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/autosave/langs/sv.js @@ -1,4 +1,4 @@ -tinyMCE.addI18n('sv.autosave',{ -restore_content: "Restore auto-saved content", -warning_message: "If you restore the saved content, you will lose all the content that is currently in the editor.\n\nAre you sure you want to restore the saved content?" +tinyMCE.addI18n('sv.autosave',{ +restore_content: "Restore auto-saved content", +warning_message: "If you restore the saved content, you will lose all the content that is currently in the editor.\n\nAre you sure you want to restore the saved content?" }); \ No newline at end of file diff --git a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/autosave/langs/zh.js b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/autosave/langs/zh.js old mode 100644 new mode 100755 index d9fbab72c0..bb597af704 --- a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/autosave/langs/zh.js +++ b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/autosave/langs/zh.js @@ -1,4 +1,4 @@ -tinyMCE.addI18n('zh.autosave',{ -restore_content: "Restore auto-saved content", -warning_message: "If you restore the saved content, you will lose all the content that is currently in the editor.\n\nAre you sure you want to restore the saved content?" +tinyMCE.addI18n('zh.autosave',{ +restore_content: "Restore auto-saved content", +warning_message: "If you restore the saved content, you will lose all the content that is currently in the editor.\n\nAre you sure you want to restore the saved content?" }); \ No newline at end of file diff --git a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/clearfloat/langs/bg.js b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/clearfloat/langs/bg.js old mode 100644 new mode 100755 index 091bb9569d..9788919499 --- a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/clearfloat/langs/bg.js +++ b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/clearfloat/langs/bg.js @@ -1,5 +1,5 @@ -// UK lang variables - -tinyMCE.addI18n('bg.clearfloat', { - button_desc : 'Flow below floated elements' -}); +// UK lang variables + +tinyMCE.addI18n('bg.clearfloat', { + button_desc : 'Flow below floated elements' +}); diff --git a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/clearfloat/langs/cs.js b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/clearfloat/langs/cs.js old mode 100644 new mode 100755 index fb5d979932..aeddb1c233 --- a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/clearfloat/langs/cs.js +++ b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/clearfloat/langs/cs.js @@ -1,5 +1,5 @@ -// UK lang variables - -tinyMCE.addI18n('cs.clearfloat', { - button_desc : 'Flow below floated elements' -}); +// UK lang variables + +tinyMCE.addI18n('cs.clearfloat', { + button_desc : 'Flow below floated elements' +}); diff --git a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/clearfloat/langs/da.js b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/clearfloat/langs/da.js old mode 100644 new mode 100755 index 0000ab86f7..6f4eb450aa --- a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/clearfloat/langs/da.js +++ b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/clearfloat/langs/da.js @@ -1,5 +1,5 @@ -// UK lang variables - -tinyMCE.addI18n('da.clearfloat', { - button_desc : 'Flow below floated elements' -}); +// UK lang variables + +tinyMCE.addI18n('da.clearfloat', { + button_desc : 'Flow below floated elements' +}); diff --git a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/clearfloat/langs/de.js b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/clearfloat/langs/de.js old mode 100644 new mode 100755 index 6df3c84a12..dab80eb3eb --- a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/clearfloat/langs/de.js +++ b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/clearfloat/langs/de.js @@ -1,5 +1,5 @@ -// UK lang variables - -tinyMCE.addI18n('de.clearfloat', { - button_desc : 'Flow below floated elements' -}); +// UK lang variables + +tinyMCE.addI18n('de.clearfloat', { + button_desc : 'Flow below floated elements' +}); diff --git a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/clearfloat/langs/en.js b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/clearfloat/langs/en.js old mode 100644 new mode 100755 index 6a627c8232..7fbc62c77d --- a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/clearfloat/langs/en.js +++ b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/clearfloat/langs/en.js @@ -1,5 +1,5 @@ -// UK lang variables - -tinyMCE.addI18n('en.clearfloat', { - button_desc : 'Flow below floated elements' -}); +// UK lang variables + +tinyMCE.addI18n('en.clearfloat', { + button_desc : 'Flow below floated elements' +}); diff --git a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/clearfloat/langs/es.js b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/clearfloat/langs/es.js old mode 100644 new mode 100755 index 28ed01178e..2a073e02bd --- a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/clearfloat/langs/es.js +++ b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/clearfloat/langs/es.js @@ -1,5 +1,5 @@ -// UK lang variables - -tinyMCE.addI18n('es.clearfloat', { - button_desc : 'Flow below floated elements' -}); +// UK lang variables + +tinyMCE.addI18n('es.clearfloat', { + button_desc : 'Flow below floated elements' +}); diff --git a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/clearfloat/langs/fa.js b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/clearfloat/langs/fa.js old mode 100644 new mode 100755 index c57ca728c4..d8c7ae6c8a --- a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/clearfloat/langs/fa.js +++ b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/clearfloat/langs/fa.js @@ -1,5 +1,5 @@ -// UK lang variables - -tinyMCE.addI18n('fa.clearfloat', { - button_desc : 'Flow below floated elements' -}); +// UK lang variables + +tinyMCE.addI18n('fa.clearfloat', { + button_desc : 'Flow below floated elements' +}); diff --git a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/clearfloat/langs/fi.js b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/clearfloat/langs/fi.js old mode 100644 new mode 100755 index 4692c8ec9b..1f6ab1a72e --- a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/clearfloat/langs/fi.js +++ b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/clearfloat/langs/fi.js @@ -1,5 +1,5 @@ -// UK lang variables - -tinyMCE.addI18n('fi.clearfloat', { - button_desc : 'Flow below floated elements' -}); +// UK lang variables + +tinyMCE.addI18n('fi.clearfloat', { + button_desc : 'Flow below floated elements' +}); diff --git a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/clearfloat/langs/fr.js b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/clearfloat/langs/fr.js old mode 100644 new mode 100755 index 5295d25dbc..e7a7a525c3 --- a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/clearfloat/langs/fr.js +++ b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/clearfloat/langs/fr.js @@ -1,5 +1,5 @@ -// UK lang variables - -tinyMCE.addI18n('fr.clearfloat', { - button_desc : 'Flow below floated elements' -}); +// UK lang variables + +tinyMCE.addI18n('fr.clearfloat', { + button_desc : 'Flow below floated elements' +}); diff --git a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/clearfloat/langs/he.js b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/clearfloat/langs/he.js old mode 100644 new mode 100755 index 730f1d54f9..014fdd8fc6 --- a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/clearfloat/langs/he.js +++ b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/clearfloat/langs/he.js @@ -1,5 +1,5 @@ -// UK lang variables - -tinyMCE.addI18n('he.clearfloat', { - button_desc : 'Flow below floated elements' -}); +// UK lang variables + +tinyMCE.addI18n('he.clearfloat', { + button_desc : 'Flow below floated elements' +}); diff --git a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/clearfloat/langs/it.js b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/clearfloat/langs/it.js old mode 100644 new mode 100755 index 15246b48b2..b25d5d010a --- a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/clearfloat/langs/it.js +++ b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/clearfloat/langs/it.js @@ -1,5 +1,5 @@ -// UK lang variables - -tinyMCE.addI18n('it.clearfloat', { - button_desc : 'Flow below floated elements' -}); +// UK lang variables + +tinyMCE.addI18n('it.clearfloat', { + button_desc : 'Flow below floated elements' +}); diff --git a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/clearfloat/langs/ja.js b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/clearfloat/langs/ja.js old mode 100644 new mode 100755 index 3e921236da..40105a498d --- a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/clearfloat/langs/ja.js +++ b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/clearfloat/langs/ja.js @@ -1,5 +1,5 @@ -// UK lang variables - -tinyMCE.addI18n('ja.clearfloat', { - button_desc : 'Flow below floated elements' -}); +// UK lang variables + +tinyMCE.addI18n('ja.clearfloat', { + button_desc : 'Flow below floated elements' +}); diff --git a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/clearfloat/langs/nl.js b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/clearfloat/langs/nl.js old mode 100644 new mode 100755 index 76d903b524..7f385cb280 --- a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/clearfloat/langs/nl.js +++ b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/clearfloat/langs/nl.js @@ -1,5 +1,5 @@ -// UK lang variables - -tinyMCE.addI18n('nl.clearfloat', { - button_desc : 'Flow below floated elements' -}); +// UK lang variables + +tinyMCE.addI18n('nl.clearfloat', { + button_desc : 'Flow below floated elements' +}); diff --git a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/clearfloat/langs/nn.js b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/clearfloat/langs/nn.js old mode 100644 new mode 100755 index 765b696254..cbf861d32c --- a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/clearfloat/langs/nn.js +++ b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/clearfloat/langs/nn.js @@ -1,5 +1,5 @@ -// UK lang variables - -tinyMCE.addI18n('nn.clearfloat', { - button_desc : 'Flow below floated elements' -}); +// UK lang variables + +tinyMCE.addI18n('nn.clearfloat', { + button_desc : 'Flow below floated elements' +}); diff --git a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/clearfloat/langs/pl.js b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/clearfloat/langs/pl.js old mode 100644 new mode 100755 index 32995edba3..5837c64faa --- a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/clearfloat/langs/pl.js +++ b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/clearfloat/langs/pl.js @@ -1,5 +1,5 @@ -// UK lang variables - -tinyMCE.addI18n('pl.clearfloat', { - button_desc : 'Flow below floated elements' -}); +// UK lang variables + +tinyMCE.addI18n('pl.clearfloat', { + button_desc : 'Flow below floated elements' +}); diff --git a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/clearfloat/langs/pt.js b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/clearfloat/langs/pt.js old mode 100644 new mode 100755 index 35b32470aa..85f4c07c37 --- a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/clearfloat/langs/pt.js +++ b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/clearfloat/langs/pt.js @@ -1,5 +1,5 @@ -// UK lang variables - -tinyMCE.addI18n('pt.clearfloat', { - button_desc : 'Flow below floated elements' -}); +// UK lang variables + +tinyMCE.addI18n('pt.clearfloat', { + button_desc : 'Flow below floated elements' +}); diff --git a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/clearfloat/langs/ru.js b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/clearfloat/langs/ru.js old mode 100644 new mode 100755 index 05ef20f5cd..97d6cec530 --- a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/clearfloat/langs/ru.js +++ b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/clearfloat/langs/ru.js @@ -1,5 +1,5 @@ -// UK lang variables - -tinyMCE.addI18n('ru.clearfloat', { - button_desc : 'Flow below floated elements' -}); +// UK lang variables + +tinyMCE.addI18n('ru.clearfloat', { + button_desc : 'Flow below floated elements' +}); diff --git a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/clearfloat/langs/sv.js b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/clearfloat/langs/sv.js old mode 100644 new mode 100755 index 82578aacc3..4c1f38691a --- a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/clearfloat/langs/sv.js +++ b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/clearfloat/langs/sv.js @@ -1,5 +1,5 @@ -// UK lang variables - -tinyMCE.addI18n('sv.clearfloat', { - button_desc : 'Flow below floated elements' -}); +// UK lang variables + +tinyMCE.addI18n('sv.clearfloat', { + button_desc : 'Flow below floated elements' +}); diff --git a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/clearfloat/langs/zh.js b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/clearfloat/langs/zh.js old mode 100644 new mode 100755 index c7222f54b8..b76bb5ee5e --- a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/clearfloat/langs/zh.js +++ b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/clearfloat/langs/zh.js @@ -1,5 +1,5 @@ -// UK lang variables - -tinyMCE.addI18n('zh.clearfloat', { - button_desc : 'Flow below floated elements' -}); +// UK lang variables + +tinyMCE.addI18n('zh.clearfloat', { + button_desc : 'Flow below floated elements' +}); diff --git a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/emotions/emotions.htm b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/emotions/emotions.htm old mode 100644 new mode 100755 index 55a1d72fa7..5927b6039b --- a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/emotions/emotions.htm +++ b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/emotions/emotions.htm @@ -1,40 +1,40 @@ - - - - {#emotions_dlg.title} - - - - -
    -
    {#emotions_dlg.title}:

    - - - - - - - - - - - - - - - - - - - - - - - - - - -
    {#emotions_dlg.cool}{#emotions_dlg.cry}{#emotions_dlg.embarassed}{#emotions_dlg.foot_in_mouth}
    {#emotions_dlg.frown}{#emotions_dlg.innocent}{#emotions_dlg.kiss}{#emotions_dlg.laughing}
    {#emotions_dlg.money_mouth}{#emotions_dlg.sealed}{#emotions_dlg.smile}{#emotions_dlg.surprised}
    {#emotions_dlg.tongue-out}{#emotions_dlg.undecided}{#emotions_dlg.wink}{#emotions_dlg.yell}
    -
    - - + + + + {#emotions_dlg.title} + + + + +
    +
    {#emotions_dlg.title}:

    + + + + + + + + + + + + + + + + + + + + + + + + + + +
    {#emotions_dlg.cool}{#emotions_dlg.cry}{#emotions_dlg.embarassed}{#emotions_dlg.foot_in_mouth}
    {#emotions_dlg.frown}{#emotions_dlg.innocent}{#emotions_dlg.kiss}{#emotions_dlg.laughing}
    {#emotions_dlg.money_mouth}{#emotions_dlg.sealed}{#emotions_dlg.smile}{#emotions_dlg.surprised}
    {#emotions_dlg.tongue-out}{#emotions_dlg.undecided}{#emotions_dlg.wink}{#emotions_dlg.yell}
    +
    + + diff --git a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/emotions/js/emotions.js b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/emotions/js/emotions.js old mode 100644 new mode 100755 index c549367096..e5c950fc44 --- a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/emotions/js/emotions.js +++ b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/emotions/js/emotions.js @@ -1,22 +1,22 @@ -tinyMCEPopup.requireLangPack(); - -var EmotionsDialog = { - init : function(ed) { - tinyMCEPopup.resizeToInnerSize(); - }, - - insert : function(file, title) { - var ed = tinyMCEPopup.editor, dom = ed.dom; - - tinyMCEPopup.execCommand('mceInsertContent', false, dom.createHTML('img', { - src : tinyMCEPopup.getWindowArg('plugin_url') + '/img/' + file, - alt : ed.getLang(title), - title : ed.getLang(title), - border : 0 - })); - - tinyMCEPopup.close(); - } -}; - -tinyMCEPopup.onInit.add(EmotionsDialog.init, EmotionsDialog); +tinyMCEPopup.requireLangPack(); + +var EmotionsDialog = { + init : function(ed) { + tinyMCEPopup.resizeToInnerSize(); + }, + + insert : function(file, title) { + var ed = tinyMCEPopup.editor, dom = ed.dom; + + tinyMCEPopup.execCommand('mceInsertContent', false, dom.createHTML('img', { + src : tinyMCEPopup.getWindowArg('plugin_url') + '/img/' + file, + alt : ed.getLang(title), + title : ed.getLang(title), + border : 0 + })); + + tinyMCEPopup.close(); + } +}; + +tinyMCEPopup.onInit.add(EmotionsDialog.init, EmotionsDialog); diff --git a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/emotions/langs/bg_dlg.js b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/emotions/langs/bg_dlg.js old mode 100644 new mode 100755 index b612cbc24a..7ce8f617ae --- a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/emotions/langs/bg_dlg.js +++ b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/emotions/langs/bg_dlg.js @@ -1,20 +1,20 @@ -tinyMCE.addI18n('bg.emotions_dlg',{ -title:"\u0412\u043C\u044A\u043A\u043D\u0438 \u0435\u043C\u043E\u0442\u0438\u043A\u043E\u043D", -desc:"\u0415\u043C\u043E\u0442\u0438\u043A\u043E\u043D\u0438", -cool:"Cool", -cry:"Cry", -embarassed:"Embarassed", -foot_in_mouth:"Foot in mouth", -frown:"Frown", -innocent:"Innocent", -kiss:"Kiss", -laughing:"Laughing", -money_mouth:"Money mouth", -sealed:"Sealed", -smile:"Smile", -surprised:"Surprised", -tongue_out:"Tongue out", -undecided:"Undecided", -wink:"Wink", -yell:"Yell" +tinyMCE.addI18n('bg.emotions_dlg',{ +title:"\u0412\u043C\u044A\u043A\u043D\u0438 \u0435\u043C\u043E\u0442\u0438\u043A\u043E\u043D", +desc:"\u0415\u043C\u043E\u0442\u0438\u043A\u043E\u043D\u0438", +cool:"Cool", +cry:"Cry", +embarassed:"Embarassed", +foot_in_mouth:"Foot in mouth", +frown:"Frown", +innocent:"Innocent", +kiss:"Kiss", +laughing:"Laughing", +money_mouth:"Money mouth", +sealed:"Sealed", +smile:"Smile", +surprised:"Surprised", +tongue_out:"Tongue out", +undecided:"Undecided", +wink:"Wink", +yell:"Yell" }); \ No newline at end of file diff --git a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/emotions/langs/cs_dlg.js b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/emotions/langs/cs_dlg.js old mode 100644 new mode 100755 index 71bc620e33..8c7116be30 --- a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/emotions/langs/cs_dlg.js +++ b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/emotions/langs/cs_dlg.js @@ -1,20 +1,20 @@ -tinyMCE.addI18n('cs.emotions_dlg',{ -title:"Vlo\u017Eit emotikonu", -desc:"Emotikony", -cool:"\u00DA\u017Easn\u00FD", -cry:"Pla\u010D\u00EDc\u00ED", -embarassed:"Rozpa\u010Dit\u00FD", -foot_in_mouth:"\u0160l\u00E1pnul vedle", -frown:"Zamra\u010Den\u00FD", -innocent:"Nevinn\u00FD", -kiss:"L\u00EDbaj\u00EDc\u00ED", -laughing:"Sm\u011Bj\u00EDc\u00ED se", -money_mouth:"Je na prachy", -sealed:"Ml\u010D\u00EDc\u00ED", -smile:"Usm\u00EDvaj\u00EDc\u00ED se", -surprised:"P\u0159ekvapen\u00FD", -tongue_out:"S vyplazen\u00FDm jazykem", -undecided:"Nerozhodn\u00FD", -wink:"Mrkaj\u00EDc\u00ED", -yell:"K\u0159i\u010D\u00EDc\u00ED" +tinyMCE.addI18n('cs.emotions_dlg',{ +title:"Vlo\u017Eit emotikonu", +desc:"Emotikony", +cool:"\u00DA\u017Easn\u00FD", +cry:"Pla\u010D\u00EDc\u00ED", +embarassed:"Rozpa\u010Dit\u00FD", +foot_in_mouth:"\u0160l\u00E1pnul vedle", +frown:"Zamra\u010Den\u00FD", +innocent:"Nevinn\u00FD", +kiss:"L\u00EDbaj\u00EDc\u00ED", +laughing:"Sm\u011Bj\u00EDc\u00ED se", +money_mouth:"Je na prachy", +sealed:"Ml\u010D\u00EDc\u00ED", +smile:"Usm\u00EDvaj\u00EDc\u00ED se", +surprised:"P\u0159ekvapen\u00FD", +tongue_out:"S vyplazen\u00FDm jazykem", +undecided:"Nerozhodn\u00FD", +wink:"Mrkaj\u00EDc\u00ED", +yell:"K\u0159i\u010D\u00EDc\u00ED" }); \ No newline at end of file diff --git a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/emotions/langs/da_dlg.js b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/emotions/langs/da_dlg.js old mode 100644 new mode 100755 index 0e37b795e2..5d1e56538e --- a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/emotions/langs/da_dlg.js +++ b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/emotions/langs/da_dlg.js @@ -1,20 +1,20 @@ -tinyMCE.addI18n('da.emotions_dlg',{ -title:"Inds\u00E6t hum\u00F8rikon", -desc:"Hum\u00F8rikoner", -cool:"Cool", -cry:"Gr\u00E6de", -embarassed:"Flov", -foot_in_mouth:"Fod i munden", -frown:"Forskr\u00E6kket", -innocent:"Uskyldig", -kiss:"Kys", -laughing:"Grine", -money_mouth:"Pengemund", -sealed:"Lukket", -smile:"Smil", -surprised:"Overrasket", -tongue_out:"Tunge ud", -undecided:"Ubeslutsom", -wink:"Vink", -yell:"R\u00E5be" +tinyMCE.addI18n('da.emotions_dlg',{ +title:"Inds\u00E6t hum\u00F8rikon", +desc:"Hum\u00F8rikoner", +cool:"Cool", +cry:"Gr\u00E6de", +embarassed:"Flov", +foot_in_mouth:"Fod i munden", +frown:"Forskr\u00E6kket", +innocent:"Uskyldig", +kiss:"Kys", +laughing:"Grine", +money_mouth:"Pengemund", +sealed:"Lukket", +smile:"Smil", +surprised:"Overrasket", +tongue_out:"Tunge ud", +undecided:"Ubeslutsom", +wink:"Vink", +yell:"R\u00E5be" }); \ No newline at end of file diff --git a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/emotions/langs/de_dlg.js b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/emotions/langs/de_dlg.js old mode 100644 new mode 100755 index 3940a2a54b..7463ee0b52 --- a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/emotions/langs/de_dlg.js +++ b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/emotions/langs/de_dlg.js @@ -1,20 +1,20 @@ -tinyMCE.addI18n('de.emotions_dlg',{ -title:"Smiley einf\u00FCgen", -desc:"Smilies", -cool:"Cool", -cry:"Weinend", -embarassed:"Verlegen", -foot_in_mouth:"Reingefallen", -frown:"Stirnrunzelnd", -innocent:"Unschuldig", -kiss:"K\u00FCssend", -laughing:"Lachend", -money_mouth:"Geld", -sealed:"Verschlossen", -smile:"L\u00E4chelnd", -surprised:"\u00DCberrascht", -tongue_out:"Zunge raus", -undecided:"Unentschlossen", -wink:"Zwinkernd", -yell:"Br\u00FCllend" +tinyMCE.addI18n('de.emotions_dlg',{ +title:"Smiley einf\u00FCgen", +desc:"Smilies", +cool:"Cool", +cry:"Weinend", +embarassed:"Verlegen", +foot_in_mouth:"Reingefallen", +frown:"Stirnrunzelnd", +innocent:"Unschuldig", +kiss:"K\u00FCssend", +laughing:"Lachend", +money_mouth:"Geld", +sealed:"Verschlossen", +smile:"L\u00E4chelnd", +surprised:"\u00DCberrascht", +tongue_out:"Zunge raus", +undecided:"Unentschlossen", +wink:"Zwinkernd", +yell:"Br\u00FCllend" }); \ No newline at end of file diff --git a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/emotions/langs/en_dlg.js b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/emotions/langs/en_dlg.js old mode 100644 new mode 100755 index 3b57ad9e3c..f6d5f4ba89 --- a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/emotions/langs/en_dlg.js +++ b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/emotions/langs/en_dlg.js @@ -1,20 +1,20 @@ -tinyMCE.addI18n('en.emotions_dlg',{ -title:"Insert emotion", -desc:"Emotions", -cool:"Cool", -cry:"Cry", -embarassed:"Embarassed", -foot_in_mouth:"Foot in mouth", -frown:"Frown", -innocent:"Innocent", -kiss:"Kiss", -laughing:"Laughing", -money_mouth:"Money mouth", -sealed:"Sealed", -smile:"Smile", -surprised:"Surprised", -tongue_out:"Tongue out", -undecided:"Undecided", -wink:"Wink", -yell:"Yell" +tinyMCE.addI18n('en.emotions_dlg',{ +title:"Insert emotion", +desc:"Emotions", +cool:"Cool", +cry:"Cry", +embarassed:"Embarassed", +foot_in_mouth:"Foot in mouth", +frown:"Frown", +innocent:"Innocent", +kiss:"Kiss", +laughing:"Laughing", +money_mouth:"Money mouth", +sealed:"Sealed", +smile:"Smile", +surprised:"Surprised", +tongue_out:"Tongue out", +undecided:"Undecided", +wink:"Wink", +yell:"Yell" }); \ No newline at end of file diff --git a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/emotions/langs/es_dlg.js b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/emotions/langs/es_dlg.js old mode 100644 new mode 100755 index 0d95db55d0..9a6699410e --- a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/emotions/langs/es_dlg.js +++ b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/emotions/langs/es_dlg.js @@ -1,20 +1,20 @@ -tinyMCE.addI18n('es.emotions_dlg',{ -title:"Insertar emoticon", -desc:"Emoticones", -cool:"Todo bien", -cry:"Llora", -embarassed:"Verg\u00FCenza", -foot_in_mouth:"Pie en la boca", -frown:"Triste", -innocent:"Inocente", -kiss:"Beso", -laughing:"Risa", -money_mouth:"Dinero boca", -sealed:"Sellado", -smile:"Sonrisa", -surprised:"Sorprendido", -tongue_out:"Lengua fuera", -undecided:"Indeciso", -wink:"Gui\u00F1o", -yell:"Enfadado" +tinyMCE.addI18n('es.emotions_dlg',{ +title:"Insertar emoticon", +desc:"Emoticones", +cool:"Todo bien", +cry:"Llora", +embarassed:"Verg\u00FCenza", +foot_in_mouth:"Pie en la boca", +frown:"Triste", +innocent:"Inocente", +kiss:"Beso", +laughing:"Risa", +money_mouth:"Dinero boca", +sealed:"Sellado", +smile:"Sonrisa", +surprised:"Sorprendido", +tongue_out:"Lengua fuera", +undecided:"Indeciso", +wink:"Gui\u00F1o", +yell:"Enfadado" }); \ No newline at end of file diff --git a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/emotions/langs/fa_dlg.js b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/emotions/langs/fa_dlg.js old mode 100644 new mode 100755 index 0380b044f0..4b48473957 --- a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/emotions/langs/fa_dlg.js +++ b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/emotions/langs/fa_dlg.js @@ -1,20 +1,20 @@ -tinyMCE.addI18n('fa.emotions_dlg',{ -title:"\u062F\u0631\u062C \u0634\u06A9\u0644\u06A9", -desc:"\u0634\u06A9\u0644\u06A9 \u0647\u0627", -cool:"\u0622\u0631\u0627\u0645", -cry:"\u06AF\u0631\u06CC\u0647", -embarassed:"\u062E\u062C\u0627\u0644\u062A\u06CC", -foot_in_mouth:"\u067E\u0627 \u062F\u0631 \u062F\u0647\u0627\u0646", -frown:"\u0627\u062E\u0645", -innocent:"\u0628\u06CC \u062A\u0642\u0635\u06CC\u0631", -kiss:"\u0628\u0648\u0633\u0647", -laughing:"\u062E\u0646\u062F\u0647", -money_mouth:"\u067E\u0648\u0644 \u062F\u0631 \u062F\u0647\u0627\u0646", -sealed:"\u0645\u0647\u0631 \u0634\u062F\u0647", -smile:"\u0644\u0628\u062E\u0646\u062F", -surprised:"\u0645\u062A\u0639\u062C\u0628", -tongue_out:"\u0632\u0628\u0627\u0646 \u062F\u0631\u0627\u0632\u06CC", -undecided:"\u0645\u0631\u062F\u062F", -wink:"\u0686\u0634\u0645\u06A9", -yell:"\u0641\u0631\u06CC\u0627\u062F" +tinyMCE.addI18n('fa.emotions_dlg',{ +title:"\u062F\u0631\u062C \u0634\u06A9\u0644\u06A9", +desc:"\u0634\u06A9\u0644\u06A9 \u0647\u0627", +cool:"\u0622\u0631\u0627\u0645", +cry:"\u06AF\u0631\u06CC\u0647", +embarassed:"\u062E\u062C\u0627\u0644\u062A\u06CC", +foot_in_mouth:"\u067E\u0627 \u062F\u0631 \u062F\u0647\u0627\u0646", +frown:"\u0627\u062E\u0645", +innocent:"\u0628\u06CC \u062A\u0642\u0635\u06CC\u0631", +kiss:"\u0628\u0648\u0633\u0647", +laughing:"\u062E\u0646\u062F\u0647", +money_mouth:"\u067E\u0648\u0644 \u062F\u0631 \u062F\u0647\u0627\u0646", +sealed:"\u0645\u0647\u0631 \u0634\u062F\u0647", +smile:"\u0644\u0628\u062E\u0646\u062F", +surprised:"\u0645\u062A\u0639\u062C\u0628", +tongue_out:"\u0632\u0628\u0627\u0646 \u062F\u0631\u0627\u0632\u06CC", +undecided:"\u0645\u0631\u062F\u062F", +wink:"\u0686\u0634\u0645\u06A9", +yell:"\u0641\u0631\u06CC\u0627\u062F" }); \ No newline at end of file diff --git a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/emotions/langs/fi_dlg.js b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/emotions/langs/fi_dlg.js old mode 100644 new mode 100755 index b34fe0df30..0af540228f --- a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/emotions/langs/fi_dlg.js +++ b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/emotions/langs/fi_dlg.js @@ -1,20 +1,20 @@ -tinyMCE.addI18n('fi.emotions_dlg',{ -title:"Lis\u00E4\u00E4 hymi\u00F6", -desc:"Hymi\u00F6t", -cool:"Cool", -cry:"Itku", -embarassed:"Nolostunut", -foot_in_mouth:"Jalka suussa", -frown:"Otsan rypistys", -innocent:"Viaton", -kiss:"Pusu", -laughing:"Nauru", -money_mouth:"Klink Klink (raha)", -sealed:"Tukittu", -smile:"Hymy", -surprised:"Yll\u00E4ttynyt", -tongue_out:"Kieli ulkona", -undecided:"P\u00E4\u00E4tt\u00E4m\u00E4t\u00F6n", -wink:"Silm\u00E4nisku", -yell:"Huuto" +tinyMCE.addI18n('fi.emotions_dlg',{ +title:"Lis\u00E4\u00E4 hymi\u00F6", +desc:"Hymi\u00F6t", +cool:"Cool", +cry:"Itku", +embarassed:"Nolostunut", +foot_in_mouth:"Jalka suussa", +frown:"Otsan rypistys", +innocent:"Viaton", +kiss:"Pusu", +laughing:"Nauru", +money_mouth:"Klink Klink (raha)", +sealed:"Tukittu", +smile:"Hymy", +surprised:"Yll\u00E4ttynyt", +tongue_out:"Kieli ulkona", +undecided:"P\u00E4\u00E4tt\u00E4m\u00E4t\u00F6n", +wink:"Silm\u00E4nisku", +yell:"Huuto" }); \ No newline at end of file diff --git a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/emotions/langs/fr_dlg.js b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/emotions/langs/fr_dlg.js old mode 100644 new mode 100755 index e9ba93d8c9..49534624a9 --- a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/emotions/langs/fr_dlg.js +++ b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/emotions/langs/fr_dlg.js @@ -1,20 +1,20 @@ -tinyMCE.addI18n('fr.emotions_dlg',{ -title:"Ins\u00E9rer une \u00E9motic\u00F4ne", -desc:"\u00C9motic\u00F4nes", -cool:"Cool", -cry:"En pleurs", -embarassed:"Embarrass\u00E9", -foot_in_mouth:"Pied de nez", -frown:"D\u00E9\u00E7u", -innocent:"Innocent", -kiss:"Bisou", -laughing:"Rigolant", -money_mouth:"Avare", -sealed:"Bouche cousue", -smile:"Sourire", -surprised:"Surpris", -tongue_out:"Langue tir\u00E9e", -undecided:"Incertain", -wink:"Clin d'\u0153il", -yell:"Criant" +tinyMCE.addI18n('fr.emotions_dlg',{ +title:"Ins\u00E9rer une \u00E9motic\u00F4ne", +desc:"\u00C9motic\u00F4nes", +cool:"Cool", +cry:"En pleurs", +embarassed:"Embarrass\u00E9", +foot_in_mouth:"Pied de nez", +frown:"D\u00E9\u00E7u", +innocent:"Innocent", +kiss:"Bisou", +laughing:"Rigolant", +money_mouth:"Avare", +sealed:"Bouche cousue", +smile:"Sourire", +surprised:"Surpris", +tongue_out:"Langue tir\u00E9e", +undecided:"Incertain", +wink:"Clin d'\u0153il", +yell:"Criant" }); \ No newline at end of file diff --git a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/emotions/langs/he_dlg.js b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/emotions/langs/he_dlg.js old mode 100644 new mode 100755 index 061473f04f..a838e7cb91 --- a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/emotions/langs/he_dlg.js +++ b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/emotions/langs/he_dlg.js @@ -1,20 +1,20 @@ -tinyMCE.addI18n('he.emotions_dlg',{ -title:"\u05D4\u05D5\u05E1\u05E4\u05EA \u05E1\u05DE\u05D9\u05D9\u05DC\u05D9", -desc:"\u05E1\u05DE\u05D9\u05D9\u05DC\u05D9\u05DD", -cool:"\u05DE\u05D2\u05E0\u05D9\u05D1", -cry:"\u05D1\u05D5\u05DB\u05D4", -embarassed:"\u05E0\u05D1\u05D5\u05DA", -foot_in_mouth:"\u05E8\u05D2\u05DC \u05D1\u05E4\u05D4", -frown:"\u05DE\u05D6\u05E2\u05D9\u05E3 \u05D0\u05EA \u05D4\u05E4\u05D4", -innocent:"\u05EA\u05DE\u05D9\u05DD", -kiss:"\u05E0\u05E9\u05D9\u05E7\u05D4", -laughing:"\u05E6\u05D5\u05D7\u05E7", -money_mouth:"\u05DB\u05E1\u05E3", -sealed:"\u05D0\u05D8\u05D5\u05DD", -smile:"\u05D7\u05D9\u05D5\u05DA", -surprised:"\u05DE\u05D5\u05E4\u05EA\u05E2", -tongue_out:"\u05DC\u05E9\u05D5\u05DF \u05D1\u05D7\u05D5\u05E5", -undecided:"\u05D4\u05E1\u05E0\u05E0\u05D9", -wink:"\u05E7\u05E8\u05D9\u05E6\u05D4", -yell:"\u05E6\u05E2\u05E7\u05D4" +tinyMCE.addI18n('he.emotions_dlg',{ +title:"\u05D4\u05D5\u05E1\u05E4\u05EA \u05E1\u05DE\u05D9\u05D9\u05DC\u05D9", +desc:"\u05E1\u05DE\u05D9\u05D9\u05DC\u05D9\u05DD", +cool:"\u05DE\u05D2\u05E0\u05D9\u05D1", +cry:"\u05D1\u05D5\u05DB\u05D4", +embarassed:"\u05E0\u05D1\u05D5\u05DA", +foot_in_mouth:"\u05E8\u05D2\u05DC \u05D1\u05E4\u05D4", +frown:"\u05DE\u05D6\u05E2\u05D9\u05E3 \u05D0\u05EA \u05D4\u05E4\u05D4", +innocent:"\u05EA\u05DE\u05D9\u05DD", +kiss:"\u05E0\u05E9\u05D9\u05E7\u05D4", +laughing:"\u05E6\u05D5\u05D7\u05E7", +money_mouth:"\u05DB\u05E1\u05E3", +sealed:"\u05D0\u05D8\u05D5\u05DD", +smile:"\u05D7\u05D9\u05D5\u05DA", +surprised:"\u05DE\u05D5\u05E4\u05EA\u05E2", +tongue_out:"\u05DC\u05E9\u05D5\u05DF \u05D1\u05D7\u05D5\u05E5", +undecided:"\u05D4\u05E1\u05E0\u05E0\u05D9", +wink:"\u05E7\u05E8\u05D9\u05E6\u05D4", +yell:"\u05E6\u05E2\u05E7\u05D4" }); \ No newline at end of file diff --git a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/emotions/langs/it_dlg.js b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/emotions/langs/it_dlg.js old mode 100644 new mode 100755 index 8b9efb7849..2785165023 --- a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/emotions/langs/it_dlg.js +++ b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/emotions/langs/it_dlg.js @@ -1,20 +1,20 @@ -tinyMCE.addI18n('it.emotions_dlg',{ -title:"Inserisci faccina", -desc:"Faccina", -cool:"Fico", -cry:"Piango", -embarassed:"Imbarazzato", -foot_in_mouth:"Piede in bocca", -frown:"Triste", -innocent:"Santarellino", -kiss:"Bacio", -laughing:"Risatona", -money_mouth:"Bocca danarosa", -sealed:"Bocca sigillata", -smile:"Sorridente", -surprised:"Sorpreso", -tongue_out:"Linguaccia", -undecided:"Indeciso", -wink:"Occhiolino", -yell:"Arrabbiato" +tinyMCE.addI18n('it.emotions_dlg',{ +title:"Inserisci faccina", +desc:"Faccina", +cool:"Fico", +cry:"Piango", +embarassed:"Imbarazzato", +foot_in_mouth:"Piede in bocca", +frown:"Triste", +innocent:"Santarellino", +kiss:"Bacio", +laughing:"Risatona", +money_mouth:"Bocca danarosa", +sealed:"Bocca sigillata", +smile:"Sorridente", +surprised:"Sorpreso", +tongue_out:"Linguaccia", +undecided:"Indeciso", +wink:"Occhiolino", +yell:"Arrabbiato" }); \ No newline at end of file diff --git a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/emotions/langs/ja_dlg.js b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/emotions/langs/ja_dlg.js old mode 100644 new mode 100755 index cf988a7fed..53f816e804 --- a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/emotions/langs/ja_dlg.js +++ b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/emotions/langs/ja_dlg.js @@ -1,20 +1,20 @@ -tinyMCE.addI18n('ja.emotions_dlg',{ -title:"\u8868\u60C5\u30A2\u30A4\u30B3\u30F3\u306E\u633F\u5165", -desc:"\u8868\u60C5\u30A2\u30A4\u30B3\u30F3", -cool:"Cool", -cry:"Cry", -embarassed:"Embarassed", -foot_in_mouth:"Foot in mouth", -frown:"Frown", -innocent:"Innocent", -kiss:"Kiss", -laughing:"Laughing", -money_mouth:"Money mouth", -sealed:"Sealed", -smile:"Smile", -surprised:"Surprised", -tongue_out:"Tongue out", -undecided:"Undecided", -wink:"Wink", -yell:"Yell" +tinyMCE.addI18n('ja.emotions_dlg',{ +title:"\u8868\u60C5\u30A2\u30A4\u30B3\u30F3\u306E\u633F\u5165", +desc:"\u8868\u60C5\u30A2\u30A4\u30B3\u30F3", +cool:"Cool", +cry:"Cry", +embarassed:"Embarassed", +foot_in_mouth:"Foot in mouth", +frown:"Frown", +innocent:"Innocent", +kiss:"Kiss", +laughing:"Laughing", +money_mouth:"Money mouth", +sealed:"Sealed", +smile:"Smile", +surprised:"Surprised", +tongue_out:"Tongue out", +undecided:"Undecided", +wink:"Wink", +yell:"Yell" }); \ No newline at end of file diff --git a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/emotions/langs/nl_dlg.js b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/emotions/langs/nl_dlg.js old mode 100644 new mode 100755 index 39f797d943..d40b863375 --- a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/emotions/langs/nl_dlg.js +++ b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/emotions/langs/nl_dlg.js @@ -1,20 +1,20 @@ -tinyMCE.addI18n('nl.emotions_dlg',{ -title:"Emotie invoegen", -desc:"Emoties", -cool:"Stoer", -cry:"Huilen", -embarassed:"Schamen", -foot_in_mouth:"Verstomd", -frown:"Wenkbrauw ophalen", -innocent:"Onschuldig", -kiss:"Zoenen", -laughing:"Lachen", -money_mouth:"Hebberig", -sealed:"Afgesloten", -smile:"Lachen", -surprised:"Verrast", -tongue_out:"Tong uitsteken", -undecided:"Onbeslist", -wink:"Knipogen", -yell:"Roepen" +tinyMCE.addI18n('nl.emotions_dlg',{ +title:"Emotie invoegen", +desc:"Emoties", +cool:"Stoer", +cry:"Huilen", +embarassed:"Schamen", +foot_in_mouth:"Verstomd", +frown:"Wenkbrauw ophalen", +innocent:"Onschuldig", +kiss:"Zoenen", +laughing:"Lachen", +money_mouth:"Hebberig", +sealed:"Afgesloten", +smile:"Lachen", +surprised:"Verrast", +tongue_out:"Tong uitsteken", +undecided:"Onbeslist", +wink:"Knipogen", +yell:"Roepen" }); \ No newline at end of file diff --git a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/emotions/langs/nn_dlg.js b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/emotions/langs/nn_dlg.js old mode 100644 new mode 100755 index 3967fbc998..718b3fa8ac --- a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/emotions/langs/nn_dlg.js +++ b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/emotions/langs/nn_dlg.js @@ -1,20 +1,20 @@ -tinyMCE.addI18n('nn.emotions_dlg',{ -title:"Set inn hum\u00F8rfjes", -desc:"Hum\u00F8rfjes", -cool:"Cool", -cry:"Gret", -embarassed:"Flau", -foot_in_mouth:"Fot i munnen", -frown:"Skuffa", -innocent:"Uskyldig", -kiss:"Kyss", -laughing:"Ler", -money_mouth:"Pengar i munnen", -sealed:"Hemmeleg", -smile:"Glad", -surprised:"Overraska", -tongue_out:"Rekkje tunge", -undecided:"Skeptisk", -wink:"Blunke", -yell:"Skri" +tinyMCE.addI18n('nn.emotions_dlg',{ +title:"Set inn hum\u00F8rfjes", +desc:"Hum\u00F8rfjes", +cool:"Cool", +cry:"Gret", +embarassed:"Flau", +foot_in_mouth:"Fot i munnen", +frown:"Skuffa", +innocent:"Uskyldig", +kiss:"Kyss", +laughing:"Ler", +money_mouth:"Pengar i munnen", +sealed:"Hemmeleg", +smile:"Glad", +surprised:"Overraska", +tongue_out:"Rekkje tunge", +undecided:"Skeptisk", +wink:"Blunke", +yell:"Skri" }); \ No newline at end of file diff --git a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/emotions/langs/pl_dlg.js b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/emotions/langs/pl_dlg.js old mode 100644 new mode 100755 index e34861e2d7..c69bf3512b --- a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/emotions/langs/pl_dlg.js +++ b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/emotions/langs/pl_dlg.js @@ -1,20 +1,20 @@ -tinyMCE.addI18n('pl.emotions_dlg',{ -title:"Wstaw emotikon\u0119", -desc:"Emotikony", -cool:"Cool", -cry:"Cry", -embarassed:"Embarassed", -foot_in_mouth:"Foot in mouth", -frown:"Frown", -innocent:"Innocent", -kiss:"Kiss", -laughing:"Laughing", -money_mouth:"Money mouth", -sealed:"Sealed", -smile:"Smile", -surprised:"Surprised", -tongue_out:"Tongue out", -undecided:"Undecided", -wink:"Wink", -yell:"Yell" +tinyMCE.addI18n('pl.emotions_dlg',{ +title:"Wstaw emotikon\u0119", +desc:"Emotikony", +cool:"Cool", +cry:"Cry", +embarassed:"Embarassed", +foot_in_mouth:"Foot in mouth", +frown:"Frown", +innocent:"Innocent", +kiss:"Kiss", +laughing:"Laughing", +money_mouth:"Money mouth", +sealed:"Sealed", +smile:"Smile", +surprised:"Surprised", +tongue_out:"Tongue out", +undecided:"Undecided", +wink:"Wink", +yell:"Yell" }); \ No newline at end of file diff --git a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/emotions/langs/pt_dlg.js b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/emotions/langs/pt_dlg.js old mode 100644 new mode 100755 index c79cec8e4d..a590a295e1 --- a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/emotions/langs/pt_dlg.js +++ b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/emotions/langs/pt_dlg.js @@ -1,20 +1,20 @@ -tinyMCE.addI18n('pt.emotions_dlg',{ -title:"Inserir emoticon", -desc:"Emoticons", -cool:"Fixe", -cry:"Chor\u00E3o", -embarassed:"Embara\u00E7ado", -foot_in_mouth:"Disse asneira", -frown:"Decep\u00E7\u00E3o", -innocent:"Inocente", -kiss:"Beijo", -laughing:"Riso", -money_mouth:"Avarez", -sealed:"Boca Fechada", -smile:"Sorriso", -surprised:"Surpresa", -tongue_out:"L\u00EDngua de fora", -undecided:"Indeciso", -wink:"Piscadela", -yell:"Irado" +tinyMCE.addI18n('pt.emotions_dlg',{ +title:"Inserir emoticon", +desc:"Emoticons", +cool:"Fixe", +cry:"Chor\u00E3o", +embarassed:"Embara\u00E7ado", +foot_in_mouth:"Disse asneira", +frown:"Decep\u00E7\u00E3o", +innocent:"Inocente", +kiss:"Beijo", +laughing:"Riso", +money_mouth:"Avarez", +sealed:"Boca Fechada", +smile:"Sorriso", +surprised:"Surpresa", +tongue_out:"L\u00EDngua de fora", +undecided:"Indeciso", +wink:"Piscadela", +yell:"Irado" }); \ No newline at end of file diff --git a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/emotions/langs/ru_dlg.js b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/emotions/langs/ru_dlg.js old mode 100644 new mode 100755 index 5186e0a351..0d43887e4d --- a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/emotions/langs/ru_dlg.js +++ b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/emotions/langs/ru_dlg.js @@ -1,20 +1,20 @@ -tinyMCE.addI18n('ru.emotions_dlg',{ -title:"\u0412\u044B\u0431\u043E\u0440 \u0441\u043C\u0430\u0439\u043B\u0430", -desc:"\u0421\u043C\u0430\u0439\u043B\u044B", -cool:"Cool", -cry:"Cry", -embarassed:"Embarassed", -foot_in_mouth:"Foot in mouth", -frown:"Frown", -innocent:"Innocent", -kiss:"Kiss", -laughing:"Laughing", -money_mouth:"Money mouth", -sealed:"Sealed", -smile:"Smile", -surprised:"Surprised", -tongue_out:"Tongue out", -undecided:"Undecided", -wink:"Wink", -yell:"Yell" +tinyMCE.addI18n('ru.emotions_dlg',{ +title:"\u0412\u044B\u0431\u043E\u0440 \u0441\u043C\u0430\u0439\u043B\u0430", +desc:"\u0421\u043C\u0430\u0439\u043B\u044B", +cool:"Cool", +cry:"Cry", +embarassed:"Embarassed", +foot_in_mouth:"Foot in mouth", +frown:"Frown", +innocent:"Innocent", +kiss:"Kiss", +laughing:"Laughing", +money_mouth:"Money mouth", +sealed:"Sealed", +smile:"Smile", +surprised:"Surprised", +tongue_out:"Tongue out", +undecided:"Undecided", +wink:"Wink", +yell:"Yell" }); \ No newline at end of file diff --git a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/emotions/langs/sv_dlg.js b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/emotions/langs/sv_dlg.js old mode 100644 new mode 100755 index cc6c35687b..f75b798298 --- a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/emotions/langs/sv_dlg.js +++ b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/emotions/langs/sv_dlg.js @@ -1,20 +1,20 @@ -tinyMCE.addI18n('sv.emotions_dlg',{ -title:"Infoga smiley", -desc:"Smileys", -cool:"Cool", -cry:"Gr\u00E5ter", -embarassed:"Sk\u00E4ms", -foot_in_mouth:"Foten i munnen", -frown:"Rynkar p\u00E5 n\u00E4san", -innocent:"Oskyldig", -kiss:"Kyss", -laughing:"Skrattande", -money_mouth:"Guld i mun", -sealed:"Tyst", -smile:"Glad", -surprised:"F\u00F6rv\u00E5nad", -tongue_out:"Tungan ute", -undecided:"Obest\u00E4md", -wink:"Fl\u00F6rt", -yell:"Skrikandes" +tinyMCE.addI18n('sv.emotions_dlg',{ +title:"Infoga smiley", +desc:"Smileys", +cool:"Cool", +cry:"Gr\u00E5ter", +embarassed:"Sk\u00E4ms", +foot_in_mouth:"Foten i munnen", +frown:"Rynkar p\u00E5 n\u00E4san", +innocent:"Oskyldig", +kiss:"Kyss", +laughing:"Skrattande", +money_mouth:"Guld i mun", +sealed:"Tyst", +smile:"Glad", +surprised:"F\u00F6rv\u00E5nad", +tongue_out:"Tungan ute", +undecided:"Obest\u00E4md", +wink:"Fl\u00F6rt", +yell:"Skrikandes" }); \ No newline at end of file diff --git a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/emotions/langs/zh_dlg.js b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/emotions/langs/zh_dlg.js old mode 100644 new mode 100755 index de869692fb..e0175f9e0d --- a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/emotions/langs/zh_dlg.js +++ b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/emotions/langs/zh_dlg.js @@ -1,20 +1,20 @@ -tinyMCE.addI18n('zh.emotions_dlg',{ -title:"\u63D2\u5165\u8868\u60C5", -desc:"\u8868\u60C5\u5217\u8868", -cool:"\u9177", -cry:"\u54ED\u6CE3", -embarassed:"\u5C37\u5C2C", -foot_in_mouth:"\u54A7\u5634", -frown:"\u76BA\u7709", -innocent:"\u5929\u771F", -kiss:"\u543B", -laughing:"\u5927\u7B11", -money_mouth:"\u767C\u8CA1", -sealed:"\u4FDD\u5BC6", -smile:"\u5FAE\u7B11", -surprised:"\u9A5A\u8A1D", -tongue_out:"\u5410\u820C\u982D", -undecided:"\u601D\u8003", -wink:"\u7728\u773C", -yell:"\u5927\u53EB" +tinyMCE.addI18n('zh.emotions_dlg',{ +title:"\u63D2\u5165\u8868\u60C5", +desc:"\u8868\u60C5\u5217\u8868", +cool:"\u9177", +cry:"\u54ED\u6CE3", +embarassed:"\u5C37\u5C2C", +foot_in_mouth:"\u54A7\u5634", +frown:"\u76BA\u7709", +innocent:"\u5929\u771F", +kiss:"\u543B", +laughing:"\u5927\u7B11", +money_mouth:"\u767C\u8CA1", +sealed:"\u4FDD\u5BC6", +smile:"\u5FAE\u7B11", +surprised:"\u9A5A\u8A1D", +tongue_out:"\u5410\u820C\u982D", +undecided:"\u601D\u8003", +wink:"\u7728\u773C", +yell:"\u5927\u53EB" }); \ No newline at end of file diff --git a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/fullpage/css/fullpage.css b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/fullpage/css/fullpage.css old mode 100644 new mode 100755 index 7a3334f08d..1854eca942 --- a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/fullpage/css/fullpage.css +++ b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/fullpage/css/fullpage.css @@ -1,182 +1,182 @@ -/* Hide the advanced tab */ -#advanced_tab { - display: none; -} - -#metatitle, #metakeywords, #metadescription, #metaauthor, #metacopyright { - width: 280px; -} - -#doctype, #docencoding { - width: 200px; -} - -#langcode { - width: 30px; -} - -#bgimage { - width: 220px; -} - -#fontface { - width: 240px; -} - -#leftmargin, #rightmargin, #topmargin, #bottommargin { - width: 50px; -} - -.panel_wrapper div.current { - height: 400px; -} - -#stylesheet, #style { - width: 240px; -} - -/* Head list classes */ - -.headlistwrapper { - width: 100%; -} - -.addbutton, .removebutton, .moveupbutton, .movedownbutton { - border-top: 1px solid; - border-left: 1px solid; - border-bottom: 1px solid; - border-right: 1px solid; - border-color: #F0F0EE; - cursor: default; - display: block; - width: 20px; - height: 20px; -} - -#doctypes { - width: 200px; -} - -.addbutton:hover, .removebutton:hover, .moveupbutton:hover, .movedownbutton:hover { - border: 1px solid #0A246A; - background-color: #B6BDD2; -} - -.addbutton { - background-image: url('../images/add.gif'); - float: left; - margin-right: 3px; -} - -.removebutton { - background-image: url('../images/remove.gif'); - float: left; -} - -.moveupbutton { - background-image: url('../images/move_up.gif'); - float: left; - margin-right: 3px; -} - -.movedownbutton { - background-image: url('../images/move_down.gif'); - float: left; -} - -.selected { - border: 1px solid #0A246A; - background-color: #B6BDD2; -} - -.toolbar { - width: 100%; -} - -#headlist { - width: 100%; - margin-top: 3px; - font-size: 11px; -} - -#info, #title_element, #meta_element, #script_element, #style_element, #base_element, #link_element, #comment_element, #unknown_element { - display: none; -} - -#addmenu { - position: absolute; - border: 1px solid gray; - display: none; - z-index: 100; - background-color: white; -} - -#addmenu a { - display: block; - width: 100%; - line-height: 20px; - text-decoration: none; - background-color: white; -} - -#addmenu a:hover { - background-color: #B6BDD2; - color: black; -} - -#addmenu span { - padding-left: 10px; - padding-right: 10px; -} - -#updateElementPanel { - display: none; -} - -#script_element .panel_wrapper div.current { - height: 108px; -} - -#style_element .panel_wrapper div.current { - height: 108px; -} - -#link_element .panel_wrapper div.current { - height: 140px; -} - -#element_script_value { - width: 100%; - height: 100px; -} - -#element_comment_value { - width: 100%; - height: 120px; -} - -#element_style_value { - width: 100%; - height: 100px; -} - -#element_title, #element_script_src, #element_meta_name, #element_meta_content, #element_base_href, #element_link_href, #element_link_title { - width: 250px; -} - -.updateElementButton { - margin-top: 3px; -} - -/* MSIE specific styles */ - -* html .addbutton, * html .removebutton, * html .moveupbutton, * html .movedownbutton { - width: 22px; - height: 22px; -} - -textarea { - height: 55px; -} - +/* Hide the advanced tab */ +#advanced_tab { + display: none; +} + +#metatitle, #metakeywords, #metadescription, #metaauthor, #metacopyright { + width: 280px; +} + +#doctype, #docencoding { + width: 200px; +} + +#langcode { + width: 30px; +} + +#bgimage { + width: 220px; +} + +#fontface { + width: 240px; +} + +#leftmargin, #rightmargin, #topmargin, #bottommargin { + width: 50px; +} + +.panel_wrapper div.current { + height: 400px; +} + +#stylesheet, #style { + width: 240px; +} + +/* Head list classes */ + +.headlistwrapper { + width: 100%; +} + +.addbutton, .removebutton, .moveupbutton, .movedownbutton { + border-top: 1px solid; + border-left: 1px solid; + border-bottom: 1px solid; + border-right: 1px solid; + border-color: #F0F0EE; + cursor: default; + display: block; + width: 20px; + height: 20px; +} + +#doctypes { + width: 200px; +} + +.addbutton:hover, .removebutton:hover, .moveupbutton:hover, .movedownbutton:hover { + border: 1px solid #0A246A; + background-color: #B6BDD2; +} + +.addbutton { + background-image: url('../images/add.gif'); + float: left; + margin-right: 3px; +} + +.removebutton { + background-image: url('../images/remove.gif'); + float: left; +} + +.moveupbutton { + background-image: url('../images/move_up.gif'); + float: left; + margin-right: 3px; +} + +.movedownbutton { + background-image: url('../images/move_down.gif'); + float: left; +} + +.selected { + border: 1px solid #0A246A; + background-color: #B6BDD2; +} + +.toolbar { + width: 100%; +} + +#headlist { + width: 100%; + margin-top: 3px; + font-size: 11px; +} + +#info, #title_element, #meta_element, #script_element, #style_element, #base_element, #link_element, #comment_element, #unknown_element { + display: none; +} + +#addmenu { + position: absolute; + border: 1px solid gray; + display: none; + z-index: 100; + background-color: white; +} + +#addmenu a { + display: block; + width: 100%; + line-height: 20px; + text-decoration: none; + background-color: white; +} + +#addmenu a:hover { + background-color: #B6BDD2; + color: black; +} + +#addmenu span { + padding-left: 10px; + padding-right: 10px; +} + +#updateElementPanel { + display: none; +} + +#script_element .panel_wrapper div.current { + height: 108px; +} + +#style_element .panel_wrapper div.current { + height: 108px; +} + +#link_element .panel_wrapper div.current { + height: 140px; +} + +#element_script_value { + width: 100%; + height: 100px; +} + +#element_comment_value { + width: 100%; + height: 120px; +} + +#element_style_value { + width: 100%; + height: 100px; +} + +#element_title, #element_script_src, #element_meta_name, #element_meta_content, #element_base_href, #element_link_href, #element_link_title { + width: 250px; +} + +.updateElementButton { + margin-top: 3px; +} + +/* MSIE specific styles */ + +* html .addbutton, * html .removebutton, * html .moveupbutton, * html .movedownbutton { + width: 22px; + height: 22px; +} + +textarea { + height: 55px; +} + .panel_wrapper div.current {height:420px;} \ No newline at end of file diff --git a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/fullpage/fullpage.htm b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/fullpage/fullpage.htm old mode 100644 new mode 100755 index c32afaf2d9..d8e62fb3fe --- a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/fullpage/fullpage.htm +++ b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/fullpage/fullpage.htm @@ -1,571 +1,571 @@ - - - - {#fullpage_dlg.title} - - - - - - - -
    - - -
    -
    -
    - {#fullpage_dlg.meta_props} - - - - - - - - - - - - - - - - - - - - - - - - - - -
     
     
     
     
     
      - -
    -
    - -
    - {#fullpage_dlg.langprops} - - - - - - - - - - - - - - - - - - - - - - -
    - -
      - -
     
    - -
     
    -
    -
    - -
    -
    - {#fullpage_dlg.appearance_textprops} - - - - - - - - - - - - - - - - -
    - -
    - -
    - - - - - -
     
    -
    -
    - -
    - {#fullpage_dlg.appearance_bgprops} - - - - - - - - - - -
    - - - - - -
     
    -
    - - - - - -
     
    -
    -
    - -
    - {#fullpage_dlg.appearance_marginprops} - - - - - - - - - - - - - - -
    -
    - -
    - {#fullpage_dlg.appearance_linkprops} - - - - - - - - - - - - - - - - - - - -
    - - - - - -
    -
    - - - - - -
     
    -
    - - - - - -
     
    -
      
    -
    - -
    - {#fullpage_dlg.appearance_style} - - - - - - - - - - -
    - - - - -
     
    -
    -
    - -
    - - -
    - {#fullpage_dlg.head_elements} - -
    -
    -
    - - -
    -
    - - -
    -
    -
    - -
    -
    - -
    - {#fullpage_dlg.meta_element} - - - - - - - - - - - - - - -
    - - -
    - -
    - {#fullpage_dlg.title_element} - - - - - - -
    - - -
    - -
    - {#fullpage_dlg.script_element} - - - -
    - -
    -
    - - - - - - - - - - - - - - - - - -
    - - - - -
     
    -
    - -
    - -
    -
    - - -
    - -
    - {#fullpage_dlg.style_element} - - - -
    - -
    -
    - - - - - - - - - -
    -
    - -
    - -
    -
    - - -
    - -
    - {#fullpage_dlg.base_element} - - - - - - - - - - -
    - - -
    - - - -
    - {#fullpage_dlg.comment_element} - - - - -
    -
    -
    - -
    - - -
    -
    - - + + + + {#fullpage_dlg.title} + + + + + + + +
    + + +
    +
    +
    + {#fullpage_dlg.meta_props} + + + + + + + + + + + + + + + + + + + + + + + + + + +
     
     
     
     
     
      + +
    +
    + +
    + {#fullpage_dlg.langprops} + + + + + + + + + + + + + + + + + + + + + + +
    + +
      + +
     
    + +
     
    +
    +
    + +
    +
    + {#fullpage_dlg.appearance_textprops} + + + + + + + + + + + + + + + + +
    + +
    + +
    + + + + + +
     
    +
    +
    + +
    + {#fullpage_dlg.appearance_bgprops} + + + + + + + + + + +
    + + + + + +
     
    +
    + + + + + +
     
    +
    +
    + +
    + {#fullpage_dlg.appearance_marginprops} + + + + + + + + + + + + + + +
    +
    + +
    + {#fullpage_dlg.appearance_linkprops} + + + + + + + + + + + + + + + + + + + +
    + + + + + +
    +
    + + + + + +
     
    +
    + + + + + +
     
    +
      
    +
    + +
    + {#fullpage_dlg.appearance_style} + + + + + + + + + + +
    + + + + +
     
    +
    +
    + +
    + + +
    + {#fullpage_dlg.head_elements} + +
    +
    +
    + + +
    +
    + + +
    +
    +
    + +
    +
    + +
    + {#fullpage_dlg.meta_element} + + + + + + + + + + + + + + +
    + + +
    + +
    + {#fullpage_dlg.title_element} + + + + + + +
    + + +
    + +
    + {#fullpage_dlg.script_element} + + + +
    + +
    +
    + + + + + + + + + + + + + + + + + +
    + + + + +
     
    +
    + +
    + +
    +
    + + +
    + +
    + {#fullpage_dlg.style_element} + + + +
    + +
    +
    + + + + + + + + + +
    +
    + +
    + +
    +
    + + +
    + +
    + {#fullpage_dlg.base_element} + + + + + + + + + + +
    + + +
    + + + +
    + {#fullpage_dlg.comment_element} + + + + +
    +
    +
    + +
    + + +
    +
    + + diff --git a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/fullpage/js/fullpage.js b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/fullpage/js/fullpage.js old mode 100644 new mode 100755 index a1bb719a38..7a80fcd23e --- a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/fullpage/js/fullpage.js +++ b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/fullpage/js/fullpage.js @@ -1,471 +1,471 @@ -/** - * fullpage.js - * - * Copyright 2009, Moxiecode Systems AB - * Released under LGPL License. - * - * License: http://tinymce.moxiecode.com/license - * Contributing: http://tinymce.moxiecode.com/contributing - */ - -tinyMCEPopup.requireLangPack(); - -var doc; - -var defaultDocTypes = - 'XHTML 1.0 Transitional=,' + - 'XHTML 1.0 Frameset=,' + - 'XHTML 1.0 Strict=,' + - 'XHTML 1.1=,' + - 'HTML 4.01 Transitional=,' + - 'HTML 4.01 Strict=,' + - 'HTML 4.01 Frameset='; - -var defaultEncodings = - 'Western european (iso-8859-1)=iso-8859-1,' + - 'Central European (iso-8859-2)=iso-8859-2,' + - 'Unicode (UTF-8)=utf-8,' + - 'Chinese traditional (Big5)=big5,' + - 'Cyrillic (iso-8859-5)=iso-8859-5,' + - 'Japanese (iso-2022-jp)=iso-2022-jp,' + - 'Greek (iso-8859-7)=iso-8859-7,' + - 'Korean (iso-2022-kr)=iso-2022-kr,' + - 'ASCII (us-ascii)=us-ascii'; - -var defaultMediaTypes = - 'all=all,' + - 'screen=screen,' + - 'print=print,' + - 'tty=tty,' + - 'tv=tv,' + - 'projection=projection,' + - 'handheld=handheld,' + - 'braille=braille,' + - 'aural=aural'; - -var defaultFontNames = 'Arial=arial,helvetica,sans-serif;Courier New=courier new,courier,monospace;Georgia=georgia,times new roman,times,serif;Tahoma=tahoma,arial,helvetica,sans-serif;Times New Roman=times new roman,times,serif;Verdana=verdana,arial,helvetica,sans-serif;Impact=impact;WingDings=wingdings'; -var defaultFontSizes = '10px,11px,12px,13px,14px,15px,16px'; - -function init() { - var f = document.forms['fullpage'], el = f.elements, e, i, p, doctypes, encodings, mediaTypes, fonts, ed = tinyMCEPopup.editor, dom = tinyMCEPopup.dom, style; - - // Setup doctype select box - doctypes = ed.getParam("fullpage_doctypes", defaultDocTypes).split(','); - for (i=0; i 1) - addSelectValue(f, 'doctypes', p[0], p[1]); - } - - // Setup fonts select box - fonts = ed.getParam("fullpage_fonts", defaultFontNames).split(';'); - for (i=0; i 1) - addSelectValue(f, 'fontface', p[0], p[1]); - } - - // Setup fontsize select box - fonts = ed.getParam("fullpage_fontsizes", defaultFontSizes).split(','); - for (i=0; i 1) { - addSelectValue(f, 'element_style_media', p[0], p[1]); - addSelectValue(f, 'element_link_media', p[0], p[1]); - } - } - - // Setup encodings select box - encodings = ed.getParam("fullpage_encodings", defaultEncodings).split(','); - for (i=0; i 1) { - addSelectValue(f, 'docencoding', p[0], p[1]); - addSelectValue(f, 'element_script_charset', p[0], p[1]); - addSelectValue(f, 'element_link_charset', p[0], p[1]); - } - } - - document.getElementById('bgcolor_pickcontainer').innerHTML = getColorPickerHTML('bgcolor_pick','bgcolor'); - document.getElementById('link_color_pickcontainer').innerHTML = getColorPickerHTML('link_color_pick','link_color'); - //document.getElementById('hover_color_pickcontainer').innerHTML = getColorPickerHTML('hover_color_pick','hover_color'); - document.getElementById('visited_color_pickcontainer').innerHTML = getColorPickerHTML('visited_color_pick','visited_color'); - document.getElementById('active_color_pickcontainer').innerHTML = getColorPickerHTML('active_color_pick','active_color'); - document.getElementById('textcolor_pickcontainer').innerHTML = getColorPickerHTML('textcolor_pick','textcolor'); - document.getElementById('stylesheet_browsercontainer').innerHTML = getBrowserHTML('stylesheetbrowser','stylesheet','file','fullpage'); - document.getElementById('link_href_pickcontainer').innerHTML = getBrowserHTML('link_href_browser','element_link_href','file','fullpage'); - document.getElementById('script_src_pickcontainer').innerHTML = getBrowserHTML('script_src_browser','element_script_src','file','fullpage'); - document.getElementById('bgimage_pickcontainer').innerHTML = getBrowserHTML('bgimage_browser','bgimage','image','fullpage'); - - // Resize some elements - if (isVisible('stylesheetbrowser')) - document.getElementById('stylesheet').style.width = '220px'; - - if (isVisible('link_href_browser')) - document.getElementById('element_link_href').style.width = '230px'; - - if (isVisible('bgimage_browser')) - document.getElementById('bgimage').style.width = '210px'; - - // Add iframe - dom.add(document.body, 'iframe', {id : 'documentIframe', src : 'javascript:""', style : {display : 'none'}}); - doc = dom.get('documentIframe').contentWindow.document; - h = tinyMCEPopup.getWindowArg('head_html'); - - // Preprocess the HTML disable scripts and urls - h = h.replace(/ - - - -
    - -
    - - - - - + + + + + + + + +
    + +
    + + + + + diff --git a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/inlinepopups/template.htm b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/inlinepopups/template.htm old mode 100644 new mode 100755 index f9ec64219d..c98fe41a67 --- a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/inlinepopups/template.htm +++ b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/inlinepopups/template.htm @@ -1,387 +1,387 @@ - - - -Template for dialogs - - - - -
    -
    -
    -
    -
    -
    -
    - Blured -
    - -
    -
    - Content -
    -
    - -
    -
    -
    -
    - Statusbar text. -
    - - - - - - - - - - - - - - -
    -
    - -
    -
    -
    -
    -
    -
    - Focused -
    - -
    -
    - Content -
    -
    - -
    -
    -
    -
    - Statusbar text. -
    - - - - - - - - - - - - - - -
    -
    - -
    -
    -
    -
    -
    -
    - Statusbar -
    - -
    -
    - Content -
    -
    - -
    -
    -
    -
    - Statusbar text. -
    - - - - - - - - - - - - - - -
    -
    - -
    -
    -
    -
    -
    -
    - Statusbar, Resizable -
    - -
    -
    - Content -
    -
    - -
    -
    -
    -
    - Statusbar text. -
    - - - - - - - - - - - - - - -
    -
    - -
    -
    -
    -
    -
    -
    - Resizable, Maximizable -
    - -
    -
    - Content -
    -
    - -
    -
    -
    -
    - Statusbar text. -
    - - - - - - - - - - - - - - -
    -
    - -
    -
    -
    -
    -
    -
    - Blurred, Maximizable, Statusbar, Resizable -
    - -
    -
    - Content -
    -
    - -
    -
    -
    -
    - Statusbar text. -
    - - - - - - - - - - - - - - -
    -
    - -
    -
    -
    -
    -
    -
    - Maximized, Maximizable, Minimizable -
    - -
    -
    - Content -
    -
    - -
    -
    -
    -
    - Statusbar text. -
    - - - - - - - - - - - - - - -
    -
    - -
    -
    -
    -
    -
    -
    - Blured -
    - -
    -
    - Content -
    -
    - -
    -
    -
    -
    - Statusbar text. -
    - - - - - - - - - - - - - - -
    -
    - -
    -
    -
    -
    -
    -
    - Alert -
    - -
    -
    - - This is a very long error message. This is a very long error message. - This is a very long error message. This is a very long error message. - This is a very long error message. This is a very long error message. - This is a very long error message. This is a very long error message. - This is a very long error message. This is a very long error message. - This is a very long error message. This is a very long error message. - -
    -
    -
    - -
    -
    -
    -
    -
    - - - Ok - -
    -
    - -
    -
    -
    -
    -
    -
    - Confirm -
    - -
    -
    - - This is a very long error message. This is a very long error message. - This is a very long error message. This is a very long error message. - This is a very long error message. This is a very long error message. - This is a very long error message. This is a very long error message. - This is a very long error message. This is a very long error message. - This is a very long error message. This is a very long error message. - -
    -
    -
    - -
    -
    -
    -
    -
    - - - Ok - Cancel - -
    -
    -
    - - - + + + +Template for dialogs + + + + +
    +
    +
    +
    +
    +
    +
    + Blured +
    + +
    +
    + Content +
    +
    + +
    +
    +
    +
    + Statusbar text. +
    + + + + + + + + + + + + + + +
    +
    + +
    +
    +
    +
    +
    +
    + Focused +
    + +
    +
    + Content +
    +
    + +
    +
    +
    +
    + Statusbar text. +
    + + + + + + + + + + + + + + +
    +
    + +
    +
    +
    +
    +
    +
    + Statusbar +
    + +
    +
    + Content +
    +
    + +
    +
    +
    +
    + Statusbar text. +
    + + + + + + + + + + + + + + +
    +
    + +
    +
    +
    +
    +
    +
    + Statusbar, Resizable +
    + +
    +
    + Content +
    +
    + +
    +
    +
    +
    + Statusbar text. +
    + + + + + + + + + + + + + + +
    +
    + +
    +
    +
    +
    +
    +
    + Resizable, Maximizable +
    + +
    +
    + Content +
    +
    + +
    +
    +
    +
    + Statusbar text. +
    + + + + + + + + + + + + + + +
    +
    + +
    +
    +
    +
    +
    +
    + Blurred, Maximizable, Statusbar, Resizable +
    + +
    +
    + Content +
    +
    + +
    +
    +
    +
    + Statusbar text. +
    + + + + + + + + + + + + + + +
    +
    + +
    +
    +
    +
    +
    +
    + Maximized, Maximizable, Minimizable +
    + +
    +
    + Content +
    +
    + +
    +
    +
    +
    + Statusbar text. +
    + + + + + + + + + + + + + + +
    +
    + +
    +
    +
    +
    +
    +
    + Blured +
    + +
    +
    + Content +
    +
    + +
    +
    +
    +
    + Statusbar text. +
    + + + + + + + + + + + + + + +
    +
    + +
    +
    +
    +
    +
    +
    + Alert +
    + +
    +
    + + This is a very long error message. This is a very long error message. + This is a very long error message. This is a very long error message. + This is a very long error message. This is a very long error message. + This is a very long error message. This is a very long error message. + This is a very long error message. This is a very long error message. + This is a very long error message. This is a very long error message. + +
    +
    +
    + +
    +
    +
    +
    +
    + + + Ok + +
    +
    + +
    +
    +
    +
    +
    +
    + Confirm +
    + +
    +
    + + This is a very long error message. This is a very long error message. + This is a very long error message. This is a very long error message. + This is a very long error message. This is a very long error message. + This is a very long error message. This is a very long error message. + This is a very long error message. This is a very long error message. + This is a very long error message. This is a very long error message. + +
    +
    +
    + +
    +
    +
    +
    +
    + + + Ok + Cancel + +
    +
    +
    + + + diff --git a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/media/css/content.css b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/media/css/content.css old mode 100644 new mode 100755 index 1bf6a75869..7739381da5 --- a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/media/css/content.css +++ b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/media/css/content.css @@ -1,6 +1,6 @@ -.mceItemFlash, .mceItemShockWave, .mceItemQuickTime, .mceItemWindowsMedia, .mceItemRealMedia {border:1px dotted #cc0000; background-position:center; background-repeat:no-repeat; background-color:#ffffcc;} -.mceItemShockWave {background-image: url(../img/shockwave.gif);} -.mceItemFlash {background-image:url(../img/flash.gif);} -.mceItemQuickTime {background-image:url(../img/quicktime.gif);} -.mceItemWindowsMedia {background-image:url(../img/windowsmedia.gif);} -.mceItemRealMedia {background-image:url(../img/realmedia.gif);} +.mceItemFlash, .mceItemShockWave, .mceItemQuickTime, .mceItemWindowsMedia, .mceItemRealMedia {border:1px dotted #cc0000; background-position:center; background-repeat:no-repeat; background-color:#ffffcc;} +.mceItemShockWave {background-image: url(../img/shockwave.gif);} +.mceItemFlash {background-image:url(../img/flash.gif);} +.mceItemQuickTime {background-image:url(../img/quicktime.gif);} +.mceItemWindowsMedia {background-image:url(../img/windowsmedia.gif);} +.mceItemRealMedia {background-image:url(../img/realmedia.gif);} diff --git a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/media/css/media.css b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/media/css/media.css old mode 100644 new mode 100755 index 2d087944de..7b2253ba3d --- a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/media/css/media.css +++ b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/media/css/media.css @@ -1,16 +1,16 @@ -#id, #name, #hspace, #vspace, #class_name, #align { width: 100px } -#hspace, #vspace { width: 50px } -#flash_quality, #flash_align, #flash_scale, #flash_salign, #flash_wmode { width: 100px } -#flash_base, #flash_flashvars { width: 240px } -#width, #height { width: 40px } -#src, #media_type { width: 250px } -#class { width: 120px } -#prev { margin: 0; border: 1px solid black; width: 380px; height: 230px; overflow: auto } -.panel_wrapper div.current { height: 390px; overflow: auto } -#flash_options, #shockwave_options, #qt_options, #wmp_options, #rmp_options { display: none } -.mceAddSelectValue { background-color: #DDDDDD } -#qt_starttime, #qt_endtime, #qt_fov, #qt_href, #qt_moveid, #qt_moviename, #qt_node, #qt_pan, #qt_qtsrc, #qt_qtsrcchokespeed, #qt_target, #qt_tilt, #qt_urlsubstituten, #qt_volume { width: 70px } -#wmp_balance, #wmp_baseurl, #wmp_captioningid, #wmp_currentmarker, #wmp_currentposition, #wmp_defaultframe, #wmp_playcount, #wmp_rate, #wmp_uimode, #wmp_volume { width: 70px } -#rmp_console, #rmp_numloop, #rmp_controls, #rmp_scriptcallbacks { width: 70px } -#shockwave_swvolume, #shockwave_swframe, #shockwave_swurl, #shockwave_swstretchvalign, #shockwave_swstretchhalign, #shockwave_swstretchstyle { width: 90px } -#qt_qtsrc { width: 200px } +#id, #name, #hspace, #vspace, #class_name, #align { width: 100px } +#hspace, #vspace { width: 50px } +#flash_quality, #flash_align, #flash_scale, #flash_salign, #flash_wmode { width: 100px } +#flash_base, #flash_flashvars { width: 240px } +#width, #height { width: 40px } +#src, #media_type { width: 250px } +#class { width: 120px } +#prev { margin: 0; border: 1px solid black; width: 380px; height: 230px; overflow: auto } +.panel_wrapper div.current { height: 390px; overflow: auto } +#flash_options, #shockwave_options, #qt_options, #wmp_options, #rmp_options { display: none } +.mceAddSelectValue { background-color: #DDDDDD } +#qt_starttime, #qt_endtime, #qt_fov, #qt_href, #qt_moveid, #qt_moviename, #qt_node, #qt_pan, #qt_qtsrc, #qt_qtsrcchokespeed, #qt_target, #qt_tilt, #qt_urlsubstituten, #qt_volume { width: 70px } +#wmp_balance, #wmp_baseurl, #wmp_captioningid, #wmp_currentmarker, #wmp_currentposition, #wmp_defaultframe, #wmp_playcount, #wmp_rate, #wmp_uimode, #wmp_volume { width: 70px } +#rmp_console, #rmp_numloop, #rmp_controls, #rmp_scriptcallbacks { width: 70px } +#shockwave_swvolume, #shockwave_swframe, #shockwave_swurl, #shockwave_swstretchvalign, #shockwave_swstretchhalign, #shockwave_swstretchstyle { width: 90px } +#qt_qtsrc { width: 200px } diff --git a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/media/js/embed.js b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/media/js/embed.js old mode 100644 new mode 100755 index f8dc810527..6fe25de090 --- a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/media/js/embed.js +++ b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/media/js/embed.js @@ -1,73 +1,73 @@ -/** - * This script contains embed functions for common plugins. This scripts are complety free to use for any purpose. - */ - -function writeFlash(p) { - writeEmbed( - 'D27CDB6E-AE6D-11cf-96B8-444553540000', - 'http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0', - 'application/x-shockwave-flash', - p - ); -} - -function writeShockWave(p) { - writeEmbed( - '166B1BCA-3F9C-11CF-8075-444553540000', - 'http://download.macromedia.com/pub/shockwave/cabs/director/sw.cab#version=8,5,1,0', - 'application/x-director', - p - ); -} - -function writeQuickTime(p) { - writeEmbed( - '02BF25D5-8C17-4B23-BC80-D3488ABDDC6B', - 'http://www.apple.com/qtactivex/qtplugin.cab#version=6,0,2,0', - 'video/quicktime', - p - ); -} - -function writeRealMedia(p) { - writeEmbed( - 'CFCDAA03-8BE4-11cf-B84B-0020AFBBCCFA', - 'http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0', - 'audio/x-pn-realaudio-plugin', - p - ); -} - -function writeWindowsMedia(p) { - p.url = p.src; - writeEmbed( - '6BF52A52-394A-11D3-B153-00C04F79FAA6', - 'http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=5,1,52,701', - 'application/x-mplayer2', - p - ); -} - -function writeEmbed(cls, cb, mt, p) { - var h = '', n; - - h += ''; - - h += ''; + + h += ''); - -function init() { - var pl = "", f, val; - var type = "flash", fe, i; - - ed = tinyMCEPopup.editor; - - tinyMCEPopup.resizeToInnerSize(); - f = document.forms[0] - - fe = ed.selection.getNode(); - if (/mceItem(Flash|ShockWave|WindowsMedia|QuickTime|RealMedia)/.test(ed.dom.getAttrib(fe, 'class'))) { - pl = fe.title; - - switch (ed.dom.getAttrib(fe, 'class')) { - case 'mceItemFlash': - type = 'flash'; - break; - - case 'mceItemFlashVideo': - type = 'flv'; - break; - - case 'mceItemShockWave': - type = 'shockwave'; - break; - - case 'mceItemWindowsMedia': - type = 'wmp'; - break; - - case 'mceItemQuickTime': - type = 'qt'; - break; - - case 'mceItemRealMedia': - type = 'rmp'; - break; - } - - document.forms[0].insert.value = ed.getLang('update', 'Insert', true); - } - - document.getElementById('filebrowsercontainer').innerHTML = getBrowserHTML('filebrowser','src','media','media'); - document.getElementById('qtsrcfilebrowsercontainer').innerHTML = getBrowserHTML('qtsrcfilebrowser','qt_qtsrc','media','media'); - document.getElementById('bgcolor_pickcontainer').innerHTML = getColorPickerHTML('bgcolor_pick','bgcolor'); - - var html = getMediaListHTML('medialist','src','media','media'); - if (html == "") - document.getElementById("linklistrow").style.display = 'none'; - else - document.getElementById("linklistcontainer").innerHTML = html; - - // Resize some elements - if (isVisible('filebrowser')) - document.getElementById('src').style.width = '230px'; - - // Setup form - if (pl != "") { - pl = tinyMCEPopup.editor.plugins.media._parse(pl); - - switch (type) { - case "flash": - setBool(pl, 'flash', 'play'); - setBool(pl, 'flash', 'loop'); - setBool(pl, 'flash', 'menu'); - setBool(pl, 'flash', 'swliveconnect'); - setStr(pl, 'flash', 'quality'); - setStr(pl, 'flash', 'scale'); - setStr(pl, 'flash', 'salign'); - setStr(pl, 'flash', 'wmode'); - setStr(pl, 'flash', 'base'); - setStr(pl, 'flash', 'flashvars'); - break; - - case "qt": - setBool(pl, 'qt', 'loop'); - setBool(pl, 'qt', 'autoplay'); - setBool(pl, 'qt', 'cache'); - setBool(pl, 'qt', 'controller'); - setBool(pl, 'qt', 'correction'); - setBool(pl, 'qt', 'enablejavascript'); - setBool(pl, 'qt', 'kioskmode'); - setBool(pl, 'qt', 'autohref'); - setBool(pl, 'qt', 'playeveryframe'); - setBool(pl, 'qt', 'tarsetcache'); - setStr(pl, 'qt', 'scale'); - setStr(pl, 'qt', 'starttime'); - setStr(pl, 'qt', 'endtime'); - setStr(pl, 'qt', 'tarset'); - setStr(pl, 'qt', 'qtsrcchokespeed'); - setStr(pl, 'qt', 'volume'); - setStr(pl, 'qt', 'qtsrc'); - break; - - case "shockwave": - setBool(pl, 'shockwave', 'sound'); - setBool(pl, 'shockwave', 'progress'); - setBool(pl, 'shockwave', 'autostart'); - setBool(pl, 'shockwave', 'swliveconnect'); - setStr(pl, 'shockwave', 'swvolume'); - setStr(pl, 'shockwave', 'swstretchstyle'); - setStr(pl, 'shockwave', 'swstretchhalign'); - setStr(pl, 'shockwave', 'swstretchvalign'); - break; - - case "wmp": - setBool(pl, 'wmp', 'autostart'); - setBool(pl, 'wmp', 'enabled'); - setBool(pl, 'wmp', 'enablecontextmenu'); - setBool(pl, 'wmp', 'fullscreen'); - setBool(pl, 'wmp', 'invokeurls'); - setBool(pl, 'wmp', 'mute'); - setBool(pl, 'wmp', 'stretchtofit'); - setBool(pl, 'wmp', 'windowlessvideo'); - setStr(pl, 'wmp', 'balance'); - setStr(pl, 'wmp', 'baseurl'); - setStr(pl, 'wmp', 'captioningid'); - setStr(pl, 'wmp', 'currentmarker'); - setStr(pl, 'wmp', 'currentposition'); - setStr(pl, 'wmp', 'defaultframe'); - setStr(pl, 'wmp', 'playcount'); - setStr(pl, 'wmp', 'rate'); - setStr(pl, 'wmp', 'uimode'); - setStr(pl, 'wmp', 'volume'); - break; - - case "rmp": - setBool(pl, 'rmp', 'autostart'); - setBool(pl, 'rmp', 'loop'); - setBool(pl, 'rmp', 'autogotourl'); - setBool(pl, 'rmp', 'center'); - setBool(pl, 'rmp', 'imagestatus'); - setBool(pl, 'rmp', 'maintainaspect'); - setBool(pl, 'rmp', 'nojava'); - setBool(pl, 'rmp', 'prefetch'); - setBool(pl, 'rmp', 'shuffle'); - setStr(pl, 'rmp', 'console'); - setStr(pl, 'rmp', 'controls'); - setStr(pl, 'rmp', 'numloop'); - setStr(pl, 'rmp', 'scriptcallbacks'); - break; - } - - setStr(pl, null, 'src'); - setStr(pl, null, 'id'); - setStr(pl, null, 'name'); - setStr(pl, null, 'vspace'); - setStr(pl, null, 'hspace'); - setStr(pl, null, 'bgcolor'); - setStr(pl, null, 'align'); - setStr(pl, null, 'width'); - setStr(pl, null, 'height'); - - if ((val = ed.dom.getAttrib(fe, "width")) != "") - pl.width = f.width.value = val; - - if ((val = ed.dom.getAttrib(fe, "height")) != "") - pl.height = f.height.value = val; - - oldWidth = pl.width ? parseInt(pl.width) : 0; - oldHeight = pl.height ? parseInt(pl.height) : 0; - } else - oldWidth = oldHeight = 0; - - selectByValue(f, 'media_type', type); - changedType(type); - updateColor('bgcolor_pick', 'bgcolor'); - - TinyMCE_EditableSelects.init(); - generatePreview(); -} - -function insertMedia() { - var fe, f = document.forms[0], h; - - tinyMCEPopup.restoreSelection(); - - if (!AutoValidator.validate(f)) { - tinyMCEPopup.alert(ed.getLang('invalid_data')); - return false; - } - - f.width.value = f.width.value == "" ? 100 : f.width.value; - f.height.value = f.height.value == "" ? 100 : f.height.value; - - fe = ed.selection.getNode(); - if (fe != null && /mceItem(Flash|ShockWave|WindowsMedia|QuickTime|RealMedia)/.test(ed.dom.getAttrib(fe, 'class'))) { - switch (f.media_type.options[f.media_type.selectedIndex].value) { - case "flash": - fe.className = "mceItemFlash"; - break; - - case "flv": - fe.className = "mceItemFlashVideo"; - break; - - case "shockwave": - fe.className = "mceItemShockWave"; - break; - - case "qt": - fe.className = "mceItemQuickTime"; - break; - - case "wmp": - fe.className = "mceItemWindowsMedia"; - break; - - case "rmp": - fe.className = "mceItemRealMedia"; - break; - } - - if (fe.width != f.width.value || fe.height != f.height.value) - ed.execCommand('mceRepaint'); - - fe.title = serializeParameters(); - fe.width = f.width.value; - fe.height = f.height.value; - fe.style.width = f.width.value + (f.width.value.indexOf('%') == -1 ? 'px' : ''); - fe.style.height = f.height.value + (f.height.value.indexOf('%') == -1 ? 'px' : ''); - fe.align = f.align.options[f.align.selectedIndex].value; - } else { - h = ' 0) { - var html = ""; - - html += ''; - - return html; - } - - return ""; -} - -function getType(v) { - var fo, i, c, el, x, f = document.forms[0]; - - fo = ed.getParam("media_types", "flash=swf;flv=flv;shockwave=dcr;qt=mov,qt,mpg,mp3,mp4,mpeg;shockwave=dcr;wmp=avi,wmv,wm,asf,asx,wmx,wvx;rmp=rm,ra,ram").split(';'); - - // YouTube - if (v.match(/watch\?v=(.+)(.*)/)) { - f.width.value = '425'; - f.height.value = '350'; - f.src.value = 'http://www.youtube.com/v/' + v.match(/v=(.*)(.*)/)[0].split('=')[1]; - return 'flash'; - } - - // Google video - if (v.indexOf('http://video.google.com/videoplay?docid=') == 0) { - f.width.value = '425'; - f.height.value = '326'; - f.src.value = 'http://video.google.com/googleplayer.swf?docId=' + v.substring('http://video.google.com/videoplay?docid='.length) + '&hl=en'; - return 'flash'; - } - - for (i=0; i 0 ? s.substring(0, s.length - 1) : s; - - return s; -} - -function setBool(pl, p, n) { - if (typeof(pl[n]) == "undefined") - return; - - document.forms[0].elements[p + "_" + n].checked = pl[n] != 'false'; -} - -function setStr(pl, p, n) { - var f = document.forms[0], e = f.elements[(p != null ? p + "_" : '') + n]; - - if (typeof(pl[n]) == "undefined") - return; - - if (e.type == "text") - e.value = pl[n]; - else - selectByValue(f, (p != null ? p + "_" : '') + n, pl[n]); -} - -function getBool(p, n, d, tv, fv) { - var v = document.forms[0].elements[p + "_" + n].checked; - - tv = typeof(tv) == 'undefined' ? 'true' : "'" + jsEncode(tv) + "'"; - fv = typeof(fv) == 'undefined' ? 'false' : "'" + jsEncode(fv) + "'"; - - return (v == d) ? '' : n + (v ? ':' + tv + ',' : ":\'" + fv + "\',"); -} - -function getStr(p, n, d) { - var e = document.forms[0].elements[(p != null ? p + "_" : "") + n]; - var v = e.type == "text" ? e.value : e.options[e.selectedIndex].value; - - if (n == 'src') - v = tinyMCEPopup.editor.convertURL(v, 'src', null); - - return ((n == d || v == '') ? '' : n + ":'" + jsEncode(v) + "',"); -} - -function getInt(p, n, d) { - var e = document.forms[0].elements[(p != null ? p + "_" : "") + n]; - var v = e.type == "text" ? e.value : e.options[e.selectedIndex].value; - - return ((n == d || v == '') ? '' : n + ":" + v.replace(/[^0-9]+/g, '') + ","); -} - -function jsEncode(s) { - s = s.replace(new RegExp('\\\\', 'g'), '\\\\'); - s = s.replace(new RegExp('"', 'g'), '\\"'); - s = s.replace(new RegExp("'", 'g'), "\\'"); - - return s; -} - -function generatePreview(c) { - var f = document.forms[0], p = document.getElementById('prev'), h = '', cls, pl, n, type, codebase, wp, hp, nw, nh; - - p.innerHTML = ''; - - nw = parseInt(f.width.value); - nh = parseInt(f.height.value); - - if (f.width.value != "" && f.height.value != "") { - if (f.constrain.checked) { - if (c == 'width' && oldWidth != 0) { - wp = nw / oldWidth; - nh = Math.round(wp * nh); - f.height.value = nh; - } else if (c == 'height' && oldHeight != 0) { - hp = nh / oldHeight; - nw = Math.round(hp * nw); - f.width.value = nw; - } - } - } - - if (f.width.value != "") - oldWidth = nw; - - if (f.height.value != "") - oldHeight = nh; - - // After constrain - pl = serializeParameters(); - - switch (f.media_type.options[f.media_type.selectedIndex].value) { - case "flash": - cls = 'clsid:D27CDB6E-AE6D-11cf-96B8-444553540000'; - codebase = 'http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0'; - type = 'application/x-shockwave-flash'; - break; - - case "shockwave": - cls = 'clsid:166B1BCA-3F9C-11CF-8075-444553540000'; - codebase = 'http://download.macromedia.com/pub/shockwave/cabs/director/sw.cab#version=8,5,1,0'; - type = 'application/x-director'; - break; - - case "qt": - cls = 'clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B'; - codebase = 'http://www.apple.com/qtactivex/qtplugin.cab#version=6,0,2,0'; - type = 'video/quicktime'; - break; - - case "wmp": - cls = ed.getParam('media_wmp6_compatible') ? 'clsid:05589FA1-C356-11CE-BF01-00AA0055595A' : 'clsid:6BF52A52-394A-11D3-B153-00C04F79FAA6'; - codebase = 'http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=5,1,52,701'; - type = 'application/x-mplayer2'; - break; - - case "rmp": - cls = 'clsid:CFCDAA03-8BE4-11cf-B84B-0020AFBBCCFA'; - codebase = 'http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=5,1,52,701'; - type = 'audio/x-pn-realaudio-plugin'; - break; - } - - if (pl == '') { - p.innerHTML = ''; - return; - } - - pl = tinyMCEPopup.editor.plugins.media._parse(pl); - - if (!pl.src) { - p.innerHTML = ''; - return; - } - - pl.src = tinyMCEPopup.editor.documentBaseURI.toAbsolute(pl.src); - pl.width = !pl.width ? 100 : pl.width; - pl.height = !pl.height ? 100 : pl.height; - pl.id = !pl.id ? 'obj' : pl.id; - pl.name = !pl.name ? 'eobj' : pl.name; - pl.align = !pl.align ? '' : pl.align; - - // Avoid annoying warning about insecure items - if (!tinymce.isIE || document.location.protocol != 'https:') { - h += ''; - - for (n in pl) { - h += ''; - - // Add extra url parameter if it's an absolute URL - if (n == 'src' && pl[n].indexOf('://') != -1) - h += ''; - } - } - - h += ''); + +function init() { + var pl = "", f, val; + var type = "flash", fe, i; + + ed = tinyMCEPopup.editor; + + tinyMCEPopup.resizeToInnerSize(); + f = document.forms[0] + + fe = ed.selection.getNode(); + if (/mceItem(Flash|ShockWave|WindowsMedia|QuickTime|RealMedia)/.test(ed.dom.getAttrib(fe, 'class'))) { + pl = fe.title; + + switch (ed.dom.getAttrib(fe, 'class')) { + case 'mceItemFlash': + type = 'flash'; + break; + + case 'mceItemFlashVideo': + type = 'flv'; + break; + + case 'mceItemShockWave': + type = 'shockwave'; + break; + + case 'mceItemWindowsMedia': + type = 'wmp'; + break; + + case 'mceItemQuickTime': + type = 'qt'; + break; + + case 'mceItemRealMedia': + type = 'rmp'; + break; + } + + document.forms[0].insert.value = ed.getLang('update', 'Insert', true); + } + + document.getElementById('filebrowsercontainer').innerHTML = getBrowserHTML('filebrowser','src','media','media'); + document.getElementById('qtsrcfilebrowsercontainer').innerHTML = getBrowserHTML('qtsrcfilebrowser','qt_qtsrc','media','media'); + document.getElementById('bgcolor_pickcontainer').innerHTML = getColorPickerHTML('bgcolor_pick','bgcolor'); + + var html = getMediaListHTML('medialist','src','media','media'); + if (html == "") + document.getElementById("linklistrow").style.display = 'none'; + else + document.getElementById("linklistcontainer").innerHTML = html; + + // Resize some elements + if (isVisible('filebrowser')) + document.getElementById('src').style.width = '230px'; + + // Setup form + if (pl != "") { + pl = tinyMCEPopup.editor.plugins.media._parse(pl); + + switch (type) { + case "flash": + setBool(pl, 'flash', 'play'); + setBool(pl, 'flash', 'loop'); + setBool(pl, 'flash', 'menu'); + setBool(pl, 'flash', 'swliveconnect'); + setStr(pl, 'flash', 'quality'); + setStr(pl, 'flash', 'scale'); + setStr(pl, 'flash', 'salign'); + setStr(pl, 'flash', 'wmode'); + setStr(pl, 'flash', 'base'); + setStr(pl, 'flash', 'flashvars'); + break; + + case "qt": + setBool(pl, 'qt', 'loop'); + setBool(pl, 'qt', 'autoplay'); + setBool(pl, 'qt', 'cache'); + setBool(pl, 'qt', 'controller'); + setBool(pl, 'qt', 'correction'); + setBool(pl, 'qt', 'enablejavascript'); + setBool(pl, 'qt', 'kioskmode'); + setBool(pl, 'qt', 'autohref'); + setBool(pl, 'qt', 'playeveryframe'); + setBool(pl, 'qt', 'tarsetcache'); + setStr(pl, 'qt', 'scale'); + setStr(pl, 'qt', 'starttime'); + setStr(pl, 'qt', 'endtime'); + setStr(pl, 'qt', 'tarset'); + setStr(pl, 'qt', 'qtsrcchokespeed'); + setStr(pl, 'qt', 'volume'); + setStr(pl, 'qt', 'qtsrc'); + break; + + case "shockwave": + setBool(pl, 'shockwave', 'sound'); + setBool(pl, 'shockwave', 'progress'); + setBool(pl, 'shockwave', 'autostart'); + setBool(pl, 'shockwave', 'swliveconnect'); + setStr(pl, 'shockwave', 'swvolume'); + setStr(pl, 'shockwave', 'swstretchstyle'); + setStr(pl, 'shockwave', 'swstretchhalign'); + setStr(pl, 'shockwave', 'swstretchvalign'); + break; + + case "wmp": + setBool(pl, 'wmp', 'autostart'); + setBool(pl, 'wmp', 'enabled'); + setBool(pl, 'wmp', 'enablecontextmenu'); + setBool(pl, 'wmp', 'fullscreen'); + setBool(pl, 'wmp', 'invokeurls'); + setBool(pl, 'wmp', 'mute'); + setBool(pl, 'wmp', 'stretchtofit'); + setBool(pl, 'wmp', 'windowlessvideo'); + setStr(pl, 'wmp', 'balance'); + setStr(pl, 'wmp', 'baseurl'); + setStr(pl, 'wmp', 'captioningid'); + setStr(pl, 'wmp', 'currentmarker'); + setStr(pl, 'wmp', 'currentposition'); + setStr(pl, 'wmp', 'defaultframe'); + setStr(pl, 'wmp', 'playcount'); + setStr(pl, 'wmp', 'rate'); + setStr(pl, 'wmp', 'uimode'); + setStr(pl, 'wmp', 'volume'); + break; + + case "rmp": + setBool(pl, 'rmp', 'autostart'); + setBool(pl, 'rmp', 'loop'); + setBool(pl, 'rmp', 'autogotourl'); + setBool(pl, 'rmp', 'center'); + setBool(pl, 'rmp', 'imagestatus'); + setBool(pl, 'rmp', 'maintainaspect'); + setBool(pl, 'rmp', 'nojava'); + setBool(pl, 'rmp', 'prefetch'); + setBool(pl, 'rmp', 'shuffle'); + setStr(pl, 'rmp', 'console'); + setStr(pl, 'rmp', 'controls'); + setStr(pl, 'rmp', 'numloop'); + setStr(pl, 'rmp', 'scriptcallbacks'); + break; + } + + setStr(pl, null, 'src'); + setStr(pl, null, 'id'); + setStr(pl, null, 'name'); + setStr(pl, null, 'vspace'); + setStr(pl, null, 'hspace'); + setStr(pl, null, 'bgcolor'); + setStr(pl, null, 'align'); + setStr(pl, null, 'width'); + setStr(pl, null, 'height'); + + if ((val = ed.dom.getAttrib(fe, "width")) != "") + pl.width = f.width.value = val; + + if ((val = ed.dom.getAttrib(fe, "height")) != "") + pl.height = f.height.value = val; + + oldWidth = pl.width ? parseInt(pl.width) : 0; + oldHeight = pl.height ? parseInt(pl.height) : 0; + } else + oldWidth = oldHeight = 0; + + selectByValue(f, 'media_type', type); + changedType(type); + updateColor('bgcolor_pick', 'bgcolor'); + + TinyMCE_EditableSelects.init(); + generatePreview(); +} + +function insertMedia() { + var fe, f = document.forms[0], h; + + tinyMCEPopup.restoreSelection(); + + if (!AutoValidator.validate(f)) { + tinyMCEPopup.alert(ed.getLang('invalid_data')); + return false; + } + + f.width.value = f.width.value == "" ? 100 : f.width.value; + f.height.value = f.height.value == "" ? 100 : f.height.value; + + fe = ed.selection.getNode(); + if (fe != null && /mceItem(Flash|ShockWave|WindowsMedia|QuickTime|RealMedia)/.test(ed.dom.getAttrib(fe, 'class'))) { + switch (f.media_type.options[f.media_type.selectedIndex].value) { + case "flash": + fe.className = "mceItemFlash"; + break; + + case "flv": + fe.className = "mceItemFlashVideo"; + break; + + case "shockwave": + fe.className = "mceItemShockWave"; + break; + + case "qt": + fe.className = "mceItemQuickTime"; + break; + + case "wmp": + fe.className = "mceItemWindowsMedia"; + break; + + case "rmp": + fe.className = "mceItemRealMedia"; + break; + } + + if (fe.width != f.width.value || fe.height != f.height.value) + ed.execCommand('mceRepaint'); + + fe.title = serializeParameters(); + fe.width = f.width.value; + fe.height = f.height.value; + fe.style.width = f.width.value + (f.width.value.indexOf('%') == -1 ? 'px' : ''); + fe.style.height = f.height.value + (f.height.value.indexOf('%') == -1 ? 'px' : ''); + fe.align = f.align.options[f.align.selectedIndex].value; + } else { + h = ' 0) { + var html = ""; + + html += ''; + + return html; + } + + return ""; +} + +function getType(v) { + var fo, i, c, el, x, f = document.forms[0]; + + fo = ed.getParam("media_types", "flash=swf;flv=flv;shockwave=dcr;qt=mov,qt,mpg,mp3,mp4,mpeg;shockwave=dcr;wmp=avi,wmv,wm,asf,asx,wmx,wvx;rmp=rm,ra,ram").split(';'); + + // YouTube + if (v.match(/watch\?v=(.+)(.*)/)) { + f.width.value = '425'; + f.height.value = '350'; + f.src.value = 'http://www.youtube.com/v/' + v.match(/v=(.*)(.*)/)[0].split('=')[1]; + return 'flash'; + } + + // Google video + if (v.indexOf('http://video.google.com/videoplay?docid=') == 0) { + f.width.value = '425'; + f.height.value = '326'; + f.src.value = 'http://video.google.com/googleplayer.swf?docId=' + v.substring('http://video.google.com/videoplay?docid='.length) + '&hl=en'; + return 'flash'; + } + + for (i=0; i 0 ? s.substring(0, s.length - 1) : s; + + return s; +} + +function setBool(pl, p, n) { + if (typeof(pl[n]) == "undefined") + return; + + document.forms[0].elements[p + "_" + n].checked = pl[n] != 'false'; +} + +function setStr(pl, p, n) { + var f = document.forms[0], e = f.elements[(p != null ? p + "_" : '') + n]; + + if (typeof(pl[n]) == "undefined") + return; + + if (e.type == "text") + e.value = pl[n]; + else + selectByValue(f, (p != null ? p + "_" : '') + n, pl[n]); +} + +function getBool(p, n, d, tv, fv) { + var v = document.forms[0].elements[p + "_" + n].checked; + + tv = typeof(tv) == 'undefined' ? 'true' : "'" + jsEncode(tv) + "'"; + fv = typeof(fv) == 'undefined' ? 'false' : "'" + jsEncode(fv) + "'"; + + return (v == d) ? '' : n + (v ? ':' + tv + ',' : ":\'" + fv + "\',"); +} + +function getStr(p, n, d) { + var e = document.forms[0].elements[(p != null ? p + "_" : "") + n]; + var v = e.type == "text" ? e.value : e.options[e.selectedIndex].value; + + if (n == 'src') + v = tinyMCEPopup.editor.convertURL(v, 'src', null); + + return ((n == d || v == '') ? '' : n + ":'" + jsEncode(v) + "',"); +} + +function getInt(p, n, d) { + var e = document.forms[0].elements[(p != null ? p + "_" : "") + n]; + var v = e.type == "text" ? e.value : e.options[e.selectedIndex].value; + + return ((n == d || v == '') ? '' : n + ":" + v.replace(/[^0-9]+/g, '') + ","); +} + +function jsEncode(s) { + s = s.replace(new RegExp('\\\\', 'g'), '\\\\'); + s = s.replace(new RegExp('"', 'g'), '\\"'); + s = s.replace(new RegExp("'", 'g'), "\\'"); + + return s; +} + +function generatePreview(c) { + var f = document.forms[0], p = document.getElementById('prev'), h = '', cls, pl, n, type, codebase, wp, hp, nw, nh; + + p.innerHTML = ''; + + nw = parseInt(f.width.value); + nh = parseInt(f.height.value); + + if (f.width.value != "" && f.height.value != "") { + if (f.constrain.checked) { + if (c == 'width' && oldWidth != 0) { + wp = nw / oldWidth; + nh = Math.round(wp * nh); + f.height.value = nh; + } else if (c == 'height' && oldHeight != 0) { + hp = nh / oldHeight; + nw = Math.round(hp * nw); + f.width.value = nw; + } + } + } + + if (f.width.value != "") + oldWidth = nw; + + if (f.height.value != "") + oldHeight = nh; + + // After constrain + pl = serializeParameters(); + + switch (f.media_type.options[f.media_type.selectedIndex].value) { + case "flash": + cls = 'clsid:D27CDB6E-AE6D-11cf-96B8-444553540000'; + codebase = 'http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0'; + type = 'application/x-shockwave-flash'; + break; + + case "shockwave": + cls = 'clsid:166B1BCA-3F9C-11CF-8075-444553540000'; + codebase = 'http://download.macromedia.com/pub/shockwave/cabs/director/sw.cab#version=8,5,1,0'; + type = 'application/x-director'; + break; + + case "qt": + cls = 'clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B'; + codebase = 'http://www.apple.com/qtactivex/qtplugin.cab#version=6,0,2,0'; + type = 'video/quicktime'; + break; + + case "wmp": + cls = ed.getParam('media_wmp6_compatible') ? 'clsid:05589FA1-C356-11CE-BF01-00AA0055595A' : 'clsid:6BF52A52-394A-11D3-B153-00C04F79FAA6'; + codebase = 'http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=5,1,52,701'; + type = 'application/x-mplayer2'; + break; + + case "rmp": + cls = 'clsid:CFCDAA03-8BE4-11cf-B84B-0020AFBBCCFA'; + codebase = 'http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=5,1,52,701'; + type = 'audio/x-pn-realaudio-plugin'; + break; + } + + if (pl == '') { + p.innerHTML = ''; + return; + } + + pl = tinyMCEPopup.editor.plugins.media._parse(pl); + + if (!pl.src) { + p.innerHTML = ''; + return; + } + + pl.src = tinyMCEPopup.editor.documentBaseURI.toAbsolute(pl.src); + pl.width = !pl.width ? 100 : pl.width; + pl.height = !pl.height ? 100 : pl.height; + pl.id = !pl.id ? 'obj' : pl.id; + pl.name = !pl.name ? 'eobj' : pl.name; + pl.align = !pl.align ? '' : pl.align; + + // Avoid annoying warning about insecure items + if (!tinymce.isIE || document.location.protocol != 'https:') { + h += ''; + + for (n in pl) { + h += ''; + + // Add extra url parameter if it's an absolute URL + if (n == 'src' && pl[n].indexOf('://') != -1) + h += ''; + } + } + + h += ' - - - {#media_dlg.title} - - - - - - - - - -
    - - -
    -
    -
    - {#media_dlg.general} - - - - - - - - - - - - - - - - - - -
    - -
    - - - - - -
     
    -
    - - - - - - -
    x   
    -
    -
    - -
    - {#media_dlg.preview} - -
    -
    - -
    -
    - {#media_dlg.advanced} - - - - - - - - - - - - - - - - - - - - - - - -
    - - - - - - - -
     
    -
    -
    - -
    - {#media_dlg.flash_options} - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    - - - -
    - - - -
    - - - - - -
    -
    - - - - - -
    -
    - - - - - -
    -
    - - - - - -
    -
    - - - - - - - - - - - -
    -
    - -
    - {#media_dlg.flv_options} - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    - -
    - - - - - -
    -
    - - - - - -
    -
    - - - - - -
    -
    - - - - - -
    -
    - - - - - -
    -
    - - - - - -
    -
    -
    - -
    - {#media_dlg.qt_options} - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    - - - - - -
    -
    - - - - - -
    -
    - - - - - -
    -
    - - - - - -
    -
    - - - - - -
    -
    - - - - - -
    -
    - - - - - -
    -
    - - - - - -
    -
    - - - - - -
    -
    - - - - - -
    -
    -  
    - - - - - -
     
    -
    -
    - -
    - {#media_dlg.wmp_options} - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    - - - - - -
    -
    - - - - - -
    -
    - - - - - -
    -
    - - - - - -
    -
    - - - - - -
    -
    - - - - - -
    -
    - - - - - -
    -
    - - - - - -
    -
    -
    - -
    - {#media_dlg.rmp_options} - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    - - - - - -
    -
    - - - - - -
    -
    - - - - - -
    -
    - - - - - -
    -
    - - - - - -
    -
    - - - - - -
    -
    - - - - - -
    -
    - - - - - -
    -
    - - - - - -
    -
    -   -
    -
    - -
    - {#media_dlg.shockwave_options} - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    - -
    - - - -
    - - - - - -
    -
    - - - - - -
    -
    - - - - - -
    -
    - - - - - -
    -
    -
    -
    -
    - -
    - - -
    -
    - - + + + + {#media_dlg.title} + + + + + + + + + +
    + + +
    +
    +
    + {#media_dlg.general} + + + + + + + + + + + + + + + + + + +
    + +
    + + + + + +
     
    +
    + + + + + + +
    x   
    +
    +
    + +
    + {#media_dlg.preview} + +
    +
    + +
    +
    + {#media_dlg.advanced} + + + + + + + + + + + + + + + + + + + + + + + +
    + + + + + + + +
     
    +
    +
    + +
    + {#media_dlg.flash_options} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + + +
    + + + +
    + + + + + +
    +
    + + + + + +
    +
    + + + + + +
    +
    + + + + + +
    +
    + + + + + + + + + + + +
    +
    + +
    + {#media_dlg.flv_options} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + +
    + + + + + +
    +
    + + + + + +
    +
    + + + + + +
    +
    + + + + + +
    +
    + + + + + +
    +
    + + + + + +
    +
    +
    + +
    + {#media_dlg.qt_options} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + + + + +
    +
    + + + + + +
    +
    + + + + + +
    +
    + + + + + +
    +
    + + + + + +
    +
    + + + + + +
    +
    + + + + + +
    +
    + + + + + +
    +
    + + + + + +
    +
    + + + + + +
    +
    +  
    + + + + + +
     
    +
    +
    + +
    + {#media_dlg.wmp_options} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + + + + +
    +
    + + + + + +
    +
    + + + + + +
    +
    + + + + + +
    +
    + + + + + +
    +
    + + + + + +
    +
    + + + + + +
    +
    + + + + + +
    +
    +
    + +
    + {#media_dlg.rmp_options} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + + + + +
    +
    + + + + + +
    +
    + + + + + +
    +
    + + + + + +
    +
    + + + + + +
    +
    + + + + + +
    +
    + + + + + +
    +
    + + + + + +
    +
    + + + + + +
    +
    +   +
    +
    + +
    + {#media_dlg.shockwave_options} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + +
    + + + +
    + + + + + +
    +
    + + + + + +
    +
    + + + + + +
    +
    + + + + + +
    +
    +
    +
    +
    + +
    + + +
    +
    + + diff --git a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/paste/js/pastetext.js b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/paste/js/pastetext.js old mode 100644 new mode 100755 index c524f9eb03..81b1d6a01e --- a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/paste/js/pastetext.js +++ b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/paste/js/pastetext.js @@ -1,36 +1,36 @@ -tinyMCEPopup.requireLangPack(); - -var PasteTextDialog = { - init : function() { - this.resize(); - }, - - insert : function() { - var h = tinyMCEPopup.dom.encode(document.getElementById('content').value), lines; - - // Convert linebreaks into paragraphs - if (document.getElementById('linebreaks').checked) { - lines = h.split(/\r?\n/); - if (lines.length > 1) { - h = ''; - tinymce.each(lines, function(row) { - h += '

    ' + row + '

    '; - }); - } - } - - tinyMCEPopup.editor.execCommand('mceInsertClipboardContent', false, {content : h}); - tinyMCEPopup.close(); - }, - - resize : function() { - var vp = tinyMCEPopup.dom.getViewPort(window), el; - - el = document.getElementById('content'); - - el.style.width = (vp.w - 20) + 'px'; - el.style.height = (vp.h - 90) + 'px'; - } -}; - -tinyMCEPopup.onInit.add(PasteTextDialog.init, PasteTextDialog); +tinyMCEPopup.requireLangPack(); + +var PasteTextDialog = { + init : function() { + this.resize(); + }, + + insert : function() { + var h = tinyMCEPopup.dom.encode(document.getElementById('content').value), lines; + + // Convert linebreaks into paragraphs + if (document.getElementById('linebreaks').checked) { + lines = h.split(/\r?\n/); + if (lines.length > 1) { + h = ''; + tinymce.each(lines, function(row) { + h += '

    ' + row + '

    '; + }); + } + } + + tinyMCEPopup.editor.execCommand('mceInsertClipboardContent', false, {content : h}); + tinyMCEPopup.close(); + }, + + resize : function() { + var vp = tinyMCEPopup.dom.getViewPort(window), el; + + el = document.getElementById('content'); + + el.style.width = (vp.w - 20) + 'px'; + el.style.height = (vp.h - 90) + 'px'; + } +}; + +tinyMCEPopup.onInit.add(PasteTextDialog.init, PasteTextDialog); diff --git a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/paste/js/pasteword.js b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/paste/js/pasteword.js old mode 100644 new mode 100755 index a52731c368..959bf3992d --- a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/paste/js/pasteword.js +++ b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/paste/js/pasteword.js @@ -1,51 +1,51 @@ -tinyMCEPopup.requireLangPack(); - -var PasteWordDialog = { - init : function() { - var ed = tinyMCEPopup.editor, el = document.getElementById('iframecontainer'), ifr, doc, css, cssHTML = ''; - - // Create iframe - el.innerHTML = ''; - ifr = document.getElementById('iframe'); - doc = ifr.contentWindow.document; - - // Force absolute CSS urls - css = [ed.baseURI.toAbsolute("themes/" + ed.settings.theme + "/skins/" + ed.settings.skin + "/content.css")]; - css = css.concat(tinymce.explode(ed.settings.content_css) || []); - tinymce.each(css, function(u) { - cssHTML += ''; - }); - - // Write content into iframe - doc.open(); - doc.write('' + cssHTML + ''); - doc.close(); - - doc.designMode = 'on'; - this.resize(); - - window.setTimeout(function() { - ifr.contentWindow.focus(); - }, 10); - }, - - insert : function() { - var h = document.getElementById('iframe').contentWindow.document.body.innerHTML; - - tinyMCEPopup.editor.execCommand('mceInsertClipboardContent', false, {content : h, wordContent : true}); - tinyMCEPopup.close(); - }, - - resize : function() { - var vp = tinyMCEPopup.dom.getViewPort(window), el; - - el = document.getElementById('iframe'); - - if (el) { - el.style.width = (vp.w - 20) + 'px'; - el.style.height = (vp.h - 90) + 'px'; - } - } -}; - -tinyMCEPopup.onInit.add(PasteWordDialog.init, PasteWordDialog); +tinyMCEPopup.requireLangPack(); + +var PasteWordDialog = { + init : function() { + var ed = tinyMCEPopup.editor, el = document.getElementById('iframecontainer'), ifr, doc, css, cssHTML = ''; + + // Create iframe + el.innerHTML = ''; + ifr = document.getElementById('iframe'); + doc = ifr.contentWindow.document; + + // Force absolute CSS urls + css = [ed.baseURI.toAbsolute("themes/" + ed.settings.theme + "/skins/" + ed.settings.skin + "/content.css")]; + css = css.concat(tinymce.explode(ed.settings.content_css) || []); + tinymce.each(css, function(u) { + cssHTML += ''; + }); + + // Write content into iframe + doc.open(); + doc.write('' + cssHTML + ''); + doc.close(); + + doc.designMode = 'on'; + this.resize(); + + window.setTimeout(function() { + ifr.contentWindow.focus(); + }, 10); + }, + + insert : function() { + var h = document.getElementById('iframe').contentWindow.document.body.innerHTML; + + tinyMCEPopup.editor.execCommand('mceInsertClipboardContent', false, {content : h, wordContent : true}); + tinyMCEPopup.close(); + }, + + resize : function() { + var vp = tinyMCEPopup.dom.getViewPort(window), el; + + el = document.getElementById('iframe'); + + if (el) { + el.style.width = (vp.w - 20) + 'px'; + el.style.height = (vp.h - 90) + 'px'; + } + } +}; + +tinyMCEPopup.onInit.add(PasteWordDialog.init, PasteWordDialog); diff --git a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/paste/langs/bg_dlg.js b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/paste/langs/bg_dlg.js old mode 100644 new mode 100755 index e45991c696..937221178a --- a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/paste/langs/bg_dlg.js +++ b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/paste/langs/bg_dlg.js @@ -1,5 +1,5 @@ -tinyMCE.addI18n('bg.paste_dlg',{ -text_title:"\u0418\u0437\u043F\u043E\u043B\u0437\u0432\u0430\u0439\u0442\u0435 CTRL+V \u043D\u0430 \u043A\u043B\u0430\u0432\u0438\u0430\u0442\u0443\u0440\u0430\u0442\u0430 \u0437\u0430 \u0434\u0430 \u043F\u043E\u0441\u0442\u0430\u0432\u0438\u0442\u0435 \u0442\u0435\u043A\u0441\u0442\u0430 \u0432 \u043F\u0440\u043E\u0437\u043E\u0440\u0435\u0446\u0430.", -text_linebreaks:"\u0417\u0430\u043F\u0430\u0437\u0438 \u043D\u043E\u0432\u0438\u0442\u0435 \u0440\u0435\u0434\u043E\u0432\u0435", -word_title:"\u0418\u0437\u043F\u043E\u043B\u0437\u0432\u0430\u0439\u0442\u0435 CTRL+V \u043D\u0430 \u043A\u043B\u0430\u0432\u0438\u0430\u0442\u0443\u0440\u0430\u0442\u0430 \u0437\u0430 \u0434\u0430 \u043F\u043E\u0441\u0442\u0430\u0432\u0438\u0442\u0435 \u0442\u0435\u043A\u0441\u0442\u0430 \u0432 \u043F\u0440\u043E\u0437\u043E\u0440\u0435\u0446\u0430." +tinyMCE.addI18n('bg.paste_dlg',{ +text_title:"\u0418\u0437\u043F\u043E\u043B\u0437\u0432\u0430\u0439\u0442\u0435 CTRL+V \u043D\u0430 \u043A\u043B\u0430\u0432\u0438\u0430\u0442\u0443\u0440\u0430\u0442\u0430 \u0437\u0430 \u0434\u0430 \u043F\u043E\u0441\u0442\u0430\u0432\u0438\u0442\u0435 \u0442\u0435\u043A\u0441\u0442\u0430 \u0432 \u043F\u0440\u043E\u0437\u043E\u0440\u0435\u0446\u0430.", +text_linebreaks:"\u0417\u0430\u043F\u0430\u0437\u0438 \u043D\u043E\u0432\u0438\u0442\u0435 \u0440\u0435\u0434\u043E\u0432\u0435", +word_title:"\u0418\u0437\u043F\u043E\u043B\u0437\u0432\u0430\u0439\u0442\u0435 CTRL+V \u043D\u0430 \u043A\u043B\u0430\u0432\u0438\u0430\u0442\u0443\u0440\u0430\u0442\u0430 \u0437\u0430 \u0434\u0430 \u043F\u043E\u0441\u0442\u0430\u0432\u0438\u0442\u0435 \u0442\u0435\u043A\u0441\u0442\u0430 \u0432 \u043F\u0440\u043E\u0437\u043E\u0440\u0435\u0446\u0430." }); \ No newline at end of file diff --git a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/paste/langs/cs_dlg.js b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/paste/langs/cs_dlg.js old mode 100644 new mode 100755 index e87cc38faf..ee68cbeb31 --- a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/paste/langs/cs_dlg.js +++ b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/paste/langs/cs_dlg.js @@ -1,5 +1,5 @@ -tinyMCE.addI18n('cs.paste_dlg',{ -text_title:"Pou\u017Eijte CTRL+V pro vlo\u017Een\u00ED textu do okna.", -text_linebreaks:"Zachovat zalamov\u00E1n\u00ED \u0159\u00E1dk\u016F", -word_title:"Pou\u017Eijte CTRL+V pro vlo\u017Een\u00ED textu do okna." +tinyMCE.addI18n('cs.paste_dlg',{ +text_title:"Pou\u017Eijte CTRL+V pro vlo\u017Een\u00ED textu do okna.", +text_linebreaks:"Zachovat zalamov\u00E1n\u00ED \u0159\u00E1dk\u016F", +word_title:"Pou\u017Eijte CTRL+V pro vlo\u017Een\u00ED textu do okna." }); \ No newline at end of file diff --git a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/paste/langs/da_dlg.js b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/paste/langs/da_dlg.js old mode 100644 new mode 100755 index 22abfe4516..ba13fc0a39 --- a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/paste/langs/da_dlg.js +++ b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/paste/langs/da_dlg.js @@ -1,5 +1,5 @@ -tinyMCE.addI18n('da.paste_dlg',{ -text_title:"Anvend CTRL+V p\u00E5 tastaturet for at inds\u00E6tte teksten.", -text_linebreaks:"Bevar linieskift", -word_title:"Anvend CTRL+V p\u00E5 tastaturet for at inds\u00E6tte teksten." +tinyMCE.addI18n('da.paste_dlg',{ +text_title:"Anvend CTRL+V p\u00E5 tastaturet for at inds\u00E6tte teksten.", +text_linebreaks:"Bevar linieskift", +word_title:"Anvend CTRL+V p\u00E5 tastaturet for at inds\u00E6tte teksten." }); \ No newline at end of file diff --git a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/paste/langs/de_dlg.js b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/paste/langs/de_dlg.js old mode 100644 new mode 100755 index 5a3f5e8c60..ab0bd6b7b0 --- a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/paste/langs/de_dlg.js +++ b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/paste/langs/de_dlg.js @@ -1,5 +1,5 @@ -tinyMCE.addI18n('de.paste_dlg',{ -text_title:"Dr\u00FCcken Sie auf Ihrer Tastatur Strg+V, um den Text einzuf\u00FCgen.", -text_linebreaks:"Zeilenumbr\u00FCche beibehalten", -word_title:"Dr\u00FCcken Sie auf Ihrer Tastatur Strg+V, um den Text einzuf\u00FCgen." +tinyMCE.addI18n('de.paste_dlg',{ +text_title:"Dr\u00FCcken Sie auf Ihrer Tastatur Strg+V, um den Text einzuf\u00FCgen.", +text_linebreaks:"Zeilenumbr\u00FCche beibehalten", +word_title:"Dr\u00FCcken Sie auf Ihrer Tastatur Strg+V, um den Text einzuf\u00FCgen." }); \ No newline at end of file diff --git a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/paste/langs/en_dlg.js b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/paste/langs/en_dlg.js old mode 100644 new mode 100755 index eeac778960..823eb16a75 --- a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/paste/langs/en_dlg.js +++ b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/paste/langs/en_dlg.js @@ -1,5 +1,5 @@ -tinyMCE.addI18n('en.paste_dlg',{ -text_title:"Use CTRL+V on your keyboard to paste the text into the window.", -text_linebreaks:"Keep linebreaks", -word_title:"Use CTRL+V on your keyboard to paste the text into the window." +tinyMCE.addI18n('en.paste_dlg',{ +text_title:"Use CTRL+V on your keyboard to paste the text into the window.", +text_linebreaks:"Keep linebreaks", +word_title:"Use CTRL+V on your keyboard to paste the text into the window." }); \ No newline at end of file diff --git a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/paste/langs/es_dlg.js b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/paste/langs/es_dlg.js old mode 100644 new mode 100755 index d5edb6912e..c2f4c797e4 --- a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/paste/langs/es_dlg.js +++ b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/paste/langs/es_dlg.js @@ -1,5 +1,5 @@ -tinyMCE.addI18n('es.paste_dlg',{ -text_title:"Use CTRL+V en su teclado para pegar el texto en la ventana.", -text_linebreaks:"Keep linebreaks", -word_title:"Use CTRL+V en su teclado para pegar el texto en la ventana." +tinyMCE.addI18n('es.paste_dlg',{ +text_title:"Use CTRL+V en su teclado para pegar el texto en la ventana.", +text_linebreaks:"Keep linebreaks", +word_title:"Use CTRL+V en su teclado para pegar el texto en la ventana." }); \ No newline at end of file diff --git a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/paste/langs/fa_dlg.js b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/paste/langs/fa_dlg.js old mode 100644 new mode 100755 index ced6c9b4b6..ed76e845f6 --- a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/paste/langs/fa_dlg.js +++ b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/paste/langs/fa_dlg.js @@ -1,5 +1,5 @@ -tinyMCE.addI18n('fa.paste_dlg',{ -text_title:"\u062C\u0647\u062A \u0686\u0633\u0628\u0627\u0646\u062F\u0646 \u0645\u062A\u0646 \u062F\u0631 \u067E\u0646\u062C\u0631\u0647 \u0627\u0632 CTRL+V \u0628\u0631 \u0631\u0648\u06CC \u0635\u0641\u062D\u0647 \u06A9\u0644\u06CC\u062F \u062E\u0648\u062F \u0627\u0633\u062A\u0641\u0627\u062F\u0647 \u0646\u0645\u0627\u0626\u06CC\u062F.", -text_linebreaks:"\u062D\u0641\u0638 \u0642\u0637\u0639 \u062E\u0637\u0648\u0637", -word_title:"\u062C\u0647\u062A \u0686\u0633\u0628\u0627\u0646\u062F\u0646 \u0645\u062A\u0646 \u062F\u0631 \u067E\u0646\u062C\u0631\u0647 \u0627\u0632 CTRL+V \u0628\u0631 \u0631\u0648\u06CC \u0635\u0641\u062D\u0647 \u06A9\u0644\u06CC\u062F \u062E\u0648\u062F \u0627\u0633\u062A\u0641\u0627\u062F\u0647 \u0646\u0645\u0627\u0626\u06CC\u062F." +tinyMCE.addI18n('fa.paste_dlg',{ +text_title:"\u062C\u0647\u062A \u0686\u0633\u0628\u0627\u0646\u062F\u0646 \u0645\u062A\u0646 \u062F\u0631 \u067E\u0646\u062C\u0631\u0647 \u0627\u0632 CTRL+V \u0628\u0631 \u0631\u0648\u06CC \u0635\u0641\u062D\u0647 \u06A9\u0644\u06CC\u062F \u062E\u0648\u062F \u0627\u0633\u062A\u0641\u0627\u062F\u0647 \u0646\u0645\u0627\u0626\u06CC\u062F.", +text_linebreaks:"\u062D\u0641\u0638 \u0642\u0637\u0639 \u062E\u0637\u0648\u0637", +word_title:"\u062C\u0647\u062A \u0686\u0633\u0628\u0627\u0646\u062F\u0646 \u0645\u062A\u0646 \u062F\u0631 \u067E\u0646\u062C\u0631\u0647 \u0627\u0632 CTRL+V \u0628\u0631 \u0631\u0648\u06CC \u0635\u0641\u062D\u0647 \u06A9\u0644\u06CC\u062F \u062E\u0648\u062F \u0627\u0633\u062A\u0641\u0627\u062F\u0647 \u0646\u0645\u0627\u0626\u06CC\u062F." }); \ No newline at end of file diff --git a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/paste/langs/fi_dlg.js b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/paste/langs/fi_dlg.js old mode 100644 new mode 100755 index e8cde9598c..f19d85f06a --- a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/paste/langs/fi_dlg.js +++ b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/paste/langs/fi_dlg.js @@ -1,5 +1,5 @@ -tinyMCE.addI18n('fi.paste_dlg',{ -text_title:"Paina CTRL+V liitt\u00E4\u00E4ksesi sis\u00E4ll\u00F6n ikkunaan.", -text_linebreaks:"S\u00E4ilyt\u00E4 rivinvaihdot", -word_title:"Paina CTRL+V liitt\u00E4\u00E4ksesi sis\u00E4ll\u00F6n ikkunaan." +tinyMCE.addI18n('fi.paste_dlg',{ +text_title:"Paina CTRL+V liitt\u00E4\u00E4ksesi sis\u00E4ll\u00F6n ikkunaan.", +text_linebreaks:"S\u00E4ilyt\u00E4 rivinvaihdot", +word_title:"Paina CTRL+V liitt\u00E4\u00E4ksesi sis\u00E4ll\u00F6n ikkunaan." }); \ No newline at end of file diff --git a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/paste/langs/fr_dlg.js b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/paste/langs/fr_dlg.js old mode 100644 new mode 100755 index c4d43ea1fb..844bb49fc6 --- a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/paste/langs/fr_dlg.js +++ b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/paste/langs/fr_dlg.js @@ -1,5 +1,5 @@ -tinyMCE.addI18n('fr.paste_dlg',{ -text_title:"Utilisez CTRL+V sur votre clavier pour coller le texte dans la fen\u00EAtre.", -text_linebreaks:"Conserver les retours \u00E0 la ligne", -word_title:"Utilisez CTRL+V sur votre clavier pour coller le texte dans la fen\u00EAtre." +tinyMCE.addI18n('fr.paste_dlg',{ +text_title:"Utilisez CTRL+V sur votre clavier pour coller le texte dans la fen\u00EAtre.", +text_linebreaks:"Conserver les retours \u00E0 la ligne", +word_title:"Utilisez CTRL+V sur votre clavier pour coller le texte dans la fen\u00EAtre." }); \ No newline at end of file diff --git a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/paste/langs/he_dlg.js b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/paste/langs/he_dlg.js old mode 100644 new mode 100755 index 6465ddedfe..7be8aa437d --- a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/paste/langs/he_dlg.js +++ b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/paste/langs/he_dlg.js @@ -1,5 +1,5 @@ -tinyMCE.addI18n('he.paste_dlg',{ -text_title:"\u05D4\u05D3\u05D1\u05D9\u05E7\u05D5 \u05D1\u05D7\u05DC\u05D5\u05DF \u05D6\u05D4 \u05D0\u05EA \u05D4\u05D8\u05E7\u05E1\u05D8 \u05D1\u05D0\u05DE\u05E6\u05E2\u05D5\u05EA \u05D4\u05DE\u05E7\u05E9\u05D9\u05DD CTRL+V.", -text_linebreaks:"\u05D4\u05E9\u05D0\u05E8 \u05D0\u05EA \u05E9\u05D5\u05E8\u05D5\u05EA \u05D4\u05E8\u05D5\u05D5\u05D7", -word_title:"\u05D4\u05D3\u05D1\u05D9\u05E7\u05D5 \u05D1\u05D7\u05DC\u05D5\u05DF \u05D6\u05D4 \u05D0\u05EA \u05D4\u05D8\u05E7\u05E1\u05D8 \u05D1\u05D0\u05DE\u05E6\u05E2\u05D5\u05EA \u05D4\u05DE\u05E7\u05E9\u05D9\u05DD CTRL+V." +tinyMCE.addI18n('he.paste_dlg',{ +text_title:"\u05D4\u05D3\u05D1\u05D9\u05E7\u05D5 \u05D1\u05D7\u05DC\u05D5\u05DF \u05D6\u05D4 \u05D0\u05EA \u05D4\u05D8\u05E7\u05E1\u05D8 \u05D1\u05D0\u05DE\u05E6\u05E2\u05D5\u05EA \u05D4\u05DE\u05E7\u05E9\u05D9\u05DD CTRL+V.", +text_linebreaks:"\u05D4\u05E9\u05D0\u05E8 \u05D0\u05EA \u05E9\u05D5\u05E8\u05D5\u05EA \u05D4\u05E8\u05D5\u05D5\u05D7", +word_title:"\u05D4\u05D3\u05D1\u05D9\u05E7\u05D5 \u05D1\u05D7\u05DC\u05D5\u05DF \u05D6\u05D4 \u05D0\u05EA \u05D4\u05D8\u05E7\u05E1\u05D8 \u05D1\u05D0\u05DE\u05E6\u05E2\u05D5\u05EA \u05D4\u05DE\u05E7\u05E9\u05D9\u05DD CTRL+V." }); \ No newline at end of file diff --git a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/paste/langs/it_dlg.js b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/paste/langs/it_dlg.js old mode 100644 new mode 100755 index 98543942af..b7875a1845 --- a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/paste/langs/it_dlg.js +++ b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/paste/langs/it_dlg.js @@ -1,5 +1,5 @@ -tinyMCE.addI18n('it.paste_dlg',{ -text_title:"Premere CTRL+V sulla tastiera per incollare il testo nella finestra.", -text_linebreaks:"Mantieni interruzioni di riga", -word_title:"Premere CTRL+V sulla tastiera per incollare il testo nella finestra." +tinyMCE.addI18n('it.paste_dlg',{ +text_title:"Premere CTRL+V sulla tastiera per incollare il testo nella finestra.", +text_linebreaks:"Mantieni interruzioni di riga", +word_title:"Premere CTRL+V sulla tastiera per incollare il testo nella finestra." }); \ No newline at end of file diff --git a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/paste/langs/ja_dlg.js b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/paste/langs/ja_dlg.js old mode 100644 new mode 100755 index e233cde76f..b5d818ca65 --- a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/paste/langs/ja_dlg.js +++ b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/paste/langs/ja_dlg.js @@ -1,5 +1,5 @@ -tinyMCE.addI18n('ja.paste_dlg',{ -text_title:"\u30AD\u30FC\u30DC\u30FC\u30C9\u3067CTRL+V\u3092\u62BC\u3057\u3066\u30C6\u30AD\u30B9\u30C8\u3092\u8CBC\u308A\u4ED8\u3051\u3066\u304F\u3060\u3055\u3044\u3002", -text_linebreaks:"\u6539\u884C\u3092\u4FDD\u6301\u3059\u308B", -word_title:"\u30AD\u30FC\u30DC\u30FC\u30C9\u3067CTRL+V\u3092\u62BC\u3057\u3066\u30C6\u30AD\u30B9\u30C8\u3092\u8CBC\u308A\u4ED8\u3051\u3066\u304F\u3060\u3055\u3044\u3002" +tinyMCE.addI18n('ja.paste_dlg',{ +text_title:"\u30AD\u30FC\u30DC\u30FC\u30C9\u3067CTRL+V\u3092\u62BC\u3057\u3066\u30C6\u30AD\u30B9\u30C8\u3092\u8CBC\u308A\u4ED8\u3051\u3066\u304F\u3060\u3055\u3044\u3002", +text_linebreaks:"\u6539\u884C\u3092\u4FDD\u6301\u3059\u308B", +word_title:"\u30AD\u30FC\u30DC\u30FC\u30C9\u3067CTRL+V\u3092\u62BC\u3057\u3066\u30C6\u30AD\u30B9\u30C8\u3092\u8CBC\u308A\u4ED8\u3051\u3066\u304F\u3060\u3055\u3044\u3002" }); \ No newline at end of file diff --git a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/paste/langs/nl_dlg.js b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/paste/langs/nl_dlg.js old mode 100644 new mode 100755 index 99e604fe5b..d48e0b8082 --- a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/paste/langs/nl_dlg.js +++ b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/paste/langs/nl_dlg.js @@ -1,5 +1,5 @@ -tinyMCE.addI18n('nl.paste_dlg',{ -text_title:"Gebruik Ctrl+V om tekst in het venster te plakken.", -text_linebreaks:"Regelafbreking bewaren", -word_title:"Gebruik Ctrl+V om tekst in het venster te plakken." +tinyMCE.addI18n('nl.paste_dlg',{ +text_title:"Gebruik Ctrl+V om tekst in het venster te plakken.", +text_linebreaks:"Regelafbreking bewaren", +word_title:"Gebruik Ctrl+V om tekst in het venster te plakken." }); \ No newline at end of file diff --git a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/paste/langs/nn_dlg.js b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/paste/langs/nn_dlg.js old mode 100644 new mode 100755 index 2231de3058..ce65b83e38 --- a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/paste/langs/nn_dlg.js +++ b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/paste/langs/nn_dlg.js @@ -1,5 +1,5 @@ -tinyMCE.addI18n('nn.paste_dlg',{ -text_title:"Bruk CTRL+V p\u00E5 tastaturet for \u00E5 lime inn i dette vindauget.", -text_linebreaks:"Behald tekstbryting", -word_title:"Bruk CTRL+V p\u00E5 tastaturet for \u00E5 lime inn i dette vindauget." +tinyMCE.addI18n('nn.paste_dlg',{ +text_title:"Bruk CTRL+V p\u00E5 tastaturet for \u00E5 lime inn i dette vindauget.", +text_linebreaks:"Behald tekstbryting", +word_title:"Bruk CTRL+V p\u00E5 tastaturet for \u00E5 lime inn i dette vindauget." }); \ No newline at end of file diff --git a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/paste/langs/pl_dlg.js b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/paste/langs/pl_dlg.js old mode 100644 new mode 100755 index 110be659d6..be0a6404a2 --- a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/paste/langs/pl_dlg.js +++ b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/paste/langs/pl_dlg.js @@ -1,5 +1,5 @@ -tinyMCE.addI18n('pl.paste_dlg',{ -text_title:"U\u017Cyj CTRL+V na swojej klawiaturze \u017Ceby wklei\u0107 tekst do okna.", -text_linebreaks:"Zachowaj ko\u0144ce linii.", -word_title:"U\u017Cyj CTRL+V na swojej klawiaturze \u017Ceby wklei\u0107 tekst do okna." +tinyMCE.addI18n('pl.paste_dlg',{ +text_title:"U\u017Cyj CTRL+V na swojej klawiaturze \u017Ceby wklei\u0107 tekst do okna.", +text_linebreaks:"Zachowaj ko\u0144ce linii.", +word_title:"U\u017Cyj CTRL+V na swojej klawiaturze \u017Ceby wklei\u0107 tekst do okna." }); \ No newline at end of file diff --git a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/paste/langs/pt_dlg.js b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/paste/langs/pt_dlg.js old mode 100644 new mode 100755 index db361f3a5c..4bbab9bd3a --- a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/paste/langs/pt_dlg.js +++ b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/paste/langs/pt_dlg.js @@ -1,5 +1,5 @@ -tinyMCE.addI18n('pt.paste_dlg',{ -text_title:"Use CTRL+V para colar o texto na janela.", -text_linebreaks:"Manter quebras de linha", -word_title:"Use CTRL+V para colar o texto na janela." +tinyMCE.addI18n('pt.paste_dlg',{ +text_title:"Use CTRL+V para colar o texto na janela.", +text_linebreaks:"Manter quebras de linha", +word_title:"Use CTRL+V para colar o texto na janela." }); \ No newline at end of file diff --git a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/paste/langs/ru_dlg.js b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/paste/langs/ru_dlg.js old mode 100644 new mode 100755 index 91f4a40130..68ebeba2ea --- a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/paste/langs/ru_dlg.js +++ b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/paste/langs/ru_dlg.js @@ -1,5 +1,5 @@ -tinyMCE.addI18n('ru.paste_dlg',{ -text_title:"\u0418\u0441\u043F\u043E\u043B\u044C\u0437\u0443\u0439\u0442\u0435 CTRL+V \u0434\u043B\u044F \u0432\u0441\u0442\u0430\u0432\u043A\u0438 \u0442\u0435\u043A\u0441\u0442\u0430 \u0432 \u043E\u043A\u043D\u043E.", -text_linebreaks:"\u0421\u043E\u0445\u0440\u0430\u043D\u0438\u0442\u044C \u043F\u0435\u0440\u0435\u043D\u043E\u0441\u044B \u0441\u0442\u0440\u043E\u043A", -word_title:"\u0418\u0441\u043F\u043E\u043B\u044C\u0437\u0443\u0439\u0442\u0435 CTRL+V \u0434\u043B\u044F \u0432\u0441\u0442\u0430\u0432\u043A\u0438 \u0442\u0435\u043A\u0441\u0442\u0430 \u0432 \u043E\u043A\u043D\u043E." +tinyMCE.addI18n('ru.paste_dlg',{ +text_title:"\u0418\u0441\u043F\u043E\u043B\u044C\u0437\u0443\u0439\u0442\u0435 CTRL+V \u0434\u043B\u044F \u0432\u0441\u0442\u0430\u0432\u043A\u0438 \u0442\u0435\u043A\u0441\u0442\u0430 \u0432 \u043E\u043A\u043D\u043E.", +text_linebreaks:"\u0421\u043E\u0445\u0440\u0430\u043D\u0438\u0442\u044C \u043F\u0435\u0440\u0435\u043D\u043E\u0441\u044B \u0441\u0442\u0440\u043E\u043A", +word_title:"\u0418\u0441\u043F\u043E\u043B\u044C\u0437\u0443\u0439\u0442\u0435 CTRL+V \u0434\u043B\u044F \u0432\u0441\u0442\u0430\u0432\u043A\u0438 \u0442\u0435\u043A\u0441\u0442\u0430 \u0432 \u043E\u043A\u043D\u043E." }); \ No newline at end of file diff --git a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/paste/langs/sv_dlg.js b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/paste/langs/sv_dlg.js old mode 100644 new mode 100755 index 4cea4b221f..d32ba3f19d --- a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/paste/langs/sv_dlg.js +++ b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/paste/langs/sv_dlg.js @@ -1,5 +1,5 @@ -tinyMCE.addI18n('sv.paste_dlg',{ -text_title:"Anv\u00E4nd ctrl-v p\u00E5 ditt tangentbord f\u00F6r att klistra in i detta f\u00F6nster.", -text_linebreaks:"Spara radbrytningar", -word_title:"Anv\u00E4nd ctrl-v p\u00E5 ditt tangentbord f\u00F6r att klistra in i detta f\u00F6nster." +tinyMCE.addI18n('sv.paste_dlg',{ +text_title:"Anv\u00E4nd ctrl-v p\u00E5 ditt tangentbord f\u00F6r att klistra in i detta f\u00F6nster.", +text_linebreaks:"Spara radbrytningar", +word_title:"Anv\u00E4nd ctrl-v p\u00E5 ditt tangentbord f\u00F6r att klistra in i detta f\u00F6nster." }); \ No newline at end of file diff --git a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/paste/langs/zh_dlg.js b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/paste/langs/zh_dlg.js old mode 100644 new mode 100755 index 1fdc593139..7da3d6fdcd --- a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/paste/langs/zh_dlg.js +++ b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/paste/langs/zh_dlg.js @@ -1,5 +1,5 @@ -tinyMCE.addI18n('zh.paste_dlg',{ -text_title:"\u7528 Ctrl+V \u5C07\u5167\u5BB9\u8CBC\u4E0A\u3002", -text_linebreaks:"\u4FDD\u7559\u5206\u884C\u7B26\u865F", -word_title:"\u7528 Ctrl+V \u5C07\u5167\u5BB9\u8CBC\u4E0A\u3002" +tinyMCE.addI18n('zh.paste_dlg',{ +text_title:"\u7528 Ctrl+V \u5C07\u5167\u5BB9\u8CBC\u4E0A\u3002", +text_linebreaks:"\u4FDD\u7559\u5206\u884C\u7B26\u865F", +word_title:"\u7528 Ctrl+V \u5C07\u5167\u5BB9\u8CBC\u4E0A\u3002" }); \ No newline at end of file diff --git a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/paste/pastetext.htm b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/paste/pastetext.htm old mode 100644 new mode 100755 index b655945476..8ccfbb970f --- a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/paste/pastetext.htm +++ b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/paste/pastetext.htm @@ -1,27 +1,27 @@ - - - {#paste.paste_text_desc} - - - - -
    -
    {#paste.paste_text_desc}
    - -
    - -
    - -
    - -
    {#paste_dlg.text_title}
    - - - -
    - - -
    -
    - + + + {#paste.paste_text_desc} + + + + +
    +
    {#paste.paste_text_desc}
    + +
    + +
    + +
    + +
    {#paste_dlg.text_title}
    + + + +
    + + +
    +
    + \ No newline at end of file diff --git a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/paste/pasteword.htm b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/paste/pasteword.htm old mode 100644 new mode 100755 index 0f6bb41210..7731f39c48 --- a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/paste/pasteword.htm +++ b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/paste/pasteword.htm @@ -1,21 +1,21 @@ - - - {#paste.paste_word_desc} - - - - -
    -
    {#paste.paste_word_desc}
    - -
    {#paste_dlg.word_title}
    - -
    - -
    - - -
    -
    - - + + + {#paste.paste_word_desc} + + + + +
    +
    {#paste.paste_word_desc}
    + +
    {#paste_dlg.word_title}
    + +
    + +
    + + +
    +
    + + diff --git a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/preview/example.html b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/preview/example.html old mode 100644 new mode 100755 index b2c3d90ce0..48202224dd --- a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/preview/example.html +++ b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/preview/example.html @@ -1,28 +1,28 @@ - - - - - -Example of a custom preview page - - - -Editor contents:
    -
    - -
    - - - + + + + + +Example of a custom preview page + + + +Editor contents:
    +
    + +
    + + + diff --git a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/preview/jscripts/embed.js b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/preview/jscripts/embed.js old mode 100644 new mode 100755 index f8dc810527..6fe25de090 --- a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/preview/jscripts/embed.js +++ b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/preview/jscripts/embed.js @@ -1,73 +1,73 @@ -/** - * This script contains embed functions for common plugins. This scripts are complety free to use for any purpose. - */ - -function writeFlash(p) { - writeEmbed( - 'D27CDB6E-AE6D-11cf-96B8-444553540000', - 'http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0', - 'application/x-shockwave-flash', - p - ); -} - -function writeShockWave(p) { - writeEmbed( - '166B1BCA-3F9C-11CF-8075-444553540000', - 'http://download.macromedia.com/pub/shockwave/cabs/director/sw.cab#version=8,5,1,0', - 'application/x-director', - p - ); -} - -function writeQuickTime(p) { - writeEmbed( - '02BF25D5-8C17-4B23-BC80-D3488ABDDC6B', - 'http://www.apple.com/qtactivex/qtplugin.cab#version=6,0,2,0', - 'video/quicktime', - p - ); -} - -function writeRealMedia(p) { - writeEmbed( - 'CFCDAA03-8BE4-11cf-B84B-0020AFBBCCFA', - 'http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0', - 'audio/x-pn-realaudio-plugin', - p - ); -} - -function writeWindowsMedia(p) { - p.url = p.src; - writeEmbed( - '6BF52A52-394A-11D3-B153-00C04F79FAA6', - 'http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=5,1,52,701', - 'application/x-mplayer2', - p - ); -} - -function writeEmbed(cls, cb, mt, p) { - var h = '', n; - - h += ''; - - h += ''; + + h += ' - - - - - -{#preview.preview_desc} - - - - - + + + + + + +{#preview.preview_desc} + + + + + diff --git a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/searchreplace/css/searchreplace.css b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/searchreplace/css/searchreplace.css old mode 100644 new mode 100755 index ecdf58c7b5..3e2eaf34b3 --- a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/searchreplace/css/searchreplace.css +++ b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/searchreplace/css/searchreplace.css @@ -1,6 +1,6 @@ -.panel_wrapper {height:85px;} -.panel_wrapper div.current {height:85px;} - -/* IE */ -* html .panel_wrapper {height:100px;} -* html .panel_wrapper div.current {height:100px;} +.panel_wrapper {height:85px;} +.panel_wrapper div.current {height:85px;} + +/* IE */ +* html .panel_wrapper {height:100px;} +* html .panel_wrapper div.current {height:100px;} diff --git a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/searchreplace/js/searchreplace.js b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/searchreplace/js/searchreplace.js old mode 100644 new mode 100755 index 0137ba0fdd..9571633232 --- a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/searchreplace/js/searchreplace.js +++ b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/searchreplace/js/searchreplace.js @@ -1,138 +1,138 @@ -tinyMCEPopup.requireLangPack(); - -var SearchReplaceDialog = { - init : function(ed) { - var f = document.forms[0], m = tinyMCEPopup.getWindowArg("mode"); - - this.switchMode(m); - - f[m + '_panel_searchstring'].value = tinyMCEPopup.getWindowArg("search_string"); - - // Focus input field - f[m + '_panel_searchstring'].focus(); - }, - - switchMode : function(m) { - var f, lm = this.lastMode; - - if (lm != m) { - f = document.forms[0]; - - if (lm) { - f[m + '_panel_searchstring'].value = f[lm + '_panel_searchstring'].value; - f[m + '_panel_backwardsu'].checked = f[lm + '_panel_backwardsu'].checked; - f[m + '_panel_backwardsd'].checked = f[lm + '_panel_backwardsd'].checked; - f[m + '_panel_casesensitivebox'].checked = f[lm + '_panel_casesensitivebox'].checked; - } - - mcTabs.displayTab(m + '_tab', m + '_panel'); - document.getElementById("replaceBtn").style.display = (m == "replace") ? "inline" : "none"; - document.getElementById("replaceAllBtn").style.display = (m == "replace") ? "inline" : "none"; - this.lastMode = m; - } - }, - - searchNext : function(a) { - var ed = tinyMCEPopup.editor, se = ed.selection, r = se.getRng(), f, m = this.lastMode, s, b, fl = 0, w = ed.getWin(), wm = ed.windowManager, fo = 0; - - // Get input - f = document.forms[0]; - s = f[m + '_panel_searchstring'].value; - b = f[m + '_panel_backwardsu'].checked; - ca = f[m + '_panel_casesensitivebox'].checked; - rs = f['replace_panel_replacestring'].value; - - if (tinymce.isIE) { - r = ed.getDoc().selection.createRange(); - } - - if (s == '') - return; - - function fix() { - // Correct Firefox graphics glitches - r = se.getRng().cloneRange(); - ed.getDoc().execCommand('SelectAll', false, null); - se.setRng(r); - }; - - function replace() { - if (tinymce.isIE) - ed.selection.getRng().duplicate().pasteHTML(rs); // Needs to be duplicated due to selection bug in IE - else - ed.getDoc().execCommand('InsertHTML', false, rs); - }; - - // IE flags - if (ca) - fl = fl | 4; - - switch (a) { - case 'all': - // Move caret to beginning of text - ed.execCommand('SelectAll'); - ed.selection.collapse(true); - - if (tinymce.isIE) { - while (r.findText(s, b ? -1 : 1, fl)) { - r.scrollIntoView(); - r.select(); - replace(); - fo = 1; - - if (b) { - r.moveEnd("character", -(rs.length)); // Otherwise will loop forever - } - } - - tinyMCEPopup.storeSelection(); - } else { - while (w.find(s, ca, b, false, false, false, false)) { - replace(); - fo = 1; - } - } - - if (fo) - tinyMCEPopup.alert(ed.getLang('searchreplace_dlg.allreplaced')); - else - tinyMCEPopup.alert(ed.getLang('searchreplace_dlg.notfound')); - - return; - - case 'current': - if (!ed.selection.isCollapsed()) - replace(); - - break; - } - - se.collapse(b); - r = se.getRng(); - - if (tinymce.isIE) { - r = ed.getDoc().selection.createRange(); - } - - // Whats the point - if (!s) - return; - - if (tinymce.isIE) { - if (r.findText(s, b ? -1 : 1, fl)) { - r.scrollIntoView(); - r.select(); - } else - tinyMCEPopup.alert(ed.getLang('searchreplace_dlg.notfound')); - - tinyMCEPopup.storeSelection(); - } else { - if (!w.find(s, ca, b, false, false, false, false)) - tinyMCEPopup.alert(ed.getLang('searchreplace_dlg.notfound')); - else - fix(); - } - } -}; - -tinyMCEPopup.onInit.add(SearchReplaceDialog.init, SearchReplaceDialog); +tinyMCEPopup.requireLangPack(); + +var SearchReplaceDialog = { + init : function(ed) { + var f = document.forms[0], m = tinyMCEPopup.getWindowArg("mode"); + + this.switchMode(m); + + f[m + '_panel_searchstring'].value = tinyMCEPopup.getWindowArg("search_string"); + + // Focus input field + f[m + '_panel_searchstring'].focus(); + }, + + switchMode : function(m) { + var f, lm = this.lastMode; + + if (lm != m) { + f = document.forms[0]; + + if (lm) { + f[m + '_panel_searchstring'].value = f[lm + '_panel_searchstring'].value; + f[m + '_panel_backwardsu'].checked = f[lm + '_panel_backwardsu'].checked; + f[m + '_panel_backwardsd'].checked = f[lm + '_panel_backwardsd'].checked; + f[m + '_panel_casesensitivebox'].checked = f[lm + '_panel_casesensitivebox'].checked; + } + + mcTabs.displayTab(m + '_tab', m + '_panel'); + document.getElementById("replaceBtn").style.display = (m == "replace") ? "inline" : "none"; + document.getElementById("replaceAllBtn").style.display = (m == "replace") ? "inline" : "none"; + this.lastMode = m; + } + }, + + searchNext : function(a) { + var ed = tinyMCEPopup.editor, se = ed.selection, r = se.getRng(), f, m = this.lastMode, s, b, fl = 0, w = ed.getWin(), wm = ed.windowManager, fo = 0; + + // Get input + f = document.forms[0]; + s = f[m + '_panel_searchstring'].value; + b = f[m + '_panel_backwardsu'].checked; + ca = f[m + '_panel_casesensitivebox'].checked; + rs = f['replace_panel_replacestring'].value; + + if (tinymce.isIE) { + r = ed.getDoc().selection.createRange(); + } + + if (s == '') + return; + + function fix() { + // Correct Firefox graphics glitches + r = se.getRng().cloneRange(); + ed.getDoc().execCommand('SelectAll', false, null); + se.setRng(r); + }; + + function replace() { + if (tinymce.isIE) + ed.selection.getRng().duplicate().pasteHTML(rs); // Needs to be duplicated due to selection bug in IE + else + ed.getDoc().execCommand('InsertHTML', false, rs); + }; + + // IE flags + if (ca) + fl = fl | 4; + + switch (a) { + case 'all': + // Move caret to beginning of text + ed.execCommand('SelectAll'); + ed.selection.collapse(true); + + if (tinymce.isIE) { + while (r.findText(s, b ? -1 : 1, fl)) { + r.scrollIntoView(); + r.select(); + replace(); + fo = 1; + + if (b) { + r.moveEnd("character", -(rs.length)); // Otherwise will loop forever + } + } + + tinyMCEPopup.storeSelection(); + } else { + while (w.find(s, ca, b, false, false, false, false)) { + replace(); + fo = 1; + } + } + + if (fo) + tinyMCEPopup.alert(ed.getLang('searchreplace_dlg.allreplaced')); + else + tinyMCEPopup.alert(ed.getLang('searchreplace_dlg.notfound')); + + return; + + case 'current': + if (!ed.selection.isCollapsed()) + replace(); + + break; + } + + se.collapse(b); + r = se.getRng(); + + if (tinymce.isIE) { + r = ed.getDoc().selection.createRange(); + } + + // Whats the point + if (!s) + return; + + if (tinymce.isIE) { + if (r.findText(s, b ? -1 : 1, fl)) { + r.scrollIntoView(); + r.select(); + } else + tinyMCEPopup.alert(ed.getLang('searchreplace_dlg.notfound')); + + tinyMCEPopup.storeSelection(); + } else { + if (!w.find(s, ca, b, false, false, false, false)) + tinyMCEPopup.alert(ed.getLang('searchreplace_dlg.notfound')); + else + fix(); + } + } +}; + +tinyMCEPopup.onInit.add(SearchReplaceDialog.init, SearchReplaceDialog); diff --git a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/searchreplace/langs/bg_dlg.js b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/searchreplace/langs/bg_dlg.js old mode 100644 new mode 100755 index 7347d3340d..8d08e686a2 --- a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/searchreplace/langs/bg_dlg.js +++ b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/searchreplace/langs/bg_dlg.js @@ -1,16 +1,16 @@ -tinyMCE.addI18n('bg.searchreplace_dlg',{ -searchnext_desc:"\u0422\u044A\u0440\u0441\u0438 \u043E\u0442\u043D\u043E\u0432\u043E", -notfound:"\u0422\u044A\u0440\u0441\u0435\u043D\u0435\u0442\u043E \u0437\u0430\u0432\u044A\u0440\u0448\u0438. \u0422\u044A\u0440\u0441\u0435\u043D\u0438\u0442\u0435 \u0434\u0443\u043C\u0438 \u043D\u0435 \u0431\u044F\u0445\u0430 \u043E\u0442\u043A\u0440\u0438\u0442\u0438.", -search_title:"\u0422\u044A\u0440\u0441\u0438", -replace_title:"\u0422\u044A\u0440\u0441\u0438/\u0417\u0430\u043C\u0435\u0441\u0442\u0438", -allreplaced:"\u0412\u0441\u0438\u0447\u043A\u0438 \u043D\u0430\u043C\u0435\u0440\u0435\u043D\u0438 \u0434\u0443\u043C\u0438 \u0431\u044F\u0445\u0430 \u0437\u0430\u043C\u0435\u0441\u0442\u0435\u043D\u0438.", -findwhat:"\u0422\u044A\u0440\u0441\u0438", -replacewith:"\u0417\u0430\u043C\u0435\u0441\u0442\u0438 \u0441", -direction:"\u041F\u043E\u0441\u043E\u043A\u0430", -up:"\u041D\u0430\u0433\u043E\u0440\u0435", -down:"\u041D\u0430\u0434\u043E\u043B\u0443", -mcase:"\u0421\u044A\u0432\u043F\u0430\u0434\u0435\u043D\u0438\u0435 \u043D\u0430 \u0440\u0435\u0433\u0438\u0441\u0442\u044A\u0440\u0430", -findnext:"\u0422\u044A\u0440\u0441\u0438 \u0441\u043B\u0435\u0434\u0432\u0430\u0449\u0438", -replace:"\u0417\u0430\u043C\u0435\u0441\u0442\u0438", -replaceall:"\u0417\u0430\u043C\u0435\u0441\u0442\u0438 \u0432\u0441\u0438\u0447\u043A\u0438" +tinyMCE.addI18n('bg.searchreplace_dlg',{ +searchnext_desc:"\u0422\u044A\u0440\u0441\u0438 \u043E\u0442\u043D\u043E\u0432\u043E", +notfound:"\u0422\u044A\u0440\u0441\u0435\u043D\u0435\u0442\u043E \u0437\u0430\u0432\u044A\u0440\u0448\u0438. \u0422\u044A\u0440\u0441\u0435\u043D\u0438\u0442\u0435 \u0434\u0443\u043C\u0438 \u043D\u0435 \u0431\u044F\u0445\u0430 \u043E\u0442\u043A\u0440\u0438\u0442\u0438.", +search_title:"\u0422\u044A\u0440\u0441\u0438", +replace_title:"\u0422\u044A\u0440\u0441\u0438/\u0417\u0430\u043C\u0435\u0441\u0442\u0438", +allreplaced:"\u0412\u0441\u0438\u0447\u043A\u0438 \u043D\u0430\u043C\u0435\u0440\u0435\u043D\u0438 \u0434\u0443\u043C\u0438 \u0431\u044F\u0445\u0430 \u0437\u0430\u043C\u0435\u0441\u0442\u0435\u043D\u0438.", +findwhat:"\u0422\u044A\u0440\u0441\u0438", +replacewith:"\u0417\u0430\u043C\u0435\u0441\u0442\u0438 \u0441", +direction:"\u041F\u043E\u0441\u043E\u043A\u0430", +up:"\u041D\u0430\u0433\u043E\u0440\u0435", +down:"\u041D\u0430\u0434\u043E\u043B\u0443", +mcase:"\u0421\u044A\u0432\u043F\u0430\u0434\u0435\u043D\u0438\u0435 \u043D\u0430 \u0440\u0435\u0433\u0438\u0441\u0442\u044A\u0440\u0430", +findnext:"\u0422\u044A\u0440\u0441\u0438 \u0441\u043B\u0435\u0434\u0432\u0430\u0449\u0438", +replace:"\u0417\u0430\u043C\u0435\u0441\u0442\u0438", +replaceall:"\u0417\u0430\u043C\u0435\u0441\u0442\u0438 \u0432\u0441\u0438\u0447\u043A\u0438" }); \ No newline at end of file diff --git a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/searchreplace/langs/cs_dlg.js b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/searchreplace/langs/cs_dlg.js old mode 100644 new mode 100755 index a1928789af..54deecfd49 --- a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/searchreplace/langs/cs_dlg.js +++ b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/searchreplace/langs/cs_dlg.js @@ -1,16 +1,16 @@ -tinyMCE.addI18n('cs.searchreplace_dlg',{ -searchnext_desc:"Naj\u00EDt dal\u0161\u00ED", -notfound:"Hled\u00E1n\u00ED bylo dokon\u010Deno. Hledan\u00FD text nebyl nalezen.", -search_title:"Naj\u00EDt", -replace_title:"Naj\u00EDt/nahradit", -allreplaced:"V\u0161echny v\u00FDskyty byly nahrazeny.", -findwhat:"Co hledat", -replacewith:"\u010C\u00EDm nahradit", -direction:"Sm\u011Br", -up:"Nahoru", -down:"Dol\u016F", -mcase:"Rozli\u0161ovat velikost", -findnext:"Naj\u00EDt dal\u0161\u00ED", -replace:"Nahradit", -replaceall:"Nahradit v\u0161e" +tinyMCE.addI18n('cs.searchreplace_dlg',{ +searchnext_desc:"Naj\u00EDt dal\u0161\u00ED", +notfound:"Hled\u00E1n\u00ED bylo dokon\u010Deno. Hledan\u00FD text nebyl nalezen.", +search_title:"Naj\u00EDt", +replace_title:"Naj\u00EDt/nahradit", +allreplaced:"V\u0161echny v\u00FDskyty byly nahrazeny.", +findwhat:"Co hledat", +replacewith:"\u010C\u00EDm nahradit", +direction:"Sm\u011Br", +up:"Nahoru", +down:"Dol\u016F", +mcase:"Rozli\u0161ovat velikost", +findnext:"Naj\u00EDt dal\u0161\u00ED", +replace:"Nahradit", +replaceall:"Nahradit v\u0161e" }); \ No newline at end of file diff --git a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/searchreplace/langs/da_dlg.js b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/searchreplace/langs/da_dlg.js old mode 100644 new mode 100755 index 9c49354df3..5f20235e10 --- a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/searchreplace/langs/da_dlg.js +++ b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/searchreplace/langs/da_dlg.js @@ -1,16 +1,16 @@ -tinyMCE.addI18n('da.searchreplace_dlg',{ -searchnext_desc:"S\u00F8g igen", -notfound:"S\u00F8gningen gav intet resultat.", -search_title:"S\u00F8g", -replace_title:"S\u00F8g / erstat", -allreplaced:"Alle forekomster af s\u00F8gestrengen er erstattet.", -findwhat:"S\u00F8g efter", -replacewith:"Erstat med", -direction:"Retning", -up:"Op", -down:"Ned", -mcase:"Forskel p\u00E5 store og sm\u00E5 bogstaver", -findnext:"Find n\u00E6ste", -replace:"Erstat", -replaceall:"Erstat alle" +tinyMCE.addI18n('da.searchreplace_dlg',{ +searchnext_desc:"S\u00F8g igen", +notfound:"S\u00F8gningen gav intet resultat.", +search_title:"S\u00F8g", +replace_title:"S\u00F8g / erstat", +allreplaced:"Alle forekomster af s\u00F8gestrengen er erstattet.", +findwhat:"S\u00F8g efter", +replacewith:"Erstat med", +direction:"Retning", +up:"Op", +down:"Ned", +mcase:"Forskel p\u00E5 store og sm\u00E5 bogstaver", +findnext:"Find n\u00E6ste", +replace:"Erstat", +replaceall:"Erstat alle" }); \ No newline at end of file diff --git a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/searchreplace/langs/de_dlg.js b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/searchreplace/langs/de_dlg.js old mode 100644 new mode 100755 index 52c0b0625c..6bb60d6ee5 --- a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/searchreplace/langs/de_dlg.js +++ b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/searchreplace/langs/de_dlg.js @@ -1,16 +1,16 @@ -tinyMCE.addI18n('de.searchreplace_dlg',{ -searchnext_desc:"Weitersuchen", -notfound:"Die Suche ist am Ende angelangt. Die Zeichenkette konnte nicht gefunden werden.", -search_title:"Suchen", -replace_title:"Suchen/Ersetzen", -allreplaced:"Alle Vorkommen der Zeichenkette wurden ersetzt.", -findwhat:"Zu suchender Text", -replacewith:"Ersetzen durch", -direction:"Suchrichtung", -up:"Aufw\u00E4rts", -down:"Abw\u00E4rts", -mcase:"Gro\u00DF-/Kleinschreibung beachten", -findnext:"Weitersuchen", -replace:"Ersetzen", -replaceall:"Alle ersetzen" +tinyMCE.addI18n('de.searchreplace_dlg',{ +searchnext_desc:"Weitersuchen", +notfound:"Die Suche ist am Ende angelangt. Die Zeichenkette konnte nicht gefunden werden.", +search_title:"Suchen", +replace_title:"Suchen/Ersetzen", +allreplaced:"Alle Vorkommen der Zeichenkette wurden ersetzt.", +findwhat:"Zu suchender Text", +replacewith:"Ersetzen durch", +direction:"Suchrichtung", +up:"Aufw\u00E4rts", +down:"Abw\u00E4rts", +mcase:"Gro\u00DF-/Kleinschreibung beachten", +findnext:"Weitersuchen", +replace:"Ersetzen", +replaceall:"Alle ersetzen" }); \ No newline at end of file diff --git a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/searchreplace/langs/en_dlg.js b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/searchreplace/langs/en_dlg.js old mode 100644 new mode 100755 index 370959afa3..3dd3453dc9 --- a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/searchreplace/langs/en_dlg.js +++ b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/searchreplace/langs/en_dlg.js @@ -1,16 +1,16 @@ -tinyMCE.addI18n('en.searchreplace_dlg',{ -searchnext_desc:"Find again", -notfound:"The search has been completed. The search string could not be found.", -search_title:"Find", -replace_title:"Find/Replace", -allreplaced:"All occurrences of the search string were replaced.", -findwhat:"Find what", -replacewith:"Replace with", -direction:"Direction", -up:"Up", -down:"Down", -mcase:"Match case", -findnext:"Find next", -replace:"Replace", -replaceall:"Replace all" +tinyMCE.addI18n('en.searchreplace_dlg',{ +searchnext_desc:"Find again", +notfound:"The search has been completed. The search string could not be found.", +search_title:"Find", +replace_title:"Find/Replace", +allreplaced:"All occurrences of the search string were replaced.", +findwhat:"Find what", +replacewith:"Replace with", +direction:"Direction", +up:"Up", +down:"Down", +mcase:"Match case", +findnext:"Find next", +replace:"Replace", +replaceall:"Replace all" }); \ No newline at end of file diff --git a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/searchreplace/langs/es_dlg.js b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/searchreplace/langs/es_dlg.js old mode 100644 new mode 100755 index b54c74bb24..e4cd3a98f4 --- a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/searchreplace/langs/es_dlg.js +++ b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/searchreplace/langs/es_dlg.js @@ -1,16 +1,16 @@ -tinyMCE.addI18n('es.searchreplace_dlg',{ -searchnext_desc:"Buscar de nuevo", -notfound:"La b\u00FAsqueda se ha completado. No se encontr\u00F3 el texto introducido.", -search_title:"Buscar", -replace_title:"Buscar/Reemplazar", -allreplaced:"Se ha reemplazado el texto.", -findwhat:"Qu\u00E9 buscar", -replacewith:"Reemplazar por", -direction:"Direcci\u00F3n", -up:"Arriba", -down:"Abajo", -mcase:"Min\u00FAs./May\u00FAs.", -findnext:"Buscar siguiente", -replace:"Reemplazar", -replaceall:"Reemplazar todo" +tinyMCE.addI18n('es.searchreplace_dlg',{ +searchnext_desc:"Buscar de nuevo", +notfound:"La b\u00FAsqueda se ha completado. No se encontr\u00F3 el texto introducido.", +search_title:"Buscar", +replace_title:"Buscar/Reemplazar", +allreplaced:"Se ha reemplazado el texto.", +findwhat:"Qu\u00E9 buscar", +replacewith:"Reemplazar por", +direction:"Direcci\u00F3n", +up:"Arriba", +down:"Abajo", +mcase:"Min\u00FAs./May\u00FAs.", +findnext:"Buscar siguiente", +replace:"Reemplazar", +replaceall:"Reemplazar todo" }); \ No newline at end of file diff --git a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/searchreplace/langs/fa_dlg.js b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/searchreplace/langs/fa_dlg.js old mode 100644 new mode 100755 index cc0ea9abb8..13a245f77b --- a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/searchreplace/langs/fa_dlg.js +++ b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/searchreplace/langs/fa_dlg.js @@ -1,16 +1,16 @@ -tinyMCE.addI18n('fa.searchreplace_dlg',{ -searchnext_desc:"\u062C\u0633\u062A\u062C\u0648\u06CC \u0645\u062C\u062F\u062F", -notfound:"\u062C\u0633\u062A\u062C\u0648 \u06A9\u0627\u0645\u0644 \u0634\u062F. \u06A9\u0644\u0645\u0647 \u062C\u0633\u062A\u062C\u0648 \u0634\u062F\u0647 \u06CC\u0627\u0641\u062A \u0646\u0634\u062F", -search_title:"\u062C\u0633\u062A\u062C\u0648", -replace_title:"\u062C\u0633\u062A\u062C\u0648/\u062A\u0639\u0648\u06CC\u0636", -allreplaced:"\u062A\u0645\u0627\u0645\u06CC \u06A9\u0644\u0645\u0627\u062A \u06CC\u0627\u0641\u062A \u0634\u062F\u0647 \u062A\u063A\u06CC\u06CC\u0631 \u06CC\u0627\u0641\u062A\u0646\u062F", -findwhat:"\u062C\u0633\u062A\u062C\u0648\u06CC \u0686\u0647 \u0686\u06CC\u0632\u06CC", -replacewith:"\u062A\u0639\u0648\u06CC\u0636 \u0628\u0627", -direction:"\u062C\u0647\u062A", -up:"\u0628\u0627\u0644\u0627", -down:"\u067E\u0627\u06CC\u06CC\u0646", -mcase:"\u0647\u0645\u0633\u0627\u0646 \u0628\u0648\u062F\u0646 \u062D\u0631\u0648\u0641", -findnext:"\u062C\u0633\u062A\u062C\u0648\u06CC \u0628\u0639\u062F\u06CC", -replace:"\u062A\u0639\u0648\u06CC\u0636", -replaceall:"\u062A\u0639\u0648\u06CC\u0636 \u0647\u0645\u0647" +tinyMCE.addI18n('fa.searchreplace_dlg',{ +searchnext_desc:"\u062C\u0633\u062A\u062C\u0648\u06CC \u0645\u062C\u062F\u062F", +notfound:"\u062C\u0633\u062A\u062C\u0648 \u06A9\u0627\u0645\u0644 \u0634\u062F. \u06A9\u0644\u0645\u0647 \u062C\u0633\u062A\u062C\u0648 \u0634\u062F\u0647 \u06CC\u0627\u0641\u062A \u0646\u0634\u062F", +search_title:"\u062C\u0633\u062A\u062C\u0648", +replace_title:"\u062C\u0633\u062A\u062C\u0648/\u062A\u0639\u0648\u06CC\u0636", +allreplaced:"\u062A\u0645\u0627\u0645\u06CC \u06A9\u0644\u0645\u0627\u062A \u06CC\u0627\u0641\u062A \u0634\u062F\u0647 \u062A\u063A\u06CC\u06CC\u0631 \u06CC\u0627\u0641\u062A\u0646\u062F", +findwhat:"\u062C\u0633\u062A\u062C\u0648\u06CC \u0686\u0647 \u0686\u06CC\u0632\u06CC", +replacewith:"\u062A\u0639\u0648\u06CC\u0636 \u0628\u0627", +direction:"\u062C\u0647\u062A", +up:"\u0628\u0627\u0644\u0627", +down:"\u067E\u0627\u06CC\u06CC\u0646", +mcase:"\u0647\u0645\u0633\u0627\u0646 \u0628\u0648\u062F\u0646 \u062D\u0631\u0648\u0641", +findnext:"\u062C\u0633\u062A\u062C\u0648\u06CC \u0628\u0639\u062F\u06CC", +replace:"\u062A\u0639\u0648\u06CC\u0636", +replaceall:"\u062A\u0639\u0648\u06CC\u0636 \u0647\u0645\u0647" }); \ No newline at end of file diff --git a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/searchreplace/langs/fi_dlg.js b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/searchreplace/langs/fi_dlg.js old mode 100644 new mode 100755 index 370125048a..f796ac6264 --- a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/searchreplace/langs/fi_dlg.js +++ b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/searchreplace/langs/fi_dlg.js @@ -1,16 +1,16 @@ -tinyMCE.addI18n('fi.searchreplace_dlg',{ -searchnext_desc:"Etsi uudestaan", -notfound:"Haku on valmis. Haettua teksti\u00E4 ei l\u00F6ytynyt.", -search_title:"Haku", -replace_title:"Etsi ja korvaa", -allreplaced:"Kaikki l\u00F6ydetyt merkkijonot korvattiin.", -findwhat:"Etsit\u00E4\u00E4n", -replacewith:"Korvataan", -direction:"Suunta", -up:"Yl\u00F6s", -down:"Alas", -mcase:"Huomioi isot ja pienet kirjaimet", -findnext:"Etsi seuraavaa", -replace:"Korvaa", -replaceall:"Korvaa kaikki" +tinyMCE.addI18n('fi.searchreplace_dlg',{ +searchnext_desc:"Etsi uudestaan", +notfound:"Haku on valmis. Haettua teksti\u00E4 ei l\u00F6ytynyt.", +search_title:"Haku", +replace_title:"Etsi ja korvaa", +allreplaced:"Kaikki l\u00F6ydetyt merkkijonot korvattiin.", +findwhat:"Etsit\u00E4\u00E4n", +replacewith:"Korvataan", +direction:"Suunta", +up:"Yl\u00F6s", +down:"Alas", +mcase:"Huomioi isot ja pienet kirjaimet", +findnext:"Etsi seuraavaa", +replace:"Korvaa", +replaceall:"Korvaa kaikki" }); \ No newline at end of file diff --git a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/searchreplace/langs/fr_dlg.js b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/searchreplace/langs/fr_dlg.js old mode 100644 new mode 100755 index a151c6c394..2905ed0fb4 --- a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/searchreplace/langs/fr_dlg.js +++ b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/searchreplace/langs/fr_dlg.js @@ -1,16 +1,16 @@ -tinyMCE.addI18n('fr.searchreplace_dlg',{ -searchnext_desc:"Suivant", -notfound:"La recherche est termin\u00E9e. La cha\u00EEne recherch\u00E9e n'a pas \u00E9t\u00E9 trouv\u00E9e.", -search_title:"Rechercher", -replace_title:"Rechercher / remplacer", -allreplaced:"Toutes les occurrences de la cha\u00EEne recherch\u00E9e ont \u00E9t\u00E9 remplac\u00E9es.", -findwhat:"Rechercher ceci", -replacewith:"Remplacer par", -direction:"Direction", -up:"Vers le haut", -down:"Vers le bas", -mcase:"Sensible \u00E0 la casse", -findnext:"Rechercher le suivant", -replace:"Remplacer", -replaceall:"Tout remplacer" +tinyMCE.addI18n('fr.searchreplace_dlg',{ +searchnext_desc:"Suivant", +notfound:"La recherche est termin\u00E9e. La cha\u00EEne recherch\u00E9e n'a pas \u00E9t\u00E9 trouv\u00E9e.", +search_title:"Rechercher", +replace_title:"Rechercher / remplacer", +allreplaced:"Toutes les occurrences de la cha\u00EEne recherch\u00E9e ont \u00E9t\u00E9 remplac\u00E9es.", +findwhat:"Rechercher ceci", +replacewith:"Remplacer par", +direction:"Direction", +up:"Vers le haut", +down:"Vers le bas", +mcase:"Sensible \u00E0 la casse", +findnext:"Rechercher le suivant", +replace:"Remplacer", +replaceall:"Tout remplacer" }); \ No newline at end of file diff --git a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/searchreplace/langs/he_dlg.js b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/searchreplace/langs/he_dlg.js old mode 100644 new mode 100755 index 475ee84833..43b068c15b --- a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/searchreplace/langs/he_dlg.js +++ b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/searchreplace/langs/he_dlg.js @@ -1,16 +1,16 @@ -tinyMCE.addI18n('he.searchreplace_dlg',{ -searchnext_desc:"\u05D7\u05D9\u05E4\u05D5\u05E9 \u05D4\u05D1\u05D0", -notfound:"\u05D4\u05D7\u05D9\u05E4\u05D5\u05E9 \u05D4\u05E1\u05EA\u05D9\u05D9\u05DD. \u05E4\u05E8\u05D9\u05D8 \u05D4\u05D7\u05D9\u05E4\u05D5\u05E9 \u05DC\u05D0 \u05E0\u05DE\u05E6\u05D0.", -search_title:"\u05D7\u05D9\u05E4\u05D5\u05E9", -replace_title:"\u05D7\u05D9\u05E4\u05D5\u05E9 \u05D5\u05D4\u05D7\u05DC\u05E4\u05D4", -allreplaced:"\u05DB\u05DC \u05E4\u05E8\u05D9\u05D8\u05D9 \u05D4\u05D7\u05D9\u05E4\u05D5\u05E9 \u05D4\u05D5\u05D7\u05DC\u05E4\u05D5", -findwhat:"\u05DC\u05D7\u05E4\u05E9 \u05D0\u05EA", -replacewith:"\u05DC\u05D4\u05D7\u05DC\u05D9\u05E3 \u05D1", -direction:"\u05DB\u05D9\u05D5\u05D5\u05DF", -up:"\u05DC\u05DE\u05E2\u05DC\u05D4", -down:"\u05DC\u05DE\u05D8\u05D4", -mcase:"\u05D4\u05EA\u05D0\u05DD \u05D0\u05D5\u05EA\u05D9\u05D5\u05EA \u05E8\u05D9\u05E9\u05D9\u05D5\u05EA", -findnext:"\u05D7\u05E4\u05E9 \u05D0\u05EA \u05D4\u05D1\u05D0", -replace:"\u05D4\u05D7\u05DC\u05E4\u05D4", -replaceall:"\u05D4\u05D7\u05DC\u05E4\u05EA \u05D4\u05DB\u05DC" +tinyMCE.addI18n('he.searchreplace_dlg',{ +searchnext_desc:"\u05D7\u05D9\u05E4\u05D5\u05E9 \u05D4\u05D1\u05D0", +notfound:"\u05D4\u05D7\u05D9\u05E4\u05D5\u05E9 \u05D4\u05E1\u05EA\u05D9\u05D9\u05DD. \u05E4\u05E8\u05D9\u05D8 \u05D4\u05D7\u05D9\u05E4\u05D5\u05E9 \u05DC\u05D0 \u05E0\u05DE\u05E6\u05D0.", +search_title:"\u05D7\u05D9\u05E4\u05D5\u05E9", +replace_title:"\u05D7\u05D9\u05E4\u05D5\u05E9 \u05D5\u05D4\u05D7\u05DC\u05E4\u05D4", +allreplaced:"\u05DB\u05DC \u05E4\u05E8\u05D9\u05D8\u05D9 \u05D4\u05D7\u05D9\u05E4\u05D5\u05E9 \u05D4\u05D5\u05D7\u05DC\u05E4\u05D5", +findwhat:"\u05DC\u05D7\u05E4\u05E9 \u05D0\u05EA", +replacewith:"\u05DC\u05D4\u05D7\u05DC\u05D9\u05E3 \u05D1", +direction:"\u05DB\u05D9\u05D5\u05D5\u05DF", +up:"\u05DC\u05DE\u05E2\u05DC\u05D4", +down:"\u05DC\u05DE\u05D8\u05D4", +mcase:"\u05D4\u05EA\u05D0\u05DD \u05D0\u05D5\u05EA\u05D9\u05D5\u05EA \u05E8\u05D9\u05E9\u05D9\u05D5\u05EA", +findnext:"\u05D7\u05E4\u05E9 \u05D0\u05EA \u05D4\u05D1\u05D0", +replace:"\u05D4\u05D7\u05DC\u05E4\u05D4", +replaceall:"\u05D4\u05D7\u05DC\u05E4\u05EA \u05D4\u05DB\u05DC" }); \ No newline at end of file diff --git a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/searchreplace/langs/it_dlg.js b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/searchreplace/langs/it_dlg.js old mode 100644 new mode 100755 index cbaf13ab20..9f1f8fc06d --- a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/searchreplace/langs/it_dlg.js +++ b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/searchreplace/langs/it_dlg.js @@ -1,16 +1,16 @@ -tinyMCE.addI18n('it.searchreplace_dlg',{ -searchnext_desc:"Trova successivo", -notfound:"Ricerca completata. Nessun risultato trovato.", -search_title:"Trova", -replace_title:"Trova/Sostituisci", -allreplaced:"Tutte le occorrenze del criterio di ricerca sono state sostituite.", -findwhat:"Trova:", -replacewith:"Sostituisci con:", -direction:"Direzione", -up:"Avanti", -down:"Indietro", -mcase:"Maiuscole/minuscole", -findnext:"Trova succ.", -replace:"Sostituisci", -replaceall:"Sost. tutto" +tinyMCE.addI18n('it.searchreplace_dlg',{ +searchnext_desc:"Trova successivo", +notfound:"Ricerca completata. Nessun risultato trovato.", +search_title:"Trova", +replace_title:"Trova/Sostituisci", +allreplaced:"Tutte le occorrenze del criterio di ricerca sono state sostituite.", +findwhat:"Trova:", +replacewith:"Sostituisci con:", +direction:"Direzione", +up:"Avanti", +down:"Indietro", +mcase:"Maiuscole/minuscole", +findnext:"Trova succ.", +replace:"Sostituisci", +replaceall:"Sost. tutto" }); \ No newline at end of file diff --git a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/searchreplace/langs/ja_dlg.js b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/searchreplace/langs/ja_dlg.js old mode 100644 new mode 100755 index 926a6766b0..a1011edff7 --- a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/searchreplace/langs/ja_dlg.js +++ b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/searchreplace/langs/ja_dlg.js @@ -1,16 +1,16 @@ -tinyMCE.addI18n('ja.searchreplace_dlg',{ -searchnext_desc:"\u518D\u691C\u7D22", -notfound:"\u6700\u5F8C\u307E\u3067\u691C\u7D22\u3057\u307E\u3057\u305F\u304C\u3001\u691C\u7D22\u6587\u5B57\u5217\u304C\u898B\u3064\u304B\u308A\u307E\u305B\u3093\u3067\u3057\u305F\u3002", -search_title:"\u691C\u7D22", -replace_title:"\u691C\u7D22/\u7F6E\u63DB", -allreplaced:"\u5168\u3066\u7F6E\u63DB\u3055\u308C\u307E\u3057\u305F\u3002", -findwhat:"\u691C\u7D22\u6587\u5B57\u5217", -replacewith:"\u7F6E\u63DB\u6587\u5B57\u5217", -direction:"\u65B9\u5411", -up:"\u4E0A\u3078", -down:"\u4E0B\u3078", -mcase:"\u5927\u6587\u5B57/\u5C0F\u6587\u5B57\u3092\u533A\u5225\u3059\u308B", -findnext:"\u6B21\u3078", -replace:"\u7F6E\u63DB", -replaceall:"\u5168\u3066\u7F6E\u63DB" +tinyMCE.addI18n('ja.searchreplace_dlg',{ +searchnext_desc:"\u518D\u691C\u7D22", +notfound:"\u6700\u5F8C\u307E\u3067\u691C\u7D22\u3057\u307E\u3057\u305F\u304C\u3001\u691C\u7D22\u6587\u5B57\u5217\u304C\u898B\u3064\u304B\u308A\u307E\u305B\u3093\u3067\u3057\u305F\u3002", +search_title:"\u691C\u7D22", +replace_title:"\u691C\u7D22/\u7F6E\u63DB", +allreplaced:"\u5168\u3066\u7F6E\u63DB\u3055\u308C\u307E\u3057\u305F\u3002", +findwhat:"\u691C\u7D22\u6587\u5B57\u5217", +replacewith:"\u7F6E\u63DB\u6587\u5B57\u5217", +direction:"\u65B9\u5411", +up:"\u4E0A\u3078", +down:"\u4E0B\u3078", +mcase:"\u5927\u6587\u5B57/\u5C0F\u6587\u5B57\u3092\u533A\u5225\u3059\u308B", +findnext:"\u6B21\u3078", +replace:"\u7F6E\u63DB", +replaceall:"\u5168\u3066\u7F6E\u63DB" }); \ No newline at end of file diff --git a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/searchreplace/langs/nl_dlg.js b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/searchreplace/langs/nl_dlg.js old mode 100644 new mode 100755 index 6ad59dbfe8..00866e4ffb --- a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/searchreplace/langs/nl_dlg.js +++ b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/searchreplace/langs/nl_dlg.js @@ -1,16 +1,16 @@ -tinyMCE.addI18n('nl.searchreplace_dlg',{ -searchnext_desc:"Opnieuw zoeken", -notfound:"Het doorzoeken is voltooid. De zoekterm kon niet meer worden gevonden.", -search_title:"Zoeken", -replace_title:"Zoeken/Vervangen", -allreplaced:"Alle instanties van de zoekterm zijn vervangen.", -findwhat:"Zoeken naar", -replacewith:"Vervangen door", -direction:"Richting", -up:"Omhoog", -down:"Omlaag", -mcase:"Identieke hoofdletters/kleine letters", -findnext:"Zoeken", -replace:"Vervangen", -replaceall:"Alles verv." +tinyMCE.addI18n('nl.searchreplace_dlg',{ +searchnext_desc:"Opnieuw zoeken", +notfound:"Het doorzoeken is voltooid. De zoekterm kon niet meer worden gevonden.", +search_title:"Zoeken", +replace_title:"Zoeken/Vervangen", +allreplaced:"Alle instanties van de zoekterm zijn vervangen.", +findwhat:"Zoeken naar", +replacewith:"Vervangen door", +direction:"Richting", +up:"Omhoog", +down:"Omlaag", +mcase:"Identieke hoofdletters/kleine letters", +findnext:"Zoeken", +replace:"Vervangen", +replaceall:"Alles verv." }); \ No newline at end of file diff --git a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/searchreplace/langs/nn_dlg.js b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/searchreplace/langs/nn_dlg.js old mode 100644 new mode 100755 index 3bb232d3f6..6896f6adb8 --- a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/searchreplace/langs/nn_dlg.js +++ b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/searchreplace/langs/nn_dlg.js @@ -1,16 +1,16 @@ -tinyMCE.addI18n('nn.searchreplace_dlg',{ -searchnext_desc:"S\u00F8k igjen", -notfound:"S\u00F8ket avslutta. Fann ikkje s\u00F8kjestrengen.", -search_title:"S\u00F8k", -replace_title:"S\u00F8k/Erstatt", -allreplaced:"Alle f\u00F8rekomstar av s\u00F8kjestrengen er erstatta.", -findwhat:"Finn kva", -replacewith:"Erstatt med", -direction:"Retning", -up:"Oppover", -down:"Nedover", -mcase:"Skill mellom store og sm\u00E5 teikn", -findnext:"Finn neste", -replace:"Erstatt", -replaceall:"Erstatt alt" +tinyMCE.addI18n('nn.searchreplace_dlg',{ +searchnext_desc:"S\u00F8k igjen", +notfound:"S\u00F8ket avslutta. Fann ikkje s\u00F8kjestrengen.", +search_title:"S\u00F8k", +replace_title:"S\u00F8k/Erstatt", +allreplaced:"Alle f\u00F8rekomstar av s\u00F8kjestrengen er erstatta.", +findwhat:"Finn kva", +replacewith:"Erstatt med", +direction:"Retning", +up:"Oppover", +down:"Nedover", +mcase:"Skill mellom store og sm\u00E5 teikn", +findnext:"Finn neste", +replace:"Erstatt", +replaceall:"Erstatt alt" }); \ No newline at end of file diff --git a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/searchreplace/langs/pl_dlg.js b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/searchreplace/langs/pl_dlg.js old mode 100644 new mode 100755 index f220fc2210..cdab6a3391 --- a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/searchreplace/langs/pl_dlg.js +++ b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/searchreplace/langs/pl_dlg.js @@ -1,16 +1,16 @@ -tinyMCE.addI18n('pl.searchreplace_dlg',{ -searchnext_desc:"Znajd\u017A ponownie", -notfound:"Wyszukiwanie zako\u0144czone. Poszukiwany fragment nie zosta\u0142 znaleziony.", -search_title:"Znajd\u017A", -replace_title:"Znajd\u017A/Zamie\u0144", -allreplaced:"Wszystkie wyst\u0105pienia szukanego fragmentu zosta\u0142y zast\u0105pione.", -findwhat:"Znajd\u017A...", -replacewith:"Zamie\u0144 z...", -direction:"Kierunek", -up:"W g\u00F3r\u0119", -down:"W d\u00F3\u0142", -mcase:"Dopasuj wielko\u015B\u0107 liter", -findnext:"Znajd\u017A nast\u0119pny", -replace:"Zamie\u0144", -replaceall:"Zamien wszystko" +tinyMCE.addI18n('pl.searchreplace_dlg',{ +searchnext_desc:"Znajd\u017A ponownie", +notfound:"Wyszukiwanie zako\u0144czone. Poszukiwany fragment nie zosta\u0142 znaleziony.", +search_title:"Znajd\u017A", +replace_title:"Znajd\u017A/Zamie\u0144", +allreplaced:"Wszystkie wyst\u0105pienia szukanego fragmentu zosta\u0142y zast\u0105pione.", +findwhat:"Znajd\u017A...", +replacewith:"Zamie\u0144 z...", +direction:"Kierunek", +up:"W g\u00F3r\u0119", +down:"W d\u00F3\u0142", +mcase:"Dopasuj wielko\u015B\u0107 liter", +findnext:"Znajd\u017A nast\u0119pny", +replace:"Zamie\u0144", +replaceall:"Zamien wszystko" }); \ No newline at end of file diff --git a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/searchreplace/langs/pt_dlg.js b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/searchreplace/langs/pt_dlg.js old mode 100644 new mode 100755 index df9c0297ae..8de81d1e05 --- a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/searchreplace/langs/pt_dlg.js +++ b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/searchreplace/langs/pt_dlg.js @@ -1,16 +1,16 @@ -tinyMCE.addI18n('pt.searchreplace_dlg',{ -searchnext_desc:"Localizar novamente", -notfound:"A pesquisa foi conclu\u00EDda sem resultados.", -search_title:"Localizar", -replace_title:"Localizar/substituir", -allreplaced:"Todas as substitui\u00E7\u00F5es foram efetuadas.", -findwhat:"Localizar", -replacewith:"Substituir com", -direction:"Dire\u00E7\u00E3o", -up:"Acima", -down:"Abaixo", -mcase:"Diferenciar mai\u00FAsculas", -findnext:"Localizar pr\u00F3ximo", -replace:"Substituir", -replaceall:"Substituir todos" +tinyMCE.addI18n('pt.searchreplace_dlg',{ +searchnext_desc:"Localizar novamente", +notfound:"A pesquisa foi conclu\u00EDda sem resultados.", +search_title:"Localizar", +replace_title:"Localizar/substituir", +allreplaced:"Todas as substitui\u00E7\u00F5es foram efetuadas.", +findwhat:"Localizar", +replacewith:"Substituir com", +direction:"Dire\u00E7\u00E3o", +up:"Acima", +down:"Abaixo", +mcase:"Diferenciar mai\u00FAsculas", +findnext:"Localizar pr\u00F3ximo", +replace:"Substituir", +replaceall:"Substituir todos" }); \ No newline at end of file diff --git a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/searchreplace/langs/ru_dlg.js b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/searchreplace/langs/ru_dlg.js old mode 100644 new mode 100755 index b2ec4402c5..86527fbf23 --- a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/searchreplace/langs/ru_dlg.js +++ b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/searchreplace/langs/ru_dlg.js @@ -1,16 +1,16 @@ -tinyMCE.addI18n('ru.searchreplace_dlg',{ -searchnext_desc:"\u041D\u0430\u0439\u0442\u0438 \u0435\u0449\u0435", -notfound:"\u041F\u043E\u0438\u0441\u043A \u0437\u0430\u0432\u0435\u0440\u0448\u0435\u043D. \u0421\u043E\u043E\u0442\u0432\u0435\u0441\u0442\u0432\u0438\u0439 \u043D\u0435 \u043D\u0430\u0439\u0434\u0435\u043D\u043E.", -search_title:"\u041F\u043E\u0438\u0441\u043A", -replace_title:"\u041F\u043E\u0438\u0441\u043A \u0438 \u0437\u0430\u043C\u0435\u043D\u0430", -allreplaced:"\u0412\u0441\u0435 \u0441\u043E\u043E\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0438\u044F \u043F\u043E\u0438\u0441\u043A\u0430 \u0431\u044B\u043B\u0438 \u0437\u0430\u043C\u0435\u043D\u0435\u043D\u044B.", -findwhat:"\u041F\u043E\u0438\u0441\u043A", -replacewith:"\u0417\u0430\u043C\u0435\u043D\u0438\u0442\u044C \u043D\u0430", -direction:"\u041D\u0430\u043F\u0440\u0430\u0432\u043B\u0435\u043D\u0438\u0435", -up:"\u0412\u0432\u0435\u0440\u0445 ", -down:"\u0412\u043D\u0438\u0437", -mcase:"\u0423\u0447\u0438\u0442\u044B\u0432\u0430\u0442\u044C \u0440\u0435\u0433\u0438\u0441\u0442\u0440", -findnext:"\u041D\u0430\u0439\u0442\u0438 \u0434\u0430\u043B\u0435\u0435", -replace:"\u0417\u0430\u043C\u0435\u043D\u0430", -replaceall:"\u0417\u0430\u043C\u0435\u043D\u0438\u0442\u044C \u0432\u0441\u0435" +tinyMCE.addI18n('ru.searchreplace_dlg',{ +searchnext_desc:"\u041D\u0430\u0439\u0442\u0438 \u0435\u0449\u0435", +notfound:"\u041F\u043E\u0438\u0441\u043A \u0437\u0430\u0432\u0435\u0440\u0448\u0435\u043D. \u0421\u043E\u043E\u0442\u0432\u0435\u0441\u0442\u0432\u0438\u0439 \u043D\u0435 \u043D\u0430\u0439\u0434\u0435\u043D\u043E.", +search_title:"\u041F\u043E\u0438\u0441\u043A", +replace_title:"\u041F\u043E\u0438\u0441\u043A \u0438 \u0437\u0430\u043C\u0435\u043D\u0430", +allreplaced:"\u0412\u0441\u0435 \u0441\u043E\u043E\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0438\u044F \u043F\u043E\u0438\u0441\u043A\u0430 \u0431\u044B\u043B\u0438 \u0437\u0430\u043C\u0435\u043D\u0435\u043D\u044B.", +findwhat:"\u041F\u043E\u0438\u0441\u043A", +replacewith:"\u0417\u0430\u043C\u0435\u043D\u0438\u0442\u044C \u043D\u0430", +direction:"\u041D\u0430\u043F\u0440\u0430\u0432\u043B\u0435\u043D\u0438\u0435", +up:"\u0412\u0432\u0435\u0440\u0445 ", +down:"\u0412\u043D\u0438\u0437", +mcase:"\u0423\u0447\u0438\u0442\u044B\u0432\u0430\u0442\u044C \u0440\u0435\u0433\u0438\u0441\u0442\u0440", +findnext:"\u041D\u0430\u0439\u0442\u0438 \u0434\u0430\u043B\u0435\u0435", +replace:"\u0417\u0430\u043C\u0435\u043D\u0430", +replaceall:"\u0417\u0430\u043C\u0435\u043D\u0438\u0442\u044C \u0432\u0441\u0435" }); \ No newline at end of file diff --git a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/searchreplace/langs/sv_dlg.js b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/searchreplace/langs/sv_dlg.js old mode 100644 new mode 100755 index a3f6f196af..657a820aa1 --- a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/searchreplace/langs/sv_dlg.js +++ b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/searchreplace/langs/sv_dlg.js @@ -1,16 +1,16 @@ -tinyMCE.addI18n('sv.searchreplace_dlg',{ -searchnext_desc:"S\u00F6k igen", -notfound:"S\u00F6kningen har slutf\u00F6rts. S\u00F6kstr\u00E4ngen kunde inte hittas.", -search_title:"S\u00F6k", -replace_title:"S\u00F6k/ers\u00E4tt", -allreplaced:"Alla st\u00E4llen d\u00E4r s\u00F6kstr\u00E4ngen kunde hittas har ersatts.", -findwhat:"Hitta vad", -replacewith:"Ers\u00E4tt med", -direction:"Riktning", -up:"Upp\u00E5t", -down:"Ner\u00E5t", -mcase:"Matcha gemener/versaler", -findnext:"Hitta n\u00E4sta", -replace:"Ers\u00E4tt", -replaceall:"Ers\u00E4tt alla" +tinyMCE.addI18n('sv.searchreplace_dlg',{ +searchnext_desc:"S\u00F6k igen", +notfound:"S\u00F6kningen har slutf\u00F6rts. S\u00F6kstr\u00E4ngen kunde inte hittas.", +search_title:"S\u00F6k", +replace_title:"S\u00F6k/ers\u00E4tt", +allreplaced:"Alla st\u00E4llen d\u00E4r s\u00F6kstr\u00E4ngen kunde hittas har ersatts.", +findwhat:"Hitta vad", +replacewith:"Ers\u00E4tt med", +direction:"Riktning", +up:"Upp\u00E5t", +down:"Ner\u00E5t", +mcase:"Matcha gemener/versaler", +findnext:"Hitta n\u00E4sta", +replace:"Ers\u00E4tt", +replaceall:"Ers\u00E4tt alla" }); \ No newline at end of file diff --git a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/searchreplace/langs/zh_dlg.js b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/searchreplace/langs/zh_dlg.js old mode 100644 new mode 100755 index 9a4ddfcfe7..56b4592ca5 --- a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/searchreplace/langs/zh_dlg.js +++ b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/searchreplace/langs/zh_dlg.js @@ -1,16 +1,16 @@ -tinyMCE.addI18n('zh.searchreplace_dlg',{ -searchnext_desc:"\u7E7C\u7E8C\u641C\u5C0B", -notfound:"\u641C\u5C0B\u5B8C\u7562\uFF0C\u6C92\u6709\u627E\u5230\u7B26\u5408\u7684\u5B57\u7B26\u4E32\u3002", -search_title:"\u641C\u5C0B", -replace_title:"\u641C\u5C0B/\u53D6\u4EE3", -allreplaced:"\u6240\u6709\u7B26\u5408\u7684\u5B57\u7B26\u4E32\u5747\u5DF2\u53D6\u4EE3\u3002", -findwhat:"\u641C\u5C0B\u76EE\u6A19", -replacewith:"\u53D6\u4EE3\u70BA", -direction:"\u65B9\u5411", -up:"\u5411\u4E0A", -down:"\u5411\u4E0B", -mcase:"\u5340\u5206\u5927\u5C0F\u5BEB", -findnext:"\u5C0B\u627E\u4E0B\u4E00\u500B", -replace:"\u53D6\u4EE3", -replaceall:"\u5168\u90E8\u53D6\u4EE3" +tinyMCE.addI18n('zh.searchreplace_dlg',{ +searchnext_desc:"\u7E7C\u7E8C\u641C\u5C0B", +notfound:"\u641C\u5C0B\u5B8C\u7562\uFF0C\u6C92\u6709\u627E\u5230\u7B26\u5408\u7684\u5B57\u7B26\u4E32\u3002", +search_title:"\u641C\u5C0B", +replace_title:"\u641C\u5C0B/\u53D6\u4EE3", +allreplaced:"\u6240\u6709\u7B26\u5408\u7684\u5B57\u7B26\u4E32\u5747\u5DF2\u53D6\u4EE3\u3002", +findwhat:"\u641C\u5C0B\u76EE\u6A19", +replacewith:"\u53D6\u4EE3\u70BA", +direction:"\u65B9\u5411", +up:"\u5411\u4E0A", +down:"\u5411\u4E0B", +mcase:"\u5340\u5206\u5927\u5C0F\u5BEB", +findnext:"\u5C0B\u627E\u4E0B\u4E00\u500B", +replace:"\u53D6\u4EE3", +replaceall:"\u5168\u90E8\u53D6\u4EE3" }); \ No newline at end of file diff --git a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/searchreplace/searchreplace.htm b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/searchreplace/searchreplace.htm old mode 100644 new mode 100755 index d0424cfc9b..243a4bc2fd --- a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/searchreplace/searchreplace.htm +++ b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/searchreplace/searchreplace.htm @@ -1,99 +1,99 @@ - - - - {#searchreplace_dlg.replace_title} - - - - - - - -
    - - -
    -
    - - - - - - - - - - - -
    - - - - - - - - -
    -
    - - - - - -
    -
    -
    - -
    - - - - - - - - - - - - - - - -
    - - - - - - - - -
    -
    - - - - - -
    -
    -
    - -
    - -
    - - - - -
    -
    - - + + + + {#searchreplace_dlg.replace_title} + + + + + + + +
    + + +
    +
    + + + + + + + + + + + +
    + + + + + + + + +
    +
    + + + + + +
    +
    +
    + +
    + + + + + + + + + + + + + + + +
    + + + + + + + + +
    +
    + + + + + +
    +
    +
    + +
    + +
    + + + + +
    +
    + + diff --git a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/spellchecker/css/content.css b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/spellchecker/css/content.css old mode 100644 new mode 100755 index 24efa02170..656ce1eee6 --- a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/spellchecker/css/content.css +++ b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/spellchecker/css/content.css @@ -1 +1 @@ -.mceItemHiddenSpellWord {background:url(../img/wline.gif) repeat-x bottom left; cursor:default;} +.mceItemHiddenSpellWord {background:url(../img/wline.gif) repeat-x bottom left; cursor:default;} diff --git a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/spellchecker/editor_plugin.js b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/spellchecker/editor_plugin.js old mode 100644 new mode 100755 index a9ec3b9cf0..e3d03b5c47 --- a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/spellchecker/editor_plugin.js +++ b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/spellchecker/editor_plugin.js @@ -1 +1 @@ -(function(){var a=tinymce.util.JSONRequest,c=tinymce.each,b=tinymce.DOM;tinymce.create("tinymce.plugins.SpellcheckerPlugin",{getInfo:function(){return{longname:"Spellchecker",author:"Moxiecode Systems AB",authorurl:"http://tinymce.moxiecode.com",infourl:"http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/spellchecker",version:tinymce.majorVersion+"."+tinymce.minorVersion}},init:function(e,f){var g=this,d;g.url=f;g.editor=e;g.rpcUrl=e.getParam("spellchecker_rpc_url","{backend}");if(g.rpcUrl=="{backend}"){if(tinymce.isIE){return}g.hasSupport=true;e.onContextMenu.addToTop(function(h,i){if(g.active){return false}})}e.addCommand("mceSpellCheck",function(){if(g.rpcUrl=="{backend}"){g.editor.getBody().spellcheck=g.active=!g.active;return}if(!g.active){e.setProgressState(1);g._sendRPC("checkWords",[g.selectedLang,g._getWords()],function(h){if(h.length>0){g.active=1;g._markWords(h);e.setProgressState(0);e.nodeChanged()}else{e.setProgressState(0);if(e.getParam("spellchecker_report_no_misspellings",true)){e.windowManager.alert("spellchecker.no_mpell")}}})}else{g._done()}});e.onInit.add(function(){if(e.settings.content_css!==false){e.dom.loadCSS(f+"/css/content.css")}});e.onClick.add(g._showMenu,g);e.onContextMenu.add(g._showMenu,g);e.onBeforeGetContent.add(function(){if(g.active){g._removeWords()}});e.onNodeChange.add(function(i,h){h.setActive("spellchecker",g.active)});e.onSetContent.add(function(){g._done()});e.onBeforeGetContent.add(function(){g._done()});e.onBeforeExecCommand.add(function(h,i){if(i=="mceFullScreen"){g._done()}});g.languages={};c(e.getParam("spellchecker_languages","+English=en,Danish=da,Dutch=nl,Finnish=fi,French=fr,German=de,Italian=it,Polish=pl,Portuguese=pt,Spanish=es,Swedish=sv","hash"),function(i,h){if(h.indexOf("+")===0){h=h.substring(1);g.selectedLang=i}g.languages[h]=i})},createControl:function(h,d){var f=this,g,e=f.editor;if(h=="spellchecker"){if(f.rpcUrl=="{backend}"){if(f.hasSupport){g=d.createButton(h,{title:"spellchecker.desc",cmd:"mceSpellCheck",scope:f})}return g}g=d.createSplitButton(h,{title:"spellchecker.desc",cmd:"mceSpellCheck",scope:f});g.onRenderMenu.add(function(j,i){i.add({title:"spellchecker.langs","class":"mceMenuItemTitle"}).setDisabled(1);c(f.languages,function(n,m){var p={icon:1},l;p.onclick=function(){l.setSelected(1);f.selectedItem.setSelected(0);f.selectedItem=l;f.selectedLang=n};p.title=m;l=i.add(p);l.setSelected(n==f.selectedLang);if(n==f.selectedLang){f.selectedItem=l}})});return g}},_walk:function(i,g){var h=this.editor.getDoc(),e;if(h.createTreeWalker){e=h.createTreeWalker(i,NodeFilter.SHOW_TEXT,null,false);while((i=e.nextNode())!=null){g.call(this,i)}}else{tinymce.walk(i,g,"childNodes")}},_getSeparators:function(){var e="",d,f=this.editor.getParam("spellchecker_word_separator_chars",'\\s!"#$%&()*+,-./:;<=>?@[]^_{|}\u201d\u201c');for(d=0;d$1$2');q=q.replace(g,'$1$2');j.replace(j.create("span",{"class":"mceItemHidden"},q),r)}}});l.moveToBookmark(m)},_showMenu:function(h,j){var i=this,h=i.editor,d=i._menu,l,k=h.dom,g=k.getViewPort(h.getWin()),f=j.target;j=0;if(!d){l=b.getPos(h.getContentAreaContainer());d=h.controlManager.createDropMenu("spellcheckermenu",{offset_x:l.x,offset_y:l.y,"class":"mceNoIcons"});i._menu=d}if(k.hasClass(f,"mceItemHiddenSpellWord")){d.removeAll();d.add({title:"spellchecker.wait","class":"mceMenuItemTitle"}).setDisabled(1);i._sendRPC("getSuggestions",[i.selectedLang,k.decode(f.innerHTML)],function(m){var e;d.removeAll();if(m.length>0){d.add({title:"spellchecker.sug","class":"mceMenuItemTitle"}).setDisabled(1);c(m,function(n){d.add({title:n,onclick:function(){k.replace(h.getDoc().createTextNode(n),f);i._checkDone()}})});d.addSeparator()}else{d.add({title:"spellchecker.no_sug","class":"mceMenuItemTitle"}).setDisabled(1)}e=i.editor.getParam("spellchecker_enable_ignore_rpc","");d.add({title:"spellchecker.ignore_word",onclick:function(){var n=f.innerHTML;k.remove(f,1);i._checkDone();if(e){h.setProgressState(1);i._sendRPC("ignoreWord",[i.selectedLang,n],function(o){h.setProgressState(0)})}}});d.add({title:"spellchecker.ignore_words",onclick:function(){var n=f.innerHTML;i._removeWords(k.decode(n));i._checkDone();if(e){h.setProgressState(1);i._sendRPC("ignoreWords",[i.selectedLang,n],function(o){h.setProgressState(0)})}}});if(i.editor.getParam("spellchecker_enable_learn_rpc")){d.add({title:"spellchecker.learn_word",onclick:function(){var n=f.innerHTML;k.remove(f,1);i._checkDone();h.setProgressState(1);i._sendRPC("learnWord",[i.selectedLang,n],function(o){h.setProgressState(0)})}})}d.update()});h.selection.select(f);l=k.getPos(f);d.showMenu(l.x,l.y+f.offsetHeight-g.y);return tinymce.dom.Event.cancel(j)}else{d.hideMenu()}},_checkDone:function(){var e=this,d=e.editor,g=d.dom,f;c(g.select("span"),function(h){if(h&&g.hasClass(h,"mceItemHiddenSpellWord")){f=true;return false}});if(!f){e._done()}},_done:function(){var d=this,e=d.active;if(d.active){d.active=0;d._removeWords();if(d._menu){d._menu.hideMenu()}if(e){d.editor.nodeChanged()}}},_sendRPC:function(e,g,d){var f=this;a.sendRPC({url:f.rpcUrl,method:e,params:g,success:d,error:function(i,h){f.editor.setProgressState(0);f.editor.windowManager.alert(i.errstr||("Error response: "+h.responseText))}})}});tinymce.PluginManager.add("spellchecker",tinymce.plugins.SpellcheckerPlugin)})(); \ No newline at end of file +(function(){var a=tinymce.util.JSONRequest,c=tinymce.each,b=tinymce.DOM;tinymce.create("tinymce.plugins.SpellcheckerPlugin",{getInfo:function(){return{longname:"Spellchecker",author:"Moxiecode Systems AB",authorurl:"http://tinymce.moxiecode.com",infourl:"http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/spellchecker",version:tinymce.majorVersion+"."+tinymce.minorVersion}},init:function(e,f){var g=this,d;g.url=f;g.editor=e;g.rpcUrl=e.getParam("spellchecker_rpc_url","{backend}");if(g.rpcUrl=="{backend}"){if(tinymce.isIE){return}g.hasSupport=true;e.onContextMenu.addToTop(function(h,i){if(g.active){return false}})}e.addCommand("mceSpellCheck",function(){if(g.rpcUrl=="{backend}"){g.editor.getBody().spellcheck=g.active=!g.active;return}if(!g.active){e.setProgressState(1);g._sendRPC("checkWords",[g.selectedLang,g._getWords()],function(h){if(h.length>0){g.active=1;g._markWords(h);e.setProgressState(0);e.nodeChanged()}else{e.setProgressState(0);if(e.getParam("spellchecker_report_no_misspellings",true)){e.windowManager.alert("spellchecker.no_mpell")}}})}else{g._done()}});e.onInit.add(function(){if(e.settings.content_css!==false){e.dom.loadCSS(f+"/css/content.css")}});e.onClick.add(g._showMenu,g);e.onContextMenu.add(g._showMenu,g);e.onBeforeGetContent.add(function(){if(g.active){g._removeWords()}});e.onNodeChange.add(function(i,h){h.setActive("spellchecker",g.active)});e.onSetContent.add(function(){g._done()});e.onBeforeGetContent.add(function(){g._done()});e.onBeforeExecCommand.add(function(h,i){if(i=="mceFullScreen"){g._done()}});g.languages={};c(e.getParam("spellchecker_languages","+English=en,Danish=da,Dutch=nl,Finnish=fi,French=fr,German=de,Italian=it,Polish=pl,Portuguese=pt,Spanish=es,Swedish=sv","hash"),function(i,h){if(h.indexOf("+")===0){h=h.substring(1);g.selectedLang=i}g.languages[h]=i})},createControl:function(h,d){var f=this,g,e=f.editor;if(h=="spellchecker"){if(f.rpcUrl=="{backend}"){if(f.hasSupport){g=d.createButton(h,{title:"spellchecker.desc",cmd:"mceSpellCheck",scope:f})}return g}g=d.createSplitButton(h,{title:"spellchecker.desc",cmd:"mceSpellCheck",scope:f});g.onRenderMenu.add(function(j,i){i.add({title:"spellchecker.langs","class":"mceMenuItemTitle"}).setDisabled(1);c(f.languages,function(n,m){var p={icon:1},l;p.onclick=function(){l.setSelected(1);f.selectedItem.setSelected(0);f.selectedItem=l;f.selectedLang=n};p.title=m;l=i.add(p);l.setSelected(n==f.selectedLang);if(n==f.selectedLang){f.selectedItem=l}})});return g}},_walk:function(i,g){var h=this.editor.getDoc(),e;if(h.createTreeWalker){e=h.createTreeWalker(i,NodeFilter.SHOW_TEXT,null,false);while((i=e.nextNode())!=null){g.call(this,i)}}else{tinymce.walk(i,g,"childNodes")}},_getSeparators:function(){var e="",d,f=this.editor.getParam("spellchecker_word_separator_chars",'\\s!"#$%&()*+,-./:;<=>?@[]^_{|}З・蔚係纂従迅・\u201d\u201c');for(d=0;d$1$2');q=q.replace(g,'$1$2');j.replace(j.create("span",{"class":"mceItemHidden"},q),r)}}});l.moveToBookmark(m)},_showMenu:function(h,j){var i=this,h=i.editor,d=i._menu,l,k=h.dom,g=k.getViewPort(h.getWin()),f=j.target;j=0;if(!d){l=b.getPos(h.getContentAreaContainer());d=h.controlManager.createDropMenu("spellcheckermenu",{offset_x:l.x,offset_y:l.y,"class":"mceNoIcons"});i._menu=d}if(k.hasClass(f,"mceItemHiddenSpellWord")){d.removeAll();d.add({title:"spellchecker.wait","class":"mceMenuItemTitle"}).setDisabled(1);i._sendRPC("getSuggestions",[i.selectedLang,k.decode(f.innerHTML)],function(m){var e;d.removeAll();if(m.length>0){d.add({title:"spellchecker.sug","class":"mceMenuItemTitle"}).setDisabled(1);c(m,function(n){d.add({title:n,onclick:function(){k.replace(h.getDoc().createTextNode(n),f);i._checkDone()}})});d.addSeparator()}else{d.add({title:"spellchecker.no_sug","class":"mceMenuItemTitle"}).setDisabled(1)}e=i.editor.getParam("spellchecker_enable_ignore_rpc","");d.add({title:"spellchecker.ignore_word",onclick:function(){var n=f.innerHTML;k.remove(f,1);i._checkDone();if(e){h.setProgressState(1);i._sendRPC("ignoreWord",[i.selectedLang,n],function(o){h.setProgressState(0)})}}});d.add({title:"spellchecker.ignore_words",onclick:function(){var n=f.innerHTML;i._removeWords(k.decode(n));i._checkDone();if(e){h.setProgressState(1);i._sendRPC("ignoreWords",[i.selectedLang,n],function(o){h.setProgressState(0)})}}});if(i.editor.getParam("spellchecker_enable_learn_rpc")){d.add({title:"spellchecker.learn_word",onclick:function(){var n=f.innerHTML;k.remove(f,1);i._checkDone();h.setProgressState(1);i._sendRPC("learnWord",[i.selectedLang,n],function(o){h.setProgressState(0)})}})}d.update()});h.selection.select(f);l=k.getPos(f);d.showMenu(l.x,l.y+f.offsetHeight-g.y);return tinymce.dom.Event.cancel(j)}else{d.hideMenu()}},_checkDone:function(){var e=this,d=e.editor,g=d.dom,f;c(g.select("span"),function(h){if(h&&g.hasClass(h,"mceItemHiddenSpellWord")){f=true;return false}});if(!f){e._done()}},_done:function(){var d=this,e=d.active;if(d.active){d.active=0;d._removeWords();if(d._menu){d._menu.hideMenu()}if(e){d.editor.nodeChanged()}}},_sendRPC:function(e,g,d){var f=this;a.sendRPC({url:f.rpcUrl,method:e,params:g,success:d,error:function(i,h){f.editor.setProgressState(0);f.editor.windowManager.alert(i.errstr||("Error response: "+h.responseText))}})}});tinymce.PluginManager.add("spellchecker",tinymce.plugins.SpellcheckerPlugin)})(); \ No newline at end of file diff --git a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/spellchecker/editor_plugin_src.js b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/spellchecker/editor_plugin_src.js old mode 100644 new mode 100755 index bd501d3d80..55c9631d2a --- a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/spellchecker/editor_plugin_src.js +++ b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/spellchecker/editor_plugin_src.js @@ -166,7 +166,7 @@ }, _getSeparators : function() { - var re = '', i, str = this.editor.getParam('spellchecker_word_separator_chars', '\\s!"#$%&()*+,-./:;<=>?@[\]^_{|}\u201d\u201c'); + var re = '', i, str = this.editor.getParam('spellchecker_word_separator_chars', '\\s!"#$%&()*+,-./:;<=>?@[\]^_{|}З・蔚係纂従迅・\u201d\u201c'); // Build word separator regexp for (i=0; i 1) - return a[i]; - - return ""; -} - -function setValue(f, n, v) { - if (f.elements[n].type == "text") - f.elements[n].value = v; - else - selectByValue(f, n, v, true, true); -} - -function setupBox(f, ce, fp, pr, sf, b) { - if (typeof(b) == "undefined") - b = ['Top', 'Right', 'Bottom', 'Left']; - - if (isSame(ce, pr, sf, b)) { - f.elements[fp + "_same"].checked = true; - - setValue(f, fp + "_top", getNum(ce.style[pr + b[0] + sf])); - f.elements[fp + "_top"].disabled = false; - - f.elements[fp + "_right"].value = ""; - f.elements[fp + "_right"].disabled = true; - f.elements[fp + "_bottom"].value = ""; - f.elements[fp + "_bottom"].disabled = true; - f.elements[fp + "_left"].value = ""; - f.elements[fp + "_left"].disabled = true; - - if (f.elements[fp + "_top_measurement"]) { - selectByValue(f, fp + '_top_measurement', getMeasurement(ce.style[pr + b[0] + sf])); - f.elements[fp + "_left_measurement"].disabled = true; - f.elements[fp + "_bottom_measurement"].disabled = true; - f.elements[fp + "_right_measurement"].disabled = true; - } - } else { - f.elements[fp + "_same"].checked = false; - - setValue(f, fp + "_top", getNum(ce.style[pr + b[0] + sf])); - f.elements[fp + "_top"].disabled = false; - - setValue(f, fp + "_right", getNum(ce.style[pr + b[1] + sf])); - f.elements[fp + "_right"].disabled = false; - - setValue(f, fp + "_bottom", getNum(ce.style[pr + b[2] + sf])); - f.elements[fp + "_bottom"].disabled = false; - - setValue(f, fp + "_left", getNum(ce.style[pr + b[3] + sf])); - f.elements[fp + "_left"].disabled = false; - - if (f.elements[fp + "_top_measurement"]) { - selectByValue(f, fp + '_top_measurement', getMeasurement(ce.style[pr + b[0] + sf])); - selectByValue(f, fp + '_right_measurement', getMeasurement(ce.style[pr + b[1] + sf])); - selectByValue(f, fp + '_bottom_measurement', getMeasurement(ce.style[pr + b[2] + sf])); - selectByValue(f, fp + '_left_measurement', getMeasurement(ce.style[pr + b[3] + sf])); - f.elements[fp + "_left_measurement"].disabled = false; - f.elements[fp + "_bottom_measurement"].disabled = false; - f.elements[fp + "_right_measurement"].disabled = false; - } - } -} - -function isSame(e, pr, sf, b) { - var a = [], i, x; - - if (typeof(b) == "undefined") - b = ['Top', 'Right', 'Bottom', 'Left']; - - if (typeof(sf) == "undefined" || sf == null) - sf = ""; - - a[0] = e.style[pr + b[0] + sf]; - a[1] = e.style[pr + b[1] + sf]; - a[2] = e.style[pr + b[2] + sf]; - a[3] = e.style[pr + b[3] + sf]; - - for (i=0; i 0 ? s.substring(1) : s; - - if (f.text_none.checked) - s = "none"; - - ce.style.textDecoration = s; - - // Build background styles - - ce.style.backgroundColor = f.background_color.value; - ce.style.backgroundImage = f.background_image.value != "" ? "url(" + f.background_image.value + ")" : ""; - ce.style.backgroundRepeat = f.background_repeat.value; - ce.style.backgroundAttachment = f.background_attachment.value; - - if (f.background_hpos.value != "") { - s = ""; - s += f.background_hpos.value + (isNum(f.background_hpos.value) ? f.background_hpos_measurement.value : "") + " "; - s += f.background_vpos.value + (isNum(f.background_vpos.value) ? f.background_vpos_measurement.value : ""); - ce.style.backgroundPosition = s; - } - - // Build block styles - - ce.style.wordSpacing = f.block_wordspacing.value + (isNum(f.block_wordspacing.value) ? f.block_wordspacing_measurement.value : ""); - ce.style.letterSpacing = f.block_letterspacing.value + (isNum(f.block_letterspacing.value) ? f.block_letterspacing_measurement.value : ""); - ce.style.verticalAlign = f.block_vertical_alignment.value; - ce.style.textAlign = f.block_text_align.value; - ce.style.textIndent = f.block_text_indent.value + (isNum(f.block_text_indent.value) ? f.block_text_indent_measurement.value : ""); - ce.style.whiteSpace = f.block_whitespace.value; - ce.style.display = f.block_display.value; - - // Build box styles - - ce.style.width = f.box_width.value + (isNum(f.box_width.value) ? f.box_width_measurement.value : ""); - ce.style.height = f.box_height.value + (isNum(f.box_height.value) ? f.box_height_measurement.value : ""); - ce.style.styleFloat = f.box_float.value; - - if (tinymce.isGecko) - ce.style.cssFloat = f.box_float.value; - - ce.style.clear = f.box_clear.value; - - if (!f.box_padding_same.checked) { - ce.style.paddingTop = f.box_padding_top.value + (isNum(f.box_padding_top.value) ? f.box_padding_top_measurement.value : ""); - ce.style.paddingRight = f.box_padding_right.value + (isNum(f.box_padding_right.value) ? f.box_padding_right_measurement.value : ""); - ce.style.paddingBottom = f.box_padding_bottom.value + (isNum(f.box_padding_bottom.value) ? f.box_padding_bottom_measurement.value : ""); - ce.style.paddingLeft = f.box_padding_left.value + (isNum(f.box_padding_left.value) ? f.box_padding_left_measurement.value : ""); - } else - ce.style.padding = f.box_padding_top.value + (isNum(f.box_padding_top.value) ? f.box_padding_top_measurement.value : ""); - - if (!f.box_margin_same.checked) { - ce.style.marginTop = f.box_margin_top.value + (isNum(f.box_margin_top.value) ? f.box_margin_top_measurement.value : ""); - ce.style.marginRight = f.box_margin_right.value + (isNum(f.box_margin_right.value) ? f.box_margin_right_measurement.value : ""); - ce.style.marginBottom = f.box_margin_bottom.value + (isNum(f.box_margin_bottom.value) ? f.box_margin_bottom_measurement.value : ""); - ce.style.marginLeft = f.box_margin_left.value + (isNum(f.box_margin_left.value) ? f.box_margin_left_measurement.value : ""); - } else - ce.style.margin = f.box_margin_top.value + (isNum(f.box_margin_top.value) ? f.box_margin_top_measurement.value : ""); - - // Build border styles - - if (!f.border_style_same.checked) { - ce.style.borderTopStyle = f.border_style_top.value; - ce.style.borderRightStyle = f.border_style_right.value; - ce.style.borderBottomStyle = f.border_style_bottom.value; - ce.style.borderLeftStyle = f.border_style_left.value; - } else - ce.style.borderStyle = f.border_style_top.value; - - if (!f.border_width_same.checked) { - ce.style.borderTopWidth = f.border_width_top.value + (isNum(f.border_width_top.value) ? f.border_width_top_measurement.value : ""); - ce.style.borderRightWidth = f.border_width_right.value + (isNum(f.border_width_right.value) ? f.border_width_right_measurement.value : ""); - ce.style.borderBottomWidth = f.border_width_bottom.value + (isNum(f.border_width_bottom.value) ? f.border_width_bottom_measurement.value : ""); - ce.style.borderLeftWidth = f.border_width_left.value + (isNum(f.border_width_left.value) ? f.border_width_left_measurement.value : ""); - } else - ce.style.borderWidth = f.border_width_top.value + (isNum(f.border_width_top.value) ? f.border_width_top_measurement.value : ""); - - if (!f.border_color_same.checked) { - ce.style.borderTopColor = f.border_color_top.value; - ce.style.borderRightColor = f.border_color_right.value; - ce.style.borderBottomColor = f.border_color_bottom.value; - ce.style.borderLeftColor = f.border_color_left.value; - } else - ce.style.borderColor = f.border_color_top.value; - - // Build list styles - - ce.style.listStyleType = f.list_type.value; - ce.style.listStylePosition = f.list_position.value; - ce.style.listStyleImage = f.list_bullet_image.value != "" ? "url(" + f.list_bullet_image.value + ")" : ""; - - // Build positioning styles - - ce.style.position = f.positioning_type.value; - ce.style.visibility = f.positioning_visibility.value; - - if (ce.style.width == "") - ce.style.width = f.positioning_width.value + (isNum(f.positioning_width.value) ? f.positioning_width_measurement.value : ""); - - if (ce.style.height == "") - ce.style.height = f.positioning_height.value + (isNum(f.positioning_height.value) ? f.positioning_height_measurement.value : ""); - - ce.style.zIndex = f.positioning_zindex.value; - ce.style.overflow = f.positioning_overflow.value; - - if (!f.positioning_placement_same.checked) { - ce.style.top = f.positioning_placement_top.value + (isNum(f.positioning_placement_top.value) ? f.positioning_placement_top_measurement.value : ""); - ce.style.right = f.positioning_placement_right.value + (isNum(f.positioning_placement_right.value) ? f.positioning_placement_right_measurement.value : ""); - ce.style.bottom = f.positioning_placement_bottom.value + (isNum(f.positioning_placement_bottom.value) ? f.positioning_placement_bottom_measurement.value : ""); - ce.style.left = f.positioning_placement_left.value + (isNum(f.positioning_placement_left.value) ? f.positioning_placement_left_measurement.value : ""); - } else { - s = f.positioning_placement_top.value + (isNum(f.positioning_placement_top.value) ? f.positioning_placement_top_measurement.value : ""); - ce.style.top = s; - ce.style.right = s; - ce.style.bottom = s; - ce.style.left = s; - } - - if (!f.positioning_clip_same.checked) { - s = "rect("; - s += (isNum(f.positioning_clip_top.value) ? f.positioning_clip_top.value + f.positioning_clip_top_measurement.value : "auto") + " "; - s += (isNum(f.positioning_clip_right.value) ? f.positioning_clip_right.value + f.positioning_clip_right_measurement.value : "auto") + " "; - s += (isNum(f.positioning_clip_bottom.value) ? f.positioning_clip_bottom.value + f.positioning_clip_bottom_measurement.value : "auto") + " "; - s += (isNum(f.positioning_clip_left.value) ? f.positioning_clip_left.value + f.positioning_clip_left_measurement.value : "auto"); - s += ")"; - - if (s != "rect(auto auto auto auto)") - ce.style.clip = s; - } else { - s = "rect("; - t = isNum(f.positioning_clip_top.value) ? f.positioning_clip_top.value + f.positioning_clip_top_measurement.value : "auto"; - s += t + " "; - s += t + " "; - s += t + " "; - s += t + ")"; - - if (s != "rect(auto auto auto auto)") - ce.style.clip = s; - } - - ce.style.cssText = ce.style.cssText; -} - -function isNum(s) { - return new RegExp('[0-9]+', 'g').test(s); -} - -function showDisabledControls() { - var f = document.forms, i, a; - - for (i=0; i 1) { - addSelectValue(f, s, p[0], p[1]); - - if (se) - selectByValue(f, s, p[1]); - } else { - addSelectValue(f, s, p[0], p[0]); - - if (se) - selectByValue(f, s, p[0]); - } - } -} - -function toggleSame(ce, pre) { - var el = document.forms[0].elements, i; - - if (ce.checked) { - el[pre + "_top"].disabled = false; - el[pre + "_right"].disabled = true; - el[pre + "_bottom"].disabled = true; - el[pre + "_left"].disabled = true; - - if (el[pre + "_top_measurement"]) { - el[pre + "_top_measurement"].disabled = false; - el[pre + "_right_measurement"].disabled = true; - el[pre + "_bottom_measurement"].disabled = true; - el[pre + "_left_measurement"].disabled = true; - } - } else { - el[pre + "_top"].disabled = false; - el[pre + "_right"].disabled = false; - el[pre + "_bottom"].disabled = false; - el[pre + "_left"].disabled = false; - - if (el[pre + "_top_measurement"]) { - el[pre + "_top_measurement"].disabled = false; - el[pre + "_right_measurement"].disabled = false; - el[pre + "_bottom_measurement"].disabled = false; - el[pre + "_left_measurement"].disabled = false; - } - } - - showDisabledControls(); -} - -function synch(fr, to) { - var f = document.forms[0]; - - f.elements[to].value = f.elements[fr].value; - - if (f.elements[fr + "_measurement"]) - selectByValue(f, to + "_measurement", f.elements[fr + "_measurement"].value); -} - -tinyMCEPopup.onInit.add(init); +tinyMCEPopup.requireLangPack(); + +var defaultFonts = "" + + "Arial, Helvetica, sans-serif=Arial, Helvetica, sans-serif;" + + "Times New Roman, Times, serif=Times New Roman, Times, serif;" + + "Courier New, Courier, mono=Courier New, Courier, mono;" + + "Times New Roman, Times, serif=Times New Roman, Times, serif;" + + "Georgia, Times New Roman, Times, serif=Georgia, Times New Roman, Times, serif;" + + "Verdana, Arial, Helvetica, sans-serif=Verdana, Arial, Helvetica, sans-serif;" + + "Geneva, Arial, Helvetica, sans-serif=Geneva, Arial, Helvetica, sans-serif"; + +var defaultSizes = "9;10;12;14;16;18;24;xx-small;x-small;small;medium;large;x-large;xx-large;smaller;larger"; +var defaultMeasurement = "+pixels=px;points=pt;inches=in;centimetres=cm;millimetres=mm;picas=pc;ems=em;exs=ex;%"; +var defaultSpacingMeasurement = "pixels=px;points=pt;inches=in;centimetres=cm;millimetres=mm;picas=pc;+ems=em;exs=ex;%"; +var defaultIndentMeasurement = "pixels=px;+points=pt;inches=in;centimetres=cm;millimetres=mm;picas=pc;ems=em;exs=ex;%"; +var defaultWeight = "normal;bold;bolder;lighter;100;200;300;400;500;600;700;800;900"; +var defaultTextStyle = "normal;italic;oblique"; +var defaultVariant = "normal;small-caps"; +var defaultLineHeight = "normal"; +var defaultAttachment = "fixed;scroll"; +var defaultRepeat = "no-repeat;repeat;repeat-x;repeat-y"; +var defaultPosH = "left;center;right"; +var defaultPosV = "top;center;bottom"; +var defaultVAlign = "baseline;sub;super;top;text-top;middle;bottom;text-bottom"; +var defaultDisplay = "inline;block;list-item;run-in;compact;marker;table;inline-table;table-row-group;table-header-group;table-footer-group;table-row;table-column-group;table-column;table-cell;table-caption;none"; +var defaultBorderStyle = "none;solid;dashed;dotted;double;groove;ridge;inset;outset"; +var defaultBorderWidth = "thin;medium;thick"; +var defaultListType = "disc;circle;square;decimal;lower-roman;upper-roman;lower-alpha;upper-alpha;none"; + +function init() { + var ce = document.getElementById('container'), h; + + ce.style.cssText = tinyMCEPopup.getWindowArg('style_text'); + + h = getBrowserHTML('background_image_browser','background_image','image','advimage'); + document.getElementById("background_image_browser").innerHTML = h; + + document.getElementById('text_color_pickcontainer').innerHTML = getColorPickerHTML('text_color_pick','text_color'); + document.getElementById('background_color_pickcontainer').innerHTML = getColorPickerHTML('background_color_pick','background_color'); + document.getElementById('border_color_top_pickcontainer').innerHTML = getColorPickerHTML('border_color_top_pick','border_color_top'); + document.getElementById('border_color_right_pickcontainer').innerHTML = getColorPickerHTML('border_color_right_pick','border_color_right'); + document.getElementById('border_color_bottom_pickcontainer').innerHTML = getColorPickerHTML('border_color_bottom_pick','border_color_bottom'); + document.getElementById('border_color_left_pickcontainer').innerHTML = getColorPickerHTML('border_color_left_pick','border_color_left'); + + fillSelect(0, 'text_font', 'style_font', defaultFonts, ';', true); + fillSelect(0, 'text_size', 'style_font_size', defaultSizes, ';', true); + fillSelect(0, 'text_size_measurement', 'style_font_size_measurement', defaultMeasurement, ';', true); + fillSelect(0, 'text_case', 'style_text_case', "capitalize;uppercase;lowercase", ';', true); + fillSelect(0, 'text_weight', 'style_font_weight', defaultWeight, ';', true); + fillSelect(0, 'text_style', 'style_font_style', defaultTextStyle, ';', true); + fillSelect(0, 'text_variant', 'style_font_variant', defaultVariant, ';', true); + fillSelect(0, 'text_lineheight', 'style_font_line_height', defaultLineHeight, ';', true); + fillSelect(0, 'text_lineheight_measurement', 'style_font_line_height_measurement', defaultMeasurement, ';', true); + + fillSelect(0, 'background_attachment', 'style_background_attachment', defaultAttachment, ';', true); + fillSelect(0, 'background_repeat', 'style_background_repeat', defaultRepeat, ';', true); + + fillSelect(0, 'background_hpos_measurement', 'style_background_hpos_measurement', defaultMeasurement, ';', true); + fillSelect(0, 'background_vpos_measurement', 'style_background_vpos_measurement', defaultMeasurement, ';', true); + + fillSelect(0, 'background_hpos', 'style_background_hpos', defaultPosH, ';', true); + fillSelect(0, 'background_vpos', 'style_background_vpos', defaultPosV, ';', true); + + fillSelect(0, 'block_wordspacing', 'style_wordspacing', 'normal', ';', true); + fillSelect(0, 'block_wordspacing_measurement', 'style_wordspacing_measurement', defaultSpacingMeasurement, ';', true); + fillSelect(0, 'block_letterspacing', 'style_letterspacing', 'normal', ';', true); + fillSelect(0, 'block_letterspacing_measurement', 'style_letterspacing_measurement', defaultSpacingMeasurement, ';', true); + fillSelect(0, 'block_vertical_alignment', 'style_vertical_alignment', defaultVAlign, ';', true); + fillSelect(0, 'block_text_align', 'style_text_align', "left;right;center;justify", ';', true); + fillSelect(0, 'block_whitespace', 'style_whitespace', "normal;pre;nowrap", ';', true); + fillSelect(0, 'block_display', 'style_display', defaultDisplay, ';', true); + fillSelect(0, 'block_text_indent_measurement', 'style_text_indent_measurement', defaultIndentMeasurement, ';', true); + + fillSelect(0, 'box_width_measurement', 'style_box_width_measurement', defaultMeasurement, ';', true); + fillSelect(0, 'box_height_measurement', 'style_box_height_measurement', defaultMeasurement, ';', true); + fillSelect(0, 'box_float', 'style_float', 'left;right;none', ';', true); + fillSelect(0, 'box_clear', 'style_clear', 'left;right;both;none', ';', true); + fillSelect(0, 'box_padding_left_measurement', 'style_padding_left_measurement', defaultMeasurement, ';', true); + fillSelect(0, 'box_padding_top_measurement', 'style_padding_top_measurement', defaultMeasurement, ';', true); + fillSelect(0, 'box_padding_bottom_measurement', 'style_padding_bottom_measurement', defaultMeasurement, ';', true); + fillSelect(0, 'box_padding_right_measurement', 'style_padding_right_measurement', defaultMeasurement, ';', true); + fillSelect(0, 'box_margin_left_measurement', 'style_margin_left_measurement', defaultMeasurement, ';', true); + fillSelect(0, 'box_margin_top_measurement', 'style_margin_top_measurement', defaultMeasurement, ';', true); + fillSelect(0, 'box_margin_bottom_measurement', 'style_margin_bottom_measurement', defaultMeasurement, ';', true); + fillSelect(0, 'box_margin_right_measurement', 'style_margin_right_measurement', defaultMeasurement, ';', true); + + fillSelect(0, 'border_style_top', 'style_border_style_top', defaultBorderStyle, ';', true); + fillSelect(0, 'border_style_right', 'style_border_style_right', defaultBorderStyle, ';', true); + fillSelect(0, 'border_style_bottom', 'style_border_style_bottom', defaultBorderStyle, ';', true); + fillSelect(0, 'border_style_left', 'style_border_style_left', defaultBorderStyle, ';', true); + + fillSelect(0, 'border_width_top', 'style_border_width_top', defaultBorderWidth, ';', true); + fillSelect(0, 'border_width_right', 'style_border_width_right', defaultBorderWidth, ';', true); + fillSelect(0, 'border_width_bottom', 'style_border_width_bottom', defaultBorderWidth, ';', true); + fillSelect(0, 'border_width_left', 'style_border_width_left', defaultBorderWidth, ';', true); + + fillSelect(0, 'border_width_top_measurement', 'style_border_width_top_measurement', defaultMeasurement, ';', true); + fillSelect(0, 'border_width_right_measurement', 'style_border_width_right_measurement', defaultMeasurement, ';', true); + fillSelect(0, 'border_width_bottom_measurement', 'style_border_width_bottom_measurement', defaultMeasurement, ';', true); + fillSelect(0, 'border_width_left_measurement', 'style_border_width_left_measurement', defaultMeasurement, ';', true); + + fillSelect(0, 'list_type', 'style_list_type', defaultListType, ';', true); + fillSelect(0, 'list_position', 'style_list_position', "inside;outside", ';', true); + + fillSelect(0, 'positioning_type', 'style_positioning_type', "absolute;relative;static", ';', true); + fillSelect(0, 'positioning_visibility', 'style_positioning_visibility', "inherit;visible;hidden", ';', true); + + fillSelect(0, 'positioning_width_measurement', 'style_positioning_width_measurement', defaultMeasurement, ';', true); + fillSelect(0, 'positioning_height_measurement', 'style_positioning_height_measurement', defaultMeasurement, ';', true); + fillSelect(0, 'positioning_overflow', 'style_positioning_overflow', "visible;hidden;scroll;auto", ';', true); + + fillSelect(0, 'positioning_placement_top_measurement', 'style_positioning_placement_top_measurement', defaultMeasurement, ';', true); + fillSelect(0, 'positioning_placement_right_measurement', 'style_positioning_placement_right_measurement', defaultMeasurement, ';', true); + fillSelect(0, 'positioning_placement_bottom_measurement', 'style_positioning_placement_bottom_measurement', defaultMeasurement, ';', true); + fillSelect(0, 'positioning_placement_left_measurement', 'style_positioning_placement_left_measurement', defaultMeasurement, ';', true); + + fillSelect(0, 'positioning_clip_top_measurement', 'style_positioning_clip_top_measurement', defaultMeasurement, ';', true); + fillSelect(0, 'positioning_clip_right_measurement', 'style_positioning_clip_right_measurement', defaultMeasurement, ';', true); + fillSelect(0, 'positioning_clip_bottom_measurement', 'style_positioning_clip_bottom_measurement', defaultMeasurement, ';', true); + fillSelect(0, 'positioning_clip_left_measurement', 'style_positioning_clip_left_measurement', defaultMeasurement, ';', true); + + TinyMCE_EditableSelects.init(); + setupFormData(); + showDisabledControls(); +} + +function setupFormData() { + var ce = document.getElementById('container'), f = document.forms[0], s, b, i; + + // Setup text fields + + selectByValue(f, 'text_font', ce.style.fontFamily, true, true); + selectByValue(f, 'text_size', getNum(ce.style.fontSize), true, true); + selectByValue(f, 'text_size_measurement', getMeasurement(ce.style.fontSize)); + selectByValue(f, 'text_weight', ce.style.fontWeight, true, true); + selectByValue(f, 'text_style', ce.style.fontStyle, true, true); + selectByValue(f, 'text_lineheight', getNum(ce.style.lineHeight), true, true); + selectByValue(f, 'text_lineheight_measurement', getMeasurement(ce.style.lineHeight)); + selectByValue(f, 'text_case', ce.style.textTransform, true, true); + selectByValue(f, 'text_variant', ce.style.fontVariant, true, true); + f.text_color.value = tinyMCEPopup.editor.dom.toHex(ce.style.color); + updateColor('text_color_pick', 'text_color'); + f.text_underline.checked = inStr(ce.style.textDecoration, 'underline'); + f.text_overline.checked = inStr(ce.style.textDecoration, 'overline'); + f.text_linethrough.checked = inStr(ce.style.textDecoration, 'line-through'); + f.text_blink.checked = inStr(ce.style.textDecoration, 'blink'); + + // Setup background fields + + f.background_color.value = tinyMCEPopup.editor.dom.toHex(ce.style.backgroundColor); + updateColor('background_color_pick', 'background_color'); + f.background_image.value = ce.style.backgroundImage.replace(new RegExp("url\\('?([^']*)'?\\)", 'gi'), "$1"); + selectByValue(f, 'background_repeat', ce.style.backgroundRepeat, true, true); + selectByValue(f, 'background_attachment', ce.style.backgroundAttachment, true, true); + selectByValue(f, 'background_hpos', getNum(getVal(ce.style.backgroundPosition, 0)), true, true); + selectByValue(f, 'background_hpos_measurement', getMeasurement(getVal(ce.style.backgroundPosition, 0))); + selectByValue(f, 'background_vpos', getNum(getVal(ce.style.backgroundPosition, 1)), true, true); + selectByValue(f, 'background_vpos_measurement', getMeasurement(getVal(ce.style.backgroundPosition, 1))); + + // Setup block fields + + selectByValue(f, 'block_wordspacing', getNum(ce.style.wordSpacing), true, true); + selectByValue(f, 'block_wordspacing_measurement', getMeasurement(ce.style.wordSpacing)); + selectByValue(f, 'block_letterspacing', getNum(ce.style.letterSpacing), true, true); + selectByValue(f, 'block_letterspacing_measurement', getMeasurement(ce.style.letterSpacing)); + selectByValue(f, 'block_vertical_alignment', ce.style.verticalAlign, true, true); + selectByValue(f, 'block_text_align', ce.style.textAlign, true, true); + f.block_text_indent.value = getNum(ce.style.textIndent); + selectByValue(f, 'block_text_indent_measurement', getMeasurement(ce.style.textIndent)); + selectByValue(f, 'block_whitespace', ce.style.whiteSpace, true, true); + selectByValue(f, 'block_display', ce.style.display, true, true); + + // Setup box fields + + f.box_width.value = getNum(ce.style.width); + selectByValue(f, 'box_width_measurement', getMeasurement(ce.style.width)); + + f.box_height.value = getNum(ce.style.height); + selectByValue(f, 'box_height_measurement', getMeasurement(ce.style.height)); + + if (tinymce.isGecko) + selectByValue(f, 'box_float', ce.style.cssFloat, true, true); + else + selectByValue(f, 'box_float', ce.style.styleFloat, true, true); + + selectByValue(f, 'box_clear', ce.style.clear, true, true); + + setupBox(f, ce, 'box_padding', 'padding', ''); + setupBox(f, ce, 'box_margin', 'margin', ''); + + // Setup border fields + + setupBox(f, ce, 'border_style', 'border', 'Style'); + setupBox(f, ce, 'border_width', 'border', 'Width'); + setupBox(f, ce, 'border_color', 'border', 'Color'); + + updateColor('border_color_top_pick', 'border_color_top'); + updateColor('border_color_right_pick', 'border_color_right'); + updateColor('border_color_bottom_pick', 'border_color_bottom'); + updateColor('border_color_left_pick', 'border_color_left'); + + f.elements.border_color_top.value = tinyMCEPopup.editor.dom.toHex(f.elements.border_color_top.value); + f.elements.border_color_right.value = tinyMCEPopup.editor.dom.toHex(f.elements.border_color_right.value); + f.elements.border_color_bottom.value = tinyMCEPopup.editor.dom.toHex(f.elements.border_color_bottom.value); + f.elements.border_color_left.value = tinyMCEPopup.editor.dom.toHex(f.elements.border_color_left.value); + + // Setup list fields + + selectByValue(f, 'list_type', ce.style.listStyleType, true, true); + selectByValue(f, 'list_position', ce.style.listStylePosition, true, true); + f.list_bullet_image.value = ce.style.listStyleImage.replace(new RegExp("url\\('?([^']*)'?\\)", 'gi'), "$1"); + + // Setup box fields + + selectByValue(f, 'positioning_type', ce.style.position, true, true); + selectByValue(f, 'positioning_visibility', ce.style.visibility, true, true); + selectByValue(f, 'positioning_overflow', ce.style.overflow, true, true); + f.positioning_zindex.value = ce.style.zIndex ? ce.style.zIndex : ""; + + f.positioning_width.value = getNum(ce.style.width); + selectByValue(f, 'positioning_width_measurement', getMeasurement(ce.style.width)); + + f.positioning_height.value = getNum(ce.style.height); + selectByValue(f, 'positioning_height_measurement', getMeasurement(ce.style.height)); + + setupBox(f, ce, 'positioning_placement', '', '', ['top', 'right', 'bottom', 'left']); + + s = ce.style.clip.replace(new RegExp("rect\\('?([^']*)'?\\)", 'gi'), "$1"); + s = s.replace(/,/g, ' '); + + if (!hasEqualValues([getVal(s, 0), getVal(s, 1), getVal(s, 2), getVal(s, 3)])) { + f.positioning_clip_top.value = getNum(getVal(s, 0)); + selectByValue(f, 'positioning_clip_top_measurement', getMeasurement(getVal(s, 0))); + f.positioning_clip_right.value = getNum(getVal(s, 1)); + selectByValue(f, 'positioning_clip_right_measurement', getMeasurement(getVal(s, 1))); + f.positioning_clip_bottom.value = getNum(getVal(s, 2)); + selectByValue(f, 'positioning_clip_bottom_measurement', getMeasurement(getVal(s, 2))); + f.positioning_clip_left.value = getNum(getVal(s, 3)); + selectByValue(f, 'positioning_clip_left_measurement', getMeasurement(getVal(s, 3))); + } else { + f.positioning_clip_top.value = getNum(getVal(s, 0)); + selectByValue(f, 'positioning_clip_top_measurement', getMeasurement(getVal(s, 0))); + f.positioning_clip_right.value = f.positioning_clip_bottom.value = f.positioning_clip_left.value; + } + +// setupBox(f, ce, '', 'border', 'Color'); +} + +function getMeasurement(s) { + return s.replace(/^([0-9.]+)(.*)$/, "$2"); +} + +function getNum(s) { + if (new RegExp('^(?:[0-9.]+)(?:[a-z%]+)$', 'gi').test(s)) + return s.replace(/[^0-9.]/g, ''); + + return s; +} + +function inStr(s, n) { + return new RegExp(n, 'gi').test(s); +} + +function getVal(s, i) { + var a = s.split(' '); + + if (a.length > 1) + return a[i]; + + return ""; +} + +function setValue(f, n, v) { + if (f.elements[n].type == "text") + f.elements[n].value = v; + else + selectByValue(f, n, v, true, true); +} + +function setupBox(f, ce, fp, pr, sf, b) { + if (typeof(b) == "undefined") + b = ['Top', 'Right', 'Bottom', 'Left']; + + if (isSame(ce, pr, sf, b)) { + f.elements[fp + "_same"].checked = true; + + setValue(f, fp + "_top", getNum(ce.style[pr + b[0] + sf])); + f.elements[fp + "_top"].disabled = false; + + f.elements[fp + "_right"].value = ""; + f.elements[fp + "_right"].disabled = true; + f.elements[fp + "_bottom"].value = ""; + f.elements[fp + "_bottom"].disabled = true; + f.elements[fp + "_left"].value = ""; + f.elements[fp + "_left"].disabled = true; + + if (f.elements[fp + "_top_measurement"]) { + selectByValue(f, fp + '_top_measurement', getMeasurement(ce.style[pr + b[0] + sf])); + f.elements[fp + "_left_measurement"].disabled = true; + f.elements[fp + "_bottom_measurement"].disabled = true; + f.elements[fp + "_right_measurement"].disabled = true; + } + } else { + f.elements[fp + "_same"].checked = false; + + setValue(f, fp + "_top", getNum(ce.style[pr + b[0] + sf])); + f.elements[fp + "_top"].disabled = false; + + setValue(f, fp + "_right", getNum(ce.style[pr + b[1] + sf])); + f.elements[fp + "_right"].disabled = false; + + setValue(f, fp + "_bottom", getNum(ce.style[pr + b[2] + sf])); + f.elements[fp + "_bottom"].disabled = false; + + setValue(f, fp + "_left", getNum(ce.style[pr + b[3] + sf])); + f.elements[fp + "_left"].disabled = false; + + if (f.elements[fp + "_top_measurement"]) { + selectByValue(f, fp + '_top_measurement', getMeasurement(ce.style[pr + b[0] + sf])); + selectByValue(f, fp + '_right_measurement', getMeasurement(ce.style[pr + b[1] + sf])); + selectByValue(f, fp + '_bottom_measurement', getMeasurement(ce.style[pr + b[2] + sf])); + selectByValue(f, fp + '_left_measurement', getMeasurement(ce.style[pr + b[3] + sf])); + f.elements[fp + "_left_measurement"].disabled = false; + f.elements[fp + "_bottom_measurement"].disabled = false; + f.elements[fp + "_right_measurement"].disabled = false; + } + } +} + +function isSame(e, pr, sf, b) { + var a = [], i, x; + + if (typeof(b) == "undefined") + b = ['Top', 'Right', 'Bottom', 'Left']; + + if (typeof(sf) == "undefined" || sf == null) + sf = ""; + + a[0] = e.style[pr + b[0] + sf]; + a[1] = e.style[pr + b[1] + sf]; + a[2] = e.style[pr + b[2] + sf]; + a[3] = e.style[pr + b[3] + sf]; + + for (i=0; i 0 ? s.substring(1) : s; + + if (f.text_none.checked) + s = "none"; + + ce.style.textDecoration = s; + + // Build background styles + + ce.style.backgroundColor = f.background_color.value; + ce.style.backgroundImage = f.background_image.value != "" ? "url(" + f.background_image.value + ")" : ""; + ce.style.backgroundRepeat = f.background_repeat.value; + ce.style.backgroundAttachment = f.background_attachment.value; + + if (f.background_hpos.value != "") { + s = ""; + s += f.background_hpos.value + (isNum(f.background_hpos.value) ? f.background_hpos_measurement.value : "") + " "; + s += f.background_vpos.value + (isNum(f.background_vpos.value) ? f.background_vpos_measurement.value : ""); + ce.style.backgroundPosition = s; + } + + // Build block styles + + ce.style.wordSpacing = f.block_wordspacing.value + (isNum(f.block_wordspacing.value) ? f.block_wordspacing_measurement.value : ""); + ce.style.letterSpacing = f.block_letterspacing.value + (isNum(f.block_letterspacing.value) ? f.block_letterspacing_measurement.value : ""); + ce.style.verticalAlign = f.block_vertical_alignment.value; + ce.style.textAlign = f.block_text_align.value; + ce.style.textIndent = f.block_text_indent.value + (isNum(f.block_text_indent.value) ? f.block_text_indent_measurement.value : ""); + ce.style.whiteSpace = f.block_whitespace.value; + ce.style.display = f.block_display.value; + + // Build box styles + + ce.style.width = f.box_width.value + (isNum(f.box_width.value) ? f.box_width_measurement.value : ""); + ce.style.height = f.box_height.value + (isNum(f.box_height.value) ? f.box_height_measurement.value : ""); + ce.style.styleFloat = f.box_float.value; + + if (tinymce.isGecko) + ce.style.cssFloat = f.box_float.value; + + ce.style.clear = f.box_clear.value; + + if (!f.box_padding_same.checked) { + ce.style.paddingTop = f.box_padding_top.value + (isNum(f.box_padding_top.value) ? f.box_padding_top_measurement.value : ""); + ce.style.paddingRight = f.box_padding_right.value + (isNum(f.box_padding_right.value) ? f.box_padding_right_measurement.value : ""); + ce.style.paddingBottom = f.box_padding_bottom.value + (isNum(f.box_padding_bottom.value) ? f.box_padding_bottom_measurement.value : ""); + ce.style.paddingLeft = f.box_padding_left.value + (isNum(f.box_padding_left.value) ? f.box_padding_left_measurement.value : ""); + } else + ce.style.padding = f.box_padding_top.value + (isNum(f.box_padding_top.value) ? f.box_padding_top_measurement.value : ""); + + if (!f.box_margin_same.checked) { + ce.style.marginTop = f.box_margin_top.value + (isNum(f.box_margin_top.value) ? f.box_margin_top_measurement.value : ""); + ce.style.marginRight = f.box_margin_right.value + (isNum(f.box_margin_right.value) ? f.box_margin_right_measurement.value : ""); + ce.style.marginBottom = f.box_margin_bottom.value + (isNum(f.box_margin_bottom.value) ? f.box_margin_bottom_measurement.value : ""); + ce.style.marginLeft = f.box_margin_left.value + (isNum(f.box_margin_left.value) ? f.box_margin_left_measurement.value : ""); + } else + ce.style.margin = f.box_margin_top.value + (isNum(f.box_margin_top.value) ? f.box_margin_top_measurement.value : ""); + + // Build border styles + + if (!f.border_style_same.checked) { + ce.style.borderTopStyle = f.border_style_top.value; + ce.style.borderRightStyle = f.border_style_right.value; + ce.style.borderBottomStyle = f.border_style_bottom.value; + ce.style.borderLeftStyle = f.border_style_left.value; + } else + ce.style.borderStyle = f.border_style_top.value; + + if (!f.border_width_same.checked) { + ce.style.borderTopWidth = f.border_width_top.value + (isNum(f.border_width_top.value) ? f.border_width_top_measurement.value : ""); + ce.style.borderRightWidth = f.border_width_right.value + (isNum(f.border_width_right.value) ? f.border_width_right_measurement.value : ""); + ce.style.borderBottomWidth = f.border_width_bottom.value + (isNum(f.border_width_bottom.value) ? f.border_width_bottom_measurement.value : ""); + ce.style.borderLeftWidth = f.border_width_left.value + (isNum(f.border_width_left.value) ? f.border_width_left_measurement.value : ""); + } else + ce.style.borderWidth = f.border_width_top.value + (isNum(f.border_width_top.value) ? f.border_width_top_measurement.value : ""); + + if (!f.border_color_same.checked) { + ce.style.borderTopColor = f.border_color_top.value; + ce.style.borderRightColor = f.border_color_right.value; + ce.style.borderBottomColor = f.border_color_bottom.value; + ce.style.borderLeftColor = f.border_color_left.value; + } else + ce.style.borderColor = f.border_color_top.value; + + // Build list styles + + ce.style.listStyleType = f.list_type.value; + ce.style.listStylePosition = f.list_position.value; + ce.style.listStyleImage = f.list_bullet_image.value != "" ? "url(" + f.list_bullet_image.value + ")" : ""; + + // Build positioning styles + + ce.style.position = f.positioning_type.value; + ce.style.visibility = f.positioning_visibility.value; + + if (ce.style.width == "") + ce.style.width = f.positioning_width.value + (isNum(f.positioning_width.value) ? f.positioning_width_measurement.value : ""); + + if (ce.style.height == "") + ce.style.height = f.positioning_height.value + (isNum(f.positioning_height.value) ? f.positioning_height_measurement.value : ""); + + ce.style.zIndex = f.positioning_zindex.value; + ce.style.overflow = f.positioning_overflow.value; + + if (!f.positioning_placement_same.checked) { + ce.style.top = f.positioning_placement_top.value + (isNum(f.positioning_placement_top.value) ? f.positioning_placement_top_measurement.value : ""); + ce.style.right = f.positioning_placement_right.value + (isNum(f.positioning_placement_right.value) ? f.positioning_placement_right_measurement.value : ""); + ce.style.bottom = f.positioning_placement_bottom.value + (isNum(f.positioning_placement_bottom.value) ? f.positioning_placement_bottom_measurement.value : ""); + ce.style.left = f.positioning_placement_left.value + (isNum(f.positioning_placement_left.value) ? f.positioning_placement_left_measurement.value : ""); + } else { + s = f.positioning_placement_top.value + (isNum(f.positioning_placement_top.value) ? f.positioning_placement_top_measurement.value : ""); + ce.style.top = s; + ce.style.right = s; + ce.style.bottom = s; + ce.style.left = s; + } + + if (!f.positioning_clip_same.checked) { + s = "rect("; + s += (isNum(f.positioning_clip_top.value) ? f.positioning_clip_top.value + f.positioning_clip_top_measurement.value : "auto") + " "; + s += (isNum(f.positioning_clip_right.value) ? f.positioning_clip_right.value + f.positioning_clip_right_measurement.value : "auto") + " "; + s += (isNum(f.positioning_clip_bottom.value) ? f.positioning_clip_bottom.value + f.positioning_clip_bottom_measurement.value : "auto") + " "; + s += (isNum(f.positioning_clip_left.value) ? f.positioning_clip_left.value + f.positioning_clip_left_measurement.value : "auto"); + s += ")"; + + if (s != "rect(auto auto auto auto)") + ce.style.clip = s; + } else { + s = "rect("; + t = isNum(f.positioning_clip_top.value) ? f.positioning_clip_top.value + f.positioning_clip_top_measurement.value : "auto"; + s += t + " "; + s += t + " "; + s += t + " "; + s += t + ")"; + + if (s != "rect(auto auto auto auto)") + ce.style.clip = s; + } + + ce.style.cssText = ce.style.cssText; +} + +function isNum(s) { + return new RegExp('[0-9]+', 'g').test(s); +} + +function showDisabledControls() { + var f = document.forms, i, a; + + for (i=0; i 1) { + addSelectValue(f, s, p[0], p[1]); + + if (se) + selectByValue(f, s, p[1]); + } else { + addSelectValue(f, s, p[0], p[0]); + + if (se) + selectByValue(f, s, p[0]); + } + } +} + +function toggleSame(ce, pre) { + var el = document.forms[0].elements, i; + + if (ce.checked) { + el[pre + "_top"].disabled = false; + el[pre + "_right"].disabled = true; + el[pre + "_bottom"].disabled = true; + el[pre + "_left"].disabled = true; + + if (el[pre + "_top_measurement"]) { + el[pre + "_top_measurement"].disabled = false; + el[pre + "_right_measurement"].disabled = true; + el[pre + "_bottom_measurement"].disabled = true; + el[pre + "_left_measurement"].disabled = true; + } + } else { + el[pre + "_top"].disabled = false; + el[pre + "_right"].disabled = false; + el[pre + "_bottom"].disabled = false; + el[pre + "_left"].disabled = false; + + if (el[pre + "_top_measurement"]) { + el[pre + "_top_measurement"].disabled = false; + el[pre + "_right_measurement"].disabled = false; + el[pre + "_bottom_measurement"].disabled = false; + el[pre + "_left_measurement"].disabled = false; + } + } + + showDisabledControls(); +} + +function synch(fr, to) { + var f = document.forms[0]; + + f.elements[to].value = f.elements[fr].value; + + if (f.elements[fr + "_measurement"]) + selectByValue(f, to + "_measurement", f.elements[fr + "_measurement"].value); +} + +tinyMCEPopup.onInit.add(init); diff --git a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/style/langs/bg_dlg.js b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/style/langs/bg_dlg.js old mode 100644 new mode 100755 index 4d1271e025..0bb009c723 --- a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/style/langs/bg_dlg.js +++ b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/style/langs/bg_dlg.js @@ -1,63 +1,63 @@ -tinyMCE.addI18n('bg.style_dlg',{ -title:"\u0420\u0435\u0434\u0430\u043A\u0442\u0438\u0440\u0430\u0439 CSS \u0441\u0442\u0438\u043B", -apply:"\u041F\u043E\u0442\u0432\u044A\u0440\u0434\u0438", -text_tab:"\u0422\u0435\u043A\u0441\u0442", -background_tab:"\u0424\u043E\u043D", -block_tab:"\u0411\u043B\u043E\u043A", -box_tab:"\u041A\u0443\u0442\u0438\u044F", -border_tab:"\u0420\u0430\u043C\u043A\u0430", -list_tab:"\u0421\u043F\u0438\u0441\u044A\u043A", -positioning_tab:"\u041F\u043E\u0437\u0438\u0446\u0438\u043E\u043D\u0438\u0440\u0430\u043D\u0435", -text_props:"\u0422\u0435\u043A\u0441\u0442", -text_font:"\u0428\u0440\u0438\u0444\u0442", -text_size:"\u0420\u0430\u0437\u043C\u0435\u0440", -text_weight:"\u0422\u0435\u0433\u043B\u043E", -text_style:"\u0421\u0442\u0438\u043B", -text_variant:"\u041F\u0440\u043E\u043C\u0435\u043D\u043B\u0438\u0432", -text_lineheight:"\u0412\u0438\u0441\u043E\u0447\u0438\u043D\u0430 \u043D\u0430 \u0440\u0435\u0434\u0430", -text_case:"\u0420\u0435\u0433\u0438\u0441\u0442\u044A\u0440", -text_color:"\u0426\u0432\u044F\u0442", -text_decoration:"\u0414\u0435\u043A\u043E\u0440\u0430\u0446\u0438\u044F", -text_overline:"\u043D\u0430\u0434\u0447\u0435\u0440\u0442\u0430\u043D", -text_underline:"\u043F\u043E\u0434\u0447\u0435\u0440\u0442\u0430\u043D", -text_striketrough:"\u0437\u0430\u0447\u0435\u0440\u0442\u0430\u043D", -text_blink:"\u043C\u0438\u0433\u0430", -text_none:"\u043D\u0438\u0449\u043E", -background_color:"\u0424\u043E\u043D\u0438\u0432 \u0446\u0432\u044F\u0442", -background_image:"\u0424\u043E\u043D\u043E\u0432\u0430 \u043A\u0430\u0440\u0442\u0438\u043D\u043A\u0430", -background_repeat:"\u041F\u043E\u0432\u0442\u043E\u0440\u0438", -background_attachment:"\u041F\u0440\u0438\u043A\u0440\u0435\u043F\u0438", -background_hpos:"\u0425\u043E\u0440\u0438\u0437\u043E\u043D\u0442\u0430\u043B\u043D\u0430 \u043F\u043E\u0437\u0438\u0446\u0438\u044F", -background_vpos:"\u0412\u0435\u0440\u0442\u0438\u043A\u0430\u043B\u043D\u0430 \u043F\u043E\u0437\u0438\u0446\u0438\u044F", -block_wordspacing:"\u0420\u0430\u0437\u0441\u0442\u043E\u044F\u043D\u0438\u0435 \u043C\u0435\u0436\u0434\u0443 \u0434\u0443\u043C\u0438\u0442\u0435", -block_letterspacing:"\u0420\u0430\u0437\u0441\u0442\u043E\u044F\u043D\u0438\u0435 \u043C\u0435\u0436\u0434\u0443 \u0431\u0443\u043A\u0432\u0438\u0442\u0435", -block_vertical_alignment:"\u0412\u0435\u0440\u0442\u0438\u043A\u0430\u043B\u043D\u043E \u043F\u043E\u0434\u0440\u0430\u0432\u043D\u044F\u0432\u0430\u043D\u0435", -block_text_align:"\u041F\u043E\u0434\u0440\u0430\u0432\u043D\u044F\u0432\u0430\u043D\u0435 \u043D\u0430 \u0442\u0435\u043A\u0441\u0442\u0430", -block_text_indent:"\u041E\u0442\u0441\u0442\u044A\u043F \u043D\u0430 \u0442\u0435\u043A\u0441\u0442\u0430", -block_whitespace:"\u0418\u043D\u0442\u0435\u0440\u0432\u0430\u043B", -block_display:"\u041F\u043E\u043A\u0430\u0437\u0432\u0430\u043D\u0435", -box_width:"\u0428\u0438\u0440\u0438\u043D\u0430", -box_height:"\u0412\u0438\u0441\u043E\u0447\u0438\u043D\u0430", -box_float:"Float", -box_clear:"\u0418\u0437\u0447\u0438\u0441\u0442\u0438", -padding:"Padding", -same:"\u0417\u0430 \u0432\u0441\u0438\u0447\u043A\u0438", -top:"\u0413\u043E\u0440\u0435", -right:"\u0414\u044F\u0441\u043D\u043E", -bottom:"\u0414\u043E\u043B\u0443", -left:"\u041B\u044F\u0432\u043E", -margin:"Margin", -style:"\u0421\u0442\u0438\u043B", -width:"\u0428\u0438\u0440\u0438\u043D\u0430", -height:"\u0412\u0438\u0441\u043E\u0447\u0438\u043D\u0430", -color:"\u0426\u0432\u044F\u0442", -list_type:"\u0422\u0438\u043F", -bullet_image:"\u0413\u0440\u0430\u0444\u0438\u043A\u0430 \u043D\u0430 \u0432\u043E\u0434\u0430\u0447\u0438\u0442\u0435", -position:"\u041F\u043E\u0437\u0438\u0446\u0438\u044F", -positioning_type:"\u0422\u0438\u043F", -visibility:"\u0412\u0438\u0434\u0438\u043C\u043E\u0441\u0442", -zindex:"Z-index", -overflow:"Overflow", -placement:"\u0420\u0430\u0437\u043F\u043E\u043B\u043E\u0436\u0435\u043D\u0438\u0435", -clip:"\u041E\u0442\u0440\u0435\u0436\u0438" +tinyMCE.addI18n('bg.style_dlg',{ +title:"\u0420\u0435\u0434\u0430\u043A\u0442\u0438\u0440\u0430\u0439 CSS \u0441\u0442\u0438\u043B", +apply:"\u041F\u043E\u0442\u0432\u044A\u0440\u0434\u0438", +text_tab:"\u0422\u0435\u043A\u0441\u0442", +background_tab:"\u0424\u043E\u043D", +block_tab:"\u0411\u043B\u043E\u043A", +box_tab:"\u041A\u0443\u0442\u0438\u044F", +border_tab:"\u0420\u0430\u043C\u043A\u0430", +list_tab:"\u0421\u043F\u0438\u0441\u044A\u043A", +positioning_tab:"\u041F\u043E\u0437\u0438\u0446\u0438\u043E\u043D\u0438\u0440\u0430\u043D\u0435", +text_props:"\u0422\u0435\u043A\u0441\u0442", +text_font:"\u0428\u0440\u0438\u0444\u0442", +text_size:"\u0420\u0430\u0437\u043C\u0435\u0440", +text_weight:"\u0422\u0435\u0433\u043B\u043E", +text_style:"\u0421\u0442\u0438\u043B", +text_variant:"\u041F\u0440\u043E\u043C\u0435\u043D\u043B\u0438\u0432", +text_lineheight:"\u0412\u0438\u0441\u043E\u0447\u0438\u043D\u0430 \u043D\u0430 \u0440\u0435\u0434\u0430", +text_case:"\u0420\u0435\u0433\u0438\u0441\u0442\u044A\u0440", +text_color:"\u0426\u0432\u044F\u0442", +text_decoration:"\u0414\u0435\u043A\u043E\u0440\u0430\u0446\u0438\u044F", +text_overline:"\u043D\u0430\u0434\u0447\u0435\u0440\u0442\u0430\u043D", +text_underline:"\u043F\u043E\u0434\u0447\u0435\u0440\u0442\u0430\u043D", +text_striketrough:"\u0437\u0430\u0447\u0435\u0440\u0442\u0430\u043D", +text_blink:"\u043C\u0438\u0433\u0430", +text_none:"\u043D\u0438\u0449\u043E", +background_color:"\u0424\u043E\u043D\u0438\u0432 \u0446\u0432\u044F\u0442", +background_image:"\u0424\u043E\u043D\u043E\u0432\u0430 \u043A\u0430\u0440\u0442\u0438\u043D\u043A\u0430", +background_repeat:"\u041F\u043E\u0432\u0442\u043E\u0440\u0438", +background_attachment:"\u041F\u0440\u0438\u043A\u0440\u0435\u043F\u0438", +background_hpos:"\u0425\u043E\u0440\u0438\u0437\u043E\u043D\u0442\u0430\u043B\u043D\u0430 \u043F\u043E\u0437\u0438\u0446\u0438\u044F", +background_vpos:"\u0412\u0435\u0440\u0442\u0438\u043A\u0430\u043B\u043D\u0430 \u043F\u043E\u0437\u0438\u0446\u0438\u044F", +block_wordspacing:"\u0420\u0430\u0437\u0441\u0442\u043E\u044F\u043D\u0438\u0435 \u043C\u0435\u0436\u0434\u0443 \u0434\u0443\u043C\u0438\u0442\u0435", +block_letterspacing:"\u0420\u0430\u0437\u0441\u0442\u043E\u044F\u043D\u0438\u0435 \u043C\u0435\u0436\u0434\u0443 \u0431\u0443\u043A\u0432\u0438\u0442\u0435", +block_vertical_alignment:"\u0412\u0435\u0440\u0442\u0438\u043A\u0430\u043B\u043D\u043E \u043F\u043E\u0434\u0440\u0430\u0432\u043D\u044F\u0432\u0430\u043D\u0435", +block_text_align:"\u041F\u043E\u0434\u0440\u0430\u0432\u043D\u044F\u0432\u0430\u043D\u0435 \u043D\u0430 \u0442\u0435\u043A\u0441\u0442\u0430", +block_text_indent:"\u041E\u0442\u0441\u0442\u044A\u043F \u043D\u0430 \u0442\u0435\u043A\u0441\u0442\u0430", +block_whitespace:"\u0418\u043D\u0442\u0435\u0440\u0432\u0430\u043B", +block_display:"\u041F\u043E\u043A\u0430\u0437\u0432\u0430\u043D\u0435", +box_width:"\u0428\u0438\u0440\u0438\u043D\u0430", +box_height:"\u0412\u0438\u0441\u043E\u0447\u0438\u043D\u0430", +box_float:"Float", +box_clear:"\u0418\u0437\u0447\u0438\u0441\u0442\u0438", +padding:"Padding", +same:"\u0417\u0430 \u0432\u0441\u0438\u0447\u043A\u0438", +top:"\u0413\u043E\u0440\u0435", +right:"\u0414\u044F\u0441\u043D\u043E", +bottom:"\u0414\u043E\u043B\u0443", +left:"\u041B\u044F\u0432\u043E", +margin:"Margin", +style:"\u0421\u0442\u0438\u043B", +width:"\u0428\u0438\u0440\u0438\u043D\u0430", +height:"\u0412\u0438\u0441\u043E\u0447\u0438\u043D\u0430", +color:"\u0426\u0432\u044F\u0442", +list_type:"\u0422\u0438\u043F", +bullet_image:"\u0413\u0440\u0430\u0444\u0438\u043A\u0430 \u043D\u0430 \u0432\u043E\u0434\u0430\u0447\u0438\u0442\u0435", +position:"\u041F\u043E\u0437\u0438\u0446\u0438\u044F", +positioning_type:"\u0422\u0438\u043F", +visibility:"\u0412\u0438\u0434\u0438\u043C\u043E\u0441\u0442", +zindex:"Z-index", +overflow:"Overflow", +placement:"\u0420\u0430\u0437\u043F\u043E\u043B\u043E\u0436\u0435\u043D\u0438\u0435", +clip:"\u041E\u0442\u0440\u0435\u0436\u0438" }); \ No newline at end of file diff --git a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/style/langs/cs_dlg.js b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/style/langs/cs_dlg.js old mode 100644 new mode 100755 index 0f0a670a28..dff7a05770 --- a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/style/langs/cs_dlg.js +++ b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/style/langs/cs_dlg.js @@ -1,63 +1,63 @@ -tinyMCE.addI18n('cs.style_dlg',{ -title:"Upravit CSS styl", -apply:"Pou\u017E\u00EDt", -text_tab:"Text", -background_tab:"Pozad\u00ED", -block_tab:"Blok", -box_tab:"Box", -border_tab:"Ohrani\u010Den\u00ED", -list_tab:"Seznam", -positioning_tab:"Um\u00EDst\u011Bn\u00ED", -text_props:"Text", -text_font:"P\u00EDsmo", -text_size:"Velikost", -text_weight:"Tu\u010Dnost p\u00EDsma", -text_style:"Styl textu", -text_variant:"Varianta", -text_lineheight:"V\u00FD\u0161ka \u0159\u00E1dku", -text_case:"Velk\u00E1 p\u00EDsmena", -text_color:"Barva", -text_decoration:"Dekorace", -text_overline:"nadtr\u017Een\u00ED", -text_underline:"podtr\u017Een\u00ED", -text_striketrough:"p\u0159e\u0161krtnut\u00ED", -text_blink:"blik\u00E1n\u00ED", -text_none:"\u017E\u00E1dn\u00E1", -background_color:"Barva pozad\u00ED", -background_image:"Obr\u00E1zek pozad\u00ED", -background_repeat:"Opakov\u00E1n\u00ED", -background_attachment:"Rolov\u00E1n\u00ED", -background_hpos:"Horizont\u00E1ln\u00ED um\u00EDst\u011Bn\u00ED", -background_vpos:"Vertik\u00E1ln\u00ED um\u00EDst\u011Bn\u00ED", -block_wordspacing:"Rozestup slov", -block_letterspacing:"Rozestup znak\u016F", -block_vertical_alignment:"Vertik\u00E1ln\u00ED zarovn\u00E1n\u00ED", -block_text_align:"Zarovn\u00E1n\u00ED textu", -block_text_indent:"Odsazen\u00ED textu", -block_whitespace:"Zalamov\u00E1n\u00ED textu", -block_display:"Blokov\u00E9 zobrazen\u00ED", -box_width:"\u0160\u00ED\u0159ka", -box_height:"V\u00FD\u0161ka", -box_float:"Plovouc\u00ED", -box_clear:"Vy\u010Distit", -padding:"Odsazen\u00ED (padding)", -same:"Stejn\u00E9 pro v\u0161echny", -top:"Naho\u0159e", -right:"Vpravo", -bottom:"Dole", -left:"Vlevo", -margin:"Okraje (margin)", -style:"Styl", -width:"\u0160\u00ED\u0159ka", -height:"V\u00FD\u0161ka", -color:"Barva", -list_type:"Typ", -bullet_image:"Styl odr\u00E1\u017Eek", -position:"Um\u00EDst\u011Bn\u00ED", -positioning_type:"Typ", -visibility:"Viditelnost", -zindex:"Z-index", -overflow:"P\u0159ete\u010Den\u00ED (overflow)", -placement:"Um\u00EDst\u011Bni", -clip:"O\u0159ez\u00E1n\u00ED (clip)" +tinyMCE.addI18n('cs.style_dlg',{ +title:"Upravit CSS styl", +apply:"Pou\u017E\u00EDt", +text_tab:"Text", +background_tab:"Pozad\u00ED", +block_tab:"Blok", +box_tab:"Box", +border_tab:"Ohrani\u010Den\u00ED", +list_tab:"Seznam", +positioning_tab:"Um\u00EDst\u011Bn\u00ED", +text_props:"Text", +text_font:"P\u00EDsmo", +text_size:"Velikost", +text_weight:"Tu\u010Dnost p\u00EDsma", +text_style:"Styl textu", +text_variant:"Varianta", +text_lineheight:"V\u00FD\u0161ka \u0159\u00E1dku", +text_case:"Velk\u00E1 p\u00EDsmena", +text_color:"Barva", +text_decoration:"Dekorace", +text_overline:"nadtr\u017Een\u00ED", +text_underline:"podtr\u017Een\u00ED", +text_striketrough:"p\u0159e\u0161krtnut\u00ED", +text_blink:"blik\u00E1n\u00ED", +text_none:"\u017E\u00E1dn\u00E1", +background_color:"Barva pozad\u00ED", +background_image:"Obr\u00E1zek pozad\u00ED", +background_repeat:"Opakov\u00E1n\u00ED", +background_attachment:"Rolov\u00E1n\u00ED", +background_hpos:"Horizont\u00E1ln\u00ED um\u00EDst\u011Bn\u00ED", +background_vpos:"Vertik\u00E1ln\u00ED um\u00EDst\u011Bn\u00ED", +block_wordspacing:"Rozestup slov", +block_letterspacing:"Rozestup znak\u016F", +block_vertical_alignment:"Vertik\u00E1ln\u00ED zarovn\u00E1n\u00ED", +block_text_align:"Zarovn\u00E1n\u00ED textu", +block_text_indent:"Odsazen\u00ED textu", +block_whitespace:"Zalamov\u00E1n\u00ED textu", +block_display:"Blokov\u00E9 zobrazen\u00ED", +box_width:"\u0160\u00ED\u0159ka", +box_height:"V\u00FD\u0161ka", +box_float:"Plovouc\u00ED", +box_clear:"Vy\u010Distit", +padding:"Odsazen\u00ED (padding)", +same:"Stejn\u00E9 pro v\u0161echny", +top:"Naho\u0159e", +right:"Vpravo", +bottom:"Dole", +left:"Vlevo", +margin:"Okraje (margin)", +style:"Styl", +width:"\u0160\u00ED\u0159ka", +height:"V\u00FD\u0161ka", +color:"Barva", +list_type:"Typ", +bullet_image:"Styl odr\u00E1\u017Eek", +position:"Um\u00EDst\u011Bn\u00ED", +positioning_type:"Typ", +visibility:"Viditelnost", +zindex:"Z-index", +overflow:"P\u0159ete\u010Den\u00ED (overflow)", +placement:"Um\u00EDst\u011Bni", +clip:"O\u0159ez\u00E1n\u00ED (clip)" }); \ No newline at end of file diff --git a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/style/langs/da_dlg.js b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/style/langs/da_dlg.js old mode 100644 new mode 100755 index 210a87a526..82d3235029 --- a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/style/langs/da_dlg.js +++ b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/style/langs/da_dlg.js @@ -1,63 +1,63 @@ -tinyMCE.addI18n('da.style_dlg',{ -title:"Rediger CSS stil", -apply:"Anvend", -text_tab:"Tekst", -background_tab:"Baggrund", -block_tab:"Blok", -box_tab:"Boks", -border_tab:"Kant", -list_tab:"Liste", -positioning_tab:"Positionering", -text_props:"Tekst", -text_font:"Skrifttype", -text_size:"St\u00F8rrelse", -text_weight:"V\u00E6gt", -text_style:"Stil", -text_variant:"Variant", -text_lineheight:"Linieh\u00F8jde", -text_case:"Vesaltilstand", -text_color:"Farve", -text_decoration:"Dekoration", -text_overline:"overstreget", -text_underline:"understreget", -text_striketrough:"gennemstreget", -text_blink:"blink", -text_none:"ingen", -background_color:"Baggrundsfarve", -background_image:"Baggrundsbillede", -background_repeat:"Gentag", -background_attachment:"Vedh\u00E6ftede fil", -background_hpos:"Horisontal position", -background_vpos:"Vertikal position", -block_wordspacing:"Afstand mellem ord", -block_letterspacing:"Afstand mellem bogstaver", -block_vertical_alignment:"Vertikal justering", -block_text_align:"Tekstjustering", -block_text_indent:"Tekstindrykning", -block_whitespace:"Mellemrum", -block_display:"Vis", -box_width:"Bredde", -box_height:"H\u00F8jde", -box_float:"Flydende", -box_clear:"Ryd", -padding:"Afstand til indhold", -same:"Ens for alle", -top:"Top", -right:"H\u00F8jre", -bottom:"Bund", -left:"Venstre", -margin:"Margin", -style:"Style", -width:"Bredde", -height:"H\u00F8jde", -color:"Farve", -list_type:"Type", -bullet_image:"Punktopstillings-billede", -position:"Position", -positioning_type:"Type", -visibility:"Synlighed", -zindex:"Z-index", -overflow:"Overl\u00F8b", -placement:"Placering", -clip:"Klip" +tinyMCE.addI18n('da.style_dlg',{ +title:"Rediger CSS stil", +apply:"Anvend", +text_tab:"Tekst", +background_tab:"Baggrund", +block_tab:"Blok", +box_tab:"Boks", +border_tab:"Kant", +list_tab:"Liste", +positioning_tab:"Positionering", +text_props:"Tekst", +text_font:"Skrifttype", +text_size:"St\u00F8rrelse", +text_weight:"V\u00E6gt", +text_style:"Stil", +text_variant:"Variant", +text_lineheight:"Linieh\u00F8jde", +text_case:"Vesaltilstand", +text_color:"Farve", +text_decoration:"Dekoration", +text_overline:"overstreget", +text_underline:"understreget", +text_striketrough:"gennemstreget", +text_blink:"blink", +text_none:"ingen", +background_color:"Baggrundsfarve", +background_image:"Baggrundsbillede", +background_repeat:"Gentag", +background_attachment:"Vedh\u00E6ftede fil", +background_hpos:"Horisontal position", +background_vpos:"Vertikal position", +block_wordspacing:"Afstand mellem ord", +block_letterspacing:"Afstand mellem bogstaver", +block_vertical_alignment:"Vertikal justering", +block_text_align:"Tekstjustering", +block_text_indent:"Tekstindrykning", +block_whitespace:"Mellemrum", +block_display:"Vis", +box_width:"Bredde", +box_height:"H\u00F8jde", +box_float:"Flydende", +box_clear:"Ryd", +padding:"Afstand til indhold", +same:"Ens for alle", +top:"Top", +right:"H\u00F8jre", +bottom:"Bund", +left:"Venstre", +margin:"Margin", +style:"Style", +width:"Bredde", +height:"H\u00F8jde", +color:"Farve", +list_type:"Type", +bullet_image:"Punktopstillings-billede", +position:"Position", +positioning_type:"Type", +visibility:"Synlighed", +zindex:"Z-index", +overflow:"Overl\u00F8b", +placement:"Placering", +clip:"Klip" }); \ No newline at end of file diff --git a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/style/langs/de_dlg.js b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/style/langs/de_dlg.js old mode 100644 new mode 100755 index 57a62ff939..c30de26d37 --- a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/style/langs/de_dlg.js +++ b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/style/langs/de_dlg.js @@ -1,63 +1,63 @@ -tinyMCE.addI18n('de.style_dlg',{ -title:"CSS-Styles bearbeiten", -apply:"\u00DCbernehmen", -text_tab:"Text", -background_tab:"Hintergrund", -block_tab:"Block", -box_tab:"Box", -border_tab:"Rahmen", -list_tab:"Liste", -positioning_tab:"Positionierung", -text_props:"Text", -text_font:"Schriftart", -text_size:"Gr\u00F6\u00DFe", -text_weight:"Dicke", -text_style:"Stil", -text_variant:"Variante", -text_lineheight:"Zeilenh\u00F6he", -text_case:"Schreibung", -text_color:"Farbe", -text_decoration:"Gestaltung", -text_overline:"\u00FCberstrichen", -text_underline:"unterstrichen", -text_striketrough:"durchgestrichen", -text_blink:"blinkend", -text_none:"keine", -background_color:"Hintergrundfarbe", -background_image:"Hintergrundbild", -background_repeat:"Wiederholung", -background_attachment:"Wasserzeicheneffekt", -background_hpos:"Position X", -background_vpos:"Position Y", -block_wordspacing:"Wortabstand", -block_letterspacing:"Buchstabenabstand", -block_vertical_alignment:"Vertikale Ausrichtung", -block_text_align:"Ausrichtung", -block_text_indent:"Einr\u00FCckung", -block_whitespace:"Automatischer Umbruch", -block_display:"Umbruchverhalten", -box_width:"Breite", -box_height:"H\u00F6he", -box_float:"Umflie\u00DFung", -box_clear:"Umflie\u00DFung verhindern", -padding:"Innerer Abstand", -same:"Alle gleich", -top:"Oben", -right:"Rechts", -bottom:"Unten", -left:"Links", -margin:"\u00C4u\u00DFerer Abstand", -style:"Format", -width:"Breite", -height:"H\u00F6he", -color:"Textfarbe", -list_type:"Listenpunkt-Art", -bullet_image:"Listenpunkt-Grafik", -position:"Positionierung", -positioning_type:"Art der Positionierung", -visibility:"Sichtbar", -zindex:"Z-Wert", -overflow:"Verhalten bei \u00DCbergr\u00F6\u00DFe", -placement:"Platzierung", -clip:"Ausschnitt" +tinyMCE.addI18n('de.style_dlg',{ +title:"CSS-Styles bearbeiten", +apply:"\u00DCbernehmen", +text_tab:"Text", +background_tab:"Hintergrund", +block_tab:"Block", +box_tab:"Box", +border_tab:"Rahmen", +list_tab:"Liste", +positioning_tab:"Positionierung", +text_props:"Text", +text_font:"Schriftart", +text_size:"Gr\u00F6\u00DFe", +text_weight:"Dicke", +text_style:"Stil", +text_variant:"Variante", +text_lineheight:"Zeilenh\u00F6he", +text_case:"Schreibung", +text_color:"Farbe", +text_decoration:"Gestaltung", +text_overline:"\u00FCberstrichen", +text_underline:"unterstrichen", +text_striketrough:"durchgestrichen", +text_blink:"blinkend", +text_none:"keine", +background_color:"Hintergrundfarbe", +background_image:"Hintergrundbild", +background_repeat:"Wiederholung", +background_attachment:"Wasserzeicheneffekt", +background_hpos:"Position X", +background_vpos:"Position Y", +block_wordspacing:"Wortabstand", +block_letterspacing:"Buchstabenabstand", +block_vertical_alignment:"Vertikale Ausrichtung", +block_text_align:"Ausrichtung", +block_text_indent:"Einr\u00FCckung", +block_whitespace:"Automatischer Umbruch", +block_display:"Umbruchverhalten", +box_width:"Breite", +box_height:"H\u00F6he", +box_float:"Umflie\u00DFung", +box_clear:"Umflie\u00DFung verhindern", +padding:"Innerer Abstand", +same:"Alle gleich", +top:"Oben", +right:"Rechts", +bottom:"Unten", +left:"Links", +margin:"\u00C4u\u00DFerer Abstand", +style:"Format", +width:"Breite", +height:"H\u00F6he", +color:"Textfarbe", +list_type:"Listenpunkt-Art", +bullet_image:"Listenpunkt-Grafik", +position:"Positionierung", +positioning_type:"Art der Positionierung", +visibility:"Sichtbar", +zindex:"Z-Wert", +overflow:"Verhalten bei \u00DCbergr\u00F6\u00DFe", +placement:"Platzierung", +clip:"Ausschnitt" }); \ No newline at end of file diff --git a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/style/langs/en_dlg.js b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/style/langs/en_dlg.js old mode 100644 new mode 100755 index 5026313e2e..d9d77627b7 --- a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/style/langs/en_dlg.js +++ b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/style/langs/en_dlg.js @@ -1,63 +1,63 @@ -tinyMCE.addI18n('en.style_dlg',{ -title:"Edit CSS Style", -apply:"Apply", -text_tab:"Text", -background_tab:"Background", -block_tab:"Block", -box_tab:"Box", -border_tab:"Border", -list_tab:"List", -positioning_tab:"Positioning", -text_props:"Text", -text_font:"Font", -text_size:"Size", -text_weight:"Weight", -text_style:"Style", -text_variant:"Variant", -text_lineheight:"Line height", -text_case:"Case", -text_color:"Color", -text_decoration:"Decoration", -text_overline:"overline", -text_underline:"underline", -text_striketrough:"strikethrough", -text_blink:"blink", -text_none:"none", -background_color:"Background color", -background_image:"Background image", -background_repeat:"Repeat", -background_attachment:"Attachment", -background_hpos:"Horizontal position", -background_vpos:"Vertical position", -block_wordspacing:"Word spacing", -block_letterspacing:"Letter spacing", -block_vertical_alignment:"Vertical alignment", -block_text_align:"Text align", -block_text_indent:"Text indent", -block_whitespace:"Whitespace", -block_display:"Display", -box_width:"Width", -box_height:"Height", -box_float:"Float", -box_clear:"Clear", -padding:"Padding", -same:"Same for all", -top:"Top", -right:"Right", -bottom:"Bottom", -left:"Left", -margin:"Margin", -style:"Style", -width:"Width", -height:"Height", -color:"Color", -list_type:"Type", -bullet_image:"Bullet image", -position:"Position", -positioning_type:"Type", -visibility:"Visibility", -zindex:"Z-index", -overflow:"Overflow", -placement:"Placement", -clip:"Clip" +tinyMCE.addI18n('en.style_dlg',{ +title:"Edit CSS Style", +apply:"Apply", +text_tab:"Text", +background_tab:"Background", +block_tab:"Block", +box_tab:"Box", +border_tab:"Border", +list_tab:"List", +positioning_tab:"Positioning", +text_props:"Text", +text_font:"Font", +text_size:"Size", +text_weight:"Weight", +text_style:"Style", +text_variant:"Variant", +text_lineheight:"Line height", +text_case:"Case", +text_color:"Color", +text_decoration:"Decoration", +text_overline:"overline", +text_underline:"underline", +text_striketrough:"strikethrough", +text_blink:"blink", +text_none:"none", +background_color:"Background color", +background_image:"Background image", +background_repeat:"Repeat", +background_attachment:"Attachment", +background_hpos:"Horizontal position", +background_vpos:"Vertical position", +block_wordspacing:"Word spacing", +block_letterspacing:"Letter spacing", +block_vertical_alignment:"Vertical alignment", +block_text_align:"Text align", +block_text_indent:"Text indent", +block_whitespace:"Whitespace", +block_display:"Display", +box_width:"Width", +box_height:"Height", +box_float:"Float", +box_clear:"Clear", +padding:"Padding", +same:"Same for all", +top:"Top", +right:"Right", +bottom:"Bottom", +left:"Left", +margin:"Margin", +style:"Style", +width:"Width", +height:"Height", +color:"Color", +list_type:"Type", +bullet_image:"Bullet image", +position:"Position", +positioning_type:"Type", +visibility:"Visibility", +zindex:"Z-index", +overflow:"Overflow", +placement:"Placement", +clip:"Clip" }); \ No newline at end of file diff --git a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/style/langs/es_dlg.js b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/style/langs/es_dlg.js old mode 100644 new mode 100755 index abf4b1db3b..5fe8a8beb3 --- a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/style/langs/es_dlg.js +++ b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/style/langs/es_dlg.js @@ -1,63 +1,63 @@ -tinyMCE.addI18n('es.style_dlg',{ -title:"Editar Estilo CSS", -apply:"Aplicar", -text_tab:"Texto", -background_tab:"Fondo", -block_tab:"Bloque", -box_tab:"Caja", -border_tab:"Borde", -list_tab:"Lista", -positioning_tab:"Posici\u00F3n", -text_props:"Texto", -text_font:"Fuente", -text_size:"Tama\u00F1o", -text_weight:"Peso", -text_style:"Estilo", -text_variant:"Variante", -text_lineheight:"Ancho de la fila", -text_case:"Min\u00FAs./May\u00FAs.", -text_color:"Color", -text_decoration:"Decorativos", -text_overline:"Subrayado superior", -text_underline:"Subrayado", -text_striketrough:"Tachado", -text_blink:"Parpadeo", -text_none:"Ninguno", -background_color:"Color de fondo", -background_image:"Imagen de fondo", -background_repeat:"Repetici\u00F3n", -background_attachment:"Adjunto", -background_hpos:"Posici\u00F3n horizontal", -background_vpos:"Posici\u00F3n vertical", -block_wordspacing:"Espacio entre palabra", -block_letterspacing:"Espacio entre letra", -block_vertical_alignment:"Alineaci\u00F3n vertical", -block_text_align:"Alineaci\u00F3n del texto", -block_text_indent:"Sangr\u00EDa", -block_whitespace:"Espacio en blanco", -block_display:"Display", -box_width:"Ancho", -box_height:"Alto", -box_float:"Float", -box_clear:"Clear", -padding:"Padding", -same:"Lo mismo en todos", -top:"Arriba", -right:"Derecha", -bottom:"Debajo", -left:"Izquierda", -margin:"Margen", -style:"Estilo", -width:"Ancho", -height:"Alto", -color:"Color", -list_type:"Tipo", -bullet_image:"Imagen de la vi\u00F1eta", -position:"Posici\u00F3n", -positioning_type:"Tipo", -visibility:"Visibilidad", -zindex:"Z-index", -overflow:"Overflow", -placement:"Placement", -clip:"Clip" +tinyMCE.addI18n('es.style_dlg',{ +title:"Editar Estilo CSS", +apply:"Aplicar", +text_tab:"Texto", +background_tab:"Fondo", +block_tab:"Bloque", +box_tab:"Caja", +border_tab:"Borde", +list_tab:"Lista", +positioning_tab:"Posici\u00F3n", +text_props:"Texto", +text_font:"Fuente", +text_size:"Tama\u00F1o", +text_weight:"Peso", +text_style:"Estilo", +text_variant:"Variante", +text_lineheight:"Ancho de la fila", +text_case:"Min\u00FAs./May\u00FAs.", +text_color:"Color", +text_decoration:"Decorativos", +text_overline:"Subrayado superior", +text_underline:"Subrayado", +text_striketrough:"Tachado", +text_blink:"Parpadeo", +text_none:"Ninguno", +background_color:"Color de fondo", +background_image:"Imagen de fondo", +background_repeat:"Repetici\u00F3n", +background_attachment:"Adjunto", +background_hpos:"Posici\u00F3n horizontal", +background_vpos:"Posici\u00F3n vertical", +block_wordspacing:"Espacio entre palabra", +block_letterspacing:"Espacio entre letra", +block_vertical_alignment:"Alineaci\u00F3n vertical", +block_text_align:"Alineaci\u00F3n del texto", +block_text_indent:"Sangr\u00EDa", +block_whitespace:"Espacio en blanco", +block_display:"Display", +box_width:"Ancho", +box_height:"Alto", +box_float:"Float", +box_clear:"Clear", +padding:"Padding", +same:"Lo mismo en todos", +top:"Arriba", +right:"Derecha", +bottom:"Debajo", +left:"Izquierda", +margin:"Margen", +style:"Estilo", +width:"Ancho", +height:"Alto", +color:"Color", +list_type:"Tipo", +bullet_image:"Imagen de la vi\u00F1eta", +position:"Posici\u00F3n", +positioning_type:"Tipo", +visibility:"Visibilidad", +zindex:"Z-index", +overflow:"Overflow", +placement:"Placement", +clip:"Clip" }); \ No newline at end of file diff --git a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/style/langs/fa_dlg.js b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/style/langs/fa_dlg.js old mode 100644 new mode 100755 index 601bae3ec7..209f2bd2f6 --- a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/style/langs/fa_dlg.js +++ b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/style/langs/fa_dlg.js @@ -1,63 +1,63 @@ -tinyMCE.addI18n('fa.style_dlg',{ -title:"\u0648\u06CC\u0631\u0627\u06CC\u0634 \u0627\u0633\u062A\u06CC\u0644 CSS", -apply:"\u0628\u06A9\u0627\u0631\u06AF\u06CC\u0631\u06CC", -text_tab:"\u0645\u062A\u0646", -background_tab:"\u0632\u0645\u06CC\u0646\u0647", -block_tab:"\u0628\u0644\u0648\u06A9", -box_tab:"\u062C\u0639\u0628\u0647", -border_tab:"\u062D\u0627\u0634\u06CC\u0647", -list_tab:"\u0644\u06CC\u0633\u062A", -positioning_tab:"\u0645\u0648\u0642\u0639\u06CC\u062A", -text_props:"\u0645\u062A\u0646", -text_font:"\u0642\u0644\u0645", -text_size:"\u0627\u0646\u062F\u0627\u0632\u0647", -text_weight:"\u062D\u0627\u0644\u062A", -text_style:"\u0627\u0633\u062A\u06CC\u0644", -text_variant:"\u0646\u0648\u0639 \u062A\u063A\u06CC\u06CC\u0631", -text_lineheight:"\u0628\u0644\u0646\u062F\u06CC \u062E\u0637", -text_case:"\u062D\u0627\u0644\u062A", -text_color:"\u0631\u0646\u06AF", -text_decoration:"\u0622\u0631\u0627\u06CC\u0634", -text_overline:"\u0628\u0627\u0644\u0627 \u062E\u0637", -text_underline:"\u0632\u06CC\u0631 \u062E\u0637", -text_striketrough:"\u062E\u0637 \u0648\u0633\u0637", -text_blink:"\u0686\u0634\u0645\u06A9 \u0632\u0646", -text_none:"\u0647\u06CC\u0686 \u06A9\u062F\u0627\u0645", -background_color:"\u0631\u0646\u06AF \u0632\u0645\u06CC\u0646\u0647", -background_image:"\u062A\u0635\u0648\u06CC\u0631 \u0632\u0645\u06CC\u0646\u0647", -background_repeat:"\u062A\u06A9\u0631\u0627\u0631", -background_attachment:"\u0632\u0645\u06CC\u0645\u0647", -background_hpos:"\u0645\u0648\u0642\u0639\u06CC\u062A \u0627\u0641\u0642\u06CC", -background_vpos:"\u0645\u0648\u0642\u0639\u06CC\u062A \u0639\u0645\u0648\u062F\u06CC", -block_wordspacing:"\u0641\u0627\u0635\u0644\u0647 \u06A9\u0644\u0645\u0627\u062A", -block_letterspacing:"\u0641\u0627\u0635\u0644\u0647 \u062D\u0631\u0648\u0641", -block_vertical_alignment:"\u062A\u0631\u0627\u0632 \u0639\u0645\u0648\u062F\u06CC", -block_text_align:"\u062A\u0631\u0627\u0632 \u0645\u062A\u0646", -block_text_indent:"\u062A\u0648\u0631\u0641\u062A\u06AF\u06CC \u0645\u062A\u0646", -block_whitespace:"\u0641\u0627\u0635\u0644\u0647 \u0633\u0641\u06CC\u062F", -block_display:"\u0646\u0645\u0627\u06CC\u0634", -box_width:"\u067E\u0647\u0646\u0627", -box_height:"\u0627\u0631\u062A\u0641\u0627\u0639", -box_float:"\u0634\u0646\u0627\u0648\u0631", -box_clear:"\u067E\u0627\u06A9 \u0633\u0627\u0632\u06CC", -padding:"\u0644\u0627\u06CC\u0647 \u06AF\u0630\u0627\u0631\u06CC", -same:"\u0647\u0645\u0633\u0627\u0646 \u0628\u0631\u0627\u06CC \u0647\u0645\u0647", -top:"\u0628\u0627\u0644\u0627", -right:"\u0631\u0627\u0633\u062A", -bottom:"\u067E\u0627\u06CC\u06CC\u0646", -left:"\u0686\u067E", -margin:"\u062D\u0627\u0634\u06CC\u0647", -style:"\u0627\u0633\u062A\u06CC\u0644", -width:"\u067E\u0647\u0646\u0627", -height:"\u0627\u0631\u062A\u0641\u0627\u0639", -color:"\u0631\u0646\u06AF", -list_type:"\u0646\u0648\u0639", -bullet_image:"\u062A\u0635\u0648\u06CC\u0631 \u06AF\u0644\u0648\u0644\u0647", -position:"\u0645\u0648\u0642\u0639\u06CC\u062A", -positioning_type:"\u0646\u0648\u0639", -visibility:"\u0642\u0627\u0628\u0644\u06CC\u062A \u0631\u0648\u06CC\u062A", -zindex:"\u0645\u062D\u0648\u0631 Z", -overflow:"\u0633\u0631 \u0631\u06CC\u0632", -placement:"\u0645\u0648\u0642\u0639\u06CC\u062A \u0645\u06A9\u0627\u0646\u06CC", -clip:"\u0628\u0631\u0634 (Clip)" +tinyMCE.addI18n('fa.style_dlg',{ +title:"\u0648\u06CC\u0631\u0627\u06CC\u0634 \u0627\u0633\u062A\u06CC\u0644 CSS", +apply:"\u0628\u06A9\u0627\u0631\u06AF\u06CC\u0631\u06CC", +text_tab:"\u0645\u062A\u0646", +background_tab:"\u0632\u0645\u06CC\u0646\u0647", +block_tab:"\u0628\u0644\u0648\u06A9", +box_tab:"\u062C\u0639\u0628\u0647", +border_tab:"\u062D\u0627\u0634\u06CC\u0647", +list_tab:"\u0644\u06CC\u0633\u062A", +positioning_tab:"\u0645\u0648\u0642\u0639\u06CC\u062A", +text_props:"\u0645\u062A\u0646", +text_font:"\u0642\u0644\u0645", +text_size:"\u0627\u0646\u062F\u0627\u0632\u0647", +text_weight:"\u062D\u0627\u0644\u062A", +text_style:"\u0627\u0633\u062A\u06CC\u0644", +text_variant:"\u0646\u0648\u0639 \u062A\u063A\u06CC\u06CC\u0631", +text_lineheight:"\u0628\u0644\u0646\u062F\u06CC \u062E\u0637", +text_case:"\u062D\u0627\u0644\u062A", +text_color:"\u0631\u0646\u06AF", +text_decoration:"\u0622\u0631\u0627\u06CC\u0634", +text_overline:"\u0628\u0627\u0644\u0627 \u062E\u0637", +text_underline:"\u0632\u06CC\u0631 \u062E\u0637", +text_striketrough:"\u062E\u0637 \u0648\u0633\u0637", +text_blink:"\u0686\u0634\u0645\u06A9 \u0632\u0646", +text_none:"\u0647\u06CC\u0686 \u06A9\u062F\u0627\u0645", +background_color:"\u0631\u0646\u06AF \u0632\u0645\u06CC\u0646\u0647", +background_image:"\u062A\u0635\u0648\u06CC\u0631 \u0632\u0645\u06CC\u0646\u0647", +background_repeat:"\u062A\u06A9\u0631\u0627\u0631", +background_attachment:"\u0632\u0645\u06CC\u0645\u0647", +background_hpos:"\u0645\u0648\u0642\u0639\u06CC\u062A \u0627\u0641\u0642\u06CC", +background_vpos:"\u0645\u0648\u0642\u0639\u06CC\u062A \u0639\u0645\u0648\u062F\u06CC", +block_wordspacing:"\u0641\u0627\u0635\u0644\u0647 \u06A9\u0644\u0645\u0627\u062A", +block_letterspacing:"\u0641\u0627\u0635\u0644\u0647 \u062D\u0631\u0648\u0641", +block_vertical_alignment:"\u062A\u0631\u0627\u0632 \u0639\u0645\u0648\u062F\u06CC", +block_text_align:"\u062A\u0631\u0627\u0632 \u0645\u062A\u0646", +block_text_indent:"\u062A\u0648\u0631\u0641\u062A\u06AF\u06CC \u0645\u062A\u0646", +block_whitespace:"\u0641\u0627\u0635\u0644\u0647 \u0633\u0641\u06CC\u062F", +block_display:"\u0646\u0645\u0627\u06CC\u0634", +box_width:"\u067E\u0647\u0646\u0627", +box_height:"\u0627\u0631\u062A\u0641\u0627\u0639", +box_float:"\u0634\u0646\u0627\u0648\u0631", +box_clear:"\u067E\u0627\u06A9 \u0633\u0627\u0632\u06CC", +padding:"\u0644\u0627\u06CC\u0647 \u06AF\u0630\u0627\u0631\u06CC", +same:"\u0647\u0645\u0633\u0627\u0646 \u0628\u0631\u0627\u06CC \u0647\u0645\u0647", +top:"\u0628\u0627\u0644\u0627", +right:"\u0631\u0627\u0633\u062A", +bottom:"\u067E\u0627\u06CC\u06CC\u0646", +left:"\u0686\u067E", +margin:"\u062D\u0627\u0634\u06CC\u0647", +style:"\u0627\u0633\u062A\u06CC\u0644", +width:"\u067E\u0647\u0646\u0627", +height:"\u0627\u0631\u062A\u0641\u0627\u0639", +color:"\u0631\u0646\u06AF", +list_type:"\u0646\u0648\u0639", +bullet_image:"\u062A\u0635\u0648\u06CC\u0631 \u06AF\u0644\u0648\u0644\u0647", +position:"\u0645\u0648\u0642\u0639\u06CC\u062A", +positioning_type:"\u0646\u0648\u0639", +visibility:"\u0642\u0627\u0628\u0644\u06CC\u062A \u0631\u0648\u06CC\u062A", +zindex:"\u0645\u062D\u0648\u0631 Z", +overflow:"\u0633\u0631 \u0631\u06CC\u0632", +placement:"\u0645\u0648\u0642\u0639\u06CC\u062A \u0645\u06A9\u0627\u0646\u06CC", +clip:"\u0628\u0631\u0634 (Clip)" }); \ No newline at end of file diff --git a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/style/langs/fi_dlg.js b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/style/langs/fi_dlg.js old mode 100644 new mode 100755 index 44d912804e..89f8136101 --- a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/style/langs/fi_dlg.js +++ b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/style/langs/fi_dlg.js @@ -1,63 +1,63 @@ -tinyMCE.addI18n('fi.style_dlg',{ -title:"Muokkaa CSS-tyyli\u00E4", -apply:"K\u00E4yt\u00E4", -text_tab:"Teksti", -background_tab:"Tausta", -block_tab:"Palkki", -box_tab:"Laatikko", -border_tab:"Kehys", -list_tab:"Lista", -positioning_tab:"Sijainti", -text_props:"Teksti", -text_font:"Kirjasin", -text_size:"Koko", -text_weight:"Paino", -text_style:"Tyyli", -text_variant:"Variantti", -text_lineheight:"Rivin korkeus", -text_case:"Isot/pienet kirjaimet", -text_color:"V\u00E4ri", -text_decoration:"Koristelu", -text_overline:"Ylleviivattu", -text_underline:"Alleviivattu (Ctrl+U)", -text_striketrough:"Yliviivattu", -text_blink:"V\u00E4l\u00E4hdys", -text_none:"ei mit\u00E4\u00E4n", -background_color:"Taustav\u00E4ri", -background_image:"Taustakuva", -background_repeat:"Toistuvuus", -background_attachment:"Liite", -background_hpos:"Vaaka-asettelu", -background_vpos:"Pystyasettelu", -block_wordspacing:"Sanojen v\u00E4listys", -block_letterspacing:"Kirjainten v\u00E4listys", -block_vertical_alignment:"Pystyasettelu", -block_text_align:"Tekstin asettelu", -block_text_indent:"Tekstin sisennys", -block_whitespace:"Tyhj\u00E4 tila", -block_display:"N\u00E4ytt\u00F6", -box_width:"Leveys", -box_height:"Korkeus", -box_float:"Kellunta", -box_clear:"Nollaus", -padding:"Tyhj\u00E4 tila", -same:"Sama kaikille", -top:"Ylh\u00E4\u00E4ll\u00E4", -right:"Oikealla", -bottom:"Alhaalla", -left:"Vasemmalla", -margin:"Marginaali", -style:"Tyyli", -width:"Leveys", -height:"Korkeus", -color:"V\u00E4ri", -list_type:"Tyyppi", -bullet_image:"Listauskuva", -position:"Sijainti", -positioning_type:"Tyyppi", -visibility:"N\u00E4kyvyys", -zindex:"Z-indeksi", -overflow:"Ylivuoto", -placement:"Sijoittelu", -clip:"Leike" +tinyMCE.addI18n('fi.style_dlg',{ +title:"Muokkaa CSS-tyyli\u00E4", +apply:"K\u00E4yt\u00E4", +text_tab:"Teksti", +background_tab:"Tausta", +block_tab:"Palkki", +box_tab:"Laatikko", +border_tab:"Kehys", +list_tab:"Lista", +positioning_tab:"Sijainti", +text_props:"Teksti", +text_font:"Kirjasin", +text_size:"Koko", +text_weight:"Paino", +text_style:"Tyyli", +text_variant:"Variantti", +text_lineheight:"Rivin korkeus", +text_case:"Isot/pienet kirjaimet", +text_color:"V\u00E4ri", +text_decoration:"Koristelu", +text_overline:"Ylleviivattu", +text_underline:"Alleviivattu (Ctrl+U)", +text_striketrough:"Yliviivattu", +text_blink:"V\u00E4l\u00E4hdys", +text_none:"ei mit\u00E4\u00E4n", +background_color:"Taustav\u00E4ri", +background_image:"Taustakuva", +background_repeat:"Toistuvuus", +background_attachment:"Liite", +background_hpos:"Vaaka-asettelu", +background_vpos:"Pystyasettelu", +block_wordspacing:"Sanojen v\u00E4listys", +block_letterspacing:"Kirjainten v\u00E4listys", +block_vertical_alignment:"Pystyasettelu", +block_text_align:"Tekstin asettelu", +block_text_indent:"Tekstin sisennys", +block_whitespace:"Tyhj\u00E4 tila", +block_display:"N\u00E4ytt\u00F6", +box_width:"Leveys", +box_height:"Korkeus", +box_float:"Kellunta", +box_clear:"Nollaus", +padding:"Tyhj\u00E4 tila", +same:"Sama kaikille", +top:"Ylh\u00E4\u00E4ll\u00E4", +right:"Oikealla", +bottom:"Alhaalla", +left:"Vasemmalla", +margin:"Marginaali", +style:"Tyyli", +width:"Leveys", +height:"Korkeus", +color:"V\u00E4ri", +list_type:"Tyyppi", +bullet_image:"Listauskuva", +position:"Sijainti", +positioning_type:"Tyyppi", +visibility:"N\u00E4kyvyys", +zindex:"Z-indeksi", +overflow:"Ylivuoto", +placement:"Sijoittelu", +clip:"Leike" }); \ No newline at end of file diff --git a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/style/langs/fr_dlg.js b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/style/langs/fr_dlg.js old mode 100644 new mode 100755 index 28897f866e..ed14dab34b --- a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/style/langs/fr_dlg.js +++ b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/style/langs/fr_dlg.js @@ -1,63 +1,63 @@ -tinyMCE.addI18n('fr.style_dlg',{ -title:"\u00C9diter la feuille de style", -apply:"Appliquer", -text_tab:"Texte", -background_tab:"Fond", -block_tab:"Bloc", -box_tab:"Bo\u00EEte", -border_tab:"Bordure", -list_tab:"Liste", -positioning_tab:"Positionnement", -text_props:"Texte", -text_font:"Police", -text_size:"Taille", -text_weight:"Gras", -text_style:"Style", -text_variant:"Variante", -text_lineheight:"Hauteur de ligne", -text_case:"Casse", -text_color:"Couleur", -text_decoration:"D\u00E9coration", -text_overline:"ligne au-dessus", -text_underline:"soulign\u00E9", -text_striketrough:"barr\u00E9", -text_blink:"clignotant", -text_none:"aucun", -background_color:"Couleur de fond", -background_image:"Image de fond", -background_repeat:"R\u00E9p\u00E9ter", -background_attachment:"Attachement", -background_hpos:"Position horizontale", -background_vpos:"Position verticale", -block_wordspacing:"Espacement des mots ", -block_letterspacing:"Espacement des lettres", -block_vertical_alignment:"Alignement vertical", -block_text_align:"Alignement du texte", -block_text_indent:"Indentation du texte", -block_whitespace:"Fin de ligne", -block_display:"Affichage", -box_width:"Largeur", -box_height:"Hauteur", -box_float:"Flottant", -box_clear:"Vider", -padding:"Espacement", -same:"Identique pour tous", -top:"Haut", -right:"Droit", -bottom:"Bas", -left:"Gauche", -margin:"Marge", -style:"Style", -width:"Largeur", -height:"Hauteur", -color:"Couleur", -list_type:"Type", -bullet_image:"Image de puce", -position:"Position", -positioning_type:"Type", -visibility:"Visibilit\u00E9", -zindex:"Z-index", -overflow:"D\u00E9bordement", -placement:"Placement", -clip:"Clip" +tinyMCE.addI18n('fr.style_dlg',{ +title:"\u00C9diter la feuille de style", +apply:"Appliquer", +text_tab:"Texte", +background_tab:"Fond", +block_tab:"Bloc", +box_tab:"Bo\u00EEte", +border_tab:"Bordure", +list_tab:"Liste", +positioning_tab:"Positionnement", +text_props:"Texte", +text_font:"Police", +text_size:"Taille", +text_weight:"Gras", +text_style:"Style", +text_variant:"Variante", +text_lineheight:"Hauteur de ligne", +text_case:"Casse", +text_color:"Couleur", +text_decoration:"D\u00E9coration", +text_overline:"ligne au-dessus", +text_underline:"soulign\u00E9", +text_striketrough:"barr\u00E9", +text_blink:"clignotant", +text_none:"aucun", +background_color:"Couleur de fond", +background_image:"Image de fond", +background_repeat:"R\u00E9p\u00E9ter", +background_attachment:"Attachement", +background_hpos:"Position horizontale", +background_vpos:"Position verticale", +block_wordspacing:"Espacement des mots ", +block_letterspacing:"Espacement des lettres", +block_vertical_alignment:"Alignement vertical", +block_text_align:"Alignement du texte", +block_text_indent:"Indentation du texte", +block_whitespace:"Fin de ligne", +block_display:"Affichage", +box_width:"Largeur", +box_height:"Hauteur", +box_float:"Flottant", +box_clear:"Vider", +padding:"Espacement", +same:"Identique pour tous", +top:"Haut", +right:"Droit", +bottom:"Bas", +left:"Gauche", +margin:"Marge", +style:"Style", +width:"Largeur", +height:"Hauteur", +color:"Couleur", +list_type:"Type", +bullet_image:"Image de puce", +position:"Position", +positioning_type:"Type", +visibility:"Visibilit\u00E9", +zindex:"Z-index", +overflow:"D\u00E9bordement", +placement:"Placement", +clip:"Clip" }); \ No newline at end of file diff --git a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/style/langs/he_dlg.js b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/style/langs/he_dlg.js old mode 100644 new mode 100755 index 7aae7597e6..c598e643e0 --- a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/style/langs/he_dlg.js +++ b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/style/langs/he_dlg.js @@ -1,63 +1,63 @@ -tinyMCE.addI18n('he.style_dlg',{ -title:"\u05E2\u05D3\u05DB\u05D5\u05DF \u05D4\u05D2\u05D3\u05E8\u05D5\u05EA CSS", -apply:"\u05D4\u05D7\u05DC", -text_tab:"\u05D8\u05E7\u05E1\u05D8", -background_tab:"\u05E8\u05E7\u05E2", -block_tab:"\u05D7\u05E1\u05D5\u05DD", -box_tab:"\u05E7\u05D5\u05E4\u05E1\u05D0", -border_tab:"\u05D2\u05D1\u05D5\u05DC", -list_tab:"\u05E8\u05E9\u05D9\u05DE\u05D4", -positioning_tab:"\u05DE\u05D9\u05E7\u05D5\u05DD", -text_props:"\u05D8\u05E7\u05E1\u05D8", -text_font:"\u05E4\u05D5\u05E0\u05D8", -text_size:"\u05D2\u05D5\u05D3\u05DC", -text_weight:"\u05E2\u05D5\u05D1\u05D9", -text_style:"\u05E1\u05D2\u05E0\u05D5\u05DF", -text_variant:"Variant", -text_lineheight:"\u05D2\u05D5\u05D1\u05D4 \u05E9\u05D5\u05E8\u05D4", -text_case:"Case", -text_color:"\u05E6\u05D1\u05E2", -text_decoration:"\u05E2\u05D9\u05E6\u05D5\u05D1", -text_overline:"\u05E9\u05D5\u05E8\u05D4 \u05DE\u05E2\u05DC", -text_underline:"\u05E9\u05D5\u05E8\u05D4 \u05DE\u05EA\u05D7\u05EA", -text_striketrough:"\u05E7\u05D5 \u05D7\u05D5\u05E6\u05D4", -text_blink:"\u05D4\u05D1\u05D4\u05D5\u05D1", -text_none:"\u05DC\u05DC\u05D0", -background_color:"\u05E6\u05D1\u05E2 \u05E8\u05E7\u05E2", -background_image:"\u05EA\u05DE\u05D5\u05E0\u05EA \u05E8\u05E7\u05E2", -background_repeat:"\u05D7\u05D6\u05D5\u05E8", -background_attachment:"\u05E7\u05D1\u05E6\u05D9\u05DD \u05DE\u05E6\u05D5\u05E8\u05E4\u05D9\u05DD", -background_hpos:"\u05DE\u05D9\u05E7\u05D5\u05DD \u05D0\u05D5\u05E4\u05E7\u05D9", -background_vpos:"\u05DE\u05D9\u05E7\u05D5\u05DD \u05E8\u05D5\u05D7\u05D1\u05D9", -block_wordspacing:"\u05DE\u05E8\u05D7\u05E7 \u05D1\u05D9\u05DF \u05DE\u05D9\u05DC\u05D9\u05DD", -block_letterspacing:"\u05DE\u05E8\u05D7\u05E7 \u05D1\u05D9\u05DF \u05D0\u05D5\u05EA\u05D9\u05D5\u05EA", -block_vertical_alignment:"Vertical alignment", -block_text_align:"\u05DE\u05D9\u05E7\u05D5\u05DD \u05D8\u05E7\u05E1\u05D8", -block_text_indent:"\u05D4\u05D6\u05D7\u05D4", -block_whitespace:"\u05E8\u05D5\u05D5\u05D7", -block_display:"\u05D4\u05E6\u05D2", -box_width:"\u05E8\u05D5\u05D7\u05D1", -box_height:"\u05D2\u05D5\u05D1\u05D4", -box_float:"\u05D4\u05E6\u05E4\u05D4", -box_clear:"\u05E0\u05E7\u05D4", -padding:"\u05E8\u05D9\u05E4\u05D5\u05D3", -same:"\u05D0\u05D5\u05EA\u05D5 \u05D3\u05D1\u05E8 \u05E2\u05D1\u05D5\u05E8 \u05DB\u05D5\u05DC\u05DD", -top:"\u05E2\u05DC\u05D9\u05D5\u05DF", -right:"\u05D9\u05DE\u05D9\u05DF", -bottom:"\u05EA\u05D7\u05EA\u05D9\u05EA", -left:"\u05E9\u05DE\u05D0\u05DC", -margin:"\u05E9\u05D5\u05DC\u05D9\u05D9\u05DD", -style:"\u05E1\u05D2\u05E0\u05D5\u05DF", -width:"\u05E8\u05D5\u05D7\u05D1", -height:"\u05D2\u05D5\u05D1\u05D4", -color:"\u05E6\u05D1\u05E2", -list_type:"\u05E1\u05D5\u05D2", -bullet_image:"Bullet image", -position:"\u05DE\u05D9\u05E7\u05D5\u05DD", -positioning_type:"\u05E1\u05D5\u05D2", -visibility:"\u05E8\u05D0\u05D5\u05EA", -zindex:"Z-index", -overflow:"\u05D2\u05DC\u05D9\u05E9\u05D4", -placement:"\u05DE\u05D9\u05E7\u05D5\u05DD", -clip:"\u05E7\u05DC\u05D9\u05E4" +tinyMCE.addI18n('he.style_dlg',{ +title:"\u05E2\u05D3\u05DB\u05D5\u05DF \u05D4\u05D2\u05D3\u05E8\u05D5\u05EA CSS", +apply:"\u05D4\u05D7\u05DC", +text_tab:"\u05D8\u05E7\u05E1\u05D8", +background_tab:"\u05E8\u05E7\u05E2", +block_tab:"\u05D7\u05E1\u05D5\u05DD", +box_tab:"\u05E7\u05D5\u05E4\u05E1\u05D0", +border_tab:"\u05D2\u05D1\u05D5\u05DC", +list_tab:"\u05E8\u05E9\u05D9\u05DE\u05D4", +positioning_tab:"\u05DE\u05D9\u05E7\u05D5\u05DD", +text_props:"\u05D8\u05E7\u05E1\u05D8", +text_font:"\u05E4\u05D5\u05E0\u05D8", +text_size:"\u05D2\u05D5\u05D3\u05DC", +text_weight:"\u05E2\u05D5\u05D1\u05D9", +text_style:"\u05E1\u05D2\u05E0\u05D5\u05DF", +text_variant:"Variant", +text_lineheight:"\u05D2\u05D5\u05D1\u05D4 \u05E9\u05D5\u05E8\u05D4", +text_case:"Case", +text_color:"\u05E6\u05D1\u05E2", +text_decoration:"\u05E2\u05D9\u05E6\u05D5\u05D1", +text_overline:"\u05E9\u05D5\u05E8\u05D4 \u05DE\u05E2\u05DC", +text_underline:"\u05E9\u05D5\u05E8\u05D4 \u05DE\u05EA\u05D7\u05EA", +text_striketrough:"\u05E7\u05D5 \u05D7\u05D5\u05E6\u05D4", +text_blink:"\u05D4\u05D1\u05D4\u05D5\u05D1", +text_none:"\u05DC\u05DC\u05D0", +background_color:"\u05E6\u05D1\u05E2 \u05E8\u05E7\u05E2", +background_image:"\u05EA\u05DE\u05D5\u05E0\u05EA \u05E8\u05E7\u05E2", +background_repeat:"\u05D7\u05D6\u05D5\u05E8", +background_attachment:"\u05E7\u05D1\u05E6\u05D9\u05DD \u05DE\u05E6\u05D5\u05E8\u05E4\u05D9\u05DD", +background_hpos:"\u05DE\u05D9\u05E7\u05D5\u05DD \u05D0\u05D5\u05E4\u05E7\u05D9", +background_vpos:"\u05DE\u05D9\u05E7\u05D5\u05DD \u05E8\u05D5\u05D7\u05D1\u05D9", +block_wordspacing:"\u05DE\u05E8\u05D7\u05E7 \u05D1\u05D9\u05DF \u05DE\u05D9\u05DC\u05D9\u05DD", +block_letterspacing:"\u05DE\u05E8\u05D7\u05E7 \u05D1\u05D9\u05DF \u05D0\u05D5\u05EA\u05D9\u05D5\u05EA", +block_vertical_alignment:"Vertical alignment", +block_text_align:"\u05DE\u05D9\u05E7\u05D5\u05DD \u05D8\u05E7\u05E1\u05D8", +block_text_indent:"\u05D4\u05D6\u05D7\u05D4", +block_whitespace:"\u05E8\u05D5\u05D5\u05D7", +block_display:"\u05D4\u05E6\u05D2", +box_width:"\u05E8\u05D5\u05D7\u05D1", +box_height:"\u05D2\u05D5\u05D1\u05D4", +box_float:"\u05D4\u05E6\u05E4\u05D4", +box_clear:"\u05E0\u05E7\u05D4", +padding:"\u05E8\u05D9\u05E4\u05D5\u05D3", +same:"\u05D0\u05D5\u05EA\u05D5 \u05D3\u05D1\u05E8 \u05E2\u05D1\u05D5\u05E8 \u05DB\u05D5\u05DC\u05DD", +top:"\u05E2\u05DC\u05D9\u05D5\u05DF", +right:"\u05D9\u05DE\u05D9\u05DF", +bottom:"\u05EA\u05D7\u05EA\u05D9\u05EA", +left:"\u05E9\u05DE\u05D0\u05DC", +margin:"\u05E9\u05D5\u05DC\u05D9\u05D9\u05DD", +style:"\u05E1\u05D2\u05E0\u05D5\u05DF", +width:"\u05E8\u05D5\u05D7\u05D1", +height:"\u05D2\u05D5\u05D1\u05D4", +color:"\u05E6\u05D1\u05E2", +list_type:"\u05E1\u05D5\u05D2", +bullet_image:"Bullet image", +position:"\u05DE\u05D9\u05E7\u05D5\u05DD", +positioning_type:"\u05E1\u05D5\u05D2", +visibility:"\u05E8\u05D0\u05D5\u05EA", +zindex:"Z-index", +overflow:"\u05D2\u05DC\u05D9\u05E9\u05D4", +placement:"\u05DE\u05D9\u05E7\u05D5\u05DD", +clip:"\u05E7\u05DC\u05D9\u05E4" }); \ No newline at end of file diff --git a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/style/langs/it_dlg.js b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/style/langs/it_dlg.js old mode 100644 new mode 100755 index ab30a19972..a3ec750ce9 --- a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/style/langs/it_dlg.js +++ b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/style/langs/it_dlg.js @@ -1,63 +1,63 @@ -tinyMCE.addI18n('it.style_dlg',{ -title:"Modifica stile CSS", -apply:"Applica", -text_tab:"Testo", -background_tab:"Sfondo", -block_tab:"Blocco", -box_tab:"Contenitore", -border_tab:"Bordi", -list_tab:"Liste", -positioning_tab:"Posizionamento", -text_props:"Testo", -text_font:"Carattere", -text_size:"Dimensione", -text_weight:"Spessore", -text_style:"Stile", -text_variant:"Variante", -text_lineheight:"Altezza linea", -text_case:"Tipo", -text_color:"Colore", -text_decoration:"Decorazione", -text_overline:"sopralineato", -text_underline:"sottolineato", -text_striketrough:"barrato", -text_blink:"lampeggiante", -text_none:"nessuna", -background_color:"Colore sfondo", -background_image:"Immagine sfondo", -background_repeat:"Repetizione", -background_attachment:"Allegato", -background_hpos:"Posizione orizzontale", -background_vpos:"Posizione verticale", -block_wordspacing:"Spaziatura parole", -block_letterspacing:"Spaziatura caratteri", -block_vertical_alignment:"Allineamento verticale", -block_text_align:"Allineamento testo", -block_text_indent:"Indentazione testo", -block_whitespace:"Whitespace", -block_display:"Visualizzazione", -box_width:"Larghezza", -box_height:"Altezza", -box_float:"Fluttuante", -box_clear:"Pulito", -padding:"Spazio dal bordo", -same:"Uguale per tutti", -top:"Superiore", -right:"Destro", -bottom:"Inferiore", -left:"Sinistro", -margin:"Margine", -style:"Stile", -width:"Larghezza", -height:"Altezza", -color:"Colore", -list_type:"Tipo", -bullet_image:"Immagine Punto", -position:"Posizione", -positioning_type:"Tipo", -visibility:"Visibilit\u00E0", -zindex:"Z-index", -overflow:"Overflow", -placement:"Piazzamento", -clip:"Clip" +tinyMCE.addI18n('it.style_dlg',{ +title:"Modifica stile CSS", +apply:"Applica", +text_tab:"Testo", +background_tab:"Sfondo", +block_tab:"Blocco", +box_tab:"Contenitore", +border_tab:"Bordi", +list_tab:"Liste", +positioning_tab:"Posizionamento", +text_props:"Testo", +text_font:"Carattere", +text_size:"Dimensione", +text_weight:"Spessore", +text_style:"Stile", +text_variant:"Variante", +text_lineheight:"Altezza linea", +text_case:"Tipo", +text_color:"Colore", +text_decoration:"Decorazione", +text_overline:"sopralineato", +text_underline:"sottolineato", +text_striketrough:"barrato", +text_blink:"lampeggiante", +text_none:"nessuna", +background_color:"Colore sfondo", +background_image:"Immagine sfondo", +background_repeat:"Repetizione", +background_attachment:"Allegato", +background_hpos:"Posizione orizzontale", +background_vpos:"Posizione verticale", +block_wordspacing:"Spaziatura parole", +block_letterspacing:"Spaziatura caratteri", +block_vertical_alignment:"Allineamento verticale", +block_text_align:"Allineamento testo", +block_text_indent:"Indentazione testo", +block_whitespace:"Whitespace", +block_display:"Visualizzazione", +box_width:"Larghezza", +box_height:"Altezza", +box_float:"Fluttuante", +box_clear:"Pulito", +padding:"Spazio dal bordo", +same:"Uguale per tutti", +top:"Superiore", +right:"Destro", +bottom:"Inferiore", +left:"Sinistro", +margin:"Margine", +style:"Stile", +width:"Larghezza", +height:"Altezza", +color:"Colore", +list_type:"Tipo", +bullet_image:"Immagine Punto", +position:"Posizione", +positioning_type:"Tipo", +visibility:"Visibilit\u00E0", +zindex:"Z-index", +overflow:"Overflow", +placement:"Piazzamento", +clip:"Clip" }); \ No newline at end of file diff --git a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/style/langs/ja_dlg.js b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/style/langs/ja_dlg.js old mode 100644 new mode 100755 index c63624d7f3..c4d2af4973 --- a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/style/langs/ja_dlg.js +++ b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/style/langs/ja_dlg.js @@ -1,63 +1,63 @@ -tinyMCE.addI18n('ja.style_dlg',{ -title:"CSS\u7DE8\u96C6", -apply:"\u9069\u7528", -text_tab:"\u6587\u5B57", -background_tab:"\u80CC\u666F", -block_tab:"\u30D6\u30ED\u30C3\u30AF", -box_tab:"\u30DC\u30C3\u30AF\u30B9", -border_tab:"\u67A0\u7DDA", -list_tab:"\u30EA\u30B9\u30C8", -positioning_tab:"\u30DD\u30B8\u30B7\u30E7\u30F3", -text_props:"Text", -text_font:"\u30D5\u30A9\u30F3\u30C8", -text_size:"\u30B5\u30A4\u30BA", -text_weight:"\u592A\u3055", -text_style:"style\u5C5E\u6027", -text_variant:"\u5909\u5F62", -text_lineheight:"\u884C\u9AD8\u3055", -text_case:"\u5927\u6587\u5B57/\u5C0F\u6587\u5B57", -text_color:"\u8272", -text_decoration:"\u88C5\u98FE", -text_overline:"\u4E0A\u7DDA", -text_underline:"\u4E0B\u7DDA", -text_striketrough:"\u6253\u6D88\u3057\u7DDA", -text_blink:"\u70B9\u6EC5", -text_none:"\u306A\u3057", -background_color:"\u80CC\u666F\u8272", -background_image:"\u80CC\u666F\u753B\u50CF", -background_repeat:"\u7E70\u308A\u8FD4\u3057", -background_attachment:"Attachment", -background_hpos:"\u6C34\u5E73\u4F4D\u7F6E", -background_vpos:"\u5782\u76F4\u4F4D\u7F6E", -block_wordspacing:"\u5358\u8A9E\u611F\u899A", -block_letterspacing:"\u6587\u5B57\u9593\u9694", -block_vertical_alignment:"\u5782\u76F4\u914D\u7F6E", -block_text_align:"\u6C34\u5E73\u914D\u7F6E", -block_text_indent:"\u30A4\u30F3\u30C7\u30F3\u30C8", -block_whitespace:"\u7A7A\u767D\u6587\u5B57", -block_display:"\u30C7\u30A3\u30B9\u30D7\u30EC\u30A4", -box_width:"\u5E45", -box_height:"\u9AD8\u3055", -box_float:"\u56DE\u308A\u8FBC\u307F", -box_clear:"\u56DE\u308A\u8FBC\u307F\u89E3\u9664", -padding:"\u30D1\u30C7\u30A3\u30F3\u30B0", -same:"\u5168\u3066\u540C\u3058\u306B\u3059\u308B", -top:"\u4E0A", -right:"\u53F3", -bottom:"\u4E0B", -left:"\u5DE6", -margin:"\u30DE\u30FC\u30B8\u30F3", -style:"style\u5C5E\u6027", -width:"\u5E45", -height:"\u9AD8\u3055", -color:"\u8272", -list_type:"\u30DE\u30FC\u30AB\u30FC\u7A2E\u985E", -bullet_image:"\u30DE\u30FC\u30AB\u30FC\u753B\u50CF", -position:"\u30DE\u30FC\u30AB\u30FC\u8868\u793A\u4F4D\u7F6E", -positioning_type:"\u914D\u7F6E\u65B9\u6CD5", -visibility:"\u8868\u793A", -zindex:"Z-Index", -overflow:"\u30AA\u30FC\u30D0\u30FC\u30D5\u30ED\u30FC", -placement:"\u4F4D\u7F6E", -clip:"\u5207\u308A\u629C\u304D" +tinyMCE.addI18n('ja.style_dlg',{ +title:"CSS\u7DE8\u96C6", +apply:"\u9069\u7528", +text_tab:"\u6587\u5B57", +background_tab:"\u80CC\u666F", +block_tab:"\u30D6\u30ED\u30C3\u30AF", +box_tab:"\u30DC\u30C3\u30AF\u30B9", +border_tab:"\u67A0\u7DDA", +list_tab:"\u30EA\u30B9\u30C8", +positioning_tab:"\u30DD\u30B8\u30B7\u30E7\u30F3", +text_props:"Text", +text_font:"\u30D5\u30A9\u30F3\u30C8", +text_size:"\u30B5\u30A4\u30BA", +text_weight:"\u592A\u3055", +text_style:"style\u5C5E\u6027", +text_variant:"\u5909\u5F62", +text_lineheight:"\u884C\u9AD8\u3055", +text_case:"\u5927\u6587\u5B57/\u5C0F\u6587\u5B57", +text_color:"\u8272", +text_decoration:"\u88C5\u98FE", +text_overline:"\u4E0A\u7DDA", +text_underline:"\u4E0B\u7DDA", +text_striketrough:"\u6253\u6D88\u3057\u7DDA", +text_blink:"\u70B9\u6EC5", +text_none:"\u306A\u3057", +background_color:"\u80CC\u666F\u8272", +background_image:"\u80CC\u666F\u753B\u50CF", +background_repeat:"\u7E70\u308A\u8FD4\u3057", +background_attachment:"Attachment", +background_hpos:"\u6C34\u5E73\u4F4D\u7F6E", +background_vpos:"\u5782\u76F4\u4F4D\u7F6E", +block_wordspacing:"\u5358\u8A9E\u611F\u899A", +block_letterspacing:"\u6587\u5B57\u9593\u9694", +block_vertical_alignment:"\u5782\u76F4\u914D\u7F6E", +block_text_align:"\u6C34\u5E73\u914D\u7F6E", +block_text_indent:"\u30A4\u30F3\u30C7\u30F3\u30C8", +block_whitespace:"\u7A7A\u767D\u6587\u5B57", +block_display:"\u30C7\u30A3\u30B9\u30D7\u30EC\u30A4", +box_width:"\u5E45", +box_height:"\u9AD8\u3055", +box_float:"\u56DE\u308A\u8FBC\u307F", +box_clear:"\u56DE\u308A\u8FBC\u307F\u89E3\u9664", +padding:"\u30D1\u30C7\u30A3\u30F3\u30B0", +same:"\u5168\u3066\u540C\u3058\u306B\u3059\u308B", +top:"\u4E0A", +right:"\u53F3", +bottom:"\u4E0B", +left:"\u5DE6", +margin:"\u30DE\u30FC\u30B8\u30F3", +style:"style\u5C5E\u6027", +width:"\u5E45", +height:"\u9AD8\u3055", +color:"\u8272", +list_type:"\u30DE\u30FC\u30AB\u30FC\u7A2E\u985E", +bullet_image:"\u30DE\u30FC\u30AB\u30FC\u753B\u50CF", +position:"\u30DE\u30FC\u30AB\u30FC\u8868\u793A\u4F4D\u7F6E", +positioning_type:"\u914D\u7F6E\u65B9\u6CD5", +visibility:"\u8868\u793A", +zindex:"Z-Index", +overflow:"\u30AA\u30FC\u30D0\u30FC\u30D5\u30ED\u30FC", +placement:"\u4F4D\u7F6E", +clip:"\u5207\u308A\u629C\u304D" }); \ No newline at end of file diff --git a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/style/langs/nl_dlg.js b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/style/langs/nl_dlg.js old mode 100644 new mode 100755 index 854a0be082..ffedcc4e8e --- a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/style/langs/nl_dlg.js +++ b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/style/langs/nl_dlg.js @@ -1,63 +1,63 @@ -tinyMCE.addI18n('nl.style_dlg',{ -title:"CSS Stijl bewerken", -apply:"Toepassen", -text_tab:"Tekst", -background_tab:"Achtergrond", -block_tab:"Blok", -box_tab:"Box", -border_tab:"Rand", -list_tab:"Lijst", -positioning_tab:"Positionering", -text_props:"Tekst", -text_font:"Lettertype", -text_size:"Tekengrootte", -text_weight:"Gewicht", -text_style:"Stijl", -text_variant:"Variant", -text_lineheight:"Lijnhoogte", -text_case:"Hoofdlettergebruik", -text_color:"Kleur", -text_decoration:"Decoratie", -text_overline:"Overhalen", -text_underline:"Onderstrepen", -text_striketrough:"Doorhalen", -text_blink:"Knipperen", -text_none:"Niets", -background_color:"Achtergrondkleur", -background_image:"Achtergrondafbeelding", -background_repeat:"Herhalen", -background_attachment:"Bijlage", -background_hpos:"Horizontale positie", -background_vpos:"Verticale positie", -block_wordspacing:"Woordruimte", -block_letterspacing:"Letterruimte", -block_vertical_alignment:"Verticale uitlijning", -block_text_align:"Tekstuitlijning", -block_text_indent:"Inspringen", -block_whitespace:"Witruimte", -block_display:"Weergave", -box_width:"Breedte", -box_height:"Hoogte", -box_float:"Zweven", -box_clear:"Vrijhouden", -padding:"Opening", -same:"Alles hetzelfde", -top:"Boven", -right:"Rechts", -bottom:"Onder", -left:"Links", -margin:"Marge", -style:"Stijl", -width:"Breedte", -height:"Hoogte", -color:"Kleur", -list_type:"Type", -bullet_image:"Opsommingsteken", -position:"Positie", -positioning_type:"Type", -visibility:"Zichtbaarheid", -zindex:"Z-index", -overflow:"Overvloeien", -placement:"Plaatsing", -clip:"Clip" +tinyMCE.addI18n('nl.style_dlg',{ +title:"CSS Stijl bewerken", +apply:"Toepassen", +text_tab:"Tekst", +background_tab:"Achtergrond", +block_tab:"Blok", +box_tab:"Box", +border_tab:"Rand", +list_tab:"Lijst", +positioning_tab:"Positionering", +text_props:"Tekst", +text_font:"Lettertype", +text_size:"Tekengrootte", +text_weight:"Gewicht", +text_style:"Stijl", +text_variant:"Variant", +text_lineheight:"Lijnhoogte", +text_case:"Hoofdlettergebruik", +text_color:"Kleur", +text_decoration:"Decoratie", +text_overline:"Overhalen", +text_underline:"Onderstrepen", +text_striketrough:"Doorhalen", +text_blink:"Knipperen", +text_none:"Niets", +background_color:"Achtergrondkleur", +background_image:"Achtergrondafbeelding", +background_repeat:"Herhalen", +background_attachment:"Bijlage", +background_hpos:"Horizontale positie", +background_vpos:"Verticale positie", +block_wordspacing:"Woordruimte", +block_letterspacing:"Letterruimte", +block_vertical_alignment:"Verticale uitlijning", +block_text_align:"Tekstuitlijning", +block_text_indent:"Inspringen", +block_whitespace:"Witruimte", +block_display:"Weergave", +box_width:"Breedte", +box_height:"Hoogte", +box_float:"Zweven", +box_clear:"Vrijhouden", +padding:"Opening", +same:"Alles hetzelfde", +top:"Boven", +right:"Rechts", +bottom:"Onder", +left:"Links", +margin:"Marge", +style:"Stijl", +width:"Breedte", +height:"Hoogte", +color:"Kleur", +list_type:"Type", +bullet_image:"Opsommingsteken", +position:"Positie", +positioning_type:"Type", +visibility:"Zichtbaarheid", +zindex:"Z-index", +overflow:"Overvloeien", +placement:"Plaatsing", +clip:"Clip" }); \ No newline at end of file diff --git a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/style/langs/nn_dlg.js b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/style/langs/nn_dlg.js old mode 100644 new mode 100755 index 4e09d3ff20..0d3241042b --- a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/style/langs/nn_dlg.js +++ b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/style/langs/nn_dlg.js @@ -1,63 +1,63 @@ -tinyMCE.addI18n('nn.style_dlg',{ -title:"Rediger CSS-stil", -apply:"Legg til", -text_tab:"Tekst", -background_tab:"Bakgrunn", -block_tab:"Blokk", -box_tab:"Boks", -border_tab:"Ramme", -list_tab:"Liste", -positioning_tab:"Posisjon", -text_props:"Eigenskapar for skrift", -text_font:"Skrifttype", -text_size:"Skriftstorleik", -text_weight:"Skriftvekt", -text_style:"Skriftstil", -text_variant:"Variant", -text_lineheight:"Linjeh\u00F8gd", -text_case:"Kapitelar/minusklar", -text_color:"Farge", -text_decoration:"Dekorasjon", -text_overline:"Heva skrift", -text_underline:"Senka skrift", -text_striketrough:"Gjennomstreking", -text_blink:"Blink", -text_none:"Ingen", -background_color:"Bakgrunnsfarge", -background_image:"Bakgrunnsbilete", -background_repeat:"Gjenta", -background_attachment:"Vedlegg", -background_hpos:"Horisontal posisjon", -background_vpos:"Vertikal posisjon", -block_wordspacing:"Ordmellomrom", -block_letterspacing:"Bokstavmellomrom", -block_vertical_alignment:"Vertikal justering", -block_text_align:"Justering", -block_text_indent:"Innrykk", -block_whitespace:"Mellomrom", -block_display:"Framsyning", -box_width:"Breidd", -box_height:"H\u00F8gd", -box_float:"Flyt", -box_clear:"Slett", -padding:"Utfylling", -same:"Likt i alle", -top:"Topp", -right:"H\u00F8gre", -bottom:"Bunn", -left:"Venstre", -margin:"Marg", -style:"Stil", -width:"Breidd", -height:"H\u00F8gd", -color:"Farge", -list_type:"Type", -bullet_image:"Kulepunktbilete", -position:"Posisjon", -positioning_type:"Type", -visibility:"Synlegheit", -zindex:"Z-indeks", -overflow:"Overfylt", -placement:"Plassering", -clip:"Klipp" +tinyMCE.addI18n('nn.style_dlg',{ +title:"Rediger CSS-stil", +apply:"Legg til", +text_tab:"Tekst", +background_tab:"Bakgrunn", +block_tab:"Blokk", +box_tab:"Boks", +border_tab:"Ramme", +list_tab:"Liste", +positioning_tab:"Posisjon", +text_props:"Eigenskapar for skrift", +text_font:"Skrifttype", +text_size:"Skriftstorleik", +text_weight:"Skriftvekt", +text_style:"Skriftstil", +text_variant:"Variant", +text_lineheight:"Linjeh\u00F8gd", +text_case:"Kapitelar/minusklar", +text_color:"Farge", +text_decoration:"Dekorasjon", +text_overline:"Heva skrift", +text_underline:"Senka skrift", +text_striketrough:"Gjennomstreking", +text_blink:"Blink", +text_none:"Ingen", +background_color:"Bakgrunnsfarge", +background_image:"Bakgrunnsbilete", +background_repeat:"Gjenta", +background_attachment:"Vedlegg", +background_hpos:"Horisontal posisjon", +background_vpos:"Vertikal posisjon", +block_wordspacing:"Ordmellomrom", +block_letterspacing:"Bokstavmellomrom", +block_vertical_alignment:"Vertikal justering", +block_text_align:"Justering", +block_text_indent:"Innrykk", +block_whitespace:"Mellomrom", +block_display:"Framsyning", +box_width:"Breidd", +box_height:"H\u00F8gd", +box_float:"Flyt", +box_clear:"Slett", +padding:"Utfylling", +same:"Likt i alle", +top:"Topp", +right:"H\u00F8gre", +bottom:"Bunn", +left:"Venstre", +margin:"Marg", +style:"Stil", +width:"Breidd", +height:"H\u00F8gd", +color:"Farge", +list_type:"Type", +bullet_image:"Kulepunktbilete", +position:"Posisjon", +positioning_type:"Type", +visibility:"Synlegheit", +zindex:"Z-indeks", +overflow:"Overfylt", +placement:"Plassering", +clip:"Klipp" }); \ No newline at end of file diff --git a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/style/langs/pl_dlg.js b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/style/langs/pl_dlg.js old mode 100644 new mode 100755 index 014e2bb8cf..72a4bd5603 --- a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/style/langs/pl_dlg.js +++ b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/style/langs/pl_dlg.js @@ -1,63 +1,63 @@ -tinyMCE.addI18n('pl.style_dlg',{ -title:"Edytuj CSS Style", -apply:"Zastosuj", -text_tab:"Text", -background_tab:"T\u0142o", -block_tab:"Zablokuj", -box_tab:"Box", -border_tab:"Obramowanie", -list_tab:"Lista", -positioning_tab:"Pozycjonowanie", -text_props:"Tekst", -text_font:"Wz\u00F3r czcionki", -text_size:"Rozmiar", -text_weight:"Waga", -text_style:"Styl", -text_variant:"Wariant", -text_lineheight:"Linia wysoko\u015Bci", -text_case:"Case", -text_color:"Kolor", -text_decoration:"Dekoracja", -text_overline:"Nadkre\u015Blenie", -text_underline:"Podkre\u015Blenie", -text_striketrough:"Przekre\u015Blenie", -text_blink:"Miganie", -text_none:"\u017Baden", -background_color:"Kolor t\u0142a", -background_image:"Obrazek t\u0142a", -background_repeat:"Powt\u00F3rz", -background_attachment:"Za\u0142\u0105cznik", -background_hpos:"Pozycja pozioma", -background_vpos:"Pozycja pionowa", -block_wordspacing:"Odst\u0119p mi\u0119dzy wyrazami", -block_letterspacing:"Odst\u0119p mi\u0119dzy literami", -block_vertical_alignment:"Pionowe wyr\u00F3wnanie", -block_text_align:"Wyr\u00F3wna\u0107 tekst", -block_text_indent:"Akapit w tek\u015Bcie", -block_whitespace:"Bia\u0142a przestrze\u0144", -block_display:"Widoczno\u015B\u0107", -box_width:"Szeroko\u015B\u0107", -box_height:"Wysoko\u015B\u0107", -box_float:"P\u0142ywanie", -box_clear:"Wyczy\u015B\u0107", -padding:"Odst\u0119py", -same:"To samo dla wszystkich", -top:"G\u00F3ra", -right:"Prawy", -bottom:"D\u00F3\u0142", -left:"Lewy", -margin:"Margines", -style:"Styl", -width:"Szeroko\u015B\u0107", -height:"Wysoko\u015B\u0107", -color:"Kolor", -list_type:"Typ", -bullet_image:"Obrazek listy", -position:"Pozycja", -positioning_type:"Typ", -visibility:"Widoczno\u015B\u0107", -zindex:"Z-index", -overflow:"Przepe\u0142niony", -placement:"Umieszczenie", -clip:"Clip" +tinyMCE.addI18n('pl.style_dlg',{ +title:"Edytuj CSS Style", +apply:"Zastosuj", +text_tab:"Text", +background_tab:"T\u0142o", +block_tab:"Zablokuj", +box_tab:"Box", +border_tab:"Obramowanie", +list_tab:"Lista", +positioning_tab:"Pozycjonowanie", +text_props:"Tekst", +text_font:"Wz\u00F3r czcionki", +text_size:"Rozmiar", +text_weight:"Waga", +text_style:"Styl", +text_variant:"Wariant", +text_lineheight:"Linia wysoko\u015Bci", +text_case:"Case", +text_color:"Kolor", +text_decoration:"Dekoracja", +text_overline:"Nadkre\u015Blenie", +text_underline:"Podkre\u015Blenie", +text_striketrough:"Przekre\u015Blenie", +text_blink:"Miganie", +text_none:"\u017Baden", +background_color:"Kolor t\u0142a", +background_image:"Obrazek t\u0142a", +background_repeat:"Powt\u00F3rz", +background_attachment:"Za\u0142\u0105cznik", +background_hpos:"Pozycja pozioma", +background_vpos:"Pozycja pionowa", +block_wordspacing:"Odst\u0119p mi\u0119dzy wyrazami", +block_letterspacing:"Odst\u0119p mi\u0119dzy literami", +block_vertical_alignment:"Pionowe wyr\u00F3wnanie", +block_text_align:"Wyr\u00F3wna\u0107 tekst", +block_text_indent:"Akapit w tek\u015Bcie", +block_whitespace:"Bia\u0142a przestrze\u0144", +block_display:"Widoczno\u015B\u0107", +box_width:"Szeroko\u015B\u0107", +box_height:"Wysoko\u015B\u0107", +box_float:"P\u0142ywanie", +box_clear:"Wyczy\u015B\u0107", +padding:"Odst\u0119py", +same:"To samo dla wszystkich", +top:"G\u00F3ra", +right:"Prawy", +bottom:"D\u00F3\u0142", +left:"Lewy", +margin:"Margines", +style:"Styl", +width:"Szeroko\u015B\u0107", +height:"Wysoko\u015B\u0107", +color:"Kolor", +list_type:"Typ", +bullet_image:"Obrazek listy", +position:"Pozycja", +positioning_type:"Typ", +visibility:"Widoczno\u015B\u0107", +zindex:"Z-index", +overflow:"Przepe\u0142niony", +placement:"Umieszczenie", +clip:"Clip" }); \ No newline at end of file diff --git a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/style/langs/pt_dlg.js b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/style/langs/pt_dlg.js old mode 100644 new mode 100755 index fbc5dcc369..ba10be2f93 --- a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/style/langs/pt_dlg.js +++ b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/style/langs/pt_dlg.js @@ -1,63 +1,63 @@ -tinyMCE.addI18n('pt.style_dlg',{ -title:"Editar CSS", -apply:"Aplicar", -text_tab:"Texto", -background_tab:"Fundo", -block_tab:"Bloco", -box_tab:"Caixa", -border_tab:"Limites", -list_tab:"Lista", -positioning_tab:"Posicionamento", -text_props:"Texto", -text_font:"Fonte", -text_size:"Tamanho", -text_weight:"Peso", -text_style:"Estilo", -text_variant:"Variante", -text_lineheight:"Altura da linha", -text_case:"Mai\u00FAscula", -text_color:"Cor", -text_decoration:"Decora\u00E7\u00E3o", -text_overline:"Sobrelinha", -text_underline:"Sublinhado", -text_striketrough:"Riscado", -text_blink:"Piscar", -text_none:"nenhum", -background_color:"Cor de fundo", -background_image:"Imagem de fundo", -background_repeat:"Repetir", -background_attachment:"Fixar", -background_hpos:"Posi\u00E7\u00E3o horizontal", -background_vpos:"Posi\u00E7\u00E3o vertical", -block_wordspacing:"Espa\u00E7amento de palavras", -block_letterspacing:"Espa\u00E7amento de letras", -block_vertical_alignment:"Alinhamento vertical", -block_text_align:"Alinhamento de texto", -block_text_indent:"Indent", -block_whitespace:"Espa\u00E7o", -block_display:"Display", -box_width:"Largura", -box_height:"Altura", -box_float:"Float", -box_clear:"Clear", -padding:"Padding", -same:"O mesmo para todos", -top:"Topo", -right:"Direita", -bottom:"Abaixo", -left:"Esquerda", -margin:"Margem", -style:"Estilo", -width:"Largura", -height:"Altura", -color:"Cor", -list_type:"Tipo", -bullet_image:"Imagem de lista", -position:"Posi\u00E7\u00E3o", -positioning_type:"Tipo", -visibility:"Visibilidade", -zindex:"Z-index", -overflow:"Overflow", -placement:"Posicionamento", -clip:"Clip" +tinyMCE.addI18n('pt.style_dlg',{ +title:"Editar CSS", +apply:"Aplicar", +text_tab:"Texto", +background_tab:"Fundo", +block_tab:"Bloco", +box_tab:"Caixa", +border_tab:"Limites", +list_tab:"Lista", +positioning_tab:"Posicionamento", +text_props:"Texto", +text_font:"Fonte", +text_size:"Tamanho", +text_weight:"Peso", +text_style:"Estilo", +text_variant:"Variante", +text_lineheight:"Altura da linha", +text_case:"Mai\u00FAscula", +text_color:"Cor", +text_decoration:"Decora\u00E7\u00E3o", +text_overline:"Sobrelinha", +text_underline:"Sublinhado", +text_striketrough:"Riscado", +text_blink:"Piscar", +text_none:"nenhum", +background_color:"Cor de fundo", +background_image:"Imagem de fundo", +background_repeat:"Repetir", +background_attachment:"Fixar", +background_hpos:"Posi\u00E7\u00E3o horizontal", +background_vpos:"Posi\u00E7\u00E3o vertical", +block_wordspacing:"Espa\u00E7amento de palavras", +block_letterspacing:"Espa\u00E7amento de letras", +block_vertical_alignment:"Alinhamento vertical", +block_text_align:"Alinhamento de texto", +block_text_indent:"Indent", +block_whitespace:"Espa\u00E7o", +block_display:"Display", +box_width:"Largura", +box_height:"Altura", +box_float:"Float", +box_clear:"Clear", +padding:"Padding", +same:"O mesmo para todos", +top:"Topo", +right:"Direita", +bottom:"Abaixo", +left:"Esquerda", +margin:"Margem", +style:"Estilo", +width:"Largura", +height:"Altura", +color:"Cor", +list_type:"Tipo", +bullet_image:"Imagem de lista", +position:"Posi\u00E7\u00E3o", +positioning_type:"Tipo", +visibility:"Visibilidade", +zindex:"Z-index", +overflow:"Overflow", +placement:"Posicionamento", +clip:"Clip" }); \ No newline at end of file diff --git a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/style/langs/ru_dlg.js b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/style/langs/ru_dlg.js old mode 100644 new mode 100755 index ce0c15b6bc..b0ff1d735f --- a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/style/langs/ru_dlg.js +++ b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/style/langs/ru_dlg.js @@ -1,63 +1,63 @@ -tinyMCE.addI18n('ru.style_dlg',{ -title:"\u0420\u0435\u0434\u0430\u043A\u0442\u043E\u0440 CSS \u0441\u0442\u0438\u043B\u044F", -apply:"\u041F\u0440\u0438\u043C\u0435\u043D\u0438\u0442\u044C", -text_tab:"\u0422\u0435\u043A\u0441\u0442", -background_tab:"\u0424\u043E\u043D", -block_tab:"\u0411\u043B\u043E\u043A", -box_tab:"\u041A\u0440\u0430\u044F", -border_tab:"\u0413\u0440\u0430\u043D\u0438\u0446\u0430", -list_tab:"\u0421\u043F\u0438\u0441\u043E\u043A", -positioning_tab:"\u041F\u043E\u043B\u043E\u0436\u0435\u043D\u0438\u0435", -text_props:"\u0422\u0435\u043A\u0441\u0442", -text_font:"\u0428\u0440\u0438\u0444\u0442", -text_size:"\u0420\u0430\u0437\u043C\u0435\u0440", -text_weight:"\u0422\u043E\u043B\u0449\u0438\u043D\u0430", -text_style:"\u0421\u0442\u0438\u043B\u044C", -text_variant:"\u0412\u0430\u0440\u0438\u0430\u043D\u0442", -text_lineheight:"\u0412\u044B\u0441\u043E\u0442\u0430 \u0441\u0442\u0440\u043E\u043A\u0438", -text_case:"\u0420\u0435\u0433\u0438\u0441\u0442\u0440", -text_color:"\u0426\u0432\u0435\u0442", -text_decoration:"\u041E\u0444\u043E\u0440\u043C\u043B\u0435\u043D\u0438\u0435", -text_overline:"\u0421 \u0432\u0435\u0440\u0445\u043D\u0435\u0439 \u0447\u0435\u0440\u0442\u043E\u0439", -text_underline:"\u041F\u043E\u0434\u0447\u0435\u0440\u043A\u043D\u0443\u0442\u044B\u0439", -text_striketrough:"\u0417\u0430\u0447\u0435\u0440\u043A\u043D\u0443\u0442\u044B\u0439", -text_blink:"\u041C\u0435\u0440\u0446\u0430\u044E\u0449\u0438\u0439", -text_none:"\u0411\u0435\u0437 \u0432\u0441\u0435\u0433\u043E", -background_color:"\u0426\u0432\u0435\u0442 \u0444\u043E\u043D\u0430", -background_image:"\u0424\u043E\u043D\u043E\u0432\u043E\u0435 \u0438\u0437\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u0438\u0435", -background_repeat:"\u041F\u043E\u0432\u0442\u043E\u0440", -background_attachment:"\u041F\u0440\u0438\u0432\u044F\u0437\u043A\u0430", -background_hpos:"\u0413\u043E\u0440\u0438\u0437\u043E\u043D\u0442\u0430\u043B\u044C\u043D\u0430\u044F \u043F\u043E\u0437\u0438\u0446\u0438\u044F", -background_vpos:"\u0412\u0435\u0440\u0442\u0438\u043A\u0430\u043B\u044C\u043D\u0430\u044F \u043F\u043E\u0437\u0438\u0446\u0438\u044F", -block_wordspacing:"\u041E\u0442\u0441\u0442\u0443\u043F\u044B \u043C\u0435\u0436\u0434\u0443 \u0441\u043B\u043E\u0432\u0430\u043C\u0438", -block_letterspacing:"\u041E\u0442\u0441\u0442\u0443\u043F\u044B \u043C\u0435\u0436\u0434\u0443 \u0431\u0443\u043A\u0432\u0430\u043C\u0438", -block_vertical_alignment:"\u0412\u0435\u0440\u0442\u0438\u043A\u0430\u043B\u044C\u043D\u043E\u0435 \u0432\u044B\u0440\u0430\u0432\u043D\u0438\u0432\u0430\u043D\u0438\u0435", -block_text_align:"\u0412\u044B\u0440\u0430\u0432\u043D\u0438\u0432\u0430\u043D\u0438\u0435 \u0442\u0435\u043A\u0441\u0442\u0430", -block_text_indent:"\u041E\u0442\u0441\u0442\u0443\u043F \u0442\u0435\u043A\u0441\u0442\u0430", -block_whitespace:"\u041F\u0440\u043E\u0431\u0435\u043B", -block_display:"\u041E\u0442\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u0438\u0435", -box_width:"\u0428\u0438\u0440\u0438\u043D\u0430", -box_height:"\u0412\u044B\u0441\u043E\u0442\u0430", -box_float:"\u041F\u043B\u0430\u0432\u0430\u044E\u0449\u0438\u0439", -box_clear:"\u042F\u0432\u043D\u044B\u0439", -padding:"\u041F\u043E\u043B\u044F", -same:"\u041E\u0434\u0438\u043D\u0430\u043A\u043E\u0432\u043E \u0434\u043B\u044F \u0432\u0441\u0435\u0445", -top:"\u0412\u0432\u0435\u0440\u0445", -right:"\u0421\u043F\u0440\u0430\u0432\u0430", -bottom:"\u0421\u043D\u0438\u0437\u0443", -left:"\u0421\u043B\u0435\u0432\u0430", -margin:"\u041E\u0442\u0441\u0442\u0443\u043F\u044B", -style:"\u0421\u0442\u0438\u043B\u044C", -width:"\u0428\u0438\u0440\u0438\u043D\u0430", -height:"\u0412\u044B\u0441\u043E\u0442\u0430", -color:"\u0426\u0432\u0435\u0442", -list_type:"\u0422\u0438\u043F", -bullet_image:"\u041C\u0430\u0440\u043A\u0435\u0440", -position:"\u041F\u043E\u0437\u0438\u0446\u0438\u044F", -positioning_type:"\u0422\u0438\u043F", -visibility:"\u0412\u0438\u0434\u0438\u043C\u043E\u0441\u0442\u044C", -zindex:"Z-\u0438\u043D\u0434\u0435\u043A\u0441", -overflow:"\u041F\u0435\u0440\u0435\u043F\u043E\u043B\u043D\u0435\u043D\u0435", -placement:"\u0420\u0430\u0437\u043C\u0435\u0449\u0435\u043D\u0438\u0435", -clip:"\u041E\u0442\u0441\u0435\u0447\u0435\u043D\u0438\u0435" +tinyMCE.addI18n('ru.style_dlg',{ +title:"\u0420\u0435\u0434\u0430\u043A\u0442\u043E\u0440 CSS \u0441\u0442\u0438\u043B\u044F", +apply:"\u041F\u0440\u0438\u043C\u0435\u043D\u0438\u0442\u044C", +text_tab:"\u0422\u0435\u043A\u0441\u0442", +background_tab:"\u0424\u043E\u043D", +block_tab:"\u0411\u043B\u043E\u043A", +box_tab:"\u041A\u0440\u0430\u044F", +border_tab:"\u0413\u0440\u0430\u043D\u0438\u0446\u0430", +list_tab:"\u0421\u043F\u0438\u0441\u043E\u043A", +positioning_tab:"\u041F\u043E\u043B\u043E\u0436\u0435\u043D\u0438\u0435", +text_props:"\u0422\u0435\u043A\u0441\u0442", +text_font:"\u0428\u0440\u0438\u0444\u0442", +text_size:"\u0420\u0430\u0437\u043C\u0435\u0440", +text_weight:"\u0422\u043E\u043B\u0449\u0438\u043D\u0430", +text_style:"\u0421\u0442\u0438\u043B\u044C", +text_variant:"\u0412\u0430\u0440\u0438\u0430\u043D\u0442", +text_lineheight:"\u0412\u044B\u0441\u043E\u0442\u0430 \u0441\u0442\u0440\u043E\u043A\u0438", +text_case:"\u0420\u0435\u0433\u0438\u0441\u0442\u0440", +text_color:"\u0426\u0432\u0435\u0442", +text_decoration:"\u041E\u0444\u043E\u0440\u043C\u043B\u0435\u043D\u0438\u0435", +text_overline:"\u0421 \u0432\u0435\u0440\u0445\u043D\u0435\u0439 \u0447\u0435\u0440\u0442\u043E\u0439", +text_underline:"\u041F\u043E\u0434\u0447\u0435\u0440\u043A\u043D\u0443\u0442\u044B\u0439", +text_striketrough:"\u0417\u0430\u0447\u0435\u0440\u043A\u043D\u0443\u0442\u044B\u0439", +text_blink:"\u041C\u0435\u0440\u0446\u0430\u044E\u0449\u0438\u0439", +text_none:"\u0411\u0435\u0437 \u0432\u0441\u0435\u0433\u043E", +background_color:"\u0426\u0432\u0435\u0442 \u0444\u043E\u043D\u0430", +background_image:"\u0424\u043E\u043D\u043E\u0432\u043E\u0435 \u0438\u0437\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u0438\u0435", +background_repeat:"\u041F\u043E\u0432\u0442\u043E\u0440", +background_attachment:"\u041F\u0440\u0438\u0432\u044F\u0437\u043A\u0430", +background_hpos:"\u0413\u043E\u0440\u0438\u0437\u043E\u043D\u0442\u0430\u043B\u044C\u043D\u0430\u044F \u043F\u043E\u0437\u0438\u0446\u0438\u044F", +background_vpos:"\u0412\u0435\u0440\u0442\u0438\u043A\u0430\u043B\u044C\u043D\u0430\u044F \u043F\u043E\u0437\u0438\u0446\u0438\u044F", +block_wordspacing:"\u041E\u0442\u0441\u0442\u0443\u043F\u044B \u043C\u0435\u0436\u0434\u0443 \u0441\u043B\u043E\u0432\u0430\u043C\u0438", +block_letterspacing:"\u041E\u0442\u0441\u0442\u0443\u043F\u044B \u043C\u0435\u0436\u0434\u0443 \u0431\u0443\u043A\u0432\u0430\u043C\u0438", +block_vertical_alignment:"\u0412\u0435\u0440\u0442\u0438\u043A\u0430\u043B\u044C\u043D\u043E\u0435 \u0432\u044B\u0440\u0430\u0432\u043D\u0438\u0432\u0430\u043D\u0438\u0435", +block_text_align:"\u0412\u044B\u0440\u0430\u0432\u043D\u0438\u0432\u0430\u043D\u0438\u0435 \u0442\u0435\u043A\u0441\u0442\u0430", +block_text_indent:"\u041E\u0442\u0441\u0442\u0443\u043F \u0442\u0435\u043A\u0441\u0442\u0430", +block_whitespace:"\u041F\u0440\u043E\u0431\u0435\u043B", +block_display:"\u041E\u0442\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u0438\u0435", +box_width:"\u0428\u0438\u0440\u0438\u043D\u0430", +box_height:"\u0412\u044B\u0441\u043E\u0442\u0430", +box_float:"\u041F\u043B\u0430\u0432\u0430\u044E\u0449\u0438\u0439", +box_clear:"\u042F\u0432\u043D\u044B\u0439", +padding:"\u041F\u043E\u043B\u044F", +same:"\u041E\u0434\u0438\u043D\u0430\u043A\u043E\u0432\u043E \u0434\u043B\u044F \u0432\u0441\u0435\u0445", +top:"\u0412\u0432\u0435\u0440\u0445", +right:"\u0421\u043F\u0440\u0430\u0432\u0430", +bottom:"\u0421\u043D\u0438\u0437\u0443", +left:"\u0421\u043B\u0435\u0432\u0430", +margin:"\u041E\u0442\u0441\u0442\u0443\u043F\u044B", +style:"\u0421\u0442\u0438\u043B\u044C", +width:"\u0428\u0438\u0440\u0438\u043D\u0430", +height:"\u0412\u044B\u0441\u043E\u0442\u0430", +color:"\u0426\u0432\u0435\u0442", +list_type:"\u0422\u0438\u043F", +bullet_image:"\u041C\u0430\u0440\u043A\u0435\u0440", +position:"\u041F\u043E\u0437\u0438\u0446\u0438\u044F", +positioning_type:"\u0422\u0438\u043F", +visibility:"\u0412\u0438\u0434\u0438\u043C\u043E\u0441\u0442\u044C", +zindex:"Z-\u0438\u043D\u0434\u0435\u043A\u0441", +overflow:"\u041F\u0435\u0440\u0435\u043F\u043E\u043B\u043D\u0435\u043D\u0435", +placement:"\u0420\u0430\u0437\u043C\u0435\u0449\u0435\u043D\u0438\u0435", +clip:"\u041E\u0442\u0441\u0435\u0447\u0435\u043D\u0438\u0435" }); \ No newline at end of file diff --git a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/style/langs/sv_dlg.js b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/style/langs/sv_dlg.js old mode 100644 new mode 100755 index 3e7f4ed867..145f033e41 --- a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/style/langs/sv_dlg.js +++ b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/style/langs/sv_dlg.js @@ -1,63 +1,63 @@ -tinyMCE.addI18n('sv.style_dlg',{ -title:"Redigera inline CSS", -apply:"Applicera", -text_tab:"Text", -background_tab:"Bakgrund", -block_tab:"Block", -box_tab:"Box", -border_tab:"Ramar", -list_tab:"Listor", -positioning_tab:"Positionering", -text_props:"Text", -text_font:"Typsnitt", -text_size:"Storlek", -text_weight:"Tjocklek", -text_style:"Stil", -text_variant:"Variant", -text_lineheight:"Radh\u00F6jd", -text_case:"Sm\u00E5/stora", -text_color:"F\u00E4rg", -text_decoration:"Dekoration", -text_overline:"\u00D6verstruken", -text_underline:"Understruken", -text_striketrough:"Genomstruken", -text_blink:"Blinka", -text_none:"Inget", -background_color:"Bakgrundsf\u00E4rg", -background_image:"Bakgrundsbild", -background_repeat:"Upprepning", -background_attachment:"F\u00E4stpunkt", -background_hpos:"Horisontell position", -background_vpos:"Vertikal position", -block_wordspacing:"Ordavbrytning", -block_letterspacing:"Teckenmellanrum", -block_vertical_alignment:"Vertikal justering", -block_text_align:"Textjustering", -block_text_indent:"Textindrag", -block_whitespace:"Whitespace", -block_display:"Display", -box_width:"Bredd", -box_height:"H\u00F6jd", -box_float:"Float", -box_clear:"Clear", -padding:"Padding", -same:"Samma f\u00F6r alla", -top:"Toppen", -right:"H\u00F6ger", -bottom:"Botten", -left:"V\u00E4nster", -margin:"Marginal", -style:"Stil", -width:"Bredd", -height:"H\u00F6jd", -color:"F\u00E4rg", -list_type:"Listtyp", -bullet_image:"Punktbild", -position:"Position", -positioning_type:"Positionstyp", -visibility:"Synlighet", -zindex:"Z-index", -overflow:"\u00D6\u0096verfl\u00F6de", -placement:"Placering", -clip:"Besk\u00E4rning" +tinyMCE.addI18n('sv.style_dlg',{ +title:"Redigera inline CSS", +apply:"Applicera", +text_tab:"Text", +background_tab:"Bakgrund", +block_tab:"Block", +box_tab:"Box", +border_tab:"Ramar", +list_tab:"Listor", +positioning_tab:"Positionering", +text_props:"Text", +text_font:"Typsnitt", +text_size:"Storlek", +text_weight:"Tjocklek", +text_style:"Stil", +text_variant:"Variant", +text_lineheight:"Radh\u00F6jd", +text_case:"Sm\u00E5/stora", +text_color:"F\u00E4rg", +text_decoration:"Dekoration", +text_overline:"\u00D6verstruken", +text_underline:"Understruken", +text_striketrough:"Genomstruken", +text_blink:"Blinka", +text_none:"Inget", +background_color:"Bakgrundsf\u00E4rg", +background_image:"Bakgrundsbild", +background_repeat:"Upprepning", +background_attachment:"F\u00E4stpunkt", +background_hpos:"Horisontell position", +background_vpos:"Vertikal position", +block_wordspacing:"Ordavbrytning", +block_letterspacing:"Teckenmellanrum", +block_vertical_alignment:"Vertikal justering", +block_text_align:"Textjustering", +block_text_indent:"Textindrag", +block_whitespace:"Whitespace", +block_display:"Display", +box_width:"Bredd", +box_height:"H\u00F6jd", +box_float:"Float", +box_clear:"Clear", +padding:"Padding", +same:"Samma f\u00F6r alla", +top:"Toppen", +right:"H\u00F6ger", +bottom:"Botten", +left:"V\u00E4nster", +margin:"Marginal", +style:"Stil", +width:"Bredd", +height:"H\u00F6jd", +color:"F\u00E4rg", +list_type:"Listtyp", +bullet_image:"Punktbild", +position:"Position", +positioning_type:"Positionstyp", +visibility:"Synlighet", +zindex:"Z-index", +overflow:"\u00D6\u0096verfl\u00F6de", +placement:"Placering", +clip:"Besk\u00E4rning" }); \ No newline at end of file diff --git a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/style/langs/zh_dlg.js b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/style/langs/zh_dlg.js old mode 100644 new mode 100755 index 522775e5fd..b58ef9faa0 --- a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/style/langs/zh_dlg.js +++ b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/style/langs/zh_dlg.js @@ -1,63 +1,63 @@ -tinyMCE.addI18n('zh.style_dlg',{ -title:"\u7DE8\u8F2F CSS \u6A23\u5F0F\u8868", -apply:"\u5957\u7528", -text_tab:"\u6587\u5B57", -background_tab:"\u80CC\u666F", -block_tab:"\u5340\u584A", -box_tab:"\u65B9\u584A", -border_tab:"\u908A\u6846", -list_tab:"\u5217\u8868", -positioning_tab:"\u4F4D\u7F6E", -text_props:"\u6587\u5B57", -text_font:"\u5B57\u9AD4", -text_size:"\u6587\u5B57\u5927\u5C0F", -text_weight:"\u5B57\u91CD", -text_style:"\u6A23\u5F0F", -text_variant:"\u8B8A\u91CF", -text_lineheight:"\u884C\u9AD8", -text_case:"\u5B57\u578B", -text_color:"\u984F\u8272", -text_decoration:"\u88DD\u98FE", -text_overline:"\u4E0A\u5283\u7DDA", -text_underline:"\u5E95\u7DDA", -text_striketrough:"\u522A\u9664\u7DDA", -text_blink:"\u9583\u720D", -text_none:"\u7121", -background_color:"\u80CC\u666F\u984F\u8272", -background_image:"\u80CC\u666F\u5716\u7247", -background_repeat:"\u91CD\u8907", -background_attachment:"\u9644\u4EF6", -background_hpos:"\u6C34\u5E73\u4F4D\u7F6E", -background_vpos:"\u5782\u76F4\u4F4D\u7F6E", -block_wordspacing:"\u9593\u8DDD", -block_letterspacing:"\u5B57\u6BCD\u9593\u8DDD", -block_vertical_alignment:"\u5782\u76F4\u5C0D\u9F4A", -block_text_align:"\u6587\u5B57\u5C0D\u9F4A", -block_text_indent:"\u6587\u5B57\u7E2E\u6392", -block_whitespace:"\u7A7A\u683C", -block_display:"\u986F\u793A", -box_width:"\u5BEC", -box_height:"\u9AD8", -box_float:"\u6D6E\u52D5", -box_clear:"\u6E05\u9664\u6D6E\u52D5", -padding:"\u5167\u908A\u8DDD", -same:"\u5168\u90E8\u76F8\u540C", -top:"\u5B9A\u90E8", -right:"\u53F3\u5074", -bottom:"\u9760\u4E0B", -left:"\u5DE6\u5074", -margin:"\u5916\u908A\u8DDD", -style:"\u6A23\u5F0F", -width:"\u5BEC", -height:"\u9AD8", -color:"\u984F\u8272", -list_type:"\u985E\u8868\u985E\u578B", -bullet_image:"\u5716\u7247\u9805\u76EE\u7B26\u865F", -position:"\u4F4D\u7F6E", -positioning_type:"\u985E\u578B", -visibility:"\u53EF\u898B", -zindex:"Z-\u5750\u6A19", -overflow:"\u6EA2\u51FA", -placement:"\u653E\u7F6E", -clip:"\u526A\u8F2F" +tinyMCE.addI18n('zh.style_dlg',{ +title:"\u7DE8\u8F2F CSS \u6A23\u5F0F\u8868", +apply:"\u5957\u7528", +text_tab:"\u6587\u5B57", +background_tab:"\u80CC\u666F", +block_tab:"\u5340\u584A", +box_tab:"\u65B9\u584A", +border_tab:"\u908A\u6846", +list_tab:"\u5217\u8868", +positioning_tab:"\u4F4D\u7F6E", +text_props:"\u6587\u5B57", +text_font:"\u5B57\u9AD4", +text_size:"\u6587\u5B57\u5927\u5C0F", +text_weight:"\u5B57\u91CD", +text_style:"\u6A23\u5F0F", +text_variant:"\u8B8A\u91CF", +text_lineheight:"\u884C\u9AD8", +text_case:"\u5B57\u578B", +text_color:"\u984F\u8272", +text_decoration:"\u88DD\u98FE", +text_overline:"\u4E0A\u5283\u7DDA", +text_underline:"\u5E95\u7DDA", +text_striketrough:"\u522A\u9664\u7DDA", +text_blink:"\u9583\u720D", +text_none:"\u7121", +background_color:"\u80CC\u666F\u984F\u8272", +background_image:"\u80CC\u666F\u5716\u7247", +background_repeat:"\u91CD\u8907", +background_attachment:"\u9644\u4EF6", +background_hpos:"\u6C34\u5E73\u4F4D\u7F6E", +background_vpos:"\u5782\u76F4\u4F4D\u7F6E", +block_wordspacing:"\u9593\u8DDD", +block_letterspacing:"\u5B57\u6BCD\u9593\u8DDD", +block_vertical_alignment:"\u5782\u76F4\u5C0D\u9F4A", +block_text_align:"\u6587\u5B57\u5C0D\u9F4A", +block_text_indent:"\u6587\u5B57\u7E2E\u6392", +block_whitespace:"\u7A7A\u683C", +block_display:"\u986F\u793A", +box_width:"\u5BEC", +box_height:"\u9AD8", +box_float:"\u6D6E\u52D5", +box_clear:"\u6E05\u9664\u6D6E\u52D5", +padding:"\u5167\u908A\u8DDD", +same:"\u5168\u90E8\u76F8\u540C", +top:"\u5B9A\u90E8", +right:"\u53F3\u5074", +bottom:"\u9760\u4E0B", +left:"\u5DE6\u5074", +margin:"\u5916\u908A\u8DDD", +style:"\u6A23\u5F0F", +width:"\u5BEC", +height:"\u9AD8", +color:"\u984F\u8272", +list_type:"\u985E\u8868\u985E\u578B", +bullet_image:"\u5716\u7247\u9805\u76EE\u7B26\u865F", +position:"\u4F4D\u7F6E", +positioning_type:"\u985E\u578B", +visibility:"\u53EF\u898B", +zindex:"Z-\u5750\u6A19", +overflow:"\u6EA2\u51FA", +placement:"\u653E\u7F6E", +clip:"\u526A\u8F2F" }); \ No newline at end of file diff --git a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/table/cell.htm b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/table/cell.htm old mode 100644 new mode 100755 index d243e1d833..af7e003efd --- a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/table/cell.htm +++ b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/table/cell.htm @@ -1,178 +1,178 @@ - - - - {#table_dlg.cell_title} - - - - - - - - -
    - - -
    -
    -
    - {#table_dlg.general_props} - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    - - - -
    - - - -
    - -
    -
    -
    - -
    -
    - {#table_dlg.advanced_props} - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    - -
    - -
    - - - - - -
     
    -
    - - - - - -
     
    -
    - - - - - -
     
    -
    -
    -
    -
    - -
    -
    - -
    - - - -
    -
    - - + + + + {#table_dlg.cell_title} + + + + + + + + +
    + + +
    +
    +
    + {#table_dlg.general_props} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + + +
    + + + +
    + +
    +
    +
    + +
    +
    + {#table_dlg.advanced_props} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + +
    + +
    + + + + + +
     
    +
    + + + + + +
     
    +
    + + + + + +
     
    +
    +
    +
    +
    + +
    +
    + +
    + + + +
    +
    + + diff --git a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/table/css/cell.css b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/table/css/cell.css old mode 100644 new mode 100755 index a067ecdfed..a47cc1a1ef --- a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/table/css/cell.css +++ b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/table/css/cell.css @@ -1,17 +1,17 @@ -/* CSS file for cell dialog in the table plugin */ - -.panel_wrapper div.current { - height: 200px; -} - -.advfield { - width: 200px; -} - -#action { - margin-bottom: 3px; -} - -#class { - width: 150px; +/* CSS file for cell dialog in the table plugin */ + +.panel_wrapper div.current { + height: 200px; +} + +.advfield { + width: 200px; +} + +#action { + margin-bottom: 3px; +} + +#class { + width: 150px; } \ No newline at end of file diff --git a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/table/css/row.css b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/table/css/row.css old mode 100644 new mode 100755 index 1f7755dafa..0e397db3e2 --- a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/table/css/row.css +++ b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/table/css/row.css @@ -1,25 +1,25 @@ -/* CSS file for row dialog in the table plugin */ - -.panel_wrapper div.current { - height: 200px; -} - -.advfield { - width: 200px; -} - -#action { - margin-bottom: 3px; -} - -#rowtype,#align,#valign,#class,#height { - width: 150px; -} - -#height { - width: 50px; -} - -.col2 { - padding-left: 20px; -} +/* CSS file for row dialog in the table plugin */ + +.panel_wrapper div.current { + height: 200px; +} + +.advfield { + width: 200px; +} + +#action { + margin-bottom: 3px; +} + +#rowtype,#align,#valign,#class,#height { + width: 150px; +} + +#height { + width: 50px; +} + +.col2 { + padding-left: 20px; +} diff --git a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/table/css/table.css b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/table/css/table.css old mode 100644 new mode 100755 index d11c3f69cb..8f107831ef --- a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/table/css/table.css +++ b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/table/css/table.css @@ -1,13 +1,13 @@ -/* CSS file for table dialog in the table plugin */ - -.panel_wrapper div.current { - height: 245px; -} - -.advfield { - width: 200px; -} - -#class { - width: 150px; -} +/* CSS file for table dialog in the table plugin */ + +.panel_wrapper div.current { + height: 245px; +} + +.advfield { + width: 200px; +} + +#class { + width: 150px; +} diff --git a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/table/js/cell.js b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/table/js/cell.js old mode 100644 new mode 100755 index b5fc1fda3d..fae7e6fbdd --- a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/table/js/cell.js +++ b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/table/js/cell.js @@ -1,286 +1,286 @@ -tinyMCEPopup.requireLangPack(); - -var ed; - -function init() { - ed = tinyMCEPopup.editor; - tinyMCEPopup.resizeToInnerSize(); - - document.getElementById('backgroundimagebrowsercontainer').innerHTML = getBrowserHTML('backgroundimagebrowser','backgroundimage','image','table'); - document.getElementById('bordercolor_pickcontainer').innerHTML = getColorPickerHTML('bordercolor_pick','bordercolor'); - document.getElementById('bgcolor_pickcontainer').innerHTML = getColorPickerHTML('bgcolor_pick','bgcolor') - - var inst = ed; - var tdElm = ed.dom.getParent(ed.selection.getStart(), "td,th"); - var formObj = document.forms[0]; - var st = ed.dom.parseStyle(ed.dom.getAttrib(tdElm, "style")); - - // Get table cell data - var celltype = tdElm.nodeName.toLowerCase(); - var align = ed.dom.getAttrib(tdElm, 'align'); - var valign = ed.dom.getAttrib(tdElm, 'valign'); - var width = trimSize(getStyle(tdElm, 'width', 'width')); - var height = trimSize(getStyle(tdElm, 'height', 'height')); - var bordercolor = convertRGBToHex(getStyle(tdElm, 'bordercolor', 'borderLeftColor')); - var bgcolor = convertRGBToHex(getStyle(tdElm, 'bgcolor', 'backgroundColor')); - var className = ed.dom.getAttrib(tdElm, 'class'); - var backgroundimage = getStyle(tdElm, 'background', 'backgroundImage').replace(new RegExp("url\\(['\"]?([^'\"]*)['\"]?\\)", 'gi'), "$1"); - var id = ed.dom.getAttrib(tdElm, 'id'); - var lang = ed.dom.getAttrib(tdElm, 'lang'); - var dir = ed.dom.getAttrib(tdElm, 'dir'); - var scope = ed.dom.getAttrib(tdElm, 'scope'); - - // Setup form - addClassesToList('class', 'table_cell_styles'); - TinyMCE_EditableSelects.init(); - - if (!ed.dom.hasClass(tdElm, 'mceSelected')) { - formObj.bordercolor.value = bordercolor; - formObj.bgcolor.value = bgcolor; - formObj.backgroundimage.value = backgroundimage; - formObj.width.value = width; - formObj.height.value = height; - formObj.id.value = id; - formObj.lang.value = lang; - formObj.style.value = ed.dom.serializeStyle(st); - selectByValue(formObj, 'align', align); - selectByValue(formObj, 'valign', valign); - selectByValue(formObj, 'class', className, true, true); - selectByValue(formObj, 'celltype', celltype); - selectByValue(formObj, 'dir', dir); - selectByValue(formObj, 'scope', scope); - - // Resize some elements - if (isVisible('backgroundimagebrowser')) - document.getElementById('backgroundimage').style.width = '180px'; - - updateColor('bordercolor_pick', 'bordercolor'); - updateColor('bgcolor_pick', 'bgcolor'); - } else - tinyMCEPopup.dom.hide('action'); -} - -function updateAction() { - var el, inst = ed, tdElm, trElm, tableElm, formObj = document.forms[0]; - - tinyMCEPopup.restoreSelection(); - el = ed.selection.getStart(); - tdElm = ed.dom.getParent(el, "td,th"); - trElm = ed.dom.getParent(el, "tr"); - tableElm = ed.dom.getParent(el, "table"); - - // Cell is selected - if (ed.dom.hasClass(tdElm, 'mceSelected')) { - // Update all selected sells - tinymce.each(ed.dom.select('td.mceSelected,th.mceSelected'), function(td) { - updateCell(td); - }); - - ed.addVisual(); - ed.nodeChanged(); - inst.execCommand('mceEndUndoLevel'); - tinyMCEPopup.close(); - return; - } - - ed.execCommand('mceBeginUndoLevel'); - - switch (getSelectValue(formObj, 'action')) { - case "cell": - var celltype = getSelectValue(formObj, 'celltype'); - var scope = getSelectValue(formObj, 'scope'); - - function doUpdate(s) { - if (s) { - updateCell(tdElm); - - ed.addVisual(); - ed.nodeChanged(); - inst.execCommand('mceEndUndoLevel'); - tinyMCEPopup.close(); - } - }; - - if (ed.getParam("accessibility_warnings", 1)) { - if (celltype == "th" && scope == "") - tinyMCEPopup.confirm(ed.getLang('table_dlg.missing_scope', '', true), doUpdate); - else - doUpdate(1); - - return; - } - - updateCell(tdElm); - break; - - case "row": - var cell = trElm.firstChild; - - if (cell.nodeName != "TD" && cell.nodeName != "TH") - cell = nextCell(cell); - - do { - cell = updateCell(cell, true); - } while ((cell = nextCell(cell)) != null); - - break; - - case "all": - var rows = tableElm.getElementsByTagName("tr"); - - for (var i=0; i 0) { - tinymce.each(tableElm.rows, function(tr) { - var i; - - for (i = 0; i < tr.cells.length; i++) { - if (dom.hasClass(tr.cells[i], 'mceSelected')) { - updateRow(tr, true); - return; - } - } - }); - - inst.addVisual(); - inst.nodeChanged(); - inst.execCommand('mceEndUndoLevel'); - tinyMCEPopup.close(); - return; - } - - inst.execCommand('mceBeginUndoLevel'); - - switch (action) { - case "row": - updateRow(trElm); - break; - - case "all": - var rows = tableElm.getElementsByTagName("tr"); - - for (var i=0; i 0) { + tinymce.each(tableElm.rows, function(tr) { + var i; + + for (i = 0; i < tr.cells.length; i++) { + if (dom.hasClass(tr.cells[i], 'mceSelected')) { + updateRow(tr, true); + return; + } + } + }); + + inst.addVisual(); + inst.nodeChanged(); + inst.execCommand('mceEndUndoLevel'); + tinyMCEPopup.close(); + return; + } + + inst.execCommand('mceBeginUndoLevel'); + + switch (action) { + case "row": + updateRow(trElm); + break; + + case "all": + var rows = tableElm.getElementsByTagName("tr"); + + for (var i=0; i colLimit) { - tinyMCEPopup.alert(inst.getLang('table_dlg.col_limit').replace(/\{\$cols\}/g, colLimit)); - return false; - } else if (rowLimit && rows > rowLimit) { - tinyMCEPopup.alert(inst.getLang('table_dlg.row_limit').replace(/\{\$rows\}/g, rowLimit)); - return false; - } else if (cellLimit && cols * rows > cellLimit) { - tinyMCEPopup.alert(inst.getLang('table_dlg.cell_limit').replace(/\{\$cells\}/g, cellLimit)); - return false; - } - - // Update table - if (action == "update") { - inst.execCommand('mceBeginUndoLevel'); - - dom.setAttrib(elm, 'cellPadding', cellpadding, true); - dom.setAttrib(elm, 'cellSpacing', cellspacing, true); - dom.setAttrib(elm, 'border', border); - dom.setAttrib(elm, 'align', align); - dom.setAttrib(elm, 'frame', frame); - dom.setAttrib(elm, 'rules', rules); - dom.setAttrib(elm, 'class', className); - dom.setAttrib(elm, 'style', style); - dom.setAttrib(elm, 'id', id); - dom.setAttrib(elm, 'summary', summary); - dom.setAttrib(elm, 'dir', dir); - dom.setAttrib(elm, 'lang', lang); - - capEl = inst.dom.select('caption', elm)[0]; - - if (capEl && !caption) - capEl.parentNode.removeChild(capEl); - - if (!capEl && caption) { - capEl = elm.ownerDocument.createElement('caption'); - - if (!tinymce.isIE) - capEl.innerHTML = '
    '; - - elm.insertBefore(capEl, elm.firstChild); - } - - if (width && inst.settings.inline_styles) { - dom.setStyle(elm, 'width', width); - dom.setAttrib(elm, 'width', ''); - } else { - dom.setAttrib(elm, 'width', width, true); - dom.setStyle(elm, 'width', ''); - } - - // Remove these since they are not valid XHTML - dom.setAttrib(elm, 'borderColor', ''); - dom.setAttrib(elm, 'bgColor', ''); - dom.setAttrib(elm, 'background', ''); - - if (height && inst.settings.inline_styles) { - dom.setStyle(elm, 'height', height); - dom.setAttrib(elm, 'height', ''); - } else { - dom.setAttrib(elm, 'height', height, true); - dom.setStyle(elm, 'height', ''); - } - - if (background != '') - elm.style.backgroundImage = "url('" + background + "')"; - else - elm.style.backgroundImage = ''; - -/* if (tinyMCEPopup.getParam("inline_styles")) { - if (width != '') - elm.style.width = getCSSSize(width); - }*/ - - if (bordercolor != "") { - elm.style.borderColor = bordercolor; - elm.style.borderStyle = elm.style.borderStyle == "" ? "solid" : elm.style.borderStyle; - elm.style.borderWidth = border == "" ? "1px" : border; - } else - elm.style.borderColor = ''; - - elm.style.backgroundColor = bgcolor; - elm.style.height = getCSSSize(height); - - inst.addVisual(); - - // Fix for stange MSIE align bug - //elm.outerHTML = elm.outerHTML; - - inst.nodeChanged(); - inst.execCommand('mceEndUndoLevel'); - - // Repaint if dimensions changed - if (formObj.width.value != orgTableWidth || formObj.height.value != orgTableHeight) - inst.execCommand('mceRepaint'); - - tinyMCEPopup.close(); - return true; - } - - // Create new table - html += ''); - - tinymce.each('h1,h2,h3,h4,h5,h6,p'.split(','), function(n) { - if (patt) - patt += ','; - - patt += n + ' ._mce_marker'; - }); - - tinymce.each(inst.dom.select(patt), function(n) { - inst.dom.split(inst.dom.getParent(n, 'h1,h2,h3,h4,h5,h6,p'), n); - }); - - dom.setOuterHTML(dom.select('br._mce_marker')[0], html); - } else - inst.execCommand('mceInsertContent', false, html); - - tinymce.each(dom.select('table[_mce_new]'), function(node) { - var td = dom.select('td', node); - - try { - // IE9 might fail to do this selection - inst.selection.select(td[0], true); - inst.selection.collapse(); - } catch (ex) { - // Ignore - } - - dom.setAttrib(node, '_mce_new', ''); - }); - - inst.addVisual(); - inst.execCommand('mceEndUndoLevel'); - - tinyMCEPopup.close(); -} - -function makeAttrib(attrib, value) { - var formObj = document.forms[0]; - var valueElm = formObj.elements[attrib]; - - if (typeof(value) == "undefined" || value == null) { - value = ""; - - if (valueElm) - value = valueElm.value; - } - - if (value == "") - return ""; - - // XML encode it - value = value.replace(/&/g, '&'); - value = value.replace(/\"/g, '"'); - value = value.replace(//g, '>'); - - return ' ' + attrib + '="' + value + '"'; -} - -function init() { - tinyMCEPopup.resizeToInnerSize(); - - document.getElementById('backgroundimagebrowsercontainer').innerHTML = getBrowserHTML('backgroundimagebrowser','backgroundimage','image','table'); - document.getElementById('backgroundimagebrowsercontainer').innerHTML = getBrowserHTML('backgroundimagebrowser','backgroundimage','image','table'); - document.getElementById('bordercolor_pickcontainer').innerHTML = getColorPickerHTML('bordercolor_pick','bordercolor'); - document.getElementById('bgcolor_pickcontainer').innerHTML = getColorPickerHTML('bgcolor_pick','bgcolor'); - - var cols = 2, rows = 2, border = tinyMCEPopup.getParam('table_default_border', '0'), cellpadding = tinyMCEPopup.getParam('table_default_cellpadding', ''), cellspacing = tinyMCEPopup.getParam('table_default_cellspacing', ''); - var align = "", width = "", height = "", bordercolor = "", bgcolor = "", className = ""; - var id = "", summary = "", style = "", dir = "", lang = "", background = "", bgcolor = "", bordercolor = "", rules = "", frame = ""; - var inst = tinyMCEPopup.editor, dom = inst.dom; - var formObj = document.forms[0]; - var elm = dom.getParent(inst.selection.getNode(), "table"); - - action = tinyMCEPopup.getWindowArg('action'); - - if (!action) - action = elm ? "update" : "insert"; - - if (elm && action != "insert") { - var rowsAr = elm.rows; - var cols = 0; - for (var i=0; i cols) - cols = rowsAr[i].cells.length; - - cols = cols; - rows = rowsAr.length; - - st = dom.parseStyle(dom.getAttrib(elm, "style")); - border = trimSize(getStyle(elm, 'border', 'borderWidth')); - cellpadding = dom.getAttrib(elm, 'cellpadding', ""); - cellspacing = dom.getAttrib(elm, 'cellspacing', ""); - width = trimSize(getStyle(elm, 'width', 'width')); - height = trimSize(getStyle(elm, 'height', 'height')); - bordercolor = convertRGBToHex(getStyle(elm, 'bordercolor', 'borderLeftColor')); - bgcolor = convertRGBToHex(getStyle(elm, 'bgcolor', 'backgroundColor')); - align = dom.getAttrib(elm, 'align', align); - frame = dom.getAttrib(elm, 'frame'); - rules = dom.getAttrib(elm, 'rules'); - className = tinymce.trim(dom.getAttrib(elm, 'class').replace(/mceItem.+/g, '')); - id = dom.getAttrib(elm, 'id'); - summary = dom.getAttrib(elm, 'summary'); - style = dom.serializeStyle(st); - dir = dom.getAttrib(elm, 'dir'); - lang = dom.getAttrib(elm, 'lang'); - background = getStyle(elm, 'background', 'backgroundImage').replace(new RegExp("url\\(['\"]?([^'\"]*)['\"]?\\)", 'gi'), "$1"); - formObj.caption.checked = elm.getElementsByTagName('caption').length > 0; - - orgTableWidth = width; - orgTableHeight = height; - - action = "update"; - formObj.insert.value = inst.getLang('update'); - } - - addClassesToList('class', "table_styles"); - TinyMCE_EditableSelects.init(); - - // Update form - selectByValue(formObj, 'align', align); - selectByValue(formObj, 'tframe', frame); - selectByValue(formObj, 'rules', rules); - selectByValue(formObj, 'class', className, true, true); - formObj.cols.value = cols; - formObj.rows.value = rows; - formObj.border.value = border; - formObj.cellpadding.value = cellpadding; - formObj.cellspacing.value = cellspacing; - formObj.width.value = width; - formObj.height.value = height; - formObj.bordercolor.value = bordercolor; - formObj.bgcolor.value = bgcolor; - formObj.id.value = id; - formObj.summary.value = summary; - formObj.style.value = style; - formObj.dir.value = dir; - formObj.lang.value = lang; - formObj.backgroundimage.value = background; - - updateColor('bordercolor_pick', 'bordercolor'); - updateColor('bgcolor_pick', 'bgcolor'); - - // Resize some elements - if (isVisible('backgroundimagebrowser')) - document.getElementById('backgroundimage').style.width = '180px'; - - // Disable some fields in update mode - if (action == "update") { - formObj.cols.disabled = true; - formObj.rows.disabled = true; - } -} - -function changedSize() { - var formObj = document.forms[0]; - var st = dom.parseStyle(formObj.style.value); - -/* var width = formObj.width.value; - if (width != "") - st['width'] = tinyMCEPopup.getParam("inline_styles") ? getCSSSize(width) : ""; - else - st['width'] = "";*/ - - var height = formObj.height.value; - if (height != "") - st['height'] = getCSSSize(height); - else - st['height'] = ""; - - formObj.style.value = dom.serializeStyle(st); -} - -function changedBackgroundImage() { - var formObj = document.forms[0]; - var st = dom.parseStyle(formObj.style.value); - - st['background-image'] = "url('" + formObj.backgroundimage.value + "')"; - - formObj.style.value = dom.serializeStyle(st); -} - -function changedBorder() { - var formObj = document.forms[0]; - var st = dom.parseStyle(formObj.style.value); - - // Update border width if the element has a color - if (formObj.border.value != "" && formObj.bordercolor.value != "") - st['border-width'] = formObj.border.value + "px"; - - formObj.style.value = dom.serializeStyle(st); -} - -function changedColor() { - var formObj = document.forms[0]; - var st = dom.parseStyle(formObj.style.value); - - st['background-color'] = formObj.bgcolor.value; - - if (formObj.bordercolor.value != "") { - st['border-color'] = formObj.bordercolor.value; - - // Add border-width if it's missing - if (!st['border-width']) - st['border-width'] = formObj.border.value == "" ? "1px" : formObj.border.value + "px"; - } - - formObj.style.value = dom.serializeStyle(st); -} - -function changedStyle() { - var formObj = document.forms[0]; - var st = dom.parseStyle(formObj.style.value); - - if (st['background-image']) - formObj.backgroundimage.value = st['background-image'].replace(new RegExp("url\\(['\"]?([^'\"]*)['\"]?\\)", 'gi'), "$1"); - else - formObj.backgroundimage.value = ''; - - if (st['width']) - formObj.width.value = trimSize(st['width']); - - if (st['height']) - formObj.height.value = trimSize(st['height']); - - if (st['background-color']) { - formObj.bgcolor.value = st['background-color']; - updateColor('bgcolor_pick','bgcolor'); - } - - if (st['border-color']) { - formObj.bordercolor.value = st['border-color']; - updateColor('bordercolor_pick','bordercolor'); - } -} - -tinyMCEPopup.onInit.add(init); +tinyMCEPopup.requireLangPack(); + +var action, orgTableWidth, orgTableHeight, dom = tinyMCEPopup.editor.dom; + +function insertTable() { + var formObj = document.forms[0]; + var inst = tinyMCEPopup.editor, dom = inst.dom; + var cols = 2, rows = 2, border = 0, cellpadding = -1, cellspacing = -1, align, width, height, className, caption, frame, rules; + var html = '', capEl, elm; + var cellLimit, rowLimit, colLimit; + + tinyMCEPopup.restoreSelection(); + + if (!AutoValidator.validate(formObj)) { + tinyMCEPopup.alert(inst.getLang('invalid_data')); + return false; + } + + elm = dom.getParent(inst.selection.getNode(), 'table'); + + // Get form data + cols = formObj.elements['cols'].value; + rows = formObj.elements['rows'].value; + border = formObj.elements['border'].value != "" ? formObj.elements['border'].value : 0; + cellpadding = formObj.elements['cellpadding'].value != "" ? formObj.elements['cellpadding'].value : ""; + cellspacing = formObj.elements['cellspacing'].value != "" ? formObj.elements['cellspacing'].value : ""; + align = getSelectValue(formObj, "align"); + frame = getSelectValue(formObj, "tframe"); + rules = getSelectValue(formObj, "rules"); + width = formObj.elements['width'].value; + height = formObj.elements['height'].value; + bordercolor = formObj.elements['bordercolor'].value; + bgcolor = formObj.elements['bgcolor'].value; + className = getSelectValue(formObj, "class"); + id = formObj.elements['id'].value; + summary = formObj.elements['summary'].value; + style = formObj.elements['style'].value; + dir = formObj.elements['dir'].value; + lang = formObj.elements['lang'].value; + background = formObj.elements['backgroundimage'].value; + caption = formObj.elements['caption'].checked; + + cellLimit = tinyMCEPopup.getParam('table_cell_limit', false); + rowLimit = tinyMCEPopup.getParam('table_row_limit', false); + colLimit = tinyMCEPopup.getParam('table_col_limit', false); + + // Validate table size + if (colLimit && cols > colLimit) { + tinyMCEPopup.alert(inst.getLang('table_dlg.col_limit').replace(/\{\$cols\}/g, colLimit)); + return false; + } else if (rowLimit && rows > rowLimit) { + tinyMCEPopup.alert(inst.getLang('table_dlg.row_limit').replace(/\{\$rows\}/g, rowLimit)); + return false; + } else if (cellLimit && cols * rows > cellLimit) { + tinyMCEPopup.alert(inst.getLang('table_dlg.cell_limit').replace(/\{\$cells\}/g, cellLimit)); + return false; + } + + // Update table + if (action == "update") { + inst.execCommand('mceBeginUndoLevel'); + + dom.setAttrib(elm, 'cellPadding', cellpadding, true); + dom.setAttrib(elm, 'cellSpacing', cellspacing, true); + dom.setAttrib(elm, 'border', border); + dom.setAttrib(elm, 'align', align); + dom.setAttrib(elm, 'frame', frame); + dom.setAttrib(elm, 'rules', rules); + dom.setAttrib(elm, 'class', className); + dom.setAttrib(elm, 'style', style); + dom.setAttrib(elm, 'id', id); + dom.setAttrib(elm, 'summary', summary); + dom.setAttrib(elm, 'dir', dir); + dom.setAttrib(elm, 'lang', lang); + + capEl = inst.dom.select('caption', elm)[0]; + + if (capEl && !caption) + capEl.parentNode.removeChild(capEl); + + if (!capEl && caption) { + capEl = elm.ownerDocument.createElement('caption'); + + if (!tinymce.isIE) + capEl.innerHTML = '
    '; + + elm.insertBefore(capEl, elm.firstChild); + } + + if (width && inst.settings.inline_styles) { + dom.setStyle(elm, 'width', width); + dom.setAttrib(elm, 'width', ''); + } else { + dom.setAttrib(elm, 'width', width, true); + dom.setStyle(elm, 'width', ''); + } + + // Remove these since they are not valid XHTML + dom.setAttrib(elm, 'borderColor', ''); + dom.setAttrib(elm, 'bgColor', ''); + dom.setAttrib(elm, 'background', ''); + + if (height && inst.settings.inline_styles) { + dom.setStyle(elm, 'height', height); + dom.setAttrib(elm, 'height', ''); + } else { + dom.setAttrib(elm, 'height', height, true); + dom.setStyle(elm, 'height', ''); + } + + if (background != '') + elm.style.backgroundImage = "url('" + background + "')"; + else + elm.style.backgroundImage = ''; + +/* if (tinyMCEPopup.getParam("inline_styles")) { + if (width != '') + elm.style.width = getCSSSize(width); + }*/ + + if (bordercolor != "") { + elm.style.borderColor = bordercolor; + elm.style.borderStyle = elm.style.borderStyle == "" ? "solid" : elm.style.borderStyle; + elm.style.borderWidth = border == "" ? "1px" : border; + } else + elm.style.borderColor = ''; + + elm.style.backgroundColor = bgcolor; + elm.style.height = getCSSSize(height); + + inst.addVisual(); + + // Fix for stange MSIE align bug + //elm.outerHTML = elm.outerHTML; + + inst.nodeChanged(); + inst.execCommand('mceEndUndoLevel'); + + // Repaint if dimensions changed + if (formObj.width.value != orgTableWidth || formObj.height.value != orgTableHeight) + inst.execCommand('mceRepaint'); + + tinyMCEPopup.close(); + return true; + } + + // Create new table + html += ''); + + tinymce.each('h1,h2,h3,h4,h5,h6,p'.split(','), function(n) { + if (patt) + patt += ','; + + patt += n + ' ._mce_marker'; + }); + + tinymce.each(inst.dom.select(patt), function(n) { + inst.dom.split(inst.dom.getParent(n, 'h1,h2,h3,h4,h5,h6,p'), n); + }); + + dom.setOuterHTML(dom.select('br._mce_marker')[0], html); + } else + inst.execCommand('mceInsertContent', false, html); + + tinymce.each(dom.select('table[_mce_new]'), function(node) { + var td = dom.select('td', node); + + try { + // IE9 might fail to do this selection + inst.selection.select(td[0], true); + inst.selection.collapse(); + } catch (ex) { + // Ignore + } + + dom.setAttrib(node, '_mce_new', ''); + }); + + inst.addVisual(); + inst.execCommand('mceEndUndoLevel'); + + tinyMCEPopup.close(); +} + +function makeAttrib(attrib, value) { + var formObj = document.forms[0]; + var valueElm = formObj.elements[attrib]; + + if (typeof(value) == "undefined" || value == null) { + value = ""; + + if (valueElm) + value = valueElm.value; + } + + if (value == "") + return ""; + + // XML encode it + value = value.replace(/&/g, '&'); + value = value.replace(/\"/g, '"'); + value = value.replace(//g, '>'); + + return ' ' + attrib + '="' + value + '"'; +} + +function init() { + tinyMCEPopup.resizeToInnerSize(); + + document.getElementById('backgroundimagebrowsercontainer').innerHTML = getBrowserHTML('backgroundimagebrowser','backgroundimage','image','table'); + document.getElementById('backgroundimagebrowsercontainer').innerHTML = getBrowserHTML('backgroundimagebrowser','backgroundimage','image','table'); + document.getElementById('bordercolor_pickcontainer').innerHTML = getColorPickerHTML('bordercolor_pick','bordercolor'); + document.getElementById('bgcolor_pickcontainer').innerHTML = getColorPickerHTML('bgcolor_pick','bgcolor'); + + var cols = 2, rows = 2, border = tinyMCEPopup.getParam('table_default_border', '0'), cellpadding = tinyMCEPopup.getParam('table_default_cellpadding', ''), cellspacing = tinyMCEPopup.getParam('table_default_cellspacing', ''); + var align = "", width = "", height = "", bordercolor = "", bgcolor = "", className = ""; + var id = "", summary = "", style = "", dir = "", lang = "", background = "", bgcolor = "", bordercolor = "", rules = "", frame = ""; + var inst = tinyMCEPopup.editor, dom = inst.dom; + var formObj = document.forms[0]; + var elm = dom.getParent(inst.selection.getNode(), "table"); + + action = tinyMCEPopup.getWindowArg('action'); + + if (!action) + action = elm ? "update" : "insert"; + + if (elm && action != "insert") { + var rowsAr = elm.rows; + var cols = 0; + for (var i=0; i cols) + cols = rowsAr[i].cells.length; + + cols = cols; + rows = rowsAr.length; + + st = dom.parseStyle(dom.getAttrib(elm, "style")); + border = trimSize(getStyle(elm, 'border', 'borderWidth')); + cellpadding = dom.getAttrib(elm, 'cellpadding', ""); + cellspacing = dom.getAttrib(elm, 'cellspacing', ""); + width = trimSize(getStyle(elm, 'width', 'width')); + height = trimSize(getStyle(elm, 'height', 'height')); + bordercolor = convertRGBToHex(getStyle(elm, 'bordercolor', 'borderLeftColor')); + bgcolor = convertRGBToHex(getStyle(elm, 'bgcolor', 'backgroundColor')); + align = dom.getAttrib(elm, 'align', align); + frame = dom.getAttrib(elm, 'frame'); + rules = dom.getAttrib(elm, 'rules'); + className = tinymce.trim(dom.getAttrib(elm, 'class').replace(/mceItem.+/g, '')); + id = dom.getAttrib(elm, 'id'); + summary = dom.getAttrib(elm, 'summary'); + style = dom.serializeStyle(st); + dir = dom.getAttrib(elm, 'dir'); + lang = dom.getAttrib(elm, 'lang'); + background = getStyle(elm, 'background', 'backgroundImage').replace(new RegExp("url\\(['\"]?([^'\"]*)['\"]?\\)", 'gi'), "$1"); + formObj.caption.checked = elm.getElementsByTagName('caption').length > 0; + + orgTableWidth = width; + orgTableHeight = height; + + action = "update"; + formObj.insert.value = inst.getLang('update'); + } + + addClassesToList('class', "table_styles"); + TinyMCE_EditableSelects.init(); + + // Update form + selectByValue(formObj, 'align', align); + selectByValue(formObj, 'tframe', frame); + selectByValue(formObj, 'rules', rules); + selectByValue(formObj, 'class', className, true, true); + formObj.cols.value = cols; + formObj.rows.value = rows; + formObj.border.value = border; + formObj.cellpadding.value = cellpadding; + formObj.cellspacing.value = cellspacing; + formObj.width.value = width; + formObj.height.value = height; + formObj.bordercolor.value = bordercolor; + formObj.bgcolor.value = bgcolor; + formObj.id.value = id; + formObj.summary.value = summary; + formObj.style.value = style; + formObj.dir.value = dir; + formObj.lang.value = lang; + formObj.backgroundimage.value = background; + + updateColor('bordercolor_pick', 'bordercolor'); + updateColor('bgcolor_pick', 'bgcolor'); + + // Resize some elements + if (isVisible('backgroundimagebrowser')) + document.getElementById('backgroundimage').style.width = '180px'; + + // Disable some fields in update mode + if (action == "update") { + formObj.cols.disabled = true; + formObj.rows.disabled = true; + } +} + +function changedSize() { + var formObj = document.forms[0]; + var st = dom.parseStyle(formObj.style.value); + +/* var width = formObj.width.value; + if (width != "") + st['width'] = tinyMCEPopup.getParam("inline_styles") ? getCSSSize(width) : ""; + else + st['width'] = "";*/ + + var height = formObj.height.value; + if (height != "") + st['height'] = getCSSSize(height); + else + st['height'] = ""; + + formObj.style.value = dom.serializeStyle(st); +} + +function changedBackgroundImage() { + var formObj = document.forms[0]; + var st = dom.parseStyle(formObj.style.value); + + st['background-image'] = "url('" + formObj.backgroundimage.value + "')"; + + formObj.style.value = dom.serializeStyle(st); +} + +function changedBorder() { + var formObj = document.forms[0]; + var st = dom.parseStyle(formObj.style.value); + + // Update border width if the element has a color + if (formObj.border.value != "" && formObj.bordercolor.value != "") + st['border-width'] = formObj.border.value + "px"; + + formObj.style.value = dom.serializeStyle(st); +} + +function changedColor() { + var formObj = document.forms[0]; + var st = dom.parseStyle(formObj.style.value); + + st['background-color'] = formObj.bgcolor.value; + + if (formObj.bordercolor.value != "") { + st['border-color'] = formObj.bordercolor.value; + + // Add border-width if it's missing + if (!st['border-width']) + st['border-width'] = formObj.border.value == "" ? "1px" : formObj.border.value + "px"; + } + + formObj.style.value = dom.serializeStyle(st); +} + +function changedStyle() { + var formObj = document.forms[0]; + var st = dom.parseStyle(formObj.style.value); + + if (st['background-image']) + formObj.backgroundimage.value = st['background-image'].replace(new RegExp("url\\(['\"]?([^'\"]*)['\"]?\\)", 'gi'), "$1"); + else + formObj.backgroundimage.value = ''; + + if (st['width']) + formObj.width.value = trimSize(st['width']); + + if (st['height']) + formObj.height.value = trimSize(st['height']); + + if (st['background-color']) { + formObj.bgcolor.value = st['background-color']; + updateColor('bgcolor_pick','bgcolor'); + } + + if (st['border-color']) { + formObj.bordercolor.value = st['border-color']; + updateColor('bordercolor_pick','bordercolor'); + } +} + +tinyMCEPopup.onInit.add(init); diff --git a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/table/langs/bg_dlg.js b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/table/langs/bg_dlg.js old mode 100644 new mode 100755 index 630e097d26..d5fce99da8 --- a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/table/langs/bg_dlg.js +++ b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/table/langs/bg_dlg.js @@ -1,74 +1,74 @@ -tinyMCE.addI18n('bg.table_dlg',{ -general_tab:"\u041E\u0431\u0449\u0438", -advanced_tab:"\u0417\u0430 \u043D\u0430\u043F\u0440\u0435\u0434\u043D\u0430\u043B\u0438", -general_props:"\u041E\u0431\u0449\u0438 \u043D\u0430\u0441\u0442\u0440\u043E\u0439\u043A\u0438", -advanced_props:"\u041D\u0430\u0441\u0442\u0440\u043E\u0439\u043A\u0438 \u0437\u0430 \u043D\u0430\u043F\u0440\u0435\u0434\u043D\u0430\u043B\u0438", -rowtype:"\u0420\u043E\u043B\u044F \u043D\u0430 \u0440\u0435\u0434\u0430", -title:"\u0412\u043C\u044A\u043A\u043D\u0438/\u0420\u0435\u0434\u0430\u043A\u0442\u0438\u0440\u0430\u0439 \u0442\u0430\u0431\u043B\u0438\u0446\u0430", -width:"\u0428\u0438\u0440\u0438\u043D\u0430", -height:"\u0412\u0438\u0441\u043E\u0447\u0438\u043D\u0430", -cols:"\u041A\u043E\u043B\u043E\u043D\u0438", -rows:"\u0420\u0435\u0434\u043E\u0432\u0435", -cellspacing:"\u0420\u0430\u0437\u0441\u0442\u043E\u044F\u043D\u0438\u0435 \u043C\u044A\u0436\u0434\u0443 \u043A\u043B\u0435\u0442\u043A\u0438\u0442\u0435", -cellpadding:"Padding \u043D\u0430 \u043A\u043B\u0435\u0442\u043A\u0438\u0442\u0435", -border:"\u0420\u0430\u043C\u043A\u0430", -align:"\u041F\u043E\u0434\u0440\u0430\u0432\u043D\u044F\u0432\u0430\u043D\u0435", -align_default:"\u041F\u043E \u043F\u043E\u0434\u0440\u0430\u0437\u0431\u0438\u0440\u0430\u043D\u0435", -align_left:"\u041B\u044F\u0432\u043E", -align_right:"\u0414\u044F\u0441\u043D\u043E", -align_middle:"\u0426\u0435\u043D\u0442\u044A\u0440", -row_title:"\u0421\u0432\u043E\u0439\u0441\u0442\u0432\u0430 \u043D\u0430 \u0440\u0435\u0434\u0430", -cell_title:"\u0421\u0432\u043E\u0439\u0441\u0442\u0432\u0430 \u043D\u0430 \u043A\u043B\u0435\u0442\u043A\u0430\u0442\u0430", -cell_type:"\u0422\u0438\u043F \u043D\u0430 \u043A\u043B\u0435\u0442\u043A\u0430\u0442\u0430", -valign:"\u0412\u0435\u0440\u0442\u0438\u043A\u0430\u043B\u043D\u043E \u043F\u043E\u0434\u0440\u0430\u0432\u043D\u044F\u0432\u0430\u043D\u0435", -align_top:"\u0413\u043E\u0440\u0435", -align_bottom:"\u0414\u043E\u043B\u0443", -bordercolor:"\u0426\u0432\u044F\u0442 \u043D\u0430 \u0440\u0430\u043C\u043A\u0430\u0442\u0430", -bgcolor:"\u0426\u0432\u044F\u0442 \u043D\u0430 \u0444\u043E\u043D\u0430", -merge_cells_title:"\u0421\u043B\u0435\u0439 \u043A\u043B\u0435\u0442\u043A\u0438\u0442\u0435", -id:"Id", -style:"\u0421\u0442\u0438\u043B", -langdir:"\u041F\u043E\u0441\u043E\u043A\u0430 \u043D\u0430 \u0435\u0437\u0438\u043A\u0430", -langcode:"\u041A\u043E\u0434 \u043D\u0430 \u0435\u0437\u0438\u043A\u0430", -mime:"MIME \u0442\u0438\u043F", -ltr:"\u041E\u0442\u043B\u044F\u0432\u043E \u043D\u0430 \u0434\u044F\u0441\u043D\u043E", -rtl:"\u041E\u0442\u0434\u044F\u0441\u043D\u043E \u043D\u0430 \u043B\u044F\u0432\u043E", -bgimage:"\u0424\u043E\u043D\u043E\u0432\u0430 \u043A\u0430\u0440\u0442\u0438\u043D\u043A\u0430", -summary:"\u041E\u0431\u043E\u0431\u0449\u0435\u043D\u0438\u0435", -td:"\u0414\u0430\u043D\u0438\u043D", -th:"\u0413\u043B\u0430\u0432\u0430", -cell_cell:"\u041E\u0431\u043D\u043E\u0432\u0438 \u0442\u0435\u043A\u0443\u0449\u0430\u0442\u0430 \u043A\u043B\u0435\u0442\u043A\u0430Update current cell", -cell_row:"\u041E\u0431\u043D\u043E\u0432\u0438 \u0432\u0441\u0438\u0447\u043A\u0438 \u043A\u043B\u0435\u0442\u043A\u0438 \u043D\u0430 \u0440\u0435\u0434\u0430", -cell_all:"\u041E\u0431\u043D\u043E\u0432\u0438 \u0432\u0441\u0438\u0447\u043A\u0438 \u043A\u043B\u0435\u0442\u043A\u0438 \u0432 \u0442\u0430\u0431\u043B\u0438\u0446\u0430\u0442\u0430", -row_row:"\u041E\u0431\u043D\u043E\u0432\u0438 \u0442\u0435\u043A\u0443\u0449\u0438\u044F \u0440\u0435\u0434", -row_odd:"\u041E\u0431\u043D\u043E\u0432\u0438 \u043D\u0435\u0447\u0435\u0442\u043D\u0438\u0442\u0435 \u0440\u0435\u0434\u043E\u0432\u0435 \u0432 \u0442\u0430\u043B\u0438\u0446\u0430\u0442\u0430", -row_even:"\u041E\u0431\u043D\u043E\u0432\u0438 \u0447\u0435\u0442\u043D\u0438\u0442\u0435 \u0440\u0435\u0434\u043E\u0432\u0435 \u0432 \u0442\u0430\u0431\u043B\u0438\u0446\u0430\u0442\u0430", -row_all:"\u041E\u0431\u043D\u043E\u0432\u0438 \u0432\u0441\u0438\u0447\u043A\u0438 \u0440\u0435\u0434\u043E\u0432\u0435 \u0432 \u0442\u0430\u0431\u043B\u0438\u0446\u0430\u0442\u0430", -thead:"\u0413\u043B\u0430\u0432\u0430 \u043D\u0430 \u0442\u0430\u0431\u043B\u0438\u0446\u0430\u0442\u0430", -tbody:"\u0422\u044F\u043B\u043E \u043D\u0430 \u0442\u0430\u0431\u043B\u0438\u0446\u0430\u0442\u0430", -tfoot:"\u0414\u044A\u043D\u043E \u043D\u0430 \u0442\u0430\u0431\u043B\u0438\u0446\u0430\u0442\u0430", -scope:"\u041E\u0431\u0445\u0432\u0430\u0442", -rowgroup:"\u0413\u0440\u0443\u043F\u0430 \u0440\u0435\u0434\u043E\u0432\u0435", -colgroup:"\u0413\u0440\u0443\u043F\u0430 \u043A\u043E\u043B\u043E\u043D\u0438", -col_limit:"\u041F\u0440\u0435\u0432\u0438\u0448\u0438\u0445\u0442\u0435 \u043C\u0430\u043A\u0441\u0438\u043C\u0430\u043B\u043D\u0430\u0442\u0430 \u0431\u0440\u043E\u0439\u043A\u0430 \u043A\u043E\u043B\u043E\u043D\u0438: {$cols}.", -row_limit:"\u041F\u0440\u0435\u0432\u0438\u0448\u0438\u0445\u0442\u0435 \u043C\u0430\u043A\u0441\u0438\u043C\u0430\u043B\u043D\u0430\u0442\u0430 \u0431\u0440\u043E\u0439\u043A\u0430 \u0440\u0435\u0434\u043E\u0432\u0435: {$rows}.", -cell_limit:"\u041F\u0440\u0435\u0432\u0438\u0448\u0438\u0445\u0442\u0435 \u043C\u0430\u043A\u0441\u0438\u043C\u0430\u043B\u043D\u0430\u0442\u0430 \u0431\u0440\u043E\u0439\u043A\u0430 \u043A\u043B\u0435\u0442\u043A\u0438: {$cells}.", -missing_scope:"\u0421\u0438\u0433\u0443\u0440\u0435\u043D \u043B\u0438 \u0441\u0442\u0435 \u0447\u0435 \u0436\u0435\u043B\u0430\u0435\u0442\u0435 \u0434\u0430 \u043F\u0440\u043E\u0434\u044A\u043B\u0436\u0438\u0442\u0435 \u0431\u0435\u0437 \u0434\u0430 \u0441\u043B\u043E\u0436\u0438\u0442\u0435 \u043E\u0431\u0445\u0432\u0430\u0442 \u043D\u0430 \u0433\u043B\u0430\u0432\u0430\u0442\u0430 \u043D\u0430 \u043A\u043B\u0435\u0442\u043A\u0430\u0442\u0430. \u0411\u0435\u0437 \u043D\u0435\u0433\u043E, \u043D\u044F\u043A\u043E\u0438 \u043F\u043E\u0442\u0440\u0435\u0431\u0438\u0442\u0435\u043B\u0438 \u0441 \u043D\u0435\u0434\u044A\u0437\u0438 \u043C\u043E\u0433\u0430\u0442 \u0434\u0430 \u0438\u043C\u0430\u0442 \u043F\u0440\u043E\u0431\u043B\u0435\u043C \u0434\u0430 \u0440\u0430\u0437\u0431\u0435\u0440\u0430\u0442 \u0434\u0430\u043D\u043D\u0438\u0442\u0435 \u043F\u043E\u043A\u0430\u0437\u0430\u043D\u0438 \u0432 \u0442\u0430\u0431\u043B\u0438\u0446\u0430\u0442\u0430.", -caption:"\u0417\u0430\u0433\u043B\u0430\u0432\u0438\u0435 \u043D\u0430 \u0442\u0430\u0431\u043B\u0438\u0446\u0430\u0442\u0430", -frame:"\u0424\u0440\u0435\u0439\u043C", -frame_none:"\u0431\u0435\u0437", -frame_groups:"\u0433\u0440\u0443\u043F\u0438", -frame_rows:"\u0440\u0435\u0434\u043E\u0432\u0435", -frame_cols:"\u043A\u043E\u043B\u043E\u043D\u0438", -frame_all:"\u0432\u0441\u0438\u0447\u043A\u0438", -rules:"\u041F\u0440\u0430\u0432\u0438\u043B\u0430", -rules_void:"void", -rules_above:"above", -rules_below:"below", -rules_hsides:"hsides", -rules_lhs:"lhs", -rules_rhs:"rhs", -rules_vsides:"vsides", -rules_box:"box", -rules_border:"border" +tinyMCE.addI18n('bg.table_dlg',{ +general_tab:"\u041E\u0431\u0449\u0438", +advanced_tab:"\u0417\u0430 \u043D\u0430\u043F\u0440\u0435\u0434\u043D\u0430\u043B\u0438", +general_props:"\u041E\u0431\u0449\u0438 \u043D\u0430\u0441\u0442\u0440\u043E\u0439\u043A\u0438", +advanced_props:"\u041D\u0430\u0441\u0442\u0440\u043E\u0439\u043A\u0438 \u0437\u0430 \u043D\u0430\u043F\u0440\u0435\u0434\u043D\u0430\u043B\u0438", +rowtype:"\u0420\u043E\u043B\u044F \u043D\u0430 \u0440\u0435\u0434\u0430", +title:"\u0412\u043C\u044A\u043A\u043D\u0438/\u0420\u0435\u0434\u0430\u043A\u0442\u0438\u0440\u0430\u0439 \u0442\u0430\u0431\u043B\u0438\u0446\u0430", +width:"\u0428\u0438\u0440\u0438\u043D\u0430", +height:"\u0412\u0438\u0441\u043E\u0447\u0438\u043D\u0430", +cols:"\u041A\u043E\u043B\u043E\u043D\u0438", +rows:"\u0420\u0435\u0434\u043E\u0432\u0435", +cellspacing:"\u0420\u0430\u0437\u0441\u0442\u043E\u044F\u043D\u0438\u0435 \u043C\u044A\u0436\u0434\u0443 \u043A\u043B\u0435\u0442\u043A\u0438\u0442\u0435", +cellpadding:"Padding \u043D\u0430 \u043A\u043B\u0435\u0442\u043A\u0438\u0442\u0435", +border:"\u0420\u0430\u043C\u043A\u0430", +align:"\u041F\u043E\u0434\u0440\u0430\u0432\u043D\u044F\u0432\u0430\u043D\u0435", +align_default:"\u041F\u043E \u043F\u043E\u0434\u0440\u0430\u0437\u0431\u0438\u0440\u0430\u043D\u0435", +align_left:"\u041B\u044F\u0432\u043E", +align_right:"\u0414\u044F\u0441\u043D\u043E", +align_middle:"\u0426\u0435\u043D\u0442\u044A\u0440", +row_title:"\u0421\u0432\u043E\u0439\u0441\u0442\u0432\u0430 \u043D\u0430 \u0440\u0435\u0434\u0430", +cell_title:"\u0421\u0432\u043E\u0439\u0441\u0442\u0432\u0430 \u043D\u0430 \u043A\u043B\u0435\u0442\u043A\u0430\u0442\u0430", +cell_type:"\u0422\u0438\u043F \u043D\u0430 \u043A\u043B\u0435\u0442\u043A\u0430\u0442\u0430", +valign:"\u0412\u0435\u0440\u0442\u0438\u043A\u0430\u043B\u043D\u043E \u043F\u043E\u0434\u0440\u0430\u0432\u043D\u044F\u0432\u0430\u043D\u0435", +align_top:"\u0413\u043E\u0440\u0435", +align_bottom:"\u0414\u043E\u043B\u0443", +bordercolor:"\u0426\u0432\u044F\u0442 \u043D\u0430 \u0440\u0430\u043C\u043A\u0430\u0442\u0430", +bgcolor:"\u0426\u0432\u044F\u0442 \u043D\u0430 \u0444\u043E\u043D\u0430", +merge_cells_title:"\u0421\u043B\u0435\u0439 \u043A\u043B\u0435\u0442\u043A\u0438\u0442\u0435", +id:"Id", +style:"\u0421\u0442\u0438\u043B", +langdir:"\u041F\u043E\u0441\u043E\u043A\u0430 \u043D\u0430 \u0435\u0437\u0438\u043A\u0430", +langcode:"\u041A\u043E\u0434 \u043D\u0430 \u0435\u0437\u0438\u043A\u0430", +mime:"MIME \u0442\u0438\u043F", +ltr:"\u041E\u0442\u043B\u044F\u0432\u043E \u043D\u0430 \u0434\u044F\u0441\u043D\u043E", +rtl:"\u041E\u0442\u0434\u044F\u0441\u043D\u043E \u043D\u0430 \u043B\u044F\u0432\u043E", +bgimage:"\u0424\u043E\u043D\u043E\u0432\u0430 \u043A\u0430\u0440\u0442\u0438\u043D\u043A\u0430", +summary:"\u041E\u0431\u043E\u0431\u0449\u0435\u043D\u0438\u0435", +td:"\u0414\u0430\u043D\u0438\u043D", +th:"\u0413\u043B\u0430\u0432\u0430", +cell_cell:"\u041E\u0431\u043D\u043E\u0432\u0438 \u0442\u0435\u043A\u0443\u0449\u0430\u0442\u0430 \u043A\u043B\u0435\u0442\u043A\u0430Update current cell", +cell_row:"\u041E\u0431\u043D\u043E\u0432\u0438 \u0432\u0441\u0438\u0447\u043A\u0438 \u043A\u043B\u0435\u0442\u043A\u0438 \u043D\u0430 \u0440\u0435\u0434\u0430", +cell_all:"\u041E\u0431\u043D\u043E\u0432\u0438 \u0432\u0441\u0438\u0447\u043A\u0438 \u043A\u043B\u0435\u0442\u043A\u0438 \u0432 \u0442\u0430\u0431\u043B\u0438\u0446\u0430\u0442\u0430", +row_row:"\u041E\u0431\u043D\u043E\u0432\u0438 \u0442\u0435\u043A\u0443\u0449\u0438\u044F \u0440\u0435\u0434", +row_odd:"\u041E\u0431\u043D\u043E\u0432\u0438 \u043D\u0435\u0447\u0435\u0442\u043D\u0438\u0442\u0435 \u0440\u0435\u0434\u043E\u0432\u0435 \u0432 \u0442\u0430\u043B\u0438\u0446\u0430\u0442\u0430", +row_even:"\u041E\u0431\u043D\u043E\u0432\u0438 \u0447\u0435\u0442\u043D\u0438\u0442\u0435 \u0440\u0435\u0434\u043E\u0432\u0435 \u0432 \u0442\u0430\u0431\u043B\u0438\u0446\u0430\u0442\u0430", +row_all:"\u041E\u0431\u043D\u043E\u0432\u0438 \u0432\u0441\u0438\u0447\u043A\u0438 \u0440\u0435\u0434\u043E\u0432\u0435 \u0432 \u0442\u0430\u0431\u043B\u0438\u0446\u0430\u0442\u0430", +thead:"\u0413\u043B\u0430\u0432\u0430 \u043D\u0430 \u0442\u0430\u0431\u043B\u0438\u0446\u0430\u0442\u0430", +tbody:"\u0422\u044F\u043B\u043E \u043D\u0430 \u0442\u0430\u0431\u043B\u0438\u0446\u0430\u0442\u0430", +tfoot:"\u0414\u044A\u043D\u043E \u043D\u0430 \u0442\u0430\u0431\u043B\u0438\u0446\u0430\u0442\u0430", +scope:"\u041E\u0431\u0445\u0432\u0430\u0442", +rowgroup:"\u0413\u0440\u0443\u043F\u0430 \u0440\u0435\u0434\u043E\u0432\u0435", +colgroup:"\u0413\u0440\u0443\u043F\u0430 \u043A\u043E\u043B\u043E\u043D\u0438", +col_limit:"\u041F\u0440\u0435\u0432\u0438\u0448\u0438\u0445\u0442\u0435 \u043C\u0430\u043A\u0441\u0438\u043C\u0430\u043B\u043D\u0430\u0442\u0430 \u0431\u0440\u043E\u0439\u043A\u0430 \u043A\u043E\u043B\u043E\u043D\u0438: {$cols}.", +row_limit:"\u041F\u0440\u0435\u0432\u0438\u0448\u0438\u0445\u0442\u0435 \u043C\u0430\u043A\u0441\u0438\u043C\u0430\u043B\u043D\u0430\u0442\u0430 \u0431\u0440\u043E\u0439\u043A\u0430 \u0440\u0435\u0434\u043E\u0432\u0435: {$rows}.", +cell_limit:"\u041F\u0440\u0435\u0432\u0438\u0448\u0438\u0445\u0442\u0435 \u043C\u0430\u043A\u0441\u0438\u043C\u0430\u043B\u043D\u0430\u0442\u0430 \u0431\u0440\u043E\u0439\u043A\u0430 \u043A\u043B\u0435\u0442\u043A\u0438: {$cells}.", +missing_scope:"\u0421\u0438\u0433\u0443\u0440\u0435\u043D \u043B\u0438 \u0441\u0442\u0435 \u0447\u0435 \u0436\u0435\u043B\u0430\u0435\u0442\u0435 \u0434\u0430 \u043F\u0440\u043E\u0434\u044A\u043B\u0436\u0438\u0442\u0435 \u0431\u0435\u0437 \u0434\u0430 \u0441\u043B\u043E\u0436\u0438\u0442\u0435 \u043E\u0431\u0445\u0432\u0430\u0442 \u043D\u0430 \u0433\u043B\u0430\u0432\u0430\u0442\u0430 \u043D\u0430 \u043A\u043B\u0435\u0442\u043A\u0430\u0442\u0430. \u0411\u0435\u0437 \u043D\u0435\u0433\u043E, \u043D\u044F\u043A\u043E\u0438 \u043F\u043E\u0442\u0440\u0435\u0431\u0438\u0442\u0435\u043B\u0438 \u0441 \u043D\u0435\u0434\u044A\u0437\u0438 \u043C\u043E\u0433\u0430\u0442 \u0434\u0430 \u0438\u043C\u0430\u0442 \u043F\u0440\u043E\u0431\u043B\u0435\u043C \u0434\u0430 \u0440\u0430\u0437\u0431\u0435\u0440\u0430\u0442 \u0434\u0430\u043D\u043D\u0438\u0442\u0435 \u043F\u043E\u043A\u0430\u0437\u0430\u043D\u0438 \u0432 \u0442\u0430\u0431\u043B\u0438\u0446\u0430\u0442\u0430.", +caption:"\u0417\u0430\u0433\u043B\u0430\u0432\u0438\u0435 \u043D\u0430 \u0442\u0430\u0431\u043B\u0438\u0446\u0430\u0442\u0430", +frame:"\u0424\u0440\u0435\u0439\u043C", +frame_none:"\u0431\u0435\u0437", +frame_groups:"\u0433\u0440\u0443\u043F\u0438", +frame_rows:"\u0440\u0435\u0434\u043E\u0432\u0435", +frame_cols:"\u043A\u043E\u043B\u043E\u043D\u0438", +frame_all:"\u0432\u0441\u0438\u0447\u043A\u0438", +rules:"\u041F\u0440\u0430\u0432\u0438\u043B\u0430", +rules_void:"void", +rules_above:"above", +rules_below:"below", +rules_hsides:"hsides", +rules_lhs:"lhs", +rules_rhs:"rhs", +rules_vsides:"vsides", +rules_box:"box", +rules_border:"border" }); \ No newline at end of file diff --git a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/table/langs/cs_dlg.js b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/table/langs/cs_dlg.js old mode 100644 new mode 100755 index 41890044a0..9795c22113 --- a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/table/langs/cs_dlg.js +++ b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/table/langs/cs_dlg.js @@ -1,74 +1,74 @@ -tinyMCE.addI18n('cs.table_dlg',{ -general_tab:"Obecn\u00E9", -advanced_tab:"Roz\u0161\u00ED\u0159en\u00E9", -general_props:"Obecn\u00E9 parametry", -advanced_props:"Roz\u0161\u00ED\u0159en\u00E9 parametry", -rowtype:"Typ \u0159\u00E1dku", -title:"Vlo\u017Eit/upravit tabulku", -width:"\u0160\u00ED\u0159ka", -height:"V\u00FD\u0161ka", -cols:"Sloupce", -rows:"\u0158\u00E1dky", -cellspacing:"Rozestup bun\u011Bk", -cellpadding:"Odsazen\u00ED obsahu", -border:"R\u00E1me\u010Dek", -align:"Zarovn\u00E1n\u00ED", -align_default:"V\u00FDchoz\u00ED", -align_left:"Vlevo", -align_right:"Vpravo", -align_middle:"Na st\u0159ed", -row_title:"Vlastnosti \u0159\u00E1dku", -cell_title:"Vlastnosti bu\u0148ky", -cell_type:"Typ bu\u0148ky", -valign:"Vertik\u00E1ln\u00ED zarovn\u00E1n\u00ED", -align_top:"Nahoru", -align_bottom:"Dol\u016F", -bordercolor:"Barva r\u00E1me\u010Dku", -bgcolor:"Barva pozad\u00ED", -merge_cells_title:"Spojit bu\u0148ky", -id:"ID", -style:"Styl", -langdir:"Sm\u011Br textu", -langcode:"K\u00F3d jazyka", -mime:"MIME typ c\u00EDle", -ltr:"Zleva doprava", -rtl:"Zprava doleva", -bgimage:"Obr\u00E1zek pozad\u00ED", -summary:"Shrnut\u00ED obsahu", -td:"Data", -th:"Z\u00E1hlav\u00ED", -cell_cell:"Aktualizovat zvolenou bu\u0148ku", -cell_row:"Aktualizovat v\u0161echny bu\u0148ky v \u0159\u00E1dku", -cell_all:"Aktualizovat v\u0161echny bu\u0148ky v tabulce", -row_row:"Aktualizovat zvolen\u00FD \u0159\u00E1dek", -row_odd:"Aktualizovat lich\u00E9 \u0159\u00E1dky tabulky", -row_even:"Aktualizovat sud\u00E9 \u0159\u00E1dky tabulky", -row_all:"Aktualizovat v\u0161echny \u0159\u00E1dky tabulky", -thead:"Hlavi\u010Dka tabulky", -tbody:"T\u011Blo tabulky", -tfoot:"Pata tabulky", -scope:"Hlavi\u010Dka pro", -rowgroup:"Skupina \u0159\u00E1dk\u016F", -colgroup:"Skupina sloupc\u016F", -col_limit:"P\u0159ekro\u010Dili jste maxim\u00E1ln\u00ED po\u010Det sloupc\u016F {$cols}.", -row_limit:"P\u0159ekro\u010Dili jste maxim\u00E1ln\u00ED po\u010Det \u0159\u00E1dk\u016F {$rows}.", -cell_limit:"P\u0159ekro\u010Dili jste maxim\u00E1ln\u00ED po\u010Det bun\u011Bk {$cells}.", -missing_scope:"Skute\u010Dn\u011B chcete pokra\u010Dovat bez ur\u010Den\u00ED oblasti hlavi\u010Dky t\u00E9to tabulky? Bez n\u00ED m\u016F\u017Ee u n\u011Bkter\u00FDch u\u017Eivatel\u016F doch\u00E1zet k ur\u010Dit\u00FDm probl\u00E9m\u016Fm p\u0159i interpretaci a zobrazov\u00E1n\u00ED dat v tabulce.", -caption:"Nadpis tabulky", -frame:"R\u00E1me\u010Dek tabulky", -frame_none:"\u017E\u00E1dn\u00E1", -frame_groups:"oblasti a skupiny sloupc\u016F", -frame_rows:"\u0159\u00E1dky", -frame_cols:"sloupce", -frame_all:"v\u0161e", -rules:"Vykreslen\u00ED m\u0159\u00ED\u017Eky", -rules_void:"\u017E\u00E1dn\u00FD", -rules_above:"naho\u0159e", -rules_below:"dole", -rules_hsides:"naho\u0159e a dole", -rules_lhs:"vlevo", -rules_rhs:"vpravo", -rules_vsides:"vlevo a vpravo", -rules_box:"box okolo", -rules_border:"r\u00E1me\u010Dek okolo" +tinyMCE.addI18n('cs.table_dlg',{ +general_tab:"Obecn\u00E9", +advanced_tab:"Roz\u0161\u00ED\u0159en\u00E9", +general_props:"Obecn\u00E9 parametry", +advanced_props:"Roz\u0161\u00ED\u0159en\u00E9 parametry", +rowtype:"Typ \u0159\u00E1dku", +title:"Vlo\u017Eit/upravit tabulku", +width:"\u0160\u00ED\u0159ka", +height:"V\u00FD\u0161ka", +cols:"Sloupce", +rows:"\u0158\u00E1dky", +cellspacing:"Rozestup bun\u011Bk", +cellpadding:"Odsazen\u00ED obsahu", +border:"R\u00E1me\u010Dek", +align:"Zarovn\u00E1n\u00ED", +align_default:"V\u00FDchoz\u00ED", +align_left:"Vlevo", +align_right:"Vpravo", +align_middle:"Na st\u0159ed", +row_title:"Vlastnosti \u0159\u00E1dku", +cell_title:"Vlastnosti bu\u0148ky", +cell_type:"Typ bu\u0148ky", +valign:"Vertik\u00E1ln\u00ED zarovn\u00E1n\u00ED", +align_top:"Nahoru", +align_bottom:"Dol\u016F", +bordercolor:"Barva r\u00E1me\u010Dku", +bgcolor:"Barva pozad\u00ED", +merge_cells_title:"Spojit bu\u0148ky", +id:"ID", +style:"Styl", +langdir:"Sm\u011Br textu", +langcode:"K\u00F3d jazyka", +mime:"MIME typ c\u00EDle", +ltr:"Zleva doprava", +rtl:"Zprava doleva", +bgimage:"Obr\u00E1zek pozad\u00ED", +summary:"Shrnut\u00ED obsahu", +td:"Data", +th:"Z\u00E1hlav\u00ED", +cell_cell:"Aktualizovat zvolenou bu\u0148ku", +cell_row:"Aktualizovat v\u0161echny bu\u0148ky v \u0159\u00E1dku", +cell_all:"Aktualizovat v\u0161echny bu\u0148ky v tabulce", +row_row:"Aktualizovat zvolen\u00FD \u0159\u00E1dek", +row_odd:"Aktualizovat lich\u00E9 \u0159\u00E1dky tabulky", +row_even:"Aktualizovat sud\u00E9 \u0159\u00E1dky tabulky", +row_all:"Aktualizovat v\u0161echny \u0159\u00E1dky tabulky", +thead:"Hlavi\u010Dka tabulky", +tbody:"T\u011Blo tabulky", +tfoot:"Pata tabulky", +scope:"Hlavi\u010Dka pro", +rowgroup:"Skupina \u0159\u00E1dk\u016F", +colgroup:"Skupina sloupc\u016F", +col_limit:"P\u0159ekro\u010Dili jste maxim\u00E1ln\u00ED po\u010Det sloupc\u016F {$cols}.", +row_limit:"P\u0159ekro\u010Dili jste maxim\u00E1ln\u00ED po\u010Det \u0159\u00E1dk\u016F {$rows}.", +cell_limit:"P\u0159ekro\u010Dili jste maxim\u00E1ln\u00ED po\u010Det bun\u011Bk {$cells}.", +missing_scope:"Skute\u010Dn\u011B chcete pokra\u010Dovat bez ur\u010Den\u00ED oblasti hlavi\u010Dky t\u00E9to tabulky? Bez n\u00ED m\u016F\u017Ee u n\u011Bkter\u00FDch u\u017Eivatel\u016F doch\u00E1zet k ur\u010Dit\u00FDm probl\u00E9m\u016Fm p\u0159i interpretaci a zobrazov\u00E1n\u00ED dat v tabulce.", +caption:"Nadpis tabulky", +frame:"R\u00E1me\u010Dek tabulky", +frame_none:"\u017E\u00E1dn\u00E1", +frame_groups:"oblasti a skupiny sloupc\u016F", +frame_rows:"\u0159\u00E1dky", +frame_cols:"sloupce", +frame_all:"v\u0161e", +rules:"Vykreslen\u00ED m\u0159\u00ED\u017Eky", +rules_void:"\u017E\u00E1dn\u00FD", +rules_above:"naho\u0159e", +rules_below:"dole", +rules_hsides:"naho\u0159e a dole", +rules_lhs:"vlevo", +rules_rhs:"vpravo", +rules_vsides:"vlevo a vpravo", +rules_box:"box okolo", +rules_border:"r\u00E1me\u010Dek okolo" }); \ No newline at end of file diff --git a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/table/langs/da_dlg.js b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/table/langs/da_dlg.js old mode 100644 new mode 100755 index 6deb56868f..1e0935be47 --- a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/table/langs/da_dlg.js +++ b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/table/langs/da_dlg.js @@ -1,74 +1,74 @@ -tinyMCE.addI18n('da.table_dlg',{ -general_tab:"Generelt", -advanced_tab:"Avanceret", -general_props:"Generelle egenskaber", -advanced_props:"Avancerede egenskaber", -rowtype:"Row in table part", -title:"Inds\u00E6t/rediger tabel", -width:"Bredde", -height:"H\u00F8jde", -cols:"Kolonner", -rows:"R\u00E6kker", -cellspacing:"Afstand mellem celler", -cellpadding:"Afstand til celleindhold", -border:"Kant", -align:"Justering", -align_default:"Standard", -align_left:"Venstre", -align_right:"H\u00F8jre", -align_middle:"Centreret", -row_title:"R\u00E6kkeegenskaber", -cell_title:"Celleegenskaber", -cell_type:"Celletype", -valign:"Vertikal justering", -align_top:"Top", -align_bottom:"Bund", -bordercolor:"Kantfarve", -bgcolor:"Baggrundsfarve", -merge_cells_title:"Flet celler", -id:"Id", -style:"Style", -langdir:"Sprogretning", -langcode:"Sprogkode", -mime:"Destinations-MIME-type", -ltr:"Venstre mod h\u00F8jre", -rtl:"H\u00F8jre mod venstre", -bgimage:"Baggrundsbillede", -summary:"Beskrivelse", -td:"Data", -th:"Hoved", -cell_cell:"Opdater aktuelle celle", -cell_row:"Opdater alle celler i r\u00E6kken", -cell_all:"Opdater alle celler i tabellen", -row_row:"Opdater aktuelle celle", -row_odd:"Opdater ulige r\u00E6kker", -row_even:"Opdater lige r\u00E6kker", -row_all:"Opdater alle r\u00E6kker", -thead:"Tabelhoved", -tbody:"Tabelkrop", -tfoot:"Tabelfod", -scope:"Forklaring", -rowgroup:"R\u00E6kkegruppe", -colgroup:"Kolonnegruppe", -col_limit:"Du har overskredet antallet af tilladte kolonner p\u00E5 {$cols}.", -row_limit:"Du har overskredet antallet af tilladte r\u00E6kker p\u00E5 {$rows}.", -cell_limit:"Du har overskredet antallet af tilladte celler p\u00E5 {$cells}.", -missing_scope:"Er du sikker p\u00E5, du vil forts\u00E6tte uden at angive forklaring for denne overskriftscelle? Uden forklaring vil v\u00E6re sv\u00E6rt for f.ek.s blinde at l\u00E6se og forst\u00E5 indholdet i tabellen.", -caption:"Tabeloverskrift", -frame:"Ramme", -frame_none:"ingen", -frame_groups:"grupper", -frame_rows:"r\u00E6kker", -frame_cols:"kolonner", -frame_all:"alle", -rules:"Regler", -rules_void:"void", -rules_above:"over", -rules_below:"under", -rules_hsides:"hsides", -rules_lhs:"lhs", -rules_rhs:"rhs", -rules_vsides:"vsides", -rules_box:"boks", -rules_border:"kant" +tinyMCE.addI18n('da.table_dlg',{ +general_tab:"Generelt", +advanced_tab:"Avanceret", +general_props:"Generelle egenskaber", +advanced_props:"Avancerede egenskaber", +rowtype:"Row in table part", +title:"Inds\u00E6t/rediger tabel", +width:"Bredde", +height:"H\u00F8jde", +cols:"Kolonner", +rows:"R\u00E6kker", +cellspacing:"Afstand mellem celler", +cellpadding:"Afstand til celleindhold", +border:"Kant", +align:"Justering", +align_default:"Standard", +align_left:"Venstre", +align_right:"H\u00F8jre", +align_middle:"Centreret", +row_title:"R\u00E6kkeegenskaber", +cell_title:"Celleegenskaber", +cell_type:"Celletype", +valign:"Vertikal justering", +align_top:"Top", +align_bottom:"Bund", +bordercolor:"Kantfarve", +bgcolor:"Baggrundsfarve", +merge_cells_title:"Flet celler", +id:"Id", +style:"Style", +langdir:"Sprogretning", +langcode:"Sprogkode", +mime:"Destinations-MIME-type", +ltr:"Venstre mod h\u00F8jre", +rtl:"H\u00F8jre mod venstre", +bgimage:"Baggrundsbillede", +summary:"Beskrivelse", +td:"Data", +th:"Hoved", +cell_cell:"Opdater aktuelle celle", +cell_row:"Opdater alle celler i r\u00E6kken", +cell_all:"Opdater alle celler i tabellen", +row_row:"Opdater aktuelle celle", +row_odd:"Opdater ulige r\u00E6kker", +row_even:"Opdater lige r\u00E6kker", +row_all:"Opdater alle r\u00E6kker", +thead:"Tabelhoved", +tbody:"Tabelkrop", +tfoot:"Tabelfod", +scope:"Forklaring", +rowgroup:"R\u00E6kkegruppe", +colgroup:"Kolonnegruppe", +col_limit:"Du har overskredet antallet af tilladte kolonner p\u00E5 {$cols}.", +row_limit:"Du har overskredet antallet af tilladte r\u00E6kker p\u00E5 {$rows}.", +cell_limit:"Du har overskredet antallet af tilladte celler p\u00E5 {$cells}.", +missing_scope:"Er du sikker p\u00E5, du vil forts\u00E6tte uden at angive forklaring for denne overskriftscelle? Uden forklaring vil v\u00E6re sv\u00E6rt for f.ek.s blinde at l\u00E6se og forst\u00E5 indholdet i tabellen.", +caption:"Tabeloverskrift", +frame:"Ramme", +frame_none:"ingen", +frame_groups:"grupper", +frame_rows:"r\u00E6kker", +frame_cols:"kolonner", +frame_all:"alle", +rules:"Regler", +rules_void:"void", +rules_above:"over", +rules_below:"under", +rules_hsides:"hsides", +rules_lhs:"lhs", +rules_rhs:"rhs", +rules_vsides:"vsides", +rules_box:"boks", +rules_border:"kant" }); \ No newline at end of file diff --git a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/table/langs/de_dlg.js b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/table/langs/de_dlg.js old mode 100644 new mode 100755 index 850ffc9064..8b177c3acb --- a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/table/langs/de_dlg.js +++ b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/table/langs/de_dlg.js @@ -1,74 +1,74 @@ -tinyMCE.addI18n('de.table_dlg',{ -general_tab:"Allgemein", -advanced_tab:"Erweitert", -general_props:"Allgemeine Einstellungen", -advanced_props:"Erweiterte Einstellungen", -rowtype:"Gruppierung", -title:"Tabelle einf\u00FCgen/bearbeiten", -width:"Breite", -height:"H\u00F6he", -cols:"Spalten", -rows:"Zeilen", -cellspacing:"Zellenabstand", -cellpadding:"Abstand innerhalb der Zellen", -border:"Rahmen", -align:"Ausrichtung", -align_default:"Standard", -align_left:"Links", -align_right:"Rechts", -align_middle:"Mittig", -row_title:"Eigenschaften der Zeile", -cell_title:"Eigenschaften der Zelle", -cell_type:"Zellentyp", -valign:"Vertikale Ausrichtung", -align_top:"Oben", -align_bottom:"Unten", -bordercolor:"Rahmenfarbe", -bgcolor:"Hintergrundfarbe", -merge_cells_title:"Zellen vereinen", -id:"ID", -style:"Format", -langdir:"Schriftrichtung", -langcode:"Sprachcode", -mime:"MIME-Type des Inhalts", -ltr:"Links nach rechts", -rtl:"Rechts nach links", -bgimage:"Hintergrundbild", -summary:"Zusammenfassung", -td:"Textzelle", -th:"\u00DCberschrift", -cell_cell:"Diese Zelle ver\u00E4ndern", -cell_row:"Alle Zellen in dieser Zeile ver\u00E4ndern", -cell_all:"Alle Zellen der Tabelle ver\u00E4ndern", -row_row:"Diese Zeile ver\u00E4ndern", -row_odd:"Ungerade Zeilen ver\u00E4ndern", -row_even:"Gerade Zeilen ver\u00E4ndern", -row_all:"Alle Zeilen ver\u00E4ndern", -thead:"Tabellenkopf", -tbody:"Tabelleninhalt", -tfoot:"Tabellenfu\u00DF", -scope:"Bezug", -rowgroup:"Vertikal gruppieren", -colgroup:"Horizontal gruppieren", -col_limit:"Sie haben die maximale Spaltenzahl von {$cols} \u00FCberschritten.", -row_limit:"Sie haben die maximale Zeilenzahl von {$rows} \u00FCberschritten.", -cell_limit:"Sie haben die maximale Zellenzahl von {$cells} \u00FCberschritten.", -missing_scope:"Wollen Sie wirklich keine Beziehung f\u00FCr diese \u00DCberschrift angeben? Benutzer mit k\u00F6rperlichen Einschr\u00E4nkungen k\u00F6nnten Schwierigkeiten haben, den Inhalt der Tabelle zu verstehen.", -caption:"Beschriftung der Tabelle", -frame:"Rahmen", -frame_none:"keine", -frame_groups:"zwischen Gruppen", -frame_rows:"zwischen Zeilen", -frame_cols:"zwischen Spalten", -frame_all:"zwischen allen Zellen", -rules:"Gitter", -rules_void:"keins", -rules_above:"nur oben", -rules_below:"nur unten", -rules_hsides:"oben und unten", -rules_lhs:"nur links", -rules_rhs:"nur rechts", -rules_vsides:"links und rechts", -rules_box:"alle 4 Seiten (Box)", -rules_border:"alle 4 Seiten (Border)" +tinyMCE.addI18n('de.table_dlg',{ +general_tab:"Allgemein", +advanced_tab:"Erweitert", +general_props:"Allgemeine Einstellungen", +advanced_props:"Erweiterte Einstellungen", +rowtype:"Gruppierung", +title:"Tabelle einf\u00FCgen/bearbeiten", +width:"Breite", +height:"H\u00F6he", +cols:"Spalten", +rows:"Zeilen", +cellspacing:"Zellenabstand", +cellpadding:"Abstand innerhalb der Zellen", +border:"Rahmen", +align:"Ausrichtung", +align_default:"Standard", +align_left:"Links", +align_right:"Rechts", +align_middle:"Mittig", +row_title:"Eigenschaften der Zeile", +cell_title:"Eigenschaften der Zelle", +cell_type:"Zellentyp", +valign:"Vertikale Ausrichtung", +align_top:"Oben", +align_bottom:"Unten", +bordercolor:"Rahmenfarbe", +bgcolor:"Hintergrundfarbe", +merge_cells_title:"Zellen vereinen", +id:"ID", +style:"Format", +langdir:"Schriftrichtung", +langcode:"Sprachcode", +mime:"MIME-Type des Inhalts", +ltr:"Links nach rechts", +rtl:"Rechts nach links", +bgimage:"Hintergrundbild", +summary:"Zusammenfassung", +td:"Textzelle", +th:"\u00DCberschrift", +cell_cell:"Diese Zelle ver\u00E4ndern", +cell_row:"Alle Zellen in dieser Zeile ver\u00E4ndern", +cell_all:"Alle Zellen der Tabelle ver\u00E4ndern", +row_row:"Diese Zeile ver\u00E4ndern", +row_odd:"Ungerade Zeilen ver\u00E4ndern", +row_even:"Gerade Zeilen ver\u00E4ndern", +row_all:"Alle Zeilen ver\u00E4ndern", +thead:"Tabellenkopf", +tbody:"Tabelleninhalt", +tfoot:"Tabellenfu\u00DF", +scope:"Bezug", +rowgroup:"Vertikal gruppieren", +colgroup:"Horizontal gruppieren", +col_limit:"Sie haben die maximale Spaltenzahl von {$cols} \u00FCberschritten.", +row_limit:"Sie haben die maximale Zeilenzahl von {$rows} \u00FCberschritten.", +cell_limit:"Sie haben die maximale Zellenzahl von {$cells} \u00FCberschritten.", +missing_scope:"Wollen Sie wirklich keine Beziehung f\u00FCr diese \u00DCberschrift angeben? Benutzer mit k\u00F6rperlichen Einschr\u00E4nkungen k\u00F6nnten Schwierigkeiten haben, den Inhalt der Tabelle zu verstehen.", +caption:"Beschriftung der Tabelle", +frame:"Rahmen", +frame_none:"keine", +frame_groups:"zwischen Gruppen", +frame_rows:"zwischen Zeilen", +frame_cols:"zwischen Spalten", +frame_all:"zwischen allen Zellen", +rules:"Gitter", +rules_void:"keins", +rules_above:"nur oben", +rules_below:"nur unten", +rules_hsides:"oben und unten", +rules_lhs:"nur links", +rules_rhs:"nur rechts", +rules_vsides:"links und rechts", +rules_box:"alle 4 Seiten (Box)", +rules_border:"alle 4 Seiten (Border)" }); \ No newline at end of file diff --git a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/table/langs/en_dlg.js b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/table/langs/en_dlg.js old mode 100644 new mode 100755 index 000332a35d..a33c987c02 --- a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/table/langs/en_dlg.js +++ b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/table/langs/en_dlg.js @@ -1,74 +1,74 @@ -tinyMCE.addI18n('en.table_dlg',{ -general_tab:"General", -advanced_tab:"Advanced", -general_props:"General properties", -advanced_props:"Advanced properties", -rowtype:"Row in table part", -title:"Insert/Modify table", -width:"Width", -height:"Height", -cols:"Cols", -rows:"Rows", -cellspacing:"Cellspacing", -cellpadding:"Cellpadding", -border:"Border", -align:"Alignment", -align_default:"Default", -align_left:"Left", -align_right:"Right", -align_middle:"Center", -row_title:"Table row properties", -cell_title:"Table cell properties", -cell_type:"Cell type", -valign:"Vertical alignment", -align_top:"Top", -align_bottom:"Bottom", -bordercolor:"Border color", -bgcolor:"Background color", -merge_cells_title:"Merge table cells", -id:"Id", -style:"Style", -langdir:"Language direction", -langcode:"Language code", -mime:"Target MIME type", -ltr:"Left to right", -rtl:"Right to left", -bgimage:"Background image", -summary:"Summary", -td:"Data", -th:"Header", -cell_cell:"Update current cell", -cell_row:"Update all cells in row", -cell_all:"Update all cells in table", -row_row:"Update current row", -row_odd:"Update odd rows in table", -row_even:"Update even rows in table", -row_all:"Update all rows in table", -thead:"Table Head", -tbody:"Table Body", -tfoot:"Table Foot", -scope:"Scope", -rowgroup:"Row Group", -colgroup:"Col Group", -col_limit:"You've exceeded the maximum number of columns of {$cols}.", -row_limit:"You've exceeded the maximum number of rows of {$rows}.", -cell_limit:"You've exceeded the maximum number of cells of {$cells}.", -missing_scope:"Are you sure you want to continue without specifying a scope for this table header cell. Without it, it may be difficult for some users with disabilities to understand the content or data displayed of the table.", -caption:"Table caption", -frame:"Frame", -frame_none:"none", -frame_groups:"groups", -frame_rows:"rows", -frame_cols:"cols", -frame_all:"all", -rules:"Rules", -rules_void:"void", -rules_above:"above", -rules_below:"below", -rules_hsides:"hsides", -rules_lhs:"lhs", -rules_rhs:"rhs", -rules_vsides:"vsides", -rules_box:"box", -rules_border:"border" +tinyMCE.addI18n('en.table_dlg',{ +general_tab:"General", +advanced_tab:"Advanced", +general_props:"General properties", +advanced_props:"Advanced properties", +rowtype:"Row in table part", +title:"Insert/Modify table", +width:"Width", +height:"Height", +cols:"Cols", +rows:"Rows", +cellspacing:"Cellspacing", +cellpadding:"Cellpadding", +border:"Border", +align:"Alignment", +align_default:"Default", +align_left:"Left", +align_right:"Right", +align_middle:"Center", +row_title:"Table row properties", +cell_title:"Table cell properties", +cell_type:"Cell type", +valign:"Vertical alignment", +align_top:"Top", +align_bottom:"Bottom", +bordercolor:"Border color", +bgcolor:"Background color", +merge_cells_title:"Merge table cells", +id:"Id", +style:"Style", +langdir:"Language direction", +langcode:"Language code", +mime:"Target MIME type", +ltr:"Left to right", +rtl:"Right to left", +bgimage:"Background image", +summary:"Summary", +td:"Data", +th:"Header", +cell_cell:"Update current cell", +cell_row:"Update all cells in row", +cell_all:"Update all cells in table", +row_row:"Update current row", +row_odd:"Update odd rows in table", +row_even:"Update even rows in table", +row_all:"Update all rows in table", +thead:"Table Head", +tbody:"Table Body", +tfoot:"Table Foot", +scope:"Scope", +rowgroup:"Row Group", +colgroup:"Col Group", +col_limit:"You've exceeded the maximum number of columns of {$cols}.", +row_limit:"You've exceeded the maximum number of rows of {$rows}.", +cell_limit:"You've exceeded the maximum number of cells of {$cells}.", +missing_scope:"Are you sure you want to continue without specifying a scope for this table header cell. Without it, it may be difficult for some users with disabilities to understand the content or data displayed of the table.", +caption:"Table caption", +frame:"Frame", +frame_none:"none", +frame_groups:"groups", +frame_rows:"rows", +frame_cols:"cols", +frame_all:"all", +rules:"Rules", +rules_void:"void", +rules_above:"above", +rules_below:"below", +rules_hsides:"hsides", +rules_lhs:"lhs", +rules_rhs:"rhs", +rules_vsides:"vsides", +rules_box:"box", +rules_border:"border" }); \ No newline at end of file diff --git a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/table/langs/es_dlg.js b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/table/langs/es_dlg.js old mode 100644 new mode 100755 index 53786c4864..8f85c489a7 --- a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/table/langs/es_dlg.js +++ b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/table/langs/es_dlg.js @@ -1,74 +1,74 @@ -tinyMCE.addI18n('es.table_dlg',{ -general_tab:"General", -advanced_tab:"Avanzado", -general_props:"Propiedades generales", -advanced_props:"Propiedades avanzadas", -rowtype:"Tipo de fila", -title:"Insertar/Modificar tabla", -width:"Ancho", -height:"Alto", -cols:"Cols", -rows:"Filas", -cellspacing:"Espaciado de celda", -cellpadding:"Relleno de celda", -border:"Borde", -align:"Alineaci\u00F3n", -align_default:"Predet.", -align_left:"Izquierda", -align_right:"Derecha", -align_middle:"Centrado", -row_title:"Propiedades de la fila", -cell_title:"Propiedades de la celda", -cell_type:"Tipo de celda", -valign:"Alineaci\u00F3n vertical", -align_top:"Arriba", -align_bottom:"Debajo", -bordercolor:"Color del borde", -bgcolor:"Color de fondo", -merge_cells_title:"Vincular celdas", -id:"Id", -style:"Estilo", -langdir:"Direcci\u00F3n del lenguaje", -langcode:"C\u00F3digo del lenguaje", -mime:"Tipo MIME", -ltr:"Izquierda a derecha", -rtl:"Derecha a izquierda", -bgimage:"Imagen de fondo", -summary:"Resumen", -td:"Datos", -th:"Encabezado", -cell_cell:"Actualizar celda actual", -cell_row:"Actualizar todas las celdas en la fila", -cell_all:"Actualizar todas las celdas en la tabla", -row_row:"Actualizar fila actual", -row_odd:"Actualizar filas impares", -row_even:"Actualizar filas pares", -row_all:"Actualizar todas las filas", -thead:"Encabezado de la tabla", -tbody:"Cuerpo de la tabla", -tfoot:"Pie de la tabla", -scope:"Alcance", -rowgroup:"Grupo de filas", -colgroup:"Grupo de columnas", -col_limit:"Ha superado el n\u00FAmero m\u00E1ximo de columnas: {$cols}.", -row_limit:"Ha superado el n\u00FAmero m\u00E1ximo de filas: {$rows}.", -cell_limit:"Ha superado el n\u00FAmero m\u00E1ximo de celdas: {$cells}.", -missing_scope:" \u00BFEst\u00E1 seguro que desea continuar sin especificar el alcance del encabezado de celda? Sin \u00E9l podr\u00EDa ser dificultoso para algunos usuarios entender el contenido o los datos mostrados en la tabla.", -caption:"Subt\u00EDtulo de la tabla", -frame:"Recuadro", -frame_none:"ninguno", -frame_groups:"grupos", -frame_rows:"filas", -frame_cols:"cols", -frame_all:"todos", -rules:"Reglas", -rules_void:"vac\u00EDo", -rules_above:"encima", -rules_below:"debajo", -rules_hsides:"hsides", -rules_lhs:"lhs", -rules_rhs:"rhs", -rules_vsides:"vsides", -rules_box:"box", -rules_border:"border" +tinyMCE.addI18n('es.table_dlg',{ +general_tab:"General", +advanced_tab:"Avanzado", +general_props:"Propiedades generales", +advanced_props:"Propiedades avanzadas", +rowtype:"Tipo de fila", +title:"Insertar/Modificar tabla", +width:"Ancho", +height:"Alto", +cols:"Cols", +rows:"Filas", +cellspacing:"Espaciado de celda", +cellpadding:"Relleno de celda", +border:"Borde", +align:"Alineaci\u00F3n", +align_default:"Predet.", +align_left:"Izquierda", +align_right:"Derecha", +align_middle:"Centrado", +row_title:"Propiedades de la fila", +cell_title:"Propiedades de la celda", +cell_type:"Tipo de celda", +valign:"Alineaci\u00F3n vertical", +align_top:"Arriba", +align_bottom:"Debajo", +bordercolor:"Color del borde", +bgcolor:"Color de fondo", +merge_cells_title:"Vincular celdas", +id:"Id", +style:"Estilo", +langdir:"Direcci\u00F3n del lenguaje", +langcode:"C\u00F3digo del lenguaje", +mime:"Tipo MIME", +ltr:"Izquierda a derecha", +rtl:"Derecha a izquierda", +bgimage:"Imagen de fondo", +summary:"Resumen", +td:"Datos", +th:"Encabezado", +cell_cell:"Actualizar celda actual", +cell_row:"Actualizar todas las celdas en la fila", +cell_all:"Actualizar todas las celdas en la tabla", +row_row:"Actualizar fila actual", +row_odd:"Actualizar filas impares", +row_even:"Actualizar filas pares", +row_all:"Actualizar todas las filas", +thead:"Encabezado de la tabla", +tbody:"Cuerpo de la tabla", +tfoot:"Pie de la tabla", +scope:"Alcance", +rowgroup:"Grupo de filas", +colgroup:"Grupo de columnas", +col_limit:"Ha superado el n\u00FAmero m\u00E1ximo de columnas: {$cols}.", +row_limit:"Ha superado el n\u00FAmero m\u00E1ximo de filas: {$rows}.", +cell_limit:"Ha superado el n\u00FAmero m\u00E1ximo de celdas: {$cells}.", +missing_scope:" \u00BFEst\u00E1 seguro que desea continuar sin especificar el alcance del encabezado de celda? Sin \u00E9l podr\u00EDa ser dificultoso para algunos usuarios entender el contenido o los datos mostrados en la tabla.", +caption:"Subt\u00EDtulo de la tabla", +frame:"Recuadro", +frame_none:"ninguno", +frame_groups:"grupos", +frame_rows:"filas", +frame_cols:"cols", +frame_all:"todos", +rules:"Reglas", +rules_void:"vac\u00EDo", +rules_above:"encima", +rules_below:"debajo", +rules_hsides:"hsides", +rules_lhs:"lhs", +rules_rhs:"rhs", +rules_vsides:"vsides", +rules_box:"box", +rules_border:"border" }); \ No newline at end of file diff --git a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/table/langs/fa_dlg.js b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/table/langs/fa_dlg.js old mode 100644 new mode 100755 index d59a5c77c4..5264dc683d --- a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/table/langs/fa_dlg.js +++ b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/table/langs/fa_dlg.js @@ -1,74 +1,74 @@ -tinyMCE.addI18n('fa.table_dlg',{ -general_tab:"\u0639\u0645\u0648\u0645\u06CC", -advanced_tab:"\u067E\u06CC\u0634\u0631\u0641\u062A\u0647", -general_props:"\u0645\u0634\u062E\u0635\u0627\u062A \u0639\u0645\u0648\u0645\u06CC", -advanced_props:"\u0645\u0634\u062E\u0635\u0627\u062A \u067E\u06CC\u0634\u0631\u0641\u062A\u0647", -rowtype:"\u0633\u0637\u0631 \u062F\u0631 \u0628\u062E\u0634 \u062C\u062F\u0648\u0644", -title:"\u062F\u0631\u062C/\u0627\u0635\u0644\u0627\u062D \u062C\u062F\u0648\u0644", -width:"\u067E\u0647\u0646\u0627", -height:"\u0627\u0631\u062A\u0641\u0627\u0639", -cols:"\u0633\u062A\u0648\u0646 \u0647\u0627", -rows:"\u0633\u0637\u0631\u0647\u0627", -cellspacing:"\u0641\u0627\u0635\u0644\u0647 \u0633\u0644\u0648\u0644 \u0647\u0627", -cellpadding:"\u0644\u0627\u06CC\u0647 \u06AF\u0630\u0627\u0631\u06CC \u0633\u0644\u0648\u0644 \u0647\u0627", -border:"\u062D\u0627\u0634\u06CC\u0647", -align:"\u062A\u0631\u0627\u0632", -align_default:"\u067E\u06CC\u0634\u0641\u0631\u0636", -align_left:"\u0686\u067E", -align_right:"\u0631\u0627\u0633\u062A", -align_middle:"\u0648\u0633\u0637", -row_title:"\u0645\u0634\u062E\u0635\u0627\u062A \u0633\u0637\u0631 \u062C\u062F\u0648\u0644", -cell_title:"\u0645\u0634\u062E\u0635\u0627\u062A \u0633\u0644\u0648\u0644 \u062C\u062F\u0648\u0644", -cell_type:"\u0646\u0648\u0639 \u0633\u0644\u0648\u0644", -valign:"\u062A\u0631\u0627\u0632 \u0639\u0645\u0648\u062F\u06CC", -align_top:"\u0628\u0627\u0644\u0627", -align_bottom:"\u067E\u0627\u06CC\u06CC\u0646", -bordercolor:"\u0631\u0646\u06AF \u062D\u0627\u0634\u06CC\u0647", -bgcolor:"\u0631\u0646\u06AF \u0632\u0645\u06CC\u0646\u0647", -merge_cells_title:"\u0627\u062F\u063A\u0627\u0645 \u0633\u0644\u0648\u0644 \u0647\u0627\u06CC \u062C\u062F\u0648\u0644", -id:"\u0634\u0646\u0627\u0633\u0647", -style:"\u0627\u0633\u062A\u06CC\u0644", -langdir:"\u062C\u0647\u062A \u0632\u0628\u0627\u0646", -langcode:"\u06A9\u062F \u0632\u0628\u0627\u0646", -mime:"\u0646\u0648\u0639 MIME \u0645\u0642\u0635\u062F (Target)", -ltr:"\u0686\u067E \u0628\u0647 \u0631\u0627\u0633\u062A", -rtl:"\u0631\u0627\u0633\u062A \u0628\u0647 \u0686\u067E", -bgimage:"\u062A\u0635\u0648\u06CC\u0631 \u0632\u0645\u06CC\u0646\u0647", -summary:"\u062E\u0644\u0627\u0635\u0647", -td:"\u062F\u0627\u062F\u0647", -th:"\u0633\u0631 \u062C\u062F\u0648\u0644", -cell_cell:"\u0628\u0631\u0648\u0632\u0631\u0633\u0627\u0646\u06CC \u0633\u0644\u0648\u0644 \u0641\u0639\u0644\u06CC", -cell_row:"\u0628\u0631\u0648\u0632\u0631\u0633\u0627\u0646\u06CC \u062A\u0645\u0627\u0645\u06CC \u0633\u0644\u0648\u0644 \u0647\u0627\u06CC \u0633\u0637\u0631", -cell_all:"\u0628\u0631\u0648\u0632\u0631\u0633\u0627\u0646\u06CC \u062A\u0645\u0627\u0645\u06CC \u0633\u0644\u0648\u0644 \u0647\u0627\u06CC \u062C\u062F\u0648\u0644", -row_row:"\u0628\u0631\u0648\u0632\u0631\u0633\u0627\u0646\u06CC \u0633\u0637\u0631 \u0641\u0639\u0644\u06CC", -row_odd:"\u0628\u0631\u0648\u0632\u0631\u0633\u0627\u0646\u06CC \u0633\u0637\u0631\u0647\u0627\u06CC \u0641\u0631\u062F \u062F\u0631 \u062C\u062F\u0648\u0644", -row_even:"\u0628\u0631\u0648\u0632\u0631\u0633\u0627\u0646\u06CC \u0633\u0637\u0631\u0647\u0627\u06CC \u0632\u0648\u062C \u062F\u0631 \u062C\u062F\u0648\u0644", -row_all:"\u0628\u0631\u0648\u0632\u0631\u0633\u0627\u0646\u06CC \u062A\u0645\u0627\u0645\u06CC \u0633\u0637\u0631\u0647\u0627 \u062F\u0631 \u062C\u062F\u0648\u0644", -thead:"\u0628\u0627\u0644\u0627\u06CC \u062C\u062F\u0648\u0644", -tbody:"\u0628\u062F\u0646\u0647 \u062C\u062F\u0648\u0644", -tfoot:"\u067E\u0627\u06CC\u06CC\u0646 \u062C\u062F\u0648\u0644", -scope:"\u0645\u062D\u062F\u0648\u062F\u0647", -rowgroup:"\u06AF\u0631\u0648\u0647 \u0633\u0637\u0631", -colgroup:"\u06AF\u0631\u0648\u0647 \u0633\u062A\u0648\u0646", -col_limit:"\u0634\u0645\u0627 \u0627\u0632 \u062A\u0639\u062F\u0627\u062F \u062D\u062F\u0627\u06A9\u062B\u0631 {$cols} \u0633\u062A\u0648\u0646 \u062A\u062C\u0627\u0648\u0632 \u06A9\u0631\u062F\u06CC\u062F.", -row_limit:"\u0634\u0645\u0627 \u0627\u0632 \u062A\u0639\u062F\u0627\u062F \u062D\u062F\u0627\u06A9\u062B\u0631 {$rows} \u0633\u0637\u0631 \u062A\u062C\u0627\u0648\u0632 \u06A9\u0631\u062F\u06CC\u062F.", -cell_limit:"\u0634\u0645\u0627 \u0627\u0632 \u062A\u0639\u062F\u0627\u062F \u062D\u062F\u0627\u06A9\u062B\u0631 {$cells} \u0633\u0644\u0648\u0644 \u062A\u062C\u0627\u0648\u0632 \u06A9\u0631\u062F\u06CC\u062F.", -missing_scope:"\u0622\u06CC\u0627 \u0628\u062F\u0648\u0646 \u062A\u0639\u06CC\u06CC\u0646 \u0645\u062D\u062F\u0648\u062F\u0647 \u0628\u0631\u0627\u06CC \u0633\u0644\u0648\u0644 \u0639\u0646\u0648\u0627\u0646 \u062C\u062F\u0648\u0644\u060C \u0627\u062F\u0627\u0645\u0647 \u0645\u06CC \u062F\u0647\u06CC\u062F\u061F. \u0628\u062F\u0648\u0646 \u0627\u06CC\u0646 \u06A9\u0627\u0631 \u060C \u0645\u0645\u06A9\u0646 \u0627\u0633\u062A \u062F\u0631\u06A9 \u0645\u062D\u062A\u0648\u0627 \u06CC\u0627 \u062F\u0627\u062F\u0647 \u0647\u0627 \u0628\u0631\u0627\u06CC \u0628\u0639\u0636\u06CC \u0627\u0632 \u06A9\u0627\u0631\u0628\u0631\u0627\u0646 \u0645\u0634\u06A9\u0644 \u0628\u0627\u0634\u062F.", -caption:"\u0639\u0646\u0648\u0627\u0646 \u062C\u062F\u0648\u0644", -frame:"\u0642\u0627\u0628 (Frame)", -frame_none:"\u0647\u06CC\u0686 \u06A9\u062F\u0627\u0645", -frame_groups:"\u06AF\u0631\u0648\u0647 \u0647\u0627", -frame_rows:"\u0633\u0637\u0631\u0647\u0627", -frame_cols:"\u0633\u062A\u0648\u0646 \u0647\u0627", -frame_all:"\u0647\u0645\u0647", -rules:"\u062E\u0637 \u0647\u0627", -rules_void:"\u062E\u0627\u0644\u06CC", -rules_above:"\u0628\u0627\u0644\u0627", -rules_below:"\u067E\u0627\u06CC\u06CC\u0646", -rules_hsides:"hsides", -rules_lhs:"lhs", -rules_rhs:"rhs", -rules_vsides:"vsides", -rules_box:"\u062C\u0639\u0628\u0647", -rules_border:"\u062D\u0627\u0634\u06CC\u0647" +tinyMCE.addI18n('fa.table_dlg',{ +general_tab:"\u0639\u0645\u0648\u0645\u06CC", +advanced_tab:"\u067E\u06CC\u0634\u0631\u0641\u062A\u0647", +general_props:"\u0645\u0634\u062E\u0635\u0627\u062A \u0639\u0645\u0648\u0645\u06CC", +advanced_props:"\u0645\u0634\u062E\u0635\u0627\u062A \u067E\u06CC\u0634\u0631\u0641\u062A\u0647", +rowtype:"\u0633\u0637\u0631 \u062F\u0631 \u0628\u062E\u0634 \u062C\u062F\u0648\u0644", +title:"\u062F\u0631\u062C/\u0627\u0635\u0644\u0627\u062D \u062C\u062F\u0648\u0644", +width:"\u067E\u0647\u0646\u0627", +height:"\u0627\u0631\u062A\u0641\u0627\u0639", +cols:"\u0633\u062A\u0648\u0646 \u0647\u0627", +rows:"\u0633\u0637\u0631\u0647\u0627", +cellspacing:"\u0641\u0627\u0635\u0644\u0647 \u0633\u0644\u0648\u0644 \u0647\u0627", +cellpadding:"\u0644\u0627\u06CC\u0647 \u06AF\u0630\u0627\u0631\u06CC \u0633\u0644\u0648\u0644 \u0647\u0627", +border:"\u062D\u0627\u0634\u06CC\u0647", +align:"\u062A\u0631\u0627\u0632", +align_default:"\u067E\u06CC\u0634\u0641\u0631\u0636", +align_left:"\u0686\u067E", +align_right:"\u0631\u0627\u0633\u062A", +align_middle:"\u0648\u0633\u0637", +row_title:"\u0645\u0634\u062E\u0635\u0627\u062A \u0633\u0637\u0631 \u062C\u062F\u0648\u0644", +cell_title:"\u0645\u0634\u062E\u0635\u0627\u062A \u0633\u0644\u0648\u0644 \u062C\u062F\u0648\u0644", +cell_type:"\u0646\u0648\u0639 \u0633\u0644\u0648\u0644", +valign:"\u062A\u0631\u0627\u0632 \u0639\u0645\u0648\u062F\u06CC", +align_top:"\u0628\u0627\u0644\u0627", +align_bottom:"\u067E\u0627\u06CC\u06CC\u0646", +bordercolor:"\u0631\u0646\u06AF \u062D\u0627\u0634\u06CC\u0647", +bgcolor:"\u0631\u0646\u06AF \u0632\u0645\u06CC\u0646\u0647", +merge_cells_title:"\u0627\u062F\u063A\u0627\u0645 \u0633\u0644\u0648\u0644 \u0647\u0627\u06CC \u062C\u062F\u0648\u0644", +id:"\u0634\u0646\u0627\u0633\u0647", +style:"\u0627\u0633\u062A\u06CC\u0644", +langdir:"\u062C\u0647\u062A \u0632\u0628\u0627\u0646", +langcode:"\u06A9\u062F \u0632\u0628\u0627\u0646", +mime:"\u0646\u0648\u0639 MIME \u0645\u0642\u0635\u062F (Target)", +ltr:"\u0686\u067E \u0628\u0647 \u0631\u0627\u0633\u062A", +rtl:"\u0631\u0627\u0633\u062A \u0628\u0647 \u0686\u067E", +bgimage:"\u062A\u0635\u0648\u06CC\u0631 \u0632\u0645\u06CC\u0646\u0647", +summary:"\u062E\u0644\u0627\u0635\u0647", +td:"\u062F\u0627\u062F\u0647", +th:"\u0633\u0631 \u062C\u062F\u0648\u0644", +cell_cell:"\u0628\u0631\u0648\u0632\u0631\u0633\u0627\u0646\u06CC \u0633\u0644\u0648\u0644 \u0641\u0639\u0644\u06CC", +cell_row:"\u0628\u0631\u0648\u0632\u0631\u0633\u0627\u0646\u06CC \u062A\u0645\u0627\u0645\u06CC \u0633\u0644\u0648\u0644 \u0647\u0627\u06CC \u0633\u0637\u0631", +cell_all:"\u0628\u0631\u0648\u0632\u0631\u0633\u0627\u0646\u06CC \u062A\u0645\u0627\u0645\u06CC \u0633\u0644\u0648\u0644 \u0647\u0627\u06CC \u062C\u062F\u0648\u0644", +row_row:"\u0628\u0631\u0648\u0632\u0631\u0633\u0627\u0646\u06CC \u0633\u0637\u0631 \u0641\u0639\u0644\u06CC", +row_odd:"\u0628\u0631\u0648\u0632\u0631\u0633\u0627\u0646\u06CC \u0633\u0637\u0631\u0647\u0627\u06CC \u0641\u0631\u062F \u062F\u0631 \u062C\u062F\u0648\u0644", +row_even:"\u0628\u0631\u0648\u0632\u0631\u0633\u0627\u0646\u06CC \u0633\u0637\u0631\u0647\u0627\u06CC \u0632\u0648\u062C \u062F\u0631 \u062C\u062F\u0648\u0644", +row_all:"\u0628\u0631\u0648\u0632\u0631\u0633\u0627\u0646\u06CC \u062A\u0645\u0627\u0645\u06CC \u0633\u0637\u0631\u0647\u0627 \u062F\u0631 \u062C\u062F\u0648\u0644", +thead:"\u0628\u0627\u0644\u0627\u06CC \u062C\u062F\u0648\u0644", +tbody:"\u0628\u062F\u0646\u0647 \u062C\u062F\u0648\u0644", +tfoot:"\u067E\u0627\u06CC\u06CC\u0646 \u062C\u062F\u0648\u0644", +scope:"\u0645\u062D\u062F\u0648\u062F\u0647", +rowgroup:"\u06AF\u0631\u0648\u0647 \u0633\u0637\u0631", +colgroup:"\u06AF\u0631\u0648\u0647 \u0633\u062A\u0648\u0646", +col_limit:"\u0634\u0645\u0627 \u0627\u0632 \u062A\u0639\u062F\u0627\u062F \u062D\u062F\u0627\u06A9\u062B\u0631 {$cols} \u0633\u062A\u0648\u0646 \u062A\u062C\u0627\u0648\u0632 \u06A9\u0631\u062F\u06CC\u062F.", +row_limit:"\u0634\u0645\u0627 \u0627\u0632 \u062A\u0639\u062F\u0627\u062F \u062D\u062F\u0627\u06A9\u062B\u0631 {$rows} \u0633\u0637\u0631 \u062A\u062C\u0627\u0648\u0632 \u06A9\u0631\u062F\u06CC\u062F.", +cell_limit:"\u0634\u0645\u0627 \u0627\u0632 \u062A\u0639\u062F\u0627\u062F \u062D\u062F\u0627\u06A9\u062B\u0631 {$cells} \u0633\u0644\u0648\u0644 \u062A\u062C\u0627\u0648\u0632 \u06A9\u0631\u062F\u06CC\u062F.", +missing_scope:"\u0622\u06CC\u0627 \u0628\u062F\u0648\u0646 \u062A\u0639\u06CC\u06CC\u0646 \u0645\u062D\u062F\u0648\u062F\u0647 \u0628\u0631\u0627\u06CC \u0633\u0644\u0648\u0644 \u0639\u0646\u0648\u0627\u0646 \u062C\u062F\u0648\u0644\u060C \u0627\u062F\u0627\u0645\u0647 \u0645\u06CC \u062F\u0647\u06CC\u062F\u061F. \u0628\u062F\u0648\u0646 \u0627\u06CC\u0646 \u06A9\u0627\u0631 \u060C \u0645\u0645\u06A9\u0646 \u0627\u0633\u062A \u062F\u0631\u06A9 \u0645\u062D\u062A\u0648\u0627 \u06CC\u0627 \u062F\u0627\u062F\u0647 \u0647\u0627 \u0628\u0631\u0627\u06CC \u0628\u0639\u0636\u06CC \u0627\u0632 \u06A9\u0627\u0631\u0628\u0631\u0627\u0646 \u0645\u0634\u06A9\u0644 \u0628\u0627\u0634\u062F.", +caption:"\u0639\u0646\u0648\u0627\u0646 \u062C\u062F\u0648\u0644", +frame:"\u0642\u0627\u0628 (Frame)", +frame_none:"\u0647\u06CC\u0686 \u06A9\u062F\u0627\u0645", +frame_groups:"\u06AF\u0631\u0648\u0647 \u0647\u0627", +frame_rows:"\u0633\u0637\u0631\u0647\u0627", +frame_cols:"\u0633\u062A\u0648\u0646 \u0647\u0627", +frame_all:"\u0647\u0645\u0647", +rules:"\u062E\u0637 \u0647\u0627", +rules_void:"\u062E\u0627\u0644\u06CC", +rules_above:"\u0628\u0627\u0644\u0627", +rules_below:"\u067E\u0627\u06CC\u06CC\u0646", +rules_hsides:"hsides", +rules_lhs:"lhs", +rules_rhs:"rhs", +rules_vsides:"vsides", +rules_box:"\u062C\u0639\u0628\u0647", +rules_border:"\u062D\u0627\u0634\u06CC\u0647" }); \ No newline at end of file diff --git a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/table/langs/fi_dlg.js b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/table/langs/fi_dlg.js old mode 100644 new mode 100755 index 8a0fca1f68..14d7fb7aa9 --- a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/table/langs/fi_dlg.js +++ b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/table/langs/fi_dlg.js @@ -1,74 +1,74 @@ -tinyMCE.addI18n('fi.table_dlg',{ -general_tab:"Yleiset", -advanced_tab:"Edistynyt", -general_props:"Yleiset asetukset", -advanced_props:"Edistyneet asetukset", -rowtype:"Rivi taulukon osassa", -title:"Lis\u00E4\u00E4/muokkaa taulukkoa", -width:"Leveys", -height:"Korkeus", -cols:"Sarakkeet", -rows:"Rivit", -cellspacing:"Solun v\u00E4li", -cellpadding:"Solun tyhj\u00E4 tila", -border:"Kehys", -align:"Tasaus", -align_default:"Oletus", -align_left:"Vasen", -align_right:"Oikea", -align_middle:"Keskitetty", -row_title:"Taulukon rivin asetukset", -cell_title:"Taulukon solun asetukset", -cell_type:"Solun tyyppi", -valign:"Pystysuunnan tasaus", -align_top:"Yl\u00F6s", -align_bottom:"Alas", -bordercolor:"Kehyksen v\u00E4ri", -bgcolor:"Taustan v\u00E4ri", -merge_cells_title:"Yhdist\u00E4 taulukon solut", -id:"Id", -style:"Tyyli", -langdir:"Kielen suunta", -langcode:"Kielen koodi", -mime:"Kohteen MIME-tyyppi", -ltr:"Vasemmalta oikealle", -rtl:"Oikealta vasemmalle", -bgimage:"Taustakuva", -summary:"Yhteenveto", -td:"Tietue", -th:"Otsake", -cell_cell:"P\u00E4ivit\u00E4 solu", -cell_row:"P\u00E4ivit\u00E4 kaikki rivin solut", -cell_all:"P\u00E4ivit\u00E4 kaikki taulukon solut", -row_row:"P\u00E4ivit\u00E4 rivi", -row_odd:"P\u00E4ivit\u00E4 taulukon parittomat rivit", -row_even:"P\u00E4ivit\u00E4 taulukon parilliset rivit", -row_all:"P\u00E4ivit\u00E4 kaikki taulukon rivit", -thead:"Taulukon otsake", -tbody:"Taulukon runko", -tfoot:"Taulukon alaosa", -scope:"Tila", -rowgroup:"Rivi ryhm\u00E4", -colgroup:"Sarake ryhm\u00E4", -col_limit:"Olet ylitt\u00E4nyt suurimman sallitun m\u00E4\u00E4r\u00E4n sarakkeita {$cols}.", -row_limit:"Olet ylitt\u00E4nyt suurimman sallitun m\u00E4\u00E4r\u00E4n rivej\u00E4 {$rows}.", -cell_limit:"Olet ylitt\u00E4nyt suurimman sallitun m\u00E4\u00E4r\u00E4n soluja {$cells}.", -missing_scope:"Haluatko varmasti jatkaa m\u00E4\u00E4ritt\u00E4m\u00E4tt\u00E4 tilaa t\u00E4lle taulukon otsakesolulle? Ilman sit\u00E4 joidenkin k\u00E4ytt\u00E4jien voi olla vaikea ymm\u00E4rt\u00E4\u00E4 taulukon sis\u00E4lt\u00E4m\u00E4\u00E4 informaatiota.", -caption:"Taulukon seloste", -frame:"kehys", -frame_none:"ei mit\u00E4\u00E4n", -frame_groups:"ryhm\u00E4t", -frame_rows:"rivit", -frame_cols:"sarakkeet", -frame_all:"kaikki", -rules:"S\u00E4\u00E4nn\u00F6t", -rules_void:"tyhj\u00E4", -rules_above:"yl\u00E4puoli", -rules_below:"alapuoli", -rules_hsides:"vaakasuorat reunat", -rules_lhs:"lhs", -rules_rhs:"rhs", -rules_vsides:"pystysuorat reunat", -rules_box:"laatikko", -rules_border:"kehys" +tinyMCE.addI18n('fi.table_dlg',{ +general_tab:"Yleiset", +advanced_tab:"Edistynyt", +general_props:"Yleiset asetukset", +advanced_props:"Edistyneet asetukset", +rowtype:"Rivi taulukon osassa", +title:"Lis\u00E4\u00E4/muokkaa taulukkoa", +width:"Leveys", +height:"Korkeus", +cols:"Sarakkeet", +rows:"Rivit", +cellspacing:"Solun v\u00E4li", +cellpadding:"Solun tyhj\u00E4 tila", +border:"Kehys", +align:"Tasaus", +align_default:"Oletus", +align_left:"Vasen", +align_right:"Oikea", +align_middle:"Keskitetty", +row_title:"Taulukon rivin asetukset", +cell_title:"Taulukon solun asetukset", +cell_type:"Solun tyyppi", +valign:"Pystysuunnan tasaus", +align_top:"Yl\u00F6s", +align_bottom:"Alas", +bordercolor:"Kehyksen v\u00E4ri", +bgcolor:"Taustan v\u00E4ri", +merge_cells_title:"Yhdist\u00E4 taulukon solut", +id:"Id", +style:"Tyyli", +langdir:"Kielen suunta", +langcode:"Kielen koodi", +mime:"Kohteen MIME-tyyppi", +ltr:"Vasemmalta oikealle", +rtl:"Oikealta vasemmalle", +bgimage:"Taustakuva", +summary:"Yhteenveto", +td:"Tietue", +th:"Otsake", +cell_cell:"P\u00E4ivit\u00E4 solu", +cell_row:"P\u00E4ivit\u00E4 kaikki rivin solut", +cell_all:"P\u00E4ivit\u00E4 kaikki taulukon solut", +row_row:"P\u00E4ivit\u00E4 rivi", +row_odd:"P\u00E4ivit\u00E4 taulukon parittomat rivit", +row_even:"P\u00E4ivit\u00E4 taulukon parilliset rivit", +row_all:"P\u00E4ivit\u00E4 kaikki taulukon rivit", +thead:"Taulukon otsake", +tbody:"Taulukon runko", +tfoot:"Taulukon alaosa", +scope:"Tila", +rowgroup:"Rivi ryhm\u00E4", +colgroup:"Sarake ryhm\u00E4", +col_limit:"Olet ylitt\u00E4nyt suurimman sallitun m\u00E4\u00E4r\u00E4n sarakkeita {$cols}.", +row_limit:"Olet ylitt\u00E4nyt suurimman sallitun m\u00E4\u00E4r\u00E4n rivej\u00E4 {$rows}.", +cell_limit:"Olet ylitt\u00E4nyt suurimman sallitun m\u00E4\u00E4r\u00E4n soluja {$cells}.", +missing_scope:"Haluatko varmasti jatkaa m\u00E4\u00E4ritt\u00E4m\u00E4tt\u00E4 tilaa t\u00E4lle taulukon otsakesolulle? Ilman sit\u00E4 joidenkin k\u00E4ytt\u00E4jien voi olla vaikea ymm\u00E4rt\u00E4\u00E4 taulukon sis\u00E4lt\u00E4m\u00E4\u00E4 informaatiota.", +caption:"Taulukon seloste", +frame:"kehys", +frame_none:"ei mit\u00E4\u00E4n", +frame_groups:"ryhm\u00E4t", +frame_rows:"rivit", +frame_cols:"sarakkeet", +frame_all:"kaikki", +rules:"S\u00E4\u00E4nn\u00F6t", +rules_void:"tyhj\u00E4", +rules_above:"yl\u00E4puoli", +rules_below:"alapuoli", +rules_hsides:"vaakasuorat reunat", +rules_lhs:"lhs", +rules_rhs:"rhs", +rules_vsides:"pystysuorat reunat", +rules_box:"laatikko", +rules_border:"kehys" }); \ No newline at end of file diff --git a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/table/langs/fr_dlg.js b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/table/langs/fr_dlg.js old mode 100644 new mode 100755 index a8bda8d436..f3844fc89c --- a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/table/langs/fr_dlg.js +++ b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/table/langs/fr_dlg.js @@ -1,74 +1,74 @@ -tinyMCE.addI18n('fr.table_dlg',{ -general_tab:"G\u00E9n\u00E9ral", -advanced_tab:"Avanc\u00E9", -general_props:"Propri\u00E9t\u00E9s g\u00E9n\u00E9rales", -advanced_props:"Propri\u00E9t\u00E9s avanc\u00E9es", -rowtype:"Type de ligne", -title:"Ins\u00E9rer / modifier un tableau", -width:"Largeur", -height:"Hauteur", -cols:"Colonnes", -rows:"Lignes", -cellspacing:"Espacement entre les cellules", -cellpadding:"Espacement dans les cellules", -border:"Bordure", -align:"Alignement", -align_default:"Par d\u00E9faut", -align_left:"Gauche", -align_right:"Droite", -align_middle:"Centr\u00E9", -row_title:"Propri\u00E9t\u00E9s de la ligne", -cell_title:"Propri\u00E9t\u00E9s de la cellule", -cell_type:"Type de cellule", -valign:"Alignement vertical", -align_top:"Haut", -align_bottom:"Bas", -bordercolor:"Couleur de la bordure", -bgcolor:"Couleur du fond", -merge_cells_title:"Fusionner les cellules", -id:"Id", -style:"Style", -langdir:"Sens de lecture", -langcode:"Code de la langue", -mime:"Type MIME de la cible", -ltr:"De gauche \u00E0 droite", -rtl:"de droite \u00E0 gauche", -bgimage:"Image de fond", -summary:"R\u00E9sum\u00E9", -td:"Donn\u00E9es", -th:"Titre", -cell_cell:"Mettre \u00E0 jour la cellule courante", -cell_row:"Mettre \u00E0 jour toutes les cellules de la ligne", -cell_all:"Mettre \u00E0 jour toutes les cellules du tableau", -row_row:"Mettre \u00E0 jour la ligne courante", -row_odd:"Mettre \u00E0 jour les lignes impaires", -row_even:"Mettre \u00E0 jour les lignes paires", -row_all:"Mettre \u00E0 jour toutes les lignes du tableau", -thead:"En-t\u00EAtes de tableau", -tbody:"Corps de tableau", -tfoot:"Pied de tableau", -scope:"Port\u00E9e", -rowgroup:"Groupe de lignes", -colgroup:"Groupe de colonnes", -col_limit:"Vous avez d\u00E9pass\u00E9 le nombre maximum de colonnes ({$cols}).", -row_limit:"Vous avez d\u00E9pass\u00E9 le nombre maximum de lignes ({$rows}).", -cell_limit:"Vous avez d\u00E9pass\u00E9 le nombre maximum de cellules ({$cells}).", -missing_scope:"\u00CAtes-vous s\u00FBr de vouloir continuer sans sp\u00E9cifier de port\u00E9e pour cette cellule de titre ? Sans port\u00E9e, cela peut \u00EAtre difficile pour certains utilisateurs de comprendre le contenu ou les donn\u00E9es affich\u00E9es dans le tableau.", -caption:"Afficher la l\u00E9gende du tableau", -frame:"Cadre", -frame_none:"aucun", -frame_groups:"groupe", -frame_rows:"lignes", -frame_cols:"colonnes", -frame_all:"tous", -rules:"R\u00E8gles", -rules_void:"aucune", -rules_above:"au-dessus", -rules_below:"au-dessous", -rules_hsides:"horizontales", -rules_lhs:"\u00E0 gauche", -rules_rhs:"\u00E0 droite", -rules_vsides:"verticales", -rules_box:"bo\u00EEte", -rules_border:"bordure" +tinyMCE.addI18n('fr.table_dlg',{ +general_tab:"G\u00E9n\u00E9ral", +advanced_tab:"Avanc\u00E9", +general_props:"Propri\u00E9t\u00E9s g\u00E9n\u00E9rales", +advanced_props:"Propri\u00E9t\u00E9s avanc\u00E9es", +rowtype:"Type de ligne", +title:"Ins\u00E9rer / modifier un tableau", +width:"Largeur", +height:"Hauteur", +cols:"Colonnes", +rows:"Lignes", +cellspacing:"Espacement entre les cellules", +cellpadding:"Espacement dans les cellules", +border:"Bordure", +align:"Alignement", +align_default:"Par d\u00E9faut", +align_left:"Gauche", +align_right:"Droite", +align_middle:"Centr\u00E9", +row_title:"Propri\u00E9t\u00E9s de la ligne", +cell_title:"Propri\u00E9t\u00E9s de la cellule", +cell_type:"Type de cellule", +valign:"Alignement vertical", +align_top:"Haut", +align_bottom:"Bas", +bordercolor:"Couleur de la bordure", +bgcolor:"Couleur du fond", +merge_cells_title:"Fusionner les cellules", +id:"Id", +style:"Style", +langdir:"Sens de lecture", +langcode:"Code de la langue", +mime:"Type MIME de la cible", +ltr:"De gauche \u00E0 droite", +rtl:"de droite \u00E0 gauche", +bgimage:"Image de fond", +summary:"R\u00E9sum\u00E9", +td:"Donn\u00E9es", +th:"Titre", +cell_cell:"Mettre \u00E0 jour la cellule courante", +cell_row:"Mettre \u00E0 jour toutes les cellules de la ligne", +cell_all:"Mettre \u00E0 jour toutes les cellules du tableau", +row_row:"Mettre \u00E0 jour la ligne courante", +row_odd:"Mettre \u00E0 jour les lignes impaires", +row_even:"Mettre \u00E0 jour les lignes paires", +row_all:"Mettre \u00E0 jour toutes les lignes du tableau", +thead:"En-t\u00EAtes de tableau", +tbody:"Corps de tableau", +tfoot:"Pied de tableau", +scope:"Port\u00E9e", +rowgroup:"Groupe de lignes", +colgroup:"Groupe de colonnes", +col_limit:"Vous avez d\u00E9pass\u00E9 le nombre maximum de colonnes ({$cols}).", +row_limit:"Vous avez d\u00E9pass\u00E9 le nombre maximum de lignes ({$rows}).", +cell_limit:"Vous avez d\u00E9pass\u00E9 le nombre maximum de cellules ({$cells}).", +missing_scope:"\u00CAtes-vous s\u00FBr de vouloir continuer sans sp\u00E9cifier de port\u00E9e pour cette cellule de titre ? Sans port\u00E9e, cela peut \u00EAtre difficile pour certains utilisateurs de comprendre le contenu ou les donn\u00E9es affich\u00E9es dans le tableau.", +caption:"Afficher la l\u00E9gende du tableau", +frame:"Cadre", +frame_none:"aucun", +frame_groups:"groupe", +frame_rows:"lignes", +frame_cols:"colonnes", +frame_all:"tous", +rules:"R\u00E8gles", +rules_void:"aucune", +rules_above:"au-dessus", +rules_below:"au-dessous", +rules_hsides:"horizontales", +rules_lhs:"\u00E0 gauche", +rules_rhs:"\u00E0 droite", +rules_vsides:"verticales", +rules_box:"bo\u00EEte", +rules_border:"bordure" }); \ No newline at end of file diff --git a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/table/langs/he_dlg.js b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/table/langs/he_dlg.js old mode 100644 new mode 100755 index 8a74e90dd4..0100339867 --- a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/table/langs/he_dlg.js +++ b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/table/langs/he_dlg.js @@ -1,74 +1,74 @@ -tinyMCE.addI18n('he.table_dlg',{ -general_tab:"\u05DB\u05DC\u05DC\u05D9", -advanced_tab:"\u05DE\u05EA\u05E7\u05D3\u05DD", -general_props:"\u05EA\u05DB\u05D5\u05E0\u05D5\u05EA \u05DB\u05DC\u05DC\u05D9\u05D5\u05EA", -advanced_props:"\u05EA\u05DB\u05D5\u05E0\u05D5\u05EA \u05DE\u05EA\u05E7\u05D3\u05DE\u05D5\u05EA", -rowtype:"\u05E1\u05D5\u05D2 \u05D4\u05E9\u05D5\u05E8\u05D4 \u05D1\u05D8\u05D1\u05DC\u05D4", -title:"\u05D4\u05D5\u05E1\u05E4\u05EA/\u05E2\u05E8\u05D9\u05DB\u05EA \u05D8\u05D1\u05DC\u05D4", -width:"\u05E8\u05D5\u05D7\u05D1", -height:"\u05D2\u05D5\u05D1\u05D4", -cols:"\u05E2\u05DE\u05D5\u05D3\u05D5\u05EA", -rows:"\u05E9\u05D5\u05E8\u05D5\u05EA", -cellspacing:"Cellspacing", -cellpadding:"Cellpadding", -border:"\u05D2\u05D1\u05D5\u05DC", -align:"\u05D9\u05E9\u05D5\u05E8 \u05D0\u05D5\u05E4\u05E7\u05D9", -align_default:"Default", -align_left:"\u05DC\u05E9\u05DE\u05D0\u05DC", -align_right:"\u05DC\u05D9\u05DE\u05D9\u05DF", -align_middle:"\u05D0\u05DE\u05E6\u05E2", -row_title:"\u05EA\u05DB\u05D5\u05E0\u05D5\u05EA \u05E9\u05D5\u05E8\u05D4 \u05D1\u05D8\u05D1\u05DC\u05D4", -cell_title:"\u05EA\u05DB\u05D5\u05E0\u05D5\u05EA \u05EA\u05D0 \u05D1\u05D8\u05D1\u05DC\u05D4", -cell_type:"\u05E1\u05D2\u05E0\u05D5\u05DF \u05D4\u05EA\u05D0", -valign:"\u05D9\u05E9\u05D5\u05E8 \u05D0\u05E0\u05DB\u05D9", -align_top:"\u05E2\u05DC\u05D9\u05D5\u05DF", -align_bottom:"\u05EA\u05D7\u05EA\u05D9\u05EA", -bordercolor:"\u05E6\u05D1\u05E2 \u05D4\u05D2\u05D1\u05D5\u05DC", -bgcolor:"\u05E6\u05D1\u05E2 \u05D4\u05E8\u05E7\u05E2", -merge_cells_title:"\u05D0\u05D7\u05D3 \u05EA\u05D0\u05D9\u05DD \u05D1\u05D8\u05D1\u05DC\u05D4", -id:"Id", -style:"\u05E2\u05D9\u05E6\u05D5\u05D1", -langdir:"\u05DB\u05D9\u05D5\u05D5\u05DF \u05D4\u05E9\u05E4\u05D4", -langcode:"\u05E7\u05D5\u05D3 \u05D4\u05E9\u05E4\u05D4", -mime:"Target MIME type", -ltr:"\u05DE\u05E9\u05DE\u05D0\u05DC \u05DC\u05D9\u05DE\u05D9\u05DF", -rtl:"\u05DE\u05D9\u05DE\u05D9\u05DF \u05DC\u05E9\u05DE\u05D0\u05DC", -bgimage:"\u05EA\u05DE\u05D5\u05E0\u05EA \u05E8\u05E7\u05E2", -summary:"\u05EA\u05DE\u05E6\u05D9\u05EA", -td:"\u05EA\u05D0 \u05DE\u05D9\u05D3\u05E2", -th:"\u05DB\u05D5\u05EA\u05E8\u05EA", -cell_cell:"\u05E2\u05D3\u05DB\u05D5\u05DF \u05EA\u05D0 \u05E0\u05D5\u05DB\u05D7\u05D9", -cell_row:"\u05E2\u05D3\u05DB\u05D5\u05DF \u05DB\u05DC \u05EA\u05D0\u05D9 \u05D4\u05E9\u05D5\u05E8\u05D4", -cell_all:"\u05E2\u05D3\u05DB\u05D5\u05DF \u05DB\u05DC \u05EA\u05D0\u05D9 \u05D4\u05D8\u05D1\u05DC\u05D4", -row_row:"\u05E2\u05D3\u05DB\u05D5\u05DF \u05E9\u05D5\u05E8\u05D4 \u05E0\u05D5\u05DB\u05D7\u05D9\u05EA", -row_odd:"\u05E2\u05D3\u05DB\u05D5\u05DF \u05E9\u05D5\u05E8\u05D5\u05EA \u05D0\u05D9-\u05D6\u05D5\u05D2\u05D9\u05D5\u05EA \u05D1\u05D8\u05D1\u05DC\u05D4", -row_even:"\u05E2\u05D3\u05DB\u05D5\u05DF \u05E9\u05D5\u05E8\u05D5\u05EA \u05D6\u05D5\u05D2\u05D9\u05D5\u05EA \u05D1\u05D8\u05D1\u05DC\u05D4", -row_all:"\u05E2\u05D3\u05DB\u05D5\u05DF\u05DB\u05DC \u05D4\u05E9\u05D5\u05E8\u05D5\u05EA \u05D1\u05D8\u05D1\u05DC\u05D4", -thead:"\u05E9\u05D5\u05E8\u05EA \u05DB\u05D5\u05EA\u05E8\u05EA", -tbody:"\u05E9\u05D5\u05E8\u05D4 \u05E8\u05D2\u05D9\u05DC\u05D4", -tfoot:"\u05E9\u05D5\u05E8\u05D4 \u05EA\u05D7\u05EA\u05D9\u05EA", -scope:"Scope", -rowgroup:"Row Group", -colgroup:"Col Group", -col_limit:"\u05D7\u05E8\u05D9\u05D2\u05D4 \u05DE\u05DE\u05E1\u05E4\u05E8 \u05D4\u05E2\u05DE\u05D5\u05D3\u05D5\u05EA \u05D4\u05DE\u05E7\u05E1\u05D9\u05DE\u05D0\u05DC\u05D9 \u05E9\u05DC {$cols}.", -row_limit:"\u05D7\u05E8\u05D9\u05D2\u05D4 \u05DE\u05DE\u05E1\u05E4\u05E8 \u05D4\u05DE\u05E7\u05E1\u05D9\u05DE\u05D0\u05DC\u05D9 \u05E9\u05DC \u05D4\u05E9\u05D5\u05E8\u05D5\u05EA \u05E9\u05DC {$rows}.", -cell_limit:"\u05D7\u05E8\u05D9\u05D2\u05D4 \u05DE\u05DE\u05E1\u05E4\u05E8 \u05D4\u05DE\u05E7\u05E1\u05D9\u05DE\u05D0\u05DC\u05D9 \u05E9\u05DC \u05D4\u05EA\u05D0\u05D9\u05DD \u05D1\u05D8\u05D1\u05DC\u05D4 \u05E9\u05DC {$cells}.", -missing_scope:"Are you sure you want to continue without specifying a scope for this table header cell. Without it, it may be difficult for some users with disabilities to understand the content or data displayed of the table.", -caption:"\u05DB\u05D5\u05EA\u05E8\u05EA \u05D4\u05D8\u05D1\u05DC\u05D4", -frame:"Frame", -frame_none:"\u05DC\u05DC\u05D0", -frame_groups:"\u05E7\u05D1\u05D5\u05E6\u05D5\u05EA", -frame_rows:"\u05E9\u05D5\u05E8\u05D5\u05EA", -frame_cols:"\u05E2\u05DE\u05D5\u05D3\u05D5\u05EA", -frame_all:"\u05D4\u05DB\u05D5\u05DC", -rules:"\u05D7\u05D5\u05E7\u05D9\u05DD", -rules_void:"void", -rules_above:"\u05DE\u05E2\u05DC", -rules_below:"\u05DE\u05EA\u05D7\u05EA", -rules_hsides:"hsides", -rules_lhs:"lhs", -rules_rhs:"rhs", -rules_vsides:"vsides", -rules_box:"box", -rules_border:"\u05D2\u05D1\u05D5\u05DC" +tinyMCE.addI18n('he.table_dlg',{ +general_tab:"\u05DB\u05DC\u05DC\u05D9", +advanced_tab:"\u05DE\u05EA\u05E7\u05D3\u05DD", +general_props:"\u05EA\u05DB\u05D5\u05E0\u05D5\u05EA \u05DB\u05DC\u05DC\u05D9\u05D5\u05EA", +advanced_props:"\u05EA\u05DB\u05D5\u05E0\u05D5\u05EA \u05DE\u05EA\u05E7\u05D3\u05DE\u05D5\u05EA", +rowtype:"\u05E1\u05D5\u05D2 \u05D4\u05E9\u05D5\u05E8\u05D4 \u05D1\u05D8\u05D1\u05DC\u05D4", +title:"\u05D4\u05D5\u05E1\u05E4\u05EA/\u05E2\u05E8\u05D9\u05DB\u05EA \u05D8\u05D1\u05DC\u05D4", +width:"\u05E8\u05D5\u05D7\u05D1", +height:"\u05D2\u05D5\u05D1\u05D4", +cols:"\u05E2\u05DE\u05D5\u05D3\u05D5\u05EA", +rows:"\u05E9\u05D5\u05E8\u05D5\u05EA", +cellspacing:"Cellspacing", +cellpadding:"Cellpadding", +border:"\u05D2\u05D1\u05D5\u05DC", +align:"\u05D9\u05E9\u05D5\u05E8 \u05D0\u05D5\u05E4\u05E7\u05D9", +align_default:"Default", +align_left:"\u05DC\u05E9\u05DE\u05D0\u05DC", +align_right:"\u05DC\u05D9\u05DE\u05D9\u05DF", +align_middle:"\u05D0\u05DE\u05E6\u05E2", +row_title:"\u05EA\u05DB\u05D5\u05E0\u05D5\u05EA \u05E9\u05D5\u05E8\u05D4 \u05D1\u05D8\u05D1\u05DC\u05D4", +cell_title:"\u05EA\u05DB\u05D5\u05E0\u05D5\u05EA \u05EA\u05D0 \u05D1\u05D8\u05D1\u05DC\u05D4", +cell_type:"\u05E1\u05D2\u05E0\u05D5\u05DF \u05D4\u05EA\u05D0", +valign:"\u05D9\u05E9\u05D5\u05E8 \u05D0\u05E0\u05DB\u05D9", +align_top:"\u05E2\u05DC\u05D9\u05D5\u05DF", +align_bottom:"\u05EA\u05D7\u05EA\u05D9\u05EA", +bordercolor:"\u05E6\u05D1\u05E2 \u05D4\u05D2\u05D1\u05D5\u05DC", +bgcolor:"\u05E6\u05D1\u05E2 \u05D4\u05E8\u05E7\u05E2", +merge_cells_title:"\u05D0\u05D7\u05D3 \u05EA\u05D0\u05D9\u05DD \u05D1\u05D8\u05D1\u05DC\u05D4", +id:"Id", +style:"\u05E2\u05D9\u05E6\u05D5\u05D1", +langdir:"\u05DB\u05D9\u05D5\u05D5\u05DF \u05D4\u05E9\u05E4\u05D4", +langcode:"\u05E7\u05D5\u05D3 \u05D4\u05E9\u05E4\u05D4", +mime:"Target MIME type", +ltr:"\u05DE\u05E9\u05DE\u05D0\u05DC \u05DC\u05D9\u05DE\u05D9\u05DF", +rtl:"\u05DE\u05D9\u05DE\u05D9\u05DF \u05DC\u05E9\u05DE\u05D0\u05DC", +bgimage:"\u05EA\u05DE\u05D5\u05E0\u05EA \u05E8\u05E7\u05E2", +summary:"\u05EA\u05DE\u05E6\u05D9\u05EA", +td:"\u05EA\u05D0 \u05DE\u05D9\u05D3\u05E2", +th:"\u05DB\u05D5\u05EA\u05E8\u05EA", +cell_cell:"\u05E2\u05D3\u05DB\u05D5\u05DF \u05EA\u05D0 \u05E0\u05D5\u05DB\u05D7\u05D9", +cell_row:"\u05E2\u05D3\u05DB\u05D5\u05DF \u05DB\u05DC \u05EA\u05D0\u05D9 \u05D4\u05E9\u05D5\u05E8\u05D4", +cell_all:"\u05E2\u05D3\u05DB\u05D5\u05DF \u05DB\u05DC \u05EA\u05D0\u05D9 \u05D4\u05D8\u05D1\u05DC\u05D4", +row_row:"\u05E2\u05D3\u05DB\u05D5\u05DF \u05E9\u05D5\u05E8\u05D4 \u05E0\u05D5\u05DB\u05D7\u05D9\u05EA", +row_odd:"\u05E2\u05D3\u05DB\u05D5\u05DF \u05E9\u05D5\u05E8\u05D5\u05EA \u05D0\u05D9-\u05D6\u05D5\u05D2\u05D9\u05D5\u05EA \u05D1\u05D8\u05D1\u05DC\u05D4", +row_even:"\u05E2\u05D3\u05DB\u05D5\u05DF \u05E9\u05D5\u05E8\u05D5\u05EA \u05D6\u05D5\u05D2\u05D9\u05D5\u05EA \u05D1\u05D8\u05D1\u05DC\u05D4", +row_all:"\u05E2\u05D3\u05DB\u05D5\u05DF\u05DB\u05DC \u05D4\u05E9\u05D5\u05E8\u05D5\u05EA \u05D1\u05D8\u05D1\u05DC\u05D4", +thead:"\u05E9\u05D5\u05E8\u05EA \u05DB\u05D5\u05EA\u05E8\u05EA", +tbody:"\u05E9\u05D5\u05E8\u05D4 \u05E8\u05D2\u05D9\u05DC\u05D4", +tfoot:"\u05E9\u05D5\u05E8\u05D4 \u05EA\u05D7\u05EA\u05D9\u05EA", +scope:"Scope", +rowgroup:"Row Group", +colgroup:"Col Group", +col_limit:"\u05D7\u05E8\u05D9\u05D2\u05D4 \u05DE\u05DE\u05E1\u05E4\u05E8 \u05D4\u05E2\u05DE\u05D5\u05D3\u05D5\u05EA \u05D4\u05DE\u05E7\u05E1\u05D9\u05DE\u05D0\u05DC\u05D9 \u05E9\u05DC {$cols}.", +row_limit:"\u05D7\u05E8\u05D9\u05D2\u05D4 \u05DE\u05DE\u05E1\u05E4\u05E8 \u05D4\u05DE\u05E7\u05E1\u05D9\u05DE\u05D0\u05DC\u05D9 \u05E9\u05DC \u05D4\u05E9\u05D5\u05E8\u05D5\u05EA \u05E9\u05DC {$rows}.", +cell_limit:"\u05D7\u05E8\u05D9\u05D2\u05D4 \u05DE\u05DE\u05E1\u05E4\u05E8 \u05D4\u05DE\u05E7\u05E1\u05D9\u05DE\u05D0\u05DC\u05D9 \u05E9\u05DC \u05D4\u05EA\u05D0\u05D9\u05DD \u05D1\u05D8\u05D1\u05DC\u05D4 \u05E9\u05DC {$cells}.", +missing_scope:"Are you sure you want to continue without specifying a scope for this table header cell. Without it, it may be difficult for some users with disabilities to understand the content or data displayed of the table.", +caption:"\u05DB\u05D5\u05EA\u05E8\u05EA \u05D4\u05D8\u05D1\u05DC\u05D4", +frame:"Frame", +frame_none:"\u05DC\u05DC\u05D0", +frame_groups:"\u05E7\u05D1\u05D5\u05E6\u05D5\u05EA", +frame_rows:"\u05E9\u05D5\u05E8\u05D5\u05EA", +frame_cols:"\u05E2\u05DE\u05D5\u05D3\u05D5\u05EA", +frame_all:"\u05D4\u05DB\u05D5\u05DC", +rules:"\u05D7\u05D5\u05E7\u05D9\u05DD", +rules_void:"void", +rules_above:"\u05DE\u05E2\u05DC", +rules_below:"\u05DE\u05EA\u05D7\u05EA", +rules_hsides:"hsides", +rules_lhs:"lhs", +rules_rhs:"rhs", +rules_vsides:"vsides", +rules_box:"box", +rules_border:"\u05D2\u05D1\u05D5\u05DC" }); \ No newline at end of file diff --git a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/table/langs/it_dlg.js b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/table/langs/it_dlg.js old mode 100644 new mode 100755 index 65a9a0632e..ffa84ad20a --- a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/table/langs/it_dlg.js +++ b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/table/langs/it_dlg.js @@ -1,74 +1,74 @@ -tinyMCE.addI18n('it.table_dlg',{ -general_tab:"Generale", -advanced_tab:"Avanzate", -general_props:"Propriet\u00E0 generali", -advanced_props:"Propriet\u00E0 avanzate", -rowtype:"Riga in una parte di tabella", -title:"Inserisci/Modifica tabella", -width:"Larghezza", -height:"Altezza", -cols:"Colonne", -rows:"Righe", -cellspacing:"Spaziatura celle", -cellpadding:"Padding celle", -border:"Bordo", -align:"Allineamento", -align_default:"Predefinito", -align_left:"A sinistra", -align_right:"A destra", -align_middle:"Centra", -row_title:"Propriet\u00E0 riga", -cell_title:"Propriet\u00E0 cella", -cell_type:"Tipo cella", -valign:"Allineamento verticale", -align_top:"In alto", -align_bottom:"In basso", -bordercolor:"Colore bordo", -bgcolor:"Colore sfondo", -merge_cells_title:"Unisci celle", -id:"Id", -style:"Stile", -langdir:"Direzione testo", -langcode:"Lingua", -mime:"Tipo MIME del target", -ltr:"Sinistra verso destra", -rtl:"Destra verso sinistra", -bgimage:"Immagine sfondo", -summary:"Sommario", -td:"Data", -th:"Intestazione", -cell_cell:"Aggiorna cella corrente", -cell_row:"Aggiorna tutte le celle della riga", -cell_all:"Aggiorna tutte le celle della tabella", -row_row:"Aggiorna riga corrente", -row_odd:"Aggiorna righe dispari della tabella", -row_even:"Aggiorna righe pari della tabella", -row_all:"Update tutte le righe della tabella", -thead:"Intestazione tabella", -tbody:"Corpo tabella", -tfoot:"Pedice tabella", -scope:"Scope", -rowgroup:"Gruppo riga", -colgroup:"Gruppo colonna", -col_limit:"Superato il numero massimo di colonne di {$cols}.", -row_limit:"Superato il numero massimo di righe di {$rows}.", -cell_limit:"Superato il numero massimo di celle di {$cells}.", -missing_scope:"Sicuro di proseguire senza aver specificato uno scope per l'intestazione di questa tabella? Senza di esso, potrebbe essere difficoltoso per alcuni utenti con disabilit\u00E0 capire il contenuto o i dati mostrati nella tabella.", -caption:"Table caption", -frame:"Cornice", -frame_none:"nessuna", -frame_groups:"gruppi", -frame_rows:"righe", -frame_cols:"colonne", -frame_all:"tutte", -rules:"Regole", -rules_void:"vuoto", -rules_above:"sopra", -rules_below:"sotto", -rules_hsides:"lato orizz.", -rules_lhs:"lhs", -rules_rhs:"rhs", -rules_vsides:"lato vert.", -rules_box:"box", -rules_border:"bordo" +tinyMCE.addI18n('it.table_dlg',{ +general_tab:"Generale", +advanced_tab:"Avanzate", +general_props:"Propriet\u00E0 generali", +advanced_props:"Propriet\u00E0 avanzate", +rowtype:"Riga in una parte di tabella", +title:"Inserisci/Modifica tabella", +width:"Larghezza", +height:"Altezza", +cols:"Colonne", +rows:"Righe", +cellspacing:"Spaziatura celle", +cellpadding:"Padding celle", +border:"Bordo", +align:"Allineamento", +align_default:"Predefinito", +align_left:"A sinistra", +align_right:"A destra", +align_middle:"Centra", +row_title:"Propriet\u00E0 riga", +cell_title:"Propriet\u00E0 cella", +cell_type:"Tipo cella", +valign:"Allineamento verticale", +align_top:"In alto", +align_bottom:"In basso", +bordercolor:"Colore bordo", +bgcolor:"Colore sfondo", +merge_cells_title:"Unisci celle", +id:"Id", +style:"Stile", +langdir:"Direzione testo", +langcode:"Lingua", +mime:"Tipo MIME del target", +ltr:"Sinistra verso destra", +rtl:"Destra verso sinistra", +bgimage:"Immagine sfondo", +summary:"Sommario", +td:"Data", +th:"Intestazione", +cell_cell:"Aggiorna cella corrente", +cell_row:"Aggiorna tutte le celle della riga", +cell_all:"Aggiorna tutte le celle della tabella", +row_row:"Aggiorna riga corrente", +row_odd:"Aggiorna righe dispari della tabella", +row_even:"Aggiorna righe pari della tabella", +row_all:"Update tutte le righe della tabella", +thead:"Intestazione tabella", +tbody:"Corpo tabella", +tfoot:"Pedice tabella", +scope:"Scope", +rowgroup:"Gruppo riga", +colgroup:"Gruppo colonna", +col_limit:"Superato il numero massimo di colonne di {$cols}.", +row_limit:"Superato il numero massimo di righe di {$rows}.", +cell_limit:"Superato il numero massimo di celle di {$cells}.", +missing_scope:"Sicuro di proseguire senza aver specificato uno scope per l'intestazione di questa tabella? Senza di esso, potrebbe essere difficoltoso per alcuni utenti con disabilit\u00E0 capire il contenuto o i dati mostrati nella tabella.", +caption:"Table caption", +frame:"Cornice", +frame_none:"nessuna", +frame_groups:"gruppi", +frame_rows:"righe", +frame_cols:"colonne", +frame_all:"tutte", +rules:"Regole", +rules_void:"vuoto", +rules_above:"sopra", +rules_below:"sotto", +rules_hsides:"lato orizz.", +rules_lhs:"lhs", +rules_rhs:"rhs", +rules_vsides:"lato vert.", +rules_box:"box", +rules_border:"bordo" }); \ No newline at end of file diff --git a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/table/langs/ja_dlg.js b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/table/langs/ja_dlg.js old mode 100644 new mode 100755 index 53fbb94fc0..4fcce936e3 --- a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/table/langs/ja_dlg.js +++ b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/table/langs/ja_dlg.js @@ -1,74 +1,74 @@ -tinyMCE.addI18n('ja.table_dlg',{ -general_tab:"\u4E00\u822C", -advanced_tab:"\u4E0A\u7D1A\u8005\u5411\u3051", -general_props:"\u4E00\u822C", -advanced_props:"\u4E0A\u7D1A\u8005\u5411\u3051", -rowtype:"\u884C", -title:"\u8868\u306E\u633F\u5165/\u7DE8\u96C6", -width:"\u5E45", -height:"\u9AD8\u3055", -cols:"\u5217", -rows:"\u884C", -cellspacing:"Cellspacing", -cellpadding:"Cellpadding", -border:"\u67A0\u7DDA", -align:"\u914D\u7F6E", -align_default:"\u30C7\u30D5\u30A9\u30EB\u30C8", -align_left:"\u5DE6\u63C3\u3048", -align_right:"\u53F3\u63C3\u3048", -align_middle:"\u4E2D\u592E\u63C3\u3048", -row_title:"\u884C\u306E\u30D7\u30ED\u30D1\u30C6\u30A3", -cell_title:"\u30BB\u30EB\u306E\u30D7\u30ED\u30D1\u30C6\u30A3", -cell_type:"\u30BB\u30EB\u7A2E\u5225", -valign:"\u5782\u76F4\u65B9\u5411\u306E\u914D\u7F6E", -align_top:"\u4E0A\u63C3\u3048", -align_bottom:"\u4E0B\u63C3\u3048", -bordercolor:"\u67A0\u7DDA\u306E\u8272", -bgcolor:"\u80CC\u666F\u8272", -merge_cells_title:"\u30BB\u30EB\u306E\u7D50\u5408", -id:"ID\u5C5E\u6027", -style:"style\u5C5E\u6027", -langdir:"\u6587\u7AE0\u306E\u65B9\u5411", -langcode:"\u8A00\u8A9E\u30B3\u30FC\u30C9", -mime:"\u30BF\u30FC\u30B2\u30C3\u30C8\u306EMIME\u30BF\u30A4\u30D7", -ltr:"\u5DE6\u304B\u3089\u53F3", -rtl:"\u53F3\u304B\u3089\u5DE6", -bgimage:"\u80CC\u666F\u753B\u50CF", -summary:"\u30B5\u30DE\u30EA\u30FC", -td:"\u30C7\u30FC\u30BF", -th:"\u30D8\u30C3\u30C0", -cell_cell:"\u9078\u629E\u30BB\u30EB\u306E\u66F4\u65B0", -cell_row:"\u884C\u5185\u306E\u30BB\u30EB\u306E\u66F4\u65B0", -cell_all:"\u5168\u3066\u306E\u30BB\u30EB\u306E\u66F4\u65B0", -row_row:"\u9078\u629E\u884C\u306E\u66F4\u65B0", -row_odd:"\u5947\u6570\u884C\u306E\u66F4\u65B0", -row_even:"\u5076\u6570\u884C\u306E\u66F4\u65B0", -row_all:"\u5168\u3066\u306E\u884C\u306E\u66F4\u65B0", -thead:"\u8868\u30D8\u30C3\u30C0", -tbody:"\u8868\u30DC\u30C7\u30A3", -tfoot:"\u8868\u30D5\u30C3\u30BF", -scope:"\u30B9\u30B3\u30FC\u30D7", -rowgroup:"\u884C\u30B0\u30EB\u30FC\u30D7", -colgroup:"\u5217\u30B0\u30EB\u30FC\u30D7", -col_limit:"\u5217\u306E\u6700\u5927\u6570\u3092\u8D85\u3048\u307E\u3057\u305F\u3002", -row_limit:"\u884C\u306E\u6700\u5927\u6570\u3092\u8D85\u3048\u307E\u3057\u305F\u3002", -cell_limit:"\u30BB\u30EB\u306E\u6700\u5927\u6570\u3092\u8D85\u3048\u307E\u3057\u305F\u3002", -missing_scope:"\u8868\u306E\u30B9\u30B3\u30FC\u30D7\u5C5E\u6027\u3092\u8A2D\u5B9A\u3057\u3066\u3044\u307E\u305B\u3093\u304C\u3088\u308D\u3057\u3044\u3067\u3059\u304B\uFF1F", -caption:"\u8868\u306B\u898B\u51FA\u3057\u3092\u4ED8\u3051\u308B", -frame:"\u30BB\u30EB\u67A0\u7DDA", -frame_none:"\u306A\u3057", -frame_groups:"\u30B0\u30EB\u30FC\u30D7\u6BCE", -frame_rows:"\u884C", -frame_cols:"\u5217", -frame_all:"\u5168\u3066", -rules:"\u8868\u306E\u5916\u67A0", -rules_void:"\u306A\u3057", -rules_above:"\u4E0A", -rules_below:"\u4E0B", -rules_hsides:"\u4E0A\u4E0B", -rules_lhs:"\u5DE6", -rules_rhs:"\u53F3", -rules_vsides:"\u5DE6\u53F3", -rules_box:"\u4E0A\u4E0B\u5DE6\u53F3(box)", -rules_border:"\u4E0A\u4E0B\u5DE6\u53F3(border)" +tinyMCE.addI18n('ja.table_dlg',{ +general_tab:"\u4E00\u822C", +advanced_tab:"\u4E0A\u7D1A\u8005\u5411\u3051", +general_props:"\u4E00\u822C", +advanced_props:"\u4E0A\u7D1A\u8005\u5411\u3051", +rowtype:"\u884C", +title:"\u8868\u306E\u633F\u5165/\u7DE8\u96C6", +width:"\u5E45", +height:"\u9AD8\u3055", +cols:"\u5217", +rows:"\u884C", +cellspacing:"Cellspacing", +cellpadding:"Cellpadding", +border:"\u67A0\u7DDA", +align:"\u914D\u7F6E", +align_default:"\u30C7\u30D5\u30A9\u30EB\u30C8", +align_left:"\u5DE6\u63C3\u3048", +align_right:"\u53F3\u63C3\u3048", +align_middle:"\u4E2D\u592E\u63C3\u3048", +row_title:"\u884C\u306E\u30D7\u30ED\u30D1\u30C6\u30A3", +cell_title:"\u30BB\u30EB\u306E\u30D7\u30ED\u30D1\u30C6\u30A3", +cell_type:"\u30BB\u30EB\u7A2E\u5225", +valign:"\u5782\u76F4\u65B9\u5411\u306E\u914D\u7F6E", +align_top:"\u4E0A\u63C3\u3048", +align_bottom:"\u4E0B\u63C3\u3048", +bordercolor:"\u67A0\u7DDA\u306E\u8272", +bgcolor:"\u80CC\u666F\u8272", +merge_cells_title:"\u30BB\u30EB\u306E\u7D50\u5408", +id:"ID\u5C5E\u6027", +style:"style\u5C5E\u6027", +langdir:"\u6587\u7AE0\u306E\u65B9\u5411", +langcode:"\u8A00\u8A9E\u30B3\u30FC\u30C9", +mime:"\u30BF\u30FC\u30B2\u30C3\u30C8\u306EMIME\u30BF\u30A4\u30D7", +ltr:"\u5DE6\u304B\u3089\u53F3", +rtl:"\u53F3\u304B\u3089\u5DE6", +bgimage:"\u80CC\u666F\u753B\u50CF", +summary:"\u30B5\u30DE\u30EA\u30FC", +td:"\u30C7\u30FC\u30BF", +th:"\u30D8\u30C3\u30C0", +cell_cell:"\u9078\u629E\u30BB\u30EB\u306E\u66F4\u65B0", +cell_row:"\u884C\u5185\u306E\u30BB\u30EB\u306E\u66F4\u65B0", +cell_all:"\u5168\u3066\u306E\u30BB\u30EB\u306E\u66F4\u65B0", +row_row:"\u9078\u629E\u884C\u306E\u66F4\u65B0", +row_odd:"\u5947\u6570\u884C\u306E\u66F4\u65B0", +row_even:"\u5076\u6570\u884C\u306E\u66F4\u65B0", +row_all:"\u5168\u3066\u306E\u884C\u306E\u66F4\u65B0", +thead:"\u8868\u30D8\u30C3\u30C0", +tbody:"\u8868\u30DC\u30C7\u30A3", +tfoot:"\u8868\u30D5\u30C3\u30BF", +scope:"\u30B9\u30B3\u30FC\u30D7", +rowgroup:"\u884C\u30B0\u30EB\u30FC\u30D7", +colgroup:"\u5217\u30B0\u30EB\u30FC\u30D7", +col_limit:"\u5217\u306E\u6700\u5927\u6570\u3092\u8D85\u3048\u307E\u3057\u305F\u3002", +row_limit:"\u884C\u306E\u6700\u5927\u6570\u3092\u8D85\u3048\u307E\u3057\u305F\u3002", +cell_limit:"\u30BB\u30EB\u306E\u6700\u5927\u6570\u3092\u8D85\u3048\u307E\u3057\u305F\u3002", +missing_scope:"\u8868\u306E\u30B9\u30B3\u30FC\u30D7\u5C5E\u6027\u3092\u8A2D\u5B9A\u3057\u3066\u3044\u307E\u305B\u3093\u304C\u3088\u308D\u3057\u3044\u3067\u3059\u304B\uFF1F", +caption:"\u8868\u306B\u898B\u51FA\u3057\u3092\u4ED8\u3051\u308B", +frame:"\u30BB\u30EB\u67A0\u7DDA", +frame_none:"\u306A\u3057", +frame_groups:"\u30B0\u30EB\u30FC\u30D7\u6BCE", +frame_rows:"\u884C", +frame_cols:"\u5217", +frame_all:"\u5168\u3066", +rules:"\u8868\u306E\u5916\u67A0", +rules_void:"\u306A\u3057", +rules_above:"\u4E0A", +rules_below:"\u4E0B", +rules_hsides:"\u4E0A\u4E0B", +rules_lhs:"\u5DE6", +rules_rhs:"\u53F3", +rules_vsides:"\u5DE6\u53F3", +rules_box:"\u4E0A\u4E0B\u5DE6\u53F3(box)", +rules_border:"\u4E0A\u4E0B\u5DE6\u53F3(border)" }); \ No newline at end of file diff --git a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/table/langs/nl_dlg.js b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/table/langs/nl_dlg.js old mode 100644 new mode 100755 index 0f72b17bdf..f00ca2cb78 --- a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/table/langs/nl_dlg.js +++ b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/table/langs/nl_dlg.js @@ -1,74 +1,74 @@ -tinyMCE.addI18n('nl.table_dlg',{ -general_tab:"Algemeen", -advanced_tab:"Geavanceerd", -general_props:"Algemene eigenschappen", -advanced_props:"Geavanceerde eigenschappen", -rowtype:"Rijtype", -title:"Tabel invoegen/bewerken", -width:"Breedte", -height:"Hoogte", -cols:"Kolommen", -rows:"Rijen", -cellspacing:"Ruimte om cel", -cellpadding:"Ruimte in cel", -border:"Rand", -align:"Uitlijning", -align_default:"Standaard", -align_left:"Links", -align_right:"Rechts", -align_middle:"Centreren", -row_title:"Rij-eigenschappen", -cell_title:"Celeigenschappen", -cell_type:"Celtype", -valign:"Verticale uitlijning", -align_top:"Boven", -align_bottom:"Onder", -bordercolor:"Randkleur", -bgcolor:"Achtergrondkleur", -merge_cells_title:"Cellen samenvoegen", -id:"Id", -style:"Stijl", -langdir:"Taalrichting", -langcode:"Taalcode", -mime:"Doel MIME type", -ltr:"Van links naar rechts", -rtl:"Van rechts naar links", -bgimage:"Achtergrondafbeelding", -summary:"Samenvatting", -td:"Gegevens", -th:"Kop", -cell_cell:"Huidige cel bijwerken", -cell_row:"Alle cellen in rij bijwerken", -cell_all:"Alle cellen in tabel bijwerken", -row_row:"Huidige rij bijwerken", -row_odd:"Oneven rijen bijwerken", -row_even:"Even rijen bijwerken", -row_all:"Alle rijen bijwerken", -thead:"Tabelkop", -tbody:"Tabellichaam", -tfoot:"Tabelvoet", -scope:"Bereik", -rowgroup:"Rijgroep", -colgroup:"Kolomgroep", -col_limit:"U heeft het maximale aantal kolommen van {$cols} overschreden.", -row_limit:"U heeft hebt het maximale aantal rijen van {$rows} overschreden.", -cell_limit:"U heeft het maximale aantal cellen van {$cells} overschreden.", -missing_scope:"Weet u zeker dat u door wilt gaan met het toewijzen van een kop zonder een bereik op te geven? Mensen met een visuele handicap kunnen hierdoor waarschijnlijk slecht bij de gegevens.", -caption:"Tabelbeschrijving", -frame:"Frame", -frame_none:"Geen", -frame_groups:"Groepen", -frame_rows:"Rijen", -frame_cols:"Kolommen", -frame_all:"Alles", -rules:"Hulplijnen", -rules_void:"Geen", -rules_above:"Boven", -rules_below:"Onder", -rules_hsides:"Horizontale zijden", -rules_lhs:"Linkerzijkant", -rules_rhs:"Rechterzijkant", -rules_vsides:"Verticale zijden", -rules_box:"Box", -rules_border:"Rand" +tinyMCE.addI18n('nl.table_dlg',{ +general_tab:"Algemeen", +advanced_tab:"Geavanceerd", +general_props:"Algemene eigenschappen", +advanced_props:"Geavanceerde eigenschappen", +rowtype:"Rijtype", +title:"Tabel invoegen/bewerken", +width:"Breedte", +height:"Hoogte", +cols:"Kolommen", +rows:"Rijen", +cellspacing:"Ruimte om cel", +cellpadding:"Ruimte in cel", +border:"Rand", +align:"Uitlijning", +align_default:"Standaard", +align_left:"Links", +align_right:"Rechts", +align_middle:"Centreren", +row_title:"Rij-eigenschappen", +cell_title:"Celeigenschappen", +cell_type:"Celtype", +valign:"Verticale uitlijning", +align_top:"Boven", +align_bottom:"Onder", +bordercolor:"Randkleur", +bgcolor:"Achtergrondkleur", +merge_cells_title:"Cellen samenvoegen", +id:"Id", +style:"Stijl", +langdir:"Taalrichting", +langcode:"Taalcode", +mime:"Doel MIME type", +ltr:"Van links naar rechts", +rtl:"Van rechts naar links", +bgimage:"Achtergrondafbeelding", +summary:"Samenvatting", +td:"Gegevens", +th:"Kop", +cell_cell:"Huidige cel bijwerken", +cell_row:"Alle cellen in rij bijwerken", +cell_all:"Alle cellen in tabel bijwerken", +row_row:"Huidige rij bijwerken", +row_odd:"Oneven rijen bijwerken", +row_even:"Even rijen bijwerken", +row_all:"Alle rijen bijwerken", +thead:"Tabelkop", +tbody:"Tabellichaam", +tfoot:"Tabelvoet", +scope:"Bereik", +rowgroup:"Rijgroep", +colgroup:"Kolomgroep", +col_limit:"U heeft het maximale aantal kolommen van {$cols} overschreden.", +row_limit:"U heeft hebt het maximale aantal rijen van {$rows} overschreden.", +cell_limit:"U heeft het maximale aantal cellen van {$cells} overschreden.", +missing_scope:"Weet u zeker dat u door wilt gaan met het toewijzen van een kop zonder een bereik op te geven? Mensen met een visuele handicap kunnen hierdoor waarschijnlijk slecht bij de gegevens.", +caption:"Tabelbeschrijving", +frame:"Frame", +frame_none:"Geen", +frame_groups:"Groepen", +frame_rows:"Rijen", +frame_cols:"Kolommen", +frame_all:"Alles", +rules:"Hulplijnen", +rules_void:"Geen", +rules_above:"Boven", +rules_below:"Onder", +rules_hsides:"Horizontale zijden", +rules_lhs:"Linkerzijkant", +rules_rhs:"Rechterzijkant", +rules_vsides:"Verticale zijden", +rules_box:"Box", +rules_border:"Rand" }); \ No newline at end of file diff --git a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/table/langs/nn_dlg.js b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/table/langs/nn_dlg.js old mode 100644 new mode 100755 index f708b2b112..4efea48ec9 --- a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/table/langs/nn_dlg.js +++ b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/table/langs/nn_dlg.js @@ -1,74 +1,74 @@ -tinyMCE.addI18n('nn.table_dlg',{ -general_tab:"Generelt", -advanced_tab:"Avansert", -general_props:"Generelt", -advanced_props:"Generelle eigenskapar", -rowtype:"Rad i tabell", -title:"Set inn / rediger tabell", -width:"Breidd", -height:"H\u00F8gd", -cols:"Kolonner", -rows:"Rader", -cellspacing:"Celleavstand", -cellpadding:"Cellefylling", -border:"Ramme", -align:"Justering", -align_default:"Standard", -align_left:"Venstre", -align_right:"H\u00F8gre", -align_middle:"Midtstilt", -row_title:"Radeigenskapar", -cell_title:"Celleeigenskapar", -cell_type:"Celletype", -valign:"Vertikal justering", -align_top:"Topp", -align_bottom:"Botn", -bordercolor:"Rammefarge", -bgcolor:"Bakgrunn", -merge_cells_title:"Sl\u00E5 saman celler", -id:"Id", -style:"Stil", -langdir:"Skriftretning", -langcode:"Spr\u00E5kkode", -mime:"M\u00E5let sin MIME-type", -ltr:"Venstre mot h\u00F8gre", -rtl:"H\u00F8gre mot venstre", -bgimage:"Bakgrunnsbilete", -summary:"Samandrag", -td:"Data", -th:"Overskrift", -cell_cell:"Oppdater aktuell celle", -cell_row:"Oppdater alle celler i rada", -cell_all:"Oppdater alle celler i tabellen", -row_row:"Oppdater aktuell rad", -row_odd:"Oppdater oddetallrader", -row_even:"Oppdater partallrader", -row_all:"Oppdater alle rader", -thead:"Tabellhovud", -tbody:"Tabellkropp", -tfoot:"Tabellfot", -scope:"Omr\u00E5de", -rowgroup:"Radgruppe", -colgroup:"Kolonnegruppe", -col_limit:"Du har fleire enn maksimalt tal kolonner p\u00E5 {$cols}.", -row_limit:"Du har fleire enn maksimalt tal rader p\u00E5 {$rows}.", -cell_limit:"Du har fleire enn maksimalt tal celler p\u00E5 {$cells}.", -missing_scope:"Er du sikker p\u00E5 at du vil fortsetje utan \u00E5 angi eit omr\u00E5de for denne overskrifscella? Utan dette kan det bli vanskeleg for enkelte funksjonshemma brukarar \u00E5 forst\u00E5 innhaldet eller dataane som blir presenterte i tabellen.", -caption:"Tabelloverskrift", -frame:"Ramme", -frame_none:"ingen", -frame_groups:"grupper", -frame_rows:"rader", -frame_cols:"kolonnar", -frame_all:"alle", -rules:"Strekar", -rules_void:"ingen", -rules_above:"over", -rules_below:"under", -rules_hsides:"hsides", -rules_lhs:"lhs", -rules_rhs:"rhs", -rules_vsides:"vsides", -rules_box:"boks", -rules_border:"ramme" +tinyMCE.addI18n('nn.table_dlg',{ +general_tab:"Generelt", +advanced_tab:"Avansert", +general_props:"Generelt", +advanced_props:"Generelle eigenskapar", +rowtype:"Rad i tabell", +title:"Set inn / rediger tabell", +width:"Breidd", +height:"H\u00F8gd", +cols:"Kolonner", +rows:"Rader", +cellspacing:"Celleavstand", +cellpadding:"Cellefylling", +border:"Ramme", +align:"Justering", +align_default:"Standard", +align_left:"Venstre", +align_right:"H\u00F8gre", +align_middle:"Midtstilt", +row_title:"Radeigenskapar", +cell_title:"Celleeigenskapar", +cell_type:"Celletype", +valign:"Vertikal justering", +align_top:"Topp", +align_bottom:"Botn", +bordercolor:"Rammefarge", +bgcolor:"Bakgrunn", +merge_cells_title:"Sl\u00E5 saman celler", +id:"Id", +style:"Stil", +langdir:"Skriftretning", +langcode:"Spr\u00E5kkode", +mime:"M\u00E5let sin MIME-type", +ltr:"Venstre mot h\u00F8gre", +rtl:"H\u00F8gre mot venstre", +bgimage:"Bakgrunnsbilete", +summary:"Samandrag", +td:"Data", +th:"Overskrift", +cell_cell:"Oppdater aktuell celle", +cell_row:"Oppdater alle celler i rada", +cell_all:"Oppdater alle celler i tabellen", +row_row:"Oppdater aktuell rad", +row_odd:"Oppdater oddetallrader", +row_even:"Oppdater partallrader", +row_all:"Oppdater alle rader", +thead:"Tabellhovud", +tbody:"Tabellkropp", +tfoot:"Tabellfot", +scope:"Omr\u00E5de", +rowgroup:"Radgruppe", +colgroup:"Kolonnegruppe", +col_limit:"Du har fleire enn maksimalt tal kolonner p\u00E5 {$cols}.", +row_limit:"Du har fleire enn maksimalt tal rader p\u00E5 {$rows}.", +cell_limit:"Du har fleire enn maksimalt tal celler p\u00E5 {$cells}.", +missing_scope:"Er du sikker p\u00E5 at du vil fortsetje utan \u00E5 angi eit omr\u00E5de for denne overskrifscella? Utan dette kan det bli vanskeleg for enkelte funksjonshemma brukarar \u00E5 forst\u00E5 innhaldet eller dataane som blir presenterte i tabellen.", +caption:"Tabelloverskrift", +frame:"Ramme", +frame_none:"ingen", +frame_groups:"grupper", +frame_rows:"rader", +frame_cols:"kolonnar", +frame_all:"alle", +rules:"Strekar", +rules_void:"ingen", +rules_above:"over", +rules_below:"under", +rules_hsides:"hsides", +rules_lhs:"lhs", +rules_rhs:"rhs", +rules_vsides:"vsides", +rules_box:"boks", +rules_border:"ramme" }); \ No newline at end of file diff --git a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/table/langs/pl_dlg.js b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/table/langs/pl_dlg.js old mode 100644 new mode 100755 index 5527cb5362..8e9bb76e6b --- a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/table/langs/pl_dlg.js +++ b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/table/langs/pl_dlg.js @@ -1,74 +1,74 @@ -tinyMCE.addI18n('pl.table_dlg',{ -general_tab:"G\u0142\u00F3wna", -advanced_tab:"Zaawansowana", -general_props:"G\u0142\u00F3wne w\u0142a\u015Bciwo\u015Bci", -advanced_props:"Zaawansowane w\u0142a\u015Bciwo\u015Bci", -rowtype:"Row in table part", -title:"Wklej/Zmie\u0144 tabel\u0119", -width:"Szeroko\u015B\u0107", -height:"Wysoko\u015B\u0107", -cols:"Kolumny", -rows:"Wiersze", -cellspacing:"Cellspacing", -cellpadding:"Cellpadding", -border:"Ramka", -align:"Wyr\u00F3wnanie", -align_default:"Domy\u015Blnie", -align_left:"Lewy", -align_right:"Prawy", -align_middle:"\u015Arodek", -row_title:"W\u0142a\u015Bciwo\u015Bci wiersza", -cell_title:"W\u0142a\u015Bciwo\u015Bci kom\u00F3rki", -cell_type:"Cell type", -valign:"Pionowe wyr\u00F3wnanie", -align_top:"G\u00F3ra", -align_bottom:"D\u00F3\u0142", -bordercolor:"Kolor ramki", -bgcolor:"Kolor t\u0142a", -merge_cells_title:"Po\u0142\u0105cz kom\u00F3rki", -id:"Id", -style:"Styl", -langdir:"Kierunek czytania tekstu", -langcode:"Oznaczenie kodowe j\u0119zyka", -mime:"Docelowy typ MIME", -ltr:"Kierunek z lewej do prawej", -rtl:"Kierunek z prawej do lewej", -bgimage:"Obrazek t\u0142a", -summary:"Podsumowanie", -td:"Data", -th:"Nag\u0142owek", -cell_cell:"Zmie\u0144 aktualn\u0105 kom\u00F3rk\u0119", -cell_row:"Zmie\u0144 wszytkie kom\u00F3rki w wierszu", -cell_all:"Zmie\u0144 wszytkie kom\u00F3rki w tabeli", -row_row:"Zmie\u0144 aktualny wiersz", -row_odd:"Zmie\u0144 nieparzyste wiersze", -row_even:"Zmie\u0144 parzyste wiersze", -row_all:"Zmie\u0144 wszystkie wiersze", -thead:"Nag\u0142\u00F3wek tabeli", -tbody:"Cia\u0142o tabeli", -tfoot:"Stopka tabeli", -scope:"Zakres", -rowgroup:"Grupa wierszy", -colgroup:"Grupa kolumn", -col_limit:"Przekroczy\u0142e\u015B maksymaln\u0105 liczb\u0119 kolumn kt\u00F3ra wynosi {$cols}.", -row_limit:"Przekroczy\u0142e\u015B maksymaln\u0105 liczb\u0119 wierszy kt\u00F3ra wynosi {$rows}.", -cell_limit:"Przekroczy\u0142e\u015B maksymaln\u0105 liczb\u0119 kom\u00F3rek kt\u00F3ra wynosi {$cells}.", -missing_scope:"Jeste\u015B pewny \u017Ce chcesz kontynuowa\u0107 bez definiowania zasi\u0119gu dla kom\u00F3rki tabeli. Bez niej, mo\u017Ce by\u0107 trudne dla niekt\u00F3rych u\u017Cytkownik\u00F3w zrozuminie zawarto\u015Bci albo danych wy\u015Bwietlanych poza tabel\u0105.", -caption:"Nag\u0142\u00F3wek tabeli", -frame:"Ramka", -frame_none:"brak", -frame_groups:"grupy", -frame_rows:"wiersze", -frame_cols:"kolumny", -frame_all:"wszystkie", -rules:"Prowadnice", -rules_void:"void", -rules_above:"nad", -rules_below:"pod", -rules_hsides:"hsides", -rules_lhs:"lhs", -rules_rhs:"rhs", -rules_vsides:"vsides", -rules_box:"box", -rules_border:"border" +tinyMCE.addI18n('pl.table_dlg',{ +general_tab:"G\u0142\u00F3wna", +advanced_tab:"Zaawansowana", +general_props:"G\u0142\u00F3wne w\u0142a\u015Bciwo\u015Bci", +advanced_props:"Zaawansowane w\u0142a\u015Bciwo\u015Bci", +rowtype:"Row in table part", +title:"Wklej/Zmie\u0144 tabel\u0119", +width:"Szeroko\u015B\u0107", +height:"Wysoko\u015B\u0107", +cols:"Kolumny", +rows:"Wiersze", +cellspacing:"Cellspacing", +cellpadding:"Cellpadding", +border:"Ramka", +align:"Wyr\u00F3wnanie", +align_default:"Domy\u015Blnie", +align_left:"Lewy", +align_right:"Prawy", +align_middle:"\u015Arodek", +row_title:"W\u0142a\u015Bciwo\u015Bci wiersza", +cell_title:"W\u0142a\u015Bciwo\u015Bci kom\u00F3rki", +cell_type:"Cell type", +valign:"Pionowe wyr\u00F3wnanie", +align_top:"G\u00F3ra", +align_bottom:"D\u00F3\u0142", +bordercolor:"Kolor ramki", +bgcolor:"Kolor t\u0142a", +merge_cells_title:"Po\u0142\u0105cz kom\u00F3rki", +id:"Id", +style:"Styl", +langdir:"Kierunek czytania tekstu", +langcode:"Oznaczenie kodowe j\u0119zyka", +mime:"Docelowy typ MIME", +ltr:"Kierunek z lewej do prawej", +rtl:"Kierunek z prawej do lewej", +bgimage:"Obrazek t\u0142a", +summary:"Podsumowanie", +td:"Data", +th:"Nag\u0142owek", +cell_cell:"Zmie\u0144 aktualn\u0105 kom\u00F3rk\u0119", +cell_row:"Zmie\u0144 wszytkie kom\u00F3rki w wierszu", +cell_all:"Zmie\u0144 wszytkie kom\u00F3rki w tabeli", +row_row:"Zmie\u0144 aktualny wiersz", +row_odd:"Zmie\u0144 nieparzyste wiersze", +row_even:"Zmie\u0144 parzyste wiersze", +row_all:"Zmie\u0144 wszystkie wiersze", +thead:"Nag\u0142\u00F3wek tabeli", +tbody:"Cia\u0142o tabeli", +tfoot:"Stopka tabeli", +scope:"Zakres", +rowgroup:"Grupa wierszy", +colgroup:"Grupa kolumn", +col_limit:"Przekroczy\u0142e\u015B maksymaln\u0105 liczb\u0119 kolumn kt\u00F3ra wynosi {$cols}.", +row_limit:"Przekroczy\u0142e\u015B maksymaln\u0105 liczb\u0119 wierszy kt\u00F3ra wynosi {$rows}.", +cell_limit:"Przekroczy\u0142e\u015B maksymaln\u0105 liczb\u0119 kom\u00F3rek kt\u00F3ra wynosi {$cells}.", +missing_scope:"Jeste\u015B pewny \u017Ce chcesz kontynuowa\u0107 bez definiowania zasi\u0119gu dla kom\u00F3rki tabeli. Bez niej, mo\u017Ce by\u0107 trudne dla niekt\u00F3rych u\u017Cytkownik\u00F3w zrozuminie zawarto\u015Bci albo danych wy\u015Bwietlanych poza tabel\u0105.", +caption:"Nag\u0142\u00F3wek tabeli", +frame:"Ramka", +frame_none:"brak", +frame_groups:"grupy", +frame_rows:"wiersze", +frame_cols:"kolumny", +frame_all:"wszystkie", +rules:"Prowadnice", +rules_void:"void", +rules_above:"nad", +rules_below:"pod", +rules_hsides:"hsides", +rules_lhs:"lhs", +rules_rhs:"rhs", +rules_vsides:"vsides", +rules_box:"box", +rules_border:"border" }); \ No newline at end of file diff --git a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/table/langs/pt_dlg.js b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/table/langs/pt_dlg.js old mode 100644 new mode 100755 index 4c1196326a..b82faf2893 --- a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/table/langs/pt_dlg.js +++ b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/table/langs/pt_dlg.js @@ -1,74 +1,74 @@ -tinyMCE.addI18n('pt.table_dlg',{ -general_tab:"Geral", -advanced_tab:"Avan\u00E7ado", -general_props:"Propriedades gerais", -advanced_props:"Propriedades avan\u00E7adas", -rowtype:"Linha na parte da tabela", -title:"Inserir/modificar tabela", -width:"Largura", -height:"Altura", -cols:"Colunas", -rows:"Linhas", -cellspacing:"Espa\u00E7amento da C\u00E9lula", -cellpadding:"Enchimento da C\u00E9lula", -border:"Limites", -align:"Alinha.", -align_default:"Padr\u00E3o", -align_left:"Esquerda", -align_right:"Direita", -align_middle:"Centro", -row_title:"Propriedades de linhas", -cell_title:"Propriedades de c\u00E9lulas", -cell_type:"Tipo c\u00E9l.", -valign:"Alinha. vert.", -align_top:"Topo", -align_bottom:"Abaixo", -bordercolor:"Cor dos limites", -bgcolor:"Cor de fundo", -merge_cells_title:"Unir c\u00E9lulas", -id:"Id", -style:"Estilo", -langdir:"Dire\u00E7\u00E3o do texto", -langcode:"C\u00F3digo do idioma", -mime:"MIME alvo", -ltr:"Da esquerda para a direita", -rtl:"Da direita para a esquerda", -bgimage:"Imagem de fundo", -summary:"Sum\u00E1rio", -td:"Dados", -th:"Campo", -cell_cell:"Atualizar esta c\u00E9lula", -cell_row:"Atualizar todas as c\u00E9lulas na linha", -cell_all:"Atualizar todas as c\u00E9lulas na tabela", -row_row:"Atualizar esta linha", -row_odd:"Atualizar linhas \u00EDmpares", -row_even:"Atualizar linhas pares", -row_all:"Atualizar todas as linhas", -thead:"Topo da tabela", -tbody:"Corpo da tabela", -tfoot:"Rodap\u00E9 da tabela", -scope:"Alcance", -rowgroup:"Grupo linhas", -colgroup:"Grupo colunas", -col_limit:"Excedeu o n\u00FAmero m\u00E1ximo de colunas de {$cols}.", -row_limit:"Excedeu o n\u00FAmero m\u00E1ximo de linhas de {$rows}.", -cell_limit:"Excedeu o n\u00FAmero m\u00E1ximo de c\u00E9lulas de {$cells}.", -missing_scope:"Tem certeza de que quer continuar sem especificar um escopo para esta c\u00E9lula? (Isso poder\u00E1 causar dificuldades a usu\u00E1rios deficientes)", -caption:"T\u00EDtulo da tabela", -frame:"Frame", -frame_none:"Nenhum", -frame_groups:"Grupos", -frame_rows:"Linhas", -frame_cols:"colunas", -frame_all:"Todos", -rules:"Regras", -rules_void:"void", -rules_above:"acima", -rules_below:"abaixo", -rules_hsides:"Hsides", -rules_lhs:"Lhs", -rules_rhs:"Rhs", -rules_vsides:"Vsides", -rules_box:"Box", -rules_border:"Limites" +tinyMCE.addI18n('pt.table_dlg',{ +general_tab:"Geral", +advanced_tab:"Avan\u00E7ado", +general_props:"Propriedades gerais", +advanced_props:"Propriedades avan\u00E7adas", +rowtype:"Linha na parte da tabela", +title:"Inserir/modificar tabela", +width:"Largura", +height:"Altura", +cols:"Colunas", +rows:"Linhas", +cellspacing:"Espa\u00E7amento da C\u00E9lula", +cellpadding:"Enchimento da C\u00E9lula", +border:"Limites", +align:"Alinha.", +align_default:"Padr\u00E3o", +align_left:"Esquerda", +align_right:"Direita", +align_middle:"Centro", +row_title:"Propriedades de linhas", +cell_title:"Propriedades de c\u00E9lulas", +cell_type:"Tipo c\u00E9l.", +valign:"Alinha. vert.", +align_top:"Topo", +align_bottom:"Abaixo", +bordercolor:"Cor dos limites", +bgcolor:"Cor de fundo", +merge_cells_title:"Unir c\u00E9lulas", +id:"Id", +style:"Estilo", +langdir:"Dire\u00E7\u00E3o do texto", +langcode:"C\u00F3digo do idioma", +mime:"MIME alvo", +ltr:"Da esquerda para a direita", +rtl:"Da direita para a esquerda", +bgimage:"Imagem de fundo", +summary:"Sum\u00E1rio", +td:"Dados", +th:"Campo", +cell_cell:"Atualizar esta c\u00E9lula", +cell_row:"Atualizar todas as c\u00E9lulas na linha", +cell_all:"Atualizar todas as c\u00E9lulas na tabela", +row_row:"Atualizar esta linha", +row_odd:"Atualizar linhas \u00EDmpares", +row_even:"Atualizar linhas pares", +row_all:"Atualizar todas as linhas", +thead:"Topo da tabela", +tbody:"Corpo da tabela", +tfoot:"Rodap\u00E9 da tabela", +scope:"Alcance", +rowgroup:"Grupo linhas", +colgroup:"Grupo colunas", +col_limit:"Excedeu o n\u00FAmero m\u00E1ximo de colunas de {$cols}.", +row_limit:"Excedeu o n\u00FAmero m\u00E1ximo de linhas de {$rows}.", +cell_limit:"Excedeu o n\u00FAmero m\u00E1ximo de c\u00E9lulas de {$cells}.", +missing_scope:"Tem certeza de que quer continuar sem especificar um escopo para esta c\u00E9lula? (Isso poder\u00E1 causar dificuldades a usu\u00E1rios deficientes)", +caption:"T\u00EDtulo da tabela", +frame:"Frame", +frame_none:"Nenhum", +frame_groups:"Grupos", +frame_rows:"Linhas", +frame_cols:"colunas", +frame_all:"Todos", +rules:"Regras", +rules_void:"void", +rules_above:"acima", +rules_below:"abaixo", +rules_hsides:"Hsides", +rules_lhs:"Lhs", +rules_rhs:"Rhs", +rules_vsides:"Vsides", +rules_box:"Box", +rules_border:"Limites" }); \ No newline at end of file diff --git a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/table/langs/ru_dlg.js b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/table/langs/ru_dlg.js old mode 100644 new mode 100755 index b5b03ee1ea..7610cdb537 --- a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/table/langs/ru_dlg.js +++ b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/table/langs/ru_dlg.js @@ -1,74 +1,74 @@ -tinyMCE.addI18n('ru.table_dlg',{ -general_tab:"\u041E\u0431\u0449\u0435\u0435", -advanced_tab:"\u0414\u043E\u043F\u043E\u043B\u043D\u0438\u0442\u0435\u043B\u044C\u043D\u043E", -general_props:"\u041E\u0431\u0449\u0438\u0435 \u043F\u0430\u0440\u0430\u043C\u0435\u0442\u0440\u044B", -advanced_props:"\u0414\u043E\u043F\u043E\u043B\u043D\u0438\u0442\u0435\u043B\u044C\u043D\u044B\u0435 \u043F\u0430\u0440\u0430\u043C\u0435\u0442\u0440\u044B", -rowtype:"\u0422\u0438\u043F \u0441\u0442\u0440\u043E\u043A\u0438", -title:"\u041F\u0430\u0440\u0430\u043C\u0435\u0442\u0440\u044B \u0442\u0430\u0431\u043B\u0438\u0446\u044B", -width:"\u0428\u0438\u0440\u0438\u043D\u0430", -height:"\u0412\u044B\u0441\u043E\u0442\u0430", -cols:"\u0421\u0442\u043E\u043B\u0431\u0446\u044B", -rows:"\u0421\u0442\u0440\u043E\u043A\u0438", -cellspacing:"\u0420\u0430\u0441\u0441\u0442\u043E\u044F\u043D\u0438\u0435 \u043C\u0435\u0436\u0434\u0443 \u044F\u0447\u0435\u0439\u043A\u0430\u043C\u0438", -cellpadding:"\u041E\u0442\u0441\u0442\u0443\u043F\u044B \u0432 \u044F\u0447\u0435\u0439\u043A\u0430\u0445", -border:"\u0413\u0440\u0430\u043D\u0438\u0446\u0430", -align:"\u0412\u044B\u0440\u0430\u0432\u043D\u0438\u0432\u0430\u043D\u0438\u0435", -align_default:"\u041F\u043E \u0443\u043C\u043E\u043B\u0447\u0430\u043D\u0438\u044E", -align_left:"\u041F\u043E \u043B\u0435\u0432\u043E\u043C\u0443 \u043A\u0440\u0430\u044E", -align_right:"\u041F\u043E \u043F\u0440\u0430\u0432\u043E\u043C\u0443 \u043A\u0440\u0430\u044E", -align_middle:"\u041F\u043E \u0446\u0435\u043D\u0442\u0440\u0443", -row_title:"\u041F\u0430\u0440\u0430\u043C\u0435\u0442\u0440\u044B \u0441\u0442\u0440\u043E\u043A\u0438", -cell_title:"\u041F\u0430\u0440\u0430\u043C\u0435\u0442\u0440\u044B \u044F\u0447\u0435\u0439\u043A\u0438", -cell_type:"\u0422\u0438\u043F", -valign:"\u0412\u0435\u0440\u0442. \u0432\u044B\u0440\u0430\u0432\u043D\u0438\u0432\u0430\u043D\u0438\u0435", -align_top:"\u041F\u043E \u0432\u0435\u0440\u0445\u043D\u0435\u043C\u0443 \u043A\u0440\u0430\u044E", -align_bottom:"\u041F\u043E \u043D\u0438\u0436\u043D\u0435\u043C\u0443 \u043A\u0440\u0430\u044E", -bordercolor:"\u0426\u0432\u0435\u0442 \u0433\u0440\u0430\u043D\u0438\u0446\u044B", -bgcolor:"\u0426\u0432\u0435\u0442 \u0437\u0430\u043B\u0438\u0432\u043A\u0438", -merge_cells_title:"\u041E\u0431\u044A\u0435\u0434\u0438\u043D\u0438\u0442\u044C \u044F\u0447\u0435\u0439\u043A\u0438", -id:"\u0418\u043C\u044F", -style:"\u0421\u0442\u0438\u043B\u044C", -langdir:"\u041D\u0430\u043F\u0440\u0430\u0432\u043B\u0435\u043D\u0438\u0435 \u0442\u0435\u043A\u0441\u0442\u0430", -langcode:"\u041A\u043E\u0434 \u044F\u0437\u044B\u043A\u0430", -mime:"MIME \u0442\u0438\u043F \u0446\u0435\u043B\u0438", -ltr:"\u0421\u043B\u0435\u0432\u0430 \u043D\u0430\u043F\u0440\u0430\u0432\u043E", -rtl:"\u0421\u043F\u0440\u0430\u0432\u0430 \u043D\u0430\u043B\u0435\u0432\u043E", -bgimage:"\u0424\u043E\u043D\u043E\u0432\u043E\u0435 \u0438\u0437\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u0438\u0435", -summary:"\u041E\u0431\u0449\u0435\u0435", -td:"\u0414\u0430\u043D\u043D\u044B\u0435", -th:"\u0417\u0430\u0433\u043E\u043B\u043E\u0432\u043E\u043A", -cell_cell:"\u041E\u0431\u043D\u043E\u0432\u0438\u0442\u044C \u0442\u0435\u043A\u0443\u0449\u0443\u044E \u044F\u0447\u0435\u0439\u043A\u0443", -cell_row:"\u041E\u0431\u043D\u043E\u0432\u0438\u0442\u044C \u0432\u0441\u0435 \u044F\u0447\u0435\u0439\u043A\u0438 \u0432 \u0441\u0442\u0440\u043E\u043A\u0435", -cell_all:"\u041E\u0431\u043D\u043E\u0432\u0438\u0442\u044C \u0432\u0441\u0435 \u044F\u0447\u0435\u0439\u043A\u0438 \u0432 \u0442\u0430\u0431\u043B\u0438\u0446\u0435", -row_row:"\u041E\u0431\u043D\u043E\u0432\u0438\u0442\u044C \u0442\u0435\u043A\u0443\u0449\u0443\u044E \u0441\u0442\u0440\u043E\u043A\u0443", -row_odd:"\u041E\u0431\u043D\u043E\u0432\u0438\u0442\u044C \u043D\u0435\u0447\u0435\u0442\u043D\u044B\u0435 \u0441\u0442\u0440\u043E\u043A\u0438 \u0432 \u0442\u0430\u0431\u043B\u0438\u0446\u0435", -row_even:"\u041E\u0431\u043D\u043E\u0432\u0438\u0442\u044C \u0447\u0435\u0442\u043D\u044B\u0435 \u0441\u0442\u0440\u043E\u043A\u0438 \u0432 \u0442\u0430\u0431\u043B\u0438\u0446\u0435", -row_all:"\u041E\u0431\u043D\u043E\u0432\u0438\u0442\u044C \u0432\u0441\u0435 \u0441\u0442\u0440\u043E\u043A\u0438 \u0432 \u0442\u0430\u0431\u043B\u0438\u0446\u0435", -thead:"\u0417\u0430\u0433\u043E\u043B\u043E\u0432\u043E\u043A", -tbody:"\u0422\u0435\u043B\u043E", -tfoot:"\u0417\u0430\u0432\u0435\u0440\u0448\u0435\u043D\u0438\u0435", -scope:"\u041E\u0431\u043B\u0430\u0441\u0442\u044C", -rowgroup:"\u0413\u0440\u0443\u043F\u043F\u0430 \u0441\u0442\u0440\u043E\u043A", -colgroup:"\u0413\u0440\u0443\u043F\u043F\u0430 \u0441\u0442\u043E\u043B\u0431\u0446\u043E\u0432", -col_limit:"\u0414\u043E\u0441\u0442\u0438\u0433\u043D\u0443\u0442 \u043C\u0430\u043A\u0441\u0438\u043C\u0430\u043B\u044C\u043D\u0432\u0439 \u043F\u0440\u0435\u0434\u0435\u043B, \u0432 $ \u043A\u043E\u043B\u043E\u043D\u043E\u043A.", -row_limit:"\u0414\u043E\u0441\u0442\u0438\u0433\u043D\u0443\u0442 \u043C\u0430\u043A\u0441\u0438\u043C\u0430\u043B\u044C\u043D\u0432\u0439 \u043F\u0440\u0435\u0434\u0435\u043B, \u0432 $ \u0441\u0442\u0440\u043E\u043A.", -cell_limit:"\u0414\u043E\u0441\u0442\u0438\u0433\u043D\u0443\u0442 \u043C\u0430\u043A\u0441\u0438\u043C\u0430\u043B\u044C\u043D\u0432\u0439 \u043F\u0440\u0435\u0434\u0435\u043B, \u0432 $ \u044F\u0447\u0435\u0435\u043A.", -missing_scope:"\u041F\u0440\u043E\u0434\u043E\u043B\u0436\u0438\u0442\u044C \u0431\u0435\u0437 \u043E\u043F\u0440\u0435\u0434\u0435\u043B\u043D\u0438\u044F \u043E\u0431\u043B\u0430\u0441\u0442\u0438 \u0437\u0430\u0433\u043B\u043E\u043B\u0432\u043A\u0430? \u0411\u0435\u0437 \u044D\u0442\u043E\u0433\u043E \u0431\u0443\u0434\u0435\u0442 \u0437\u0430\u0442\u0440\u0443\u0434\u043D\u0435\u043D\u043E \u0432\u043E\u0441\u043F\u0440\u0438\u044F\u0442\u0438\u0435 \u0442\u0430\u0431\u043B\u0438\u0446\u044B \u043D\u0435\u043A\u043E\u0442\u043E\u0440\u044B\u043C \u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u0435\u043B\u044F\u043C.", -caption:"\u0417\u0430\u0433\u043E\u043B\u043E\u0432\u043E\u043A", -frame:"\u041A\u0430\u0434\u0440", -frame_none:"none", -frame_groups:"groups", -frame_rows:"rows", -frame_cols:"cols", -frame_all:"all", -rules:"\u041F\u0440\u0430\u0432\u0438\u043B\u0430", -rules_void:"void", -rules_above:"above", -rules_below:"below", -rules_hsides:"hsides", -rules_lhs:"lhs", -rules_rhs:"rhs", -rules_vsides:"vsides", -rules_box:"box", -rules_border:"border" +tinyMCE.addI18n('ru.table_dlg',{ +general_tab:"\u041E\u0431\u0449\u0435\u0435", +advanced_tab:"\u0414\u043E\u043F\u043E\u043B\u043D\u0438\u0442\u0435\u043B\u044C\u043D\u043E", +general_props:"\u041E\u0431\u0449\u0438\u0435 \u043F\u0430\u0440\u0430\u043C\u0435\u0442\u0440\u044B", +advanced_props:"\u0414\u043E\u043F\u043E\u043B\u043D\u0438\u0442\u0435\u043B\u044C\u043D\u044B\u0435 \u043F\u0430\u0440\u0430\u043C\u0435\u0442\u0440\u044B", +rowtype:"\u0422\u0438\u043F \u0441\u0442\u0440\u043E\u043A\u0438", +title:"\u041F\u0430\u0440\u0430\u043C\u0435\u0442\u0440\u044B \u0442\u0430\u0431\u043B\u0438\u0446\u044B", +width:"\u0428\u0438\u0440\u0438\u043D\u0430", +height:"\u0412\u044B\u0441\u043E\u0442\u0430", +cols:"\u0421\u0442\u043E\u043B\u0431\u0446\u044B", +rows:"\u0421\u0442\u0440\u043E\u043A\u0438", +cellspacing:"\u0420\u0430\u0441\u0441\u0442\u043E\u044F\u043D\u0438\u0435 \u043C\u0435\u0436\u0434\u0443 \u044F\u0447\u0435\u0439\u043A\u0430\u043C\u0438", +cellpadding:"\u041E\u0442\u0441\u0442\u0443\u043F\u044B \u0432 \u044F\u0447\u0435\u0439\u043A\u0430\u0445", +border:"\u0413\u0440\u0430\u043D\u0438\u0446\u0430", +align:"\u0412\u044B\u0440\u0430\u0432\u043D\u0438\u0432\u0430\u043D\u0438\u0435", +align_default:"\u041F\u043E \u0443\u043C\u043E\u043B\u0447\u0430\u043D\u0438\u044E", +align_left:"\u041F\u043E \u043B\u0435\u0432\u043E\u043C\u0443 \u043A\u0440\u0430\u044E", +align_right:"\u041F\u043E \u043F\u0440\u0430\u0432\u043E\u043C\u0443 \u043A\u0440\u0430\u044E", +align_middle:"\u041F\u043E \u0446\u0435\u043D\u0442\u0440\u0443", +row_title:"\u041F\u0430\u0440\u0430\u043C\u0435\u0442\u0440\u044B \u0441\u0442\u0440\u043E\u043A\u0438", +cell_title:"\u041F\u0430\u0440\u0430\u043C\u0435\u0442\u0440\u044B \u044F\u0447\u0435\u0439\u043A\u0438", +cell_type:"\u0422\u0438\u043F", +valign:"\u0412\u0435\u0440\u0442. \u0432\u044B\u0440\u0430\u0432\u043D\u0438\u0432\u0430\u043D\u0438\u0435", +align_top:"\u041F\u043E \u0432\u0435\u0440\u0445\u043D\u0435\u043C\u0443 \u043A\u0440\u0430\u044E", +align_bottom:"\u041F\u043E \u043D\u0438\u0436\u043D\u0435\u043C\u0443 \u043A\u0440\u0430\u044E", +bordercolor:"\u0426\u0432\u0435\u0442 \u0433\u0440\u0430\u043D\u0438\u0446\u044B", +bgcolor:"\u0426\u0432\u0435\u0442 \u0437\u0430\u043B\u0438\u0432\u043A\u0438", +merge_cells_title:"\u041E\u0431\u044A\u0435\u0434\u0438\u043D\u0438\u0442\u044C \u044F\u0447\u0435\u0439\u043A\u0438", +id:"\u0418\u043C\u044F", +style:"\u0421\u0442\u0438\u043B\u044C", +langdir:"\u041D\u0430\u043F\u0440\u0430\u0432\u043B\u0435\u043D\u0438\u0435 \u0442\u0435\u043A\u0441\u0442\u0430", +langcode:"\u041A\u043E\u0434 \u044F\u0437\u044B\u043A\u0430", +mime:"MIME \u0442\u0438\u043F \u0446\u0435\u043B\u0438", +ltr:"\u0421\u043B\u0435\u0432\u0430 \u043D\u0430\u043F\u0440\u0430\u0432\u043E", +rtl:"\u0421\u043F\u0440\u0430\u0432\u0430 \u043D\u0430\u043B\u0435\u0432\u043E", +bgimage:"\u0424\u043E\u043D\u043E\u0432\u043E\u0435 \u0438\u0437\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u0438\u0435", +summary:"\u041E\u0431\u0449\u0435\u0435", +td:"\u0414\u0430\u043D\u043D\u044B\u0435", +th:"\u0417\u0430\u0433\u043E\u043B\u043E\u0432\u043E\u043A", +cell_cell:"\u041E\u0431\u043D\u043E\u0432\u0438\u0442\u044C \u0442\u0435\u043A\u0443\u0449\u0443\u044E \u044F\u0447\u0435\u0439\u043A\u0443", +cell_row:"\u041E\u0431\u043D\u043E\u0432\u0438\u0442\u044C \u0432\u0441\u0435 \u044F\u0447\u0435\u0439\u043A\u0438 \u0432 \u0441\u0442\u0440\u043E\u043A\u0435", +cell_all:"\u041E\u0431\u043D\u043E\u0432\u0438\u0442\u044C \u0432\u0441\u0435 \u044F\u0447\u0435\u0439\u043A\u0438 \u0432 \u0442\u0430\u0431\u043B\u0438\u0446\u0435", +row_row:"\u041E\u0431\u043D\u043E\u0432\u0438\u0442\u044C \u0442\u0435\u043A\u0443\u0449\u0443\u044E \u0441\u0442\u0440\u043E\u043A\u0443", +row_odd:"\u041E\u0431\u043D\u043E\u0432\u0438\u0442\u044C \u043D\u0435\u0447\u0435\u0442\u043D\u044B\u0435 \u0441\u0442\u0440\u043E\u043A\u0438 \u0432 \u0442\u0430\u0431\u043B\u0438\u0446\u0435", +row_even:"\u041E\u0431\u043D\u043E\u0432\u0438\u0442\u044C \u0447\u0435\u0442\u043D\u044B\u0435 \u0441\u0442\u0440\u043E\u043A\u0438 \u0432 \u0442\u0430\u0431\u043B\u0438\u0446\u0435", +row_all:"\u041E\u0431\u043D\u043E\u0432\u0438\u0442\u044C \u0432\u0441\u0435 \u0441\u0442\u0440\u043E\u043A\u0438 \u0432 \u0442\u0430\u0431\u043B\u0438\u0446\u0435", +thead:"\u0417\u0430\u0433\u043E\u043B\u043E\u0432\u043E\u043A", +tbody:"\u0422\u0435\u043B\u043E", +tfoot:"\u0417\u0430\u0432\u0435\u0440\u0448\u0435\u043D\u0438\u0435", +scope:"\u041E\u0431\u043B\u0430\u0441\u0442\u044C", +rowgroup:"\u0413\u0440\u0443\u043F\u043F\u0430 \u0441\u0442\u0440\u043E\u043A", +colgroup:"\u0413\u0440\u0443\u043F\u043F\u0430 \u0441\u0442\u043E\u043B\u0431\u0446\u043E\u0432", +col_limit:"\u0414\u043E\u0441\u0442\u0438\u0433\u043D\u0443\u0442 \u043C\u0430\u043A\u0441\u0438\u043C\u0430\u043B\u044C\u043D\u0432\u0439 \u043F\u0440\u0435\u0434\u0435\u043B, \u0432 $ \u043A\u043E\u043B\u043E\u043D\u043E\u043A.", +row_limit:"\u0414\u043E\u0441\u0442\u0438\u0433\u043D\u0443\u0442 \u043C\u0430\u043A\u0441\u0438\u043C\u0430\u043B\u044C\u043D\u0432\u0439 \u043F\u0440\u0435\u0434\u0435\u043B, \u0432 $ \u0441\u0442\u0440\u043E\u043A.", +cell_limit:"\u0414\u043E\u0441\u0442\u0438\u0433\u043D\u0443\u0442 \u043C\u0430\u043A\u0441\u0438\u043C\u0430\u043B\u044C\u043D\u0432\u0439 \u043F\u0440\u0435\u0434\u0435\u043B, \u0432 $ \u044F\u0447\u0435\u0435\u043A.", +missing_scope:"\u041F\u0440\u043E\u0434\u043E\u043B\u0436\u0438\u0442\u044C \u0431\u0435\u0437 \u043E\u043F\u0440\u0435\u0434\u0435\u043B\u043D\u0438\u044F \u043E\u0431\u043B\u0430\u0441\u0442\u0438 \u0437\u0430\u0433\u043B\u043E\u043B\u0432\u043A\u0430? \u0411\u0435\u0437 \u044D\u0442\u043E\u0433\u043E \u0431\u0443\u0434\u0435\u0442 \u0437\u0430\u0442\u0440\u0443\u0434\u043D\u0435\u043D\u043E \u0432\u043E\u0441\u043F\u0440\u0438\u044F\u0442\u0438\u0435 \u0442\u0430\u0431\u043B\u0438\u0446\u044B \u043D\u0435\u043A\u043E\u0442\u043E\u0440\u044B\u043C \u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u0435\u043B\u044F\u043C.", +caption:"\u0417\u0430\u0433\u043E\u043B\u043E\u0432\u043E\u043A", +frame:"\u041A\u0430\u0434\u0440", +frame_none:"none", +frame_groups:"groups", +frame_rows:"rows", +frame_cols:"cols", +frame_all:"all", +rules:"\u041F\u0440\u0430\u0432\u0438\u043B\u0430", +rules_void:"void", +rules_above:"above", +rules_below:"below", +rules_hsides:"hsides", +rules_lhs:"lhs", +rules_rhs:"rhs", +rules_vsides:"vsides", +rules_box:"box", +rules_border:"border" }); \ No newline at end of file diff --git a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/table/langs/sv_dlg.js b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/table/langs/sv_dlg.js old mode 100644 new mode 100755 index bcf81c7155..c08c6cc39e --- a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/table/langs/sv_dlg.js +++ b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/table/langs/sv_dlg.js @@ -1,73 +1,73 @@ -tinyMCE.addI18n('sv.table_dlg',{ -general_tab:"Generellt", -advanced_tab:"Avancerat", -general_props:"Generella inst\u00E4llningar", -advanced_props:"Avancerade inst\u00E4llningar", -rowtype:"Radtyp", -title:"Infoga/redigera ny tabell", -width:"Bredd", -height:"H\u00F6jd", -cols:"Kolumner", -rows:"Rader", -cellspacing:"Cellspacing", -cellpadding:"Cellpadding", -border:"Ram", -align:"Justering", -align_default:"Ingen", -align_left:"V\u00E4nster", -align_right:"H\u00F6ger", -align_middle:"Mitten", -row_title:"Tabellradsinst\u00E4llningar", -cell_title:"Tabellcellsinst\u00E4llningar", -cell_type:"Celltyp", -valign:"Vertikal justering", -align_top:"Toppen", -align_bottom:"Botten", -bordercolor:"Ramf\u00E4rg", -bgcolor:"Bakgrundsf\u00E4rg", -merge_cells_title:"Sammanfoga celler", -id:"Id", -style:"Stil", -langdir:"Skriftriktning", -langcode:"Spr\u00E5kkod", -ltr:"V\u00E4nster till h\u00F6ger", -rtl:"H\u00F6ger till v\u00E4nster", -bgimage:"Bakgrundsbild", -summary:"Sammanfattning", -td:"Data", -th:"Huvud", -cell_cell:"Uppdatera nuvarande cell", -cell_row:"Uppdatera alla celler i raden", -cell_all:"Uppdatera alla celler i tabellen", -row_row:"Uppdatera nuvarande rad", -row_odd:"Uppdatera udda rader i tabellen", -row_even:"Uppdatera j\u00E4mna rader i tabellen", -row_all:"Uppdatera alla rader i tabellen", -thead:"tabellhuvud", -tbody:"tabellkropp", -tfoot:"tabellfot", -scope:"Omfattning", -rowgroup:"Radgrupp", -colgroup:"Kolumngrupp", -col_limit:"Du kan inte ange fler \u00E4n {$cols} kolumner.", -row_limit:"Du kan inte ange fler \u00E4n {$rows} rader.", -cell_limit:"Du kan inte skapa en tabell med fler \u00E4n {$cells} celler.", -missing_scope:"\u00D6\u0084r du s\u00E4ker p\u00E5 att du vill forts\u00E4tta utan att ange en omfattning, denna underl\u00E4ttar f\u00F6r icke-grafiska webbl\u00E4sare.", -caption:"\u00D6verskrift", -frame:"Ram", -frame_none:"none", -frame_groups:"groups", -frame_rows:"rows", -frame_cols:"cols", -frame_all:"all", -rules:"Regler", -rules_void:"void", -rules_above:"above", -rules_below:"below", -rules_hsides:"hsides", -rules_lhs:"lhs", -rules_rhs:"rhs", -rules_vsides:"vsides", -rules_box:"box", -rules_border:"border" +tinyMCE.addI18n('sv.table_dlg',{ +general_tab:"Generellt", +advanced_tab:"Avancerat", +general_props:"Generella inst\u00E4llningar", +advanced_props:"Avancerade inst\u00E4llningar", +rowtype:"Radtyp", +title:"Infoga/redigera ny tabell", +width:"Bredd", +height:"H\u00F6jd", +cols:"Kolumner", +rows:"Rader", +cellspacing:"Cellspacing", +cellpadding:"Cellpadding", +border:"Ram", +align:"Justering", +align_default:"Ingen", +align_left:"V\u00E4nster", +align_right:"H\u00F6ger", +align_middle:"Mitten", +row_title:"Tabellradsinst\u00E4llningar", +cell_title:"Tabellcellsinst\u00E4llningar", +cell_type:"Celltyp", +valign:"Vertikal justering", +align_top:"Toppen", +align_bottom:"Botten", +bordercolor:"Ramf\u00E4rg", +bgcolor:"Bakgrundsf\u00E4rg", +merge_cells_title:"Sammanfoga celler", +id:"Id", +style:"Stil", +langdir:"Skriftriktning", +langcode:"Spr\u00E5kkod", +ltr:"V\u00E4nster till h\u00F6ger", +rtl:"H\u00F6ger till v\u00E4nster", +bgimage:"Bakgrundsbild", +summary:"Sammanfattning", +td:"Data", +th:"Huvud", +cell_cell:"Uppdatera nuvarande cell", +cell_row:"Uppdatera alla celler i raden", +cell_all:"Uppdatera alla celler i tabellen", +row_row:"Uppdatera nuvarande rad", +row_odd:"Uppdatera udda rader i tabellen", +row_even:"Uppdatera j\u00E4mna rader i tabellen", +row_all:"Uppdatera alla rader i tabellen", +thead:"tabellhuvud", +tbody:"tabellkropp", +tfoot:"tabellfot", +scope:"Omfattning", +rowgroup:"Radgrupp", +colgroup:"Kolumngrupp", +col_limit:"Du kan inte ange fler \u00E4n {$cols} kolumner.", +row_limit:"Du kan inte ange fler \u00E4n {$rows} rader.", +cell_limit:"Du kan inte skapa en tabell med fler \u00E4n {$cells} celler.", +missing_scope:"\u00D6\u0084r du s\u00E4ker p\u00E5 att du vill forts\u00E4tta utan att ange en omfattning, denna underl\u00E4ttar f\u00F6r icke-grafiska webbl\u00E4sare.", +caption:"\u00D6verskrift", +frame:"Ram", +frame_none:"none", +frame_groups:"groups", +frame_rows:"rows", +frame_cols:"cols", +frame_all:"all", +rules:"Regler", +rules_void:"void", +rules_above:"above", +rules_below:"below", +rules_hsides:"hsides", +rules_lhs:"lhs", +rules_rhs:"rhs", +rules_vsides:"vsides", +rules_box:"box", +rules_border:"border" }); \ No newline at end of file diff --git a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/table/langs/zh_dlg.js b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/table/langs/zh_dlg.js old mode 100644 new mode 100755 index 8998ff5b43..d40ae1589f --- a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/table/langs/zh_dlg.js +++ b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/table/langs/zh_dlg.js @@ -1,74 +1,74 @@ -tinyMCE.addI18n('zh.table_dlg',{ -general_tab:"\u4E00\u822C", -advanced_tab:"\u9AD8\u7D1A", -general_props:"\u4E00\u822C\u5C6C\u6027", -advanced_props:"\u9AD8\u7D1A\u5C6C\u6027", -rowtype:"\u884C\u6240\u5728\u7684\u8868\u683C\u4F4D\u7F6E", -title:"\u63D2\u5165/\u7DE8\u8F2F\u8868\u683C", -width:"\u5BEC\u5EA6", -height:"\u9AD8\u5EA6", -cols:"\u6B04\u6578", -rows:"\u884C\u6578", -cellspacing:"\u5132\u5B58\u683C\u9593\u8DDD", -cellpadding:"\u5132\u5B58\u683C\u908A\u8DDD", -border:"\u908A\u6846", -align:"\u5C0D\u9F4A\u65B9\u5F0F", -align_default:"\u9ED8\u8A8D", -align_left:"\u9760\u5DE6\u5C0D\u9F4A", -align_right:"\u9760\u53F3\u5C0D\u9F4A", -align_middle:"\u7F6E\u4E2D\u5C0D\u9F4A", -row_title:"\u884C\u5C6C\u6027", -cell_title:"\u5132\u5B58\u683C\u6A19\u984C", -cell_type:"\u5132\u5B58\u683C\u985E\u578B", -valign:"\u5782\u76F4\u5C0D\u9F4A", -align_top:"\u9760\u4E0A", -align_bottom:"\u9760\u4E0B", -bordercolor:"\u908A\u6846\u984F\u8272", -bgcolor:"\u80CC\u666F\u984F\u8272", -merge_cells_title:"\u5408\u4F75\u5132\u5B58\u683C", -id:"ID", -style:"\u6A23\u5F0F", -langdir:"\u8A9E\u8A00\u66F8\u5BEB\u65B9\u5411", -langcode:"\u8A9E\u8A00\u7DE8\u78BC", -mime:"MIME \u985E\u578B", -ltr:"\u5F9E\u5DE6\u5230\u53F3", -rtl:"\u5F9E\u53F3\u5230\u5DE6", -bgimage:"\u80CC\u666F\u5716\u7247", -summary:"\u6458\u8981", -td:"\u5167\u5BB9", -th:"\u8868\u982D", -cell_cell:"\u66F4\u65B0\u76EE\u524D\u5132\u5B58\u683C", -cell_row:"\u66F4\u65B0\u76EE\u524D\u884C\u7684\u5132\u5B58\u683C", -cell_all:"\u66F4\u65B0\u6240\u6709\u5132\u5B58\u683C", -row_row:"\u66F4\u65B0\u76EE\u524D\u884C", -row_odd:"\u66F4\u65B0\u8868\u683C\u7684\u5947\u6578\u884C", -row_even:"\u66F4\u65B0\u8868\u683C\u7684\u5076\u6578\u884C", -row_all:"\u66F4\u65B0\u8868\u683C\u7684\u6240\u6709\u884C", -thead:"\u8868\u982D", -tbody:"\u8868\u683C\u4E3B\u9AD4", -tfoot:"\u8868\u5C3E", -scope:"\u7BC4\u570D", -rowgroup:"\u884C\u7FA4\u7D44", -colgroup:"\u6B04\u7FA4\u7D44", -col_limit:"\u5DF2\u8D85\u904E\u6700\u5927\u6B04\u6578\u9650\u5236 {$cols} \u6B04\u3002", -row_limit:"\u5DF2\u8D85\u904E\u6700\u5927\u884C\u6578\u9650\u5236 {$rows} \u5217\u3002", -cell_limit:"\u5DF2\u8D85\u904E\u6700\u5927\u5132\u5B58\u683C\u9650\u5236{$cells} \u5132\u5B58\u683C\u3002", -missing_scope:"\u4F60\u78BA\u5B9A\u4E0D\u6307\u5B9A\u8868\u683C\u982D\u90E8\u5132\u5B58\u683C\u4E00\u500B\u7BC4\u570D\u55CE\uFF1F\u6C92\u6709\u5B83\uFF0C\u6216\u8A31\u5C0D\u90A3\u4E9B\u6709\u969C\u7919\u7684\u7528\u6236\u7406\u89E3\u8868\u683C\u5C55\u793A\u7684\u5167\u5BB9\u6216\u6578\u64DA\u66F4\u52A0\u7684\u56F0\u96E3\u3002", -caption:"\u8868\u683C\u6A19\u984C", -frame:"\u6846\u67B6", -frame_none:"\u7121", -frame_groups:"\u7FA4\u7D44", -frame_rows:"\u884C", -frame_cols:"\u6B04", -frame_all:"\u5168\u90E8", -rules:"\u898F\u5247", -rules_void:"\u7A7A", -rules_above:"\u4E0A", -rules_below:"\u4E0B", -rules_hsides:"\u6C34\u5E73", -rules_lhs:"\u5DE6\u908A", -rules_rhs:"\u53F3\u908A", -rules_vsides:"\u5782\u76F4", -rules_box:"\u76D2\u578B", -rules_border:"\u5916\u6846" +tinyMCE.addI18n('zh.table_dlg',{ +general_tab:"\u4E00\u822C", +advanced_tab:"\u9AD8\u7D1A", +general_props:"\u4E00\u822C\u5C6C\u6027", +advanced_props:"\u9AD8\u7D1A\u5C6C\u6027", +rowtype:"\u884C\u6240\u5728\u7684\u8868\u683C\u4F4D\u7F6E", +title:"\u63D2\u5165/\u7DE8\u8F2F\u8868\u683C", +width:"\u5BEC\u5EA6", +height:"\u9AD8\u5EA6", +cols:"\u6B04\u6578", +rows:"\u884C\u6578", +cellspacing:"\u5132\u5B58\u683C\u9593\u8DDD", +cellpadding:"\u5132\u5B58\u683C\u908A\u8DDD", +border:"\u908A\u6846", +align:"\u5C0D\u9F4A\u65B9\u5F0F", +align_default:"\u9ED8\u8A8D", +align_left:"\u9760\u5DE6\u5C0D\u9F4A", +align_right:"\u9760\u53F3\u5C0D\u9F4A", +align_middle:"\u7F6E\u4E2D\u5C0D\u9F4A", +row_title:"\u884C\u5C6C\u6027", +cell_title:"\u5132\u5B58\u683C\u6A19\u984C", +cell_type:"\u5132\u5B58\u683C\u985E\u578B", +valign:"\u5782\u76F4\u5C0D\u9F4A", +align_top:"\u9760\u4E0A", +align_bottom:"\u9760\u4E0B", +bordercolor:"\u908A\u6846\u984F\u8272", +bgcolor:"\u80CC\u666F\u984F\u8272", +merge_cells_title:"\u5408\u4F75\u5132\u5B58\u683C", +id:"ID", +style:"\u6A23\u5F0F", +langdir:"\u8A9E\u8A00\u66F8\u5BEB\u65B9\u5411", +langcode:"\u8A9E\u8A00\u7DE8\u78BC", +mime:"MIME \u985E\u578B", +ltr:"\u5F9E\u5DE6\u5230\u53F3", +rtl:"\u5F9E\u53F3\u5230\u5DE6", +bgimage:"\u80CC\u666F\u5716\u7247", +summary:"\u6458\u8981", +td:"\u5167\u5BB9", +th:"\u8868\u982D", +cell_cell:"\u66F4\u65B0\u76EE\u524D\u5132\u5B58\u683C", +cell_row:"\u66F4\u65B0\u76EE\u524D\u884C\u7684\u5132\u5B58\u683C", +cell_all:"\u66F4\u65B0\u6240\u6709\u5132\u5B58\u683C", +row_row:"\u66F4\u65B0\u76EE\u524D\u884C", +row_odd:"\u66F4\u65B0\u8868\u683C\u7684\u5947\u6578\u884C", +row_even:"\u66F4\u65B0\u8868\u683C\u7684\u5076\u6578\u884C", +row_all:"\u66F4\u65B0\u8868\u683C\u7684\u6240\u6709\u884C", +thead:"\u8868\u982D", +tbody:"\u8868\u683C\u4E3B\u9AD4", +tfoot:"\u8868\u5C3E", +scope:"\u7BC4\u570D", +rowgroup:"\u884C\u7FA4\u7D44", +colgroup:"\u6B04\u7FA4\u7D44", +col_limit:"\u5DF2\u8D85\u904E\u6700\u5927\u6B04\u6578\u9650\u5236 {$cols} \u6B04\u3002", +row_limit:"\u5DF2\u8D85\u904E\u6700\u5927\u884C\u6578\u9650\u5236 {$rows} \u5217\u3002", +cell_limit:"\u5DF2\u8D85\u904E\u6700\u5927\u5132\u5B58\u683C\u9650\u5236{$cells} \u5132\u5B58\u683C\u3002", +missing_scope:"\u4F60\u78BA\u5B9A\u4E0D\u6307\u5B9A\u8868\u683C\u982D\u90E8\u5132\u5B58\u683C\u4E00\u500B\u7BC4\u570D\u55CE\uFF1F\u6C92\u6709\u5B83\uFF0C\u6216\u8A31\u5C0D\u90A3\u4E9B\u6709\u969C\u7919\u7684\u7528\u6236\u7406\u89E3\u8868\u683C\u5C55\u793A\u7684\u5167\u5BB9\u6216\u6578\u64DA\u66F4\u52A0\u7684\u56F0\u96E3\u3002", +caption:"\u8868\u683C\u6A19\u984C", +frame:"\u6846\u67B6", +frame_none:"\u7121", +frame_groups:"\u7FA4\u7D44", +frame_rows:"\u884C", +frame_cols:"\u6B04", +frame_all:"\u5168\u90E8", +rules:"\u898F\u5247", +rules_void:"\u7A7A", +rules_above:"\u4E0A", +rules_below:"\u4E0B", +rules_hsides:"\u6C34\u5E73", +rules_lhs:"\u5DE6\u908A", +rules_rhs:"\u53F3\u908A", +rules_vsides:"\u5782\u76F4", +rules_box:"\u76D2\u578B", +rules_border:"\u5916\u6846" }); \ No newline at end of file diff --git a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/table/merge_cells.htm b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/table/merge_cells.htm old mode 100644 new mode 100755 index 9736ed8c03..b1a8d9b1b2 --- a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/table/merge_cells.htm +++ b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/table/merge_cells.htm @@ -1,32 +1,32 @@ - - - - {#table_dlg.merge_cells_title} - - - - - - -
    -
    - {#table_dlg.merge_cells_title} - - - - - - - - - -
    {#table_dlg.cols}:
    {#table_dlg.rows}:
    -
    - -
    - - -
    -
    - - + + + + {#table_dlg.merge_cells_title} + + + + + + +
    +
    + {#table_dlg.merge_cells_title} + + + + + + + + + +
    {#table_dlg.cols}:
    {#table_dlg.rows}:
    +
    + +
    + + +
    +
    + + diff --git a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/table/row.htm b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/table/row.htm old mode 100644 new mode 100755 index 092e6c8270..33fc9cc6c4 --- a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/table/row.htm +++ b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/table/row.htm @@ -1,155 +1,155 @@ - - - - {#table_dlg.row_title} - - - - - - - - -
    - - -
    -
    -
    - {#table_dlg.general_props} - - - - - - - - - - - - - - - - - - - - - - - - - - -
    - -
    - -
    - -
    - -
    -
    -
    - -
    -
    - {#table_dlg.advanced_props} - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    - -
    - -
    - - - - - -
     
    -
    - - - - - -
     
    -
    -
    -
    -
    - -
    -
    - -
    - - - -
    -
    - - + + + + {#table_dlg.row_title} + + + + + + + + +
    + + +
    +
    +
    + {#table_dlg.general_props} + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + +
    + +
    + +
    + +
    +
    +
    + +
    +
    + {#table_dlg.advanced_props} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + +
    + +
    + + + + + +
     
    +
    + + + + + +
     
    +
    +
    +
    +
    + +
    +
    + +
    + + + +
    +
    + + diff --git a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/table/table.htm b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/table/table.htm old mode 100644 new mode 100755 index f269039228..122b04ae24 --- a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/table/table.htm +++ b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/table/table.htm @@ -1,187 +1,187 @@ - - - - {#table_dlg.title} - - - - - - - - - -
    - - -
    -
    -
    - {#table_dlg.general_props} - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    -
    -
    -
    - -
    -
    - {#table_dlg.advanced_props} - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    - -
    - - - - - -
     
    -
    - -
    - -
    - -
    - - - - - -
     
    -
    - - - - - -
     
    -
    -
    -
    -
    - -
    - - -
    -
    - - + + + + {#table_dlg.title} + + + + + + + + + +
    + + +
    +
    +
    + {#table_dlg.general_props} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    +
    +
    +
    + +
    +
    + {#table_dlg.advanced_props} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + +
    + + + + + +
     
    +
    + +
    + +
    + +
    + + + + + +
     
    +
    + + + + + +
     
    +
    +
    +
    +
    + +
    + + +
    +
    + + diff --git a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/template/blank.htm b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/template/blank.htm old mode 100644 new mode 100755 index ecde53fae7..538a3b12c9 --- a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/template/blank.htm +++ b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/template/blank.htm @@ -1,12 +1,12 @@ - - - blank_page - - - - - - - + + + blank_page + + + + + + + diff --git a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/template/css/template.css b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/template/css/template.css old mode 100644 new mode 100755 index 2d23a4938c..0a03f2e5c0 --- a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/template/css/template.css +++ b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/template/css/template.css @@ -1,23 +1,23 @@ -#frmbody { - padding: 10px; - background-color: #FFF; - border: 1px solid #CCC; -} - -.frmRow { - margin-bottom: 10px; -} - -#templatesrc { - border: none; - width: 320px; - height: 240px; -} - -.title { - padding-bottom: 5px; -} - -.mceActionPanel { - padding-top: 5px; -} +#frmbody { + padding: 10px; + background-color: #FFF; + border: 1px solid #CCC; +} + +.frmRow { + margin-bottom: 10px; +} + +#templatesrc { + border: none; + width: 320px; + height: 240px; +} + +.title { + padding-bottom: 5px; +} + +.mceActionPanel { + padding-top: 5px; +} diff --git a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/template/js/template.js b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/template/js/template.js old mode 100644 new mode 100755 index 24045d7311..7eab2ebbd0 --- a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/template/js/template.js +++ b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/template/js/template.js @@ -1,106 +1,106 @@ -tinyMCEPopup.requireLangPack(); - -var TemplateDialog = { - preInit : function() { - var url = tinyMCEPopup.getParam("template_external_list_url"); - - if (url != null) - document.write(''); - }, - - init : function() { - var ed = tinyMCEPopup.editor, tsrc, sel, x, u; - - tsrc = ed.getParam("template_templates", false); - sel = document.getElementById('tpath'); - - // Setup external template list - if (!tsrc && typeof(tinyMCETemplateList) != 'undefined') { - for (x=0, tsrc = []; x'); - }); - }, - - selectTemplate : function(u, ti) { - var d = window.frames['templatesrc'].document, x, tsrc = this.tsrc; - - if (!u) - return; - - d.body.innerHTML = this.templateHTML = this.getFileContents(u); - - for (x=0; x'); + }, + + init : function() { + var ed = tinyMCEPopup.editor, tsrc, sel, x, u; + + tsrc = ed.getParam("template_templates", false); + sel = document.getElementById('tpath'); + + // Setup external template list + if (!tsrc && typeof(tinyMCETemplateList) != 'undefined') { + for (x=0, tsrc = []; x'); + }); + }, + + selectTemplate : function(u, ti) { + var d = window.frames['templatesrc'].document, x, tsrc = this.tsrc; + + if (!u) + return; + + d.body.innerHTML = this.templateHTML = this.getFileContents(u); + + for (x=0; x - - {#template_dlg.title} - - - - - -
    -
    -
    {#template_dlg.desc}
    -
    - -
    -
    -
    -
    - {#template_dlg.preview} - -
    -
    - -
    - - -
    -
    - - + + + {#template_dlg.title} + + + + + +
    +
    +
    {#template_dlg.desc}
    +
    + +
    +
    +
    +
    + {#template_dlg.preview} + +
    +
    + +
    + + +
    +
    + + diff --git a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/xhtmlxtras/abbr.htm b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/xhtmlxtras/abbr.htm old mode 100644 new mode 100755 index 3aeac0deba..0282ffffe2 --- a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/xhtmlxtras/abbr.htm +++ b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/xhtmlxtras/abbr.htm @@ -1,141 +1,141 @@ - - - - {#xhtmlxtras_dlg.title_abbr_element} - - - - - - - - - -
    - - -
    -
    -
    - {#xhtmlxtras_dlg.fieldset_attrib_tab} - - - - - - - - - - - - - - - - - - - - - - - - - -
    :
    :
    : - -
    :
    : - -
    : - -
    -
    -
    -
    -
    - {#xhtmlxtras_dlg.fieldset_events_tab} - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    :
    :
    :
    :
    :
    :
    :
    :
    :
    :
    :
    :
    -
    -
    -
    -
    - - - -
    -
    - - + + + + {#xhtmlxtras_dlg.title_abbr_element} + + + + + + + + + +
    + + +
    +
    +
    + {#xhtmlxtras_dlg.fieldset_attrib_tab} + + + + + + + + + + + + + + + + + + + + + + + + + +
    :
    :
    : + +
    :
    : + +
    : + +
    +
    +
    +
    +
    + {#xhtmlxtras_dlg.fieldset_events_tab} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    :
    :
    :
    :
    :
    :
    :
    :
    :
    :
    :
    :
    +
    +
    +
    +
    + + + +
    +
    + + diff --git a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/xhtmlxtras/acronym.htm b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/xhtmlxtras/acronym.htm old mode 100644 new mode 100755 index 31ee7b70f3..e0ed031413 --- a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/xhtmlxtras/acronym.htm +++ b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/xhtmlxtras/acronym.htm @@ -1,141 +1,141 @@ - - - - {#xhtmlxtras_dlg.title_acronym_element} - - - - - - - - - -
    - - -
    -
    -
    - {#xhtmlxtras_dlg.fieldset_attrib_tab} - - - - - - - - - - - - - - - - - - - - - - - - - -
    :
    :
    : - -
    :
    : - -
    : - -
    -
    -
    -
    -
    - {#xhtmlxtras_dlg.fieldset_events_tab} - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    :
    :
    :
    :
    :
    :
    :
    :
    :
    :
    :
    :
    -
    -
    -
    -
    - - - -
    -
    - - + + + + {#xhtmlxtras_dlg.title_acronym_element} + + + + + + + + + +
    + + +
    +
    +
    + {#xhtmlxtras_dlg.fieldset_attrib_tab} + + + + + + + + + + + + + + + + + + + + + + + + + +
    :
    :
    : + +
    :
    : + +
    : + +
    +
    +
    +
    +
    + {#xhtmlxtras_dlg.fieldset_events_tab} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    :
    :
    :
    :
    :
    :
    :
    :
    :
    :
    :
    :
    +
    +
    +
    +
    + + + +
    +
    + + diff --git a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/xhtmlxtras/attributes.htm b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/xhtmlxtras/attributes.htm old mode 100644 new mode 100755 index 17054da3ed..fc5ba97ee1 --- a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/xhtmlxtras/attributes.htm +++ b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/xhtmlxtras/attributes.htm @@ -1,148 +1,148 @@ - - - - {#xhtmlxtras_dlg.attribs_title} - - - - - - - - -
    - - -
    -
    -
    - {#xhtmlxtras_dlg.attribute_attrib_tab} - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    :
    :
    - -
    :
    : - -
    : - -
    -
    -
    -
    -
    - {#xhtmlxtras_dlg.attribute_events_tab} - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    :
    :
    :
    :
    :
    :
    :
    :
    :
    :
    :
    :
    -
    -
    -
    -
    - - -
    -
    - - + + + + {#xhtmlxtras_dlg.attribs_title} + + + + + + + + +
    + + +
    +
    +
    + {#xhtmlxtras_dlg.attribute_attrib_tab} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    :
    :
    + +
    :
    : + +
    : + +
    +
    +
    +
    +
    + {#xhtmlxtras_dlg.attribute_events_tab} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    :
    :
    :
    :
    :
    :
    :
    :
    :
    :
    :
    :
    +
    +
    +
    +
    + + +
    +
    + + diff --git a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/xhtmlxtras/cite.htm b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/xhtmlxtras/cite.htm old mode 100644 new mode 100755 index d0a3e3a8e5..b23becc5f4 --- a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/xhtmlxtras/cite.htm +++ b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/xhtmlxtras/cite.htm @@ -1,141 +1,141 @@ - - - - {#xhtmlxtras_dlg.title_cite_element} - - - - - - - - - -
    - - -
    -
    -
    - {#xhtmlxtras_dlg.fieldset_attrib_tab} - - - - - - - - - - - - - - - - - - - - - - - - - -
    :
    :
    : - -
    :
    : - -
    : - -
    -
    -
    -
    -
    - {#xhtmlxtras_dlg.fieldset_events_tab} - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    :
    :
    :
    :
    :
    :
    :
    :
    :
    :
    :
    :
    -
    -
    -
    -
    - - - -
    -
    - - + + + + {#xhtmlxtras_dlg.title_cite_element} + + + + + + + + + +
    + + +
    +
    +
    + {#xhtmlxtras_dlg.fieldset_attrib_tab} + + + + + + + + + + + + + + + + + + + + + + + + + +
    :
    :
    : + +
    :
    : + +
    : + +
    +
    +
    +
    +
    + {#xhtmlxtras_dlg.fieldset_events_tab} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    :
    :
    :
    :
    :
    :
    :
    :
    :
    :
    :
    :
    +
    +
    +
    +
    + + + +
    +
    + + diff --git a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/xhtmlxtras/css/attributes.css b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/xhtmlxtras/css/attributes.css old mode 100644 new mode 100755 index 9a6a235c35..85b1b376de --- a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/xhtmlxtras/css/attributes.css +++ b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/xhtmlxtras/css/attributes.css @@ -1,11 +1,11 @@ -.panel_wrapper div.current { - height: 290px; -} - -#id, #style, #title, #dir, #hreflang, #lang, #classlist, #tabindex, #accesskey { - width: 200px; -} - -#events_panel input { - width: 200px; -} +.panel_wrapper div.current { + height: 290px; +} + +#id, #style, #title, #dir, #hreflang, #lang, #classlist, #tabindex, #accesskey { + width: 200px; +} + +#events_panel input { + width: 200px; +} diff --git a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/xhtmlxtras/css/popup.css b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/xhtmlxtras/css/popup.css old mode 100644 new mode 100755 index e67114dbaa..034b985272 --- a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/xhtmlxtras/css/popup.css +++ b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/xhtmlxtras/css/popup.css @@ -1,9 +1,9 @@ -input.field, select.field {width:200px;} -input.picker {width:179px; margin-left: 5px;} -input.disabled {border-color:#F2F2F2;} -img.picker {vertical-align:text-bottom; cursor:pointer;} -h1 {padding: 0 0 5px 0;} -.panel_wrapper div.current {height:160px;} -#xhtmlxtrasdel .panel_wrapper div.current, #xhtmlxtrasins .panel_wrapper div.current {height: 230px;} -a.browse span {display:block; width:20px; height:20px; background:url('../../../themes/advanced/img/icons.gif') -140px -20px;} -#datetime {width:180px;} +input.field, select.field {width:200px;} +input.picker {width:179px; margin-left: 5px;} +input.disabled {border-color:#F2F2F2;} +img.picker {vertical-align:text-bottom; cursor:pointer;} +h1 {padding: 0 0 5px 0;} +.panel_wrapper div.current {height:160px;} +#xhtmlxtrasdel .panel_wrapper div.current, #xhtmlxtrasins .panel_wrapper div.current {height: 230px;} +a.browse span {display:block; width:20px; height:20px; background:url('../../../themes/advanced/img/icons.gif') -140px -20px;} +#datetime {width:180px;} diff --git a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/xhtmlxtras/del.htm b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/xhtmlxtras/del.htm old mode 100644 new mode 100755 index 8b07fa8429..bc809449d3 --- a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/xhtmlxtras/del.htm +++ b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/xhtmlxtras/del.htm @@ -1,161 +1,161 @@ - - - - {#xhtmlxtras_dlg.title_del_element} - - - - - - - - - -
    - - -
    -
    -
    - {#xhtmlxtras_dlg.fieldset_general_tab} - - - - - - - - - -
    : - - - - - -
    -
    :
    -
    -
    - {#xhtmlxtras_dlg.fieldset_attrib_tab} - - - - - - - - - - - - - - - - - - - - - - - - - -
    :
    :
    : - -
    :
    : - -
    : - -
    -
    -
    -
    -
    - {#xhtmlxtras_dlg.fieldset_events_tab} - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    :
    :
    :
    :
    :
    :
    :
    :
    :
    :
    :
    :
    -
    -
    -
    -
    - - - -
    -
    - - + + + + {#xhtmlxtras_dlg.title_del_element} + + + + + + + + + +
    + + +
    +
    +
    + {#xhtmlxtras_dlg.fieldset_general_tab} + + + + + + + + + +
    : + + + + + +
    +
    :
    +
    +
    + {#xhtmlxtras_dlg.fieldset_attrib_tab} + + + + + + + + + + + + + + + + + + + + + + + + + +
    :
    :
    : + +
    :
    : + +
    : + +
    +
    +
    +
    +
    + {#xhtmlxtras_dlg.fieldset_events_tab} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    :
    :
    :
    :
    :
    :
    :
    :
    :
    :
    :
    :
    +
    +
    +
    +
    + + + +
    +
    + + diff --git a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/xhtmlxtras/ins.htm b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/xhtmlxtras/ins.htm old mode 100644 new mode 100755 index 6c5470cfcc..9448d67f17 --- a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/xhtmlxtras/ins.htm +++ b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/xhtmlxtras/ins.htm @@ -1,161 +1,161 @@ - - - - {#xhtmlxtras_dlg.title_ins_element} - - - - - - - - - -
    - - -
    -
    -
    - {#xhtmlxtras_dlg.fieldset_general_tab} - - - - - - - - - -
    : - - - - - -
    -
    :
    -
    -
    - {#xhtmlxtras_dlg.fieldset_attrib_tab} - - - - - - - - - - - - - - - - - - - - - - - - - -
    :
    :
    : - -
    :
    : - -
    : - -
    -
    -
    -
    -
    - {#xhtmlxtras_dlg.fieldset_events_tab} - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    :
    :
    :
    :
    :
    :
    :
    :
    :
    :
    :
    :
    -
    -
    -
    -
    - - - -
    -
    - - + + + + {#xhtmlxtras_dlg.title_ins_element} + + + + + + + + + +
    + + +
    +
    +
    + {#xhtmlxtras_dlg.fieldset_general_tab} + + + + + + + + + +
    : + + + + + +
    +
    :
    +
    +
    + {#xhtmlxtras_dlg.fieldset_attrib_tab} + + + + + + + + + + + + + + + + + + + + + + + + + +
    :
    :
    : + +
    :
    : + +
    : + +
    +
    +
    +
    +
    + {#xhtmlxtras_dlg.fieldset_events_tab} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    :
    :
    :
    :
    :
    :
    :
    :
    :
    :
    :
    :
    +
    +
    +
    +
    + + + +
    +
    + + diff --git a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/xhtmlxtras/js/abbr.js b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/xhtmlxtras/js/abbr.js old mode 100644 new mode 100755 index 4b51a25721..1790e83d35 --- a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/xhtmlxtras/js/abbr.js +++ b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/xhtmlxtras/js/abbr.js @@ -1,28 +1,28 @@ -/** - * abbr.js - * - * Copyright 2009, Moxiecode Systems AB - * Released under LGPL License. - * - * License: http://tinymce.moxiecode.com/license - * Contributing: http://tinymce.moxiecode.com/contributing - */ - -function init() { - SXE.initElementDialog('abbr'); - if (SXE.currentAction == "update") { - SXE.showRemoveButton(); - } -} - -function insertAbbr() { - SXE.insertElement('abbr'); - tinyMCEPopup.close(); -} - -function removeAbbr() { - SXE.removeElement('abbr'); - tinyMCEPopup.close(); -} - -tinyMCEPopup.onInit.add(init); +/** + * abbr.js + * + * Copyright 2009, Moxiecode Systems AB + * Released under LGPL License. + * + * License: http://tinymce.moxiecode.com/license + * Contributing: http://tinymce.moxiecode.com/contributing + */ + +function init() { + SXE.initElementDialog('abbr'); + if (SXE.currentAction == "update") { + SXE.showRemoveButton(); + } +} + +function insertAbbr() { + SXE.insertElement('abbr'); + tinyMCEPopup.close(); +} + +function removeAbbr() { + SXE.removeElement('abbr'); + tinyMCEPopup.close(); +} + +tinyMCEPopup.onInit.add(init); diff --git a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/xhtmlxtras/js/acronym.js b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/xhtmlxtras/js/acronym.js old mode 100644 new mode 100755 index 6ec2f88716..93b8d259a8 --- a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/xhtmlxtras/js/acronym.js +++ b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/xhtmlxtras/js/acronym.js @@ -1,28 +1,28 @@ -/** - * acronym.js - * - * Copyright 2009, Moxiecode Systems AB - * Released under LGPL License. - * - * License: http://tinymce.moxiecode.com/license - * Contributing: http://tinymce.moxiecode.com/contributing - */ - -function init() { - SXE.initElementDialog('acronym'); - if (SXE.currentAction == "update") { - SXE.showRemoveButton(); - } -} - -function insertAcronym() { - SXE.insertElement('acronym'); - tinyMCEPopup.close(); -} - -function removeAcronym() { - SXE.removeElement('acronym'); - tinyMCEPopup.close(); -} - -tinyMCEPopup.onInit.add(init); +/** + * acronym.js + * + * Copyright 2009, Moxiecode Systems AB + * Released under LGPL License. + * + * License: http://tinymce.moxiecode.com/license + * Contributing: http://tinymce.moxiecode.com/contributing + */ + +function init() { + SXE.initElementDialog('acronym'); + if (SXE.currentAction == "update") { + SXE.showRemoveButton(); + } +} + +function insertAcronym() { + SXE.insertElement('acronym'); + tinyMCEPopup.close(); +} + +function removeAcronym() { + SXE.removeElement('acronym'); + tinyMCEPopup.close(); +} + +tinyMCEPopup.onInit.add(init); diff --git a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/xhtmlxtras/js/attributes.js b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/xhtmlxtras/js/attributes.js old mode 100644 new mode 100755 index d62a219e6b..c7e0e7fcbb --- a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/xhtmlxtras/js/attributes.js +++ b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/xhtmlxtras/js/attributes.js @@ -1,126 +1,126 @@ -/** - * attributes.js - * - * Copyright 2009, Moxiecode Systems AB - * Released under LGPL License. - * - * License: http://tinymce.moxiecode.com/license - * Contributing: http://tinymce.moxiecode.com/contributing - */ - -function init() { - tinyMCEPopup.resizeToInnerSize(); - var inst = tinyMCEPopup.editor; - var dom = inst.dom; - var elm = inst.selection.getNode(); - var f = document.forms[0]; - var onclick = dom.getAttrib(elm, 'onclick'); - - setFormValue('title', dom.getAttrib(elm, 'title')); - setFormValue('id', dom.getAttrib(elm, 'id')); - setFormValue('style', dom.getAttrib(elm, "style")); - setFormValue('dir', dom.getAttrib(elm, 'dir')); - setFormValue('lang', dom.getAttrib(elm, 'lang')); - setFormValue('tabindex', dom.getAttrib(elm, 'tabindex', typeof(elm.tabindex) != "undefined" ? elm.tabindex : "")); - setFormValue('accesskey', dom.getAttrib(elm, 'accesskey', typeof(elm.accesskey) != "undefined" ? elm.accesskey : "")); - setFormValue('onfocus', dom.getAttrib(elm, 'onfocus')); - setFormValue('onblur', dom.getAttrib(elm, 'onblur')); - setFormValue('onclick', onclick); - setFormValue('ondblclick', dom.getAttrib(elm, 'ondblclick')); - setFormValue('onmousedown', dom.getAttrib(elm, 'onmousedown')); - setFormValue('onmouseup', dom.getAttrib(elm, 'onmouseup')); - setFormValue('onmouseover', dom.getAttrib(elm, 'onmouseover')); - setFormValue('onmousemove', dom.getAttrib(elm, 'onmousemove')); - setFormValue('onmouseout', dom.getAttrib(elm, 'onmouseout')); - setFormValue('onkeypress', dom.getAttrib(elm, 'onkeypress')); - setFormValue('onkeydown', dom.getAttrib(elm, 'onkeydown')); - setFormValue('onkeyup', dom.getAttrib(elm, 'onkeyup')); - className = dom.getAttrib(elm, 'class'); - - addClassesToList('classlist', 'advlink_styles'); - selectByValue(f, 'classlist', className, true); - - TinyMCE_EditableSelects.init(); -} - -function setFormValue(name, value) { - if(value && document.forms[0].elements[name]){ - document.forms[0].elements[name].value = value; - } -} - -function insertAction() { - var inst = tinyMCEPopup.editor; - var elm = inst.selection.getNode(); - - tinyMCEPopup.execCommand("mceBeginUndoLevel"); - setAllAttribs(elm); - tinyMCEPopup.execCommand("mceEndUndoLevel"); - tinyMCEPopup.close(); -} - -function setAttrib(elm, attrib, value) { - var formObj = document.forms[0]; - var valueElm = formObj.elements[attrib.toLowerCase()]; - var inst = tinyMCEPopup.editor; - var dom = inst.dom; - - if (typeof(value) == "undefined" || value == null) { - value = ""; - - if (valueElm) - value = valueElm.value; - } - - if (value != "") { - dom.setAttrib(elm, attrib.toLowerCase(), value); - - if (attrib == "style") - attrib = "style.cssText"; - - if (attrib.substring(0, 2) == 'on') - value = 'return true;' + value; - - if (attrib == "class") - attrib = "className"; - - elm[attrib]=value; - } else - elm.removeAttribute(attrib); -} - -function setAllAttribs(elm) { - var f = document.forms[0]; - - setAttrib(elm, 'title'); - setAttrib(elm, 'id'); - setAttrib(elm, 'style'); - setAttrib(elm, 'class', getSelectValue(f, 'classlist')); - setAttrib(elm, 'dir'); - setAttrib(elm, 'lang'); - setAttrib(elm, 'tabindex'); - setAttrib(elm, 'accesskey'); - setAttrib(elm, 'onfocus'); - setAttrib(elm, 'onblur'); - setAttrib(elm, 'onclick'); - setAttrib(elm, 'ondblclick'); - setAttrib(elm, 'onmousedown'); - setAttrib(elm, 'onmouseup'); - setAttrib(elm, 'onmouseover'); - setAttrib(elm, 'onmousemove'); - setAttrib(elm, 'onmouseout'); - setAttrib(elm, 'onkeypress'); - setAttrib(elm, 'onkeydown'); - setAttrib(elm, 'onkeyup'); - - // Refresh in old MSIE -// if (tinyMCE.isMSIE5) -// elm.outerHTML = elm.outerHTML; -} - -function insertAttribute() { - tinyMCEPopup.close(); -} - -tinyMCEPopup.onInit.add(init); -tinyMCEPopup.requireLangPack(); +/** + * attributes.js + * + * Copyright 2009, Moxiecode Systems AB + * Released under LGPL License. + * + * License: http://tinymce.moxiecode.com/license + * Contributing: http://tinymce.moxiecode.com/contributing + */ + +function init() { + tinyMCEPopup.resizeToInnerSize(); + var inst = tinyMCEPopup.editor; + var dom = inst.dom; + var elm = inst.selection.getNode(); + var f = document.forms[0]; + var onclick = dom.getAttrib(elm, 'onclick'); + + setFormValue('title', dom.getAttrib(elm, 'title')); + setFormValue('id', dom.getAttrib(elm, 'id')); + setFormValue('style', dom.getAttrib(elm, "style")); + setFormValue('dir', dom.getAttrib(elm, 'dir')); + setFormValue('lang', dom.getAttrib(elm, 'lang')); + setFormValue('tabindex', dom.getAttrib(elm, 'tabindex', typeof(elm.tabindex) != "undefined" ? elm.tabindex : "")); + setFormValue('accesskey', dom.getAttrib(elm, 'accesskey', typeof(elm.accesskey) != "undefined" ? elm.accesskey : "")); + setFormValue('onfocus', dom.getAttrib(elm, 'onfocus')); + setFormValue('onblur', dom.getAttrib(elm, 'onblur')); + setFormValue('onclick', onclick); + setFormValue('ondblclick', dom.getAttrib(elm, 'ondblclick')); + setFormValue('onmousedown', dom.getAttrib(elm, 'onmousedown')); + setFormValue('onmouseup', dom.getAttrib(elm, 'onmouseup')); + setFormValue('onmouseover', dom.getAttrib(elm, 'onmouseover')); + setFormValue('onmousemove', dom.getAttrib(elm, 'onmousemove')); + setFormValue('onmouseout', dom.getAttrib(elm, 'onmouseout')); + setFormValue('onkeypress', dom.getAttrib(elm, 'onkeypress')); + setFormValue('onkeydown', dom.getAttrib(elm, 'onkeydown')); + setFormValue('onkeyup', dom.getAttrib(elm, 'onkeyup')); + className = dom.getAttrib(elm, 'class'); + + addClassesToList('classlist', 'advlink_styles'); + selectByValue(f, 'classlist', className, true); + + TinyMCE_EditableSelects.init(); +} + +function setFormValue(name, value) { + if(value && document.forms[0].elements[name]){ + document.forms[0].elements[name].value = value; + } +} + +function insertAction() { + var inst = tinyMCEPopup.editor; + var elm = inst.selection.getNode(); + + tinyMCEPopup.execCommand("mceBeginUndoLevel"); + setAllAttribs(elm); + tinyMCEPopup.execCommand("mceEndUndoLevel"); + tinyMCEPopup.close(); +} + +function setAttrib(elm, attrib, value) { + var formObj = document.forms[0]; + var valueElm = formObj.elements[attrib.toLowerCase()]; + var inst = tinyMCEPopup.editor; + var dom = inst.dom; + + if (typeof(value) == "undefined" || value == null) { + value = ""; + + if (valueElm) + value = valueElm.value; + } + + if (value != "") { + dom.setAttrib(elm, attrib.toLowerCase(), value); + + if (attrib == "style") + attrib = "style.cssText"; + + if (attrib.substring(0, 2) == 'on') + value = 'return true;' + value; + + if (attrib == "class") + attrib = "className"; + + elm[attrib]=value; + } else + elm.removeAttribute(attrib); +} + +function setAllAttribs(elm) { + var f = document.forms[0]; + + setAttrib(elm, 'title'); + setAttrib(elm, 'id'); + setAttrib(elm, 'style'); + setAttrib(elm, 'class', getSelectValue(f, 'classlist')); + setAttrib(elm, 'dir'); + setAttrib(elm, 'lang'); + setAttrib(elm, 'tabindex'); + setAttrib(elm, 'accesskey'); + setAttrib(elm, 'onfocus'); + setAttrib(elm, 'onblur'); + setAttrib(elm, 'onclick'); + setAttrib(elm, 'ondblclick'); + setAttrib(elm, 'onmousedown'); + setAttrib(elm, 'onmouseup'); + setAttrib(elm, 'onmouseover'); + setAttrib(elm, 'onmousemove'); + setAttrib(elm, 'onmouseout'); + setAttrib(elm, 'onkeypress'); + setAttrib(elm, 'onkeydown'); + setAttrib(elm, 'onkeyup'); + + // Refresh in old MSIE +// if (tinyMCE.isMSIE5) +// elm.outerHTML = elm.outerHTML; +} + +function insertAttribute() { + tinyMCEPopup.close(); +} + +tinyMCEPopup.onInit.add(init); +tinyMCEPopup.requireLangPack(); diff --git a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/xhtmlxtras/js/cite.js b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/xhtmlxtras/js/cite.js old mode 100644 new mode 100755 index 009b71546a..b73ef47355 --- a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/xhtmlxtras/js/cite.js +++ b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/xhtmlxtras/js/cite.js @@ -1,28 +1,28 @@ -/** - * cite.js - * - * Copyright 2009, Moxiecode Systems AB - * Released under LGPL License. - * - * License: http://tinymce.moxiecode.com/license - * Contributing: http://tinymce.moxiecode.com/contributing - */ - -function init() { - SXE.initElementDialog('cite'); - if (SXE.currentAction == "update") { - SXE.showRemoveButton(); - } -} - -function insertCite() { - SXE.insertElement('cite'); - tinyMCEPopup.close(); -} - -function removeCite() { - SXE.removeElement('cite'); - tinyMCEPopup.close(); -} - -tinyMCEPopup.onInit.add(init); +/** + * cite.js + * + * Copyright 2009, Moxiecode Systems AB + * Released under LGPL License. + * + * License: http://tinymce.moxiecode.com/license + * Contributing: http://tinymce.moxiecode.com/contributing + */ + +function init() { + SXE.initElementDialog('cite'); + if (SXE.currentAction == "update") { + SXE.showRemoveButton(); + } +} + +function insertCite() { + SXE.insertElement('cite'); + tinyMCEPopup.close(); +} + +function removeCite() { + SXE.removeElement('cite'); + tinyMCEPopup.close(); +} + +tinyMCEPopup.onInit.add(init); diff --git a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/xhtmlxtras/js/del.js b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/xhtmlxtras/js/del.js old mode 100644 new mode 100755 index 9e5d8c5717..d5dd8e4387 --- a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/xhtmlxtras/js/del.js +++ b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/xhtmlxtras/js/del.js @@ -1,63 +1,63 @@ -/** - * del.js - * - * Copyright 2009, Moxiecode Systems AB - * Released under LGPL License. - * - * License: http://tinymce.moxiecode.com/license - * Contributing: http://tinymce.moxiecode.com/contributing - */ - -function init() { - SXE.initElementDialog('del'); - if (SXE.currentAction == "update") { - setFormValue('datetime', tinyMCEPopup.editor.dom.getAttrib(SXE.updateElement, 'datetime')); - setFormValue('cite', tinyMCEPopup.editor.dom.getAttrib(SXE.updateElement, 'cite')); - SXE.showRemoveButton(); - } -} - -function setElementAttribs(elm) { - setAllCommonAttribs(elm); - setAttrib(elm, 'datetime'); - setAttrib(elm, 'cite'); -} - -function insertDel() { - var elm = tinyMCEPopup.editor.dom.getParent(SXE.focusElement, 'DEL'); - - tinyMCEPopup.execCommand('mceBeginUndoLevel'); - if (elm == null) { - var s = SXE.inst.selection.getContent(); - if(s.length > 0) { - insertInlineElement('del'); - var elementArray = tinymce.grep(SXE.inst.dom.select('del'), function(n) {return n.id == '#sxe_temp_del#';}); - for (var i=0; i 0) { + insertInlineElement('del'); + var elementArray = tinymce.grep(SXE.inst.dom.select('del'), function(n) {return n.id == '#sxe_temp_del#';}); + for (var i=0; i 0) { - tagName = element_name; - - insertInlineElement(element_name); - var elementArray = tinymce.grep(SXE.inst.dom.select(element_name)); - for (var i=0; i -1) ? true : false; -} - -SXE.removeClass = function(elm,cl) { - if(elm.className == null || elm.className == "" || !SXE.containsClass(elm,cl)) { - return true; - } - var classNames = elm.className.split(" "); - var newClassNames = ""; - for (var x = 0, cnl = classNames.length; x < cnl; x++) { - if (classNames[x] != cl) { - newClassNames += (classNames[x] + " "); - } - } - elm.className = newClassNames.substring(0,newClassNames.length-1); //removes extra space at the end -} - -SXE.addClass = function(elm,cl) { - if(!SXE.containsClass(elm,cl)) elm.className ? elm.className += " " + cl : elm.className = cl; - return true; -} - -function insertInlineElement(en) { - var ed = tinyMCEPopup.editor, dom = ed.dom; - - ed.getDoc().execCommand('FontName', false, 'mceinline'); - tinymce.each(dom.select('span,font'), function(n) { - if (n.style.fontFamily == 'mceinline' || n.face == 'mceinline') - dom.replace(dom.create(en, {_mce_new : 1}), n, 1); - }); -} +/** + * element_common.js + * + * Copyright 2009, Moxiecode Systems AB + * Released under LGPL License. + * + * License: http://tinymce.moxiecode.com/license + * Contributing: http://tinymce.moxiecode.com/contributing + */ + +tinyMCEPopup.requireLangPack(); + +function initCommonAttributes(elm) { + var formObj = document.forms[0], dom = tinyMCEPopup.editor.dom; + + // Setup form data for common element attributes + setFormValue('title', dom.getAttrib(elm, 'title')); + setFormValue('id', dom.getAttrib(elm, 'id')); + selectByValue(formObj, 'class', dom.getAttrib(elm, 'class'), true); + setFormValue('style', dom.getAttrib(elm, 'style')); + selectByValue(formObj, 'dir', dom.getAttrib(elm, 'dir')); + setFormValue('lang', dom.getAttrib(elm, 'lang')); + setFormValue('onfocus', dom.getAttrib(elm, 'onfocus')); + setFormValue('onblur', dom.getAttrib(elm, 'onblur')); + setFormValue('onclick', dom.getAttrib(elm, 'onclick')); + setFormValue('ondblclick', dom.getAttrib(elm, 'ondblclick')); + setFormValue('onmousedown', dom.getAttrib(elm, 'onmousedown')); + setFormValue('onmouseup', dom.getAttrib(elm, 'onmouseup')); + setFormValue('onmouseover', dom.getAttrib(elm, 'onmouseover')); + setFormValue('onmousemove', dom.getAttrib(elm, 'onmousemove')); + setFormValue('onmouseout', dom.getAttrib(elm, 'onmouseout')); + setFormValue('onkeypress', dom.getAttrib(elm, 'onkeypress')); + setFormValue('onkeydown', dom.getAttrib(elm, 'onkeydown')); + setFormValue('onkeyup', dom.getAttrib(elm, 'onkeyup')); +} + +function setFormValue(name, value) { + if(document.forms[0].elements[name]) document.forms[0].elements[name].value = value; +} + +function insertDateTime(id) { + document.getElementById(id).value = getDateTime(new Date(), "%Y-%m-%dT%H:%M:%S"); +} + +function getDateTime(d, fmt) { + fmt = fmt.replace("%D", "%m/%d/%y"); + fmt = fmt.replace("%r", "%I:%M:%S %p"); + fmt = fmt.replace("%Y", "" + d.getFullYear()); + fmt = fmt.replace("%y", "" + d.getYear()); + fmt = fmt.replace("%m", addZeros(d.getMonth()+1, 2)); + fmt = fmt.replace("%d", addZeros(d.getDate(), 2)); + fmt = fmt.replace("%H", "" + addZeros(d.getHours(), 2)); + fmt = fmt.replace("%M", "" + addZeros(d.getMinutes(), 2)); + fmt = fmt.replace("%S", "" + addZeros(d.getSeconds(), 2)); + fmt = fmt.replace("%I", "" + ((d.getHours() + 11) % 12 + 1)); + fmt = fmt.replace("%p", "" + (d.getHours() < 12 ? "AM" : "PM")); + fmt = fmt.replace("%%", "%"); + + return fmt; +} + +function addZeros(value, len) { + var i; + + value = "" + value; + + if (value.length < len) { + for (i=0; i<(len-value.length); i++) + value = "0" + value; + } + + return value; +} + +function selectByValue(form_obj, field_name, value, add_custom, ignore_case) { + if (!form_obj || !form_obj.elements[field_name]) + return; + + var sel = form_obj.elements[field_name]; + + var found = false; + for (var i=0; i 0) { + tagName = element_name; + + insertInlineElement(element_name); + var elementArray = tinymce.grep(SXE.inst.dom.select(element_name)); + for (var i=0; i -1) ? true : false; +} + +SXE.removeClass = function(elm,cl) { + if(elm.className == null || elm.className == "" || !SXE.containsClass(elm,cl)) { + return true; + } + var classNames = elm.className.split(" "); + var newClassNames = ""; + for (var x = 0, cnl = classNames.length; x < cnl; x++) { + if (classNames[x] != cl) { + newClassNames += (classNames[x] + " "); + } + } + elm.className = newClassNames.substring(0,newClassNames.length-1); //removes extra space at the end +} + +SXE.addClass = function(elm,cl) { + if(!SXE.containsClass(elm,cl)) elm.className ? elm.className += " " + cl : elm.className = cl; + return true; +} + +function insertInlineElement(en) { + var ed = tinyMCEPopup.editor, dom = ed.dom; + + ed.getDoc().execCommand('FontName', false, 'mceinline'); + tinymce.each(dom.select('span,font'), function(n) { + if (n.style.fontFamily == 'mceinline' || n.face == 'mceinline') + dom.replace(dom.create(en, {_mce_new : 1}), n, 1); + }); +} diff --git a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/xhtmlxtras/js/ins.js b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/xhtmlxtras/js/ins.js old mode 100644 new mode 100755 index 3774f0a184..8d29d53905 --- a/assets/plugins/tinymce/jscripts/tiny_mce/plugins/xhtmlxtras/js/ins.js +++ b/assets/plugins/tinymce/jscripts/tiny_mce/plugins/xhtmlxtras/js/ins.js @@ -1,62 +1,62 @@ -/** - * ins.js - * - * Copyright 2009, Moxiecode Systems AB - * Released under LGPL License. - * - * License: http://tinymce.moxiecode.com/license - * Contributing: http://tinymce.moxiecode.com/contributing - */ - -function init() { - SXE.initElementDialog('ins'); - if (SXE.currentAction == "update") { - setFormValue('datetime', tinyMCEPopup.editor.dom.getAttrib(SXE.updateElement, 'datetime')); - setFormValue('cite', tinyMCEPopup.editor.dom.getAttrib(SXE.updateElement, 'cite')); - SXE.showRemoveButton(); - } -} - -function setElementAttribs(elm) { - setAllCommonAttribs(elm); - setAttrib(elm, 'datetime'); - setAttrib(elm, 'cite'); -} - -function insertIns() { - var elm = tinyMCEPopup.editor.dom.getParent(SXE.focusElement, 'INS'); - tinyMCEPopup.execCommand('mceBeginUndoLevel'); - if (elm == null) { - var s = SXE.inst.selection.getContent(); - if(s.length > 0) { - insertInlineElement('INS'); - var elementArray = tinymce.grep(SXE.inst.dom.select('ins'), function(n) {return n.id == '#sxe_temp_ins#';}); - for (var i=0; i 0) { + insertInlineElement('INS'); + var elementArray = tinymce.grep(SXE.inst.dom.select('ins'), function(n) {return n.id == '#sxe_temp_ins#';}); + for (var i=0; i \ No newline at end of file diff --git a/assets/plugins/tinymce/lang/german.inc.php b/assets/plugins/tinymce/lang/german.inc.php old mode 100644 new mode 100755 index c60257aed4..6a0d25417d --- a/assets/plugins/tinymce/lang/german.inc.php +++ b/assets/plugins/tinymce/lang/german.inc.php @@ -12,13 +12,13 @@ include_once(dirname(__FILE__).'/english.inc.php'); // fallback for missing defaults or new additions $_lang['tinymce_editor_theme_title'] = "Template:"; -$_lang['tinymce_editor_theme_message'] = "Hier können Sie ein Template aussuchen, das im TinyMCE verwendet werden soll. Es handelt sich nicht um das Aussehen, sondern um die Anzahl an Plugins/Funktionen (wie Bilder hochladen, Links einfügen etc.), die für den Nutzer verfügbar sein sollen."; +$_lang['tinymce_editor_theme_message'] = "Hier k旦nnen Sie ein Template aussuchen, das im TinyMCE verwendet werden soll. Es handelt sich nicht um das Aussehen, sondern um die Anzahl an Plugins/Funktionen (wie Bilder hochladen, Links einf端gen etc.), die f端r den Nutzer verf端gbar sein sollen."; $_lang['tinymce_editor_custom_plugins_title'] = "Individuelle Plugins:"; $_lang['tinymce_editor_custom_plugins_message'] = "Geben Sie die Plugins an, die Sie bei Auswahl des \'individuellen\' Templates verwenden wollen. Bitte Plugins durch Komma trennen."; $_lang['tinymce_editor_custom_buttons_title'] = "Individuelle Buttons:"; -$_lang['tinymce_editor_custom_buttons_message'] = "Geben Sie die Buttons an, die Sie bei Auswahl des \'individuellen\' Templates verwenden wollen. Bitte Buttons für jede Reihe durch Komma trennen.Stellen Sie sicher, dass die für Buttons benötigten Plugins aktiviert sind unter \'Individuelle Plugins\'."; +$_lang['tinymce_editor_custom_buttons_message'] = "Geben Sie die Buttons an, die Sie bei Auswahl des \'individuellen\' Templates verwenden wollen. Bitte Buttons f端r jede Reihe durch Komma trennen.Stellen Sie sicher, dass die f端r Buttons ben旦tigten Plugins aktiviert sind unter \'Individuelle Plugins\'."; $_lang['tinymce_editor_css_selectors_title'] = "CSS Selektoren:"; -$_lang['tinymce_editor_css_selectors_message'] = "Hier können Sie eine Auswahl an Selektoren definieren, die im TinyMCE verfügbar sein sollen. Bitte so eintragen:
    'displayName=selectorName;displayName2=selectorName2'
    Zum Beispiel mit .mono und .smallText als Selektoren in der CSS Datei, tragen Sie diese ein als:
    'Monospaced text=mono;Small text=smallText'
    Bitte achten Sie darauf, dass der letzte Eintrag nicht mit Semikolon abgeschlossen werden darf."; +$_lang['tinymce_editor_css_selectors_message'] = "Hier k旦nnen Sie eine Auswahl an Selektoren definieren, die im TinyMCE verf端gbar sein sollen. Bitte so eintragen:
    'displayName=selectorName;displayName2=selectorName2'
    Zum Beispiel mit .mono und .smallText als Selektoren in der CSS Datei, tragen Sie diese ein als:
    'Monospaced text=mono;Small text=smallText'
    Bitte achten Sie darauf, dass der letzte Eintrag nicht mit Semikolon abgeschlossen werden darf."; $_lang['tinymce_settings'] = "TinyMCE Einstellungen"; $_lang['tinymce_theme_simple'] = "Wenige Plugins"; $_lang['tinymce_theme_advanced'] = "Mittlere Anzahl Plugins"; diff --git a/assets/plugins/tinymce/lang/japanese-utf8.inc.php b/assets/plugins/tinymce/lang/japanese-utf8.inc.php old mode 100644 new mode 100755 diff --git a/assets/plugins/tinymce/lang/norsk.inc.php b/assets/plugins/tinymce/lang/norsk.inc.php old mode 100644 new mode 100755 index c57c35537c..6850c9e158 --- a/assets/plugins/tinymce/lang/norsk.inc.php +++ b/assets/plugins/tinymce/lang/norsk.inc.php @@ -1,20 +1,30 @@ -'displayName=selectorName;displayName2=selectorName2'
    For instance, say you have .mono and .smallText selectors in your CSS file, you could add them here as:
    'Monospaced text=mono;Small text=smallText'
    Note that the last entry should not have a semi-colon after it."; -$_lang['tinymce_settings'] = "TinyMCE Settings"; -$_lang['tinymce_theme_simple'] = "Simple"; -$_lang['tinymce_theme_advanced'] = "Advanced"; -$_lang['tinymce_theme_editor'] = "Content Editor"; -$_lang['tinymce_theme_custom'] = "Custom"; $_lang['tinymce_theme_creative'] = 'Creative'; -$_lang['tinymce_theme_logic'] = 'xhtml'; -$_lang['tinymce_theme_global_settings'] = "Use the global setting"; +'displayName=selectorName;displayName2=selectorName2'
    For instance, say you have .mono and .smallText selectors in your CSS file, you could add them here as:
    'Monospaced text=mono;Small text=smallText'
    Note that the last entry should not have a semi-colon after it."; +$_lang['tinymce_settings'] = "TinyMCE Settings"; +$_lang['tinymce_theme_simple'] = "Simple"; +$_lang['tinymce_theme_advanced'] = "Advanced"; +$_lang['tinymce_theme_editor'] = "Content Editor"; +$_lang['tinymce_theme_custom'] = "Custom"; +$_lang['tinymce_theme_creative'] = 'Creative'; +$_lang['tinymce_theme_logic'] = 'xhtml'; +$_lang['tinymce_theme_global_settings'] = "Use the global setting"; ?> \ No newline at end of file diff --git a/assets/plugins/tinymce/lang/portuguese-br.inc.php b/assets/plugins/tinymce/lang/portuguese-br.inc.php old mode 100644 new mode 100755 index b56a3324e3..bfdb03c63d --- a/assets/plugins/tinymce/lang/portuguese-br.inc.php +++ b/assets/plugins/tinymce/lang/portuguese-br.inc.php @@ -3,7 +3,7 @@ * Filename: assets/plugins/tinymce/lang/portuguese.inc.php * Function: Portuguese language file for TinyMCE * Encoding: UTF-8 - * Author: Jeff Whitfield - translation João Peixoto (joeindio@gmail.com) + * Author: Jeff Whitfield - translation Jo達o Peixoto (joeindio@gmail.com) * Date: 2007/04/09 * Version: 2.0.9 * MODx version: 0.9.5 @@ -12,17 +12,17 @@ $_lang['tinymce_editor_theme_title'] = "Tema:"; $_lang['tinymce_editor_theme_message'] = "Aqui pode seleccionar que tema ou capa deseja utilizar com o editor."; $_lang['tinymce_editor_custom_plugins_title'] = "Plugins personalizados:"; -$_lang['tinymce_editor_custom_plugins_message'] = "Indique os plugins a utilizar com o tema personalizado, numa lista separada por vírgulas."; -$_lang['tinymce_editor_custom_buttons_title'] = "Botões personalizados:"; -$_lang['tinymce_editor_custom_buttons_message'] = "Indique os botões a utilizar para o tema personalizado, numa lista separada por vírgulas para cada linha. Assegure-se de que cada botão tem o plugin requerido activado na opção 'Plugins Personalizados'."; +$_lang['tinymce_editor_custom_plugins_message'] = "Indique os plugins a utilizar com o tema personalizado, numa lista separada por v鱈rgulas."; +$_lang['tinymce_editor_custom_buttons_title'] = "Bot探es personalizados:"; +$_lang['tinymce_editor_custom_buttons_message'] = "Indique os bot探es a utilizar para o tema personalizado, numa lista separada por v鱈rgulas para cada linha. Assegure-se de que cada bot達o tem o plugin requerido activado na op巽達o 'Plugins Personalizados'."; $_lang['tinymce_editor_css_selectors_title'] = "Selectores CSS:"; -$_lang['tinymce_editor_css_selectors_message'] = "Aqui pode indicar uma lista dos selectores que deverão estar disponíveis no editor. Indique-os da seguinte forma:
    'nomeMostrado=nomeSelector;nomeMostrado2=nomeSelector2'
    Por exemplo, se tiver os selectores .mono e .texto Pequeno no seu ficheiro CSS, pode adicioná-los aqui como:
    'Texto com espaçamento simples=mono;Texto Pequeno=textoPequeno'
    Note que a última entrada não deverá ter ponto e vírgula a segui-la."; -$_lang['tinymce_settings'] = "Opções TinyMCE"; +$_lang['tinymce_editor_css_selectors_message'] = "Aqui pode indicar uma lista dos selectores que dever達o estar dispon鱈veis no editor. Indique-os da seguinte forma:
    'nomeMostrado=nomeSelector;nomeMostrado2=nomeSelector2'
    Por exemplo, se tiver os selectores .mono e .texto Pequeno no seu ficheiro CSS, pode adicion叩-los aqui como:
    'Texto com espa巽amento simples=mono;Texto Pequeno=textoPequeno'
    Note que a 炭ltima entrada n達o dever叩 ter ponto e v鱈rgula a segui-la."; +$_lang['tinymce_settings'] = "Op巽探es TinyMCE"; $_lang['tinymce_theme_simple'] = "Simples"; -$_lang['tinymce_theme_advanced'] = "Avançado"; -$_lang['tinymce_theme_editor'] = "Editor de Conteúdo"; +$_lang['tinymce_theme_advanced'] = "Avan巽ado"; +$_lang['tinymce_theme_editor'] = "Editor de Conte炭do"; $_lang['tinymce_theme_custom'] = "Personalizar"; $_lang['tinymce_theme_creative'] = 'Creative'; $_lang['tinymce_theme_logic'] = 'xhtml'; -$_lang['tinymce_theme_global_settings'] = "Use a configuração global"; +$_lang['tinymce_theme_global_settings'] = "Use a configura巽達o global"; ?> \ No newline at end of file diff --git a/assets/plugins/tinymce/lang/portuguese.inc.php b/assets/plugins/tinymce/lang/portuguese.inc.php old mode 100644 new mode 100755 index b56a3324e3..bfdb03c63d --- a/assets/plugins/tinymce/lang/portuguese.inc.php +++ b/assets/plugins/tinymce/lang/portuguese.inc.php @@ -3,7 +3,7 @@ * Filename: assets/plugins/tinymce/lang/portuguese.inc.php * Function: Portuguese language file for TinyMCE * Encoding: UTF-8 - * Author: Jeff Whitfield - translation João Peixoto (joeindio@gmail.com) + * Author: Jeff Whitfield - translation Jo達o Peixoto (joeindio@gmail.com) * Date: 2007/04/09 * Version: 2.0.9 * MODx version: 0.9.5 @@ -12,17 +12,17 @@ $_lang['tinymce_editor_theme_title'] = "Tema:"; $_lang['tinymce_editor_theme_message'] = "Aqui pode seleccionar que tema ou capa deseja utilizar com o editor."; $_lang['tinymce_editor_custom_plugins_title'] = "Plugins personalizados:"; -$_lang['tinymce_editor_custom_plugins_message'] = "Indique os plugins a utilizar com o tema personalizado, numa lista separada por vírgulas."; -$_lang['tinymce_editor_custom_buttons_title'] = "Botões personalizados:"; -$_lang['tinymce_editor_custom_buttons_message'] = "Indique os botões a utilizar para o tema personalizado, numa lista separada por vírgulas para cada linha. Assegure-se de que cada botão tem o plugin requerido activado na opção 'Plugins Personalizados'."; +$_lang['tinymce_editor_custom_plugins_message'] = "Indique os plugins a utilizar com o tema personalizado, numa lista separada por v鱈rgulas."; +$_lang['tinymce_editor_custom_buttons_title'] = "Bot探es personalizados:"; +$_lang['tinymce_editor_custom_buttons_message'] = "Indique os bot探es a utilizar para o tema personalizado, numa lista separada por v鱈rgulas para cada linha. Assegure-se de que cada bot達o tem o plugin requerido activado na op巽達o 'Plugins Personalizados'."; $_lang['tinymce_editor_css_selectors_title'] = "Selectores CSS:"; -$_lang['tinymce_editor_css_selectors_message'] = "Aqui pode indicar uma lista dos selectores que deverão estar disponíveis no editor. Indique-os da seguinte forma:
    'nomeMostrado=nomeSelector;nomeMostrado2=nomeSelector2'
    Por exemplo, se tiver os selectores .mono e .texto Pequeno no seu ficheiro CSS, pode adicioná-los aqui como:
    'Texto com espaçamento simples=mono;Texto Pequeno=textoPequeno'
    Note que a última entrada não deverá ter ponto e vírgula a segui-la."; -$_lang['tinymce_settings'] = "Opções TinyMCE"; +$_lang['tinymce_editor_css_selectors_message'] = "Aqui pode indicar uma lista dos selectores que dever達o estar dispon鱈veis no editor. Indique-os da seguinte forma:
    'nomeMostrado=nomeSelector;nomeMostrado2=nomeSelector2'
    Por exemplo, se tiver os selectores .mono e .texto Pequeno no seu ficheiro CSS, pode adicion叩-los aqui como:
    'Texto com espa巽amento simples=mono;Texto Pequeno=textoPequeno'
    Note que a 炭ltima entrada n達o dever叩 ter ponto e v鱈rgula a segui-la."; +$_lang['tinymce_settings'] = "Op巽探es TinyMCE"; $_lang['tinymce_theme_simple'] = "Simples"; -$_lang['tinymce_theme_advanced'] = "Avançado"; -$_lang['tinymce_theme_editor'] = "Editor de Conteúdo"; +$_lang['tinymce_theme_advanced'] = "Avan巽ado"; +$_lang['tinymce_theme_editor'] = "Editor de Conte炭do"; $_lang['tinymce_theme_custom'] = "Personalizar"; $_lang['tinymce_theme_creative'] = 'Creative'; $_lang['tinymce_theme_logic'] = 'xhtml'; -$_lang['tinymce_theme_global_settings'] = "Use a configuração global"; +$_lang['tinymce_theme_global_settings'] = "Use a configura巽達o global"; ?> \ No newline at end of file diff --git a/assets/plugins/tinymce/lang/svenska-utf8.inc.php b/assets/plugins/tinymce/lang/svenska-utf8.inc.php old mode 100644 new mode 100755 index 923dbbb4d0..c3ebd226d9 --- a/assets/plugins/tinymce/lang/svenska-utf8.inc.php +++ b/assets/plugins/tinymce/lang/svenska-utf8.inc.php @@ -8,26 +8,26 @@ * Version: 2.1.0 * MODx version: 0.9.6 * - * Translation: Pontus Ågren (Pont) + * Translation: Pontus テ・ren (Pont) * Date: 2007-03-13 */ include_once(dirname(__FILE__).'/english.inc.php'); // fallback for missing defaults or new additions $_lang['tinymce_editor_theme_title'] = "Tema"; -$_lang['tinymce_editor_theme_message'] = "Här kan du välja vilket tema eller skal som editorn ska använda."; +$_lang['tinymce_editor_theme_message'] = "Hテ、r kan du vテ、lja vilket tema eller skal som editorn ska anvテ、nda."; $_lang['tinymce_editor_custom_plugins_title'] = "Anpassade plugins"; -$_lang['tinymce_editor_custom_plugins_message'] = "Ange de plugins som ska användas i det \"anpassade\" temat som en komma-avgränsad lista."; +$_lang['tinymce_editor_custom_plugins_message'] = "Ange de plugins som ska anvテ、ndas i det \"anpassade\" temat som en komma-avgrテ、nsad lista."; $_lang['tinymce_editor_custom_buttons_title'] = "Anpassade knappar"; -$_lang['tinymce_editor_custom_buttons_message'] = "Ange de knappar som ska användas i det \"anpassade\" temat som en komma-avgränsad lista för varje rad. Kontrollera att varje knapp har den tillhörande pluginnen vald i inställningarna för \"Anpassade plugins\"."; +$_lang['tinymce_editor_custom_buttons_message'] = "Ange de knappar som ska anvテ、ndas i det \"anpassade\" temat som en komma-avgrテ、nsad lista fテカr varje rad. Kontrollera att varje knapp har den tillhテカrande pluginnen vald i instテ、llningarna fテカr \"Anpassade plugins\"."; $_lang['tinymce_editor_css_selectors_title'] = "CSS-selektorer"; -$_lang['tinymce_editor_css_selectors_message'] = "Här kan du ange en lista med selektorer som ska finnas tillgängliga i editorn. Skriv in dom så här:
    \"namnEtikett=selektorNamn;namnEtikett2=selektorNamn2\"
    Om du till exempel har selektorerna .mono och .litenText i din css-fil, så kan du ange dom här som:
    \"Jämnbred text=mono;Liten text=litenText\"
    Notera att den sista definitionen inte ska följas av ett semikolon."; -$_lang['tinymce_settings'] = "Inställningar för TinyMCE"; +$_lang['tinymce_editor_css_selectors_message'] = "Hテ、r kan du ange en lista med selektorer som ska finnas tillgテ、ngliga i editorn. Skriv in dom sテ・ hテ、r:
    \"namnEtikett=selektorNamn;namnEtikett2=selektorNamn2\"
    Om du till exempel har selektorerna .mono och .litenText i din css-fil, sテ・ kan du ange dom hテ、r som:
    \"Jテ、mnbred text=mono;Liten text=litenText\"
    Notera att den sista definitionen inte ska fテカljas av ett semikolon."; +$_lang['tinymce_settings'] = "Instテ、llningar fテカr TinyMCE"; $_lang['tinymce_theme_simple'] = "Enkelt"; $_lang['tinymce_theme_advanced'] = "Avancerat"; -$_lang['tinymce_theme_editor'] = "Innehållseditor"; +$_lang['tinymce_theme_editor'] = "Innehテ・llseditor"; $_lang['tinymce_theme_custom'] = "Anpassat"; $_lang['tinymce_theme_creative'] = 'Creative'; $_lang['tinymce_theme_logic'] = 'xhtml'; -$_lang['tinymce_theme_global_settings'] = "Använd globalt"; +$_lang['tinymce_theme_global_settings'] = "Anvテ、nd globalt"; ?> \ No newline at end of file diff --git a/assets/plugins/tinymce/style/content.css b/assets/plugins/tinymce/style/content.css old mode 100644 new mode 100755 diff --git a/assets/plugins/tinymce/tinymce.tpl b/assets/plugins/tinymce/tinymce.tpl deleted file mode 100644 index 643809dc09..0000000000 --- a/assets/plugins/tinymce/tinymce.tpl +++ /dev/null @@ -1,137 +0,0 @@ -//Event; -switch ($e->name) -{ - case "OnRichTextEditorRegister": // register only for backend - $e->output("TinyMCE"); - break; - - case "OnRichTextEditorInit": - if($editor!=="TinyMCE") return; - - $params['elements'] = $elements; - $params['css_selectors'] = $modx->config['tinymce_css_selectors']; - $params['use_browser'] = $modx->config['use_browser']; - $params['editor_css_path'] = $modx->config['editor_css_path']; - - if($modx->isBackend()) - { - $params['theme'] = $modx->config['tinymce_editor_theme']; - $params['language'] = getTinyMCELang($modx->config['manager_language']); - $params['frontend'] = false; - $params['custom_plugins'] = $modx->config['tinymce_custom_plugins']; - $params['custom_buttons1'] = $modx->config['tinymce_custom_buttons1']; - $params['custom_buttons2'] = $modx->config['tinymce_custom_buttons2']; - $params['custom_buttons3'] = $modx->config['tinymce_custom_buttons3']; - $params['custom_buttons4'] = $modx->config['tinymce_custom_buttons4']; - $params['toolbar_align'] = $modx->config['manager_direction']; - $params['webuser'] = null; - - $html = $mce->get_mce_script($params); - } - else - { - $frontend_language = isset($modx->config['fe_editor_lang']) ? $modx->config['fe_editor_lang']:''; - $webuser = (isset($modx->config['rb_webuser']) ? $modx->config['rb_webuser'] : null); - - $params['webuser'] = $webuser; - $params['language'] = getTinyMCELang($frontend_language); - $params['frontend'] = true; - - $html = $mce->get_mce_script($params); - } - $e->output($html); - break; - - case "OnInterfaceSettingsRender": - global $usersettings,$settings; - $action = $modx->manager->action; - switch ($action) - { - case 11: - $mce_settings = ''; - break; - case 12: - $mce_settings = $usersettings; - break; - case 17: - $mce_settings = $settings; - break; - default: - $mce_settings = $settings; - break; - } - - $params['use_editor'] = $modx->config['base_url'].$modx->config['use_editor']; - $params['editor_css_path'] = $modx->config['editor_css_path']; - $params['theme'] = $mce_settings['tinymce_editor_theme']; - $params['css_selectors'] = $mce_settings['tinymce_css_selectors']; - $params['custom_plugins'] = $mce_settings['tinymce_custom_plugins']; - $params['custom_buttons1'] = $mce_settings['tinymce_custom_buttons1']; - $params['custom_buttons2'] = $mce_settings['tinymce_custom_buttons2']; - $params['custom_buttons3'] = $mce_settings['tinymce_custom_buttons3']; - $params['custom_buttons4'] = $mce_settings['tinymce_custom_buttons4']; - - $html = $mce->get_mce_settings($params); - $e->output($html); - break; - - default : - return; // stop here - this is very important. - break; -} diff --git a/assets/snippets/ajaxSearch/ajaxSearchPopup.php b/assets/snippets/ajaxSearch/ajaxSearchPopup.php old mode 100644 new mode 100755 index 074736b831..ac05ecd2a8 --- a/assets/snippets/ajaxSearch/ajaxSearchPopup.php +++ b/assets/snippets/ajaxSearch/ajaxSearchPopup.php @@ -5,19 +5,29 @@ * ajaxSearchPopup.php * * @author Coroico - www.modx.wangba.fr -* @version 1.9.0 -* @date 18/05/2010 +* @version 1.9.2 +* @date 05/12/2010 * */ +/*! +* parseUserConfig : parse the non default configuration file name from ucfg string +*/ +if (!function_exists('parseUserConfig')) { + function parseUserConfig($ucfg) { + preg_match('/&config=`([^`]*)`/', $ucfg, $matches); + return $matches[1]; + } +} + if (isset($_POST['search'])) { - define('AS_VERSION', '1.9.0'); + define('AS_VERSION', '1.9.2'); define('AS_SPATH', 'assets/snippets/ajaxSearch/'); define('AS_PATH', MODX_BASE_PATH . AS_SPATH); require_once (MODX_MANAGER_PATH . '/includes/protect.inc.php'); - if (!isset($_POST['as_version']) || ($_POST['as_version'] != AS_VERSION)) { + if (!isset($_POST['as_version']) || (strip_tags($_POST['as_version']) != AS_VERSION)) { $output = "AjaxSearch version obsolete.
    Please check the snippet code in MODx manager."; } else { @@ -35,27 +45,18 @@ if (file_exists($default)) include $default; else return "

    AjaxSearch error: $default not found !
    Check the existing of this file!

    "; if (!isset($dcfg)) return "

    AjaxSearch error: default configuration array not defined in $default!
    Check the content of this file!

    "; - $ucfg = parseUserConfig($_POST['ucfg']); + $config = parseUserConfig((strip_tags($_POST['ucfg']))); // Load the custom functions of the custom configuration file if needed - if ($ucfg['config']) { - $config = $ucfg['config']; - $lconfig = (substr($config, 0, 5) != "@FILE") ? AS_PATH . "configs/$config.config.php" : $modx->config['base_path'] . trim(substr($config, 5)); + if ($config) { + $lconfig = (substr($config, 0, 6) != "@FILE:") ? AS_PATH . "configs/$config.config.php" : $modx->config['base_path'] . trim(substr($config, 6, strlen($config)-6)); if (file_exists($lconfig)) include $lconfig; else return "

    AjaxSearch error: " . $lconfig . " not found !
    Check your config parameter or your config file name!

    "; } + if ($dcfg['version'] != AS_VERSION) return "

    AjaxSearch error: Version number mismatch. Check the content of the default configuration file!

    "; $as = new AjaxSearch(); $output = $as->run($tstart, $dcfg); } echo $output; } -/*! -* parseUserConfig : parse the non default configuration from string -*/ -function parseUserConfig($strUcfg) { - $ucfg = array(); - $pattern = '/&([^=]*)=`([^`]*)`/'; - preg_match_all($pattern, $strUcfg, $out); - foreach ($out[1] as $key => $values) $ucfg[$out[1][$key]] = $out[2][$key]; - return $ucfg; -} + ?> \ No newline at end of file diff --git a/assets/snippets/ajaxSearch/ajaxSearch_readme.txt b/assets/snippets/ajaxSearch/ajaxSearch_readme.txt old mode 100644 new mode 100755 index f3cec1ac24..4800e60e4d --- a/assets/snippets/ajaxSearch/ajaxSearch_readme.txt +++ b/assets/snippets/ajaxSearch/ajaxSearch_readme.txt @@ -1,5 +1,5 @@ -AjaxSearch Readme version 1.9.0 +AjaxSearch Readme version 1.9.2 --------------------------------------------------------------- :: Snippet: AjaxSearch @@ -8,7 +8,7 @@ AjaxSearch Readme version 1.9.0 Ajax-driven & Flexible Search form Version: - 1.9.0 - 18/05/2010 + 1.9.2 - 05/12/2010 Created by: Coroico - (coroico@wangba.fr) @@ -45,6 +45,11 @@ Many fixes/additions were contributed by mikkelwe/identity/Perrine ---------------------------------------------------------------- :: Changelog: for more details see www.modx.wangba.fr ---------------------------------------------------------------- + 05-december-10 (1.9.2) + -- Bug fixing + 30-august-10 (1.9.2) + -- Bug fixing + 18-may-10 (1.9.0) -- Completely refactored - MVC model implemented -- Defines categories and display of group of results @@ -52,7 +57,7 @@ Many fixes/additions were contributed by mikkelwe/identity/Perrine -- parents (in / not in), documents (in / not in) -- Custom output -- Filtering search results by tv name - -- fFilter features (allow to set up specific search forms) + -- Filter features (allow to set up specific search forms) -- Bug fixing 20-october-09 (1.8.4) @@ -187,7 +192,7 @@ The simplest snippet call is [!Ajaxsearch!] without any parameters. ---- &config [config_name | "default"] (optional) Load a custom configuration - config_name - Other config installed in the configs folder or in any folder within the MODx base path via @FILE + config_name - Other config installed in the configs folder or in any folder within the MODx base path via @FILE: Configuration files are named in the form: .config.php To limit the number of javascript variables, the default parameters are stored in the default.config.inc.php file. diff --git a/assets/snippets/ajaxSearch/ajaxSearch_version_190.txt b/assets/snippets/ajaxSearch/ajaxSearch_version_192.txt old mode 100644 new mode 100755 similarity index 91% rename from assets/snippets/ajaxSearch/ajaxSearch_version_190.txt rename to assets/snippets/ajaxSearch/ajaxSearch_version_192.txt index 393a4fbc6e..e76f39863a --- a/assets/snippets/ajaxSearch/ajaxSearch_version_190.txt +++ b/assets/snippets/ajaxSearch/ajaxSearch_version_192.txt @@ -1,11 +1,47 @@ - AjaxSearch - version 1.9.0 + AjaxSearch - version 1.9.2 Coroico - http://www.modx.wangba.fr - 18th of May 2010 + 05th of December 2010 + +The release 1.9.2 provide the correction of the following issues: + +==== AJAXSEARCH-75 : exactphrase doesn't work when the value is passed thru snippet call +See http://modxcms.com/forums/index.php/topic,55236.0.html + + +==== AJAXSEARCH-76 : TV names not protected in sql request +See http://modxcms.com/forums/index.php/topic,56696.msg330844.html#msg330844l + + +==== AJAXSEARCH-77 : where clause for search terms restriction when the searchstring is empty + + +==== AJAXSEARCH-78 : failed searched never logged +See http://modxcms.com/forums/index.php/topic,53897.msg331714.html#msg331714 + + +==== AJAXSEARCH-79 : tag list now interpreted as tv input list + + +==== AJAXSEARCH-80 : Incorrect strip function for MODx tags +See http://modxcms.com/forums/index.php/topic,57332.msg331855.html#msg331855 + + +==== AJAXSEARCH-81 : orderBy issue when orderBy field not in sc.content table + + +==== AJAXSEARCH-82 : can't define configuration file name with "@FILE:" prefix + + +No new features are provided with this release. + +===================================================================================== Previous versions : + - 1.9.1 delivered the 30th of August 2010 + - 1.9.0 delivered the 18th of May 2010 (provided with MODx 1.0.4) - 1.8.5 delivered the 20th of March 2010 (provided with MODx 1.0.3) - 1.8.4 delivered the 20th of October 2009 (provided with MODx1.0.1) - 1.8.3a delivered the 12th of July 2009 (provided with MODx1.0.0) @@ -78,7 +114,7 @@ Previous versions : ==== Use Google Analytics to track AjaxSearch AjaxSearch forms could now use $_POST or $_GET - with $_GET, the query parameter in the URL after you search allow you to track the site + with $_GET, the query parameter in the URL after you search allow you to track the site search with Google Analytics. To do this, simply replace method="post" by method="get" in the input template used by your ajaxSearch calls. @@ -108,9 +144,9 @@ Previous versions : &withTvs=`-` - all tvs of the site are added &withTvs=`-:tv1,tv2,tv3` - all tvs of the site except tv1, tv2, Tv3 are added - &withTvs=`` - no tv added - - If &whereSearch contains 'tv' then a tv_value field which contain the concatened + &withTvs=`` - no tv added + + If &whereSearch contains 'tv' then a tv_value field which contain the concatened values of all tv of the document is added So the tv added could be used for filtering with the filter parameter (see &filter) @@ -447,7 +483,7 @@ Previous versions : ==== Documentation folder - in the documentation folder, the cheatSheet ajaxSearch190.pdf give a quick + in the documentation folder, the cheatSheet ajaxSearch192.pdf give a quick overview of AjaxSearch parameters. Thanks to Goldsky for this contribution. The someCssExamples folder give the search.css file used on the demo site to @@ -457,12 +493,6 @@ Previous versions : site. The someTemplatesExamples folder provide some templates used on the demo site. - - -========================= ISSUES CORRECTED (since 1.8.5) ======================= -==== AJAXSEARCH-61 : Getting no results from search on private pages even when logged in as a web user with access to those pages -http://svn.modxcms.com/jira/browse/AJAXSEARCH-61 -==== AJAXSEARCH-62 : mb_internal_encoding("UTF-8") missing -http://svn.modxcms.com/jira/browse/AJAXSEARCH-62 \ No newline at end of file + diff --git a/assets/snippets/ajaxSearch/classes/ajaxSearch.class.inc.php b/assets/snippets/ajaxSearch/classes/ajaxSearch.class.inc.php old mode 100644 new mode 100755 index e81f613e44..94b0e3103f --- a/assets/snippets/ajaxSearch/classes/ajaxSearch.class.inc.php +++ b/assets/snippets/ajaxSearch/classes/ajaxSearch.class.inc.php @@ -5,8 +5,8 @@ * @package AjaxSearch * * @author Coroico - www.modx.wangba.fr -* @version 1.9.0 -* @date 18/05/2010 +* @version 1.9.2 +* @date 05/12/2010 * * Purpose: * The AjaxSearch class contains all functions and data used to manage AjaxSearch @@ -120,13 +120,13 @@ function run($tstart, $dcfg, $cfg = null) { if (!function_exists('stripTags')) { function stripTags($text) { - $modRegExArray[] = '~\[\[(.*?)\]\]~'; - $modRegExArray[] = '~\[!(.*?)!\]~'; - $modRegExArray[] = '!\[\~(.*?)\~\]!is'; - $modRegExArray[] = '~\[\((.*?)\)\]~'; - $modRegExArray[] = '~{{(.*?)}}~'; - $modRegExArray[] = '~\[\*(.*?)\*\]~'; - $modRegExArray[] = '~\[\+(.*?)\+\]~'; + $modRegExArray[] = '~\[\[(.*?)\]\]~s'; + $modRegExArray[] = '~\[\!(.*?)\!\]~s'; + $modRegExArray[] = '#\[\~(.*?)\~\]#s'; + $modRegExArray[] = '~\[\((.*?)\)\]~s'; + $modRegExArray[] = '~{{(.*?)}}~s'; + $modRegExArray[] = '~\[\*(.*?)\*\]~s'; + $modRegExArray[] = '~\[\+(.*?)\+\]~s'; foreach ($modRegExArray as $mReg) $text = preg_replace($mReg, '', $text); return $text; diff --git a/assets/snippets/ajaxSearch/classes/ajaxSearchConfig.class.inc.php b/assets/snippets/ajaxSearch/classes/ajaxSearchConfig.class.inc.php old mode 100644 new mode 100755 index b11abb0da6..2da168f570 --- a/assets/snippets/ajaxSearch/classes/ajaxSearchConfig.class.inc.php +++ b/assets/snippets/ajaxSearch/classes/ajaxSearchConfig.class.inc.php @@ -5,8 +5,8 @@ * @package AjaxSearchConfig * * @author Coroico - www.modx.wangba.fr -* @version 1.9.0 -* @date 18/05/2010 +* @version 1.9.2 +* @date 05/12/2010 * * Purpose: * The AjaxSearchConfig class contains all functions and data used to manage configuration context @@ -56,7 +56,7 @@ function initConfig(&$msgErr) { $this->isAjax = true; - $this->ucfg = $this->parseUserConfig($_POST['ucfg']); + $this->ucfg = $this->parseUserConfig(strip_tags($_POST['ucfg'])); $this->bcfg = array_merge($this->dcfg, (array)$this->ucfg); @@ -163,7 +163,7 @@ function addConfigFromCateg($site, $categ, $ctg) { function getUserConfig() { $ucfg = array(); foreach ($this->cfg as $key => $value) { - if ($key != 'advSearch' && $key != 'subSearch' && $value != $this->dcfg[$key]) $ucfg[$key] = $this->cfg[$key]; + if ($key != 'subSearch' && $value != $this->dcfg[$key]) $ucfg[$key] = $this->cfg[$key]; } return $ucfg; } diff --git a/assets/snippets/ajaxSearch/classes/ajaxSearchCtrl.class.inc.php b/assets/snippets/ajaxSearch/classes/ajaxSearchCtrl.class.inc.php old mode 100644 new mode 100755 index 626b518d4b..0f97ffc081 --- a/assets/snippets/ajaxSearch/classes/ajaxSearchCtrl.class.inc.php +++ b/assets/snippets/ajaxSearch/classes/ajaxSearchCtrl.class.inc.php @@ -5,8 +5,8 @@ * @package AjaxSearchCtrl * * @author Coroico - www.modx.wangba.fr -* @version 1.9.0 -* @date 18/05/2010 +* @version 1.9.2 +* @date 05/12/2010 * * Purpose: * The AjaxSearchCtrl class contains the logic and synchronisation between model and views @@ -66,7 +66,10 @@ function run() { $this->setforThisAs(); $this->getEvents(); // get $_POST and _GET variables $valid = $this->asInput->display($msg); - if ($valid) $this->asResults->getSearchResults($msg); + if ($valid) { + $valid2 = $this->asResults->getSearchResults($msg); + if (!$valid2) return $msg; + } $this->asOutput->setAjaxSearchHeader(); if (!$this->pagination) $output = $this->asOutput->display($valid, $msg); else $output = $this->asOutput->paginate($valid, $msg); @@ -81,8 +84,8 @@ function setforThisAs() { $id = ''; if (isset($_POST['asid']) || isset($_GET['asid'])) { - if (isset($_POST['asid'])) $id = $_POST['asid']; - else $id = urldecode($_GET['asid']); + if (isset($_POST['asid'])) $id = strip_tags($_POST['asid']); + else $id = strip_tags(urldecode($_GET['asid'])); } $this->forThisAs = ($this->asCfg->cfg['asId'] != $id) ? false : true; } @@ -95,13 +98,19 @@ function getEvents() { if (isset($_POST['subsearch'])) { $ssc = isset($_POST['ssc']) ? ':' : ','; - if (is_array($_POST['subsearch'])) $this->subSearch = implode($ssc,$_POST['subsearch']); - else $this->subSearch = $_POST['subsearch']; + if (is_array($_POST['subsearch'])) { + foreach($_POST['subsearch'] as $key => $value) $_POST['subsearch'][$key] = strip_tags($value); + $this->subSearch = implode($ssc,$_POST['subsearch']); + } + else $this->subSearch = strip_tags($_POST['subsearch']); } else { $ssc = isset($_GET['ssc']) ? ':' : ','; - if (is_array($_GET['subsearch'])) $this->subSearch = implode($ssc,$_GET['subsearch']); - else $this->subSearch = $_GET['subsearch']; + if (is_array($_GET['subsearch'])) { + foreach($_GET['subsearch'] as $key => $value) $_GET['subsearch'][$key] = strip_tags($value); + $this->subSearch = implode($ssc,$_GET['subsearch']); + } + else $this->subSearch = strip_tags($_GET['subsearch']); } } if ($this->dbg) $this->asUtil->dbgRecord($this->subSearch , "getEvents - subsearch"); @@ -109,7 +118,7 @@ function getEvents() { $asfConfig = 'asfConfig'; if ((isset($_POST['asf']) || isset($_GET['asf'])) && function_exists($asfConfig)) { - $this->asf = isset($_POST['asf']) ? $_POST['asf'] : urldecode($_GET['asf']); + $this->asf = isset($_POST['asf']) ? strip_tags($_POST['asf']) : strip_tags(urldecode($_GET['asf'])); $this->fClause = $asfConfig($this->asf, $this->fParams); if ($this->dbg) $this->asUtil->dbgRecord($this->fParams , "getEvents - fParams"); if ($this->dbg) $this->asUtil->dbgRecord($this->fClause , "getEvents - fClause"); @@ -117,10 +126,10 @@ function getEvents() { else $this->asf = ''; if ($this->dbg) $this->asUtil->dbgRecord($this->asf , "getEvents - asf"); - $this->offset = (isset($_GET['aso'])) ? urldecode($_GET['aso']) : '0,0'; + $this->offset = (isset($_GET['aso'])) ? strip_tags(urldecode($_GET['aso'])) : '0,0'; if ($this->dbg) $this->asUtil->dbgRecord($this->offset , "getEvents - offset"); - $this->pagination = (isset($_POST['pgn'])) ? $_POST['pgn'] : ''; + $this->pagination = (isset($_POST['pgn'])) ? strip_tags($_POST['pgn']) : ''; if ($this->dbg) $this->asUtil->dbgRecord($this->pagination , "getEvents - pgn"); } function getSearchString() { @@ -132,19 +141,25 @@ function getSearchString() { if (isset($_POST['search']) || (isset($_GET['search']) && (!$this->asCfg->cfg['ajaxSearch']))) { if (isset($_POST['search'])) { - $this->searchString = $_POST['search']; - if (is_array($this->searchString)) $this->searchString = implode(' ', array_values($this->searchString)); + if (is_array($_POST['search'])) { + foreach($_POST['search'] as $key => $value) $_POST['search'][$key] = strip_tags($value); + $this->searchString = implode(' ', $_POST['search']); + } + else $this->searchString = strip_tags($_POST['search']); } else { - $this->searchString = urldecode($_GET['search']); + $this->searchString = strip_tags(urldecode($_GET['search'])); } - if (isset($_POST['advsearch'])) $this->advSearch = $_POST['advsearch']; - else if (isset($_GET['advsearch'])) $this->advSearch = urldecode($_GET['advsearch']); + if (isset($_POST['advsearch'])) $this->advSearch = strip_tags($_POST['advsearch']); + else if (isset($_GET['advsearch'])) $this->advSearch = strip_tags(urldecode($_GET['advsearch'])); } } else { if (isset($_POST['search'])) { - $this->searchString = $_POST['search']; - if (is_array($this->searchString)) $this->searchString = implode(' ', array_values($this->searchString)); + if (is_array($_POST['search'])) { + foreach($_POST['search'] as $key => $value) $_POST['search'][$key] = strip_tags($value); + $this->searchString = implode(' ', $_POST['search']); + } + else $this->searchString = strip_tags($_POST['search']); if (($this->asCfg->pgCharset != 'UTF-8') && (ini_get('mbstring.encoding_translation') == '' || strtolower(ini_get('mbstring.http_input')) == 'pass')) { $this->searchString = mb_convert_encoding($this->searchString, $this->asCfg->pgCharset, "UTF-8"); @@ -152,7 +167,7 @@ function getSearchString() { } else { $this->asOutput->setNeedsConvert(false); } - if (isset($_POST['advsearch'])) $this->advSearch = $_POST['advsearch']; + if (isset($_POST['advsearch'])) $this->advSearch = strip_tags($_POST['advsearch']); } } } @@ -165,7 +180,7 @@ function getSearchString() { function getSearchWords($search, $advSearch) { $searchList = array(); if (($advSearch == NOWORDS) || (!$search)) return $searchList; - if ($advSearch == EXACTPHRASE) $searchList[] = " " . $search . " "; + if ($advSearch == EXACTPHRASE) $searchList[] = $search; else $searchList = explode(' ', $search); return $searchList; } diff --git a/assets/snippets/ajaxSearch/classes/ajaxSearchInput.class.inc.php b/assets/snippets/ajaxSearch/classes/ajaxSearchInput.class.inc.php old mode 100644 new mode 100755 index 92985cc24b..41048141ce --- a/assets/snippets/ajaxSearch/classes/ajaxSearchInput.class.inc.php +++ b/assets/snippets/ajaxSearch/classes/ajaxSearchInput.class.inc.php @@ -5,8 +5,8 @@ * @package AjaxSearchInput * * @author Coroico - www.modx.wangba.fr -* @version 1.9.0 -* @date 18/05/2010 +* @version 1.9.2 +* @date 05/12/2010 * * Purpose: * The AjaxSearchInput class contains all functions and data used to manage Input form @@ -62,8 +62,9 @@ function display(&$msgErr) { $msgErr = ''; $this->_checkParams(); $valid = $this->_validSearchString($msgErr); - $this->_displayInputForm($valid, $msgErr); + $this->_displayInputForm($msgErr); $this->_setClearDefaultHeader(); + return $valid; } /* diff --git a/assets/snippets/ajaxSearch/classes/ajaxSearchLog.class.inc.php b/assets/snippets/ajaxSearch/classes/ajaxSearchLog.class.inc.php old mode 100644 new mode 100755 index 6d04ace68a..e907327741 --- a/assets/snippets/ajaxSearch/classes/ajaxSearchLog.class.inc.php +++ b/assets/snippets/ajaxSearch/classes/ajaxSearchLog.class.inc.php @@ -5,8 +5,8 @@ * @package AjaxSearchLog * * @author Coroico - www.modx.wangba.fr -* @version 1.9.0 -* @date 18/05/2010 +* @version 1.9.2 +* @date 05/12/2010 * * Purpose: * The AjaxSearchLog class contains all functions used to Log AjaxSearch requests @@ -153,8 +153,8 @@ function updateComment($logid, $ascmt) { /* The code below handles comment sent if the $_POST variables are set. Used when the user post comment from the ajaxSearch results window */ if ($_POST['logid'] && $_POST['ascmt']) { - $ascmt = $_POST['ascmt']; - $logid = $_POST['logid']; + $ascmt = strip_tags($_POST['ascmt']); + $logid = intval($_POST['logid']); $safeCmt = (strlen($ascmt) < CMT_MAX_LENGTH) && (substr_count($ascmt, 'http') < CMT_MAX_LINKS); if (($ascmt != '') && ($logid > 0) && $safeCmt) { diff --git a/assets/snippets/ajaxSearch/classes/ajaxSearchOutput.class.inc.php b/assets/snippets/ajaxSearch/classes/ajaxSearchOutput.class.inc.php old mode 100644 new mode 100755 index 7c83cd99ea..1f05d9dd81 --- a/assets/snippets/ajaxSearch/classes/ajaxSearchOutput.class.inc.php +++ b/assets/snippets/ajaxSearch/classes/ajaxSearchOutput.class.inc.php @@ -5,14 +5,12 @@ * @package AjaxSearchOutput * * @author Coroico - www.modx.wangba.fr -* @version 1.9.0 -* @date 18/05/20100 +* @version 1.9.2 +* @date 05/12/2010 * * Purpose: * The AjaxSearchOutput class contains all functions and data used to display output * -* Version: 1.9 - Coroico (coroico@wangba.fr) -* */ define('HIGHLIGHT_CLASS', 'ajaxSearch_highlight'); @@ -144,6 +142,8 @@ function _displayResults($validSearch, &$msgErr, &$nbResultsInfos) { $nbFoundResults = 0; $nbDisplayedResults = 0; $logIds = array(); + $asCall = $this->_getAsCall($this->asCfg->setAsCall($this->asCfg->getUserConfig())); + $select = $this->asResults->_asRequest->asSelect; if ($this->asCfg->cfg['showResults']) { if ($validSearch) { if (!$this->asCfg->isAjax) $this->_setOffset(); @@ -173,7 +173,7 @@ function _displayResults($validSearch, &$msgErr, &$nbResultsInfos) { $listGrpResults .= $this->_displayGrpResult($ig, $site, $subsite, $display, $nbrs, $searchResults, $offset, $nbMax); - $lid = $this->_setLogInfos($ig); + $lid = $this->_setSuccessfullSearches($ig); if ($lid) $logIds[] = $lid; } @@ -215,11 +215,13 @@ function _displayResults($validSearch, &$msgErr, &$nbResultsInfos) { $this->varResults['noResults'] = 1; $this->varResults['noResultClass'] = INTROFAILURE_CLASS; $this->varResults['noResultText'] = $this->asCfg->lang['as_resultsIntroFailure']; + $this->_setFailedSearches($asCall,$select); } } else { $this->varResults['noResults'] = 1; $this->varResults['noResultClass'] = INTROFAILURE_CLASS; $this->varResults['noResultText'] = $this->asCfg->lang['as_resultsIntroFailure']; + $this->_setFailedSearches($asCall,$select); } } else { @@ -235,7 +237,7 @@ function _displayResults($validSearch, &$msgErr, &$nbResultsInfos) { unset($this->chkResults); // UTF-8 conversion is required if mysql character set is different of 'utf8' - if ($this->_needsConvert) $outputResults = mb_convert_encoding($outputResults,"UTF-8",$this->pgCharset); + if ($this->_needsConvert) $outputResults = mb_convert_encoding($outputResults,"UTF-8",$this->asCfg->pgCharset); $this->logIds = $logIds; } @@ -257,7 +259,7 @@ function _displayGrpResult($ig, $site, $subsite, $display, $nbrs, $searchResults $prefix = ($this->asCfg->cfg['asId']) ? $this->asCfg->cfg['asId'] . "_" : ''; $this->varGrpResult['grpResultId'] = $prefix . 'grpResult_' . $this->_getCleanCssId($subsite); - $listResults = $this->_displayListResults($site, $subsite, $display, $nbrs, $searchResults, $found); + $listResults = $this->_displayListResults($site, $subsite, $display, $nbrs, $searchResults, $found, $offset); $this->varGrpResult['listResults'] = ASPHX; $this->varGrpResult['footerGrpResult'] = $this->_displayFooterGrpResult($ig, $nbrs, $offset, $nbMax); @@ -296,7 +298,7 @@ function _displayHeaderGrpResult($site, $subsite, $display, $nbrs, $searchResult /* * Display the list of results */ - function _displayListResults($site, $subsite, $display, $nbrs, $searchResults, & $found) { + function _displayListResults($site, $subsite, $display, $nbrs, $searchResults, & $found, $offset) { $nb = count($searchResults); $listResults = ''; @@ -311,7 +313,7 @@ function _displayListResults($site, $subsite, $display, $nbrs, $searchResults, & $this->_setResultBreadcrumbs($searchResults[$i]); - $this->_setResultNumber($this->offset + $i + 1); + $this->_setResultNumber($offset + $i + 1); $this->chkResult->AddVar("as", $this->varResult); @@ -488,28 +490,29 @@ function _getCleanCssId($name) { * Get the parameters to set up an URL */ function _getParamsUrl() { + global $modx; + $firstarg = $modx->config['friendly_urls'] ? '?' : '&'; + $url = ''; + + if ($this->asCfg->cfg['asId']) $url = $firstarg . 'asid=' . urlencode($this->asCfg->cfg['asId']); if ($this->asCtrl->searchString) { - $searchStringUrl = '&search=' . urlencode($this->asCtrl->searchString); - $advSearchUrl = '&advsearch=' . urlencode($this->asCtrl->advSearch); + if ($url) $url .= '&search=' . urlencode($this->asCtrl->searchString) . '&advsearch=' . urlencode($this->asCtrl->advSearch); + else $url = $firstarg . 'search=' . urlencode($this->asCtrl->searchString) . '&advsearch=' . urlencode($this->asCtrl->advSearch); } - else { - $searchStringUrl = ''; - $advSearchUrl = ''; + if ($this->asCtrl->subSearch) { + if ($url) $url .= '&subsearch=' . urlencode($this->asCtrl->subSearch); + else $url = $firstarg . 'subsearch=' . urlencode($this->asCtrl->subSearch); } - $asIdUrl = ($this->asCfg->cfg['asId']) ? '&asid=' . urlencode($this->asCfg->cfg['asId']) : ''; - $subSearchUrl = ($this->asCtrl->subSearch) ? '&subsearch=' . urlencode($this->asCtrl->subSearch) : ''; if ($this->asCtrl->asf) { - $asfUrl = '&asf=' . urlencode($this->asCtrl->asf); + if ($url) $url .= '&asf=' . urlencode($this->asCtrl->asf); + else $url = $firstarg . 'asf=' . urlencode($this->asCtrl->asf); foreach($this->asCtrl->fParams as $key =>$value) { - $asfUrl .= '&' . $key . '=' . urlencode($value); + $url .= '&' . $key . '=' . urlencode($value); } } - else $asfUrl = ''; - $url = $asIdUrl . $searchStringUrl . $advSearchUrl . $subSearchUrl . $asfUrl; return $url; } - /* * Initialize common chunks variables */ @@ -588,21 +591,34 @@ function _initDisplayVariables() { $this->_initBreadcrumbs(); } /* - * Set log infos into DB + * Set log infos into DB for failed searches */ - function _setLogInfos($ig) { + function _setFailedSearches($asCall = '', $select = '') { $logid = ''; - if ($this->log) { + if ($this->log >= 1 ) { $logInfo = array(); - - if (($this->log == 2) || ($nbrs == 0)) { - $logInfo['searchString'] = $this->asCtrl->searchString; - $logInfo['nbResults'] = $this->asResults->groupResults[$ig]['length']; - $logInfo['results'] = $this->asResults->groupResults[$ig]['found']; - $logInfo['asCall'] = $this->_getAsCall($this->asResults->groupResults[$ig]['ucfg']); - $logInfo['asSelect'] = mysql_real_escape_string($this->asResults->groupResults[$ig]['select']); - $logid = $this->asLog->setLogRecord($logInfo); - } + $logInfo['searchString'] = $this->asCtrl->searchString; + $logInfo['nbResults'] = 0; + $logInfo['results'] = ''; + $logInfo['asCall'] = $asCall; + $logInfo['asSelect'] = mysql_real_escape_string($select); + $logid = $this->asLog->setLogRecord($logInfo); + } + return $logid; + } + /* + * Set log infos into DB for successfull searches + */ + function _setSuccessfullSearches($ig) { + $logid = ''; + if ($this->log == 2) { + $logInfo = array(); + $logInfo['searchString'] = $this->asCtrl->searchString; + $logInfo['nbResults'] = $this->asResults->groupResults[$ig]['length']; + $logInfo['results'] = $this->asResults->groupResults[$ig]['found']; + $logInfo['asCall'] = $this->_getAsCall($this->asResults->groupResults[$ig]['ucfg']); + $logInfo['asSelect'] = mysql_real_escape_string($this->asResults->groupResults[$ig]['select']); + $logid = $this->asLog->setLogRecord($logInfo); } return $logid; } @@ -963,7 +979,7 @@ function paginate($validSearch, &$msgErr) { $moreOffset = 0; $moreNbMax = $offset + $nbRes; $header = $this->_displayHeaderGrpResult($site, $subsite, $display, $nbrs, $searchResults, $moreOffset, $moreNbMax); - $listResults = $this->_displayListResults($site, $subsite, $display, $nbrs, $searchResults, $found); + $listResults = $this->_displayListResults($site, $subsite, $display, $nbrs, $searchResults, $found, $offset); $footer = $this->_displayFooterGrpResult($ig, $nbrs, $moreOffset, $moreNbMax); $this->asResults->groupResults[$ig]['found'] = implode(' ',$found); @@ -983,7 +999,7 @@ function paginate($validSearch, &$msgErr) { return $outputResults; } /* - * Send back categories + * Send back categories & tags */ function _updateAsfPaginate($ig, & $jsonPairs) { diff --git a/assets/snippets/ajaxSearch/classes/ajaxSearchRequest.class.inc.php b/assets/snippets/ajaxSearch/classes/ajaxSearchRequest.class.inc.php old mode 100644 new mode 100755 index e6fb2d99eb..a6fdf47ca7 --- a/assets/snippets/ajaxSearch/classes/ajaxSearchRequest.class.inc.php +++ b/assets/snippets/ajaxSearch/classes/ajaxSearchRequest.class.inc.php @@ -5,8 +5,8 @@ * @package AjaxSearchRequest * * @author Coroico - www.modx.wangba.fr -* @version 1.9.0 -* @date 18/05/2010 +* @version 1.9.2 +* @date 05/12/2010 * * Purpose: * The AjaxSearchRequest class contains all functions and data used to manage the search SQL Request @@ -307,7 +307,7 @@ function _getFields() { } if (isset($this->scTvs['tvs'])) foreach($this->scTvs['tvs'] as $scTv) { - $f = $scTv['tb_alias'] . '.' . $scTv['displayed'] . ' AS ' . $scTv['name']; + $f = $scTv['tb_alias'] . '.' . $scTv['displayed'] . ' AS `' . $scTv['name'] . '`'; $fields[] = $f; } @@ -318,8 +318,8 @@ function _getFields() { if (isset($this->scTags)) { - $f = 'GROUP_CONCAT( DISTINCT ' . $this->scTags['tb_alias'] . '.' . $this->scTags['displayed']; - $f.= ' SEPARATOR "," ) AS tags'; + $f = 'REPLACE( GROUP_CONCAT( DISTINCT ' . $this->scTags['tb_alias'] . '.' . $this->scTags['displayed']; + $f.= ' SEPARATOR "," ), "||", ",") AS tags'; $fields[] = $f; } @@ -407,7 +407,7 @@ function _getHaving($searchString, $advSearch, $fClause) { } if (isset($this->scTvs['tvs'])) foreach ($this->scTvs['tvs'] as $scTv) { $jpref = $scTv['tb_alias']; - $hvg[] = '(' . $scTv['name'] . $like . ')'; + $hvg[] = '(`' . $scTv['name'] . '`' . $like . ')'; } } else { @@ -419,7 +419,7 @@ function _getHaving($searchString, $advSearch, $fClause) { } if (isset($this->scTvs['tvs'])) foreach ($this->scTvs['tvs'] as $scTv) { $jpref = $scTv['tb_alias']; - $hvg[] = '((' . $scTv['name'] . $like . ') OR (' . $scTv['name'] . ' IS NULL))'; + $hvg[] = '((`' . $scTv['name'] . '`' . $like . ') OR (`' . $scTv['name'] . '` IS NULL))'; } } if (count($hvg) > 0) { @@ -454,8 +454,8 @@ function _getHaving($searchString, $advSearch, $fClause) { function _getOrderBy() { if (isset($this->scCateg)) $orderFields[] = 'category ASC'; if ($this->cfg['order']) { - $order = explode(',', $this->cfg['order']); - foreach ($order as $ord) $orderBy[] = $this->scMain['tb_alias'] . '.' . $ord; + $order = array_map('trim',explode(',', $this->cfg['order'])); + foreach ($order as $ord) $orderBy[] = $ord; $orderFields[] = implode(',', $orderBy); } if (count($orderFields) > 0) $orderByClause = implode(', ', $orderFields); @@ -498,7 +498,14 @@ function _getSubSelect($joined, $searchString, $advSearch) { $whl[] = implode(' AND ', $where); } - $subSelect = 'SELECT DISTINCT ' . $fieldsClause . ' FROM ' . $fromClause; + if (($joined['tb_alias'] != 'tv') && ($searchString)) { + $whl[] = '(' . $this->_getSearchTermsWhere($joined,$searchString,$advSearch). ')'; + $whereClause = '(' . implode(' AND ',$whl). ')'; + $subSelect = 'SELECT DISTINCT ' . $fieldsClause . ' FROM ' . $fromClause . ' WHERE ' . $whereClause; + } + else { + $subSelect = 'SELECT DISTINCT ' . $fieldsClause . ' FROM ' . $fromClause; + } return $subSelect; } function _getFilter($alias, $filter) { @@ -536,6 +543,27 @@ function _getSubFilter($alias, $filter) { if ($where != '') $where = '(' . $where . ')'; return $where; } + function _getSearchTermsWhere($joined,$searchString,$advSearch){ + + $like = $this->_getWhereForm($advSearch); + $whereOper = $this->_getWhereOper($advSearch); + $type = ($advSearch == 'allwords') ? 'oneword' : $advSearch; + $whereStringOper = $this->_getWhereStringOper($type); + + if (isset($joined['searchable'])) + foreach($joined['searchable'] as $searchable) $whsc[] = '(' . $joined['tb_alias'] . '.' . $searchable . $like .')'; + if (count($whsc)) $whereSubClause = implode($whereOper,$whsc); + else $whereSubClause = ''; + + $search = array(); + if ($advSearch == 'exactphrase') $search[] = $searchString; + else $search = explode(' ',$searchString); + + foreach($search as $searchTerm) $where[]= preg_replace('/word/', preg_quote($searchTerm), $whereSubClause); + + $whereClause = implode($whereStringOper,$where); + return $whereClause; + } function _getWhereForm($advSearch) { $whereForm = array('like' => " LIKE '%word%'", 'notlike' => " NOT LIKE '%word%'", 'regexp' => " REGEXP '[[:<:]]word[[:>:]]'"); if ($advSearch == NOWORDS) return $whereForm['notlike']; @@ -552,9 +580,6 @@ function _getWhereStringOper($advSearch) { if ($advSearch == NOWORDS || $advSearch == ALLWORDS) return $whereStringOper['and']; else return $whereStringOper['or']; } - /* - * Get search terms from the input search string - */ function _getSearchTerms($searchString, $advSearch) { $search = array(); if ($advSearch == EXACTPHRASE) $search[] = $searchString; @@ -617,10 +642,10 @@ function _getTvSubSelect($tvs_array,$name,$abrev,$mode) { 'tb_alias' => 'n'.$abrev, 'main' => 'id', 'join' => 'contentid', - 'displayed' => 'value', - 'searchable' => 'value', - 'sql' => $subselect, - 'name' => $name + 'displayed' => 'value', + 'searchable' => 'value', + 'sql' => $subselect, + 'name' => $name ); } return $scTvs; diff --git a/assets/snippets/ajaxSearch/classes/ajaxSearchResults.class.inc.php b/assets/snippets/ajaxSearch/classes/ajaxSearchResults.class.inc.php old mode 100644 new mode 100755 index 5c873c82e1..bba8304d31 --- a/assets/snippets/ajaxSearch/classes/ajaxSearchResults.class.inc.php +++ b/assets/snippets/ajaxSearch/classes/ajaxSearchResults.class.inc.php @@ -5,8 +5,8 @@ * @package AjaxSearchResults * * @author Coroico - www.modx.wangba.fr -* @version 1.9.0 -* @date 18/05/2010 +* @version 1.9.2 +* @date 05/10/2010 * * Purpose: * The AjaxSearchResults class contains all functions and data used to manage Results @@ -124,7 +124,7 @@ function _getSiteList(&$msgErr) { return true; } /* - * Get the list of subsites from $_POST['subsearch'] and $_GET['subsearch'] + * Get the list of subsites from subsearch parameter */ function _getSubsiteList($site, &$msgErr) { $subsiteList = array(); @@ -524,15 +524,16 @@ function _getExtract($text, $searchString, $advSearch, $highlightClass, &$nbExtr $extractLength = $this->asCfg->cfg['extractLength']; $extractLength2 = $extractLength / 2; $searchList = $this->asCtrl->getSearchWords($searchString, $advSearch); - foreach ($searchList as $searchTerm) { $rank++; $wordLength = $mbStrlen($searchTerm); $wordLength2 = $wordLength / 2; // $pattern = '/' . preg_quote($searchTerm, '/') . $lookAhead . '/' . $pcreModifier; - $pattern = '/' . preg_quote($searchTerm, '/') . '/' . $pcreModifier; + if ($advSearch == EXACTPHRASE) $pattern = '/\b' . preg_quote($searchTerm, '/') . '\b/' . $pcreModifier; + else $pattern = '/' . preg_quote($searchTerm, '/') . '/' . $pcreModifier; $matches = array(); $nbr = preg_match_all($pattern, $text, $matches, PREG_OFFSET_CAPTURE); + for($i=0;$i<$nbr && $i<$this->extractNb;$i++) { $wordLeft = $mbStrlen(substr($text,0,$matches[0][$i][1])); $wordRight = $wordLeft + $wordLength - 1; @@ -591,7 +592,8 @@ function _getExtract($text, $searchString, $advSearch, $highlightClass, &$nbExtr if ($this->asCfg->cfg['highlightResult']) { $rank = $extracts[$i]['rank']; $searchTerm = $searchList[$rank - 1]; - $pattern = '/' . preg_quote($searchTerm, '/') . '/' . $pcreModifier; + if ($advSearch == EXACTPHRASE) $pattern = '/\b' . preg_quote($searchTerm, '/') . '\b/' . $pcreModifier; + else $pattern = '/' . preg_quote($searchTerm, '/') . '/' . $pcreModifier; $subject = '\0'; $extract = preg_replace($pattern, $subject, $extract); } @@ -871,18 +873,19 @@ function _doFilterTags($results, $searchString, $advSearch) { if ($searchString !== '') { if (($this->asCfg->dbCharset == 'utf8') && ($this->asCfg->cfg['mbstring'])) { $text = $this->_html_entity_decode($text, ENT_QUOTES, 'UTF-8'); - $mbStrpos = 'mb_stripos'; - mb_internal_encoding('UTF-8'); } else { $text = html_entity_decode($text, ENT_QUOTES); - $mbStrpos = 'stripos'; } $searchList = $this->asCtrl->getSearchWords($searchString, $advSearch); + $pcreModifier = $this->asCfg->pcreModifier; foreach ($searchList as $searchTerm) { - $found = $mbStrpos($text, $searchTerm); - if ($found !== false) break; + if ($advSearch == EXACTPHRASE) $pattern = '/\b' . preg_quote($searchTerm, '/') . '\b/' . $pcreModifier; + else $pattern = '/' . preg_quote($searchTerm, '/') . '/' . $pcreModifier; + $matches = array(); + $found = preg_match($pattern, $text, $matches, PREG_OFFSET_CAPTURE); + if ($found) break; } } } @@ -956,7 +959,7 @@ function defaultStripOutput($text) { $text = $this->stripJscripts($text); - $text = $this->stripHTML($text); + $text = $this->stripHtml($text); } return $text; } @@ -973,13 +976,13 @@ function stripLineBreaking($text) { */ function stripTags($text) { - $modRegExArray[] = '~\[\[(.*?)\]\]~'; - $modRegExArray[] = '~\[!(.*?)!\]~'; - $modRegExArray[] = '!\[\~(.*?)\~\]!is'; - $modRegExArray[] = '~\[\((.*?)\)\]~'; - $modRegExArray[] = '~{{(.*?)}}~'; - $modRegExArray[] = '~\[\*(.*?)\*\]~'; - $modRegExArray[] = '~\[\+(.*?)\+\]~'; + $modRegExArray[] = '~\[\[(.*?)\]\]~s'; + $modRegExArray[] = '~\[\!(.*?)\!\]~s'; + $modRegExArray[] = '#\[\~(.*?)\~\]#s'; + $modRegExArray[] = '~\[\((.*?)\)\]~s'; + $modRegExArray[] = '~{{(.*?)}}~s'; + $modRegExArray[] = '~\[\*(.*?)\*\]~s'; + $modRegExArray[] = '~\[\+(.*?)\+\]~s'; foreach ($modRegExArray as $mReg) $text = preg_replace($mReg, '', $text); return $text; diff --git a/assets/snippets/ajaxSearch/classes/ajaxSearchUtil.class.inc.php b/assets/snippets/ajaxSearch/classes/ajaxSearchUtil.class.inc.php old mode 100644 new mode 100755 index a59a068b35..58133dd104 --- a/assets/snippets/ajaxSearch/classes/ajaxSearchUtil.class.inc.php +++ b/assets/snippets/ajaxSearch/classes/ajaxSearchUtil.class.inc.php @@ -5,8 +5,8 @@ * @package AjaxSearchUtil * * @author Coroico - www.modx.wangba.fr -* @version 1.9.0 -* @date 18/05/2010 +* @version 1.9.2 +* @date 05/12/2010 * * Purpose: * The AjaxSearchUtil class contains some util methods @@ -87,11 +87,8 @@ function dbgRecord() { * @return string Returns the elapsed time */ function getElapsedTime($start=0) { - - $mtime= microtime(); - $mtime= explode(" ", $mtime); - $mtime= $mtime[1] + $mtime[0]; - $tend= $mtime; + list($usec, $sec)= explode(' ', microtime()); + $tend= (float) $usec + (float) $sec; if ($start) $eTime= ($tend - $start); else $eTime= ($tend - $this->tstart); $etime = sprintf("%.4fs",$eTime); diff --git a/assets/snippets/ajaxSearch/configs/default.config.php b/assets/snippets/ajaxSearch/configs/default.config.php old mode 100644 new mode 100755 index 2f2361f96b..43d417b522 --- a/assets/snippets/ajaxSearch/configs/default.config.php +++ b/assets/snippets/ajaxSearch/configs/default.config.php @@ -3,7 +3,7 @@ // Default configuration file - AjaxSearch 1.9 // Keep care all these values are required -$dcfg['version'] = '1.9.0'; +$dcfg['version'] = '1.9.2'; $dcfg['config'] = ''; $dcfg['debug'] = 0; $dcfg['timeLimit'] = 60; @@ -80,4 +80,4 @@ // For a global parameter initialisation use the following syntax $__param = 'value'; // To overwrite parameter snippet call use $param = 'value'; -?> +?> \ No newline at end of file diff --git a/assets/snippets/ajaxSearch/documentation/AjaxSearch190_v4.pdf b/assets/snippets/ajaxSearch/documentation/AjaxSearch190_v4.pdf deleted file mode 100644 index 9ea0c54a2c..0000000000 Binary files a/assets/snippets/ajaxSearch/documentation/AjaxSearch190_v4.pdf and /dev/null differ diff --git a/assets/snippets/ajaxSearch/documentation/AjaxSearch192_v1.pdf b/assets/snippets/ajaxSearch/documentation/AjaxSearch192_v1.pdf new file mode 100755 index 0000000000..653badcdc8 Binary files /dev/null and b/assets/snippets/ajaxSearch/documentation/AjaxSearch192_v1.pdf differ diff --git a/assets/snippets/ajaxSearch/documentation/migrationFrom185To190.txt b/assets/snippets/ajaxSearch/documentation/migrationFrom185To190.txt old mode 100644 new mode 100755 index f3fb9a3ca4..e03c7c2b1d --- a/assets/snippets/ajaxSearch/documentation/migrationFrom185To190.txt +++ b/assets/snippets/ajaxSearch/documentation/migrationFrom185To190.txt @@ -1,4 +1,4 @@ -How to migrate from AjaxSearch 1.8.5 to AjaxSearch 1.9.0 +How to migrate from AjaxSearch 1.8.5 to AjaxSearch 1.9.0 and upper 1/ ============================ Deprecated parameters diff --git a/assets/snippets/ajaxSearch/js/ajaxSearch1/ajaxSearch-jquery.js b/assets/snippets/ajaxSearch/js/ajaxSearch1/ajaxSearch-jquery.js old mode 100644 new mode 100755 index fdb2dc4833..bce39d4416 --- a/assets/snippets/ajaxSearch/js/ajaxSearch1/ajaxSearch-jquery.js +++ b/assets/snippets/ajaxSearch/js/ajaxSearch1/ajaxSearch-jquery.js @@ -1,6 +1,6 @@ /* - * AjaxSearch 1.9.0 - package AjaxSearch 1 - JQuery 1.4.2 - * author: Coroico - www.modx.wangba.fr - 18/05/2010 + * AjaxSearch 1.9.2 - package AjaxSearch 1 - JQuery 1.4.2 + * author: Coroico - www.modx.wangba.fr - 05/12/2010 * * Licensed under the GPL license: http://www.gnu.org/copyleft/gpl.html */ @@ -14,13 +14,13 @@ var _closeAlt='close search'; var _load=_base + 'images/indicator.white.gif'; // loading image var _loadAlt='loading'; -var _version='1.9.0';var _opacity=1.;var _liveSearch=0;var _minChars=3;var _init='none';var _pagingType=1;jQuery(function($){function activateSearch(){for(ias=0;ias').appendTo(sf).hide();as['sl']=$(''+_loadAlt+'').appendTo(sf).hide();as['sr']=$('#'+p+'ajaxSearch_output').hide().removeClass('init');as['si']=$('#'+p+'ajaxSearch_input');as['se']=$('#'+p+'ajaxSearch_select');if(!as['lvs'])as['ss']=$('#'+p+'ajaxSearch_form input:submit');as['sc'].click(function(){closeSearch(as);return false;});if(!as['lvs'])as['ss'].click(function(){doSearch(as);return false;});else as['si'].keyup(function(){doLiveSearch(as);});if(as['si'].length)as['si'].keydown(function(e){var keyCode=e.keyCode||e.which;if(keyCode==13){doSearch(as);}});doSearch(as);} +var res=as['cfg'].match(/&pagingType=`([^`]*)`/);as['pgt']=_pagingType;if(res!==null)as['pgt']=res[1];res=as['cfg'].match(/&opacity=`([^`]*)`/);as['opc']=_opacity;if(res!=null)as['opc']=parseFloat(res[1]);res=as['cfg'].match(/&init=`([^`]*)`/);as['ini']=_init;if(res!=null)as['ini']=res[1];res=as['cfg'].match(/&liveSearch=`([^`]*)`/);as['lvs']=_liveSearch;if(res!=null)as['lvs']=parseInt(res[1]);res=as['cfg'].match(/&minChars=`([^`]*)`/);as['mch']=_minChars;if(res!=null)as['mch']=parseInt(res[1]);res=as['cfg'].match(/&asId=`([^`]*)`/);as['px']='';if(res!=null)as['px']=res[1]+'_';var p=as['px'];sf=$('#'+p+'ajaxSearch_form');as['sc']=$(''+_closeAlt+'').appendTo(sf).hide();as['sl']=$(''+_loadAlt+'').appendTo(sf).hide();as['sr']=$('#'+p+'ajaxSearch_output').hide().removeClass('init');as['si']=$('#'+p+'ajaxSearch_input');as['se']=$('#'+p+'ajaxSearch_select');if(!as['lvs'])as['ss']=$('#'+p+'ajaxSearch_form input:submit');as['sc'].click(function(){closeSearch(as);return false;});if(!as['lvs'])as['ss'].click(function(){doSearch(as);return false;});else as['si'].keyup(function(){doLiveSearch(as);});if(as['si'].length)as['si'].keypress(function(e){var keyCode=e.keyCode||e.which;if(keyCode==13){doSearch(as);return false;}});doSearch(as);} function doLiveSearch(as){if(as['lt']){window.clearTimeout(as['lt']);} as['lt']=setTimeout(function(){doSearch(as)},400);} function doSearch(as){if(!as['lvs']&&as['is'])return false;if(as['si'].length)s=as['si'].val();else if(as['se'].length){sl=new Array();as['se'].find('option:selected').each(function(i){sl.push($(this).attr('value'));});s=sl.join(" ");} -else s='';if(s==as['bxt'])s='';as['s']=s;if(as['si'].length&&(s.length!=0)&&as['lvs']&&(s.length \ No newline at end of file diff --git a/assets/snippets/ajaxSearch/lang/japanese-utf8.inc.php b/assets/snippets/ajaxSearch/lang/japanese-utf8.inc.php old mode 100644 new mode 100755 diff --git a/assets/snippets/ajaxSearch/lang/slovak-utf8.inc.php b/assets/snippets/ajaxSearch/lang/slovak-utf8.inc.php old mode 100644 new mode 100755 index e693c62839..2a1c9d643d --- a/assets/snippets/ajaxSearch/lang/slovak-utf8.inc.php +++ b/assets/snippets/ajaxSearch/lang/slovak-utf8.inc.php @@ -1,18 +1,16 @@ +$_lang['as_resultsTextSingle'] = 'Nájdený %d výsledok.'; +$_lang['as_resultsTextMultiple'] = 'Nájdených %d výsledkov.'; +$_lang['as_grpResultsDisplayedText'] = '(Zobrazujem %d - %d z %d)'; +$_lang['as_resultsDisplayed'] = 'Zobrazených: %d'; +$_lang['as_paging1Text'] = '%d - %d / %d'; +$_lang['as_paging2Text'] = 'Zobraziť ostatných %d výsledkov'; +?> \ No newline at end of file diff --git a/assets/snippets/ajaxSearch/lang/slovak.inc.php b/assets/snippets/ajaxSearch/lang/slovak.inc.php old mode 100644 new mode 100755 index d23456df19..d6a40b8db1 --- a/assets/snippets/ajaxSearch/lang/slovak.inc.php +++ b/assets/snippets/ajaxSearch/lang/slovak.inc.php @@ -1,18 +1,16 @@ +$_lang['as_resultsTextSingle'] = 'Njden %d vsledok.'; +$_lang['as_resultsTextMultiple'] = 'Njdench %d vsledkov.'; +$_lang['as_grpResultsDisplayedText'] = '(Zobrazujem %d - %d z %d)'; +$_lang['as_resultsDisplayed'] = 'Zobrazench: %d'; +$_lang['as_paging1Text'] = '%d - %d / %d'; +$_lang['as_paging2Text'] = 'Zobrazi ostatnch %d vsledkov'; +?> \ No newline at end of file diff --git a/assets/snippets/ajaxSearch/lang/spanish-utf8.inc.php b/assets/snippets/ajaxSearch/lang/spanish-utf8.inc.php old mode 100644 new mode 100755 index f08d3ea988..a0b665b066 --- a/assets/snippets/ajaxSearch/lang/spanish-utf8.inc.php +++ b/assets/snippets/ajaxSearch/lang/spanish-utf8.inc.php @@ -26,10 +26,4 @@ $_lang['as_cmtSubmitText'] = 'enviar'; $_lang['as_cmtResetText'] = 'borrar'; $_lang['as_cmtThksMessage'] = 'Gracias por su comentario'; -$_lang['as_resultsTextSingle'] = '%d resultado encontrado.'; -$_lang['as_resultsTextMultiple'] = '%d resultados encontrados.'; -$_lang['as_grpResultsDisplayedText'] = '(Visualización de %d - %d sobre %d)'; -$_lang['as_resultsDisplayed'] = 'Indicados: %d'; -$_lang['as_paging1Text'] = '%d - %d / %d'; -$_lang['as_paging2Text'] = 'Indicar %d resultados más'; ?> diff --git a/assets/snippets/ajaxSearch/lang/spanish.inc.php b/assets/snippets/ajaxSearch/lang/spanish.inc.php old mode 100644 new mode 100755 index df12044b0b..ac3dd74126 --- a/assets/snippets/ajaxSearch/lang/spanish.inc.php +++ b/assets/snippets/ajaxSearch/lang/spanish.inc.php @@ -25,10 +25,4 @@ $_lang['as_cmtSubmitText'] = 'enviar'; $_lang['as_cmtResetText'] = 'borrar'; $_lang['as_cmtThksMessage'] = 'Gracias por su comentario'; -$_lang['as_resultsTextSingle'] = '%d resultado encontrado.'; -$_lang['as_resultsTextMultiple'] = '%d resultados encontrados.'; -$_lang['as_grpResultsDisplayedText'] = '(Visualizacin de %d - %d sobre %d)'; -$_lang['as_resultsDisplayed'] = 'Indicados: %d'; -$_lang['as_paging1Text'] = '%d - %d / %d'; -$_lang['as_paging2Text'] = 'Indicar %d resultados ms'; ?> diff --git a/assets/snippets/ajaxSearch/module.ajaxSearchLogManager.txt b/assets/snippets/ajaxSearch/module.ajaxSearchLogManager.txt old mode 100644 new mode 100755 index de1c9a1d2a..93f1783857 --- a/assets/snippets/ajaxSearch/module.ajaxSearchLogManager.txt +++ b/assets/snippets/ajaxSearch/module.ajaxSearchLogManager.txt @@ -3,8 +3,8 @@ * ----------------------------------------------------------------------------- * * @author Coroico - www.modx.wangba.fr -* @version 1.9.0 -* @date 18/05/20100 +* @version 1.9.2 +* @date 05/12/20100 * * Purpose: * To display the content of the AjaxSearch Log table in the manager diff --git a/assets/snippets/ajaxSearch/snippet.ajaxSearch.txt b/assets/snippets/ajaxSearch/snippet.ajaxSearch.txt old mode 100644 new mode 100755 index 4952b63146..4096617c1d --- a/assets/snippets/ajaxSearch/snippet.ajaxSearch.txt +++ b/assets/snippets/ajaxSearch/snippet.ajaxSearch.txt @@ -5,13 +5,13 @@ * Ajax and non-Ajax search that supports results highlighting * * @category snippet - * @version 1.9.0 + * @version 1.9.2 * @license http://www.gnu.org/copyleft/gpl.html GNU Public License (GPL) * @internal @properties * @internal @modx_category Search * * @author Coroico - * @date 18/05/2010 + * @date 05/12/2010 * ----------------------------------------------------------------------------- */ /** @@ -71,7 +71,7 @@ MORE : See the ajaxSearch.readme.txt file for more informations. ----------------------------------------------------------------------------- */ // ajaxSearch version being executed -define('AS_VERSION', '1.9.0'); +define('AS_VERSION', '1.9.2'); // Path where ajaxSearch is installed define('AS_SPATH', 'assets/snippets/ajaxSearch/'); //include snippet file @@ -83,12 +83,24 @@ define('AS_PATH', MODX_BASE_PATH . AS_SPATH); global $modx; $tstart = $modx->getMicroTime(); +$cfg = array(); // current configuration +$cfg['version'] = AS_VERSION; + // Load the default configuration $dcfg to get the default values $default = AS_PATH . 'configs/default.config.php'; if (file_exists($default)) include $default; else return "

    AjaxSearch error: $default not found !
    Check the existing of this file!

    "; if (!isset($dcfg)) return "

    AjaxSearch error: default configuration array not defined in $default!
    Check the content of this file!

    "; -$cfg = array(); // current configuration + +if ($dcfg['version'] != AS_VERSION) return "

    AjaxSearch error: Version number mismatch. Check the content of the default configuration file!

    "; + +// check the possible use of deprecated parameters (since 1.8.5) +$readme = "ajaxSearch_version_192.txt"; +if (isset($searchWordList)) return "

    AjaxSearch error: searchWordList is a deprecated parameter. Read " . $readme . " file.

    "; +if (isset($resultsPage)) return "

    AjaxSearch error: resultsPage is a deprecated parameter. Read " . $readme . " file.

    "; +if (isset($AS_showForm)) return "

    AjaxSearch error: AS_showForm parameter has been renamed showInputForm. Read " . $readme . " file.

    "; +if (isset($AS_landing)) return "

    AjaxSearch error: AS_landing parameter has been renamed landingPage. Read " . $readme . " file.

    "; +if (isset($AS_showResults)) return "

    AjaxSearch error: AS_showResults parameter has been renamed showResults. Read " . $readme . " file.

    "; // Load a custom configuration file if required // config_name - Other config installed in the configs folder or in any folder within the MODx base path via @FILE @@ -97,7 +109,7 @@ $cfg = array(); // current configuration $cfg['config'] = isset($config) ? $config : $dcfg['config']; if ($cfg['config']) { $config = $cfg['config']; - $lconfig = (substr($config, 0, 5) != "@FILE") ? AS_PATH . "configs/$config.config.php" : $modx->config['base_path'] . trim(substr($config, 5)); + $lconfig = (substr($config, 0, 6) != "@FILE:") ? AS_PATH . "configs/$config.config.php" : $modx->config['base_path'] . trim(substr($config, 6, strlen($config)-6)); if (file_exists($lconfig)) include $lconfig; else return "

    AjaxSearch error: " . $lconfig . " not found !
    Check your config parameter or your config file name!

    "; } @@ -456,7 +468,6 @@ if ($cfg['ajaxSearch']) { $cfg['jsJquery'] = isset($jsJquery) ? $jsJquery : (isset($__jsJquery) ? $__jsJquery : $dcfg['jsJquery']); } - // ========================================================== End of config include_once AS_PATH . "classes/ajaxSearch.class.inc.php"; if (class_exists('AjaxSearch')) { diff --git a/assets/snippets/ajaxSearch/templates/inputTemplates/readme.txt b/assets/snippets/ajaxSearch/templates/inputTemplates/readme.txt old mode 100644 new mode 100755 index 2c157dd7e3..a42fb476de --- a/assets/snippets/ajaxSearch/templates/inputTemplates/readme.txt +++ b/assets/snippets/ajaxSearch/templates/inputTemplates/readme.txt @@ -3,9 +3,9 @@ * * Ajax and non-Ajax search that supports results highlighting * - * @version 1.9.0 + * @version 1.9.2 * @author Coroico - * @date 12/04/2010 + * @date 05/12/2010 * ----------------------------------------------------------------------------- /** diff --git a/assets/snippets/wayfinder/wayfinder.inc.php b/assets/snippets/wayfinder/wayfinder.inc.php old mode 100644 new mode 100755 index 7b7564fee6..02302c94a7 --- a/assets/snippets/wayfinder/wayfinder.inc.php +++ b/assets/snippets/wayfinder/wayfinder.inc.php @@ -19,7 +19,7 @@ class Wayfinder { var $parentTree = array(); var $hasChildren = array(); var $placeHolders = array( - 'rowLevel' => array('[+wf.wrapper+]','[+wf.classes+]','[+wf.classnames+]','[+wf.link+]','[+wf.title+]','[+wf.linktext+]','[+wf.id+]','[+wf.attributes+]','[+wf.docid+]','[+wf.introtext+]','[+wf.description+]','[+wf.subitemcount+]'), + 'rowLevel' => array('[+wf.wrapper+]','[+wf.classes+]','[+wf.classnames+]','[+wf.link+]','[+wf.title+]','[+wf.linktext+]','[+wf.id+]','[+wf.alias+]','[+wf.attributes+]','[+wf.docid+]','[+wf.introtext+]','[+wf.description+]','[+wf.subitemcount+]'), 'wrapperLevel' => array('[+wf.wrapper+]','[+wf.classes+]','[+wf.classnames+]'), 'tvs' => array(), ); @@ -178,7 +178,7 @@ function renderRow(&$resource,$numChildren) { $useId = ''; } //Load row values into placholder array - $phArray = array($useSub,$useClass,$classNames,$resource['link'],$resource['title'],$resource['linktext'],$useId,$resource['link_attributes'],$resource['id'],$resource['introtext'],$resource['description'],$numChildren); + $phArray = array($useSub,$useClass,$classNames,$resource['link'],$resource['title'],$resource['linktext'],$useId,$resource['alias'],$resource['link_attributes'],$resource['id'],$resource['introtext'],$resource['description'],$numChildren); //If tvs are used add them to the placeholder array if (!empty($this->tvList)) { $usePlaceholders = array_merge($this->placeHolders['rowLevel'],$this->placeHolders['tvs']); diff --git a/index.php b/index.php old mode 100644 new mode 100755 index 57aa06eed3..7f10762f8f --- a/index.php +++ b/index.php @@ -89,18 +89,21 @@ $rt = @include_once(dirname(__FILE__).'/manager/includes/config.inc.php'); // Be sure config.inc.php is there and that it contains some important values if(!$rt || !$database_type || !$database_server || !$database_user || !$dbase) { - echo " - -
    +
    +

    MODx is not currently installed or the configuration file cannot be found.

    -

    Do you want to install now?

    -
    "; +

    Do you want to install now?

    +

    Yes / No

    +
    '; exit; } } diff --git a/install/action.connection.php b/install/action.connection.php old mode 100644 new mode 100755 index c6b5c8884c..955a0948e9 --- a/install/action.connection.php +++ b/install/action.connection.php @@ -23,7 +23,7 @@ } } } else { - $database_name= 'modx'; + $database_name= ''; $database_server= 'localhost'; $table_prefix= 'modx_'; } diff --git a/install/action.mode.php b/install/action.mode.php old mode 100644 new mode 100755 index 0543c9cdba..efcf84c3c2 --- a/install/action.mode.php +++ b/install/action.mode.php @@ -39,6 +39,7 @@

    +

    upgrade existing install
    @@ -57,6 +58,7 @@

    +
    - + @@ -59,6 +59,7 @@ +
    @@ -69,18 +70,29 @@ $setupPath = realpath(dirname(__FILE__)); include "{$setupPath}/setup.info.php"; -echo "

    " . $_lang['optional_items'] . "

    " . $_lang['optional_items_note'] . "

    "; +if($_POST['installmode'] === '0') +{ + echo "

    " . $_lang['optional_items'] . "

    " . $_lang['optional_items_new_note'] . "

    "; +} +else +{ + echo "

    " . $_lang['optional_items'] . "

    " . $_lang['optional_items_upd_note'] . "

    "; +} $chk = isset ($_POST['installdata']) && $_POST['installdata'] == "1" ? 'checked="checked"' : ""; +if($installMode == 0) +{ echo 'Sample Data'; echo "

    " . $_lang['sample_web_site'] . "

    "; -echo "

     

     " . $_lang['sample_web_site_note'] . "


    "; +echo "

     

     " . $_lang['sample_web_site_note'] . "

    "; +} +echo '
    '; // toggle options echo "

    " . $_lang['checkbox_select_options'] . "

    -

    " . $_lang['all'] . " " . $_lang['none'] . " " . $_lang['toggle'] . "

    -
    -
    "; +

    " . $_lang['all'] . " " . $_lang['none'] . " " . $_lang['toggle'] . "

    +
    +
    "; $options_selected = isset ($_POST['options_selected']); @@ -88,10 +100,15 @@ $templates = isset ($_POST['template']) ? $_POST['template'] : array (); $limit = count($moduleTemplates); if ($limit > 0) { - echo "

    " . $_lang['templates'] . "


    "; + $tplOutput = ''; for ($i = 0; $i < $limit; $i++) { + $class = !in_array('sample', $moduleTemplates[$i][6]) ? 'toggle' : 'toggle demo'; $chk = in_array($i, $templates) || (!$options_selected) ? 'checked="checked"' : ""; - echo "" . $_lang['install_update'] . " " . $moduleTemplates[$i][0] . " - " . $moduleTemplates[$i][1] . "
    "; + $tplOutput .= "" . $_lang['install_update'] . " " . $moduleTemplates[$i][0] . " - " . $moduleTemplates[$i][1] . "
    \n"; + } + if($tplOutput !== '') { + echo "

    " . $_lang['templates'] . "


    "; + echo $tplOutput; } } @@ -99,10 +116,15 @@ $tvs = isset ($_POST['tv']) ? $_POST['tv'] : array (); $limit = count($moduleTVs); if ($limit > 0) { - echo "

    " . $_lang['tvs'] . "


    "; + $tvOutput = ''; for ($i = 0; $i < $limit; $i++) { + $class = !in_array('sample', $moduleTVs[$i][12]) ? "toggle" : "toggle demo"; $chk = in_array($i, $tvs) || (!$options_selected) ? 'checked="checked"' : ""; - echo "" . $_lang['install_update'] . " " . $moduleTVs[$i][0] . " - " . $moduleTVs[$i][2] . "
    "; + $tvOutput .= "" . $_lang['install_update'] . " " . $moduleTVs[$i][0] . " - " . $moduleTVs[$i][2] . "
    \n"; + } + if($tvOutput != '') { + echo "

    " . $_lang['tvs'] . "


    \n"; + echo $tvOutput; } } @@ -110,10 +132,15 @@ $chunks = isset ($_POST['chunk']) ? $_POST['chunk'] : array (); $limit = count($moduleChunks); if ($limit > 0) { - echo "

    " . $_lang['chunks'] . "

    "; + $chunkOutput = ''; for ($i = 0; $i < $limit; $i++) { + $class = !in_array('sample', $moduleChunks[$i][5]) ? "toggle" : "toggle demo"; $chk = in_array($i, $chunks) || (!$options_selected) ? 'checked="checked"' : ""; - echo "" . $_lang['install_update'] . " " . $moduleChunks[$i][0] . " - " . $moduleChunks[$i][1] . "
    "; + $chunkOutput .= "" . $_lang['install_update'] . " " . $moduleChunks[$i][0] . " - " . $moduleChunks[$i][1] . "
    "; + } + if($chunkOutput != '') { + echo "

    " . $_lang['chunks'] . "

    "; + echo $chunkOutput; } } @@ -121,10 +148,15 @@ $modules = isset ($_POST['module']) ? $_POST['module'] : array (); $limit = count($moduleModules); if ($limit > 0) { - echo "

    " . $_lang['modules'] . "

    "; + $moduleOutput = ''; for ($i = 0; $i < $limit; $i++) { + $class = !in_array('sample', $moduleModules[$i][7]) ? "toggle" : "toggle demo"; $chk = in_array($i, $modules) || (!$options_selected) ? 'checked="checked"' : ""; - echo "" . $_lang['install_update'] . " " . $moduleModules[$i][0] . " - " . $moduleModules[$i][1] . "
    "; + $moduleOutput .= "" . $_lang['install_update'] . " " . $moduleModules[$i][0] . " - " . $moduleModules[$i][1] . "
    "; + } + if($moduleOutput != '') { + echo "

    " . $_lang['modules'] . "

    "; + echo $moduleOutput; } } @@ -132,10 +164,15 @@ $plugins = isset ($_POST['plugin']) ? $_POST['plugin'] : array (); $limit = count($modulePlugins); if ($limit > 0) { - echo "

    " . $_lang['plugins'] . "

    "; + $pluginOutput = ''; for ($i = 0; $i < $limit; $i++) { + $class = !in_array('sample', $modulePlugins[$i][8]) ? "toggle" : "toggle demo"; $chk = in_array($i, $plugins) || (!$options_selected) ? 'checked="checked"' : ""; - echo "" . $_lang['install_update'] . " " . $modulePlugins[$i][0] . " - " . $modulePlugins[$i][1] . "
    "; + $pluginOutput .= "" . $_lang['install_update'] . " " . $modulePlugins[$i][0] . " - " . $modulePlugins[$i][1] . "
    "; + } + if($pluginOutput != '') { + echo "

    " . $_lang['plugins'] . "

    "; + echo $pluginOutput; } } @@ -143,74 +180,66 @@ $snippets = isset ($_POST['snippet']) ? $_POST['snippet'] : array (); $limit = count($moduleSnippets); if ($limit > 0) { - echo "

    " . $_lang['snippets'] . "

    "; + $snippetOutput = ''; for ($i = 0; $i < $limit; $i++) { + $class = !in_array('sample', $moduleSnippets[$i][5]) ? "toggle" : "toggle demo"; $chk = in_array($i, $snippets) || (!$options_selected) ? 'checked="checked"' : ""; - echo "" . $_lang['install_update'] . " " . $moduleSnippets[$i][0] . " - " . $moduleSnippets[$i][1] . "
    "; + $snippetOutput .= "" . $_lang['install_update'] . " " . $moduleSnippets[$i][0] . " - " . $moduleSnippets[$i][1] . "
    "; + } + if($snippetOutput != '') { + echo "

    " . $_lang['snippets'] . "

    "; + echo $snippetOutput; } } ?> -
    +
    + + // handle state of demo content checkbox on page load + handleSampleDataCheckbox(); + }); + \ No newline at end of file diff --git a/install/action.summary.php b/install/action.summary.php old mode 100644 new mode 100755 index 9f0518362a..3119783172 --- a/install/action.summary.php +++ b/install/action.summary.php @@ -53,6 +53,12 @@ } // cache files writable? echo "

    " . $_lang['checking_if_cache_file_writable']; +if (!file_exists("../assets/cache/siteCache.idx.php")) { + // make an attempt to create the file + @ $hnd = fopen("../assets/cache/siteCache.idx.php", 'w'); + @ fwrite($hnd, ""); + @ fclose($hnd); +} if (!is_writable("../assets/cache/siteCache.idx.php")) { echo "" . $_lang['failed'] . "

    "; $errors += 1; @@ -274,6 +280,7 @@ + diff --git a/install/assets/chunks/mm_demo_rules.tpl b/install/assets/chunks/mm_demo_rules.tpl old mode 100644 new mode 100755 index 0ca6d6e9e2..71bbd99fb4 --- a/install/assets/chunks/mm_demo_rules.tpl +++ b/install/assets/chunks/mm_demo_rules.tpl @@ -8,6 +8,7 @@ * @license http://www.gnu.org/copyleft/gpl.html GNU Public License (GPL) * @internal @modx_category Demo Content * @internal @overwrite false + * @internal @installset base, sample */ // more example rules are in assets/plugins/managermanager/example_mm_rules.inc.php diff --git a/install/assets/chunks/weblogin.sidebar.tpl b/install/assets/chunks/weblogin.sidebar.tpl index 2d58646034..c5378366c6 100755 --- a/install/assets/chunks/weblogin.sidebar.tpl +++ b/install/assets/chunks/weblogin.sidebar.tpl @@ -1,67 +1,40 @@ /** - * WebLoginSidebar + * WebLoginSideBar * * WebLogin Tpl * * @category chunk - * @version 1.0 + * @version 1.1 * @license http://www.gnu.org/copyleft/gpl.html GNU Public License (GPL) * @internal @modx_category Login + * @internal @installset base, sample */ - + -
    - - - - - -
    - - - - - - - - - - - - - - - - -
    User:
    Password:
    - - - - - -
    -
    -
    Forget Password?
    -
    + + +
    +

    Your Login Details

    + + + + + Forget Your Password? +

    -[+logouttext+] +

    You're already logged in

    +Do you wish to [+logouttext+]?
    -
    - - - - - - - - - - - -
    Enter the email address of your account
    below to receive your password:
    -
    + +
    +

    It happens to everyone...

    + + + + +
    diff --git a/install/assets/modules/docmanager.tpl b/install/assets/modules/docmanager.tpl old mode 100644 new mode 100755 index 1169adbfeb..70026951d4 --- a/install/assets/modules/docmanager.tpl +++ b/install/assets/modules/docmanager.tpl @@ -7,11 +7,12 @@ * @category module * @version 1.1 * @license http://www.gnu.org/copyleft/gpl.html GNU Public License (GPL) - * @internal @properties + * @internal @properties * @internal @guid * @internal @shareparams 1 * @internal @dependencies requires files located at /assets/modules/docmanager/ * @internal @modx_category Manager and Admin + * @internal @installset base, sample */ include_once(MODX_BASE_PATH.'assets/modules/docmanager/classes/docmanager.class.php'); diff --git a/install/assets/plugins/ForgotManagerPassword.tpl b/install/assets/plugins/ForgotManagerPassword.tpl old mode 100644 new mode 100755 index fa903407dc..30ef45cf84 --- a/install/assets/plugins/ForgotManagerPassword.tpl +++ b/install/assets/plugins/ForgotManagerPassword.tpl @@ -9,6 +9,7 @@ * @license http://www.gnu.org/copyleft/gpl.html GNU Public License (GPL) * @internal @events OnBeforeManagerLogin,OnManagerAuthentication,OnManagerLoginFormRender * @internal @modx_category Manager and Admin + * @internal @installset base */ if(!class_exists('ForgotManagerPassword')) { diff --git a/install/assets/plugins/enable-bindings.tpl b/install/assets/plugins/enable-bindings.tpl new file mode 100755 index 0000000000..5061e36956 --- /dev/null +++ b/install/assets/plugins/enable-bindings.tpl @@ -0,0 +1,45 @@ +//Event; +global $settings; +$action = $modx->manager->action; +if($action!==17) return; +$enable_bindings = (is_null($settings['enable_bindings'])) ? '1' : $settings['enable_bindings']; +$html = render_html($enable_bindings); +$e->output($html); + +function render_html($enable_bindings) +{ + global $_lang; + $str = '' . PHP_EOL; + $str .= ' ' . PHP_EOL; + $str .= ' ' . PHP_EOL; + $str .= ' ' . PHP_EOL; + $str .= ' ' . PHP_EOL; + $str .= ' ' . PHP_EOL; + $str .= ' ' . PHP_EOL; + $str .= ' ' . PHP_EOL; + $str .= ' ' . PHP_EOL; + $str .= ' ' . PHP_EOL; + $str .= ' ' . PHP_EOL; + $str .= ' ' . PHP_EOL; + $str .= '

    @Bindingsの設定

    @Bindingsを有効にする' . PHP_EOL; + $str .= $_lang["yes"] . '
    ' . PHP_EOL; + $str .= ' ' . PHP_EOL; + $str .= $_lang["no"] . '
     @Bindings commands enable
    ' . PHP_EOL; + return $str; +} diff --git a/install/assets/plugins/inherit-parent-tpl.tpl b/install/assets/plugins/inherit-parent-tpl.tpl deleted file mode 100644 index 5622966cf9..0000000000 --- a/install/assets/plugins/inherit-parent-tpl.tpl +++ /dev/null @@ -1,54 +0,0 @@ -Event; - -switch($e->name) { - case 'OnDocFormPrerender': - if ($inheritTemplate == 'From First Sibling') { - if ($_REQUEST['pid'] > 0 && $id == 0) { - if ($sibl = $modx->getDocumentChildren($_REQUEST['pid'], 1, 0, 'template', '', 'menuindex', 'ASC', 1)) { - $content['template'] = $sibl[0]['template']; - } else if ($sibl = $modx->getDocumentChildren($_REQUEST['pid'], 0, 0, 'template', '', 'menuindex', 'ASC', 1)) { - $content['template'] = $sibl[0]['template']; - } else if ($parent = $modx->getPageInfo($_REQUEST['pid'], 0, 'template')) { - $content['template'] = $parent['template']; - } - } - } else { - if ($parent = $modx->getPageInfo($_REQUEST['pid'],0,'template')) { - $content['template'] = $parent['template']; - } - } - break; - default: - break; -} \ No newline at end of file diff --git a/install/assets/plugins/mgrmgr.tpl b/install/assets/plugins/mgrmgr.tpl old mode 100644 new mode 100755 index 4c76705cba..2b5187f148 --- a/install/assets/plugins/mgrmgr.tpl +++ b/install/assets/plugins/mgrmgr.tpl @@ -11,6 +11,7 @@ * @internal @events OnDocFormRender,OnDocFormPrerender,OnPluginFormRender,OnTVFormRender * @internal @modx_category Manager and Admin * @internal @legacy_names Image TV Preview, Show Image TVs + * @internal @installset base, sample */ // You can put your ManagerManager rules EITHER in a chunk OR in an external file - whichever suits your development style the best diff --git a/install/assets/plugins/qm.tpl b/install/assets/plugins/qm.tpl old mode 100644 new mode 100755 index 435eb2487d..5f2d946c73 --- a/install/assets/plugins/qm.tpl +++ b/install/assets/plugins/qm.tpl @@ -11,6 +11,7 @@ * @internal @events OnParseDocument,OnWebPagePrerender,OnDocFormPrerender,OnDocFormSave,OnManagerLogout * @internal @modx_category Manager and Admin * @internal @legacy_names QM+ + * @internal @installset base, sample */ diff --git a/install/assets/plugins/searchhighlight.tpl b/install/assets/plugins/searchhighlight.tpl old mode 100644 new mode 100755 index f50d22f91b..cd4dd2cebd --- a/install/assets/plugins/searchhighlight.tpl +++ b/install/assets/plugins/searchhighlight.tpl @@ -10,6 +10,7 @@ * @internal @events OnWebPagePrerender * @internal @modx_category Search * @internal @legacy_names Search Highlighting + * @internal @installset base, sample */ /* diff --git a/install/assets/plugins/tinymce.tpl b/install/assets/plugins/tinymce.tpl old mode 100644 new mode 100755 index cb6fc55982..3311f9c4f8 --- a/install/assets/plugins/tinymce.tpl +++ b/install/assets/plugins/tinymce.tpl @@ -11,6 +11,7 @@ * @internal @events OnRichTextEditorRegister,OnRichTextEditorInit,OnInterfaceSettingsRender * @internal @modx_category Manager and Admin * @internal @legacy_names TinyMCE + * @internal @installset base, sample * * Written By Jeff Whitfield * and Mikko Lammi / updated: 03/09/2010 diff --git a/install/assets/plugins/transalias.tpl b/install/assets/plugins/transalias.tpl old mode 100644 new mode 100755 index 7cf7be1f86..29918a8be5 --- a/install/assets/plugins/transalias.tpl +++ b/install/assets/plugins/transalias.tpl @@ -13,6 +13,7 @@ * @internal @properties &table_name=Trans table;list;common,russian,utf8,utf8lowercase;utf8lowercase &char_restrict=Restrict alias to;list;lowercase alphanumeric,alphanumeric,legal characters;legal characters &remove_periods=Remove Periods;list;Yes,No;No &word_separator=Word Separator;list;dash,underscore,none;dash &override_tv=Override TV name;string; * @internal @events OnStripAlias * @internal @modx_category Manager and Admin + * @internal @installset base, sample */ /* diff --git a/install/assets/snippets/ajaxSearch.tpl b/install/assets/snippets/ajaxSearch.tpl index 9cf4170785..2b7aa6e13e 100755 --- a/install/assets/snippets/ajaxSearch.tpl +++ b/install/assets/snippets/ajaxSearch.tpl @@ -4,13 +4,14 @@ * Ajax and non-Ajax search that supports results highlighting * * @category snippet - * @version 1.9.0 + * @version 1.9.2 * @license http://www.gnu.org/copyleft/gpl.html GNU Public License (GPL) * @internal @properties * @internal @modx_category Search + * @internal @installset base, sample * * @author Coroico - * @date 18/05/2010 + * @date 05/12/2010 * ----------------------------------------------------------------------------- */ /** @@ -70,7 +71,7 @@ MORE : See the ajaxSearch.readme.txt file for more informations. ----------------------------------------------------------------------------- */ // ajaxSearch version being executed -define('AS_VERSION', '1.9.0'); +define('AS_VERSION', '1.9.2'); // Path where ajaxSearch is installed define('AS_SPATH', 'assets/snippets/ajaxSearch/'); //include snippet file @@ -82,12 +83,24 @@ define('AS_PATH', MODX_BASE_PATH . AS_SPATH); global $modx; $tstart = $modx->getMicroTime(); +$cfg = array(); // current configuration +$cfg['version'] = AS_VERSION; + // Load the default configuration $dcfg to get the default values $default = AS_PATH . 'configs/default.config.php'; if (file_exists($default)) include $default; else return "

    AjaxSearch error: $default not found !
    Check the existing of this file!

    "; if (!isset($dcfg)) return "

    AjaxSearch error: default configuration array not defined in $default!
    Check the content of this file!

    "; -$cfg = array(); // current configuration + +if ($dcfg['version'] != AS_VERSION) return "

    AjaxSearch error: Version number mismatch. Check the content of the default configuration file!

    "; + +// check the possible use of deprecated parameters (since 1.8.5) +$readme = "ajaxSearch_version_192.txt"; +if (isset($searchWordList)) return "

    AjaxSearch error: searchWordList is a deprecated parameter. Read " . $readme . " file.

    "; +if (isset($resultsPage)) return "

    AjaxSearch error: resultsPage is a deprecated parameter. Read " . $readme . " file.

    "; +if (isset($AS_showForm)) return "

    AjaxSearch error: AS_showForm parameter has been renamed showInputForm. Read " . $readme . " file.

    "; +if (isset($AS_landing)) return "

    AjaxSearch error: AS_landing parameter has been renamed landingPage. Read " . $readme . " file.

    "; +if (isset($AS_showResults)) return "

    AjaxSearch error: AS_showResults parameter has been renamed showResults. Read " . $readme . " file.

    "; // Load a custom configuration file if required // config_name - Other config installed in the configs folder or in any folder within the MODx base path via @FILE @@ -96,7 +109,7 @@ $cfg = array(); // current configuration $cfg['config'] = isset($config) ? $config : $dcfg['config']; if ($cfg['config']) { $config = $cfg['config']; - $lconfig = (substr($config, 0, 5) != "@FILE") ? AS_PATH . "configs/$config.config.php" : $modx->config['base_path'] . trim(substr($config, 5)); + $lconfig = (substr($config, 0, 6) != "@FILE:") ? AS_PATH . "configs/$config.config.php" : $modx->config['base_path'] . trim(substr($config, 6, strlen($config)-6)); if (file_exists($lconfig)) include $lconfig; else return "

    AjaxSearch error: " . $lconfig . " not found !
    Check your config parameter or your config file name!

    "; } @@ -455,7 +468,6 @@ if ($cfg['ajaxSearch']) { $cfg['jsJquery'] = isset($jsJquery) ? $jsJquery : (isset($__jsJquery) ? $__jsJquery : $dcfg['jsJquery']); } - // ========================================================== End of config include_once AS_PATH . "classes/ajaxSearch.class.inc.php"; if (class_exists('AjaxSearch')) { @@ -467,4 +479,4 @@ if (class_exists('AjaxSearch')) { $elapsedTime = $modx->getMicroTime() - $tstart; $etime = sprintf("%.4fs",$elapsedTime); //$f=fopen('test.txt','a+');fwrite($f,"etime=".$etime."\n\n"); -return $output; +return $output; \ No newline at end of file diff --git a/install/assets/snippets/breadcrumbs.tpl b/install/assets/snippets/breadcrumbs.tpl old mode 100644 new mode 100755 index 7329eb38b5..f0032a6155 --- a/install/assets/snippets/breadcrumbs.tpl +++ b/install/assets/snippets/breadcrumbs.tpl @@ -7,8 +7,9 @@ * @category snippet * @version 1.0.2 * @license http://www.gnu.org/copyleft/gpl.html GNU Public License (GPL) - * @internal @properties + * @internal @properties * @internal @modx_category Navigation + * @internal @installset base, sample */ /* diff --git a/install/assets/snippets/ditto.tpl b/install/assets/snippets/ditto.tpl index 974ce25cb9..1cf45d2325 100755 --- a/install/assets/snippets/ditto.tpl +++ b/install/assets/snippets/ditto.tpl @@ -9,6 +9,7 @@ * @license http://www.gnu.org/copyleft/gpl.html GNU Public License (GPL) * @internal @properties * @internal @modx_category Content + * @internal @installset base, sample */ /* Description: diff --git a/install/assets/snippets/eform.tpl b/install/assets/snippets/eform.tpl index 9b88388bd3..cc35b8b497 100755 --- a/install/assets/snippets/eform.tpl +++ b/install/assets/snippets/eform.tpl @@ -7,8 +7,9 @@ * @category snippet * @version 1.4.4.6 * @license http://www.gnu.org/copyleft/gpl.html GNU Public License (GPL) - * @internal @properties + * @internal @properties * @internal @modx_category Forms + * @internal @installset base, sample */ # eForm 1.4.4.6 - Electronic Form Snippet diff --git a/install/assets/snippets/firstchild.tpl b/install/assets/snippets/firstchild.tpl old mode 100644 new mode 100755 index 8c2d6c3d8d..d804cbd538 --- a/install/assets/snippets/firstchild.tpl +++ b/install/assets/snippets/firstchild.tpl @@ -7,8 +7,9 @@ * @category snippet * @version 1.0 * @license http://www.gnu.org/copyleft/gpl.html GNU Public License (GPL) - * @internal @properties + * @internal @properties * @internal @modx_category Navigation + * @internal @installset base */ diff --git a/install/assets/snippets/jot.tpl b/install/assets/snippets/jot.tpl old mode 100644 new mode 100755 index 0a9daae8e9..c6e1fa9466 --- a/install/assets/snippets/jot.tpl +++ b/install/assets/snippets/jot.tpl @@ -7,8 +7,9 @@ * @category snippet * @version 1.1.4 * @license http://www.gnu.org/copyleft/gpl.html GNU Public License (GPL) - * @internal @properties + * @internal @properties * @internal @modx_category Content + * @internal @installset base, sample */ diff --git a/install/assets/snippets/listindexer.tpl b/install/assets/snippets/listindexer.tpl old mode 100644 new mode 100755 index 09358df7ec..214c41497b --- a/install/assets/snippets/listindexer.tpl +++ b/install/assets/snippets/listindexer.tpl @@ -7,8 +7,9 @@ * @category snippet * @version 1.0.1 * @license http://www.gnu.org/copyleft/gpl.html GNU Public License (GPL) - * @internal @properties + * @internal @properties * @internal @modx_category Navigation + * @internal @installset base */ // added in 1.0.1: hidePrivate (hide items from unauthorized users) diff --git a/install/assets/snippets/membercheck.tpl b/install/assets/snippets/membercheck.tpl old mode 100644 new mode 100755 index 06652ad941..f4fb930a5f --- a/install/assets/snippets/membercheck.tpl +++ b/install/assets/snippets/membercheck.tpl @@ -7,8 +7,9 @@ * @category snippet * @version 1.1 * @license http://www.gnu.org/copyleft/gpl.html GNU Public License (GPL) - * @internal @properties + * @internal @properties * @internal @modx_category Login + * @internal @installset base */ #:::::::::::::::::::::::::::::::::::::::: diff --git a/install/assets/snippets/personalize.tpl b/install/assets/snippets/personalize.tpl old mode 100644 new mode 100755 index eb26ac94fe..729eae6cbb --- a/install/assets/snippets/personalize.tpl +++ b/install/assets/snippets/personalize.tpl @@ -7,8 +7,9 @@ * @category snippet * @version 2.0 * @license http://www.gnu.org/copyleft/gpl.html GNU Public License (GPL) - * @internal @properties + * @internal @properties * @internal @modx_category Login + * @internal @installset base */ #:::::::::::::::::::::::::::::::::::::::: @@ -46,7 +47,7 @@ # # Example Usage: # -# [[LoggedOrNot? &yesChunk=`Link` &noChunk=`Register` &ph=`name`]] +# [[Personalize? &yesChunk=`Link` &noChunk=`Register` &ph=`name`]] # # Having Chunks named {{Link}} and another {{Register}}, the first will be # published to registered user, the second to non-registered users. diff --git a/install/assets/snippets/reflect.tpl b/install/assets/snippets/reflect.tpl old mode 100644 new mode 100755 index 4e6c4f119e..0b3ac71068 --- a/install/assets/snippets/reflect.tpl +++ b/install/assets/snippets/reflect.tpl @@ -7,8 +7,9 @@ * @category snippet * @version 2.1.0 * @license http://www.gnu.org/copyleft/gpl.html GNU Public License (GPL) - * @internal @properties + * @internal @properties * @internal @modx_category Content + * @internal @installset base, sample */ diff --git a/install/assets/snippets/ultparent.tpl b/install/assets/snippets/ultparent.tpl old mode 100644 new mode 100755 index 6baa80f4c0..45d4dabb27 --- a/install/assets/snippets/ultparent.tpl +++ b/install/assets/snippets/ultparent.tpl @@ -7,8 +7,9 @@ * @category snippet * @version 2.0 * @license http://www.gnu.org/copyleft/gpl.html GNU Public License (GPL) - * @internal @properties + * @internal @properties * @internal @modx_category Navigation + * @internal @installset base */ diff --git a/install/assets/snippets/wayfinder.tpl b/install/assets/snippets/wayfinder.tpl old mode 100644 new mode 100755 index c7da91f08a..2f557c524e --- a/install/assets/snippets/wayfinder.tpl +++ b/install/assets/snippets/wayfinder.tpl @@ -7,8 +7,9 @@ * @category snippet * @version 2.0 * @license http://www.gnu.org/copyleft/gpl.html GNU Public License (GPL) - * @internal @properties + * @internal @properties * @internal @modx_category Navigation + * @internal @installset base, sample */ diff --git a/install/assets/snippets/webchangepwd.tpl b/install/assets/snippets/webchangepwd.tpl index 528f73c212..d40e03f45f 100755 --- a/install/assets/snippets/webchangepwd.tpl +++ b/install/assets/snippets/webchangepwd.tpl @@ -7,8 +7,9 @@ * @category snippet * @version 1.0 * @license http://www.gnu.org/copyleft/gpl.html GNU Public License (GPL) - * @internal @properties + * @internal @properties * @internal @modx_category Login + * @internal @installset base */ diff --git a/install/assets/snippets/weblogin.tpl b/install/assets/snippets/weblogin.tpl index dece5ba884..93f36e89ef 100755 --- a/install/assets/snippets/weblogin.tpl +++ b/install/assets/snippets/weblogin.tpl @@ -9,6 +9,7 @@ * @license http://www.gnu.org/copyleft/gpl.html GNU Public License (GPL) * @internal @properties &loginhomeid=Login Home Id;string; &logouthomeid=Logout Home Id;string; &logintext=Login Button Text;string; &logouttext=Logout Button Text;string; &tpl=Template;string; * @internal @modx_category Login + * @internal @installset base, sample */ # Created By Raymond Irving 2004 diff --git a/install/assets/snippets/websignup.tpl b/install/assets/snippets/websignup.tpl index 42a092a053..14c6fa28fe 100755 --- a/install/assets/snippets/websignup.tpl +++ b/install/assets/snippets/websignup.tpl @@ -9,6 +9,7 @@ * @license http://www.gnu.org/copyleft/gpl.html GNU Public License (GPL) * @internal @properties &tpl=Template;string; * @internal @modx_category Login + * @internal @installset base, sample */ diff --git a/install/assets/templates/modx_host.tpl b/install/assets/templates/modx_host.tpl old mode 100644 new mode 100755 index 3f1e6623e8..6e3ede18ff --- a/install/assets/templates/modx_host.tpl +++ b/install/assets/templates/modx_host.tpl @@ -8,6 +8,7 @@ * @license http://www.gnu.org/copyleft/gpl.html GNU Public License (GPL) * @internal @lock_template 0 * @internal @modx_category Demo Content + * @internal @installset sample */ @@ -40,7 +41,7 @@

    Most Recent:

    [[ListIndexer?LIn_root=0]]

    Login:

    -
    [!WebLogin? &tpl=`FormLogin` &loginhomeid=`[(site_start)]`!]
    +
    [!WebLogin? &tpl=`WebLoginSideBar` &loginhomeid=`[(site_start)]`!]

    Meta:

    Valid XHTML

    Valid css

    @@ -53,6 +54,7 @@
    + [[Breadcrumbs?]]

    [*longtitle*]

    diff --git a/install/assets/tvs/blogContent.tpl b/install/assets/tvs/blogContent.tpl new file mode 100755 index 0000000000..77af201088 --- /dev/null +++ b/install/assets/tvs/blogContent.tpl @@ -0,0 +1,18 @@ +/** + * blogContent + * + * RTE for the new blog entries + * + * @category tv + * @name blogContent + * @internal @caption blogContent + * @internal @input_type richtext + * @internal @input_options + * @internal @input_default + * @internal @output_widget RichText + * @internal @output_widget_params &w=383px&h=450px&edt=TinyMCE + * @internal @lock_tv 0 + * @internal @template_assignments MODxHost + * @internal @modx_category Demo Content + * @internal @installset sample + */ \ No newline at end of file diff --git a/install/assets/tvs/documentTags.tpl b/install/assets/tvs/documentTags.tpl new file mode 100755 index 0000000000..fdc3bccb43 --- /dev/null +++ b/install/assets/tvs/documentTags.tpl @@ -0,0 +1,18 @@ +/** + * documentTags + * + * Space delimited tags for the current document + * + * @category tv + * @name documentTags + * @internal @caption Tags + * @internal @input_type text + * @internal @input_options + * @internal @input_default + * @internal @output_widget + * @internal @output_widget_params + * @internal @lock_tv 0 + * @internal @template_assignments MODxHost + * @internal @modx_category Demo Content + * @internal @installset sample + */ \ No newline at end of file diff --git a/install/assets/tvs/loginName.tpl b/install/assets/tvs/loginName.tpl new file mode 100755 index 0000000000..cf34497e62 --- /dev/null +++ b/install/assets/tvs/loginName.tpl @@ -0,0 +1,18 @@ +/** + * loginName + * + * Conditional name for the Login menu item + * + * @category tv + * @name loginName + * @internal @caption loginName + * @internal @input_type text + * @internal @input_options + * @internal @input_default @EVAL if ($modx->getLoginUserID()) return 'Logout'; else return 'Login'; + * @internal @output_widget + * @internal @output_widget_params + * @internal @lock_tv 0 + * @internal @template_assignments MODxHost + * @internal @modx_category Demo Content + * @internal @installset sample + */ \ No newline at end of file diff --git a/install/changelog.txt b/install/changelog.txt index a3842893ef..bb6116a551 100755 --- a/install/changelog.txt +++ b/install/changelog.txt @@ -20,6 +20,15 @@ Bugfixes: * [#488] Fix bad check for mysql strict mode * [#595] Fix bad path on Resource Editor rich text fields when TMCE in "root relative" mode * [#1252] Fix @SELECT multi-select listbox TV losing its value when switching Content field "Editor to use" +* [#321] stop parser from running case-mismatched snippet calls +* [#343] Fix Hiding "Validate Referer" warning messes up the setting itself +* [#432] Fix TV date-layer display problem with multiple datefields in FF 3.6.3 +* [#445] Fix error displaying filenames with non-Latin charsets +* [#577] Fix Spanish UTF8 language file +* [#760] Fix Document tree not loading in children +* [#609] Fix web_groups and member_groups tables can have duplicate entries +* [#364] Fix W3C validation problem with TV image output widget +* [#2957] Allow multibyte strings in QuickManager+ TV buttons -------------------------------------------- Additional Improvements & Updates: @@ -30,6 +39,33 @@ Additional Improvements & Updates: * [#23] Quick Manager+ updated to 1.5.3-GA * [#421] ManagerManager updated to 0.3.9 * [#359][#421] Default Chunk for ManagerManager rules now "mm_rules"; Since demo rules are "mm_demo_rules", MM is now disabled on install +* [#308] Return to active tab for Elements, regardless of "Remember tabs" system setting +* [#331] Updated Czech language file +* [#881] Improvements to Template inheritance (moved from plugin into core, added system setting to control behavior) +* [#592] Adjustment of manager fonts +* [#476] Improvement to New user's default role +* [#378] Check for and disallow reserved words in Template Variable names +* [#1360] Better handling of Template Switcher plugin +* [#833] Manager and Web User comments field no longer limited to 255 characters +* [#1132] New system setting to strip characters from files uploaded in Manage Files (using same logic configured for aliases) +* [#190] Resolve hostnames config option deprecated +* [#1065] Let manager themes have their own welcome.html page +* [#216] Optimization of core methods (getParentIds & getChildIds) +* [#819] Improvement in config.inc.php file (new installs only) so proper MODX_SITE_URL constant is set in API Mode +* [#2867] Improvements to installer with respect to handling of Demo Site option and related elements +* [#2867] Laid foundation for "installsets" or preset groups of installer elements +* [#2963] New icons in manager resource tree (to reflect site start, error page, site unavailable and unauthorized system settings) +* [#594] Tweaked Quick Manager window open style +* [#487] Links updated in demo site content +* [#3075] Apply monospace font to manager textarea fields +* [#999] Enhance ordering logic when displaying lists of TVs +* [#2953] Fix QuickManager+ Google Chrome font problem (text-shadow) +* [#3063][#3064][#3065] Replace calls to deprecated db-related parser methods with calls to db class methods +* [#2961] Wayfinder improvement - allow use of [+wf.alias+] +* [#3061] Allow @ and . characters in remembered login name +* [#3062] Corrections to ActionList item names (given that Documents are now Resources and Resources are now Elements) +* [#3115] Automatically regenerate siteCache if it not found +* [#835] @INHERIT improved to work with @FILE, and to allow additional data after the @INHERIT MODx Evolution 1.0.4 (Jun 8, 2010) =================================== diff --git a/install/img/ico_faq.png b/install/img/ico_faq.png old mode 100644 new mode 100755 index 6b535c1822..a9b360605e Binary files a/install/img/ico_faq.png and b/install/img/ico_faq.png differ diff --git a/install/img/install_adv.png b/install/img/install_adv.png old mode 100644 new mode 100755 index 81cdc48f98..e23e042808 Binary files a/install/img/install_adv.png and b/install/img/install_adv.png differ diff --git a/install/img/install_begin.png b/install/img/install_begin.png new file mode 100755 index 0000000000..c407814542 Binary files /dev/null and b/install/img/install_begin.png differ diff --git a/install/img/install_new.png b/install/img/install_new.png old mode 100644 new mode 100755 index a16d2b443c..f0477a85d7 Binary files a/install/img/install_new.png and b/install/img/install_new.png differ diff --git a/install/img/sample_site.png b/install/img/sample_site.png old mode 100644 new mode 100755 index 6b2ab07b03..cd2d6b1d0c Binary files a/install/img/sample_site.png and b/install/img/sample_site.png differ diff --git a/install/instprocessor.php b/install/instprocessor.php index 95f8ffa0c0..cd7f0d43da 100755 --- a/install/instprocessor.php +++ b/install/instprocessor.php @@ -26,36 +26,36 @@ //if ($installMode == 1) { // include "../manager/includes/config.inc.php"; //} else { - // get db info from post - $database_server = $_POST['databasehost']; - $database_user = $_POST['databaseloginname']; - $database_password = $_POST['databaseloginpassword']; - $database_collation = $_POST['database_collation']; - $database_charset = substr($database_collation, 0, strpos($database_collation, '_')); - $database_connection_charset = $_POST['database_connection_charset']; - $database_connection_method = $_POST['database_connection_method']; - $dbase = "`" . $_POST['database_name'] . "`"; - $table_prefix = $_POST['tableprefix']; - $adminname = $_POST['cmsadmin']; - $adminemail = $_POST['cmsadminemail']; - $adminpass = $_POST['cmspassword']; - $managerlanguage = $_POST['managerlanguage']; +// get db info from post +$database_server = $_POST['databasehost']; +$database_user = $_POST['databaseloginname']; +$database_password = $_POST['databaseloginpassword']; +$database_collation = $_POST['database_collation']; +$database_charset = substr($database_collation, 0, strpos($database_collation, '_')); +$database_connection_charset = $_POST['database_connection_charset']; +$database_connection_method = $_POST['database_connection_method']; +$dbase = "`" . $_POST['database_name'] . "`"; +$table_prefix = $_POST['tableprefix']; +$adminname = $_POST['cmsadmin']; +$adminemail = $_POST['cmsadminemail']; +$adminpass = $_POST['cmspassword']; +$managerlanguage = $_POST['managerlanguage']; //} // set session name variable if (!isset ($site_sessionname)) { - $site_sessionname = 'SN' . uniqid(''); + $site_sessionname = 'SN' . uniqid(''); } // get base path and url $a = explode("install", str_replace("\\", "/", dirname($_SERVER["PHP_SELF"]))); if (count($a) > 1) - array_pop($a); + array_pop($a); $url = implode("install", $a); reset($a); $a = explode("install", str_replace("\\", "/", realpath(dirname(__FILE__)))); if (count($a) > 1) - array_pop($a); + array_pop($a); $pth = implode("install", $a); unset ($a); $base_url = $url . (substr($url, -1) != "/" ? "/" : ""); @@ -64,61 +64,108 @@ // connect to the database echo "

    ". $_lang['setup_database_create_connection']; if (!@ $conn = mysql_connect($database_server, $database_user, $database_password)) { - echo "".$_lang["setup_database_create_connection_failed"]."

    ".$_lang['setup_database_create_connection_failed_note']."

    "; - return; + echo "".$_lang["setup_database_create_connection_failed"]."

    ".$_lang['setup_database_create_connection_failed_note']."

    "; + return; } else { - echo "".$_lang['ok']."

    "; + echo "".$_lang['ok']."

    "; } // select database echo "

    ".$_lang['setup_database_selection']. str_replace("`", "", $dbase) . "`: "; if (!@ mysql_select_db(str_replace("`", "", $dbase), $conn)) { - echo "".$_lang['setup_database_selection_failed']."".$_lang['setup_database_selection_failed_note']."

    "; - $create = true; + echo "".$_lang['setup_database_selection_failed']."".$_lang['setup_database_selection_failed_note']."

    "; + $create = true; } else { @ mysql_query("{$database_connection_method} {$database_connection_charset}"); - echo "".$_lang['ok']."

    "; + echo "".$_lang['ok']."

    "; } // try to create the database if ($create) { - echo "

    ".$_lang['setup_database_creation']. str_replace("`", "", $dbase) . "`: "; - // if(!@mysql_create_db(str_replace("`","",$dbase), $conn)) { - if (! mysql_query("CREATE DATABASE $dbase DEFAULT CHARACTER SET $database_charset COLLATE $database_collation")) { - echo "".$_lang['setup_database_creation_failed']."".$_lang['setup_database_creation_failed_note']."

    "; - $errors += 1; + echo "

    ".$_lang['setup_database_creation']. str_replace("`", "", $dbase) . "`: "; + // if(!@mysql_create_db(str_replace("`","",$dbase), $conn)) { + if (! mysql_query("CREATE DATABASE $dbase DEFAULT CHARACTER SET $database_charset COLLATE $database_collation")) { + echo "".$_lang['setup_database_creation_failed']."".$_lang['setup_database_creation_failed_note']."

    "; + $errors += 1; ?>
             database charset = 
             database collation = 
             
    -

    +

    ".$_lang['ok']."

    "; - } + return; + } else { + echo "".$_lang['ok']."

    "; + } } // check table prefix if ($installMode == 0) { - echo "

    " . $_lang['checking_table_prefix'] . $table_prefix . "`: "; - if (@ $rs = mysql_query("SELECT COUNT(*) FROM $dbase.`" . $table_prefix . "site_content`")) { - echo "" . $_lang['failed'] . "" . $_lang['table_prefix_already_inuse'] . "

    "; - $errors += 1; - echo "

    " . $_lang['table_prefix_already_inuse_note'] . "

    "; - return; - } else { - echo "" . $_lang['ok'] . "

    "; - } + echo "

    " . $_lang['checking_table_prefix'] . $table_prefix . "`: "; + if (@ $rs = mysql_query("SELECT COUNT(*) FROM $dbase.`" . $table_prefix . "site_content`")) { + echo "" . $_lang['failed'] . "" . $_lang['table_prefix_already_inuse'] . "

    "; + $errors += 1; + echo "

    " . $_lang['table_prefix_already_inuse_note'] . "

    "; + return; + } else { + echo "" . $_lang['ok'] . "

    "; + } +} + +if(!function_exists('parseProperties')) { + // parses a resource property string and returns the result as an array + // duplicate of method in documentParser class + function parseProperties($propertyString) { + $parameter= array (); + if (!empty ($propertyString)) { + $tmpParams= explode("&", $propertyString); + for ($x= 0; $x < count($tmpParams); $x++) { + if (strpos($tmpParams[$x], '=', 0)) { + $pTmp= explode("=", $tmpParams[$x]); + $pvTmp= explode(";", trim($pTmp[1])); + if ($pvTmp[1] == 'list' && $pvTmp[3] != "") + $parameter[trim($pTmp[0])]= $pvTmp[3]; //list default + else + if ($pvTmp[1] != 'list' && $pvTmp[2] != "") + $parameter[trim($pTmp[0])]= $pvTmp[2]; + } + } + } + return $parameter; + } +} + +// check status of Inherit Parent Template plugin +$auto_template_logic = 'parent'; +if ($installMode != 0) { + $rs = mysql_query("SELECT properties, disabled FROM $dbase.`" . $table_prefix . "site_plugins` WHERE name='Inherit Parent Template'"); + $row = mysql_fetch_row($rs); + if(!$row) { + // not installed + $auto_template_logic = 'system'; + } else { + if($row[1] == 1) { + // installed but disabled + $auto_template_logic = 'system'; + } else { + // installed, enabled .. see how it's configured + $properties = parseProperties($row[0]); + if(isset($properties['inheritTemplate'])) { + if($properties['inheritTemplate'] == 'From First Sibling') { + $auto_template_logic = 'sibling'; + } + } + } + } } // open db connection $setupPath = realpath(dirname(__FILE__)); include "{$setupPath}/setup.info.php"; include "{$setupPath}/sqlParser.class.php"; -$sqlParser = new SqlParser($database_server, $database_user, $database_password, str_replace("`", "", $dbase), $table_prefix, $adminname, $adminemail, $adminpass, $database_connection_charset, $managerlanguage, $database_connection_method); +$sqlParser = new SqlParser($database_server, $database_user, $database_password, str_replace("`", "", $dbase), $table_prefix, $adminname, $adminemail, $adminpass, $database_connection_charset, $managerlanguage, $database_connection_method, $auto_template_logic); $sqlParser->mode = ($installMode < 1) ? "new" : "upd"; /* image and file manager paths now handled via settings screen in Manager $sqlParser->imageUrl = 'http://' . $_SERVER['SERVER_NAME'] . $base_url . "assets/"; @@ -132,50 +179,29 @@ // install/update database echo "

    " . $_lang['setup_database_creating_tables']; if ($moduleSQLBaseFile) { - $sqlParser->process($moduleSQLBaseFile); - // display database results - if ($sqlParser->installFailed == true) { - $errors += 1; - echo "" . $_lang['database_alerts'] . "

    "; - echo "

    " . $_lang['setup_couldnt_install'] . "

    "; - echo "

    " . $_lang['installation_error_occured'] . "

    "; - for ($i = 0; $i < count($sqlParser->mysqlErrors); $i++) { - echo "" . $sqlParser->mysqlErrors[$i]["error"] . "" . $_lang['during_execution_of_sql'] . "" . strip_tags($sqlParser->mysqlErrors[$i]["sql"]) . ".


    "; - } - echo "

    "; - echo "

    " . $_lang['some_tables_not_updated'] . "

    "; - return; - } else { - echo "".$_lang['ok']."

    "; - } -} - -// install data -if ($installData && $moduleSQLDataFile) { - echo "

    " . $_lang['installing_demo_site']; - $sqlParser->process($moduleSQLDataFile); - // display database results - if ($sqlParser->installFailed == true) { - $errors += 1; - echo "" . $_lang['database_alerts'] . "

    "; - echo "

    " . $_lang['setup_couldnt_install'] . "

    "; - echo "

    " . $_lang['installation_error_occured'] . "

    "; - for ($i = 0; $i < count($sqlParser->mysqlErrors); $i++) { - echo "" . $sqlParser->mysqlErrors[$i]["error"] . "" . $_lang['during_execution_of_sql'] . "" . strip_tags($sqlParser->mysqlErrors[$i]["sql"]) . ".


    "; - } - echo "

    "; - echo "

    " . $_lang['some_tables_not_updated'] . "

    "; - return; - } else { - echo "".$_lang['ok']."

    "; - } + $sqlParser->process($moduleSQLBaseFile); + // display database results + if ($sqlParser->installFailed == true) { + $errors += 1; + echo "" . $_lang['database_alerts'] . "

    "; + echo "

    " . $_lang['setup_couldnt_install'] . "

    "; + echo "

    " . $_lang['installation_error_occured'] . "

    "; + for ($i = 0; $i < count($sqlParser->mysqlErrors); $i++) { + echo "" . $sqlParser->mysqlErrors[$i]["error"] . "" . $_lang['during_execution_of_sql'] . "" . strip_tags($sqlParser->mysqlErrors[$i]["sql"]) . ".


    "; + } + echo "

    "; + echo "

    " . $_lang['some_tables_not_updated'] . "

    "; + return; + } else { + echo "".$_lang['ok']."

    "; + } } // write the config.inc.php file if new installation echo "

    " . $_lang['writing_config_file']; $configString = '"; $filename = '../manager/includes/config.inc.php'; $configFileFailed = false; if (@ !$handle = fopen($filename, 'w')) { - $configFileFailed = true; + $configFileFailed = true; } // write $somecontent to our opened file. if (@ fwrite($handle, $configString) === FALSE) { - $configFileFailed = true; + $configFileFailed = true; } @ fclose($handle); @@ -266,393 +292,407 @@ function startCMSSession(){ $chmodSuccess = @chmod($filename, 0600); if ($configFileFailed == true) { - echo "" . $_lang['failed'] . "

    "; - $errors += 1; + echo "" . $_lang['failed'] . "

    "; + $errors += 1; ?> -

    manager/includes/config.inc.php

    - -

    +

    manager/includes/config.inc.php

    + +

    " . $_lang['ok'] . "

    "; + echo "" . $_lang['ok'] . "

    "; } // generate new site_id and set manager theme to MODxCarbon if ($installMode == 0) { - $siteid = uniqid(''); - mysql_query("REPLACE INTO $dbase.`" . $table_prefix . "system_settings` (setting_name,setting_value) VALUES('site_id','$siteid'),('manager_theme','MODxCarbon')", $sqlParser->conn); + $siteid = uniqid(''); + mysql_query("REPLACE INTO $dbase.`" . $table_prefix . "system_settings` (setting_name,setting_value) VALUES('site_id','$siteid'),('manager_theme','MODxCarbon')", $sqlParser->conn); } else { - // update site_id if missing - $ds = mysql_query("SELECT setting_name,setting_value FROM $dbase.`" . $table_prefix . "system_settings` WHERE setting_name='site_id'", $sqlParser->conn); - if ($ds) { - $r = mysql_fetch_assoc($ds); - $siteid = $r['setting_value']; - if ($siteid == '' || $siteid = 'MzGeQ2faT4Dw06+U49x3') { - $siteid = uniqid(''); - mysql_query("REPLACE INTO $dbase.`" . $table_prefix . "system_settings` (setting_name,setting_value) VALUES('site_id','$siteid')", $sqlParser->conn); - } - } + // update site_id if missing + $ds = mysql_query("SELECT setting_name,setting_value FROM $dbase.`" . $table_prefix . "system_settings` WHERE setting_name='site_id'", $sqlParser->conn); + if ($ds) { + $r = mysql_fetch_assoc($ds); + $siteid = $r['setting_value']; + if ($siteid == '' || $siteid = 'MzGeQ2faT4Dw06+U49x3') { + $siteid = uniqid(''); + mysql_query("REPLACE INTO $dbase.`" . $table_prefix . "system_settings` (setting_name,setting_value) VALUES('site_id','$siteid')", $sqlParser->conn); + } + } } // Install Templates -if (isset ($_POST['template'])) { - echo "

    " . $_lang['templates'] . ":

    "; - $selTemplates = $_POST['template']; - foreach ($selTemplates as $si) { - $si = (int) trim($si); - $name = mysql_real_escape_string($moduleTemplates[$si][0]); - $desc = mysql_real_escape_string($moduleTemplates[$si][1]); - $category = mysql_real_escape_string($moduleTemplates[$si][4]); - $locked = mysql_real_escape_string($moduleTemplates[$si][5]); - $filecontent = $moduleTemplates[$si][3]; - if (!file_exists($filecontent)) { - echo "

      $name: " . $_lang['unable_install_template'] . " '$filecontent' " . $_lang['not_found'] . ".

    "; - } else { - // Create the category if it does not already exist - if($category) { - $rs = mysql_query("REPLACE INTO $dbase.`".$table_prefix."categories` (`id`,`category`) ( SELECT MIN(`id`), '$category' FROM ( SELECT `id` FROM $dbase.`" . $table_prefix . "categories` WHERE `category` = '$category' UNION SELECT (CASE COUNT(*) WHEN 0 THEN 1 ELSE MAX(`id`)+1 END ) `id` FROM $dbase.`" . $table_prefix . "categories` ) AS _tmp )", $sqlParser->conn); - - $rs = mysql_query("SELECT id FROM $dbase.`".$table_prefix."categories` WHERE category = '".$category."'"); - if(mysql_num_rows($rs) && ($row = mysql_fetch_assoc($rs))) { - $category = $row['id']; - } else { - $category = 0; - } - } else { - $category = 0; - } - - // Strip the first comment up top - $template = preg_replace("/^.*?\/\*\*.*?\*\/\s+/s", '', file_get_contents($filecontent), 1); - $template = mysql_real_escape_string($template); - - // See if the template already exists - $rs = mysql_query("SELECT * FROM $dbase.`" . $table_prefix . "site_templates` WHERE templatename='$name'", $sqlParser->conn); - - if (mysql_num_rows($rs)) { - if (!@ mysql_query("UPDATE $dbase.`" . $table_prefix . "site_templates` SET content='$template', description='$desc', category='$category', locked='$locked' WHERE templatename='$name';", $sqlParser->conn)) { - $errors += 1; - echo "

    " . mysql_error() . "

    "; - return; - } - echo "

      $name: " . $_lang['upgraded'] . "

    "; - } else { - if (!@ mysql_query("INSERT INTO $dbase.`" . $table_prefix . "site_templates` (templatename,description,content,category,locked) VALUES('$name','$desc','$template','$category','$locked');", $sqlParser->conn)) { - $errors += 1; - echo "

    " . mysql_error() . "

    "; - return; - } - echo "

      $name: " . $_lang['installed'] . "

    "; - } - } - } +if (isset ($_POST['template']) || $installData) { + echo "

    " . $_lang['templates'] . ":

    "; + $selTemplates = $_POST['template']; + foreach ($moduleTemplates as $k=>$moduleTemplate) { + $installSample = in_array('sample', $moduleTemplate[6]) && $installData == 1; + if(in_array($k, $selTemplates) || $installSample) { + $name = mysql_real_escape_string($moduleTemplate[0]); + $desc = mysql_real_escape_string($moduleTemplate[1]); + $category = mysql_real_escape_string($moduleTemplate[4]); + $locked = mysql_real_escape_string($moduleTemplate[5]); + $filecontent = $moduleTemplate[3]; + if (!file_exists($filecontent)) { + echo "

      $name: " . $_lang['unable_install_template'] . " '$filecontent' " . $_lang['not_found'] . ".

    "; + } else { + // Create the category if it does not already exist + $category_id = getCreateDbCategory($category, $sqlParser); + + // Strip the first comment up top + $template = preg_replace("/^.*?\/\*\*.*?\*\/\s+/s", '', file_get_contents($filecontent), 1); + $template = mysql_real_escape_string($template); + + // See if the template already exists + $rs = mysql_query("SELECT * FROM $dbase.`" . $table_prefix . "site_templates` WHERE templatename='$name'", $sqlParser->conn); + + if (mysql_num_rows($rs)) { + if (!@ mysql_query("UPDATE $dbase.`" . $table_prefix . "site_templates` SET content='$template', description='$desc', category=$category_id, locked='$locked' WHERE templatename='$name';", $sqlParser->conn)) { + $errors += 1; + echo "

    " . mysql_error() . "

    "; + return; + } + echo "

      $name: " . $_lang['upgraded'] . "

    "; + } else { + if (!@ mysql_query("INSERT INTO $dbase.`" . $table_prefix . "site_templates` (templatename,description,content,category,locked) VALUES('$name','$desc','$template',$category_id,'$locked');", $sqlParser->conn)) { + $errors += 1; + echo "

    " . mysql_error() . "

    "; + return; + } + echo "

      $name: " . $_lang['installed'] . "

    "; + } + } + } + } } // Install Template Variables -if (isset ($_POST['tv'])) { +if (isset ($_POST['tv']) || $installData) { echo "

    " . $_lang['tvs'] . ":

    "; $selTVs = $_POST['tv']; - foreach ($selTVs as $si) { - $si = (int) trim($si); - $name = mysql_real_escape_string($moduleTVs[$si][0]); - $caption = mysql_real_escape_string($moduleTVs[$si][1]); - $desc = mysql_real_escape_string($moduleTVs[$si][2]); - $input_type = mysql_real_escape_string($moduleTVs[$si][3]); - $input_options = mysql_real_escape_string($moduleTVs[$si][4]); - $input_default = mysql_real_escape_string($moduleTVs[$si][5]); - $output_widget = mysql_real_escape_string($moduleTVs[$si][6]); - $output_widget_params = mysql_real_escape_string($moduleTVs[$si][7]); - $filecontent = $moduleTVs[$si][8]; - $assignments = $moduleTVs[$si][9]; - $category = mysql_real_escape_string($moduleTVs[$si][10]); - $locked = mysql_real_escape_string($moduleTVs[$si][11]); - - - // Create the category if it does not already exist - if( $category ){ - $rs = mysql_query("REPLACE INTO $dbase.`" . $table_prefix . "categories` (`id`,`category`) ( SELECT MIN(`id`), '$category' FROM ( SELECT `id` FROM $dbase.`" . $table_prefix . "categories` WHERE `category` = '$category' UNION SELECT (CASE COUNT(*) WHEN 0 THEN 1 ELSE MAX(`id`)+1 END ) `id` FROM $dbase.`" . $table_prefix . "categories` ) AS _tmp )", $sqlParser->conn); - } - $rs = mysql_query("SELECT * FROM $dbase.`" . $table_prefix . "site_tmplvars` WHERE name='$name'", $sqlParser->conn); - if (mysql_num_rows($rs)) { - $insert = true; - while($row = mysql_fetch_assoc($rs)) { - if (!@ mysql_query("UPDATE $dbase.`" . $table_prefix . "site_tmplvars` SET type='$input_type', caption='$caption', description='$desc', locked=$locked, elements='$input_options', display='$output_widget', display_params='$output_widget_params', default_text='$input_default' WHERE id={$row['id']};", $sqlParser->conn)) { + foreach ($moduleTVs as $k=>$moduleTV) { + $installSample = in_array('sample', $moduleTV[12]) && $installData == 1; + if(in_array($k, $selTVs) || $installSample) { + $name = mysql_real_escape_string($moduleTV[0]); + $caption = mysql_real_escape_string($moduleTV[1]); + $desc = mysql_real_escape_string($moduleTV[2]); + $input_type = mysql_real_escape_string($moduleTV[3]); + $input_options = mysql_real_escape_string($moduleTV[4]); + $input_default = mysql_real_escape_string($moduleTV[5]); + $output_widget = mysql_real_escape_string($moduleTV[6]); + $output_widget_params = mysql_real_escape_string($moduleTV[7]); + $filecontent = $moduleTV[8]; + $assignments = $moduleTV[9]; + $category = mysql_real_escape_string($moduleTV[10]); + $locked = mysql_real_escape_string($moduleTV[11]); + + + // Create the category if it does not already exist + $category = getCreateDbCategory($category, $sqlParser); + + $rs = mysql_query("SELECT * FROM $dbase.`" . $table_prefix . "site_tmplvars` WHERE name='$name'", $sqlParser->conn); + if (mysql_num_rows($rs)) { + $insert = true; + while($row = mysql_fetch_assoc($rs)) { + if (!@ mysql_query("UPDATE $dbase.`" . $table_prefix . "site_tmplvars` SET type='$input_type', caption='$caption', description='$desc', category=$category, locked=$locked, elements='$input_options', display='$output_widget', display_params='$output_widget_params', default_text='$input_default' WHERE id={$row['id']};", $sqlParser->conn)) { + echo "

    " . mysql_error() . "

    "; + return; + } + $insert = false; + } + echo "

      $name: " . $_lang['upgraded'] . "

    "; + } else { + //$q = "INSERT INTO $dbase.`" . $table_prefix . "site_tmplvars` (type,name,caption,description,category,locked,elements,display,display_params,default_text) VALUES('$input_type','$name','$caption','$desc',(SELECT (CASE COUNT(*) WHEN 0 THEN 0 ELSE `id` END) `id` FROM $dbase.`" . $table_prefix . "categories` WHERE `category` = '$category'),$locked,'$input_options','$output_widget','$output_widget_params','$input_default');"; + $q = "INSERT INTO $dbase.`" . $table_prefix . "site_tmplvars` (type,name,caption,description,category,locked,elements,display,display_params,default_text) VALUES('$input_type','$name','$caption','$desc',$category,$locked,'$input_options','$output_widget','$output_widget_params','$input_default');"; + if (!@ mysql_query($q, $sqlParser->conn)) { echo "

    " . mysql_error() . "

    "; return; } - $insert = false; - } - echo "

      $name: " . $_lang['upgraded'] . "

    "; - } else { - if (!@ mysql_query("INSERT INTO $dbase.`" . $table_prefix . "site_tmplvars` (type,name,caption,description,category,locked,elements,display,display_params,default_text) VALUES('$input_type','$name','$caption','$desc',(SELECT (CASE COUNT(*) WHEN 0 THEN 0 ELSE `id` END) `id` FROM $dbase.`" . $table_prefix . "categories` WHERE `category` = '$category'),$locked,'$input_options','$output_widget','$output_widget_params','$input_default');", $sqlParser->conn)) { - echo "

    " . mysql_error() . "

    "; - return; + echo "

      $name: " . $_lang['installed'] . "

    "; } - echo "

      $name: " . $_lang['installed'] . "

    "; - } - - // add template assignments - $assignments = explode(',', $assignments); - - if (count($assignments) > 0) { - - // remove existing tv -> template assignments - $ds=mysql_query("SELECT id FROM $dbase.`".$table_prefix."site_tmplvars` WHERE name='$name' AND description='$desc';",$sqlParser->conn); - $row = mysql_fetch_assoc($ds); - $id = $row["id"]; - mysql_query('DELETE FROM ' . $dbase . '.`' . $table_prefix . 'site_tmplvar_templates` WHERE tmplvarid = \'' . $id . '\''); - - // add tv -> template assignments - foreach ($assignments as $assignment) { - $template = mysql_real_escape_string($assignment); - $ts = mysql_query("SELECT id FROM $dbase.`".$table_prefix."site_templates` WHERE templatename='$template';",$sqlParser->conn); - if ($ds && $ts) { - $tRow = mysql_fetch_assoc($ts); - $templateId = $tRow['id']; - mysql_query("INSERT INTO $dbase.`" . $table_prefix . "site_tmplvar_templates` (tmplvarid, templateid) VALUES($id, $templateId)"); - } + + // add template assignments + $assignments = explode(',', $assignments); + + if (count($assignments) > 0) { + + // remove existing tv -> template assignments + $ds=mysql_query("SELECT id FROM $dbase.`".$table_prefix."site_tmplvars` WHERE name='$name' AND description='$desc';",$sqlParser->conn); + $row = mysql_fetch_assoc($ds); + $id = $row["id"]; + mysql_query('DELETE FROM ' . $dbase . '.`' . $table_prefix . 'site_tmplvar_templates` WHERE tmplvarid = \'' . $id . '\''); + + // add tv -> template assignments + foreach ($assignments as $assignment) { + $template = mysql_real_escape_string($assignment); + $ts = mysql_query("SELECT id FROM $dbase.`".$table_prefix."site_templates` WHERE templatename='$template';",$sqlParser->conn); + if ($ds && $ts) { + $tRow = mysql_fetch_assoc($ts); + $templateId = $tRow['id']; + mysql_query("INSERT INTO $dbase.`" . $table_prefix . "site_tmplvar_templates` (tmplvarid, templateid) VALUES($id, $templateId)"); + } + } } } - } } // Install Chunks -if (isset ($_POST['chunk'])) { - echo "

    " . $_lang['chunks'] . ":

    "; - $selChunks = $_POST['chunk']; - foreach ($selChunks as $si) { - $si = (int) trim($si); - $name = mysql_real_escape_string($moduleChunks[$si][0]); - $desc = mysql_real_escape_string($moduleChunks[$si][1]); - $category = mysql_real_escape_string($moduleChunks[$si][3]); - $overwrite = mysql_real_escape_string($moduleChunks[$si][4]); - - $filecontent = $moduleChunks[$si][2]; - if (!file_exists($filecontent)) - echo "

      $name: " . $_lang['unable_install_chunk'] . " '$filecontent' " . $_lang['not_found'] . ".

    "; - else { - - // Create the category if it does not already exist - if( $category ){ - $rs = mysql_query("REPLACE INTO $dbase.`" . $table_prefix . "categories` (`id`,`category`) ( SELECT MIN(`id`), '$category' FROM ( SELECT `id` FROM $dbase.`" . $table_prefix . "categories` WHERE `category` = '$category' UNION SELECT (CASE COUNT(*) WHEN 0 THEN 1 ELSE MAX(`id`)+1 END ) `id` FROM $dbase.`" . $table_prefix . "categories` ) AS _tmp )", $sqlParser->conn); - } - - $chunk = preg_replace("/^.*?\/\*\*.*?\*\/\s+/s", '', file_get_contents($filecontent), 1); - $chunk = mysql_real_escape_string($chunk); - $rs = mysql_query("SELECT * FROM $dbase.`" . $table_prefix . "site_htmlsnippets` WHERE name='$name'", $sqlParser->conn); - $count_original_name = mysql_num_rows($rs); - if($overwrite == 'false') { - $newname = $name . '-' . str_replace('.', '_', $modx_version); - $rs = mysql_query("SELECT * FROM $dbase.`" . $table_prefix . "site_htmlsnippets` WHERE name='$newname'", $sqlParser->conn); - $count_new_name = mysql_num_rows($rs); - } - $update = $count_original_name > 0 && $overwrite == 'true'; - if ($update) { - if (!@ mysql_query("UPDATE $dbase.`" . $table_prefix . "site_htmlsnippets` SET snippet='$chunk', description='$desc' WHERE name='$name';", $sqlParser->conn)) { - $errors += 1; - echo "

    " . mysql_error() . "

    "; - return; +if (isset ($_POST['chunk']) || $installData) { + echo "

    " . $_lang['chunks'] . ":

    "; + $selChunks = $_POST['chunk']; + foreach ($moduleChunks as $k=>$moduleChunk) { + $installSample = in_array('sample', $moduleChunk[5]) && $installData == 1; + if(in_array($k, $selChunks) || $installSample) { + + $name = mysql_real_escape_string($moduleChunk[0]); + $desc = mysql_real_escape_string($moduleChunk[1]); + $category = mysql_real_escape_string($moduleChunk[3]); + $overwrite = mysql_real_escape_string($moduleChunk[4]); + $filecontent = $moduleChunk[2]; + + if (!file_exists($filecontent)) + echo "

      $name: " . $_lang['unable_install_chunk'] . " '$filecontent' " . $_lang['not_found'] . ".

    "; + else { + + // Create the category if it does not already exist + $category_id = getCreateDbCategory($category, $sqlParser); + + $chunk = preg_replace("/^.*?\/\*\*.*?\*\/\s+/s", '', file_get_contents($filecontent), 1); + $chunk = mysql_real_escape_string($chunk); + $rs = mysql_query("SELECT * FROM $dbase.`" . $table_prefix . "site_htmlsnippets` WHERE name='$name'", $sqlParser->conn); + $count_original_name = mysql_num_rows($rs); + if($overwrite == 'false') { + $newname = $name . '-' . str_replace('.', '_', $modx_version); + $rs = mysql_query("SELECT * FROM $dbase.`" . $table_prefix . "site_htmlsnippets` WHERE name='$newname'", $sqlParser->conn); + $count_new_name = mysql_num_rows($rs); } - echo "

      $name: " . $_lang['upgraded'] . "

    "; - } elseif($count_new_name == 0) { - if($count_original_name > 0 && $overwrite == 'false') { - $name = $newname; + $update = $count_original_name > 0 && $overwrite == 'true'; + if ($update) { + if (!@ mysql_query("UPDATE $dbase.`" . $table_prefix . "site_htmlsnippets` SET snippet='$chunk', description='$desc', category=$category_id WHERE name='$name';", $sqlParser->conn)) { + $errors += 1; + echo "

    " . mysql_error() . "

    "; + return; + } + echo "

      $name: " . $_lang['upgraded'] . "

    "; + } elseif($count_new_name == 0) { + if($count_original_name > 0 && $overwrite == 'false') { + $name = $newname; + } + if (!@ mysql_query("INSERT INTO $dbase.`" . $table_prefix . "site_htmlsnippets` (name,description,snippet,category) VALUES('$name','$desc','$chunk',$category_id);", $sqlParser->conn)) { + $errors += 1; + echo "

    " . mysql_error() . "

    "; + return; + } + echo "

      $name: " . $_lang['installed'] . "

    "; } - if (!@ mysql_query("INSERT INTO $dbase.`" . $table_prefix . "site_htmlsnippets` (name,description,snippet,category) VALUES('$name','$desc','$chunk',(SELECT (CASE COUNT(*) WHEN 0 THEN 0 ELSE `id` END) `id` FROM $dbase.`" . $table_prefix . "categories` WHERE `category` = '$category'));", $sqlParser->conn)) { - $errors += 1; - echo "

    " . mysql_error() . "

    "; - return; - } - echo "

      $name: " . $_lang['installed'] . "

    "; - } - } - } + } + } + } } // Install Modules -if (isset ($_POST['module'])) { - echo "

    " . $_lang['modules'] . ":

    "; - $selPlugs = $_POST['module']; - foreach ($selPlugs as $si) { - $si = (int) trim($si); - $name = mysql_real_escape_string($moduleModules[$si][0]); - $desc = mysql_real_escape_string($moduleModules[$si][1]); - $filecontent = $moduleModules[$si][2]; - $properties = mysql_real_escape_string($moduleModules[$si][3]); - $guid = mysql_real_escape_string($moduleModules[$si][4]); - $shared = mysql_real_escape_string($moduleModules[$si][5]); - $category = mysql_real_escape_string($moduleModules[$si][6]); - if (!file_exists($filecontent)) - echo "

      $name: " . $_lang['unable_install_module'] . " '$filecontent' " . $_lang['not_found'] . ".

    "; - else { - - // Create the category if it does not already exist - if( $category ){ - $rs = mysql_query("REPLACE INTO $dbase.`" . $table_prefix . "categories` (`id`,`category`) ( SELECT MIN(`id`), '$category' FROM ( SELECT `id` FROM $dbase.`" . $table_prefix . "categories` WHERE `category` = '$category' UNION SELECT (CASE COUNT(*) WHEN 0 THEN 1 ELSE MAX(`id`)+1 END ) `id` FROM $dbase.`" . $table_prefix . "categories` ) AS _tmp )", $sqlParser->conn); - } - - $module = end(preg_split("/(\/\/)?\s*\<\?php/", file_get_contents($filecontent), 2)); - // remove installer docblock - $module = preg_replace("/^.*?\/\*\*.*?\*\/\s+/s", '', $module, 1); - $module = mysql_real_escape_string($module); - $rs = mysql_query("SELECT * FROM $dbase.`" . $table_prefix . "site_modules` WHERE name='$name'", $sqlParser->conn); - if (mysql_num_rows($rs)) { - $row = mysql_fetch_assoc($rs); - $props = propUpdate($properties,$row['properties']); - if (!@ mysql_query("UPDATE $dbase.`" . $table_prefix . "site_modules` SET modulecode='$module', description='$desc', properties='$props', enable_sharedparams='$shared' WHERE name='$name';", $sqlParser->conn)) { - echo "

    " . mysql_error() . "

    "; - return; - } - echo "

      $name: " . $_lang['upgraded'] . "

    "; - } else { - if (!@ mysql_query("INSERT INTO $dbase.`" . $table_prefix . "site_modules` (name,description,modulecode,properties,guid,enable_sharedparams,category) VALUES('$name','$desc','$module','$properties','$guid','$shared',(SELECT (CASE COUNT(*) WHEN 0 THEN 0 ELSE `id` END) `id` FROM $dbase.`" . $table_prefix . "categories` WHERE `category` = '$category'));", $sqlParser->conn)) { - echo "

    " . mysql_error() . "

    "; - return; - } - echo "

      $name: " . $_lang['installed'] . "

    "; - } - } - } +if (isset ($_POST['module']) || $installData) { + echo "

    " . $_lang['modules'] . ":

    "; + $selModules = $_POST['module']; + foreach ($moduleModules as $k=>$moduleModule) { + $installSample = in_array('sample', $moduleModule[7]) && $installData == 1; + if(in_array($k, $selModules) || $installSample) { + $name = mysql_real_escape_string($moduleModule[0]); + $desc = mysql_real_escape_string($moduleModule[1]); + $filecontent = $moduleModule[2]; + $properties = mysql_real_escape_string($moduleModule[3]); + $guid = mysql_real_escape_string($moduleModule[4]); + $shared = mysql_real_escape_string($moduleModule[5]); + $category = mysql_real_escape_string($moduleModule[6]); + if (!file_exists($filecontent)) + echo "

      $name: " . $_lang['unable_install_module'] . " '$filecontent' " . $_lang['not_found'] . ".

    "; + else { + + // Create the category if it does not already exist + $category = getCreateDbCategory($category, $sqlParser); + + $module = end(preg_split("/(\/\/)?\s*\<\?php/", file_get_contents($filecontent), 2)); + // remove installer docblock + $module = preg_replace("/^.*?\/\*\*.*?\*\/\s+/s", '', $module, 1); + $module = mysql_real_escape_string($module); + $rs = mysql_query("SELECT * FROM $dbase.`" . $table_prefix . "site_modules` WHERE name='$name'", $sqlParser->conn); + if (mysql_num_rows($rs)) { + $row = mysql_fetch_assoc($rs); + $props = propUpdate($properties,$row['properties']); + if (!@ mysql_query("UPDATE $dbase.`" . $table_prefix . "site_modules` SET modulecode='$module', description='$desc', properties='$props', enable_sharedparams='$shared' WHERE name='$name';", $sqlParser->conn)) { + echo "

    " . mysql_error() . "

    "; + return; + } + echo "

      $name: " . $_lang['upgraded'] . "

    "; + } else { + if (!@ mysql_query("INSERT INTO $dbase.`" . $table_prefix . "site_modules` (name,description,modulecode,properties,guid,enable_sharedparams,category) VALUES('$name','$desc','$module','$properties','$guid','$shared', $category);", $sqlParser->conn)) { + echo "

    " . mysql_error() . "

    "; + return; + } + echo "

      $name: " . $_lang['installed'] . "

    "; + } + } + } + } } // Install Plugins -if (isset ($_POST['plugin'])) { - echo "

    " . $_lang['plugins'] . ":

    "; - $selPlugs = $_POST['plugin']; - foreach ($selPlugs as $si) { - $si = (int) trim($si); - $name = mysql_real_escape_string($modulePlugins[$si][0]); - $desc = mysql_real_escape_string($modulePlugins[$si][1]); - $filecontent = $modulePlugins[$si][2]; - $properties = mysql_real_escape_string($modulePlugins[$si][3]); - $events = explode(",", $modulePlugins[$si][4]); - $guid = mysql_real_escape_string($modulePlugins[$si][5]); - $category = mysql_real_escape_string($modulePlugins[$si][6]); - $leg_names = ''; - if(array_key_exists(7, $modulePlugins[$si])) { - // parse comma-separated legacy names and prepare them for sql IN clause - $leg_names = "'" . implode("','", preg_split('/\s*,\s*/', mysql_real_escape_string($modulePlugins[$si][7]))) . "'"; - } - if (!file_exists($filecontent)) - echo "

      $name: " . $_lang['unable_install_plugin'] . " '$filecontent' " . $_lang['not_found'] . ".

    "; - else { - - // disable legacy versions based on legacy_names provided - if(!empty($leg_names)) { - $update_query = "UPDATE $dbase.`" . $table_prefix . "site_plugins` SET disabled='1' WHERE name IN ($leg_names);"; - $rs = mysql_query($update_query, $sqlParser->conn); - } - - // Create the category if it does not already exist - if( $category ){ - $rs = mysql_query("REPLACE INTO $dbase.`" . $table_prefix . "categories` (`id`,`category`) ( SELECT MIN(`id`), '$category' FROM ( SELECT `id` FROM $dbase.`" . $table_prefix . "categories` WHERE `category` = '$category' UNION SELECT (CASE COUNT(*) WHEN 0 THEN 1 ELSE MAX(`id`)+1 END ) `id` FROM $dbase.`" . $table_prefix . "categories` ) AS _tmp )", $sqlParser->conn); - } - - $plugin = end(preg_split("/(\/\/)?\s*\<\?php/", file_get_contents($filecontent), 2)); - // remove installer docblock - $plugin = preg_replace("/^.*?\/\*\*.*?\*\/\s+/s", '', $plugin, 1); - $plugin = mysql_real_escape_string($plugin); - $rs = mysql_query("SELECT * FROM $dbase.`" . $table_prefix . "site_plugins` WHERE name='$name'", $sqlParser->conn); - if (mysql_num_rows($rs)) { - $insert = true; - while($row = mysql_fetch_assoc($rs)) { - $props = propUpdate($properties,$row['properties']); - if($row['description'] == $desc){ - if (!@ mysql_query("UPDATE $dbase.`" . $table_prefix . "site_plugins` SET plugincode='$plugin', description='$desc', properties='$props' WHERE id={$row['id']};", $sqlParser->conn)) { - echo "

    " . mysql_error() . "

    "; - return; +if (isset ($_POST['plugin']) || $installData) { + echo "

    " . $_lang['plugins'] . ":

    "; + $selPlugs = $_POST['plugin']; + foreach ($modulePlugins as $k=>$modulePlugin) { + $installSample = in_array('sample', $modulePlugin[8]) && $installData == 1; + if(in_array($k, $selPlugs) || $installSample) { + $name = mysql_real_escape_string($modulePlugin[0]); + $desc = mysql_real_escape_string($modulePlugin[1]); + $filecontent = $modulePlugin[2]; + $properties = mysql_real_escape_string($modulePlugin[3]); + $events = explode(",", $modulePlugin[4]); + $guid = mysql_real_escape_string($modulePlugin[5]); + $category = mysql_real_escape_string($modulePlugin[6]); + $leg_names = ''; + if(array_key_exists(7, $modulePlugin)) { + // parse comma-separated legacy names and prepare them for sql IN clause + $leg_names = "'" . implode("','", preg_split('/\s*,\s*/', mysql_real_escape_string($modulePlugin[7]))) . "'"; + } + if (!file_exists($filecontent)) + echo "

      $name: " . $_lang['unable_install_plugin'] . " '$filecontent' " . $_lang['not_found'] . ".

    "; + else { + + // disable legacy versions based on legacy_names provided + if(!empty($leg_names)) { + $update_query = "UPDATE $dbase.`" . $table_prefix . "site_plugins` SET disabled='1' WHERE name IN ($leg_names);"; + $rs = mysql_query($update_query, $sqlParser->conn); + } + + // Create the category if it does not already exist + $category = getCreateDbCategory($category, $sqlParser); + + $plugin = end(preg_split("/(\/\/)?\s*\<\?php/", file_get_contents($filecontent), 2)); + // remove installer docblock + $plugin = preg_replace("/^.*?\/\*\*.*?\*\/\s+/s", '', $plugin, 1); + $plugin = mysql_real_escape_string($plugin); + $rs = mysql_query("SELECT * FROM $dbase.`" . $table_prefix . "site_plugins` WHERE name='$name'", $sqlParser->conn); + if (mysql_num_rows($rs)) { + $insert = true; + while($row = mysql_fetch_assoc($rs)) { + $props = propUpdate($properties,$row['properties']); + if($row['description'] == $desc){ + if (!@ mysql_query("UPDATE $dbase.`" . $table_prefix . "site_plugins` SET plugincode='$plugin', description='$desc', properties='$props' WHERE id={$row['id']};", $sqlParser->conn)) { + echo "

    " . mysql_error() . "

    "; + return; + } + $insert = false; + } else { + if (!@ mysql_query("UPDATE $dbase.`" . $table_prefix . "site_plugins` SET disabled='1' WHERE id={$row['id']};", $sqlParser->conn)) { + echo "

    ".mysql_error()."

    "; + return; + } } - $insert = false; - } else { - if (!@ mysql_query("UPDATE $dbase.`" . $table_prefix . "site_plugins` SET disabled='1' WHERE id={$row['id']};", $sqlParser->conn)) { + } + if($insert === true) { + if(!@mysql_query("INSERT INTO $dbase.`".$table_prefix."site_plugins` (name,description,plugincode,properties,moduleguid,disabled,category) VALUES('$name','$desc','$plugin','$properties','$guid','0',$category);",$sqlParser->conn)) { echo "

    ".mysql_error()."

    "; return; } } - } - if($insert === true) { - if(!@mysql_query("INSERT INTO $dbase.`".$table_prefix."site_plugins` (name,description,plugincode,properties,moduleguid,disabled,category) VALUES('$name','$desc','$plugin','$properties','$guid','0',(SELECT (CASE COUNT(*) WHEN 0 THEN 0 ELSE `id` END) `id` FROM $dbase.`" . $table_prefix . "categories` WHERE `category` = '$category'));",$sqlParser->conn)) { - echo "

    ".mysql_error()."

    "; + echo "

      $name: " . $_lang['upgraded'] . "

    "; + } else { + if (!@ mysql_query("INSERT INTO $dbase.`" . $table_prefix . "site_plugins` (name,description,plugincode,properties,moduleguid,category) VALUES('$name','$desc','$plugin','$properties','$guid',$category);", $sqlParser->conn)) { + echo "

    " . mysql_error() . "

    "; return; } + echo "

      $name: " . $_lang['installed'] . "

    "; } - echo "

      $name: " . $_lang['upgraded'] . "

    "; - } else { - if (!@ mysql_query("INSERT INTO $dbase.`" . $table_prefix . "site_plugins` (name,description,plugincode,properties,moduleguid,category) VALUES('$name','$desc','$plugin','$properties','$guid',(SELECT (CASE COUNT(*) WHEN 0 THEN 0 ELSE `id` END) `id` FROM $dbase.`" . $table_prefix . "categories` WHERE `category` = '$category'));", $sqlParser->conn)) { - echo "

    " . mysql_error() . "

    "; - return; + // add system events + if (count($events) > 0) { + $ds=mysql_query("SELECT id FROM $dbase.`".$table_prefix."site_plugins` WHERE name='$name' AND description='$desc';",$sqlParser->conn); + if ($ds) { + $row = mysql_fetch_assoc($ds); + $id = $row["id"]; + // remove existing events + mysql_query('DELETE FROM ' . $dbase . '.`' . $table_prefix . 'site_plugin_events` WHERE pluginid = \'' . $id . '\''); + // add new events + mysql_query("INSERT INTO $dbase.`" . $table_prefix . "site_plugin_events` (pluginid, evtid) SELECT '$id' as 'pluginid',se.id as 'evtid' FROM $dbase.`" . $table_prefix . "system_eventnames` se WHERE name IN ('" . implode("','", $events) . "')"); + } } - echo "

      $name: " . $_lang['installed'] . "

    "; } - // add system events - if (count($events) > 0) { - $ds=mysql_query("SELECT id FROM $dbase.`".$table_prefix."site_plugins` WHERE name='$name' AND description='$desc';",$sqlParser->conn); - if ($ds) { - $row = mysql_fetch_assoc($ds); - $id = $row["id"]; - // remove existing events - mysql_query('DELETE FROM ' . $dbase . '.`' . $table_prefix . 'site_plugin_events` WHERE pluginid = \'' . $id . '\''); - // add new events - mysql_query("INSERT INTO $dbase.`" . $table_prefix . "site_plugin_events` (pluginid, evtid) SELECT '$id' as 'pluginid',se.id as 'evtid' FROM $dbase.`" . $table_prefix . "system_eventnames` se WHERE name IN ('" . implode("','", $events) . "')"); - } - } - } - } + } + } } // Install Snippets -if (isset ($_POST['snippet'])) { - echo "

    " . $_lang['snippets'] . ":

    "; - $selSnips = $_POST['snippet']; - foreach ($selSnips as $si) { - $si = (int) trim($si); - $name = mysql_real_escape_string($moduleSnippets[$si][0]); - $desc = mysql_real_escape_string($moduleSnippets[$si][1]); - $filecontent = $moduleSnippets[$si][2]; - $properties = mysql_real_escape_string($moduleSnippets[$si][3]); - $category = mysql_real_escape_string($moduleSnippets[$si][4]); - if (!file_exists($filecontent)) - echo "

      $name: " . $_lang['unable_install_snippet'] . " '$filecontent' " . $_lang['not_found'] . ".

    "; - else { - - // Create the category if it does not already exist - if( $category ){ - $rs = mysql_query("REPLACE INTO $dbase.`" . $table_prefix . "categories` (`id`,`category`) ( SELECT MIN(`id`), '$category' FROM ( SELECT `id` FROM $dbase.`" . $table_prefix . "categories` WHERE `category` = '$category' UNION SELECT (CASE COUNT(*) WHEN 0 THEN 1 ELSE MAX(`id`)+1 END ) `id` FROM $dbase.`" . $table_prefix . "categories` ) AS _tmp )", $sqlParser->conn); - } - - $snippet = end(preg_split("/(\/\/)?\s*\<\?php/", file_get_contents($filecontent))); - // remove installer docblock - $snippet = preg_replace("/^.*?\/\*\*.*?\*\/\s+/s", '', $snippet, 1); - $snippet = mysql_real_escape_string($snippet); - $rs = mysql_query("SELECT * FROM $dbase.`" . $table_prefix . "site_snippets` WHERE name='$name'", $sqlParser->conn); - if (mysql_num_rows($rs)) { - $row = mysql_fetch_assoc($rs); - $props = propUpdate($properties,$row['properties']); - if (!@ mysql_query("UPDATE $dbase.`" . $table_prefix . "site_snippets` SET snippet='$snippet', description='$desc', properties='$props' WHERE name='$name';", $sqlParser->conn)) { - echo "

    " . mysql_error() . "

    "; - return; - } - echo "

      $name: " . $_lang['upgraded'] . "

    "; - } else { - if (!@ mysql_query("INSERT INTO $dbase.`" . $table_prefix . "site_snippets` (name,description,snippet,properties,category) VALUES('$name','$desc','$snippet','$properties',(SELECT (CASE COUNT(*) WHEN 0 THEN 0 ELSE `id` END) `id` FROM $dbase.`" . $table_prefix . "categories` WHERE `category` = '$category'));", $sqlParser->conn)) { - echo "

    " . mysql_error() . "

    "; - return; - } - echo "

      $name: " . $_lang['installed'] . "

    "; - } - } - } +if (isset ($_POST['snippet']) || $installData) { + echo "

    " . $_lang['snippets'] . ":

    "; + $selSnips = $_POST['snippet']; + foreach ($moduleSnippets as $k=>$moduleSnippet) { + $installSample = in_array('sample', $moduleSnippet[5]) && $installData == 1; + if(in_array($k, $selSnips) || $installSample) { + $name = mysql_real_escape_string($moduleSnippet[0]); + $desc = mysql_real_escape_string($moduleSnippet[1]); + $filecontent = $moduleSnippet[2]; + $properties = mysql_real_escape_string($moduleSnippet[3]); + $category = mysql_real_escape_string($moduleSnippet[4]); + if (!file_exists($filecontent)) + echo "

      $name: " . $_lang['unable_install_snippet'] . " '$filecontent' " . $_lang['not_found'] . ".

    "; + else { + + // Create the category if it does not already exist + $category = getCreateDbCategory($category, $sqlParser); + + $snippet = end(preg_split("/(\/\/)?\s*\<\?php/", file_get_contents($filecontent))); + // remove installer docblock + $snippet = preg_replace("/^.*?\/\*\*.*?\*\/\s+/s", '', $snippet, 1); + $snippet = mysql_real_escape_string($snippet); + $rs = mysql_query("SELECT * FROM $dbase.`" . $table_prefix . "site_snippets` WHERE name='$name'", $sqlParser->conn); + if (mysql_num_rows($rs)) { + $row = mysql_fetch_assoc($rs); + $props = propUpdate($properties,$row['properties']); + if (!@ mysql_query("UPDATE $dbase.`" . $table_prefix . "site_snippets` SET snippet='$snippet', description='$desc', properties='$props' WHERE name='$name';", $sqlParser->conn)) { + echo "

    " . mysql_error() . "

    "; + return; + } + echo "

      $name: " . $_lang['upgraded'] . "

    "; + } else { + if (!@ mysql_query("INSERT INTO $dbase.`" . $table_prefix . "site_snippets` (name,description,snippet,properties,category) VALUES('$name','$desc','$snippet','$properties',$category);", $sqlParser->conn)) { + echo "

    " . mysql_error() . "

    "; + return; + } + echo "

      $name: " . $_lang['installed'] . "

    "; + } + } + } + } +} + +// install data +if ($installData && $moduleSQLDataFile) { + echo "

    " . $_lang['installing_demo_site']; + $sqlParser->process($moduleSQLDataFile); + // display database results + if ($sqlParser->installFailed == true) { + $errors += 1; + echo "" . $_lang['database_alerts'] . "

    "; + echo "

    " . $_lang['setup_couldnt_install'] . "

    "; + echo "

    " . $_lang['installation_error_occured'] . "

    "; + for ($i = 0; $i < count($sqlParser->mysqlErrors); $i++) { + echo "" . $sqlParser->mysqlErrors[$i]["error"] . "" . $_lang['during_execution_of_sql'] . "" . strip_tags($sqlParser->mysqlErrors[$i]["sql"]) . ".


    "; + } + echo "

    "; + echo "

    " . $_lang['some_tables_not_updated'] . "

    "; + return; + } else { + echo "".$_lang['ok']."

    "; + } } // call back function if ($callBackFnc != "") - $callBackFnc ($sqlParser); + $callBackFnc ($sqlParser); // Setup the MODx API -- needed for the cache processor define('MODX_API_MODE', true); @@ -680,18 +720,18 @@ function startCMSSession(){ $sqlParser->close(); // andrazk 20070416 - release manager access - if (file_exists('../assets/cache/installProc.inc.php')) { - @chmod('../assets/cache/installProc.inc.php', 0755); +if (file_exists('../assets/cache/installProc.inc.php')) { + @chmod('../assets/cache/installProc.inc.php', 0755); unlink('../assets/cache/installProc.inc.php'); - } +} // setup completed! echo "

    " . $_lang['installation_successful'] . "

    "; echo "

    " . $_lang['to_log_into_content_manager'] . "

    "; if ($installMode == 0) { - echo "

    " . $_lang['installation_note'] . "

    "; + echo "

    " . $_lang['installation_note'] . "

    "; } else { - echo "

    " . $_lang['upgrade_note'] . "

    "; + echo "

    " . $_lang['upgrade_note'] . "

    "; } // Property Update function @@ -703,8 +743,8 @@ function propUpdate($new,$old){ foreach ($newArr as $k => $v) { if(!empty($v)){ - $tempArr = explode("=",trim($v)); - $returnArr[$tempArr[0]] = $tempArr[1]; + $tempArr = explode("=",trim($v)); + $returnArr[$tempArr[0]] = $tempArr[1]; } } foreach ($oldArr as $k => $v) { @@ -724,4 +764,23 @@ function propUpdate($new,$old){ return $return; } -?> \ No newline at end of file + +function getCreateDbCategory($category, $sqlParser) { + $dbase = $sqlParser->dbname; + $table_prefix = $sqlParser->prefix; + $category_id = 0; + if(!empty($category)) { + $category = mysql_real_escape_string($category); + $rs = mysql_query("SELECT id FROM $dbase.`".$table_prefix."categories` WHERE category = '".$category."'"); + if(mysql_num_rows($rs) && ($row = mysql_fetch_assoc($rs))) { + $category_id = $row['id']; + } else { + $q = "INSERT INTO $dbase.`".$table_prefix."categories` (`category`) VALUES ('{$category}');"; + $rs = mysql_query($q, $sqlParser->conn); + if($rs) { + $category_id = mysql_insert_id($sqlParser->conn); + } + } + } + return $category_id; +} diff --git a/install/lang/english.inc.php b/install/lang/english.inc.php old mode 100644 new mode 100755 index c1450f1305..1aef806efa --- a/install/lang/english.inc.php +++ b/install/lang/english.inc.php @@ -120,7 +120,8 @@ $_lang["not_found"] = 'not found'; $_lang["ok"] = 'OK!'; $_lang["optional_items"] = 'Optional Items'; -$_lang["optional_items_note"] = 'Please choose your installation options and click Install:'; +$_lang["optional_items_new_note"] = 'Please choose your installation options and click Install:'; +$_lang["optional_items_upd_note"] = 'Please choose your installation options and click Install:
    note : Everything is overwrited. Please note it. '; $_lang["php_security_notice"] = 'Security notice

    While MODx will work on your PHP version, usage of MODx on this version is not recommended. Your version of PHP is vulnerable to numerous security holes. Please upgrade to PHP version is 4.3.8 or higher, which patches these holes. It is recommended you upgrade to this version for the security of your own website.

    '; $_lang["please_correct_error"] = '. Please correct the error'; $_lang["please_correct_errors"] = '. Please correct the errors'; diff --git a/install/lang/japanese-utf8.inc.php b/install/lang/japanese-utf8.inc.php index 19ee590acb..c36647f175 100755 --- a/install/lang/japanese-utf8.inc.php +++ b/install/lang/japanese-utf8.inc.php @@ -2,9 +2,9 @@ /** * MODx language File * - * @author MODx CMS JAPAN + * @author MEGU, yamamoto, TxO * @package MODx - * @version 1.0.3 + * @version 1.0.4J-r1 * * Filename: /install/lang/japanese-utf8/japanese-utf8.inc.php * Language: Japanese @@ -21,7 +21,7 @@ $_lang["alert_enter_login"] = 'データベースのユーザー名を入力してください'; $_lang["alert_server_test_connection"] = 'サーバー接続をテストしてください'; $_lang["alert_server_test_connection_failed"] = 'サーバー接続テストが失敗しました'; -$_lang["alert_table_prefixes"] = 'テーブルのプリフィクスはアルファベットのみ使えます。'; +$_lang["alert_table_prefixes"] = 'テーブルのプレフィックスはアルファベットのみ使えます。'; $_lang["all"] = '全て選択'; $_lang["and_try_again"] = 'これらのエラーを修正し、右下の「再チェック」ボタンをクリックしてください。'; $_lang["and_try_again_plural"] = 'これらのエラーを修正し、右下の「再チェック」ボタンをクリックしてください。'; //Plural form @@ -29,8 +29,8 @@ $_lang["btnback_value"] = '戻る'; $_lang["btnclose_value"] = 'インストール終了'; $_lang["btnnext_value"] = '進む'; -$_lang["cant_write_config_file"] = 'MODxは設定ファイルを生成できませんでした。以下をコピーしてconfig.inc.phpに反映してください '; -$_lang["cant_write_config_file_note"] = '実行後は、あなたのサイト名/manager/ にアクセスすることで管理画面にログインできます。'; +$_lang["cant_write_config_file"] = '設定ファイルを生成できませんでした。以下をコピーしてconfig.inc.phpに反映してください '; +$_lang["cant_write_config_file_note"] = '実行後は、サイト名/manager/ にアクセスすることで管理画面にログインできます。'; $_lang["checkbox_select_options"] = '拡張機能の選択:'; $_lang["checking_if_cache_exist"] = '/assets/cacheディレクトリの存在チェック(なければ転送に失敗しています): '; $_lang["checking_if_cache_file_writable"] = 'ファイル/assets/cache/siteCache.idx.phpの書き込み属性(606などに設定): '; @@ -45,12 +45,12 @@ $_lang["checking_mysql_version"] = 'MySQLのバージョン: '; $_lang["checking_php_version"] = 'PHPのバージョンチェック: '; $_lang["checking_registerglobals"] = 'Register_Globalsの設定: '; -$_lang["checking_registerglobals_note"] = 'Register_Globalsがオンになっていると、サイトはXSS攻撃の対象としてさらされるため非常に危険です。特に必要がなければオフにしてください。.htaccessに「php_flag register_globals off」と記述を加えることでオフに設定できます。'; //Look at changing this to provide a solution. +$_lang["checking_registerglobals_note"] = 'Register_Globalsがオンになっていると、サイトはXSS攻撃の対象としてさらされるため非常に危険です。特に必要がなければオフにしてください。.htaccessに「php_flag register_globals off」と記述を加えることでオフに設定できます。'; $_lang["checking_sessions"] = 'セッション情報が正常に構成されるかどうか: '; $_lang["checking_table_prefix"] = 'Tableプリフィックスの設定 `'; $_lang["chunks"] = 'チャンク'; $_lang["config_permissions_note"] = 'config.inc.phpという名前の空ファイルを作って/manager/includes/ディレクトリに転送するか、すでに転送済みのconfig.inc.php.blankをリネームするなどし、パーミッションを606などに設定してください。'; -$_lang["connection_screen_collation"] = '照合順序(エンコード指定含む):'; +$_lang["connection_screen_collation"] = '照合順序(エンコード指定含む):
    ※utf8_general_ciを
    おすすめします'; $_lang["connection_screen_connection_method"] = '接続時の文字セットの扱い:'; $_lang["connection_screen_database_connection_information"] = 'データベース設定'; $_lang["connection_screen_database_connection_note"] = 'データベース名を入力してください。データベース作成権限がある場合は、ここで指定した名前でデータベースが作成されます。
    文字セットの扱いは「SET CHARACTER SET」、接続照合順序は「utf8_general_ci」をおすすめします。
    ※MySQL4.1未満ではこれらのエンコード設定を無視して日本語を扱います。'; @@ -68,7 +68,7 @@ $_lang["connection_screen_default_admin_user"] = 'デフォルトの管理アカウント作成'; $_lang["connection_screen_defaults"] = '管理アカウントの初期設定'; $_lang["connection_screen_server_connection_information"] = 'データベースホストへの接続'; -$_lang["connection_screen_server_connection_note"] = 'データベースサーバのホスト名・ログイン名・パスワードを入力し、「ここをクリック」をクリックし接続テストをしてください。
    ポート番号を指定する場合は「ホスト名:ポート番号」とします(例:localhost:3306)。
    ※MODx本体はMySQL4.0.2以上をサポートしますが、MySQL4.1未満ではAjaxSearchなど同梱アドオンの一部の機能が制限されます。ご注意ください。'; +$_lang["connection_screen_server_connection_note"] = 'データベースサーバのホスト名・ログイン名・パスワードを入力し、「ここをクリック」をクリックし接続テストをしてください。
    ポート番号を指定する場合は「ホスト名:ポート番号」とします(例:localhost:3306)。
    ※MODx本体はMySQL4.0.2以上をサポートしますが、MySQL4.1未満ではAjaxSearchなど同梱アドオンの一部の機能が制限されます。ご注意ください。
    ※通常の運用ではWebサーバがデータベースサーバを兼ねるためホスト名は「localhost」となりますが、さくらインターネット・ロリポップ・エックスサーバーなどメジャーなレンタルサーバでは専用のサーバを指定するケースが多いです。ご確認ください。'; $_lang["connection_screen_server_test_connection"] = 'ここをクリックして、接続テストを行ってください。'; $_lang["connection_screen_table_prefix"] = 'Tableプリフィクス:'; $_lang["creating_database_connection"] = 'データベース接続: '; @@ -93,31 +93,31 @@ $_lang["install_results"] = 'インストールを実行しました。'; $_lang["install_update"] = ''; $_lang["installation_error_occured"] = 'インストール中に以下のエラーが発生しました。'; -$_lang["installation_install_new_copy"] = '新規インストールします'; +$_lang["installation_install_new_copy"] = '新規インストール - '; $_lang["installation_install_new_note"] = 'すでにMODxをインストールしている場合はデータを上書きします。
    ※Tableプリフィクスが異なる場合を除く'; $_lang["installation_mode"] = 'インストールの選択'; $_lang["installation_new_installation"] = '新規インストール'; -$_lang["installation_note"] = 'はじめに:管理画面に無事にログインできたら、リソース(旧称・ドキュメント)および各種設定を日本語を含めて編集・保存し、文字化けが起きないかどうかを必ず確認してください。'; +$_lang["installation_note"] = 'はじめに:管理画面にログインできたら、まずは管理画面右上のヘルプをご確認ください。'; $_lang["installation_successful"] = 'インストールは無事に成功しました。'; -$_lang["installation_upgrade_advanced"] = 'カスタムアップデート
    (データベース設定を変更できます)'; -$_lang["installation_upgrade_advanced_note"] = 'データベース設定の変更を伴うアップデートが必要な場合はこちらを選んでください。
    '; +$_lang["installation_upgrade_advanced"] = 'カスタムアップデート
    (データベース設定をアップデートできます)'; +$_lang["installation_upgrade_advanced_note"] = 'データベース設定の変更を伴うアップデート(MySQL4→MySQL5など)が必要な場合はこちらを選んでください。config.inc.phpのデータベース接続情報一式を更新します。
    '; $_lang["installation_upgrade_existing"] = '通常アップデート'; -$_lang["installation_upgrade_existing_note"] = '通常のアップデートはこのオプションを。コアファイル・リソースファイルの両方とデータベースをアップデートします。'; +$_lang["installation_upgrade_existing_note"] = '通常のアップデートはこのオプションを。コアファイル・リソースファイルの両方とデータベースをアップデートします。
    【注意】データベースのバックアップはお済みですか?まだの場合は今からでもバックアップマネージャーでどうぞ。'; $_lang["installed"] = 'インストールしました'; $_lang["installing_demo_site"] = 'サンプルサイトのインストール: '; -$_lang["language_code"] = 'ja'; // for html element e.g. +$_lang["language_code"] = 'ja'; $_lang["loading"] = '処理中...'; $_lang["modules"] = 'モジュール'; $_lang["modx_footer1"] = '© 2005-2010 the MODx Content Management Framework (CMF) project. All rights reserved. MODx is licensed under the GNU GPL.'; $_lang["modx_footer2"] = 'MODx is free software. We encourage you to be creative and make use of MODx in any way you see fit. Just make sure that if you do make changes and decide to redistribute your modified MODx, that you keep the source code free!'; $_lang["modx_install"] = 'MODx » インストール'; -$_lang["modx_requires_php"] = ', and MODx requires PHP 4.2.0 or later'; +$_lang["modx_requires_php"] = ', PHP5.0.0以上を推奨します(4.3.8以上であれば動作しますがセキュリティ面に問題があります)'; $_lang["mysql_5051"] = ' MySQL server version is 5.0.51!'; $_lang["mysql_5051_warning"] = 'MySQL 5.0.51には不具合が確認されています。MySQLのアップデートをおすすめします。'; $_lang["mysql_version_is"] = ' Version '; $_lang["no"] = 'いいえ'; $_lang["none"] = '全ての選択を解除'; -$_lang["not_found"] = 'not found'; +$_lang["not_found"] = '見つかりません'; $_lang["ok"] = '問題なし'; $_lang["optional_items"] = 'インストールオプションの選択'; $_lang["optional_items_note"] = 'オプションを選択してください:

    初めてMODxを試す人は、全てチェックを入れましょう。
    ※日本チームより:「サンプルサイト」は内容が古く、検証も不十分です。興味がある場合のみ、参考程度にお試しください。'; @@ -134,11 +134,11 @@ $_lang["retry"] = '再チェック'; $_lang["running_database_updates"] = '実行中のデータベースのアップデート: '; $_lang["sample_web_site"] = 'サンプルサイト'; -$_lang["sample_web_site_note"] = '新規インストールの場合は問題ありませんが、すでにMODxでサイトを構成している場合は上書きされます。ご注意ください。'; +$_lang["sample_web_site_note"] = '※このサンプルサイトは内容が古く検証も不十分なので、現状ではMODxの仕組みの理解にはあまり役立ちません。テスト目的のダミーコンテンツなどとして、必要に応じてお試しください。'; $_lang["session_problem"] = 'サーバー接続に問題が発生しました。問題修正のために、サーバー管理者へ相談してください。'; $_lang["session_problem_try_again"] = '再試行しますか?'; $_lang["setup_cannot_continue"] = '上記理由のため、セットアップを継続できません。'; -$_lang["setup_couldnt_install"] = 'MODx setup couldn\'t install/alter some tables inside the selected database.'; +$_lang["setup_couldnt_install"] = '選択されたテーブルをインストール/変更できませんでした。'; $_lang["setup_database"] = 'セットアップ結果
    '; $_lang["setup_database_create_connection"] = 'データベース接続: '; $_lang["setup_database_create_connection_failed"] = 'データベース接続に失敗しました!'; @@ -167,19 +167,19 @@ $_lang["summary_setup_check"] = 'インストール実行前の最終チェックです。'; $_lang["system_configuration"] = 'System Configuration'; $_lang["system_configuration_validate_referer_description"] = 'The Validate HTTP_REFERER headers setting is recommended and can protect your site from CSRF attacks, but in some server configurations, can make your manager inaccessible.'; -$_lang["table_prefix_already_inuse"] = ' - このテーブルプリフィクスはすでに使われています。'; +$_lang["table_prefix_already_inuse"] = ' - このテーブルプレフィックスはすでに使われています。'; $_lang["table_prefix_already_inuse_note"] = '異なるテーブルプリフィクスを指定するか、phpMyAdminなどを利用し関連テーブルを削除し、再びインストールを試してみてください。'; -$_lang["table_prefix_not_exist"] = ' - データベーステーブルのプリフィクスがTable prefix does not exist in this database!'; +$_lang["table_prefix_not_exist"] = ' - 指定されたテーブルプレフィックスがデータベース内に存在していなかったため、インストールが完了しませんでした。正しいテーブルプリフィックスを指定し、再度実行してください。'; $_lang["table_prefix_not_exist_note"] = 'Setup couldn\'t install into the selected database, as it does not contain existing tables with the prefix you specified to be upgraded. Please choose an existing table prefix, and run Setup again.'; $_lang["templates"] = 'テンプレート'; $_lang["to_log_into_content_manager"] = 'おつかれさまでした。「インストール終了」ボタンをクリックすると、管理画面のログインページ(manager/index.php)にアクセスします。'; $_lang["toggle"] = '選択状態を反転'; $_lang['tvs'] = 'テンプレート変数'; -$_lang["unable_install_chunk"] = 'チャンクをインストールできませんでした。'; -$_lang["unable_install_module"] = 'モジュールをインストールできませんでした'; -$_lang["unable_install_plugin"] = 'プラグインをインストールできませんでした。'; -$_lang["unable_install_snippet"] = 'スニペットをインストールできませんでした。'; -$_lang["unable_install_template"] = 'テンプレートをインストールできませんでした。'; +$_lang["unable_install_chunk"] = 'チャンクをインストールできません'; +$_lang["unable_install_module"] = 'モジュールをインストールできません'; +$_lang["unable_install_plugin"] = 'プラグインをインストールできません'; +$_lang["unable_install_snippet"] = 'スニペットをインストールできません'; +$_lang["unable_install_template"] = 'テンプレートをインストールできません'; $_lang["upgrade_note"] = '注意:管理画面に無事にログインできたら、リソース(旧称・ドキュメント)および各種設定を日本語を含めて編集・保存し、文字化けが起きないかどうかを必ず確認してください。また管理画面内の「イベントログ」を開き、エラーの有無をご確認ください。'; $_lang["upgraded"] = 'アップデートしました'; $_lang["validate_referer_title"] = 'Validate HTTP_REFERER headers?'; diff --git a/install/setup.data.sql b/install/setup.data.sql old mode 100644 new mode 100755 index 4d97f7be66..b2fad16257 --- a/install/setup.data.sql +++ b/install/setup.data.sql @@ -36,7 +36,7 @@ REPLACE INTO `{PREFIX}site_content` VALUES (1, 'document', 'text/html', 'Home', REPLACE INTO `{PREFIX}site_content` VALUES (2, 'document', 'text/html', 'Blog', 'My Blog', '', 'blog', '', 1, 0, 0, 0, 1, '', '[[Ditto? &parents=`2` &display=`2` &removeChunk=`Comments` &tpl=`ditto_blog` &paginate=`1` &extenders=`summary,dateFilter` &paginateAlwaysShowLinks=`1` &tagData=`documentTags`]]\r\n\r\n

    Showing [+start+] - [+stop+] of [+total+] Articles

    \r\n\r\n
    [+previous+] [+pages+] [+next+]
    \r\n\r\n
     
    \r\n\r\n[[Reflect? &config=`wordpress` &dittoSnippetParameters=`parents:2` &id=`wp` &getDocuments=`1`]]', 1, 4, 2, 0, 0, 1, 1144904400, 1, 1159818696, 0, 0, 0, 0, 0, 'Blog', 0, 0, 0, 0, 0, 0, 0); -REPLACE INTO `{PREFIX}site_content` VALUES (4, 'document', 'text/html', '[*loginName*]', 'Login to Enable to Comments', '', 'login', '', 1, 0, 0, 0, 0, '', '

    In order to comment on blog entries, you must be a registered user of [(site_name)]. If you haven''t already registered, you can request an account.

    \r\n
    [!WebLogin? &tpl=`FormLogin` &loginhomeid=`2`!]
    ', 1, 4, 11, 0, 0, 1, 1144904400, 1, 1144904400, 0, 0, 0, 0, 0, '[*loginName*]', 0, 0, 0, 0, 0, 0, 1); +REPLACE INTO `{PREFIX}site_content` VALUES (4, 'document', 'text/html', '[*loginName*]', 'Login to Enable to Comments', '', 'login', '', 1, 0, 0, 0, 0, '', '

    In order to comment on blog entries, you must be a registered user of [(site_name)]. If you haven''t already registered, you can request an account.

    \r\n
    [!WebLogin? &tpl=`WebLoginSideBar` &loginhomeid=`2`!]
    ', 1, 4, 11, 0, 0, 1, 1144904400, 1, 1144904400, 0, 0, 0, 0, 0, '[*loginName*]', 0, 0, 0, 0, 0, 0, 1); REPLACE INTO `{PREFIX}site_content` VALUES (5, 'document', 'text/html', 'Request an Account', 'Sign Up for Full Site Privileges', '', 'request-an-account', '', 1, 0, 0, 0, 0, '', '[[WebSignup? &tpl=`FormSignup` &groups=`Registered Users`]]', 1, 4, 3, 0, 0, 1, 1144904400, 1, 1158320704, 0, 0, 0, 0, 0, '', 0, 0, 0, 0, 0, 0, 1); @@ -78,10 +78,10 @@ REPLACE INTO `{PREFIX}site_content` VALUES (24, 'document', 'text/html', 'Extend REPLACE INTO `{PREFIX}site_content` VALUES (32, 'document', 'text/html', 'Design', 'Site Design', '', 'design', '', 1, 0, 0, 0, 0, '', '

    Credits

    \r\n

    The default site''s themes are based off of validating XHTML/CSS designs by Andreas Viklund, ziworks | Web Solutions and MODxHost.

    ', 1, 4, 10, 1, 1, 2, 1144904400, 1, 1160112322, 0, 0, 0, 1144912754, 1, 'Design', 0, 0, 0, 0, 0, 0, 0); -REPLACE INTO `{PREFIX}site_content` VALUES (33, 'document', 'text/html', 'Getting Help', 'Getting Help with MODx', '', 'geting-help', '', 1, 0, 0, 0, 0, '', '

    The team behind MODx strives to constantly add to and refine the documentation to help you get up to speed with MODx:

    \r\n
      \r\n
    • For basic instructions on integrating custom templates into MODx, please see the Designer''s Guide.
    • \r\n
    • For an introduction to working in MODx from the content editors perspectve, see the Content Editor''s Guide.
    • \r\n
    • For a detailed overview of the backend "manager" and setting up Users and Groups, please peruse the Administration Guide.
    • \r\n
    • For developers, architecture and API documentation can be found in the Developer''s Guide.
    • \r\n
    • And if someone has installed this site for you, but you''re curious as to the steps they went through, please see the Getting Started Guide.
    • \r\n
    \r\n\r\n

    And don''t forget, you can always learn and ask questions at the MODx forums. \r\n', 1, 4, 8, 1, 1, 2, 1144904400, 2, 1144904400, 0, 0, 0, 0, 0, 'Getting Help', 0, 0, 0, 0, 0, 0, 0); +REPLACE INTO `{PREFIX}site_content` VALUES (33, 'document', 'text/html', 'Getting Help', 'Getting Help with MODx', '', 'geting-help', '', 1, 0, 0, 0, 0, '', '

    The team behind MODx strives to constantly add to and refine the documentation to help you get up to speed with MODx:

    \r\n
      \r\n
    • For basic instructions on integrating custom templates into MODx, please see the Designer''s Guide.
    • \r\n
    • For an introduction to working in MODx from the content editors perspectve, see the Content Editor''s Guide.
    • \r\n
    • For a detailed overview of the backend "manager" and setting up Users and Groups, please peruse the Administration Guide.
    • \r\n
    • For developers, architecture and API documentation can be found in the Developer''s Guide.
    • \r\n
    • And if someone has installed this site for you, but you''re curious as to the steps they went through, please see the Getting Started Guide.
    • \r\n
    \r\n\r\n

    And don''t forget, you can always learn and ask questions at the MODx forums. \r\n', 1, 4, 8, 1, 1, 2, 1144904400, 2, 1144904400, 0, 0, 0, 0, 0, 'Getting Help', 0, 0, 0, 0, 0, 0, 0); -REPLACE INTO `{PREFIX}site_content` VALUES (37, 'document', 'text/html', '[*loginName*]', 'The page you''re trying to reach requires a login', '', 'blog-login', '', 1, 0, 0, 0, 0, '', '

    In order to add a blog entry, you must be logged in as a Site Admin webuser. Also, commenting on posts requires a login. Contact the site owner for permissions to create new post, or create a web user account to automatically receive commenting privileges. If you already have an account, please login below.

    \r\n\r\n[!WebLogin? &tpl=`FormLogin` &loginhomeid=`3`!]', 1, 4, 12, 0, 0, 1, 1144904400, 1, 1158599931, 0, 0, 0, 0, 0, '', 0, 0, 0, 0, 0, 0, 1); +REPLACE INTO `{PREFIX}site_content` VALUES (37, 'document', 'text/html', '[*loginName*]', 'The page you''re trying to reach requires a login', '', 'blog-login', '', 1, 0, 0, 0, 0, '', '

    In order to add a blog entry, you must be logged in as a Site Admin webuser. Also, commenting on posts requires a login. Contact the site owner for permissions to create new post, or create a web user account to automatically receive commenting privileges. If you already have an account, please login below.

    \r\n\r\n[!WebLogin? &tpl=`WebLoginSideBar` &loginhomeid=`3`!]', 1, 4, 12, 0, 0, 1, 1144904400, 1, 1158599931, 0, 0, 0, 0, 0, '', 0, 0, 0, 0, 0, 0, 1); REPLACE INTO `{PREFIX}site_content` VALUES (46, 'document', 'text/html', 'Thank You', '', '', 'thank-you', '', 1, 0, 0, 0, 0, '', '

    Thank You!

    \r\n

    We do appreciate your feedback. Your comments have been submitted to our office and hopefully someone will bother to actually read it. You should also receive a copy of the message in your inbox.

    \r\n

    Please be assured that we will do our best not to ignore you, but if today is a Monday please try again in a few days.

    \r\n', 1, 4, 13, 1, 1, 1, 1159302141, 1, 1159302892, 0, 0, 0, 1159302182, 1, '', 0, 0, 0, 0, 0, 0, 1); @@ -92,21 +92,12 @@ REPLACE INTO `{PREFIX}site_content` VALUES (46, 'document', 'text/html', 'Thank # -REPLACE INTO `{PREFIX}site_htmlsnippets` VALUES (1, 'WebLoginSideBar', 'WebLogin Sidebar Template', 0, 2, 0, ' \r\n\r\n
    \r\n \r\n\r\n\r\n\r\n\r\n
    \r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
    User:
    Password:
    \r\n \r\n \r\n \r\n \r\n \r\n
    \r\n
    \r\n
    Forgot Password?
    \r\n
    \r\n
    \r\n
    \r\n\r\n[+logouttext+]\r\n
    \r\n\r\n
    \r\n\r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
    Enter the email address of your account
    below to receive your password:
    \r\n
    \r\n
    \r\n\r\n', 0); - - -REPLACE INTO `{PREFIX}site_htmlsnippets` VALUES (3, 'FormLogin', 'Custom login form for Weblogins', 0, 2, 0, ' \r\n\r\n
    \r\n \r\n
    \r\n

    Your Login Details

    \r\n \r\n \r\n \r\n \r\n Forget Your Password?\r\n
    \r\n
    \r\n
    \r\n\r\n

    You''re already logged in

    \r\nDo you wish to [+logouttext+]?\r\n
    \r\n\r\n
    \r\n
    \r\n

    It happens to everyone...

    \r\n \r\n \r\n \r\n \r\n
    \r\n
    \r\n', 0); - - REPLACE INTO `{PREFIX}site_htmlsnippets` VALUES (4, 'FormSignup', 'For the weblogin signup', 0, 2, 0, ' \r\n\r\n
    \r\n
    \r\n

    User Details

    \r\n

    Items marked by * are required

    \r\n \r\n \r\n \r\n
    \r\n \r\n
    \r\n

    Password

    \r\n \r\n \r\n
    \r\n \r\n
    \r\n

    Optional Account Profile Info

    \r\n \r\n \r\n
    \r\n \r\n
    \r\n

    Bot-Patrol

    \r\n

    Enter the word/number combination shown in the image below.

    \r\n

    \"If

    \r\n \r\n
    \r\n \r\n
    \r\n \r\n
    \r\n
    \r\n\r\n\r\n
    \r\n\r\n

    Signup completed successfully!
    \r\nYour account was created. A copy of your signup information was sent to your email address.

    \r\n', 0); REPLACE INTO `{PREFIX}site_htmlsnippets` VALUES (6, 'nl_sidebar', 'Default Template TPL for Ditto', 0, 1, 0, '[+title+]
    \r\n[+longtitle+]

    ', 0); -REPLACE INTO `{PREFIX}site_htmlsnippets` VALUES (7, 'styles', 'Stylesheet switcher list', 0, 1, 0, '
    The CSS Themes can only be used on the MODxCSS and MODxCSSW Layouts
    \r\n\r\n', 0); - - REPLACE INTO `{PREFIX}site_htmlsnippets` VALUES (8, 'ditto_blog', 'Blog Template', 0, 1, 0, '
    \r\n\

    [+title+]

    \r\n
    Tags: [+tagLinks+]
    \r\n [+summary+]\r\n \r\n
    ', 0); @@ -161,20 +152,6 @@ REPLACE INTO `{PREFIX}site_keywords` VALUES ('3','Front End Editing'); REPLACE INTO `{PREFIX}site_keywords` VALUES ('4','login'); -# -# Dumping data for table `site_tmplvars` -# - - -REPLACE INTO `{PREFIX}site_tmplvars` VALUES ('1','richtext','blogContent','blogContent','RTE for the new blog entries','0','1','0','','0','richtext','&w=383px&h=450px&edt=TinyMCE',''); - - -REPLACE INTO `{PREFIX}site_tmplvars` VALUES ('2','text','loginName','loginName','Conditional name for the Login menu item','0','1','0','','0','','','@EVAL if ($modx->getLoginUserID()) return \'Logout\'; else return \'Login\';'); - - -REPLACE INTO `{PREFIX}site_tmplvars` VALUES ('3','text','documentTags','Tags','Space delimited tags for the current document','0','1','0','','0','','',''); - - # # Dumping data for table `modx2352_site_tmplvar_contentvalues` # @@ -186,41 +163,6 @@ REPLACE INTO `{PREFIX}site_tmplvar_contentvalues` VALUES ('1','3','9','demo mini REPLACE INTO `{PREFIX}site_tmplvar_contentvalues` VALUES ('2','3','18','demo older posting'); -# -# Dumping data for table `site_tmplvar_templates` -# - - -REPLACE INTO `{PREFIX}site_tmplvar_templates` VALUES ('1','1','1'); - - -REPLACE INTO `{PREFIX}site_tmplvar_templates` VALUES ('1','3','2'); - - -REPLACE INTO `{PREFIX}site_tmplvar_templates` VALUES ('1','4','3'); - - -REPLACE INTO `{PREFIX}site_tmplvar_templates` VALUES ('2','1','1'); - - -REPLACE INTO `{PREFIX}site_tmplvar_templates` VALUES ('2','3','2'); - - -REPLACE INTO `{PREFIX}site_tmplvar_templates` VALUES ('2','4','3'); - - -REPLACE INTO `{PREFIX}site_tmplvar_templates` VALUES ('3','3','0'); - - -REPLACE INTO `{PREFIX}site_tmplvar_templates` VALUES ('3','4','0'); - - -REPLACE INTO `{PREFIX}site_tmplvar_templates` VALUES ('3','1','0'); - - -REPLACE INTO `{PREFIX}site_tmplvar_templates` VALUES ('3','5','0'); - - # # Dumping data for table `system_settings` # diff --git a/install/setup.info.php b/install/setup.info.php index 4ca8cb06ee..e922d97747 100755 --- a/install/setup.info.php +++ b/install/setup.info.php @@ -17,8 +17,7 @@ // setup Template template files - array : name, description, type - 0:file or 1:content, parameters, category $mt = &$moduleTemplates; - if(is_dir($templatePath) && is_readable($templatePath)) - { +if(is_dir($templatePath) && is_readable($templatePath)) { $d = dir($templatePath); while (false !== ($tplfile = $d->read())) { @@ -35,7 +34,8 @@ $params['type'], "$templatePath/{$params['filename']}", $params['modx_category'], - $params['lock_template'] + $params['lock_template'], + array_key_exists('installset', $params) ? preg_split("/\s*,\s*/", $params['installset']) : false ); } } @@ -44,18 +44,14 @@ // setup Template Variable template files $mtv = &$moduleTVs; - if(is_dir($tvPath) && is_readable($tvPath)) - { +if(is_dir($tvPath) && is_readable($tvPath)) { $d = dir($tvPath); - while (false !== ($tplfile = $d->read())) - { + while (false !== ($tplfile = $d->read())) { if(substr($tplfile, -4) != '.tpl') continue; $params = parse_docblock($tvPath, $tplfile); - if(is_array($params) && (count($params)>0)) - { + if(is_array($params) && (count($params)>0)) { $description = empty($params['version']) ? $params['description'] : "{$params['version']} {$params['description']}"; - $mtv[] = array - ( + $mtv[] = array( $params['name'], $params['caption'], $description, @@ -67,7 +63,8 @@ "$templatePath/{$params['filename']}", /* not currently used */ $params['template_assignments'], /* comma-separated list of template names */ $params['modx_category'], - $params['lock_tv'] /* value should be 1 or 0 */ + $params['lock_tv'], /* value should be 1 or 0 */ + array_key_exists('installset', $params) ? preg_split("/\s*,\s*/", $params['installset']) : false ); } } @@ -89,7 +86,8 @@ $params['description'], "$chunkPath/{$params['filename']}", $params['modx_category'], - array_key_exists('overwrite', $params) ? $params['overwrite'] : 'true' + array_key_exists('overwrite', $params) ? $params['overwrite'] : 'true', + array_key_exists('installset', $params) ? preg_split("/\s*,\s*/", $params['installset']) : false ); } } @@ -107,7 +105,14 @@ $params = parse_docblock($snippetPath, $tplfile); if(is_array($params) && count($params) > 0) { $description = empty($params['version']) ? $params['description'] : "{$params['version']} {$params['description']}"; - $ms[] = array($params['name'], $description, "$snippetPath/{$params['filename']}", $params['properties'], $params['modx_category'] ); + $ms[] = array( + $params['name'], + $description, + "$snippetPath/{$params['filename']}", + $params['properties'], + $params['modx_category'], + array_key_exists('installset', $params) ? preg_split("/\s*,\s*/", $params['installset']) : false + ); } } $d->close(); @@ -124,7 +129,17 @@ $params = parse_docblock($pluginPath, $tplfile); if(is_array($params) && count($params) > 0) { $description = empty($params['version']) ? $params['description'] : "{$params['version']} {$params['description']}"; - $mp[] = array($params['name'], $description, "$pluginPath/{$params['filename']}", $params['properties'], $params['events'], $params['guid'], $params['modx_category'], $params['legacy_names'] ); + $mp[] = array( + $params['name'], + $description, + "$pluginPath/{$params['filename']}", + $params['properties'], + $params['events'], + $params['guid'], + $params['modx_category'], + $params['legacy_names'], + array_key_exists('installset', $params) ? preg_split("/\s*,\s*/", $params['installset']) : false + ); } } $d->close(); @@ -141,7 +156,16 @@ $params = parse_docblock($modulePath, $tplfile); if(is_array($params) && count($params) > 0) { $description = empty($params['version']) ? $params['description'] : "{$params['version']} {$params['description']}"; - $mm[] = array($params['name'], $description, "$modulePath/{$params['filename']}", $params['properties'], $params['guid'], intval($params['shareparams']), $params['modx_category'] ); + $mm[] = array( + $params['name'], + $description, + "$modulePath/{$params['filename']}", + $params['properties'], + $params['guid'], + intval($params['shareparams']), + $params['modx_category'], + array_key_exists('installset', $params) ? preg_split("/\s*,\s*/", $params['installset']) : false + ); } } $d->close(); @@ -274,7 +298,8 @@ function parse_docblock($element_dir, $filename) { $param = trim($ma[1]); $val = trim($ma[2]); } - if($val !== '0' && (empty($param) || empty($val))) { + //if($val !== '0' && (empty($param) || empty($val))) { + if(empty($param)) { continue; } } diff --git a/install/setup.sql b/install/setup.sql index 43bc956060..af067aeb43 100755 --- a/install/setup.sql +++ b/install/setup.sql @@ -90,7 +90,8 @@ CREATE TABLE IF NOT EXISTS `{PREFIX}member_groups` ( `id` int(10) NOT NULL auto_increment, `user_group` int(10) NOT NULL default '0', `member` int(10) NOT NULL default '0', - PRIMARY KEY (`id`) + PRIMARY KEY (`id`), + UNIQUE INDEX `ix_group_member` (`user_group`,`member`) ) TYPE=MyISAM COMMENT='Contains data used for access permissions.'; @@ -480,7 +481,8 @@ CREATE TABLE IF NOT EXISTS `{PREFIX}web_groups` ( `id` int(10) NOT NULL auto_increment, `webgroup` int(10) NOT NULL default '0', `webuser` int(10) NOT NULL default '0', - PRIMARY KEY (`id`) + PRIMARY KEY (`id`), + UNIQUE INDEX `ix_group_user` (`webgroup`,`webuser`) ) Type=MyISAM COMMENT='Contains data used for web access permissions.'; @@ -770,7 +772,8 @@ ALTER TABLE `{PREFIX}web_user_settings` MODIFY COLUMN `setting_value` text; ALTER TABLE `{PREFIX}user_attributes` MODIFY COLUMN `state` varchar(25) NOT NULL default '', - MODIFY COLUMN `zip` varchar(25) NOT NULL default ''; + MODIFY COLUMN `zip` varchar(25) NOT NULL default '', + MODIFY COLUMN `comment` text; ALTER TABLE `{PREFIX}site_metatags` @@ -781,13 +784,22 @@ ALTER TABLE `{PREFIX}site_metatags` ALTER TABLE `{PREFIX}web_user_attributes` MODIFY COLUMN `state` varchar(25) NOT NULL default '', - MODIFY COLUMN `zip` varchar(25) NOT NULL default ''; + MODIFY COLUMN `zip` varchar(25) NOT NULL default '', + MODIFY COLUMN `comment` text; ALTER TABLE `{PREFIX}user_roles` ADD COLUMN `remove_locks` int(1) NOT NULL DEFAULT '0'; +ALTER TABLE `{PREFIX}member_groups` + ADD UNIQUE INDEX `ix_group_member` (`user_group`,`member`); + + +ALTER TABLE `{PREFIX}web_groups` + ADD UNIQUE INDEX `ix_group_user` (`webgroup`,`webuser`); + + # Set the private manager group flag UPDATE {PREFIX}documentgroup_names AS dgn LEFT JOIN {PREFIX}membergroup_access AS mga ON mga.documentgroup = dgn.id @@ -799,9 +811,15 @@ UPDATE {PREFIX}documentgroup_names AS dgn UPDATE `{PREFIX}site_plugins` SET `disabled` = '1' WHERE `name` IN ('Bottom Button Bar'); +UPDATE `{PREFIX}site_plugins` SET `disabled` = '1' WHERE `name` IN ('Inherit Parent Template'); + + UPDATE `{PREFIX}system_settings` SET `setting_value` = '' WHERE `setting_name` = 'settings_version'; +UPDATE `{PREFIX}system_settings` SET `setting_value` = '0' WHERE `setting_name` = 'validate_referer' AND `setting_value` = '00'; + + # start related to #MODX-1321 @@ -884,8 +902,8 @@ INSERT IGNORE INTO `{PREFIX}system_settings` ('site_status','1'), ('site_unavailable_message','The site is currently unavailable'), ('track_visitors','0'), -('resolve_hostnames','0'), ('top_howmany','10'), +('auto_template_logic','{AUTOTEMPLATELOGIC}'), ('default_template','3'), ('old_template',''), ('publish_default','0'), diff --git a/install/sqlParser.class.php b/install/sqlParser.class.php index 1fa293b0ff..fae80fdf6b 100755 --- a/install/sqlParser.class.php +++ b/install/sqlParser.class.php @@ -10,7 +10,7 @@ class SqlParser { var $dbVersion; var $connection_charset, $connection_method; - function SqlParser($host, $user, $password, $db, $prefix='modx_', $adminname, $adminemail, $adminpass, $connection_charset= 'utf8', $managerlanguage='english', $connection_method = 'SET CHARACTER SET') { + function SqlParser($host, $user, $password, $db, $prefix='modx_', $adminname, $adminemail, $adminpass, $connection_charset= 'utf8', $managerlanguage='english', $connection_method = 'SET CHARACTER SET', $auto_template_logic = 'parent') { $this->host = $host; $this->dbname = $db; $this->prefix = $prefix; @@ -23,6 +23,7 @@ function SqlParser($host, $user, $password, $db, $prefix='modx_', $adminname, $a $this->connection_method = $connection_method; $this->ignoreDuplicateErrors = false; $this->managerlanguage = $managerlanguage; + $this->autoTemplateLogic = $auto_template_logic; } function connect() { @@ -76,6 +77,7 @@ function process($filename) { $idata = str_replace('{IMAGEURL}', $this->imageUrl, $idata); $idata = str_replace('{FILEMANAGERPATH}', $this->fileManagerPath, $idata); $idata = str_replace('{MANAGERLANGUAGE}', $this->managerlanguage, $idata); + $idata = str_replace('{AUTOTEMPLATELOGIC}', $this->autoTemplateLogic, $idata); /*$idata = str_replace('{VERSION}', $modx_version, $idata);*/ $sql_array = explode("\n\n", $idata); diff --git a/install/style.css b/install/style.css index 2266f4b044..4e14082a33 100755 --- a/install/style.css +++ b/install/style.css @@ -608,4 +608,5 @@ position:absolute; text-indent:-9999px; top:0; width:228px; -} \ No newline at end of file +} +input#cmsadminemail {style:width:350px;} diff --git a/manager/actions/bkmanager.static.php b/manager/actions/bkmanager.static.php old mode 100644 new mode 100755 diff --git a/manager/actions/document_data.static.php b/manager/actions/document_data.static.php old mode 100644 new mode 100755 diff --git a/manager/actions/export_site.static.php b/manager/actions/export_site.static.php old mode 100644 new mode 100755 diff --git a/manager/actions/files.dynamic.php b/manager/actions/files.dynamic.php old mode 100644 new mode 100755 index 9f20e7c27b..00feff51bb --- a/manager/actions/files.dynamic.php +++ b/manager/actions/files.dynamic.php @@ -1,8 +1,8 @@ INCLUDE_ORDERING_ERROR


    Please use the MODx Content Manager instead of accessing this file directly."); if(!$modx->hasPermission('file_manager')) { - $e->setError(3); - $e->dumpError(); + $e->setError(3); + $e->dumpError(); } if ($manager_theme) @@ -29,58 +29,58 @@ $uploadablefiles = array_merge($upload_files,$upload_images,$upload_media,$upload_flash); $count = count($uploadablefiles); for($i=0; $i<$count; $i++) { - $uploadablefiles[$i] = ".".$uploadablefiles[$i]; // add a dot :) + $uploadablefiles[$i] = ".".$uploadablefiles[$i]; // add a dot :) } // end settings function ufilesize($size) { - $a = array('B', 'KB', 'MB', 'GB', 'TB', 'PB'); - $pos = 0; - while ($size >= 1024) { - $size /= 1024; - $pos++; - } - return round($size,2)." ".$a[$pos]; + $a = array('B', 'KB', 'MB', 'GB', 'TB', 'PB'); + $pos = 0; + while ($size >= 1024) { + $size /= 1024; + $pos++; + } + return round($size,2)." ".$a[$pos]; } function removeLastPath($string) { $pos = false; $search = "/"; if (is_int(strpos($string, $search))) { - $endPos = strlen($string); - while ($endPos > 0) { - $endPos = $endPos - 1; - $pos = strpos($string, $search, $endPos); - if (is_int($pos)) { - break; - } - } + $endPos = strlen($string); + while ($endPos > 0) { + $endPos = $endPos - 1; + $pos = strpos($string, $search, $endPos); + if (is_int($pos)) { + break; + } + } } if (is_int($pos)) { - $len = strlen($search); - return substr($string, 0, $pos); + $len = strlen($search); + return substr($string, 0, $pos); } - return $string; + return $string; } function getExtension($string) { $pos = false; $search = "."; if (is_int(strpos($string, $search))) { - $endPos = strlen($string); - while ($endPos > 0) { - $endPos = $endPos - 1; - $pos = strpos($string, $search, $endPos); - if (is_int($pos)) { - break; - } - } + $endPos = strlen($string); + while ($endPos > 0) { + $endPos = $endPos - 1; + $pos = strpos($string, $search, $endPos); + if (is_int($pos)) { + break; + } + } } if (is_int($pos)) { - $len = strlen($search); - return substr($string, $pos); + $len = strlen($search); + return substr($string, $pos); } - return $string; + return $string; } function fsize($file) { @@ -95,39 +95,39 @@ function fsize($file) { } function mkdirs($strPath, $mode){ // recursive mkdir function - if (is_dir($strPath)) return true; - $pStrPath = dirname($strPath); - if (!mkdirs($pStrPath, $mode)) return false; - return @mkdir($strPath); + if (is_dir($strPath)) return true; + $pStrPath = dirname($strPath); + if (!mkdirs($pStrPath, $mode)) return false; + return @mkdir($strPath); } function logFileChange($type, $filename) { - //global $_lang; + //global $_lang; - include_once('log.class.inc.php'); - $log = new logHandler(); + include_once('log.class.inc.php'); + $log = new logHandler(); - switch ($type) { - case 'upload': $string = 'Uploaded File'; break; - case 'delete': $string = 'Deleted File'; break; - case 'modify': $string = 'Modified File'; break; - default: $string = 'Viewing File'; break; - } + switch ($type) { + case 'upload': $string = 'Uploaded File'; break; + case 'delete': $string = 'Deleted File'; break; + case 'modify': $string = 'Modified File'; break; + default: $string = 'Viewing File'; break; + } - $string = sprintf($string, $filename); - $log->initAndWriteLog($string, '', '', '', $type, $filename); + $string = sprintf($string, $filename); + $log->initAndWriteLog($string, '', '', '', $type, $filename); - // HACK: change the global action to prevent double logging - // @see manager/index.php @ 915 - global $action; $action = 1; + // HACK: change the global action to prevent double logging + // @see manager/index.php @ 915 + global $action; $action = 1; } // get the current work directory if(isset($_REQUEST['path']) && !empty($_REQUEST['path'])) { $_REQUEST['path'] = str_replace('..','',$_REQUEST['path']); - $startpath = is_dir($_REQUEST['path']) ? $_REQUEST['path'] : removeLastPath($_REQUEST['path']) ; + $startpath = is_dir($_REQUEST['path']) ? $_REQUEST['path'] : removeLastPath($_REQUEST['path']) ; } else { - $startpath = $filemanager_path; + $startpath = $filemanager_path; } $len = strlen($filemanager_path); @@ -146,142 +146,162 @@ function logFileChange($type, $filename) {
    ".$_lang['files_uploading']."

    ", $userfile['name'], substr($startpath, $len, strlen($startpath))); - echo $userfile['error']==0 ? "

    ".$_lang['files_file_type'].$userfile['type'].", ".fsize($userfile['tmp_name']).'

    ' : ''; - - $userfilename = $userfile['tmp_name']; - - if (is_uploaded_file($userfilename)) { - // file is uploaded file, process it! - if(!in_array(getExtension($userfile['name']), $uploadablefiles)) { - echo '

    '.$_lang['files_filetype_notok'].'

    '; - } else { - if(@move_uploaded_file($userfile['tmp_name'], $_POST['path'].'/'.$userfile['name'])) { - // Ryan: Repair broken permissions issue with file manager - if (strtoupper(substr(PHP_OS, 0, 3)) != 'WIN') - @chmod($_POST['path']."/".$userfile['name'], $new_file_permissions); - // Ryan: End - echo '

    '.$_lang['files_upload_ok'].'

    '; - - // invoke OnFileManagerUpload event - $modx->invokeEvent('OnFileManagerUpload', - array( - 'filepath' => $_POST['path'], - 'filename' => $userfile['name'] - )); - // Log the change - logFileChange('upload', $_POST['path'].'/'.$userfile['name']); - } else { - echo '

    '.$_lang['files_upload_copyfailed'].' '.$_lang["files_upload_permissions_error"].'

    '; - } - } - }else{ - echo '
    '.$_lang['files_upload_error'].':'; - switch($userfile['error']){ - case 0: //no error; possible file attack! - echo $_lang['files_upload_error0']; - break; - case 1: //uploaded file exceeds the upload_max_filesize directive in php.ini - echo $_lang['files_upload_error1']; - break; - case 2: //uploaded file exceeds the MAX_FILE_SIZE directive that was specified in the html form - echo $_lang['files_upload_error2']; - break; - case 3: //uploaded file was only partially uploaded - echo $_lang['files_upload_error3']; - break; - case 4: //no file was uploaded - echo $_lang['files_upload_error4']; - break; - default: //a default error, just in case! :) - echo $_lang['files_upload_error5']; - break; - } - echo '
    '; - } - echo '
    '; -} + for ($i = 0; $i <= count($_FILES['userfile']['tmp_name']); $i++) { + if(!empty($_FILES['userfile']['tmp_name'][$i])) { + $userfiles[$i]['tmp_name'] = $_FILES['userfile']['tmp_name'][$i]; + $userfiles[$i]['error'] = $_FILES['userfile']['error'][$i]; + $name = $_FILES['userfile']['name'][$i]; + if($modx->config['clean_uploaded_filename']) { + $nameparts = explode('.', $name); + $nameparts = array_map(array($modx, 'stripAlias'), $nameparts); + $name = implode('.', $nameparts); + } + $userfiles[$i]['name'] = $name; + $userfiles[$i]['type'] = $_FILES['userfile']['type'][$i]; + } + } + + foreach((array)$userfiles as $userfile) { + + // this seems to be an upload action. + printf("

    ".$_lang['files_uploading']."

    ", $userfile['name'], substr($startpath, $len, strlen($startpath))); + echo $userfile['error']==0 ? "

    ".$_lang['files_file_type'].$userfile['type'].", ".fsize($userfile['tmp_name']).'

    ' : ''; + + $userfilename = $userfile['tmp_name']; + + if (is_uploaded_file($userfilename)) { + // file is uploaded file, process it! + if(!in_array(getExtension($userfile['name']), $uploadablefiles)) { + echo '

    '.$_lang['files_filetype_notok'].'

    '; + } else { + if(@move_uploaded_file($userfile['tmp_name'], $_POST['path'].'/'.$userfile['name'])) { + // Ryan: Repair broken permissions issue with file manager + if (strtoupper(substr(PHP_OS, 0, 3)) != 'WIN') + @chmod($_POST['path']."/".$userfile['name'], $new_file_permissions); + // Ryan: End + echo '

    '.$_lang['files_upload_ok'].'

    '; + + // invoke OnFileManagerUpload event + $modx->invokeEvent('OnFileManagerUpload', + array( + 'filepath' => $_POST['path'], + 'filename' => $userfile['name'] + )); + // Log the change + logFileChange('upload', $_POST['path'].'/'.$userfile['name']); + } else { + echo '

    '.$_lang['files_upload_copyfailed'].' '.$_lang["files_upload_permissions_error"].'

    '; + } + } + } else { + echo '
    '.$_lang['files_upload_error'].':'; + switch($userfile['error']){ + case 0: //no error; possible file attack! + echo $_lang['files_upload_error0']; + break; + case 1: //uploaded file exceeds the upload_max_filesize directive in php.ini + echo $_lang['files_upload_error1']; + break; + case 2: //uploaded file exceeds the MAX_FILE_SIZE directive that was specified in the html form + echo $_lang['files_upload_error2']; + break; + case 3: //uploaded file was only partially uploaded + echo $_lang['files_upload_error3']; + break; + case 4: //no file was uploaded + echo $_lang['files_upload_error4']; + break; + default: //a default error, just in case! :) + echo $_lang['files_upload_error5']; + break; + } + echo '
    '; + } + echo '
    '; + } } if($_POST['mode']=='save') { - echo $_lang['editing_file']; - $filename = $_POST['path']; - $content = $_POST['content']; - if (!$handle = fopen($filename, 'w')) { - echo 'Cannot open file (',$filename,')'; - exit; - } - - // Write $content to our opened file. - if (fwrite($handle, $content) === FALSE) { - echo ''.$_lang['file_not_saved'].'

    '; - } else { - echo ''.$_lang['file_saved'].'

    '; - $_REQUEST['mode'] = 'edit'; - } - fclose($handle); - - // Log the change - logFileChange('modify', $filename); + echo $_lang['editing_file']; + $filename = $_POST['path']; + $content = $_POST['content']; + if (!$handle = fopen($filename, 'w')) { + echo 'Cannot open file (',$filename,')'; + exit; + } + + // Write $content to our opened file. + if (fwrite($handle, $content) === FALSE) { + echo ''.$_lang['file_not_saved'].'

    '; + } else { + echo ''.$_lang['file_saved'].'

    '; + $_REQUEST['mode'] = 'edit'; + } + fclose($handle); + + // Log the change + logFileChange('modify', $filename); } if($_REQUEST['mode']=='delete') { - printf($_lang['deleting_file'], str_replace('\\', '/', $_REQUEST['path'])); - $file = $_REQUEST['path']; - if (!@unlink($file)) { - echo ''.$_lang['file_not_deleted'].'

    '; - } else { - echo ''.$_lang['file_deleted'].'

    '; - } - - // Log the change - logFileChange('delete', $file); + printf($_lang['deleting_file'], str_replace('\\', '/', $_REQUEST['path'])); + $file = $_REQUEST['path']; + if (!@unlink($file)) { + echo ''.$_lang['file_not_deleted'].'

    '; + } else { + echo ''.$_lang['file_deleted'].'

    '; + } + + // Log the change + logFileChange('delete', $file); } @@ -289,94 +309,94 @@ function getFolderName(a){ + echo $_lang['files_access_denied']?>
    0) { - // str_replace must be used under windows to convert "/" into "\" - $complete_path = $path.str_replace('/','\\',dirname(zip_entry_name($zip_entry))); - $complete_name = $path.str_replace ('/','\\',zip_entry_name($zip_entry)); - if(!file_exists($complete_path)) { - $tmp = ''; - foreach(explode('\\',$complete_path) AS $k) { - $tmp .= $k.'\\'; - if(!file_exists($tmp)) { - @mkdir($tmp, $newfolderaccessmode); - } - } - } - if (zip_entry_open($zip, $zip_entry, 'r')) { - $fd = fopen($complete_name, 'w'); - fwrite($fd, zip_entry_read($zip_entry, zip_entry_filesize($zip_entry))); - fclose($fd); - zip_entry_close($zip_entry); - } - } - } - umask($old_umask); - zip_close($zip); - return true; - } - zip_close($zip); - } - if(!$err=@unzip(realpath("$startpath/".$_REQUEST['file']),realpath($startpath))) { - echo ''.$_lang['file_unzip_fail'].($err===0? 'Missing zip library (php_zip.dll / zip.so)':'').'

    '; - } else { - echo ''.$_lang['file_unzip'].'

    '; - } + // by patrick_allaert - php user notes + function unzip($file, $path) { + global $newfolderaccessmode; + // added by Raymond + $r = substr($path,strlen($path)-1,1); + if ($r!='\\'||$r!='/') $path .='/'; + if (!extension_loaded('zip')) { + return 0; + } + // end mod + $zip = zip_open($file); + if ($zip) { + $old_umask = umask(0); + while ($zip_entry = zip_read($zip)) { + if (zip_entry_filesize($zip_entry) > 0) { + // str_replace must be used under windows to convert "/" into "\" + $complete_path = $path.str_replace('/','\\',dirname(zip_entry_name($zip_entry))); + $complete_name = $path.str_replace ('/','\\',zip_entry_name($zip_entry)); + if(!file_exists($complete_path)) { + $tmp = ''; + foreach(explode('\\',$complete_path) AS $k) { + $tmp .= $k.'\\'; + if(!file_exists($tmp)) { + @mkdir($tmp, $newfolderaccessmode); + } + } + } + if (zip_entry_open($zip, $zip_entry, 'r')) { + $fd = fopen($complete_name, 'w'); + fwrite($fd, zip_entry_read($zip_entry, zip_entry_filesize($zip_entry))); + fclose($fd); + zip_entry_close($zip_entry); + } + } + } + umask($old_umask); + zip_close($zip); + return true; + } + zip_close($zip); + } + if(!$err=@unzip(realpath("$startpath/".$_REQUEST['file']),realpath($startpath))) { + echo ''.$_lang['file_unzip_fail'].($err===0? 'Missing zip library (php_zip.dll / zip.so)':'').'

    '; + } else { + echo ''.$_lang['file_unzip'].'

    '; + } } // End Unzip - Raymond // New Folder & Delete Folder option - Raymond if (is_writable($startpath)){ - // Delete Folder - if($_REQUEST['mode']=='deletefolder') { - $folder = $_REQUEST['folderpath']; - if(!@rmdir($folder)) { - echo ''.$_lang['file_folder_not_deleted'].'

    '; - } else { - echo ''.$_lang['file_folder_deleted'].'

    '; - } - } + // Delete Folder + if($_REQUEST['mode']=='deletefolder') { + $folder = $_REQUEST['folderpath']; + if(!@rmdir($folder)) { + echo ''.$_lang['file_folder_not_deleted'].'

    '; + } else { + echo ''.$_lang['file_folder_deleted'].'

    '; + } + } // Create folder here if($_REQUEST['mode']=='newfolder') { - $old_umask = umask(0); - $foldername = str_replace('..\\','',str_replace('../','',$_REQUEST['name'])); - if(!mkdirs($startpath."/$foldername",$newfolderaccessmode)) { - echo '',$_lang['file_folder_not_created'],'

    '; - } else { - if (!@chmod($startpath.'/'.$foldername,$newfolderaccessmode)) { - echo ''.$_lang['file_folder_chmod_error'].'

    '; - } else { - echo ''.$_lang['file_folder_created'].'

    '; - } - } - umask($old_umask); + $old_umask = umask(0); + $foldername = str_replace('..\\','',str_replace('../','',$_REQUEST['name'])); + if(!mkdirs($startpath."/$foldername",$newfolderaccessmode)) { + echo '',$_lang['file_folder_not_created'],'

    '; + } else { + if (!@chmod($startpath.'/'.$foldername,$newfolderaccessmode)) { + echo ''.$_lang['file_folder_chmod_error'].'

    '; + } else { + echo ''.$_lang['file_folder_created'].'

    '; + } + } + umask($old_umask); } - echo ' '.$_lang['add_folder'].'
    '; + echo ' '.$_lang['add_folder'].'
    '; } // End New Folder - Raymond @@ -384,15 +404,15 @@ function unzip($file, $path) { // To Top Level with folder icon to the left if($startpath==$filemanager_path || $startpath.'/' == $filemanager_path) { - echo ' ',$_lang['files_top_level'],'
    '; + echo ' ',$_lang['files_top_level'],'
    '; } else { - echo ' ',$_lang['files_top_level'],'
    '; + echo ' ',$_lang['files_top_level'],'
    '; } // Up One level with folder icon to the left if($startpath == $filemanager_path || $startpath.'/' == $filemanager_path) { - echo ' '.$_lang['files_up_level'].'
    '; + echo ' '.$_lang['files_up_level'].'
    '; } else { - echo ' ',$_lang['files_up_level'],'
    '; + echo ' ',$_lang['files_up_level'],'
    '; } echo '
    '; @@ -405,84 +425,85 @@ function unzip($file, $path) { if(strlen(MODX_BASE_PATH) < strlen($filemanager_path)) $len--; function ls($curpath) { - global $_lang; - global $excludes, $editablefiles, $inlineviewablefiles, $viewablefiles, $enablefileunzip, $enablefiledownload, $uploadablefiles, $folders, $files, $filesizes, $len, $dirs_array, $files_array, $webstart_path, $manager_theme, $modx; - $dircounter = 0; - $filecounter = 0; - $curpath = str_replace('//','/',$curpath.'/'); - - if (!is_dir($curpath)) { - echo 'Invalid path "',$curpath,'"
    '; - return; - } - $dir = dir($curpath); - - // first, get info - while ($file = $dir->read()) { - if(!in_array($file, $excludes)) { - $newpath = $curpath.$file; - if(is_dir($newpath)) { - $dirs_array[$dircounter]['dir'] = $newpath; - $dirs_array[$dircounter]['stats'] = lstat($newpath); - $dirs_array[$dircounter]['text'] = ' '.$file.''; - $dirs_array[$dircounter]['delete'] = is_writable($curpath) ? ''.$_lang['file_delete_folder'].'' : ''; - - // increment the counter - $dircounter++; - } else { - $type=getExtension($newpath); - $files_array[$filecounter]['file'] = $newpath; - $files_array[$filecounter]['stats'] = lstat($newpath); - $files_array[$filecounter]['text'] = ''.$file; - $files_array[$filecounter]['view'] = (in_array($type, $viewablefiles)) ? - ''.$_lang['files_viewfile'].'' : (($enablefiledownload && in_array($type, $uploadablefiles))? ''.$_lang['file_download_file'].'':''.$_lang['files_viewfile'].''); - $files_array[$filecounter]['view'] = (in_array($type, $inlineviewablefiles)) ? ''.$_lang['files_viewfile'].'' : $files_array[$filecounter]['view'] ; - $files_array[$filecounter]['unzip'] = ($enablefileunzip && $type=='.zip') ? ''.$_lang['file_download_unzip'].'' : '' ; - $files_array[$filecounter]['edit'] = (in_array($type, $editablefiles) && is_writable($curpath) && is_writable($newpath)) ? ''.$_lang['files_editfile'].'' : ''.$_lang['files_editfile'].''; - $files_array[$filecounter]['delete'] = is_writable($curpath) && is_writable($newpath) ? ''.$_lang['file_delete_file'].'' : ''.$_lang['file_delete_file'].''; - - // increment the counter - $filecounter++; - } - } - } - $dir->close(); - - // dump array entries for directories - $folders = count($dirs_array); - sort($dirs_array); // sorting the array alphabetically (Thanks pxl8r!) - for($i=0; $i<$folders; $i++) { - $filesizes += $dirs_array[$i]['stats']['7']; - echo ''; - echo '',$dirs_array[$i]['text'],''; - echo '',$modx->toDateFormat($dirs_array[$i]['stats']['9']),''; - echo '',ufilesize($dirs_array[$i]['stats']['7']),''; - echo ''; - echo $dirs_array[$i]['delete']; - echo ''; - echo ''; - } - - // dump array entries for files - $files = count($files_array); - sort($files_array); // sorting the array alphabetically (Thanks pxl8r!) - for($i=0; $i<$files; $i++) { - $filesizes += $files_array[$i]['stats']['7']; - echo ''; - echo '',$files_array[$i]['text'],''; - echo '',$modx->toDateFormat($files_array[$i]['stats']['9']),''; - echo '',ufilesize($files_array[$i]['stats']['7']),''; - echo ''; - echo $files_array[$i]['unzip']; - echo $files_array[$i]['view']; - echo $files_array[$i]['edit']; - echo $files_array[$i]['delete']; - echo ''; - echo ''; - } - - - return; + global $_lang; + global $excludes, $editablefiles, $inlineviewablefiles, $viewablefiles, $enablefileunzip, $enablefiledownload, $uploadablefiles, $folders, $files, $filesizes, $len, $dirs_array, $files_array, $webstart_path, $manager_theme, $modx; + $dircounter = 0; + $filecounter = 0; + $curpath = str_replace('//','/',$curpath.'/'); + + if (!is_dir($curpath)) { + echo 'Invalid path "',$curpath,'"
    '; + return; + } + $dir = dir($curpath); + + // first, get info + while ($file = $dir->read()) { + if(!in_array($file, $excludes)) { + $newpath = $curpath.$file; + if(is_dir($newpath)) { + $dirs_array[$dircounter]['dir'] = $newpath; + $dirs_array[$dircounter]['stats'] = lstat($newpath); + $dirs_array[$dircounter]['text'] = ' '.$file.''; + $dirs_array[$dircounter]['delete'] = is_writable($curpath) ? ''.$_lang['file_delete_folder'].'' : ''; + + // increment the counter + $dircounter++; + } else { + $type=getExtension($newpath); + $files_array[$filecounter]['file'] = $newpath; + $files_array[$filecounter]['stats'] = lstat($newpath); + $files_array[$filecounter]['text'] = ''.$file; + $files_array[$filecounter]['view'] = (in_array($type, $viewablefiles)) ? + ''.$_lang['files_viewfile'].'' : (($enablefiledownload && in_array($type, $uploadablefiles))? ''.$_lang['file_download_file'].'':''.$_lang['files_viewfile'].''); + $files_array[$filecounter]['view'] = (in_array($type, $inlineviewablefiles)) ? ''.$_lang['files_viewfile'].'' : $files_array[$filecounter]['view'] ; + $files_array[$filecounter]['unzip'] = ($enablefileunzip && $type=='.zip') ? ''.$_lang['file_download_unzip'].'' : '' ; + $files_array[$filecounter]['edit'] = (in_array($type, $editablefiles) && is_writable($curpath) && is_writable($newpath)) ? ''.$_lang['files_editfile'].'' : ''.$_lang['files_editfile'].''; + $files_array[$filecounter]['delete'] = is_writable($curpath) && is_writable($newpath) ? ''.$_lang['file_delete_file'].'' : ''.$_lang['file_delete_file'].''; + + + // increment the counter + $filecounter++; + } + } + } + $dir->close(); + + // dump array entries for directories + $folders = count($dirs_array); + sort($dirs_array); // sorting the array alphabetically (Thanks pxl8r!) + for($i=0; $i<$folders; $i++) { + $filesizes += $dirs_array[$i]['stats']['7']; + echo ''; + echo '',$dirs_array[$i]['text'],''; + echo '',$modx->toDateFormat($dirs_array[$i]['stats']['9']),''; + echo '',ufilesize($dirs_array[$i]['stats']['7']),''; + echo ''; + echo $dirs_array[$i]['delete']; + echo ''; + echo ''; + } + + // dump array entries for files + $files = count($files_array); + sort($files_array); // sorting the array alphabetically (Thanks pxl8r!) + for($i=0; $i<$files; $i++) { + $filesizes += $files_array[$i]['stats']['7']; + echo ''; + echo '',$files_array[$i]['text'],''; + echo '',$modx->toDateFormat($files_array[$i]['stats']['9']),''; + echo '',ufilesize($files_array[$i]['stats']['7']),''; + echo ''; + echo $files_array[$i]['unzip']; + echo $files_array[$i]['view']; + echo $files_array[$i]['edit']; + echo $files_array[$i]['delete']; + echo ''; + echo ''; + } + + + return; } echo '

    '; ?> @@ -497,7 +518,7 @@ function ls($curpath) { ls($startpath); echo "\n\n\n\n\n\n\n"; if($folders==0 && $files==0) { - echo ' This directory is empty.'; + echo ' This directory is empty.'; } ?>
    @@ -523,8 +544,8 @@ function ls($curpath) {
    @@ -534,7 +555,7 @@ function ls($curpath) { ".$_lang['files_upload_inhibited_msg']."

    "; + echo "

    ".$_lang['files_upload_inhibited_msg']."

    "; } ?> @@ -555,13 +576,13 @@ function ls($curpath) { // Log the change logFileChange('view', $filename); if(!$handle) { - echo 'Error opening file for reading.'; - exit; + echo 'Error opening file for reading.'; + exit; } else { - while (!feof($handle)) { - $buffer .= fgets($handle, 4096); - } - fclose ($handle); + while (!feof($handle)) { + $buffer .= fgets($handle, 4096); + } + fclose ($handle); } ?> @@ -581,8 +602,8 @@ function ls($curpath) { ?>
    diff --git a/manager/actions/logging.static.php b/manager/actions/logging.static.php old mode 100644 new mode 100755 diff --git a/manager/actions/modules.static.php b/manager/actions/modules.static.php old mode 100644 new mode 100755 diff --git a/manager/actions/mutate_content.dynamic.php b/manager/actions/mutate_content.dynamic.php old mode 100644 new mode 100755 index 9a81fc461b..97ce37ab57 --- a/manager/actions/mutate_content.dynamic.php +++ b/manager/actions/mutate_content.dynamic.php @@ -3,34 +3,34 @@ // check permissions switch ($_REQUEST['a']) { - case 27: - if (!$modx->hasPermission('edit_document')) { - $e->setError(3); - $e->dumpError(); - } - break; - case 85: - case 72: - case 4: - if (!$modx->hasPermission('new_document')) { - $e->setError(3); - $e->dumpError(); - } elseif(isset($_REQUEST['pid']) && $_REQUEST['pid'] != '0') { - // check user has permissions for parent - include_once(MODX_MANAGER_PATH.'processors/user_documents_permissions.class.php'); - $udperms = new udperms(); - $udperms->user = $modx->getLoginUserID(); - $udperms->document = empty($_REQUEST['pid']) ? 0 : $_REQUEST['pid']; - $udperms->role = $_SESSION['mgrRole']; - if (!$udperms->checkPermissions()) { - $e->setError(3); - $e->dumpError(); - } - } - break; - default: - $e->setError(3); - $e->dumpError(); + case 27: + if (!$modx->hasPermission('edit_document')) { + $e->setError(3); + $e->dumpError(); + } + break; + case 85: + case 72: + case 4: + if (!$modx->hasPermission('new_document')) { + $e->setError(3); + $e->dumpError(); + } elseif(isset($_REQUEST['pid']) && $_REQUEST['pid'] != '0') { + // check user has permissions for parent + include_once(MODX_MANAGER_PATH.'processors/user_documents_permissions.class.php'); + $udperms = new udperms(); + $udperms->user = $modx->getLoginUserID(); + $udperms->document = empty($_REQUEST['pid']) ? 0 : $_REQUEST['pid']; + $udperms->role = $_SESSION['mgrRole']; + if (!$udperms->checkPermissions()) { + $e->setError(3); + $e->dumpError(); + } + } + break; + default: + $e->setError(3); + $e->dumpError(); } @@ -61,24 +61,25 @@ $tbl_site_tmplvars = $modx->getFullTableName('site_tmplvars'); if ($action == 27) { - //editing an existing document - // check permissions on the document - include_once(MODX_MANAGER_PATH.'processors/user_documents_permissions.class.php'); - $udperms = new udperms(); - $udperms->user = $modx->getLoginUserID(); - $udperms->document = $id; - $udperms->role = $_SESSION['mgrRole']; - - if (!$udperms->checkPermissions()) { + //editing an existing document + // check permissions on the document + include_once(MODX_MANAGER_PATH.'processors/user_documents_permissions.class.php'); + $udperms = new udperms(); + $udperms->user = $modx->getLoginUserID(); + $udperms->document = $id; + $udperms->role = $_SESSION['mgrRole']; + + if (!$udperms->checkPermissions()) { ?>

    -

    +

    +
    1) { - for ($i = 0; $i < $limit; $i++) { - $lock = mysql_fetch_assoc($rs); - if ($lock['internalKey'] != $modx->getLoginUserID()) { - $msg = sprintf($_lang['lock_msg'], $lock['username'], 'document'); - $e->setError(5, $msg); - $e->dumpError(); - } - } + for ($i = 0; $i < $limit; $i++) { + $lock = mysql_fetch_assoc($rs); + if ($lock['internalKey'] != $modx->getLoginUserID()) { + $msg = sprintf($_lang['lock_msg'], $lock['username'], 'document'); + $e->setError(5, $msg); + $e->dumpError(); + } + } } // get document groups for current user if ($_SESSION['mgrDocgroups']) { - $docgrp = implode(',', $_SESSION['mgrDocgroups']); + $docgrp = implode(',', $_SESSION['mgrDocgroups']); } if (!empty ($id)) { - $access = "1='" . $_SESSION['mgrRole'] . "' OR sc.privatemgr=0" . - (!$docgrp ? '' : " OR dg.document_group IN ($docgrp)"); - $sql = 'SELECT DISTINCT sc.* '. - 'FROM '.$tbl_site_content.' AS sc '. - 'LEFT JOIN '.$tbl_document_groups.' AS dg ON dg.document=sc.id '. - 'WHERE sc.id=\''.$id.'\' AND ('.$access.')'; - $rs = mysql_query($sql); - $limit = mysql_num_rows($rs); - if ($limit > 1) { - $e->setError(6); - $e->dumpError(); - } - if ($limit < 1) { - $e->setError(3); - $e->dumpError(); - } - $content = mysql_fetch_assoc($rs); + $access = "1='" . $_SESSION['mgrRole'] . "' OR sc.privatemgr=0" . + (!$docgrp ? '' : " OR dg.document_group IN ($docgrp)"); + $sql = 'SELECT DISTINCT sc.* '. + 'FROM '.$tbl_site_content.' AS sc '. + 'LEFT JOIN '.$tbl_document_groups.' AS dg ON dg.document=sc.id '. + 'WHERE sc.id=\''.$id.'\' AND ('.$access.')'; + $rs = mysql_query($sql); + $limit = mysql_num_rows($rs); + if ($limit > 1) { + $e->setError(6); + $e->dumpError(); + } + if ($limit < 1) { + $e->setError(3); + $e->dumpError(); + } + $content = mysql_fetch_assoc($rs); } else { - $content = array(); + $content = array(); } // restore saved form $formRestored = false; if ($modx->manager->hasFormValues()) { - $modx->manager->loadFormValues(); - $formRestored = true; + $modx->manager->loadFormValues(); + $formRestored = true; } // retain form values if template was changed // edited to convert pub_date and unpub_date // sottwell 02-09-2006 if ($formRestored == true || isset ($_REQUEST['newtemplate'])) { - $content = array_merge($content, $_POST); - $content['content'] = $_POST['ta']; - if (empty ($content['pub_date'])) { - unset ($content['pub_date']); - } else { - $content['pub_date'] = $modx->toTimeStamp($content['pub_date']); - } - if (empty ($content['unpub_date'])) { - unset ($content['unpub_date']); - } else { - $content['unpub_date'] = $modx->toTimeStamp($content['unpub_date']); - } + $content = array_merge($content, $_POST); + $content['content'] = $_POST['ta']; + if (empty ($content['pub_date'])) { + unset ($content['pub_date']); + } else { + $content['pub_date'] = $modx->toTimeStamp($content['pub_date']); + } + if (empty ($content['unpub_date'])) { + unset ($content['unpub_date']); + } else { + $content['unpub_date'] = $modx->toTimeStamp($content['unpub_date']); + } } // increase menu index if this is a new document if (!isset ($_REQUEST['id'])) { - if (!isset ($auto_menuindex) || $auto_menuindex) { - $pid = intval($_REQUEST['pid']); - $sql = 'SELECT count(*) FROM '.$tbl_site_content.' WHERE parent=\''.$pid.'\''; - $content['menuindex'] = $modx->db->getValue($sql); - } else { - $content['menuindex'] = 0; - } + if (!isset ($auto_menuindex) || $auto_menuindex) { + $pid = intval($_REQUEST['pid']); + $sql = 'SELECT count(*) FROM '.$tbl_site_content.' WHERE parent=\''.$pid.'\''; + $content['menuindex'] = $modx->db->getValue($sql); + } else { + $content['menuindex'] = 0; + } } if (isset ($_POST['which_editor'])) { - $which_editor = $_POST['which_editor']; + $which_editor = $_POST['which_editor']; } ?> invokeEvent('OnDocFormPrerender', array( - 'id' => $id + 'id' => $id )); if (is_array($evtOut)) - echo implode('', $evtOut); + echo implode('', $evtOut); ?> @@ -516,255 +516,280 @@ function decode(s) {
    -

    +

    - +
    +
    - - - -
    -

    - - - - - - - - - - - - - - + + + +
    +

    + + +
    -   " onmouseover="this.src='';" onmouseout="this.src='';" alt="" onclick="alert(this.alt);" style="cursor:help;" />
    -   " onmouseover="this.src='';" onmouseout="this.src='';" alt="" onclick="alert(this.alt);" style="cursor:help;" />
    -   " onmouseover="this.src='';" onmouseout="this.src='';" alt="" onclick="alert(this.alt);" style="cursor:help;" />
    -   " onmouseover="this.src='';" onmouseout="this.src='';" alt="" onclick="alert(this.alt);" style="cursor:help;" />
    -   " onmouseover="this.src='';" onmouseout="this.src='';" alt="" onclick="alert(this.alt);" style="cursor:help;" />
    + + + + + + + + + + + - - - + + + - - - - + + + - - - - - - - - - -
    +   " onmouseover="this.src='';" onmouseout="this.src='';" alt="" onclick="alert(this.alt);" style="cursor:help;" />
    +   " onmouseover="this.src='';" onmouseout="this.src='';" alt="" onclick="alert(this.alt);" style="cursor:help;" />
    +   " onmouseover="this.src='';" onmouseout="this.src='';" alt="" onclick="alert(this.alt);" style="cursor:help;" />
    +   " onmouseover="this.src='';" onmouseout="this.src='';" alt="" onclick="alert(this.alt);" style="cursor:help;" />
    +   " onmouseover="this.src='';" onmouseout="this.src='';" alt="" onclick="alert(this.alt);" style="cursor:help;" />
    " onclick="enableLinkSelection(!allowLinkSelection);" style="cursor:pointer;" />" class="inputBox" onchange="documentDirty=true;" /> -   " onmouseover="this.src='';" onmouseout="this.src='';" alt="" onclick="alert(this.alt);" style="cursor:help;" />
    " alt="tree_folder" onclick="enableLinkSelection(!allowLinkSelection);" style="cursor:pointer;" />" class="inputBox" onchange="documentDirty=true;" /> +   " onmouseover="this.src='';" onmouseout="this.src='';" alt="" onclick="alert(this.alt);" style="cursor:help;" />
    -   " onmouseover="this.src='';" onmouseout="this.src='';" alt="" onclick="alert(this.alt);" style="cursor:help;" spellcheck="true"/>
    +   " onmouseover="this.src='';" onmouseout="this.src='';" alt="" onclick="alert(this.alt);" style="cursor:help;" spellcheck="true"/>
      " onmouseover="this.src='';" onmouseout="this.src='';" alt="" onclick="alert(this.alt);" style="cursor:help;" />
    -   " onmouseover="this.src='';" onmouseout="this.src='';" alt="" onclick="alert(this.alt);" style="cursor:help;" />
    - - -
    -   " onmouseover="this.src='';" onmouseout="this.src='';" alt="" onclick="alert(this.alt);" style="cursor:help;" />  onclick="changestate(document.mutate.hidemenu);" /> -  " onmouseover="this.src='';" onmouseout="this.src='';" alt="" onclick="alert(this.alt);" style="cursor:help;" />
    - setError(8); - $e->dumpError(); - } - $parentrs = mysql_fetch_assoc($rs); - $parentname = $parentrs['pagetitle']; - } - ?> " onclick="enableParentSelection(!allowParentSelection);" style="cursor:pointer;" /> () -  " onmouseover="this.src='';" onmouseout="this.src='';" alt="" onclick="alert(this.alt);" style="cursor:help;" /> - -
    - - - -
    -
    - -
    - - - - -
    -
    '."\n"; - } - ?> -
    - - - - -
    -
    - 0) { - echo "\t".''."\n"; - require_once(MODX_MANAGER_PATH.'includes/tmplvars.inc.php'); - require_once(MODX_MANAGER_PATH.'includes/tmplvars.commands.inc.php'); - for ($i = 0; $i < $limit; $i++) { - // Go through and display all Template Variables - $row = mysql_fetch_assoc($rs); - if ($row['type'] == 'richtext' || $row['type'] == 'htmlarea') { - // Add richtext editor to the list - if (is_array($replace_richtexteditor)) { - $replace_richtexteditor = array_merge($replace_richtexteditor, array( - "tv" . $row['id'], - )); - } else { - $replace_richtexteditor = array( - "tv" . $row['id'], - ); - } - } - // splitter - if ($i > 0 && $i < $limit) - echo "\t\t",'',"\n"; +   " onmouseover="this.src='';" onmouseout="this.src='';" alt="" onclick="alert(this.alt);" style="cursor:help;" /> + + + + + + + + + +
    +   " onmouseover="this.src='';" onmouseout="this.src='';" alt="" onclick="alert(this.alt);" style="cursor:help;" />
    + + +
    +   " onmouseover="this.src='';" onmouseout="this.src='';" alt="" onclick="alert(this.alt);" style="cursor:help;" />  onclick="changestate(document.mutate.hidemenu);" /> +  " onmouseover="this.src='';" onmouseout="this.src='';" alt="" onclick="alert(this.alt);" style="cursor:help;" />
    + setError(8); + $e->dumpError(); + } + $parentrs = mysql_fetch_assoc($rs); + $parentname = $parentrs['pagetitle']; + } + ?> tree_folder" onclick="enableParentSelection(!allowParentSelection);" style="cursor:pointer;" /> () +  " onmouseover="this.src='';" onmouseout="this.src='';" alt="" onclick="alert(this.alt);" style="cursor:help;" /> + +
    + + + +
    +
    + +
    + + + + +
    +
    '."\n"; + } +?> +
    + + + + +
    +
    + 0) { + echo "\t".''."\n"; + require_once(MODX_MANAGER_PATH.'includes/tmplvars.inc.php'); + require_once(MODX_MANAGER_PATH.'includes/tmplvars.commands.inc.php'); + for ($i = 0; $i < $limit; $i++) { + // Go through and display all Template Variables + $row = mysql_fetch_assoc($rs); + if ($row['type'] == 'richtext' || $row['type'] == 'htmlarea') { + // Add richtext editor to the list + if (is_array($replace_richtexteditor)) { + $replace_richtexteditor = array_merge($replace_richtexteditor, array( + "tv" . $row['id'], + )); + } else { + $replace_richtexteditor = array( + "tv" . $row['id'], + ); + } + } + // splitter + if ($i > 0 && $i < $limit) + echo "\t\t",'',"\n"; // post back value if(array_key_exists('tv'.$row['id'], $_POST)) { if($row['type'] == 'listbox-multiple') { - $tvPBV = implode('||', $_POST['tv'.$row['id']]); + $tvPBV = implode('||', $_POST['tv'.$row['id']]); } else { $tvPBV = $_POST['tv'.$row['id']]; } @@ -772,112 +797,113 @@ function decode(s) { $tvPBV = $row['value']; } - echo "\t\t",'\n", - "\t\t\t",'\n"; - } - echo "\t
    ',$row['caption'],"\n", - "\t\t\t",'
    ',$row['description'],"
    ',"\n", - "\t\t\t",renderFormElement($row['type'], $row['id'], $row['default_text'], $row['elements'], $tvPBV, ' style="width:300px;"'),"\n", - "\t\t
    \n"; - } else { - // There aren't any Template Variables - echo "\t

    ".$_lang['tmplvars_novars']."

    \n"; - } - ?> -
    - - - -
    - - -
    -

    - - - - - hasPermission('publish_document') ? '' : 'disabled="disabled" '; ?> - - - - - - - - - - - - - - - - - - - - - + $zindex = $row['type'] == 'date' ? '100' : '500'; + echo "\t\t",'\n", + "\t\t\t",'\n"; + } + echo "\t
    name="publishedcheck" type="checkbox" class="checkbox" onclick="changestate(document.mutate.published);" /> - -   " onmouseover="this.src='';" onmouseout="this.src='';" alt="" onclick="alert(this.alt);" style="cursor:help;" />
    name="pub_date" class="DatePicker" value="toDateFormat($content['pub_date'])?>" onblur="documentDirty=true;" /> - - " width="16" height="16" border="0" alt="" /> -   " onmouseover="this.src='';" onmouseout="this.src='';" alt="" onclick="alert(this.alt);" style="cursor:help;" /> -
    config['datetime_format']; ?> HH:MM:SS
    name="unpub_date" class="DatePicker" value="toDateFormat($content['unpub_date'])?>" onblur="documentDirty=true;" /> - - " width="16" height="16" border="0" alt="" /> -   " onmouseover="this.src='';" onmouseout="this.src='';" alt="" onclick="alert(this.alt);" style="cursor:help;" /> -
    config['datetime_format']; ?> HH:MM:SS
    ',$row['caption'],"\n", + "\t\t\t",'
    ',$row['description'],"
    ',"\n", + "\t\t\t",renderFormElement($row['type'], $row['id'], $row['default_text'], $row['elements'], $tvPBV, '', $row),"\n", + "\t\t
    \n"; + } else { + // There aren't any Template Variables + echo "\t

    ".$_lang['tmplvars_novars']."

    \n"; + } + ?> +
    + + + +
    + + +
    +

    + + + + + hasPermission('publish_document') ? '' : 'disabled="disabled" '; ?> + + + + + + + + + + + + + + + + + + + + + - + - - - - - - - - - + + + + + + + + + " /> @@ -886,281 +912,277 @@ function decode(s) { }//if mgrRole ?> - - - - - - - - - - - - - - - - - - - - - - - - -
    name="publishedcheck" type="checkbox" class="checkbox" onclick="changestate(document.mutate.published);" /> + +   " onmouseover="this.src='';" onmouseout="this.src='';" alt="" onclick="alert(this.alt);" style="cursor:help;" />
    name="pub_date" class="DatePicker" value="toDateFormat($content['pub_date'])?>" onblur="documentDirty=true;" /> + + " width="16" height="16" border="0" alt="" /> +   " onmouseover="this.src='';" onmouseout="this.src='';" alt="" onclick="alert(this.alt);" style="cursor:help;" /> +
    config['datetime_format']; ?> HH:MM:SS
    name="unpub_date" class="DatePicker" value="toDateFormat($content['unpub_date'])?>" onblur="documentDirty=true;" /> + + " width="16" height="16" border="0" alt="" /> +   " onmouseover="this.src='';" onmouseout="this.src='';" alt="" onclick="alert(this.alt);" style="cursor:help;" /> +
    config['datetime_format']; ?> HH:MM:SS
    -   " onmouseover="this.src='';" onmouseout="this.src='';" alt="" onclick="alert(this.alt);" style="cursor:help;" />
    -   " onmouseover="this.src='';" onmouseout="this.src='';" alt="" onclick="alert(this.alt);" style="cursor:help;" />
    -   " onmouseover="this.src='';" onmouseout="this.src='';" alt="" onclick="alert(this.alt);" style="cursor:help;" />
    +   " onmouseover="this.src='';" onmouseout="this.src='';" alt="" onclick="alert(this.alt);" style="cursor:help;" />
    +   " onmouseover="this.src='';" onmouseout="this.src='';" alt="" onclick="alert(this.alt);" style="cursor:help;" />
    +   " onmouseover="this.src='';" onmouseout="this.src='';" alt="" onclick="alert(this.alt);" style="cursor:help;" />
    onclick="changestate(document.mutate.isfolder);" /> - -   " onmouseover="this.src='';" onmouseout="this.src='';" alt="" onclick="alert(this.alt);" style="cursor:help;" />
    onclick="changestate(document.mutate.richtext);" /> - -   " onmouseover="this.src='';" onmouseout="this.src='';" alt="" onclick="alert(this.alt);" style="cursor:help;" />
    onclick="changestate(document.mutate.donthit);" /> -   " onmouseover="this.src='';" onmouseout="this.src='';" alt="" onclick="alert(this.alt);" style="cursor:help;" />
    onclick="changestate(document.mutate.searchable);" /> -   " onmouseover="this.src='';" onmouseout="this.src='';" alt="" onclick="alert(this.alt);" style="cursor:help;" />
    onclick="changestate(document.mutate.cacheable);" /> - -   " onmouseover="this.src='';" onmouseout="this.src='';" alt="" onclick="alert(this.alt);" style="cursor:help;" />
    - -   " onmouseover="this.src='';" onmouseout="this.src='';" alt="" onclick="alert(this.alt);" style="cursor:help;" />
    -
    + + + onclick="changestate(document.mutate.isfolder);" /> + +   " onmouseover="this.src='';" onmouseout="this.src='';" alt="" onclick="alert(this.alt);" style="cursor:help;" /> + + + + onclick="changestate(document.mutate.richtext);" /> + +   " onmouseover="this.src='';" onmouseout="this.src='';" alt="" onclick="alert(this.alt);" style="cursor:help;" /> + + + + onclick="changestate(document.mutate.donthit);" /> +   " onmouseover="this.src='';" onmouseout="this.src='';" alt="" onclick="alert(this.alt);" style="cursor:help;" /> + + + + onclick="changestate(document.mutate.searchable);" /> +   " onmouseover="this.src='';" onmouseout="this.src='';" alt="" onclick="alert(this.alt);" style="cursor:help;" /> + + + + onclick="changestate(document.mutate.cacheable);" /> + +   " onmouseover="this.src='';" onmouseout="this.src='';" alt="" onclick="alert(this.alt);" style="cursor:help;" /> + + + + + +   " onmouseover="this.src='';" onmouseout="this.src='';" alt="" onclick="alert(this.alt);" style="cursor:help;" /> + + +
    hasPermission('edit_doc_metatags') && $modx->config['show_meta']) { - // get list of site keywords - $keywords = array(); - $ds = $modx->db->select('*', $tbl_site_keywords, '', 'keyword ASC'); - $limit = $modx->db->getRecordCount($ds); - if ($limit > 0) { - for ($i = 0; $i < $limit; $i++) { - $row = $modx->db->getRow($ds); - $keywords[$row['id']] = $row['keyword']; - } - } - // get selected keywords using document's id - if (isset ($content['id']) && count($keywords) > 0) { - $keywords_selected = array(); - $ds = $modx->db->select('keyword_id', $tbl_keyword_xref, 'content_id=\''.$content['id'].'\''); - $limit = $modx->db->getRecordCount($ds); - if ($limit > 0) { - for ($i = 0; $i < $limit; $i++) { - $row = $modx->db->getRow($ds); - $keywords_selected[$row['keyword_id']] = ' selected="selected"'; - } - } - } - - // get list of site META tags - $metatags = array(); - $ds = $modx->db->select('*', $tbl_site_metatags); - $limit = $modx->db->getRecordCount($ds); - if ($limit > 0) { - for ($i = 0; $i < $limit; $i++) { - $row = $modx->db->getRow($ds); - $metatags[$row['id']] = $row['name']; - } - } - // get selected META tags using document's id - if (isset ($content['id']) && count($metatags) > 0) { - $metatags_selected = array(); - $ds = $modx->db->select('metatag_id', $tbl_site_content_metatags, 'content_id=\''.$content['id'].'\''); - $limit = $modx->db->getRecordCount($ds); - if ($limit > 0) { - for ($i = 0; $i < $limit; $i++) { - $row = $modx->db->getRow($ds); - $metatags_selected[$row['metatag_id']] = ' selected="selected"'; - } - } - } - ?> - -
    -

    - - - - - -


    - - - -

    - -
    - -

    - -
    - -
    -
    -
    - - + // get list of site keywords + $keywords = array(); + $ds = $modx->db->select('*', $tbl_site_keywords, '', 'keyword ASC'); + $limit = $modx->db->getRecordCount($ds); + if ($limit > 0) { + for ($i = 0; $i < $limit; $i++) { + $row = $modx->db->getRow($ds); + $keywords[$row['id']] = $row['keyword']; + } + } + // get selected keywords using document's id + if (isset ($content['id']) && count($keywords) > 0) { + $keywords_selected = array(); + $ds = $modx->db->select('keyword_id', $tbl_keyword_xref, 'content_id=\''.$content['id'].'\''); + $limit = $modx->db->getRecordCount($ds); + if ($limit > 0) { + for ($i = 0; $i < $limit; $i++) { + $row = $modx->db->getRow($ds); + $keywords_selected[$row['keyword_id']] = ' selected="selected"'; + } + } + } + // get list of site META tags + $metatags = array(); + $ds = $modx->db->select('*', $tbl_site_metatags); + $limit = $modx->db->getRecordCount($ds); + if ($limit > 0) { + for ($i = 0; $i < $limit; $i++) { + $row = $modx->db->getRow($ds); + $metatags[$row['id']] = $row['name']; + } + } + // get selected META tags using document's id + if (isset ($content['id']) && count($metatags) > 0) { + $metatags_selected = array(); + $ds = $modx->db->select('metatag_id', $tbl_site_content_metatags, 'content_id=\''.$content['id'].'\''); + $limit = $modx->db->getRecordCount($ds); + if ($limit > 0) { + for ($i = 0; $i < $limit; $i++) { + $row = $modx->db->getRow($ds); + $metatags_selected[$row['metatag_id']] = ' selected="selected"'; + } + } + } + ?> + +
    +

    + + + + + +


    + + + +

    + +
    + +

    + +
    + +
    +
    +
    0) { - // Load up, the permissions from the parent (if new document) or existing document - $sql = 'SELECT id, document_group FROM '.$tbl_document_groups.' WHERE document=\''.$documentId.'\''; - $rs = mysql_query($sql); - while ($currentgroup = mysql_fetch_assoc($rs)) - $groupsarray[] = $currentgroup['document_group'].','.$currentgroup['id']; - - // Load up the current permissions and names - $sql = 'SELECT dgn.*, groups.id AS link_id '. - 'FROM '.$tbl_document_group_names.' AS dgn '. - 'LEFT JOIN '.$tbl_document_groups.' AS groups ON groups.document_group = dgn.id '. - ' AND groups.document = '.$documentId.' '. - 'ORDER BY name'; - } else { - // Just load up the names, we're starting clean - $sql = 'SELECT *, NULL AS link_id FROM '.$tbl_document_group_names.' ORDER BY name'; - } - - // retain selected doc groups between post - if (isset($_POST['docgroups'])) - $groupsarray = array_merge($groupsarray, $_POST['docgroups']); - - // Query the permissions and names from above - $rs = mysql_query($sql); - $limit = mysql_num_rows($rs); - - $isManager = $modx->hasPermission('access_permissions'); - $isWeb = $modx->hasPermission('web_access_permissions'); - - // Setup Basic attributes for each Input box - $inputAttributes = array( - 'type' => 'checkbox', - 'class' => 'checkbox', - 'name' => 'docgroups[]', - 'onclick' => 'makePublic(false);', - ); - $permissions = array(); // New Permissions array list (this contains the HTML) - $permissions_yes = 0; // count permissions the current mgr user has - $permissions_no = 0; // count permissions the current mgr user doesn't have - - // Loop through the permissions list - for ($i = 0; $i < $limit; $i++) { - $row = mysql_fetch_assoc($rs); - - // Create an inputValue pair (group ID and group link (if it exists)) - $inputValue = $row['id'].','.($row['link_id'] ? $row['link_id'] : 'new'); - $inputId = 'group-'.$row['id']; - - $checked = in_array($inputValue, $groupsarray); - if ($checked) $notPublic = true; // Mark as private access (either web or manager) - - // Skip the access permission if the user doesn't have access... - if ((!$isManager && $row['private_memgroup'] == '1') || (!$isWeb && $row['private_webgroup'] == '1')) - continue; - - // Setup attributes for this Input box - $inputAttributes['id'] = $inputId; - $inputAttributes['value'] = $inputValue; - if ($checked) - $inputAttributes['checked'] = 'checked'; - else unset($inputAttributes['checked']); - - // Create attribute string list - $inputString = array(); - foreach ($inputAttributes as $k => $v) $inputString[] = $k.'="'.$v.'"'; - - // Make the HTML - $inputHTML = ''; - - // does user have this permission? - $sql = "SELECT COUNT(mg.id) FROM {$tbl_membergroup_access} mga, {$tbl_member_groups} mg + $groupsarray = array(); + $sql = ''; + + $documentId = ($_REQUEST['a'] == '27' ? $id : (!empty($_REQUEST['pid']) ? $_REQUEST['pid'] : $content['parent'])); + if ($documentId > 0) { + // Load up, the permissions from the parent (if new document) or existing document + $sql = 'SELECT id, document_group FROM '.$tbl_document_groups.' WHERE document=\''.$documentId.'\''; + $rs = mysql_query($sql); + while ($currentgroup = mysql_fetch_assoc($rs)) + $groupsarray[] = $currentgroup['document_group'].','.$currentgroup['id']; + + // Load up the current permissions and names + $sql = 'SELECT dgn.*, groups.id AS link_id '. + 'FROM '.$tbl_document_group_names.' AS dgn '. + 'LEFT JOIN '.$tbl_document_groups.' AS groups ON groups.document_group = dgn.id '. + ' AND groups.document = '.$documentId.' '. + 'ORDER BY name'; + } else { + // Just load up the names, we're starting clean + $sql = 'SELECT *, NULL AS link_id FROM '.$tbl_document_group_names.' ORDER BY name'; + } + + // retain selected doc groups between post + if (isset($_POST['docgroups'])) + $groupsarray = array_merge($groupsarray, $_POST['docgroups']); + + // Query the permissions and names from above + $rs = mysql_query($sql); + $limit = mysql_num_rows($rs); + + $isManager = $modx->hasPermission('access_permissions'); + $isWeb = $modx->hasPermission('web_access_permissions'); + + // Setup Basic attributes for each Input box + $inputAttributes = array( + 'type' => 'checkbox', + 'class' => 'checkbox', + 'name' => 'docgroups[]', + 'onclick' => 'makePublic(false);', + ); + $permissions = array(); // New Permissions array list (this contains the HTML) + $permissions_yes = 0; // count permissions the current mgr user has + $permissions_no = 0; // count permissions the current mgr user doesn't have + + // Loop through the permissions list + for ($i = 0; $i < $limit; $i++) { + $row = mysql_fetch_assoc($rs); + + // Create an inputValue pair (group ID and group link (if it exists)) + $inputValue = $row['id'].','.($row['link_id'] ? $row['link_id'] : 'new'); + $inputId = 'group-'.$row['id']; + + $checked = in_array($inputValue, $groupsarray); + if ($checked) $notPublic = true; // Mark as private access (either web or manager) + + // Skip the access permission if the user doesn't have access... + if ((!$isManager && $row['private_memgroup'] == '1') || (!$isWeb && $row['private_webgroup'] == '1')) + continue; + + // Setup attributes for this Input box + $inputAttributes['id'] = $inputId; + $inputAttributes['value'] = $inputValue; + if ($checked) + $inputAttributes['checked'] = 'checked'; + else unset($inputAttributes['checked']); + + // Create attribute string list + $inputString = array(); + foreach ($inputAttributes as $k => $v) $inputString[] = $k.'="'.$v.'"'; + + // Make the HTML + $inputHTML = ''; + + // does user have this permission? + $sql = "SELECT COUNT(mg.id) FROM {$tbl_membergroup_access} mga, {$tbl_member_groups} mg WHERE mga.membergroup = mg.user_group AND mga.documentgroup = {$row['id']} AND mg.member = {$_SESSION['mgrInternalKey']};"; - $rsp = $modx->db->query($sql); - $count = $modx->db->getValue($rsp); - if($count > 0) { - ++$permissions_yes; - } else { - ++$permissions_no; - } - $permissions[] = "\t\t".'
  • '.$inputHTML.'
  • '; - } - // if mgr user doesn't have access to any of the displayable permissions, forget about them and make doc public - if($_SESSION['mgrRole'] != 1 && ($permissions_yes == 0 && $permissions_no > 0)) { - $permissions = array(); - } - - // See if the Access Permissions section is worth displaying... - if (!empty($permissions)) { - // Add the "All Document Groups" item if we have rights in both contexts - if ($isManager && $isWeb) - array_unshift($permissions,"\t\t".'
  • '); - // Output the permissions list... + $rsp = $modx->db->query($sql); + $count = $modx->db->getValue($rsp); + if($count > 0) { + ++$permissions_yes; + } else { + ++$permissions_no; + } + $permissions[] = "\t\t".'
  • '.$inputHTML.'
  • '; + } + // if mgr user doesn't have access to any of the displayable permissions, forget about them and make doc public + if($_SESSION['mgrRole'] != 1 && ($permissions_yes == 0 && $permissions_no > 0)) { + $permissions = array(); + } + + // See if the Access Permissions section is worth displaying... + if (!empty($permissions)) { + // Add the "All Document Groups" item if we have rights in both contexts + if ($isManager && $isWeb) + array_unshift($permissions,"\t\t".'
  • '); + // Output the permissions list... ?>
    -

    - - -

    -
      - -
    -
    - -
    +

    + + +

    +
      + +
    +
    0) && ($_SESSION['mgrPermissions']['access_permissions'] == 1 || $_SESSION['mgrPermissions']['web_access_permissions'] == 1)) { + } // !empty($permissions) + elseif($_SESSION['mgrRole'] != 1 && ($permissions_yes == 0 && $permissions_no > 0) && ($_SESSION['mgrPermissions']['access_permissions'] == 1 || $_SESSION['mgrPermissions']['web_access_permissions'] == 1)) { ?> -

    - +

    invokeEvent('OnDocFormRender', array( - 'id' => $id, + 'id' => $id, )); if (is_array($evtOut)) echo implode('', $evtOut); ?> + + + storeCurTemplate(); + invokeEvent('OnRichTextEditorInit', array( - 'editor' => $which_editor, - 'elements' => $replace_richtexteditor - )); - if (is_array($evtOut)) - echo implode('', $evtOut); - } - } + if (($content['richtext'] == 1 || $_REQUEST['a'] == '4' || $_REQUEST['a'] == '72') && $use_editor == 1) { + if (is_array($replace_richtexteditor)) { + // invoke OnRichTextEditorInit event + $evtOut = $modx->invokeEvent('OnRichTextEditorInit', array( + 'editor' => $which_editor, + 'elements' => $replace_richtexteditor + )); + if (is_array($evtOut)) + echo implode('', $evtOut); + } + } ?> \ No newline at end of file diff --git a/manager/actions/mutate_htmlsnippet.dynamic.php b/manager/actions/mutate_htmlsnippet.dynamic.php old mode 100644 new mode 100755 index dabd27c231..708507a9d4 --- a/manager/actions/mutate_htmlsnippet.dynamic.php +++ b/manager/actions/mutate_htmlsnippet.dynamic.php @@ -2,21 +2,21 @@ if (IN_MANAGER_MODE != 'true') die("INCLUDE_ORDERING_ERROR

    Please use the MODx Content Manager instead of accessing this file directly."); switch ((int) $_REQUEST['a']) { - case 78: - if (!$modx->hasPermission('edit_chunk')) { - $e->setError(3); - $e->dumpError(); - } - break; - case 77: - if (!$modx->hasPermission('new_chunk')) { - $e->setError(3); - $e->dumpError(); - } - break; - default: - $e->setError(3); - $e->dumpError(); + case 78: + if (!$modx->hasPermission('edit_chunk')) { + $e->setError(3); + $e->dumpError(); + } + break; + case 77: + if (!$modx->hasPermission('new_chunk')) { + $e->setError(3); + $e->dumpError(); + } + break; + default: + $e->setError(3); + $e->dumpError(); } if (isset($_REQUEST['id'])) @@ -36,37 +36,37 @@ $rs = mysql_query($sql); $limit = mysql_num_rows($rs); if ($limit > 1) { - for ($i = 0; $i < $limit; $i++) { - $lock = mysql_fetch_assoc($rs); - if ($lock['internalKey'] != $modx->getLoginUserID()) { - $msg = sprintf($_lang['lock_msg'], $lock['username'], 'chunk'); - $e->setError(5, $msg); - $e->dumpError(); - } - } + for ($i = 0; $i < $limit; $i++) { + $lock = mysql_fetch_assoc($rs); + if ($lock['internalKey'] != $modx->getLoginUserID()) { + $msg = sprintf($_lang['lock_msg'], $lock['username'], 'chunk'); + $e->setError(5, $msg); + $e->dumpError(); + } + } } $content = array(); if (isset($_REQUEST['id']) && $_REQUEST['id']!='' && is_numeric($_REQUEST['id'])) { - $sql = 'SELECT * FROM '.$tbl_site_htmlsnippets.' WHERE id=\''.$id.'\''; - $rs = mysql_query($sql); - $limit = mysql_num_rows($rs); - if ($limit > 1) { - echo '

    Error: Multiple Chunk sharing same unique ID.

    '; - exit; - } - if ($limit < 1) { - echo '

    Chunk doesn\'t exist.

    '; - exit; - } - $content = mysql_fetch_assoc($rs); - $_SESSION['itemname'] = $content['name']; - if ($content['locked'] == 1 && $_SESSION['mgrRole'] != 1) { - $e->setError(3); - $e->dumpError(); - } + $sql = 'SELECT * FROM '.$tbl_site_htmlsnippets.' WHERE id=\''.$id.'\''; + $rs = mysql_query($sql); + $limit = mysql_num_rows($rs); + if ($limit > 1) { + echo '

    Error: Multiple Chunk sharing same unique ID.

    '; + exit; + } + if ($limit < 1) { + echo '

    Chunk doesn\'t exist.

    '; + exit; + } + $content = mysql_fetch_assoc($rs); + $_SESSION['itemname'] = $content['name']; + if ($content['locked'] == 1 && $_SESSION['mgrRole'] != 1) { + $e->setError(3); + $e->dumpError(); + } } else { - $_SESSION['itemname'] = 'New Chunk'; + $_SESSION['itemname'] = 'New Chunk'; } if (isset($_POST['which_editor'])) @@ -80,32 +80,32 @@ @@ -114,98 +114,100 @@ function deletedocument() { // invoke OnChunkFormPrerender event $evtOut = $modx->invokeEvent('OnChunkFormPrerender', array( - 'id' => $id, + 'id' => $id, )); if (is_array($evtOut)) - echo implode('', $evtOut); + echo implode('', $evtOut); ?> -

    +

    - +
    -

    - - - - - - - + + + +
    :{{}} 
    :    
    :     - + + + + + + - - - -
    :{{}} 
    :    
    :     +
    :  
    class="inputBox" value="on" /> -
    - -
    -
    -   -
    - -
    - - - +include_once(MODX_MANAGER_PATH.'includes/categories.inc.php'); +$ds = getCategories(); +if ($ds) { + foreach ($ds as $n => $v) { + echo "\t\t\t\t".'\n"; + } +} +?> +
    :  
    class="inputBox" value="on" /> +
    + +
    +
    +   +
    + +
    + + +
    invokeEvent('OnChunkFormRender', array( - 'id' => $id, + 'id' => $id, )); if (is_array($evtOut)) - echo implode('', $evtOut); + echo implode('', $evtOut); ?> @@ -213,13 +215,13 @@ function deletedocument() { invokeEvent('OnRichTextEditorInit', array( - 'editor' => $which_editor, - 'elements' => array( - 'post', - ), - )); - if (is_array($evtOut)) - echo implode('', $evtOut); + $evtOut = $modx->invokeEvent('OnRichTextEditorInit', array( + 'editor' => $which_editor, + 'elements' => array( + 'post', + ), + )); + if (is_array($evtOut)) + echo implode('', $evtOut); } ?> \ No newline at end of file diff --git a/manager/actions/mutate_module.dynamic.php b/manager/actions/mutate_module.dynamic.php old mode 100644 new mode 100755 index 79acb96e96..337dec344b --- a/manager/actions/mutate_module.dynamic.php +++ b/manager/actions/mutate_module.dynamic.php @@ -2,21 +2,21 @@ if(IN_MANAGER_MODE!='true') die('INCLUDE_ORDERING_ERROR

    Please use the MODx Content Manager instead of accessing this file directly.'); switch ((int) $_REQUEST['a']) { - case 107: - if(!$modx->hasPermission('new_module')) { - $e->setError(3); - $e->dumpError(); - } - break; - case 108: - if(!$modx->hasPermission('edit_module')) { - $e->setError(3); - $e->dumpError(); - } - break; - default: - $e->setError(3); - $e->dumpError(); + case 107: + if(!$modx->hasPermission('new_module')) { + $e->setError(3); + $e->dumpError(); + } + break; + case 108: + if(!$modx->hasPermission('edit_module')) { + $e->setError(3); + $e->dumpError(); + } + break; + default: + $e->setError(3); + $e->dumpError(); } if (isset($_REQUEST['id'])) @@ -42,11 +42,11 @@ // create globally unique identifiers (guid) function createGUID(){ - srand((double)microtime()*1000000); - $r = rand() ; - $u = uniqid(getmypid() . $r . (double)microtime()*1000000,1); - $m = md5 ($u); - return $m; + srand((double)microtime()*1000000); + $r = rand() ; + $u = uniqid(getmypid() . $r . (double)microtime()*1000000,1); + $m = md5 ($u); + return $m; } // Check to see the editor isn't locked @@ -54,265 +54,265 @@ function createGUID(){ $rs = mysql_query($sql); $limit = mysql_num_rows($rs); if ($limit > 1) { - for ($i = 0; $i < $limit; $i++) { - $lock = mysql_fetch_assoc($rs); - if ($lock['internalKey'] != $modx->getLoginUserID()) { - $msg = sprintf($_lang['lock_msg'], $lock['username'], 'module'); - $e->setError(5, $msg); - $e->dumpError(); - } - } + for ($i = 0; $i < $limit; $i++) { + $lock = mysql_fetch_assoc($rs); + if ($lock['internalKey'] != $modx->getLoginUserID()) { + $msg = sprintf($_lang['lock_msg'], $lock['username'], 'module'); + $e->setError(5, $msg); + $e->dumpError(); + } + } } // end check for lock // make sure the id's a number if (!is_numeric($id)) { - echo 'Passed ID is NaN!'; - exit; + echo 'Passed ID is NaN!'; + exit; } if (isset($_GET['id'])) { - $sql = 'SELECT * FROM '.$tbl_site_modules.' WHERE id=\''.$id.'\''; - $rs = mysql_query($sql); - $limit = mysql_num_rows($rs); - if ($limit > 1) { - echo '

    Multiple modules sharing same unique id. Not good.

    '; - exit; - } - if ($limit < 1) { - echo '

    No record found for id: '.$id.'.

    '; - exit; - } - $content = mysql_fetch_assoc($rs); - $_SESSION['itemname'] = $content['name']; - if ($content['locked'] == 1 && $_SESSION['mgrRole'] != 1) { - $e->setError(3); - $e->dumpError(); - } + $sql = 'SELECT * FROM '.$tbl_site_modules.' WHERE id=\''.$id.'\''; + $rs = mysql_query($sql); + $limit = mysql_num_rows($rs); + if ($limit > 1) { + echo '

    Multiple modules sharing same unique id. Not good.

    '; + exit; + } + if ($limit < 1) { + echo '

    No record found for id: '.$id.'.

    '; + exit; + } + $content = mysql_fetch_assoc($rs); + $_SESSION['itemname'] = $content['name']; + if ($content['locked'] == 1 && $_SESSION['mgrRole'] != 1) { + $e->setError(3); + $e->dumpError(); + } } else { - $_SESSION['itemname'] = 'New Module'; - $content['wrap'] = '1'; + $_SESSION['itemname'] = 'New Module'; + $content['wrap'] = '1'; } ?> @@ -327,217 +327,218 @@ function SetUrl(url, width, height, alt) { -

    - +

    +
    - +
    - +

    .

    - - - -
    -

    - - - - - - - - - - - + + + + + + +
    :    
    :    
    (32x32):    
    :     - + + + + + + + + - - - - - - -
    :    
    :    
    (32x32):    
    :     +
    :  
    class="inputBox" onclick="documentDirty=true;" /> :  
    value="on" class="inputBox" /> - '.$_lang['module_disabled'].'' : $_lang['module_disabled']?>
    class="inputBox" /> -
    - - -
    -
    -   - class="inputBox" onclick="setTextWrap(document.mutate.post,this.checked)" /> -
    - -
    - - - - -
    -

    - - - - - - - - - - - -
    :  

    class="inputBox" onclick="documentDirty=true;" /> :  

    :  
      
    -
    + include_once "categories.inc.php"; + $ds = getCategories(); + if ($ds) { + foreach($ds as $n => $v) { + echo "\t\t\t".'\n"; + } + } +?> +
    :  
    class="inputBox" onclick="documentDirty=true;" /> :  
    value="on" class="inputBox" /> + '.$_lang['module_disabled'].'' : $_lang['module_disabled']?>
    class="inputBox" /> +
    + + +
    +
    +   + class="inputBox" onclick="setTextWrap(document.mutate.post,this.checked)" /> +
    + +
    + +
    + + +
    +

    + + + + + + + + + + + +
    :  

    class="inputBox" onclick="documentDirty=true;" /> :  

    :  
      
    +
    - -
    -

    - - - - - +



    - " align="absmiddle" />

    + +
    +

    + + + + + -



    + " align="absmiddle" />

    dbQuery($sql); if (!$ds) { - echo "An error occured while loading module dependencies."; + echo "An error occured while loading module dependencies."; } else { - include_once $base_path."manager/includes/controls/datagrid.class.php"; - $grd = new DataGrid('', $ds, 0); // set page size to 0 t show all items - $grd->noRecordMsg = $_lang['no_records_found']; - $grd->cssClass = 'grid'; - $grd->columnHeaderClass = 'gridHeader'; - $grd->itemClass = 'gridItem'; - $grd->altItemClass = 'gridAltItem'; - $grd->columns = $_lang['element_name']." ,".$_lang['type']; - $grd->fields = "name,type"; - echo $grd->render(); + include_once $base_path."manager/includes/controls/datagrid.class.php"; + $grd = new DataGrid('', $ds, 0); // set page size to 0 t show all items + $grd->noRecordMsg = $_lang['no_records_found']; + $grd->cssClass = 'grid'; + $grd->columnHeaderClass = 'gridHeader'; + $grd->itemClass = 'gridItem'; + $grd->altItemClass = 'gridAltItem'; + $grd->columns = $_lang['element_name']." ,".$_lang['type']; + $grd->fields = "name,type"; + echo $grd->render(); } ?> -
    -
    +
    +
    hasPermission('access_permissions')) { ?> + // fetch user access permissions for the module + $groupsarray = array(); + $sql = 'SELECT * FROM '.$tbl_site_module_access.' WHERE module=\''.$id.'\''; + $rs = mysql_query($sql); + $limit = mysql_num_rows($rs); + for ($i = 0; $i < $limit; $i++) { + $currentgroup = mysql_fetch_assoc($rs); + $groupsarray[$i] = $currentgroup['usergroup']; + } + + if($modx->hasPermission('access_permissions')) { ?>
    - -

    + +

    0 ? $groupsarray : array(); - $checked = in_array($row['id'], $groupsarray); - if($modx->hasPermission('access_permissions')) { - if ($checked) $notPublic = true; - $chks .= ''.$row['name']."
    \n"; - } else { - if ($checked) $chks = '' . "\n" . $chks; - } - } - if($modx->hasPermission('access_permissions')) { - $chks = ''.$_lang['all_usr_groups'].'
    ' . "\n" . $chks; - } - echo $chks; + } + $chk = ''; + $sql = "SELECT name, id FROM ".$tbl_membergroup_names; + $rs = mysql_query($sql); + $limit = mysql_num_rows($rs); + for ($i = 0; $i < $limit; $i++) { + $row = mysql_fetch_assoc($rs); + $groupsarray = is_numeric($id) && $id > 0 ? $groupsarray : array(); + $checked = in_array($row['id'], $groupsarray); + if($modx->hasPermission('access_permissions')) { + if ($checked) $notPublic = true; + $chks .= ''.$row['name']."
    \n"; + } else { + if ($checked) $chks = '' . "\n" . $chks; + } + } + if($modx->hasPermission('access_permissions')) { + $chks = ''.$_lang['all_usr_groups'].'
    ' . "\n" . $chks; + } + echo $chks; ?>
    diff --git a/manager/actions/mutate_plugin.dynamic.php b/manager/actions/mutate_plugin.dynamic.php old mode 100644 new mode 100755 index 9e05a71763..85ee262afc --- a/manager/actions/mutate_plugin.dynamic.php +++ b/manager/actions/mutate_plugin.dynamic.php @@ -27,462 +27,462 @@ $rs = mysql_query($sql); $limit = mysql_num_rows($rs); if($limit>1) { - for ($i=0;$i<$limit;$i++) { - $lock = mysql_fetch_assoc($rs); - if($lock['internalKey']!=$modx->getLoginUserID()) { - $msg = sprintf($_lang["lock_msg"],$lock['username'],"plugin"); - $e->setError(5, $msg); - $e->dumpError(); - } - } + for ($i=0;$i<$limit;$i++) { + $lock = mysql_fetch_assoc($rs); + if($lock['internalKey']!=$modx->getLoginUserID()) { + $msg = sprintf($_lang["lock_msg"],$lock['username'],"plugin"); + $e->setError(5, $msg); + $e->dumpError(); + } + } } // end check for lock if(isset($_GET['id'])) { - $sql = "SELECT * FROM $dbase.`".$table_prefix."site_plugins` WHERE $dbase.`".$table_prefix."site_plugins`.id = $id;"; - $rs = mysql_query($sql); - $limit = mysql_num_rows($rs); - if($limit>1) { - echo "Multiple plugins sharing same unique id. Not good.

    "; - exit; - } - if($limit<1) { - header("Location: /index.php?id=".$site_start); - } - $content = mysql_fetch_assoc($rs); - $_SESSION['itemname']=$content['name']; - if($content['locked']==1 && $_SESSION['mgrRole']!=1) { - $e->setError(3); - $e->dumpError(); - } + $sql = "SELECT * FROM $dbase.`".$table_prefix."site_plugins` WHERE $dbase.`".$table_prefix."site_plugins`.id = $id;"; + $rs = mysql_query($sql); + $limit = mysql_num_rows($rs); + if($limit>1) { + echo "Multiple plugins sharing same unique id. Not good.

    "; + exit; + } + if($limit<1) { + header("Location: /index.php?id=".$site_start); + } + $content = mysql_fetch_assoc($rs); + $_SESSION['itemname']=$content['name']; + if($content['locked']==1 && $_SESSION['mgrRole']!=1) { + $e->setError(3); + $e->dumpError(); + } } else { - $_SESSION['itemname']="New Plugin"; + $_SESSION['itemname']="New Plugin"; } ?>

    invokeEvent("OnPluginFormPrerender",array("id" => $id)); - if(is_array($evtOut)) echo implode("",$evtOut); +// invoke OnPluginFormPrerender event +$evtOut = $modx->invokeEvent("OnPluginFormPrerender",array("id" => $id)); +if(is_array($evtOut)) echo implode("",$evtOut); ?> - - + + -

    +

    - +

    - +
    -

    - - - - - - - - - - - - - - - - -
    : 
    :  
    value="on" class="inputBox"> ".$_lang['plugin_disabled']."":$_lang['plugin_disabled']; ?>
    value="on" class="inputBox">
    - -
    -
    -   - class="inputBox" onclick="setTextWrap(document.mutate.post,this.checked)" /> -
    - -
    - -
    +

    + + + + + + + + + + + + + + + + +
    : 
    :  
    value="on" class="inputBox"> ".$_lang['plugin_disabled']."":$_lang['plugin_disabled']; ?>
    value="on" class="inputBox">
    + +
    +
    +   + class="inputBox" onclick="setTextWrap(document.mutate.post,this.checked)" /> +
    + +
    + +
    -

    - - +

    + +
    + + + + - - - + + + - - - + + + - - - - - - - - - - - - - - - -
    :   +
    :   -
    :
    :
    :   +
    :   -
     

    :
      
    -
    +   +

    + + + : +
    + + +   +   + + +
    -

    - - - - - - - - -

     
    - - - - - -
       - - 0) { - $sql = " - SELECT evtid, pluginid - FROM $dbase.`".$table_prefix."site_plugin_events` - WHERE pluginid='$id' - "; - $evts = array(); - $rs = mysql_query($sql); - $limit = mysql_num_rows($rs); - for ($i=0; $i<$limit; $i++) { - $row = mysql_fetch_assoc($rs); - $evts[] = $row['evtid']; - } - } else { - if(isset($content['sysevents']) && is_array($content['sysevents'])) { - $evts = $content['sysevents']; - } else { - $evts = array(); - } - } - - // display system events - $evtnames = array(); - $services = array( - "Parser Service Events", - "Manager Access Events", - "Web Access Service Events", - "Cache Service Events", - "Template Service Events", - "User Defined Events" - ); - $sql = "SELECT * FROM $dbase.`".$table_prefix."system_eventnames` ORDER BY service DESC, groupname, name"; - $rs = mysql_query($sql); - $limit = mysql_num_rows($rs); - if($limit==0) echo ""; - else for ($i=0; $i<$limit; $i++) { - $row = mysql_fetch_assoc($rs); - // display records - if($srv!=$row['service']){ - $srv=$row['service']; - if(count($evtnames)>0) echoEventRows($evtnames); - echo ""; - echo ""; - } - // display group name - if($grp!=$row['groupname']){ - $grp=$row['groupname']; - if(count($evtnames)>0) echoEventRows($evtnames); - echo ""; - echo ""; - } - $evtnames[] = ''.$row['name']; - if(count($evtnames)==2) echoEventRows($evtnames); - } - if(count($evtnames)>0) echoEventRows($evtnames); - - function echoEventRows(&$evtnames) { - echo ""; - $evtnames = array(); - } - ?> -
     
    ".$services[$srv-1]."
    ".$row['groupname']."
    ".implode("",$evtnames)."
    -
    -   -
    +

    + + + + + + + + +

     
    + + + + + +
       + + 0) { + $sql = " + SELECT evtid, pluginid + FROM $dbase.`".$table_prefix."site_plugin_events` + WHERE pluginid='$id' + "; + $evts = array(); + $rs = mysql_query($sql); + $limit = mysql_num_rows($rs); + for ($i=0; $i<$limit; $i++) { + $row = mysql_fetch_assoc($rs); + $evts[] = $row['evtid']; + } + } else { + if(isset($content['sysevents']) && is_array($content['sysevents'])) { + $evts = $content['sysevents']; + } else { + $evts = array(); + } + } + + // display system events + $evtnames = array(); + $services = array( + "Parser Service Events", + "Manager Access Events", + "Web Access Service Events", + "Cache Service Events", + "Template Service Events", + "User Defined Events" + ); + $sql = "SELECT * FROM $dbase.`".$table_prefix."system_eventnames` ORDER BY service DESC, groupname, name"; + $rs = mysql_query($sql); + $limit = mysql_num_rows($rs); + if($limit==0) echo ""; + else for ($i=0; $i<$limit; $i++) { + $row = mysql_fetch_assoc($rs); + // display records + if($srv!=$row['service']){ + $srv=$row['service']; + if(count($evtnames)>0) echoEventRows($evtnames); + echo ""; + echo ""; + } + // display group name + if($grp!=$row['groupname']){ + $grp=$row['groupname']; + if(count($evtnames)>0) echoEventRows($evtnames); + echo ""; + echo ""; + } + $evtnames[] = ''.$row['name']; + if(count($evtnames)==2) echoEventRows($evtnames); + } + if(count($evtnames)>0) echoEventRows($evtnames); + + function echoEventRows(&$evtnames) { + echo ""; + $evtnames = array(); + } +?> +
     
    ".$services[$srv-1]."
    ".$row['groupname']."
    ".implode("",$evtnames)."
    +
    +   +
    invokeEvent("OnPluginFormRender",array("id" => $id)); - if(is_array($evtOut)) echo implode("",$evtOut); +// invoke OnPluginFormRender event +$evtOut = $modx->invokeEvent("OnPluginFormRender",array("id" => $id)); +if(is_array($evtOut)) echo implode("",$evtOut); ?>
    diff --git a/manager/actions/mutate_settings.dynamic.php b/manager/actions/mutate_settings.dynamic.php old mode 100644 new mode 100755 index 6f700eb192..7c8ed5da78 --- a/manager/actions/mutate_settings.dynamic.php +++ b/manager/actions/mutate_settings.dynamic.php @@ -47,8 +47,6 @@ $isDefaultUnavailableMsg = $site_unavailable_message == $_lang['siteunavailable_message_default']; $isDefaultUnavailableMsgJs = $isDefaultUnavailableMsg ? 'true' : 'false'; $site_unavailable_message_view = isset($site_unavailable_message) ? $site_unavailable_message : $_lang['siteunavailable_message_default']; -$validate_referrer_off_val = $modx->db->getValue('SELECT setting_value FROM '.$modx->getFullTableName('system_settings').' WHERE setting_name=\'validate_referer\''); -$validate_referrer_off_val = $validate_referrer_off_val === '00' ? '00' : '0'; // storing the double zero is a trick to hide the warning message from the manager /* check the file paths */ $settings['filemanager_path'] = $filemanager_path = trim($settings['filemanager_path']) == '' ? MODX_BASE_PATH : $settings['filemanager_path']; @@ -336,9 +334,9 @@ function confirmLangChange(el, lkey, elupd){ - onclick='showHide(/logRow/, 1);' /> + />
    - onclick='showHide(/logRow/, 0);' /> + /> @@ -348,20 +346,6 @@ function confirmLangChange(el, lkey, elupd){
    - - - /> -
    - /> - - - -   - - - -
    - @@ -373,6 +357,18 @@ function confirmLangChange(el, lkey, elupd){
    + + + +

    + />
    + />
    + />
    + + + +
    + @@ -380,7 +376,7 @@ function confirmLangChange(el, lkey, elupd){ $sql = "select templatename, id from $dbase.`".$table_prefix."site_templates`"; $rs = mysql_query($sql); ?> -
    -
    -
    - + @@ -527,7 +524,7 @@ function confirmLangChange(el, lkey, elupd){ />
    - /> + /> @@ -1161,10 +1158,24 @@ function getResourceBaseUrl() { " /> - -   - + +   + + + +
    + + + + /> +
    + /> + + +   + +
    diff --git a/manager/actions/mutate_snippet.dynamic.php b/manager/actions/mutate_snippet.dynamic.php old mode 100644 new mode 100755 index 10ae88b6c9..fb3bfe93b4 --- a/manager/actions/mutate_snippet.dynamic.php +++ b/manager/actions/mutate_snippet.dynamic.php @@ -36,260 +36,260 @@ $rs = mysql_query($sql); $limit = mysql_num_rows($rs); if($limit>1) { - for ($i=0;$i<$limit;$i++) { - $lock = mysql_fetch_assoc($rs); - if($lock['internalKey']!=$modx->getLoginUserID()) { - $msg = sprintf($_lang['lock_msg'],$lock['username'],"snippet"); - $e->setError(5, $msg); - $e->dumpError(); - } - } + for ($i=0;$i<$limit;$i++) { + $lock = mysql_fetch_assoc($rs); + if($lock['internalKey']!=$modx->getLoginUserID()) { + $msg = sprintf($_lang['lock_msg'],$lock['username'],"snippet"); + $e->setError(5, $msg); + $e->dumpError(); + } + } } // end check for lock if(isset($_GET['id'])) { - $sql = 'SELECT * FROM '.$tbl_site_snippets.' WHERE id='.$id; - $rs = mysql_query($sql); - $limit = mysql_num_rows($rs); - if($limit>1) { - echo "Oops, Multiple snippets sharing same unique id. Not good.

    "; - exit; - } - if($limit<1) { - header("Location: /index.php?id=".$site_start); - } - $content = mysql_fetch_assoc($rs); - $_SESSION['itemname']=$content['name']; - if($content['locked']==1 && $_SESSION['mgrRole']!=1) { - $e->setError(3); - $e->dumpError(); - } + $sql = 'SELECT * FROM '.$tbl_site_snippets.' WHERE id='.$id; + $rs = mysql_query($sql); + $limit = mysql_num_rows($rs); + if($limit>1) { + echo "Oops, Multiple snippets sharing same unique id. Not good.

    "; + exit; + } + if($limit<1) { + header("Location: /index.php?id=".$site_start); + } + $content = mysql_fetch_assoc($rs); + $_SESSION['itemname']=$content['name']; + if($content['locked']==1 && $_SESSION['mgrRole']!=1) { + $e->setError(3); + $e->dumpError(); + } } else { - $_SESSION['itemname']="New snippet"; + $_SESSION['itemname']="New snippet"; } ?>

    invokeEvent("OnSnipFormPrerender",array("id" => $id)); - if(is_array($evtOut)) echo implode("",$evtOut); + // invoke OnSnipFormPrerender event + $evtOut = $modx->invokeEvent("OnSnipFormPrerender",array("id" => $id)); + if(is_array($evtOut)) echo implode("",$evtOut); ?> - - + +
    - +

    @@ -299,104 +299,104 @@ function decode(s){
    - + - +
    -

    - - - - - - - - - - - - - -
    :[[]] 
    :    
    class="inputBox">
    - -
    -
    -   - class="inputBox" onclick="setTextWrap(document.mutate.post,this.checked)" /> -
    - -
    - -
    - - +

    + + + + + + + + + + + + + +
    :[[]] 
    :    
    class="inputBox">
    + +
    +
    +   + class="inputBox" onclick="setTextWrap(document.mutate.post,this.checked)" /> +
    + +
    + +
    + +
    -

    - - +

    + +
    + + + + - - - + + + - - - + + + - - - - - - - - - - - - - - - -
    :     +
    :     -
    :  
    :  
    :     +
    :     -
     

    :  
      
    -
    - - - +   +

    + + + : +    + + +   +   + + + + + + invokeEvent("OnSnipFormRender",array("id" => $id)); - if(is_array($evtOut)) echo implode("",$evtOut); +// invoke OnSnipFormRender event +$evtOut = $modx->invokeEvent("OnSnipFormRender",array("id" => $id)); +if(is_array($evtOut)) echo implode("",$evtOut); ?> diff --git a/manager/actions/mutate_template_tv_rank.dynamic.php b/manager/actions/mutate_template_tv_rank.dynamic.php old mode 100644 new mode 100755 index bd036783b6..bb4ff2b524 --- a/manager/actions/mutate_template_tv_rank.dynamic.php +++ b/manager/actions/mutate_template_tv_rank.dynamic.php @@ -49,7 +49,7 @@ 'FROM '.$tbl_site_tmplvar_templates.' AS tr '. 'INNER JOIN '.$tbl_site_tmplvars.' AS tv ON tv.id = tr.tmplvarid '. 'INNER JOIN '.$tbl_site_templates.' AS tm ON tr.templateid = tm.id '. - 'WHERE tr.templateid='.(int)$_REQUEST['id'].' ORDER BY tr.rank ASC'; + 'WHERE tr.templateid='.(int)$_REQUEST['id'].' ORDER BY tr.rank, tv.rank, tv.id'; $rs = $modx->db->query($sql); $limit = $modx->db->getRecordCount($rs); diff --git a/manager/actions/mutate_templates.dynamic.php b/manager/actions/mutate_templates.dynamic.php old mode 100644 new mode 100755 index 05c01d02a0..bd6812b2c0 --- a/manager/actions/mutate_templates.dynamic.php +++ b/manager/actions/mutate_templates.dynamic.php @@ -20,49 +20,49 @@ } if(isset($_REQUEST['id']) && is_numeric($_REQUEST['id'])) { - $id = $_REQUEST['id']; - // check to see the template editor isn't locked - $sql = "SELECT internalKey, username FROM $dbase.`".$table_prefix."active_users` WHERE $dbase.`".$table_prefix."active_users`.action=16 AND $dbase.`".$table_prefix."active_users`.id=$id"; - $rs = mysql_query($sql); - $limit = mysql_num_rows($rs); - if($limit>1) { - for ($i=0;$i<$limit;$i++) { - $lock = mysql_fetch_assoc($rs); - if($lock['internalKey']!=$modx->getLoginUserID()) { - $msg = sprintf($_lang["lock_msg"],$lock['username'],"template"); - $e->setError(5, $msg); - $e->dumpError(); - } - } - } - // end check for lock + $id = $_REQUEST['id']; + // check to see the template editor isn't locked + $sql = "SELECT internalKey, username FROM $dbase.`".$table_prefix."active_users` WHERE $dbase.`".$table_prefix."active_users`.action=16 AND $dbase.`".$table_prefix."active_users`.id=$id"; + $rs = mysql_query($sql); + $limit = mysql_num_rows($rs); + if($limit>1) { + for ($i=0;$i<$limit;$i++) { + $lock = mysql_fetch_assoc($rs); + if($lock['internalKey']!=$modx->getLoginUserID()) { + $msg = sprintf($_lang["lock_msg"],$lock['username'],"template"); + $e->setError(5, $msg); + $e->dumpError(); + } + } + } + // end check for lock } else { - $id=''; + $id=''; } $content = array(); if(isset($_REQUEST['id']) && $_REQUEST['id']!='' && is_numeric($_REQUEST['id'])) { - $sql = "SELECT * FROM $dbase.`".$table_prefix."site_templates` WHERE $dbase.`".$table_prefix."site_templates`.id = $id;"; - $rs = mysql_query($sql); - $limit = mysql_num_rows($rs); - if($limit>1) { - echo "Oops, something went terribly wrong...

    "; - print "More results returned than expected. Which sucks.

    Aborting."; - exit; - } - if($limit<1) { - echo "Oops, something went terribly wrong...

    "; - print "No database record has been found for this template.

    Aborting."; - exit; - } - $content = mysql_fetch_assoc($rs); - $_SESSION['itemname']=$content['templatename']; - if($content['locked']==1 && $_SESSION['mgrRole']!=1) { - $e->setError(3); - $e->dumpError(); - } + $sql = "SELECT * FROM $dbase.`".$table_prefix."site_templates` WHERE $dbase.`".$table_prefix."site_templates`.id = $id;"; + $rs = mysql_query($sql); + $limit = mysql_num_rows($rs); + if($limit>1) { + echo "Oops, something went terribly wrong...

    "; + print "More results returned than expected. Which sucks.

    Aborting."; + exit; + } + if($limit<1) { + echo "Oops, something went terribly wrong...

    "; + print "No database record has been found for this template.

    Aborting."; + exit; + } + $content = mysql_fetch_assoc($rs); + $_SESSION['itemname']=$content['templatename']; + if($content['locked']==1 && $_SESSION['mgrRole']!=1) { + $e->setError(3); + $e->dumpError(); + } } else { - $_SESSION['itemname']="New template"; + $_SESSION['itemname']="New template"; } $content = array_merge($content, $_POST); @@ -70,55 +70,55 @@ ?>

    invokeEvent("OnTempFormPrerender",array("id" => $id)); - if(is_array($evtOut)) echo implode("",$evtOut); + // invoke OnTempFormPrerender event + $evtOut = $modx->invokeEvent("OnTempFormPrerender",array("id" => $id)); + if(is_array($evtOut)) echo implode("",$evtOut); ?> -

    +

    - +
    @@ -129,78 +129,78 @@ function deletedocument() {
    - - -
    -

    - - - - - - - - - - - - - - - - - - - - - + + +
    +

    + + + + +
     
    :  
    :  
    :     -
    + + + + + + + + + + + + + + + + - - - - - - -
     
    :  
    :  
    :     +
    :  
    class="inputBox">
    - -
    -
    -   -
    - -
    - - + : +    + + + class="inputBox"> + + + +
    +
    +   +
    + +
    + + getFullTableName('site_tmplvar_templates')." tr - INNER JOIN ".$modx->getFullTableName('site_tmplvars')." tv ON tv.id = tr.tmplvarid - LEFT JOIN ".$modx->getFullTableName('categories')." cat ON tv.category = cat.id - WHERE tr.templateid='".$_REQUEST['id']."' ORDER BY tr.rank ASC"; +$sql = "SELECT tv.name as 'name', tv.id as 'id', tr.templateid, tr.rank, if(isnull(cat.category),'".$_lang['no_category']."',cat.category) as category + FROM ".$modx->getFullTableName('site_tmplvar_templates')." tr + INNER JOIN ".$modx->getFullTableName('site_tmplvars')." tv ON tv.id = tr.tmplvarid + LEFT JOIN ".$modx->getFullTableName('categories')." cat ON tv.category = cat.id + WHERE tr.templateid='{$id}' ORDER BY tr.rank, tv.rank, tv.id"; $rs = $modx->db->query($sql); $limit = $modx->db->getRecordCount($rs); - ?> -
    -
    -

    - -

    0) echo $_lang['template_tv_msg']; ?>

    -

    hasPermission('save_template') && $limit > 1) { ?>

    +?> +
    +
    +

    + +

    0) echo $_lang['template_tv_msg']; ?>

    +

    hasPermission('save_template') && $limit > 1) { ?>

    invokeEvent("OnTempFormRender",array("id" => $id)); - if(is_array($evtOut)) echo implode("",$evtOut); +// invoke OnTempFormRender event +$evtOut = $modx->invokeEvent("OnTempFormRender",array("id" => $id)); +if(is_array($evtOut)) echo implode("",$evtOut); ?>
    diff --git a/manager/actions/mutate_tmplvars.dynamic.php b/manager/actions/mutate_tmplvars.dynamic.php old mode 100644 new mode 100755 index 5186a48051..70fa88f20d --- a/manager/actions/mutate_tmplvars.dynamic.php +++ b/manager/actions/mutate_tmplvars.dynamic.php @@ -98,6 +98,7 @@ function deletedocument() { widgetParams['datagrid'] = '&cols=Column Names;string &flds=Field Names;string &cwidth=Column Widths;string &calign=Column Alignments;string &ccolor=Column Colors;string &ctype=Column Types;string &cpad=Cell Padding;int;1 &cspace=Cell Spacing;int;1 &rowid=Row ID Field;string &rgf=Row Group Field;string &rgstyle = Row Group Style;string &rgclass = Row Group Class;string &rowsel=Row Select;string &rhigh=Row Hightlight;string; &psize=Page Size;int;100 &ploc=Pager Location;list;top-right,top-left,bottom-left,bottom-right,both-right,both-left; &pclass=Pager Class;string &pstyle=Pager Style;string &head=Header Text;string &foot=Footer Text;string &tblc=Grid Class;string &tbls=Grid Style;string &itmc=Item Class;string &itms=Item Style;string &aitmc=Alt Item Class;string &aitms=Alt Item Style;string &chdrc=Column Header Class;string &chdrs=Column Header Style;string;&egmsg=Empty message;string;No records found;'; widgetParams['richtext'] = '&w=Width;string;100% &h=Height;string;300px &edt=Editor;list;'; widgetParams['image'] = '&alttext=Alternate Text;string &hspace=H Space;int &vspace=V Space;int &borsize=Border Size;int &align=Align;list;none,baseline,top,middle,bottom,texttop,absmiddle,absbottom,left,right &name=Name;string &class=Class;string &id=ID;string &style=Style;string &attrib=Attributes;string'; + widgetParams['custom_widget'] = '&output=Output;textarea'; // Current Params var currentParams = {}; @@ -163,6 +164,9 @@ function showParameters(ctrl) { } c += ''; break; + case 'textarea': + c = ''; + break; default: // string c = ''; break; @@ -196,6 +200,8 @@ function setParameter(key,dt,ctrl) { case 'list': v = ctrl.options[ctrl.selectedIndex].value; break; + case 'textarea': + v = ctrl.value+''; default: v = ctrl.value+''; break; @@ -308,6 +314,7 @@ function decode(s){ + @@ -331,6 +338,7 @@ function decode(s){ + diff --git a/manager/actions/mutate_user.dynamic.php b/manager/actions/mutate_user.dynamic.php old mode 100644 new mode 100755 index 7d347d5407..4de69c114b --- a/manager/actions/mutate_user.dynamic.php +++ b/manager/actions/mutate_user.dynamic.php @@ -345,9 +345,13 @@ function showHide(what, onoff){ - +
    diff --git a/manager/actions/sysinfo.static.php b/manager/actions/sysinfo.static.php old mode 100644 new mode 100755 diff --git a/manager/actions/user_management.static.php b/manager/actions/user_management.static.php old mode 100644 new mode 100755 diff --git a/manager/actions/web_user_management.static.php b/manager/actions/web_user_management.static.php old mode 100644 new mode 100755 diff --git a/manager/actions/welcome.static.php b/manager/actions/welcome.static.php old mode 100644 new mode 100755 index 6d547084ec..c86a92b8fe --- a/manager/actions/welcome.static.php +++ b/manager/actions/welcome.static.php @@ -8,6 +8,25 @@ exit; } +$script = << + function hideConfigCheckWarning(key){ + var myAjax = new Ajax('index.php?a=118', { + method: 'post', + data: 'action=setsetting&key=_hide_configcheck_' + key + '&value=1' + }); + myAjax.addEvent('onComplete', function(resp){ + fieldset = $(key + '_warning_wrapper').getParent().getParent(); + var sl = new Fx.Slide(fieldset); + sl.slideOut(); + }); + myAjax.request(); + } + + +JS; +$modx->regClientScript($script); + // set placeholders $modx->setPlaceholder('theme',$manager_theme ? $manager_theme : ''); $modx->setPlaceholder('home', $_lang["home"]); @@ -17,11 +36,9 @@ // setup message info if($modx->hasPermission('messages')) { - if (!isset($_SESSION['nrtotalmessages']) || !isset($_SESSION['nrnewmessages'])) { include_once MODX_MANAGER_PATH.'includes/messageCount.inc.php'; $_SESSION['nrtotalmessages'] = $nrtotalmessages; $_SESSION['nrnewmessages'] = $nrnewmessages; - } $msg = '  '.$_lang["inbox"].($_SESSION['nrnewmessages']>0 ? " (".$_SESSION['nrnewmessages'].")":"").'
    @@ -192,7 +209,12 @@ } // load template file -$tplFile = $base_path.'assets/templates/manager/welcome.html'; +$customWelcome = $base_path.'manager/media/style/'.$modx->config['manager_theme'] .'/welcome.html'; +if( is_readable($customWelcome) ) { + $tplFile = $customWelcome; +} else { + $tplFile = $base_path.'assets/templates/manager/welcome.html'; +} $handle = fopen($tplFile, "r"); $tpl = fread($handle, filesize($tplFile)); fclose($handle); diff --git a/manager/frames/nodes.php b/manager/frames/nodes.php old mode 100644 new mode 100755 index 4dc5c0af6d..8ec8d810ca --- a/manager/frames/nodes.php +++ b/manager/frames/nodes.php @@ -159,7 +159,10 @@ function makeHTML($indent,$parent,$expandAll,$theme) { $icon = $icons[$contenttype]; } } - + if($id == $modx->config['site_start']) $icon = $_style["tree_page_home"]; + elseif($id == $modx->config['error_page']) $icon = $_style["tree_page_404"]; + elseif($id == $modx->config['site_unavailable_page']) $icon = $_style["tree_page_hourglass"]; + elseif($id == $modx->config['unauthorized_page']) $icon = $_style["tree_page_info"]; $output .= '
    '.$spacer.$pad.' '; $output .= ''.$pagetitleDisplay.$weblinkDisplay.' '.$pageIdDisplay.'
    '; } @@ -170,6 +173,10 @@ function makeHTML($indent,$parent,$expandAll,$theme) { if ($expandAll == 1) { array_push($opened2, $id); } + if($id == $modx->config['site_start']) $icon = $_style["tree_page_home"]; + elseif($id == $modx->config['error_page']) $icon = $_style["tree_page_404"]; + elseif($id == $modx->config['site_unavailable_page']) $icon = $_style["tree_page_hourglass"]; + elseif($id == $modx->config['unauthorized_page']) $icon = $_style["tree_page_info"]; $output .= '
    '.$spacer.'  '; $output .= ''.$pagetitleDisplay.$weblinkDisplay.' '.$pageIdDisplay.'
    '; makeHTML($indent+1,$id,$expandAll,$theme); diff --git a/manager/includes/accesscontrol.inc.php b/manager/includes/accesscontrol.inc.php index e2bb45c836..de0d000bdc 100755 --- a/manager/includes/accesscontrol.inc.php +++ b/manager/includes/accesscontrol.inc.php @@ -95,7 +95,7 @@ } // login info - $uid = isset($_COOKIE['modx_remember_manager']) ? preg_replace('/[^a-zA-Z0-9\-_]*/', '', $_COOKIE['modx_remember_manager']) :''; + $uid = isset($_COOKIE['modx_remember_manager']) ? preg_replace('/[^a-zA-Z0-9\-_@\.]*/', '', $_COOKIE['modx_remember_manager']) :''; $modx->setPlaceholder('uid',$uid); $modx->setPlaceholder('username',$_lang["username"]); $modx->setPlaceholder('password',$_lang["password"]); diff --git a/manager/includes/actionlist.inc.php b/manager/includes/actionlist.inc.php index ea23126cc5..1edd4246a2 100755 --- a/manager/includes/actionlist.inc.php +++ b/manager/includes/actionlist.inc.php @@ -5,10 +5,10 @@ $GLOBALS['action_list'] = array( '1' => 'Loading a frame(set)', '2' => 'Viewing home page/ online users', - '3' => 'Viewing data for document', - '4' => 'Creating a document', - '5' => 'Saving document', - '6' => 'Deleting document', + '3' => 'Viewing data for resource', + '4' => 'Creating a resource', + '5' => 'Saving resource', + '6' => 'Deleting resource', '7' => 'Waiting while MODx cleans up', '8' => 'Logged out', '9' => 'Viewing help', @@ -29,7 +29,7 @@ '24' => 'Saving Snippet', '25' => 'Deleting Snippet', '26' => 'Refreshing site', - '27' => 'Editing document', + '27' => 'Editing resource', '28' => 'Changing password', '29' => 'Error', '30' => 'Saving settings', @@ -52,19 +52,19 @@ '48' => 'Editing Access Permissions', '49' => 'Editing Access Permissions', '50' => 'Editing Access Permissions', - '51' => 'Moving document', - '52' => 'Moved document', + '51' => 'Moving resource', + '52' => 'Moved resource', '53' => 'Viewing system info', '54' => 'Optimizing a table', '55' => 'Empty logs', - '56' => 'Refresh document tree', + '56' => 'Refresh resource tree', '57' => 'Refresh menu', '58' => 'Logged in', '59' => 'About MODx', '60' => 'Emptying Recycle Bin', - '61' => 'Publishing a document', - '62' => 'Un-publishing a document', - '63' => 'Un-deleting a document', + '61' => 'Publishing a resource', + '62' => 'Un-publishing a resource', + '63' => 'Un-deleting a resource', '64' => 'Removing deleted content', '65' => 'Deleting a message', '66' => 'Sending a message', @@ -77,15 +77,15 @@ '73' => 'Editing a weblink', //case "74" : return "Changing personal preferences"; break; '75' => 'User/ role management', - '76' => 'Resource management', + '76' => 'Element management', '77' => 'Creating a new Chunk (HTML Snippet)', '78' => 'Editing Chunk (HTML Snippet)', '79' => 'Saving Chunk (HTML Snippet)', '80' => 'Deleting Chunk (HTML Snippet)', '81' => 'Managing keywords', '81' => 'Managing keywords', - '83' => 'Exporting a document to HTML', - '84' => 'Load Resource Selector', + '83' => 'Exporting a resource to HTML', + '84' => 'Load Element Selector', '85' => 'Create Folder', '86' => 'Role management', '87' => 'Create new web user', @@ -95,13 +95,13 @@ '91' => 'Editing Web Access Permissions', '92' => 'Editing Access Permissions', '93' => 'Backup Manager', - '94' => 'Duplicate Document', - '95' => 'Importing documents from HTML', + '94' => 'Duplicate resource', + '95' => 'Importing resources from HTML', '96' => 'Duplicate Template', '97' => 'Duplicate Chunk (HTML Snippet)', '98' => 'Duplicate Snippet', '99' => 'Manage Web Users', - '100' => 'Previewing document', + '100' => 'Previewing resource', '101' => 'Create new plugin', '102' => 'Edit plugin', '103' => 'Saving plugin', @@ -137,4 +137,4 @@ function getAction($actionId, $itemid='') { if (!$ret) $ret = "Idle (unknown)"; return $ret; -} +} \ No newline at end of file diff --git a/manager/includes/config_check.inc.php b/manager/includes/config_check.inc.php index 9cd0c381d5..d6d138bbab 100755 --- a/manager/includes/config_check.inc.php +++ b/manager/includes/config_check.inc.php @@ -22,52 +22,82 @@ } if (!extension_loaded('gd') || !extension_loaded('zip')) { - $warningspresent = 1; - $warnings[] = array($_lang['configcheck_php_gdzip']); + $warningspresent = 1; + $warnings[] = array($_lang['configcheck_php_gdzip']); +} + +if(!isset($modx->config['_hide_configcheck_validate_referer']) || $modx->config['_hide_configcheck_validate_referer'] !== '1') { + if(isset($_SESSION['mgrPermissions']['settings']) && $_SESSION['mgrPermissions']['settings'] == '1') { + if ($modx->db->getValue('SELECT COUNT(setting_value) FROM '.$modx->getFullTableName('system_settings').' WHERE setting_name=\'validate_referer\' AND setting_value=\'0\'')) { + $warningspresent = 1; + $warnings[] = array($_lang['configcheck_validate_referer']); + } + } } -if(isset($_SESSION['mgrPermissions']['settings']) && $_SESSION['mgrPermissions']['settings'] == '1') { - if ($modx->db->getValue('SELECT COUNT(setting_value) FROM '.$modx->getFullTableName('system_settings').' WHERE setting_name=\'validate_referer\' AND setting_value=\'0\'')) { - $warningspresent = 1; - $warnings[] = array($_lang['configcheck_validate_referer']); - } - $script = <<config['_hide_configcheck_templateswitcher_present']) || $modx->config['_hide_configcheck_templateswitcher_present'] !== '1') { + if(isset($_SESSION['mgrPermissions']['edit_plugin']) && $_SESSION['mgrPermissions']['edit_plugin'] == '1') { + $sql = "SELECT name, disabled FROM ".$modx->getFullTableName('site_plugins')." WHERE name IN ('TemplateSwitcher', 'Template Switcher', 'templateswitcher', 'template_switcher', 'template switcher') OR plugincode LIKE '%TemplateSwitcher%'"; + $rs = $modx->db->query($sql); + $row = $modx->db->getRow($rs, 'assoc'); + if($row && $row['disabled'] == 0) { + $warningspresent = 1; + $warnings[] = array($_lang['configcheck_templateswitcher_present']); + $tplName = $row['name']; + $script = << -function hideHeaderVerificationWarning(){ - var myAjax = new Ajax('index.php?a=118', { - method: 'post', - data: 'action=setsetting&key=validate_referer&value=00' - }); - myAjax.addEvent('onComplete', function(resp){ - fieldset = $('validate_referer_warning_wrapper').getParent().getParent(); - var sl = new Fx.Slide(fieldset); - sl.slideOut(); - }); - myAjax.request(); +function deleteTemplateSwitcher(){ + if(confirm('{$_lang["confirm_delete_plugin"]}')) { + var myAjax = new Ajax('index.php?a=118', { + method: 'post', + data: 'action=updateplugin&key=_delete_&lang=$tplName' + }); + myAjax.addEvent('onComplete', function(resp){ + fieldset = $('templateswitcher_present_warning_wrapper').getParent().getParent(); + var sl = new Fx.Slide(fieldset); + sl.slideOut(); + }); + myAjax.request(); + } +} +function disableTemplateSwitcher(){ + var myAjax = new Ajax('index.php?a=118', { + method: 'post', + data: 'action=updateplugin&lang={$tplName}&key=disabled&value=1' + }); + myAjax.addEvent('onComplete', function(resp){ + fieldset = $('templateswitcher_present_warning_wrapper').getParent().getParent(); + var sl = new Fx.Slide(fieldset); + sl.slideOut(); + }); + myAjax.request(); } JS; - $modx->regClientScript($script); + $modx->regClientScript($script); + } + } } if ($modx->db->getValue('SELECT published FROM '.$modx->getFullTableName('site_content').' WHERE id='.$unauthorized_page) == 0) { - $warningspresent = 1; + $warningspresent = 1; $warnings[] = array($_lang['configcheck_unauthorizedpage_unpublished']); } if ($modx->db->getValue('SELECT published FROM '.$modx->getFullTableName('site_content').' WHERE id='.$error_page) == 0) { - $warningspresent = 1; + $warningspresent = 1; $warnings[] = array($_lang['configcheck_errorpage_unpublished']); } if ($modx->db->getValue('SELECT privateweb FROM '.$modx->getFullTableName('site_content').' WHERE id='.$unauthorized_page) == 1) { - $warningspresent = 1; + $warningspresent = 1; $warnings[] = array($_lang['configcheck_unauthorizedpage_unavailable']); } if ($modx->db->getValue('SELECT privateweb FROM '.$modx->getFullTableName('site_content').' WHERE id='.$error_page) == 1) { - $warningspresent = 1; + $warningspresent = 1; $warnings[] = array($_lang['configcheck_errorpage_unavailable']); } @@ -134,8 +164,8 @@ function checkSiteCache() { $warnings[$i][1] = $_lang['configcheck_register_globals_msg']; break; case $_lang['configcheck_php_gdzip'] : - $warnings[$i][1] = $_lang['configcheck_php_gdzip_msg']; - break; + $warnings[$i][1] = $_lang['configcheck_php_gdzip_msg']; + break; case $_lang['configcheck_unauthorizedpage_unpublished'] : $warnings[$i][1] = $_lang['configcheck_unauthorizedpage_unpublished_msg']; break; @@ -149,8 +179,21 @@ function checkSiteCache() { $warnings[$i][1] = $_lang['configcheck_errorpage_unavailable_msg']; break; case $_lang['configcheck_validate_referer'] : - $warnings[$i][1] = "" . $_lang['configcheck_validate_referer_msg'] . "\n"; - break; + $msg = $_lang['configcheck_validate_referer_msg']; + $msg .= '
    ' . sprintf($_lang["configcheck_hide_warning"], 'validate_referer'); + $warnings[$i][1] = "{$msg}\n"; + break; + case $_lang['configcheck_templateswitcher_present'] : + $msg = $_lang["configcheck_templateswitcher_present_msg"]; + if(isset($_SESSION['mgrPermissions']['save_plugin']) && $_SESSION['mgrPermissions']['save_plugin'] == '1') { + $msg .= '
    ' . $_lang["configcheck_templateswitcher_present_disable"]; + } + if(isset($_SESSION['mgrPermissions']['delete_plugin']) && $_SESSION['mgrPermissions']['delete_plugin'] == '1') { + $msg .= '
    ' . $_lang["configcheck_templateswitcher_present_delete"]; + } + $msg .= '
    ' . sprintf($_lang["configcheck_hide_warning"], 'templateswitcher_present'); + $warnings[$i][1] = "{$msg}\n"; + break; default : $warnings[$i][1] = $_lang['configcheck_default_msg']; } @@ -162,7 +205,7 @@ function checkSiteCache() {

    ".$_lang['configcheck_what']."
    ".$warnings[$i][1]." ".$admin_warning."

    - "; +"; if ($i!=count($warnings)-1) { $config_check_results .= "
    "; } @@ -171,4 +214,3 @@ function checkSiteCache() { } else { $config_check_results = $_lang['configcheck_ok']; } -?> \ No newline at end of file diff --git a/manager/includes/document.parser.class.inc.php b/manager/includes/document.parser.class.inc.php index 2d39519b15..494070fd89 100755 --- a/manager/includes/document.parser.class.inc.php +++ b/manager/includes/document.parser.class.inc.php @@ -7,11 +7,44 @@ class DocumentParser { var $db; // db object var $event, $Event; // event object - var $pluginEvent; - var $config= null; - var $rs, $result, $sql, $table_prefix, $debug, $documentIdentifier, $documentMethod, $documentGenerated, $documentContent, $tstart, $minParserPasses, $maxParserPasses, $documentObject, $templateObject, $snippetObjects, $stopOnNotice, $executedQueries, $queryTime, $currentSnippet, $documentName, $aliases, $visitor, $entrypage, $documentListing, $dumpSnippets, $chunkCache, $snippetCache, $contentTypes, $dumpSQL, $queryCode, $virtualDir, $placeholders, $sjscripts, $jscripts, $loadedjscripts, $documentMap; + var $rs; + var $result; + var $sql; + var $table_prefix; + var $debug; + var $documentIdentifier; + var $documentMethod; + var $documentGenerated; + var $documentContent; + var $tstart; + var $minParserPasses; + var $maxParserPasses; + var $documentObject; + var $templateObject; + var $snippetObjects; + var $stopOnNotice; + var $executedQueries; + var $queryTime; + var $currentSnippet; + var $documentName; + var $aliases; + var $visitor; + var $entrypage; + var $documentListing; + var $dumpSnippets; + var $chunkCache; + var $snippetCache; + var $contentTypes; + var $dumpSQL; + var $queryCode; + var $virtualDir; + var $placeholders; + var $sjscripts; + var $jscripts; + var $loadedjscripts; + var $documentMap; var $forwards= 3; // constructor @@ -191,10 +224,21 @@ function getSettings() { if ($included= file_exists(MODX_BASE_PATH . 'assets/cache/siteCache.idx.php')) { $included= include_once (MODX_BASE_PATH . 'assets/cache/siteCache.idx.php'); } - if (!$included) { - $result= $this->dbQuery('SELECT setting_name, setting_value FROM ' . $this->getFullTableName('system_settings')); - while ($row= $this->fetchRow($result, 'both')) { - $this->config[$row[0]]= $row[1]; + if (!$included || !is_array($this->config) || empty ($this->config)) { + include_once MODX_BASE_PATH . "/manager/processors/cache_sync.class.processor.php"; + $cache = new synccache(); + $cache->setCachepath(MODX_BASE_PATH . "/assets/cache/"); + $cache->setReport(false); + $rebuilt = $cache->buildCache($this); + $included = false; + if($rebuilt && $included= file_exists(MODX_BASE_PATH . 'assets/cache/siteCache.idx.php')) { + $included= include MODX_BASE_PATH . 'assets/cache/siteCache.idx.php'; + } + if(!$included) { + $result= $this->db->query('SELECT setting_name, setting_value FROM ' . $this->getFullTableName('system_settings')); + while ($row= $this->db->getRow($result, 'both')) { + $this->config[$row[0]]= $row[1]; + } } } @@ -225,8 +269,8 @@ function getSettings() { $query= $this->getFullTableName('web_user_settings') . ' WHERE webuser=\'' . $id . '\''; else $query= $this->getFullTableName('user_settings') . ' WHERE user=\'' . $id . '\''; - $result= $this->dbQuery('SELECT setting_name, setting_value FROM ' . $query); - while ($row= $this->fetchRow($result, 'both')) + $result= $this->db->query('SELECT setting_name, setting_value FROM ' . $query); + while ($row= $this->db->getRow($result, 'both')) $usrSettings[$row[0]]= $row[1]; if (isset ($usrType)) $_SESSION[$usrType . 'UsrConfigSet']= $usrSettings; // store user settings in session @@ -238,8 +282,8 @@ function getSettings() { $musrSettings= & $_SESSION['mgrUsrConfigSet']; } else { $query= $this->getFullTableName('user_settings') . ' WHERE user=\'' . $mgrid . '\''; - if ($result= $this->dbQuery('SELECT setting_name, setting_value FROM ' . $query)) { - while ($row= $this->fetchRow($result, 'both')) { + if ($result= $this->db->query('SELECT setting_name, setting_value FROM ' . $query)) { + while ($row= $this->db->getRow($result, 'both')) { $usrSettings[$row[0]]= $row[1]; } $_SESSION['mgrUsrConfigSet']= $musrSettings; // store user settings in session @@ -391,7 +435,7 @@ function checkCache($id) { if ($this->config['unauthorized_page']) { // check if file is not public $tbldg= $this->getFullTableName("document_groups"); - $secrs= $this->dbQuery("SELECT id FROM $tbldg WHERE document = '" . $id . "' LIMIT 1;"); + $secrs= $this->db->query("SELECT id FROM $tbldg WHERE document = '" . $id . "' LIMIT 1;"); if ($secrs) $seclimit= mysql_num_rows($secrs); } @@ -526,13 +570,13 @@ function checkPublishStatus() { if ($cacheRefreshTime <= $timeNow && $cacheRefreshTime != 0) { // now, check for documents that need publishing $sql = "UPDATE ".$this->getFullTableName("site_content")." SET published=1, publishedon=".time()." WHERE ".$this->getFullTableName("site_content").".pub_date <= $timeNow AND ".$this->getFullTableName("site_content").".pub_date!=0 AND published=0"; - if (@ !$result= $this->dbQuery($sql)) { + if (@ !$result= $this->db->query($sql)) { $this->messageQuit("Execution of a query to the database failed", $sql); } // now, check for documents that need un-publishing $sql= "UPDATE " . $this->getFullTableName("site_content") . " SET published=0, publishedon=0 WHERE " . $this->getFullTableName("site_content") . ".unpub_date <= $timeNow AND " . $this->getFullTableName("site_content") . ".unpub_date!=0 AND published=1"; - if (@ !$result= $this->dbQuery($sql)) { + if (@ !$result= $this->db->query($sql)) { $this->messageQuit("Execution of a query to the database failed", $sql); } @@ -556,20 +600,20 @@ function checkPublishStatus() { // update publish time file $timesArr= array (); $sql= "SELECT MIN(pub_date) AS minpub FROM " . $this->getFullTableName("site_content") . " WHERE pub_date>$timeNow"; - if (@ !$result= $this->dbQuery($sql)) { + if (@ !$result= $this->db->query($sql)) { $this->messageQuit("Failed to find publishing timestamps", $sql); } - $tmpRow= $this->fetchRow($result); + $tmpRow= $this->db->getRow($result); $minpub= $tmpRow['minpub']; if ($minpub != NULL) { $timesArr[]= $minpub; } $sql= "SELECT MIN(unpub_date) AS minunpub FROM " . $this->getFullTableName("site_content") . " WHERE unpub_date>$timeNow"; - if (@ !$result= $this->dbQuery($sql)) { + if (@ !$result= $this->db->query($sql)) { $this->messageQuit("Failed to find publishing timestamps", $sql); } - $tmpRow= $this->fetchRow($result); + $tmpRow= $this->db->getRow($result); $minunpub= $tmpRow['minunpub']; if ($minunpub != NULL) { $timesArr[]= $minunpub; @@ -696,14 +740,14 @@ function mergeChunkContent($content) { if (isset ($this->chunkCache[$matches[1][$i]])) { $replace[$i]= $this->chunkCache[$matches[1][$i]]; } else { - $sql= "SELECT * FROM " . $this->getFullTableName("site_htmlsnippets") . " WHERE " . $this->getFullTableName("site_htmlsnippets") . ".name='" . $this->db->escape($matches[1][$i]) . "';"; - $result= $this->dbQuery($sql); - $limit= $this->recordCount($result); + $sql= "SELECT `snippet` FROM " . $this->getFullTableName("site_htmlsnippets") . " WHERE " . $this->getFullTableName("site_htmlsnippets") . ".`name`='" . $this->db->escape($matches[1][$i]) . "';"; + $result= $this->db->query($sql); + $limit= $this->db->getRecordCount($result); if ($limit < 1) { $this->chunkCache[$matches[1][$i]]= ""; $replace[$i]= ""; } else { - $row= $this->fetchRow($result); + $row= $this->db->getRow($result); $this->chunkCache[$matches[1][$i]]= $row['snippet']; $replace[$i]= $row['snippet']; } @@ -807,14 +851,19 @@ function evalSnippets($documentSource) { $snippets[$i]['properties']= $this->snippetCache[$matches[1][$i] . "Props"]; } else { // get from db and store a copy inside cache - $sql= "SELECT * FROM " . $this->getFullTableName("site_snippets") . " WHERE " . $this->getFullTableName("site_snippets") . ".name='" . $this->db->escape($matches[1][$i]) . "';"; - $result= $this->dbQuery($sql); - if ($this->recordCount($result) == 1) { - $row= $this->fetchRow($result); - $snippets[$i]['name']= $row['name']; - $snippets[$i]['snippet']= $this->snippetCache[$row['name']]= $row['snippet']; - $snippets[$i]['properties']= $this->snippetCache[$row['name'] . "Props"]= $row['properties']; - } else { + $sql= "SELECT `name`, `snippet`, `properties` FROM " . $this->getFullTableName("site_snippets") . " WHERE " . $this->getFullTableName("site_snippets") . ".`name`='" . $this->db->escape($matches[1][$i]) . "';"; + $result= $this->db->query($sql); + $added = false; + if ($this->db->getRecordCount($result) == 1) { + $row= $this->db->getRow($result); + if($row['name'] == $matches[1][$i]) { + $snippets[$i]['name']= $row['name']; + $snippets[$i]['snippet']= $this->snippetCache[$row['name']]= $row['snippet']; + $snippets[$i]['properties']= $this->snippetCache[$row['name'] . "Props"]= $row['properties']; + $added = true; + } + } + if(!$added) { $snippets[$i]['name']= $matches[1][$i]; $snippets[$i]['snippet']= $this->snippetCache[$matches[1][$i]]= "return false;"; $snippets[$i]['properties']= ''; @@ -929,7 +978,7 @@ function getDocumentObject($method, $identifier) { WHERE sc." . $method . " = '" . $identifier . "' AND ($access) LIMIT 1;"; $result= $this->db->query($sql); - $rowCount= $this->recordCount($result); + $rowCount= $this->db->getRecordCount($result); if ($rowCount < 1) { if ($this->config['unauthorized_page']) { // method may still be alias, while identifier is not full path alias, e.g. id not found above @@ -939,7 +988,7 @@ function getDocumentObject($method, $identifier) { $q = "SELECT id FROM $tbldg WHERE document = '{$identifier}' LIMIT 1;"; } // check if file is not public - $secrs= $this->dbQuery($q); + $secrs= $this->db->query($q); if ($secrs) $seclimit= mysql_num_rows($secrs); } @@ -954,7 +1003,7 @@ function getDocumentObject($method, $identifier) { } # this is now the document :) # - $documentObject= $this->fetchRow($result); + $documentObject= $this->db->getRow($result); // load TVs and merge with document - Orig by Apodigm - Docvars $sql= "SELECT tv.*, IF(tvc.value!='',tvc.value,tv.default_text) as value "; @@ -962,11 +1011,11 @@ function getDocumentObject($method, $identifier) { $sql .= "INNER JOIN " . $this->getFullTableName("site_tmplvar_templates")." tvtpl ON tvtpl.tmplvarid = tv.id "; $sql .= "LEFT JOIN " . $this->getFullTableName("site_tmplvar_contentvalues")." tvc ON tvc.tmplvarid=tv.id AND tvc.contentid = '" . $documentObject['id'] . "' "; $sql .= "WHERE tvtpl.templateid = '" . $documentObject['template'] . "'"; - $rs= $this->dbQuery($sql); - $rowCount= $this->recordCount($rs); + $rs= $this->db->query($sql); + $rowCount= $this->db->getRecordCount($rs); if ($rowCount > 0) { for ($i= 0; $i < $rowCount; $i++) { - $row= $this->fetchRow($rs); + $row= $this->db->getRow($rs); $tmplvars[$row['name']]= array ( $row['name'], $row['value'], @@ -1183,14 +1232,14 @@ function prepareResponse() { if (!$this->documentObject['template']) $this->documentContent= "[*content*]"; // use blank template else { - $sql= "SELECT * FROM " . $this->getFullTableName("site_templates") . " WHERE " . $this->getFullTableName("site_templates") . ".id = '" . $this->documentObject['template'] . "';"; - $result= $this->dbQuery($sql); - $rowCount= $this->recordCount($result); + $sql= "SELECT `content` FROM " . $this->getFullTableName("site_templates") . " WHERE " . $this->getFullTableName("site_templates") . ".`id` = '" . $this->documentObject['template'] . "';"; + $result= $this->db->query($sql); + $rowCount= $this->db->getRecordCount($result); if ($rowCount > 1) { $this->messageQuit("Incorrect number of templates returned from database", $sql); } elseif ($rowCount == 1) { - $row= $this->fetchRow($result); + $row= $this->db->getRow($result); $this->documentContent= $row['content']; } } @@ -1218,48 +1267,42 @@ function prepareResponse() { /* API functions / /***************************************************************************************/ - function getParentIds($id, $height= 10, $parents= array ()) { - $parentId= 0; - foreach ($this->documentMap as $mapEntry) { - $parentId= array_search($id, $mapEntry); - if ($parentId) { - $parentKey= array_search($parentId, $this->documentListing); - if (!$parentKey) { - $parentKey= "$parentId"; - } - $parents[$parentKey]= $parentId; - break; - } - } - $height--; - if ($parentId && $height) { - $parents= $parents + $this->getParentIds($parentId, $height, $parents); + function getParentIds($id, $height= 10) { + $parents= array (); + while ( $id && $height-- ) { + $thisid = $id; + $id = $this->aliasListing[$id]['parent']; + if (!$id) break; + $pkey = strlen($this->aliasListing[$thisid]['path']) ? $this->aliasListing[$thisid]['path'] : $this->aliasListing[$id]['alias']; + if (!strlen($pkey)) $pkey = "{$id}"; + $parents[$pkey] = $id; } return $parents; } function getChildIds($id, $depth= 10, $children= array ()) { - $c= null; - foreach ($this->documentMap as $mapEntry) { - if (isset ($mapEntry[$id])) { - $childId= $mapEntry[$id]; - $childKey= array_search($childId, $this->documentListing); - if (!$childKey) { - $childKey= "$childId"; + + // Initialise a static array to index parents->children + static $documentMap_cache = array(); + if (!count($documentMap_cache)) { + foreach ($this->documentMap as $document) { + foreach ($document as $p => $c) { + $documentMap_cache[$p][] = $c; } - $c[$childKey]= $childId; } } - $depth--; - if (is_array($c)) { - if (is_array($children)) { - $children= $children + $c; - } else { - $children= $c; - } - if ($depth) { - foreach ($c as $child) { - $children= $children + $this->getChildIds($child, $depth, $children); + + // Get all the children for this parent node + if (isset($documentMap_cache[$id])) { + $depth--; + + foreach ($documentMap_cache[$id] as $childId) { + $pkey = (strlen($this->aliasListing[$childId]['path']) ? "{$this->aliasListing[$childId]['path']}/" : '') . $this->aliasListing[$childId]['alias']; + if (!strlen($pkey)) $pkey = "{$childId}"; + $children[$pkey] = $childId; + + if ($depth) { + $children += $this->getChildIds($childId, $depth); } } } @@ -1347,10 +1390,10 @@ function getAllChildren($id= 0, $sort= 'menuindex', $dir= 'ASC', $fields= 'id, p AND ($access) GROUP BY sc.id ORDER BY $sort $dir;"; - $result= $this->dbQuery($sql); + $result= $this->db->query($sql); $resourceArray= array (); - for ($i= 0; $i < @ $this->recordCount($result); $i++) { - array_push($resourceArray, @ $this->fetchRow($result)); + for ($i= 0; $i < @ $this->db->getRecordCount($result); $i++) { + array_push($resourceArray, @ $this->db->getRow($result)); } return $resourceArray; } @@ -1374,10 +1417,10 @@ function getActiveChildren($id= 0, $sort= 'menuindex', $dir= 'ASC', $fields= 'id AND ($access) GROUP BY sc.id ORDER BY $sort $dir;"; - $result= $this->dbQuery($sql); + $result= $this->db->query($sql); $resourceArray= array (); - for ($i= 0; $i < @ $this->recordCount($result); $i++) { - array_push($resourceArray, @ $this->fetchRow($result)); + for ($i= 0; $i < @ $this->db->getRecordCount($result); $i++) { + array_push($resourceArray, @ $this->db->getRow($result)); } return $resourceArray; } @@ -1404,10 +1447,10 @@ function getDocumentChildren($parentid= 0, $published= 1, $deleted= 0, $fields= AND ($access) GROUP BY sc.id " . ($sort ? " ORDER BY $sort $dir " : "") . " $limit "; - $result= $this->dbQuery($sql); + $result= $this->db->query($sql); $resourceArray= array (); - for ($i= 0; $i < @ $this->recordCount($result); $i++) { - array_push($resourceArray, @ $this->fetchRow($result)); + for ($i= 0; $i < @ $this->db->getRecordCount($result); $i++) { + array_push($resourceArray, @ $this->db->getRow($result)); } return $resourceArray; } @@ -1435,10 +1478,10 @@ function getDocuments($ids= array (), $published= 1, $deleted= 0, $fields= "*", AND ($access) GROUP BY sc.id " . ($sort ? " ORDER BY $sort $dir" : "") . " $limit "; - $result= $this->dbQuery($sql); + $result= $this->db->query($sql); $resourceArray= array (); - for ($i= 0; $i < @ $this->recordCount($result); $i++) { - array_push($resourceArray, @ $this->fetchRow($result)); + for ($i= 0; $i < @ $this->db->getRecordCount($result); $i++) { + array_push($resourceArray, @ $this->db->getRow($result)); } return $resourceArray; } @@ -1478,8 +1521,8 @@ function getPageInfo($pageid= -1, $active= 1, $fields= 'id, pagetitle, descripti WHERE (sc.id=$pageid $activeSql) AND ($access) LIMIT 1 "; - $result= $this->dbQuery($sql); - $pageInfo= @ $this->fetchRow($result); + $result= $this->db->query($sql); + $pageInfo= @ $this->db->getRow($result); return $pageInfo; } } @@ -1503,8 +1546,8 @@ function getParent($pid= -1, $active= 1, $fields= 'id, pagetitle, description, a function getSnippetId() { if ($this->currentSnippet) { $tbl= $this->getFullTableName("site_snippets"); - $rs= $this->dbQuery("SELECT id FROM $tbl WHERE name='" . $this->db->escape($this->currentSnippet) . "' LIMIT 1"); - $row= @ $this->fetchRow($rs); + $rs= $this->db->query("SELECT id FROM $tbl WHERE name='" . $this->db->escape($this->currentSnippet) . "' LIMIT 1"); + $row= @ $this->db->getRow($rs); if ($row['id']) return $row['id']; } @@ -1539,13 +1582,15 @@ function clearCache() { function makeUrl($id, $alias= '', $args= '', $scheme= '') { $url= ''; $virtualDir= ''; + $f_url_prefix = $this->config['friendly_url_prefix']; + $f_url_suffix = $this->config['friendly_url_suffix']; if (!is_numeric($id)) { $this->messageQuit('`' . $id . '` is not numeric and may not be passed to makeUrl()'); } if ($args != '' && $this->config['friendly_urls'] == 1) { // add ? to $args if missing $c= substr($args, 0, 1); - if (strpos($this->config['friendly_url_prefix'], '?') === false) { + if (strpos($f_url_prefix, '?') === false) { if ($c == '&') $args= '?' . substr($args, 1); elseif ($c != '?') $args= '?' . $args; @@ -1563,7 +1608,7 @@ function makeUrl($id, $alias= '', $args= '', $scheme= '') { elseif ($c != '&') $args= '&' . $args; } if ($this->config['friendly_urls'] == 1 && $alias != '') { - $url= $this->config['friendly_url_prefix'] . $alias . $this->config['friendly_url_suffix'] . $args; + $url= $f_url_prefix . $alias . $f_url_suffix . $args; } elseif ($this->config['friendly_urls'] == 1 && $alias == '') { $alias= $id; @@ -1573,7 +1618,7 @@ function makeUrl($id, $alias= '', $args= '', $scheme= '') { if ($al && $al['alias']) $alias= $al['alias']; } - $alias= $alPath . $this->config['friendly_url_prefix'] . $alias . $this->config['friendly_url_suffix']; + $alias= $alPath . $f_url_prefix . $alias . $f_url_suffix; $url= $alias . $args; } else { $url= 'index.php?id=' . $id . $args; @@ -1588,7 +1633,7 @@ function makeUrl($id, $alias= '', $args= '', $scheme= '') { } // to-do: check to make sure that $site_url incudes the url :port (e.g. :8080) - $host= $scheme == 'full' ? $this->config['site_url'] : $scheme . '://' . $_SERVER['HTTP_HOST'] . $this->config['base_url']; + $host= $scheme == 'full' ? $this->config['site_url'] : $scheme . '://' . $_SERVER['HTTP_HOST'] . $host; } if ($this->config['xhtml_urls']) { @@ -1671,12 +1716,12 @@ function getKeywords($id= 0) { $tblKeywords= $this->getFullTableName('site_keywords'); $tblKeywordXref= $this->getFullTableName('keyword_xref'); $sql= "SELECT keywords.keyword FROM " . $tblKeywords . " AS keywords INNER JOIN " . $tblKeywordXref . " AS xref ON keywords.id=xref.keyword_id WHERE xref.content_id = '$id'"; - $result= $this->dbQuery($sql); - $limit= $this->recordCount($result); + $result= $this->db->query($sql); + $limit= $this->db->getRecordCount($result); $keywords= array (); if ($limit > 0) { for ($i= 0; $i < $limit; $i++) { - $row= $this->fetchRow($result); + $row= $this->db->getRow($result); $keywords[]= $row['keyword']; } } @@ -1712,10 +1757,10 @@ function runSnippet($snippetName, $params= array ()) { $snippet= $this->snippetCache[$snippetName]; $properties= $this->snippetCache[$snippetName . "Props"]; } else { // not in cache so let's check the db - $sql= "SELECT * FROM " . $this->getFullTableName("site_snippets") . " WHERE " . $this->getFullTableName("site_snippets") . ".name='" . $this->db->escape($snippetName) . "';"; - $result= $this->dbQuery($sql); - if ($this->recordCount($result) == 1) { - $row= $this->fetchRow($result); + $sql= "SELECT `name`, `snippet`, `properties` FROM " . $this->getFullTableName("site_snippets") . " WHERE " . $this->getFullTableName("site_snippets") . ".`name`='" . $this->db->escape($snippetName) . "';"; + $result= $this->db->query($sql); + if ($this->db->getRecordCount($result) == 1) { + $row= $this->db->getRow($result); $snippet= $this->snippetCache[$row['name']]= $row['snippet']; $properties= $this->snippetCache[$row['name'] . "Props"]= $row['properties']; } else { @@ -1851,10 +1896,10 @@ function getDocumentChildrenTVars($parentid= 0, $tvidnames= array (), $published $sql .= "WHERE " . $query . " AND tvtpl.templateid = " . $docRow['template']; if ($tvsort) $sql .= " ORDER BY $tvsort $tvsortdir "; - $rs= $this->dbQuery($sql); - $limit= @ $this->recordCount($rs); + $rs= $this->db->query($sql); + $limit= @ $this->db->getRecordCount($rs); for ($x= 0; $x < $limit; $x++) { - array_push($tvs, @ $this->fetchRow($rs)); + array_push($tvs, @ $this->db->getRow($rs)); } // get default/built-in template variables @@ -1933,9 +1978,9 @@ function getTemplateVars($idnames= array (), $fields= "*", $docid= "", $publishe $sql .= "WHERE " . $query . " AND tvtpl.templateid = " . $docRow['template']; if ($sort) $sql .= " ORDER BY $sort $dir "; - $rs= $this->dbQuery($sql); - for ($i= 0; $i < @ $this->recordCount($rs); $i++) { - array_push($result, @ $this->fetchRow($rs)); + $rs= $this->db->query($sql); + for ($i= 0; $i < @ $this->db->getRecordCount($rs); $i++) { + array_push($result, @ $this->db->getRow($rs)); } // get default/built-in template variables @@ -2033,24 +2078,24 @@ function sendAlert($type, $to, $from, $subject, $msg, $private= 0) { if (!is_numeric($to)) { // Query for the To ID $sql= "SELECT id FROM " . $this->getFullTableName("manager_users") . " WHERE username='$to';"; - $rs= $this->dbQuery($sql); - if ($this->recordCount($rs)) { - $rs= $this->fetchRow($rs); + $rs= $this->db->query($sql); + if ($this->db->getRecordCount($rs)) { + $rs= $this->db->getRow($rs); $to= $rs['id']; } } if (!is_numeric($from)) { // Query for the From ID $sql= "SELECT id FROM " . $this->getFullTableName("manager_users") . " WHERE username='$from';"; - $rs= $this->dbQuery($sql); - if ($this->recordCount($rs)) { - $rs= $this->fetchRow($rs); + $rs= $this->db->query($sql); + if ($this->db->getRecordCount($rs)) { + $rs= $this->db->getRow($rs); $from= $rs['id']; } } // insert a new message into user_messages $sql= "INSERT INTO " . $this->getFullTableName("user_messages") . " ( id , type , subject , message , sender , recipient , private , postdate , messageread ) VALUES ( '', '$type', '$subject', '$msg', '$from', '$to', '$private', '" . time() . "', '0' );"; - $rs= $this->dbQuery($sql); + $rs= $this->db->query($sql); } # Returns true, install or interact when inside manager @@ -2114,10 +2159,10 @@ function getUserInfo($uid) { INNER JOIN " . $this->getFullTableName("user_attributes") . " mua ON mua.internalkey=mu.id WHERE mu.id = '$uid' "; - $rs= $this->dbQuery($sql); + $rs= $this->db->query($sql); $limit= mysql_num_rows($rs); if ($limit == 1) { - $row= $this->fetchRow($rs); + $row= $this->db->getRow($rs); if (!$row["usertype"]) $row["usertype"]= "manager"; return $row; @@ -2132,10 +2177,10 @@ function getWebUserInfo($uid) { INNER JOIN " . $this->getFullTableName("web_user_attributes") . " wua ON wua.internalkey=wu.id WHERE wu.id='$uid' "; - $rs= $this->dbQuery($sql); + $rs= $this->db->query($sql); $limit= mysql_num_rows($rs); if ($limit == 1) { - $row= $this->fetchRow($rs); + $row= $this->db->getRow($rs); if (!$row["usertype"]) $row["usertype"]= "web"; return $row; @@ -2166,8 +2211,8 @@ function getUserDocGroups($resolveIds= false) { // resolve ids to names $dgn= array (); $tbl= $this->getFullTableName("documentgroup_names"); - $ds= $this->dbQuery("SELECT name FROM $tbl WHERE id IN (" . implode(",", $dg) . ")"); - while ($row= $this->fetchRow($ds)) + $ds= $this->db->query("SELECT name FROM $tbl WHERE id IN (" . implode(",", $dg) . ")"); + while ($row= $this->db->getRow($ds)) $dgn[count($dgn)]= $row['name']; // cache docgroup names to session if ($this->isFrontend()) @@ -2186,10 +2231,10 @@ function changeWebUserPassword($oldPwd, $newPwd) { $rt= false; if ($_SESSION["webValidated"] == 1) { $tbl= $this->getFullTableName("web_users"); - $ds= $this->dbQuery("SELECT * FROM $tbl WHERE id='" . $this->getLoginUserID() . "'"); + $ds= $this->db->query("SELECT `id`, `username`, `password` FROM $tbl WHERE `id`='" . $this->getLoginUserID() . "'"); $limit= mysql_num_rows($ds); if ($limit == 1) { - $row= $this->fetchRow($ds); + $row= $this->db->getRow($ds); if ($row["password"] == md5($oldPwd)) { if (strlen($newPwd) < 6) { return "Password is too short!"; @@ -2197,7 +2242,7 @@ function changeWebUserPassword($oldPwd, $newPwd) { elseif ($newPwd == "") { return "You didn't specify a password for this user!"; } else { - $this->dbQuery("UPDATE $tbl SET password = md5('" . $this->db->escape($newPwd) . "') WHERE id='" . $this->getLoginUserID() . "'"); + $this->db->query("UPDATE $tbl SET password = md5('" . $this->db->escape($newPwd) . "') WHERE id='" . $this->getLoginUserID() . "'"); // invoke OnWebChangePassword event $this->invokeEvent("OnWebChangePassword", array ( "userid" => $row["id"], @@ -2390,10 +2435,10 @@ function invokeEvent($evtName, $extParams= array ()) { $pluginCode= $this->pluginCache[$pluginName]; $pluginProperties= $this->pluginCache[$pluginName . "Props"]; } else { - $sql= "SELECT * FROM " . $this->getFullTableName("site_plugins") . " WHERE name='" . $pluginName . "' AND disabled=0;"; - $result= $this->dbQuery($sql); - if ($this->recordCount($result) == 1) { - $row= $this->fetchRow($result); + $sql= "SELECT `name`, `plugincode`, `properties` FROM " . $this->getFullTableName("site_plugins") . " WHERE `name`='" . $pluginName . "' AND `disabled`=0;"; + $result= $this->db->query($sql); + if ($this->db->getRecordCount($result) == 1) { + $row= $this->db->getRow($result); $pluginCode= $this->pluginCache[$row['name']]= $row['plugincode']; $pluginProperties= $this->pluginCache[$row['name'] . "Props"]= $row['properties']; } else { @@ -2455,10 +2500,10 @@ function getIntTableRows($fields= "*", $from= "", $where= "", $sort= "", $dir= " $limit= ($limit != "") ? "LIMIT $limit" : ""; $tbl= $this->getFullTableName($from); $sql= "SELECT $fields FROM $tbl $where $sort $limit;"; - $result= $this->dbQuery($sql); + $result= $this->db->query($sql); $resourceArray= array (); - for ($i= 0; $i < @ $this->recordCount($result); $i++) { - array_push($resourceArray, @ $this->fetchRow($result)); + for ($i= 0; $i < @ $this->db->getRecordCount($result); $i++) { + array_push($resourceArray, @ $this->db->getRow($result)); } return $resourceArray; } @@ -2480,7 +2525,7 @@ function putIntTableRow($fields= "", $into= "") { } $sql= rtrim($sql, ","); $sql .= ";"; - $result= $this->dbQuery($sql); + $result= $this->db->query($sql); return $result; } } @@ -2504,7 +2549,7 @@ function updIntTableRow($fields= "", $into= "", $where= "", $sort= "", $dir= "AS } $sql= rtrim($sql, ","); $sql .= " $where $sort $limit;"; - $result= $this->dbQuery($sql); + $result= $this->db->query($sql); return $result; } } @@ -2520,10 +2565,10 @@ function getExtTableRows($host= "", $user= "", $pass= "", $dbase= "", $fields= " $tbl= $dbase . "." . $from; $this->dbExtConnect($host, $user, $pass, $dbase); $sql= "SELECT $fields FROM $tbl $where $sort $limit;"; - $result= $this->dbQuery($sql); + $result= $this->db->query($sql); $resourceArray= array (); - for ($i= 0; $i < @ $this->recordCount($result); $i++) { - array_push($resourceArray, @ $this->fetchRow($result)); + for ($i= 0; $i < @ $this->db->getRecordCount($result); $i++) { + array_push($resourceArray, @ $this->db->getRow($result)); } return $resourceArray; } @@ -2546,7 +2591,7 @@ function putExtTableRow($host= "", $user= "", $pass= "", $dbase= "", $fields= "" } $sql= rtrim($sql, ","); $sql .= ";"; - $result= $this->dbQuery($sql); + $result= $this->db->query($sql); return $result; } } @@ -2571,7 +2616,7 @@ function updExtTableRow($host= "", $user= "", $pass= "", $dbase= "", $fields= "" } $sql= rtrim($sql, ","); $sql .= " $where $sort $limit;"; - $result= $this->dbQuery($sql); + $result= $this->db->query($sql); return $result; } } diff --git a/manager/includes/extenders/dbapi.mysql.class.inc.php b/manager/includes/extenders/dbapi.mysql.class.inc.php old mode 100644 new mode 100755 diff --git a/manager/includes/header.inc.php b/manager/includes/header.inc.php index f0831e2ecd..b400f07b3a 100755 --- a/manager/includes/header.inc.php +++ b/manager/includes/header.inc.php @@ -1,6 +1,10 @@ INCLUDE_ORDERING_ERROR


    Please use the MODx Content Manager instead of accessing this file directly."); $mxla = $modx_lang_attribute ? $modx_lang_attribute : 'en'; + +// invoke OnManagerRegClientStartupHTMLBlock event +$evtOut = $modx->invokeEvent('OnManagerMainFrameHeaderHTMLBlock'); +$onManagerMainFrameHeaderHTMLBlock = is_array($evtOut) ? '
    ' . implode('', $evtOut) . '
    ' : ''; ?> @@ -10,6 +14,9 @@ style.css" /> + + +