From b37dc87f3abb04a242366538bfdde174ec57747f Mon Sep 17 00:00:00 2001 From: Manuel Cillero Date: Wed, 26 Jul 2017 14:37:02 +0200 Subject: [PATCH] New module 'Lightbox2' --- sites/all/modules/lightbox2/LICENSE.txt | 274 +++ sites/all/modules/lightbox2/README.txt | 258 +++ .../modules/lightbox2/css/lightbox-rtl.css | 62 + sites/all/modules/lightbox2/css/lightbox.css | 284 +++ .../modules/lightbox2/css/lightbox_alt.css | 230 +++ .../lightbox2/css/lightbox_lite-rtl.css | 60 + .../modules/lightbox2/css/lightbox_lite.css | 60 + sites/all/modules/lightbox2/images/blank.gif | Bin 0 -> 43 bytes .../modules/lightbox2/images/brokenimage.jpg | Bin 0 -> 7033 bytes sites/all/modules/lightbox2/images/close.gif | Bin 0 -> 388 bytes .../modules/lightbox2/images/close_hover.gif | Bin 0 -> 308 bytes .../modules/lightbox2/images/close_lite.gif | Bin 0 -> 109 bytes .../modules/lightbox2/images/closelabel.gif | Bin 0 -> 979 bytes .../all/modules/lightbox2/images/contract.gif | Bin 0 -> 213 bytes sites/all/modules/lightbox2/images/expand.gif | Bin 0 -> 209 bytes .../all/modules/lightbox2/images/loading.gif | Bin 0 -> 2767 bytes .../modules/lightbox2/images/loading_lite.gif | Bin 0 -> 2364 bytes sites/all/modules/lightbox2/images/next.gif | Bin 0 -> 305 bytes .../all/modules/lightbox2/images/next_alt.gif | Bin 0 -> 297 bytes .../modules/lightbox2/images/next_hover.gif | Bin 0 -> 322 bytes .../modules/lightbox2/images/nextlabel.gif | Bin 0 -> 354 bytes .../all/modules/lightbox2/images/overlay.png | Bin 0 -> 279 bytes sites/all/modules/lightbox2/images/pause.png | Bin 0 -> 364 bytes sites/all/modules/lightbox2/images/play.png | Bin 0 -> 645 bytes sites/all/modules/lightbox2/images/prev.gif | Bin 0 -> 307 bytes .../all/modules/lightbox2/images/prev_alt.gif | Bin 0 -> 265 bytes .../modules/lightbox2/images/prev_hover.gif | Bin 0 -> 277 bytes .../modules/lightbox2/images/prevlabel.gif | Bin 0 -> 371 bytes .../lightbox2/js/auto_image_handling.js | 265 +++ sites/all/modules/lightbox2/js/lightbox.js | 1190 +++++++++++ sites/all/modules/lightbox2/js/lightbox2.js | 189 ++ .../all/modules/lightbox2/js/lightbox_lite.js | 389 ++++ .../modules/lightbox2/js/lightbox_modal.js | 33 + .../modules/lightbox2/js/lightbox_video.js | 206 ++ .../lightbox2/lightbox2-insert-image.tpl.php | 27 + .../all/modules/lightbox2/lightbox2.admin.inc | 970 +++++++++ .../modules/lightbox2/lightbox2.formatter.inc | 551 +++++ sites/all/modules/lightbox2/lightbox2.info | 11 + .../modules/lightbox2/lightbox2.insert.inc | 68 + sites/all/modules/lightbox2/lightbox2.install | 202 ++ sites/all/modules/lightbox2/lightbox2.module | 1365 +++++++++++++ .../all/modules/lightbox2/lightbox2.views.inc | 47 + .../lightbox2_handler_field_lightbox2.inc | 152 ++ .../lightbox2/page-node-lightbox2.tpl.php | 57 + .../all/modules/lightbox2/translations/de.po | 1311 ++++++++++++ .../all/modules/lightbox2/translations/fr.po | 1185 +++++++++++ .../all/modules/lightbox2/translations/hu.po | 1794 +++++++++++++++++ .../all/modules/lightbox2/translations/ja.po | 1370 +++++++++++++ .../translations/lightbox2-module.pot | 1014 ++++++++++ .../lightbox2/translations/lightbox2.pot | 1324 ++++++++++++ 50 files changed, 14948 insertions(+) create mode 100644 sites/all/modules/lightbox2/LICENSE.txt create mode 100644 sites/all/modules/lightbox2/README.txt create mode 100644 sites/all/modules/lightbox2/css/lightbox-rtl.css create mode 100644 sites/all/modules/lightbox2/css/lightbox.css create mode 100644 sites/all/modules/lightbox2/css/lightbox_alt.css create mode 100644 sites/all/modules/lightbox2/css/lightbox_lite-rtl.css create mode 100644 sites/all/modules/lightbox2/css/lightbox_lite.css create mode 100644 sites/all/modules/lightbox2/images/blank.gif create mode 100644 sites/all/modules/lightbox2/images/brokenimage.jpg create mode 100644 sites/all/modules/lightbox2/images/close.gif create mode 100644 sites/all/modules/lightbox2/images/close_hover.gif create mode 100644 sites/all/modules/lightbox2/images/close_lite.gif create mode 100644 sites/all/modules/lightbox2/images/closelabel.gif create mode 100644 sites/all/modules/lightbox2/images/contract.gif create mode 100644 sites/all/modules/lightbox2/images/expand.gif create mode 100644 sites/all/modules/lightbox2/images/loading.gif create mode 100644 sites/all/modules/lightbox2/images/loading_lite.gif create mode 100644 sites/all/modules/lightbox2/images/next.gif create mode 100644 sites/all/modules/lightbox2/images/next_alt.gif create mode 100644 sites/all/modules/lightbox2/images/next_hover.gif create mode 100644 sites/all/modules/lightbox2/images/nextlabel.gif create mode 100644 sites/all/modules/lightbox2/images/overlay.png create mode 100644 sites/all/modules/lightbox2/images/pause.png create mode 100644 sites/all/modules/lightbox2/images/play.png create mode 100644 sites/all/modules/lightbox2/images/prev.gif create mode 100644 sites/all/modules/lightbox2/images/prev_alt.gif create mode 100644 sites/all/modules/lightbox2/images/prev_hover.gif create mode 100644 sites/all/modules/lightbox2/images/prevlabel.gif create mode 100644 sites/all/modules/lightbox2/js/auto_image_handling.js create mode 100644 sites/all/modules/lightbox2/js/lightbox.js create mode 100644 sites/all/modules/lightbox2/js/lightbox2.js create mode 100644 sites/all/modules/lightbox2/js/lightbox_lite.js create mode 100644 sites/all/modules/lightbox2/js/lightbox_modal.js create mode 100644 sites/all/modules/lightbox2/js/lightbox_video.js create mode 100644 sites/all/modules/lightbox2/lightbox2-insert-image.tpl.php create mode 100644 sites/all/modules/lightbox2/lightbox2.admin.inc create mode 100644 sites/all/modules/lightbox2/lightbox2.formatter.inc create mode 100644 sites/all/modules/lightbox2/lightbox2.info create mode 100644 sites/all/modules/lightbox2/lightbox2.insert.inc create mode 100644 sites/all/modules/lightbox2/lightbox2.install create mode 100644 sites/all/modules/lightbox2/lightbox2.module create mode 100644 sites/all/modules/lightbox2/lightbox2.views.inc create mode 100644 sites/all/modules/lightbox2/lightbox2_handler_field_lightbox2.inc create mode 100644 sites/all/modules/lightbox2/page-node-lightbox2.tpl.php create mode 100644 sites/all/modules/lightbox2/translations/de.po create mode 100644 sites/all/modules/lightbox2/translations/fr.po create mode 100644 sites/all/modules/lightbox2/translations/hu.po create mode 100644 sites/all/modules/lightbox2/translations/ja.po create mode 100644 sites/all/modules/lightbox2/translations/lightbox2-module.pot create mode 100644 sites/all/modules/lightbox2/translations/lightbox2.pot diff --git a/sites/all/modules/lightbox2/LICENSE.txt b/sites/all/modules/lightbox2/LICENSE.txt new file mode 100644 index 0000000..2c095c8 --- /dev/null +++ b/sites/all/modules/lightbox2/LICENSE.txt @@ -0,0 +1,274 @@ +GNU GENERAL PUBLIC LICENSE + + Version 2, June 1991 + +Copyright (C) 1989, 1991 Free Software Foundation, Inc. 675 Mass Ave, +Cambridge, MA 02139, USA. Everyone is permitted to copy and distribute +verbatim copies of this license document, but changing it is not allowed. + + Preamble + +The licenses for most software are designed to take away your freedom to +share and change it. By contrast, the GNU General Public License is +intended to guarantee your freedom to share and change free software--to +make sure the software is free for all its users. This General Public License +applies to most of the Free Software Foundation's software and to any other +program whose authors commit to using it. (Some other Free Software +Foundation software is covered by the GNU Library General Public License +instead.) You can apply it to your programs, too. + +When we speak of free software, we are referring to freedom, not price. Our +General Public Licenses are designed to make sure that you have the +freedom to distribute copies of free software (and charge for this service if +you wish), that you receive source code or can get it if you want it, that you +can change the software or use pieces of it in new free programs; and that +you know you can do these things. + +To protect your rights, we need to make restrictions that forbid anyone to +deny you these rights or to ask you to surrender the rights. These restrictions +translate to certain responsibilities for you if you distribute copies of the +software, or if you modify it. + +For example, if you distribute copies of such a program, whether gratis or for +a fee, you must give the recipients all the rights that you have. You must make +sure that they, too, receive or can get the source code. And you must show +them these terms so they know their rights. + +We protect your rights with two steps: (1) copyright the software, and (2) +offer you this license which gives you legal permission to copy, distribute +and/or modify the software. + +Also, for each author's protection and ours, we want to make certain that +everyone understands that there is no warranty for this free software. If the +software is modified by someone else and passed on, we want its recipients +to know that what they have is not the original, so that any problems +introduced by others will not reflect on the original authors' reputations. + +Finally, any free program is threatened constantly by software patents. We +wish to avoid the danger that redistributors of a free program will individually +obtain patent licenses, in effect making the program proprietary. To prevent +this, we have made it clear that any patent must be licensed for everyone's +free use or not licensed at all. + +The precise terms and conditions for copying, distribution and modification +follow. + + GNU GENERAL PUBLIC LICENSE + TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND + MODIFICATION + +0. This License applies to any program or other work which contains a notice +placed by the copyright holder saying it may be distributed under the terms +of this General Public License. The "Program", below, refers to any such +program or work, and a "work based on the Program" means either the +Program or any derivative work under copyright law: that is to say, a work +containing the Program or a portion of it, either verbatim or with +modifications and/or translated into another language. (Hereinafter, translation +is included without limitation in the term "modification".) Each licensee is +addressed as "you". + +Activities other than copying, distribution and modification are not covered +by this License; they are outside its scope. The act of running the Program is +not restricted, and the output from the Program is covered only if its contents +constitute a work based on the Program (independent of having been made +by running the Program). Whether that is true depends on what the Program +does. + +1. You may copy and distribute verbatim copies of the Program's source +code as you receive it, in any medium, provided that you conspicuously and +appropriately publish on each copy an appropriate copyright notice and +disclaimer of warranty; keep intact all the notices that refer to this License +and to the absence of any warranty; and give any other recipients of the +Program a copy of this License along with the Program. + +You may charge a fee for the physical act of transferring a copy, and you +may at your option offer warranty protection in exchange for a fee. + +2. You may modify your copy or copies of the Program or any portion of it, +thus forming a work based on the Program, and copy and distribute such +modifications or work under the terms of Section 1 above, provided that you +also meet all of these conditions: + +a) You must cause the modified files to carry prominent notices stating that +you changed the files and the date of any change. + +b) You must cause any work that you distribute or publish, that in whole or in +part contains or is derived from the Program or any part thereof, to be +licensed as a whole at no charge to all third parties under the terms of this +License. + +c) If the modified program normally reads commands interactively when run, +you must cause it, when started running for such interactive use in the most +ordinary way, to print or display an announcement including an appropriate +copyright notice and a notice that there is no warranty (or else, saying that +you provide a warranty) and that users may redistribute the program under +these conditions, and telling the user how to view a copy of this License. +(Exception: if the Program itself is interactive but does not normally print such +an announcement, your work based on the Program is not required to print +an announcement.) + +These requirements apply to the modified work as a whole. If identifiable +sections of that work are not derived from the Program, and can be +reasonably considered independent and separate works in themselves, then +this License, and its terms, do not apply to those sections when you distribute +them as separate works. But when you distribute the same sections as part +of a whole which is a work based on the Program, the distribution of the +whole must be on the terms of this License, whose permissions for other +licensees extend to the entire whole, and thus to each and every part +regardless of who wrote it. + +Thus, it is not the intent of this section to claim rights or contest your rights to +work written entirely by you; rather, the intent is to exercise the right to +control the distribution of derivative or collective works based on the +Program. + +In addition, mere aggregation of another work not based on the Program +with the Program (or with a work based on the Program) on a volume of a +storage or distribution medium does not bring the other work under the scope +of this License. + +3. You may copy and distribute the Program (or a work based on it, under +Section 2) in object code or executable form under the terms of Sections 1 +and 2 above provided that you also do one of the following: + +a) Accompany it with the complete corresponding machine-readable source +code, which must be distributed under the terms of Sections 1 and 2 above +on a medium customarily used for software interchange; or, + +b) Accompany it with a written offer, valid for at least three years, to give +any third party, for a charge no more than your cost of physically performing +source distribution, a complete machine-readable copy of the corresponding +source code, to be distributed under the terms of Sections 1 and 2 above on +a medium customarily used for software interchange; or, + +c) Accompany it with the information you received as to the offer to distribute +corresponding source code. (This alternative is allowed only for +noncommercial distribution and only if you received the program in object +code or executable form with such an offer, in accord with Subsection b +above.) + +The source code for a work means the preferred form of the work for +making modifications to it. For an executable work, complete source code +means all the source code for all modules it contains, plus any associated +interface definition files, plus the scripts used to control compilation and +installation of the executable. However, as a special exception, the source +code distributed need not include anything that is normally distributed (in +either source or binary form) with the major components (compiler, kernel, +and so on) of the operating system on which the executable runs, unless that +component itself accompanies the executable. + +If distribution of executable or object code is made by offering access to +copy from a designated place, then offering equivalent access to copy the +source code from the same place counts as distribution of the source code, +even though third parties are not compelled to copy the source along with the +object code. + +4. You may not copy, modify, sublicense, or distribute the Program except as +expressly provided under this License. Any attempt otherwise to copy, +modify, sublicense or distribute the Program is void, and will automatically +terminate your rights under this License. However, parties who have received +copies, or rights, from you under this License will not have their licenses +terminated so long as such parties remain in full compliance. + +5. You are not required to accept this License, since you have not signed it. +However, nothing else grants you permission to modify or distribute the +Program or its derivative works. These actions are prohibited by law if you +do not accept this License. Therefore, by modifying or distributing the +Program (or any work based on the Program), you indicate your acceptance +of this License to do so, and all its terms and conditions for copying, +distributing or modifying the Program or works based on it. + +6. Each time you redistribute the Program (or any work based on the +Program), the recipient automatically receives a license from the original +licensor to copy, distribute or modify the Program subject to these terms and +conditions. You may not impose any further restrictions on the recipients' +exercise of the rights granted herein. You are not responsible for enforcing +compliance by third parties to this License. + +7. If, as a consequence of a court judgment or allegation of patent +infringement or for any other reason (not limited to patent issues), conditions +are imposed on you (whether by court order, agreement or otherwise) that +contradict the conditions of this License, they do not excuse you from the +conditions of this License. If you cannot distribute so as to satisfy +simultaneously your obligations under this License and any other pertinent +obligations, then as a consequence you may not distribute the Program at all. +For example, if a patent license would not permit royalty-free redistribution +of the Program by all those who receive copies directly or indirectly through +you, then the only way you could satisfy both it and this License would be to +refrain entirely from distribution of the Program. + +If any portion of this section is held invalid or unenforceable under any +particular circumstance, the balance of the section is intended to apply and +the section as a whole is intended to apply in other circumstances. + +It is not the purpose of this section to induce you to infringe any patents or +other property right claims or to contest validity of any such claims; this +section has the sole purpose of protecting the integrity of the free software +distribution system, which is implemented by public license practices. Many +people have made generous contributions to the wide range of software +distributed through that system in reliance on consistent application of that +system; it is up to the author/donor to decide if he or she is willing to +distribute software through any other system and a licensee cannot impose +that choice. + +This section is intended to make thoroughly clear what is believed to be a +consequence of the rest of this License. + +8. If the distribution and/or use of the Program is restricted in certain +countries either by patents or by copyrighted interfaces, the original copyright +holder who places the Program under this License may add an explicit +geographical distribution limitation excluding those countries, so that +distribution is permitted only in or among countries not thus excluded. In such +case, this License incorporates the limitation as if written in the body of this +License. + +9. The Free Software Foundation may publish revised and/or new versions +of the General Public License from time to time. Such new versions will be +similar in spirit to the present version, but may differ in detail to address new +problems or concerns. + +Each version is given a distinguishing version number. If the Program specifies +a version number of this License which applies to it and "any later version", +you have the option of following the terms and conditions either of that +version or of any later version published by the Free Software Foundation. If +the Program does not specify a version number of this License, you may +choose any version ever published by the Free Software Foundation. + +10. If you wish to incorporate parts of the Program into other free programs +whose distribution conditions are different, write to the author to ask for +permission. For software which is copyrighted by the Free Software +Foundation, write to the Free Software Foundation; we sometimes make +exceptions for this. Our decision will be guided by the two goals of +preserving the free status of all derivatives of our free software and of +promoting the sharing and reuse of software generally. + + NO WARRANTY + +11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, +THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT +PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE +STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR +OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT +WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, +INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES +OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND +PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE +PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL +NECESSARY SERVICING, REPAIR OR CORRECTION. + +12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR +AGREED TO IN WRITING WILL ANY COPYRIGHT HOLDER, OR +ANY OTHER PARTY WHO MAY MODIFY AND/OR +REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE +LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, +SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES +ARISING OUT OF THE USE OR INABILITY TO USE THE +PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA +OR DATA BEING RENDERED INACCURATE OR LOSSES +SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE +PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN +IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF +THE POSSIBILITY OF SUCH DAMAGES. + + END OF TERMS AND CONDITIONS diff --git a/sites/all/modules/lightbox2/README.txt b/sites/all/modules/lightbox2/README.txt new file mode 100644 index 0000000..99849cf --- /dev/null +++ b/sites/all/modules/lightbox2/README.txt @@ -0,0 +1,258 @@ +CONTENTS OF THIS FILE +---------------------- + + * Introduction + * Installation + * Adding Lightbox Functionality to your Images + - No Grouping + - With Grouping + - Slideshow + - Video + - HTML Content Support + - Inline Content Support + - Turning the Image Caption into a Link + * Keyboard Shortcuts + * Translation of Configured Strings + * Known Issues + - Keyboard Shortcuts in Opera + + +INTRODUCTION +------------ +Maintainers: + Stella Power (http://drupal.org/user/66894) + Daniel F. Kudwien (http://drupal.org/user/54136) + Mark Ashmead (http://drupal.org/user/52392) + +Documentation: http://drupal.org/node/144469 + +Licensed under the GNU/GPL License +Based on Lightbox v2.03.3 by Lokesh Dhakar + + +Originally written to make use of the Prototype framework, and Script.acalo.us, +now altered to use jQuery. + +Permission has been granted to Mark Ashmead & other Drupal Lightbox2 module +maintainers to distribute the original lightbox.js via Drupal.org under this +license scheme. This file has been subsequently modified to make use of jQuery +instead of prototype / script.acalo.us. + +This module enables the use of lightbox2 which places images above your +current page, not within. This frees you from the constraints of the layout, +particularly column widths. + +This module will include the lightbox CSS and JS files in your Drupal +Installation without the need to edit the theme. The module comes with a +Lightbox2 Lite option which does not use the jQuery libraries; it is therefore +less likely to conflict with anything else. + + +INSTALLATION +------------ +1. Copy lightbox2 folder to modules directory. +2. At admin/build/modules enable the lightbox2 module. +3. Enable permissions at admin/user/permissions. +4. Configure the module at admin/settings/lightbox2. +5. Modify your image links to open in a lightbox where necessary, see "Adding + Lightbox Functionality to your Images' section below. +6. If you need to play flv files, then you may need to install a FLV player. + There are a number of freely available ones on the Internet, including + http://www.jeroenwijering.com/ + + +ADDING LIGHTBOX FUNCTIONALITY TO YOUR IMAGES +-------------------------------------------- +No Grouping +=========== +Add rel="lightbox" attribute to any link tag to activate the lightbox. +For example: +image #1 +image #1 + +Optional: To show a caption either use the title attribute or put in the second +set of [] of the rel attribute. + +With Grouping +============== +If you have a set of related images that you would like to group, follow step +one but additionally include a group name between square brackets in the rel +attribute. For example: + +image #1 +image #2 +image #3 + +No limits to the number of image sets per page or how many images are allowed +in each set. Go nuts! + +If you have a set of images that you would like to group together in a +lightbox, but only wish for one of these images to be visible on your page, you +can assign the "lightbox_hide_image" class to hide the additional images. For +example: + +image #1 +image #2 +image #3 + +Slideshow +========= +This is very similar to the grouping functionality described above. The only +difference is that "rel" attribute should be set to "lightshow" instead of +"lightbox". Using the same example as above, we could launch the images in a +slideshow by doing: + +image #1 +image #2 +image #3 + +Video +===== +It's possible to show video content in the lightbox. In this case the "rel" +attribute should be set to "lightvideo". It's possible to group videos and +to control the size of the lightbox by setting the 'width' and 'height +properties. The properties can be configured like +"lightvideo[group|width:300px; height: 200px;]" and +"lightvideo[|width:300px; height: 200px;][my caption]". The properties should +all be of the format "property: value;" - note the closing semi-colon. If no +properties are set, then the default width and height of 400px will be used. +See below for more detailed examples. + +Basic example: +Google video example - default size + +Basic example with caption: +Google video example - default size + +Grouped example: +Grouped example 1 +Grouped example 2 + +Controlling lightbox size example: +Google video example - +custom size + +Supported Video Formats +asx, wmv, mov and swf videos should all be supported. A number of video +providers are also supported, for example YouTube and Google Video. For full +details on how to integrate these with lightbox, please see the online +documentation. + +HTML Content Support +==================== +It's possible to show webpage content in the lightbox, using iframes. In this +case the "rel" attribute should be set to "lightframe". Again it's possible to +group the content, (e.g. "lightframe[search]") but in addition to that, it's +possible to control some of the iframe properties. It's possible to set the +'width', 'height' and 'scrolling' properties of the iframe. The properties are +separated from the group name by a '|', for example +"lightframe[search|width:100px;]" and +"lightframe[search|width:100px;][my caption]". If no grouping is being used, +then the '|' is still used and the format would be "lightframe[|width:100px;]". +The properties should all be of the format "property: value;" - note the closing +semi-colon. If no iframe properties are set, then the default width and height +of 400px will be used. See below for more detailed examples. + +Basic example: +Search google + +Basic example with caption: +Search google + +Grouped example: +Search google +Search yahoo + +Controlling iframe property example: +Search google + +Controlling iframe property when grouped example: +Search google +Search yahoo +Search yahoo + +Inline Content Support +======================= +It's possible to show HTML snippets in the lightbox, that is on the same domain. +In this case the "rel" attribute should be set to "lightmodal". Again it's +possible to group the content, (e.g. "lightmodal[search]") but in addition to +that, it's possible to control some of the inline / modal properties. It's +possible to set the 'width', 'height' and 'scrolling' properties of the inline +content. The properties are separated from the group name by a '|', for example +"lightmodal[search|width:100px;]" and +"lightmodal[search|width:100px;][my caption]". If no grouping is being used, +then the '|' is still used and the format would be "lightmodal[|width:100px;]". +The properties should all be of the format "property: value;" - note the closing +semi-colon. If no properties are set, then the default width and height of +400px will be used. See below for more detailed examples. + +Basic example: +Search + +Basic example with caption: +Search + +Grouped example: +Search +Search published content + +Controlling modal property example: +Search + +Controlling modal property when grouped example: +Search +Search published content +Search unpublished content + + + +Turning the Image Caption into a Link +===================================== +If you wish to turn the caption into a link, format your caption in the +following way: + +image #1 + +Note, the < and > characters have been changed to their HTML entities, and the " +have been escaped. + + +KEYBOARD SHORTCUTS +------------------ +Not all of the default keyboard shortcuts work in the Opera browser, for example +'z' for toggling the zoom and 'spacebar' for toggling play / pause in +slideshows. This can be overcome by updating your shortcut settings in the +Opera preferences editor. + +The default keyboard shortcuts are listed below. You can override these on +admin/settings/lightbox2. + +Close : x, o, c, ESC +Previous Image : p, Left Arrow +Next Image : n, Right Arrow +Toggle Zoom : z (not available in slideshow) +Toggle Play / Pause : Spacebar (slideshow only) + + +TRANSLATION OF CONFIGURED STRINGS +---------------------------------- +In order to translate the lightbox2 configuration strings, such as the text for +the "View Image Details" link and the image count, please install the i18n: +internationalization module and follow the instructions at +http://drupal.org/node/134002. + + +KNOWN ISSUES +------------ + +Keyboard Shortcuts in Opera +--------------------------- +Not all of the default keyboard shortcuts work in the Opera browser, for example +'z' for toggling the zoom and 'spacebar' for toggling play / pause in +slideshows. This can be overcome by updating your shortcut settings in the +Opera preferences editor. diff --git a/sites/all/modules/lightbox2/css/lightbox-rtl.css b/sites/all/modules/lightbox2/css/lightbox-rtl.css new file mode 100644 index 0000000..46cf2d0 --- /dev/null +++ b/sites/all/modules/lightbox2/css/lightbox-rtl.css @@ -0,0 +1,62 @@ +/* $Id: lightbox-rtl.css,v 1.1.2.18 2010/06/07 14:43:02 snpower Exp $ */ + +#imageData #imageDetails { + float: right; + text-align: right; +} + +/* Image location mod */ +#bottomNavClose { + float: left; +} + +#bottomNavZoom, +#bottomNavZoomOut { + left: -30px; + float: left; +} + +#lightshowPlay, +#lightshowPause { + float: left; + margin-right: 0px; + margin-left: 5px; +} + +#prevLink, #nextLink { + width: 49%; + height: 100%; + background: transparent url(../images/blank.gif) no-repeat; /* Trick IE into showing hover */ + display: block; +} + +#prevLink, #framePrevLink { + left: auto; + right: 0; + float: right; +} + +#nextLink, #frameNextLink { + right: auto; + left: 0; + float: left; +} + +#prevLink:hover, #prevLink:visited:hover, #prevLink.force_show_nav, #framePrevLink { + background: url(../images/next.gif) right 15% no-repeat; +} + +#nextLink:hover, #nextLink:visited:hover, #nextLink.force_show_nav, #frameNextLink { + background: url(../images/prev.gif) left 15% no-repeat; +} + +#prevLink:hover.force_show_nav, #prevLink:visited:hover.force_show_nav, +#framePrevLink:hover, #framePrevLink:visited:hover { + background: url(../images/next_hover.gif) right 15% no-repeat; +} + +#nextLink:hover.force_show_nav, #nextLink:visited:hover.force_show_nav, +#frameNextLink:hover, #frameNextLink:visited:hover { + background: url(../images/prev_hover.gif) left 15% no-repeat; +} + diff --git a/sites/all/modules/lightbox2/css/lightbox.css b/sites/all/modules/lightbox2/css/lightbox.css new file mode 100644 index 0000000..35bec6b --- /dev/null +++ b/sites/all/modules/lightbox2/css/lightbox.css @@ -0,0 +1,284 @@ +/* $Id: lightbox.css,v 1.1.4.28 2010/09/22 10:47:15 snpower Exp $ */ +#lightbox { + position: absolute; + top: 40px; + left: 0; + width: 100%; + z-index: 100; + text-align: center; + line-height: 0; +} + +#lightbox a img { + border: none; +} + +#outerImageContainer { + position: relative; + background-color: #fff; + width: 250px; + height: 250px; + margin: 0 auto; + min-width: 240px; + overflow: hidden; +} + +#imageContainer, #frameContainer, #modalContainer { + padding: 10px; +} + +#modalContainer { + line-height: 1em; + overflow: auto; +} + +#loading { + height: 25%; + width: 100%; + text-align: center; + line-height: 0; + position: absolute; + top: 40%; + left: 45%; + *left: 0%; +} + +#hoverNav { + position: absolute; + top: 0; + left: 0; + height: 100%; + width: 100%; + z-index: 10; +} + +#imageContainer>#hoverNav { + left: 0; +} + +#frameHoverNav { + z-index: 10; + margin-left: auto; + margin-right: auto; + width: 20%; + position: absolute; + bottom: 0px; + height: 45px; +} + +#imageData>#frameHoverNav { + left: 0; +} + +#hoverNav a, #frameHoverNav a { + outline: none; +} + +#prevLink, #nextLink { + width: 49%; + height: 100%; + background: transparent url(../images/blank.gif) no-repeat; /* Trick IE into showing hover */ + display: block; +} + +#prevLink, #framePrevLink { + left: 0; + float: left; +} + +#nextLink, #frameNextLink { + right: 0; + float: right; +} + +#prevLink:hover, #prevLink:visited:hover, #prevLink.force_show_nav, #framePrevLink { + background: url(../images/prev.gif) left 15% no-repeat; +} + +#nextLink:hover, #nextLink:visited:hover, #nextLink.force_show_nav, #frameNextLink { + background: url(../images/next.gif) right 15% no-repeat; +} + +#prevLink:hover.force_show_nav, #prevLink:visited:hover.force_show_nav, +#framePrevLink:hover, #framePrevLink:visited:hover { + background: url(../images/prev_hover.gif) left 15% no-repeat; +} + +#nextLink:hover.force_show_nav, #nextLink:visited:hover.force_show_nav, +#frameNextLink:hover, #frameNextLink:visited:hover { + background: url(../images/next_hover.gif) right 15% no-repeat; +} + +#framePrevLink, #frameNextLink { + width: 45px; + height: 45px; + display: block; + position: absolute; + bottom: 0px; +} + +#imageDataContainer { + font: 10px Verdana, Helvetica, sans-serif; + background-color: #fff; + margin: 0 auto; + line-height: 1.4em; + min-width: 240px; +} + +#imageData { + padding: 0 10px; +} + +#imageData #imageDetails { + width: 70%; + float: left; + text-align: left; +} + +#imageData #caption { + font-weight: bold; +} + +#imageData #numberDisplay { + display: block; + clear: left; + padding-bottom: 1.0em; +} + +#imageData #lightbox2-node-link-text { + display: block; + padding-bottom: 1.0em; +} + +#imageData #bottomNav { + height: 66px; +} +.lightbox2-alt-layout #imageData #bottomNav, +.lightbox2-alt-layout-data #bottomNav { + margin-bottom: 60px; +} + +#lightbox2-overlay { + position: absolute; + top: 0; + left: 0; + z-index: 90; + width: 100%; + height: 500px; + background-color: #000; +} + +#overlay_default { + opacity: 0.6; +} + +#overlay_macff2 { + background: transparent url(../images/overlay.png) repeat; +} + +.clearfix:after { + content: "."; + display: block; + height: 0; + clear: both; + visibility: hidden; +} + +* html>body .clearfix { + display: inline; + width: 100%; +} + +* html .clearfix { + /* Hides from IE-mac \*/ + height: 1%; + /* End hide from IE-mac */ +} + + +/* Image location mod */ +#bottomNavClose { + display: block; + background: url(../images/close.gif) left no-repeat; + margin-top: 33px; + float: right; + padding-top: 0.7em; + height: 26px; + width: 26px; +} + +#bottomNavClose:hover { + background-position: right; +} + +#loadingLink { + display: block; + background: url(../images/loading.gif) no-repeat; + width: 32px; + height: 32px; +} + +#bottomNavZoom { + display: none; + background: url(../images/expand.gif) no-repeat; + width: 34px; + height: 34px; + position: relative; + left: 30px; + float: right; +} + +#bottomNavZoomOut { + display: none; + background: url(../images/contract.gif) no-repeat; + width: 34px; + height: 34px; + position: relative; + left: 30px; + float: right; +} + +#lightshowPlay { + margin-top: 42px; + float: right; + margin-right: 5px; + margin-bottom: 1px; + height: 20px; + width: 20px; + background: url(../images/play.png) no-repeat; +} + +#lightshowPause { + margin-top: 42px; + float: right; + margin-right: 5px; + margin-bottom: 1px; + height: 20px; + width: 20px; + background: url(../images/pause.png) no-repeat; +} + +.lightbox2-alt-layout-data #bottomNavClose, +.lightbox2-alt-layout #bottomNavClose { + margin-top: 93px; +} +.lightbox2-alt-layout-data #bottomNavZoom, +.lightbox2-alt-layout-data #bottomNavZoomOut, +.lightbox2-alt-layout #bottomNavZoom, +.lightbox2-alt-layout #bottomNavZoomOut { + margin-top: 93px; +} +.lightbox2-alt-layout-data #lightshowPlay, +.lightbox2-alt-layout-data #lightshowPause, +.lightbox2-alt-layout #lightshowPlay, +.lightbox2-alt-layout #lightshowPause { + margin-top: 102px; +} + +.lightbox_hide_image { + display: none; +} + +#lightboxImage { + -ms-interpolation-mode: bicubic; +} diff --git a/sites/all/modules/lightbox2/css/lightbox_alt.css b/sites/all/modules/lightbox2/css/lightbox_alt.css new file mode 100644 index 0000000..dc0cb58 --- /dev/null +++ b/sites/all/modules/lightbox2/css/lightbox_alt.css @@ -0,0 +1,230 @@ +/* $Id: lightbox_alt.css,v 1.1.4.22 2010/09/22 10:47:15 snpower Exp $ */ +/** + * Based on a design created by Nicolas Borda: + * http://www.ipwa.net/assets/myslimbox/ + */ + +#lightbox { + position: absolute; + top: 40px; + left: 0; + width: 100%; + z-index: 100; + text-align: center; + line-height: 0; +} + +#lightbox a img { + border: none; +} + +#outerImageContainer { + position: relative; + background-color: #fff; + width: 250px; + height: 250px; + margin: 0 auto; + min-width: 240px; + overflow: hidden; +} + +#imageContainer, #frameContainer, #modalContainer { + padding: 10px; +} + +#modalContainer { + line-height: 1em; + overflow: auto; +} + +#loading { + height: 25%; + width: 100%; + text-align: center; + line-height: 0; + position: absolute; + top: 40%; + left: 45%; + *left: 0%; +} + +#hoverNav { + z-index: 10; +} + +#imageData>#hoverNav { + left: 0; +} + +#hoverNav a { + outline: none; +} + +#prevLink, #nextLink { + width: 45px; + height: 45px; + display: block; +} + +#prevLink { + left: 0; + float: left; + background: url(../images/prev_alt.gif) left 15% no-repeat; +} + +#nextLink { + right: 0; + float: right; + background: url(../images/next_alt.gif) right 15% no-repeat; +} + +#prevLink:hover, #prevLink:visited:hover { + background-position: right 15%; +} + +#nextLink:hover, #nextLink:visited:hover { + background-position: left 15%; +} + +#imageDataContainer { + font: 10px Verdana, Helvetica, sans-serif; + background-color: #fff; + margin: 0 auto; + line-height: 1.4em; + min-width: 240px; +} + +#imageData { + padding: 0 10px; +} + +#imageData #imageDetails { + width: 70%; + margin-right: auto; + margin-left: auto; + text-align: center; +} + +#imageData #caption { + font-weight: bold; +} + +#imageData #numberDisplay { + display: block; + padding-bottom: 1.0em; +} + +#imageData #lightbox2-node-link-text { + display: block; + padding-bottom: 1.0em; +} + +#lightbox2-overlay { + position: absolute; + top: 0; + left: 0; + z-index: 90; + width: 100%; + height: 500px; + background-color: #000; +} + +#overlay_default { + opacity: 0.6; +} + +#overlay_macff2 { + background: transparent url(../images/overlay.png) repeat; +} + + +.clearfix:after { + content: "."; + display: block; + height: 0; + clear: both; + visibility: hidden; +} + +* html>body .clearfix { + display: inline; + width: 100%; +} + +* html .clearfix { + /* Hides from IE-mac \*/ + height: 1%; + /* End hide from IE-mac */ +} + + +/* Image location mod */ +#bottomNavClose { + display: block; + z-index: 200; + background: url(../images/close.gif) left no-repeat; + position: absolute; + top: 0px; + right: 0px; + height: 26px; + width: 26px; +} + +#bottomNavClose:hover { + background-position: right; +} + +#loadingLink { + display: block; + background: url(../images/loading.gif) no-repeat; + width: 32px; + height: 32px; +} + +#bottomNavZoom { + display: block; + background: url(../images/expand.gif) no-repeat; + width: 34px; + height: 34px; + position: absolute; + bottom: 25px; + right: 5px; +} + +#bottomNavZoomOut { + display: block; + background: url(../images/contract.gif) no-repeat; + width: 34px; + height: 34px; + position: absolute; + bottom: 25px; + right: 5px; +} + +#lightshowPlay { + background: url(../images/play.png) no-repeat; + display: block; + margin-right: auto; + margin-left: auto; + margin-bottom: 5px; + height: 20px; + width: 20px; +} + +#lightshowPause { + background: url(../images/pause.png) no-repeat; + display: block; + margin-right: auto; + margin-left: auto; + margin-bottom: 5px; + height: 20px; + width: 20px; +} + +.lightbox_hide_image { + display: none; +} + +#lightboxImage { + -ms-interpolation-mode: bicubic; +} diff --git a/sites/all/modules/lightbox2/css/lightbox_lite-rtl.css b/sites/all/modules/lightbox2/css/lightbox_lite-rtl.css new file mode 100644 index 0000000..9978dd8 --- /dev/null +++ b/sites/all/modules/lightbox2/css/lightbox_lite-rtl.css @@ -0,0 +1,60 @@ +/* $Id: lightbox_lite-rtl.css,v 1.1.2.6 2010/06/07 14:54:30 snpower Exp $ */ +#lightbox { + background-color: #eee; + padding: 10px; + border-bottom: 2px solid #666; + border-right: 2px solid #666; + min-width: 240px; +} + +#lightboxDetails { + font-size: 1.2em; + padding-top: 0.6em; + min-width: 240px; +} + +#lightboxCaption { + float: right; + font: 0.9em black; +} + +#keyboardMsg { + float: left; + font: 0.9em black; +} + +#closeButton { + top: 5px; + right: 5px; + width: 20px; + height: 20px; + position: absolute; + z-index: 200; + background: url(../images/close_lite.gif) no-repeat; +} + +#loadingImage { + position: absolute; + top: 30%; + left: 45%; + height: 25%; + width: 100%; + text-align: center; + line-height: 0; + background: url(../images/loading_lite.gif) no-repeat; + width: 126px; + height: 22px; + z-index: 150; +} + +#lightbox img { + border: none; + clear: both; +} + +#lightbox2-overlay { + background-color: #333; + opacity: 0.6; + filter:alpha(opacity=60); +} + diff --git a/sites/all/modules/lightbox2/css/lightbox_lite.css b/sites/all/modules/lightbox2/css/lightbox_lite.css new file mode 100644 index 0000000..7689032 --- /dev/null +++ b/sites/all/modules/lightbox2/css/lightbox_lite.css @@ -0,0 +1,60 @@ +/* $Id: lightbox_lite.css,v 1.1.4.11 2010/06/07 14:54:30 snpower Exp $ */ +#lightbox { + background-color: #eee; + padding: 10px; + border-bottom: 2px solid #666; + border-right: 2px solid #666; + min-width: 240px; +} + +#lightboxDetails { + font-size: 1.2em; + padding-top: 0.6em; + min-width: 240px; +} + +#lightboxCaption { + float: left; + font: 0.9em black; +} + +#keyboardMsg { + float: right; + font: 0.9em black; +} + +#closeButton { + top: 5px; + right: 5px; + width: 20px; + height: 20px; + position: absolute; + z-index: 200; + background: url(../images/close_lite.gif) no-repeat; +} + +#loadingImage { + position: absolute; + top: 30%; + left: 45%; + height: 25%; + width: 100%; + text-align: center; + line-height: 0; + background: url(../images/loading_lite.gif) no-repeat; + width: 126px; + height: 22px; + z-index: 150; +} + +#lightbox img { + border: none; + clear: both; +} + +#lightbox2-overlay { + background-color: #333; + opacity: 0.6; + filter:alpha(opacity=60); +} + diff --git a/sites/all/modules/lightbox2/images/blank.gif b/sites/all/modules/lightbox2/images/blank.gif new file mode 100644 index 0000000000000000000000000000000000000000..1d11fa9ada9e93505b3d736acb204083f45d5fbf GIT binary patch literal 43 scmZ?wbhEHbWMp7uX!y@?;J^U}1_s5SEQ~;kK?g*DWEhy3To@Uw0n;G|I{*Lx literal 0 HcmV?d00001 diff --git a/sites/all/modules/lightbox2/images/brokenimage.jpg b/sites/all/modules/lightbox2/images/brokenimage.jpg new file mode 100644 index 0000000000000000000000000000000000000000..1cd4dca3debff0a7b52179dc50548c7f84e2e31e GIT binary patch literal 7033 zcmbVQbyyVdx1U`WmPS%)sRfrtkP@Us8l(gi2`L4Hl}_oBkfl)&=`KN}1!)zP&LtOV z=~~IVeB&4Q{{Fc4zH`p=%rkT5edlw|ne(2{T#R4L0aw(O)sz7c2n0OB9l*srnURv0 z-D3dI(gJt^03gIE0FVP_sLSj-HGEx!}QU)q&3K|$AD+`Q~nVF4K5W&X54`*iPmf+#PE-Wf4%8IxtBPnuA z@P??! zq5m~NU_1yu0hEx4m;`6=;R*l-;o*THc=-4b9CVN$?mhsa#HV5xRv@6(wSaOs(})Dc zXA{D2SGCdV4QzAXuyhF~BBr}a&%nra4Z+RBD=H=~A$e0u@s5(RimIBr{yhUjqx%nx zt*mVxKe4s5cXf03@bvQb2?-4gk9ZLom5`W}oRa$Lby`ktUVcGgQE^H2`tGb9vK}QpO~D-Ec{$tT3%UQ+u7aQKR7(X{yx6M1p@H?g!K<({|y%< z4i^{#!Gl0Aae=^|IK`uc;Ij)8P$}p_Eu5)2M1lxuZpUX=wGqK@=xx(lx(pE0af;4! z?Oa0p1KIx$Sn&S~**}2&6W1g_iU-04504U%1CEZla{`I~R$iv2dVWWn#>QlhU@jrf zSSMN)J+0>(3qmoB1-TeP^NzhQc7+ofjk4E~6k0#z8kL<|BbT$F1N%l?b8@h8uQByK zOEh^lA$V!{?Y#@Y%cuC@l+3*b&{d-OA9_#1)9F51&DE7x38HSM#yo$IJTFbKBD=aa zVQJ}J6k$?xg0zLf<@#eg2#iusbOl;-h*5Rlc6QP1rAtTd_5FQT+~Rot@Ke?L9lwbo zw;@iSThDeYl^c-XI)(-UsQd2v_bR@0Oy5uxsqcnv`^l_nA=K$guD!w&UXg3M0LIF1 ze{yHjfl5E|F7Z+^2|sW5i1LcHigR<{%=3iSR~9rAEi_Ruu9`VKv}k<+a<$jy_ERaz zG;ePvUYg{q*VKzCUhxfC<0JlhbZ+9n=!o>u4Z?+e~)MS(Qo^)15-oVzb)_fGmL#e#P_K>-J+U^YS?Dt2EgJij$t7UeL zITqNxymUq&fuhMfIq!(VtW#|n$?>;jh$VNb8OkHq&H!^C71RkYErMWIq37&|`A$XR zCx0Nb%ay6O+smyUO}en9K0OjpoJDSTZN%Ldb!|cr5w{;TO(YjrZhH>HHoDD-+6BtZ zy6OL>PCLG;F|dC|H{j^Du3C0vo3{06pyWCI7^%mXXpq49#3Yh1~6GD>Jl)RJ5lt*O-*m`aUsjE zOqb<3RchKH$d-+?zE(RV@RNr_l6SB1ZJAUch0>|^J4gUk3zs&gH)XJ<)@$Dj&FnPB zPcZ{OX$jepo!U&!Co!P@0nLaB^kKUI7?CdvIEBlxt} zBKL3q@r(+aGV=o-(e#Q)vm55oB!-?GLL4X%(VvJkb?wN*MM5R7t$qD2&&&Ve5A_AD!798 z`DYcZjaAo7As|4qv0>P9&#L*vx@>Us(T<=35a)E0)1Q{&FmKh4Mgy)K%9?bO_ohsw zZ1=mu1PyfVv&STS&bvF!zaFp#2gNW&P-(pzXCf{lw9(F-{ryxO4;B(Y28~*p=Tiv+A@V2|fzwtxVCLT>` zoDa*~aa8+|yOv73)Ulb}k+dMYj0*2sKv;y6A2;4FAHKKS=209w0TJvYR&@ykmU^mF z%utv|CWhq#7;R((_`aPZo{L0x(QTC2*~YI6SHiOzbWagym5NxFP9GZ@&`x>suVaIu zNz?8X%BW`K^?`S{cFy>+-jGD|K&-DPh|t9Trd@BPKBw=(*fJRm#=}S9=C6H7l3}P5 zvxse(syRc6p;aSoJCE3?Sc3(N@Rvc$s3mT^EUbZlt*rD1BWc4Wi4eqa3~EHaVh=OV zF6u%^F9AiIja0HUQQ1wVnHqoAU!qpvV2QX%f6Tb{Tm!SAfq@)*B->a8gEIw`A1w0i zF(2yo&3`!rej){p=gM?LYCO)5I7f5jYZ;BbAJwFCHTU#v7myG9(!jd_K(y=UOjy%g zJ0G`zNuB84!zGoOHry8CE)Ne{pDDve%+I73tzu+ExXY06FEJ&jc_$Y@rnWk;D^aH} z(^VN)O4f2Vc;HaPM&qq&Y2*)yN| zLhxEFnfjq*IW+?xkL#x%yu#f|gP}5knhYsEX`2ZMUr^%j1Y5jBY^8sSKcpcvzGd_N zyzT`6o(fPBTVP>ErAJCT<({4!)a^)gMPg*!9m{6@!cz3aVVtf2ctnd7z`!3j+l5 z^XSB@j3+ze+NeTfMd^v57W%qM01ZxQmsqJ==zB1>tcHW}R+ovO0$xkErLdHd zjRLS`si7ZVVs7~|2QxSgNY3q?c9{&gXQ;F{wwphwj+AdBmEe5ggUar)KSD)b0Hjts z{6eLx!eu_4PxlHHT%dnVB^wZK{{HKsRH#4|eJMPc<=WP!Oc&rA8?^IKekAu!OX7*t z%C;d=C-cebZ%iZhgP*w9QAd%nYU|8{B-FCGm_`;ISmVLSKm(|?(?CCa7Vo@RyJcRU zRoUKOe0wR8N$f|t!+nYaXSr8B+a_ZP*gj0yOe;;A|0~p!M^n<&Ctp;ud!|`BDl6@O z=JX3roi0iCG<-SZ855pdgX~Ji?h?s4!(~!3Zl1NMYlBkvoSg1N;bmF^1K=QwMeYms0QU9XNO_+!d!c#Sp zwc|VXX^lcZLW2Hu;a2}4eAqUN;-%Z!ZBvo?a%B97K~&>)_FUv?fUv1Zbz`_5aeSPL z&w)@BD=B=3S*Xl*r^J4x!K(-Sle}l(jKV*niUpq_+p{3D`~h)wLOv(GaIN>ku?|6Z zX-Rp`s~ol;Drb9_eNRAyIeA6%6TidtEfE0@#M#e}j2`D}7l1x`U2S`Peq{Eg&^g+7 zNh$Bn1@JL7S95mCe9hNrNZe3-(mhGsBQ8&TyGV6GAuvk^WMku4_@K+qj#%*-@t=8T zU-cily~_^J2!z=RW0Z?JC^gl}D7PV(9a|JSea`mFk11<<6>Air1Q=CS)ebpiSHBNq zuMNAc!bpk_F8eEqFBADv11=^m&Vj3nE;bf!Hr8yOc5b$8_iSz0RMfO|{@_XYco1Ae zj%&vu`1m*mLVC%VpcEt|M5L4yR8*7{l$6wT%vY&t7-=af>DlQSVK7!!R_d!9oE$8i z%q*-dfAA#Sqfi1UIUylA3k@X=%l~=&XPyMZkvT9JM=AbhNdQ1V2!Vp|iNJU`x^e3Y z@E1uUz{kVCG`eIP06rxFJCsUTfsk64LqyLah=vw^+d19^$0!DFRL^r-S_LO;DWB~xeJ3tUB2@Y+H%?-59L4JbiP24C;4 zh*#XOXU0?7X-ctm)3g!zH&iXHm?B&G@R0%}Fl7AaR;*5QP5HA=vHTNW*@dzLtO;C8 zBJ!C)>7>J{9X4GCg^ci-pdr>v`ZwunoMNBc*qRcgVth#@ZSTCCp`*^E%D|b}ZzQ3% zBam{mN&Qodk<(*%p-<{vl6auVJ+&3y7ufg(hZ&Bk1-kHUW3mlm+96lzBm&w{QuT}!sOVu<8f@*7?N zE`a>w=j%sjC>n}19|siWMK?!e|%{oq3B>(m69 z2;FI7SQ`^f=C=Kb6JIo)8Mj^4HQ_rCJFSCcK}I!`EuyEYe_$>+lGNR#q-D8%JFX(s zUG0EX>cs@oCpto^QDCiC*g5}Q#bZ4JEep7m)>MBJnHbuu#+66y9N{E_qI~g?e4gi6nKtt#9Tc`sNe)1rW8Ts(Z{MKQc0S zjO-~8D5|^f7@wuAIxT>3&otmGL48a6b=rN}$M;S9bhH$AKM$yaPtU6cDWHQtb6$`d1x zZM8!68CPMr)Zlrb&x?&HA;-!oesqw+=TXPEntI$-ciYEdc@o7CKD_XwJ}W7k&AKSD zAM}7$>6ZS^+vPGLz5TF!k@8VOp_Ez2&XnntHF6?ngj*hEHATT)EFecg)%@&rCtvXX zO!{Sx2wFMhyN;6g>a0<27p{4Jx{|^7NRyy*B9cIj0ob< zeU_J-X=)nm_3(~Xo95?7oohkFyBt%?5B8-sZD<-?Qc~i|p7cIztXfG5_D^;bgRKp8 zz{G6pIs!H65{xypGVKJ!-xT}j?awwQi70!AA-6-wicQQZBtgOgl`XSh?qs*F%$Jv9 zzJW9NiS@F-U!RNFWOC@&tYkL)aD7T?(ouq`KA}b4n8=RjCL7pL#jVK4+OkyUeB-*w z6LTxS{ODJWYQ{gkqcy7HXcFSo4FX;A!FPQgF&lEXY9J>&AJ00c3={E?bJtRcggfOp zj}I$99TfDWRrnBGBgAtk6Su;Y%r^jMn6-#WBdVmvmivz#uA5~j=<6(qPg+xbT#_Xq zDU}2e#duj?5Ym?3^JWI`wbt$EpbG_B?Z5g-zo|}C3h)`niQM>_MX*q;dThUPm@Y~J zr-IKAHe4kUi7V*4Hg`oYdqgI7R`|^@I?$ncjEP^Xu`2+vcJ9 zMKvdaob!T+nV-5xLn|sPo{)QkLB>}*m%$59Ki{>N5g*dD_h33qtk#vm+vVOT>HcEW zzY#1k!hNf`+Vq;;Nl0yPx{zqflt6QDB)bDYGc0xiT2!1j_qsN9@N4kk9xox!O(@*H z+8^O{mDNE$$`Oy~&OT_f^qmt~LS;4@qMr^MwF#cvs9x&*&Q(Y9Oa!C) zkOT^~s&8A9`v~c6FQ0BQqMsArZJ>0r826SfVgABuzz$!37}C|I_h5)uJ=oho3|EN> z`n7kz8)`I~zqco-5FZ;J!(6+kf|gx{vW4uzj}6-~=9KPGdYke6k%GRjSywa&RrO{P zbi+#JlB<%f7B^Vqo<59OzE&*!ig>qs9Q#A9Z?Bj{n5kxU^fbbOrvpLyJO3hr5Tg6Uk;ho*Ht^PZXP(A8>Ofo2Re~Qz3Zg{UF zxf*i;TyZc05v%8R-l-HmS6s}_nH-EW7~<*@Lbj^^Dtk^kM$L5tSGhec#Xhu{*>I@8 z)&2Bo@vd;(jhF?7V}ln%qtX6vtCVZd=-uqjXUVs|emUUPmFd&773+ywe{VQLt{s&R zY_n~HTe~9iTBwr*(K+l2sNrM zJNdi}R{2allOt$CkWnr1%!#H$y+T;$+$-pZTe z^=vNhoO4>~@HiE>*TH%#62rdVm#z(2-QlZKXw}XnXQr)p=3PHp{3XY#+2bj6OO52! zJ5NXG5XJ}@;-A_*fDE&%?WslQyr*M++~H6?=&ctT8%Rvvm8|{~)z$05M z$rJ-CnZv%F(_qBhNXyj}K})?(^5?T6(%cWK)_yd{gzvfHOR1SH%dYCt=l5dHu8s!% zvOXcz3iqWn#<1iBPuj9xkwWOaLrX+_51#YTce(ojaXtog%SETunrNvME>^QdKd-$t zar(XYcEl!`E{~6bhN=%*jJ&ogDMCh0ceHVF_339rh&A65Gp>>}Gp0sKk!XwLPl?HV z)KKk9g!S)5EPjp2oTYtO-`5lUwj%Zbb+`JU+{`>@>#tJBg=%=bEN3ZBHnrbw3Kp6anamX_Dwp*o*Wnv##GWQUcF9Z;?V>MSiG z>kprHq~cfH(rEHK@TKS;5}xkuqq@Ds4?`>LW0TRfXR^<4ZksK1_V&z5RLY8{#cnOM zsF9@L;`;u4(PQJIxwKd{+1oLeF^8ycs=Dc9)xB!%m(f%B{uWIz;DBnRAMalYEW28r5j2(z_hD&b*{5 zD)7^A4tx6I4~M<$P+L@|k^=ZdlCt#vT@2GP%MsIjon#O2bS3vvzVNvDEg!m394`fq zvxfOWfOy=AmCpGNQygulZ#Oc9$KJ(sA{j$mVLntmL{tLH% B#A5&e literal 0 HcmV?d00001 diff --git a/sites/all/modules/lightbox2/images/close.gif b/sites/all/modules/lightbox2/images/close.gif new file mode 100644 index 0000000000000000000000000000000000000000..1a98c048653db82102bfd3f76f70b78a12a1ea68 GIT binary patch literal 388 zcmZ?wbhEHbG+~fpIKlt||NsAAvu4ebB}-<^n9<$c-O|!hTwI)=pP!kTnVg&)7Z(>D z9UT=F6%i2;5)u*^7zk7k)<+bf_>+Z^fkBW#2c#NgCj;yM1eLy&%y}8B*5$n3S1?EI z%|S7pjam~Ht4(NMm0-Zry_x;-Lu*D!zK5L=CVs2Kf){SjnIzQj_PEi3bHh!+tt*@* zt9Xw;l1_6twUTkx7PBqE`8!CSCywjJ9oj*{4>B;$)`H>3FT{51VmYkfd<^&86YXG!_hFMt7 z?)3EZ`1ttz{QQfHi(VJQm6l;!3q GApkq#UySVl literal 0 HcmV?d00001 diff --git a/sites/all/modules/lightbox2/images/close_lite.gif b/sites/all/modules/lightbox2/images/close_lite.gif new file mode 100644 index 0000000000000000000000000000000000000000..773013bbe3e05afb8c44830003f8b590a6240415 GIT binary patch literal 109 zcmZ?wbhEHb6k!lyn8?g9efo3<2Zwj>-u?RZRq-baBLf37gAM}_faDpN?B?{ZJpGnG zS$NB>+3U9LY${-7xEgpca_)kFSu3Kp>d7ce$I8#@dgk`y)y5o6#kF5Kd)s!Mb$h1b NIJaAaJ&=LH8US}zDir_# literal 0 HcmV?d00001 diff --git a/sites/all/modules/lightbox2/images/closelabel.gif b/sites/all/modules/lightbox2/images/closelabel.gif new file mode 100644 index 0000000000000000000000000000000000000000..87b4f8bd699386e3a6fcc2e50d7c61bfc4aabb8d GIT binary patch literal 979 zcmZ?wbhEHbbYc)=c*ekR;J|@{2M^AjJ2x^i^3tVC&CSj0*RTKj_3M)-PXYo0cI?>E z)6+9$%9N0hkg%|@J9q8`1qGcvc``6CFd`x%G&JWG1!QZ}p`}_Crt5>gn{ra_R z*|PBP@I{Lj`S|$w`}?P*rG5YY{qEhnXU?2SNJyxzu3ors;h#T$K79Ca@7}$foSdy& zxBmY9d+OAwXV0EJb?Q__MaApauf4s!A3S&vA0NMS=g#~0?{C?%rLC>4pr9Z*Ir-_+ zr;{d4>gecLxpHM*Uf%TS)ARH5uU@^{*Vp&5E2E;KQc_ZUeSM3Ii__E7r%jvI-roNB@nb(fzs$_c+qZ95RaO1} z|Nq~=e++a1ia%Mv_UM2}P@FKZ|8IzCYHn$5Ywzgn>h9_7>+gx3Gn5iiIZY<+?`^k#V9jLtyr*r!J=422f09{b+Ju)CUT+TQ$(XUHpFrqp3WW>wX1uv zuMxADYt*_`D!j~cc9U4RqaSdy#4<#mnaaTWAexn73fF5^{TRmAubUT3M$0pEhL|XZa-W~L|(gBwDDiyC{R^)5V?SdhX{^V3U3;)26b z9`PG&9vg+2LK~Ub)t*kN@Dpm%WzyoDVKHUWf+~JK$+ZDZ@~kR1)Kp$5Zt9+<`%Y)- z>yw)=g|fzKY2BzS@eXpHy5ookQ(^-%AM<|&o|T%JuT^(X?uuf%wX|uMuC&0ET*U<& zn5MV|N-Q);aBAjTtM<^<-0=N0@0#5*3?I(E@i^2b=>KSu3P#TbT%XyyED9)8M!}zkkRC?kPTh mHXNSne@Ka2Tq>lLlg+!}=2PuWCXYMo(tpiJ>u+RWum%8KFq1q0 literal 0 HcmV?d00001 diff --git a/sites/all/modules/lightbox2/images/contract.gif b/sites/all/modules/lightbox2/images/contract.gif new file mode 100644 index 0000000000000000000000000000000000000000..b7a0a6409909f7ea2d27553914c12d83dbf908f1 GIT binary patch literal 213 zcmZ?wbhEHbRANwKn8*ME|Ns9tHZ}&5ia%Kx85o!ubU>mYc?PCsb5d8H?$J7wz2&H6 z^BS9{e={!|SWReCdgwN-`@~iKD>R~qTBaMq9d z4E44tU%sY3`S#_8OJk;(>CVj1=c$@MIlVZhZQ)>9JoVJ&BI6T_J&THsem)fY!MyEs NMahBfGXoeHtN}_eUCRIf literal 0 HcmV?d00001 diff --git a/sites/all/modules/lightbox2/images/expand.gif b/sites/all/modules/lightbox2/images/expand.gif new file mode 100644 index 0000000000000000000000000000000000000000..26d9ed02ba5245846bb424bb02d3a31a334f112a GIT binary patch literal 209 zcmV;?051PWNk%w1VIlw`0FeLyGcz;)|Ns9000000A^8La6aWGMEC2ui03rY)0007_ zgny#TEeJuFGysQ}tkc+-Ws&4v;VFLBGn!6&k>taz;a0_}o}+XxTj4ssq3~n)^=`FT zQd6_NqOL}8$uO2gCT*6}t!BSVug0gqRn_Q}nD%a;F>$&5j?dTY@|jhN#|A}&wg#4V zIQP<(h*-9#f;C97MMss=l$B%zICY3{B#B80H)D3<6~rU@_qoF|!WFBU$5aB+7ZKT5 LNCjgDQvd)v!q;7m literal 0 HcmV?d00001 diff --git a/sites/all/modules/lightbox2/images/loading.gif b/sites/all/modules/lightbox2/images/loading.gif new file mode 100644 index 0000000000000000000000000000000000000000..f864d5fd38b7466c76b5a36dc0e3e9455c0126e2 GIT binary patch literal 2767 zcmeH``%_bA0*1eHPVNawNVtR;Fkp-nQj8edfS`v<5L7TgR6wi;WfgH-0}4fE+c_uU zB6tf6auF}FAcDdgg|bMU&H)LR5jARM!8$tuwd$nHqS?K-=JNZ+yGvz=Iegxp{+qWGZ9j{-%9vvN>n3$NJp6==CAqYaF(LfM1Z{EEA{{Gt9 z+Ba|B7z_sR+xabl|E~mm-*OXmhLq??y)HONjX>1ze1D?RIn=G1`RR-%fb}zgSh6^a z(}Zw20U1L^Cs9UcyJfc+al#}J2xVlYUoR{`gd&QDxAb1w4>I~5gc?ccq(G+T!I;H};U_uyHR0@hr>Qk1P1=6fvUBhR zb|&^^cEQtu&W}=-=YR7o5UI)AD*~%J7bkVd5`xrdw{bHm;|Bf^_|FG$9l}`ruhnVF zO%=6X*I#yro*pmfB;-A0cVjz73Qy)`oa=df_3Bx6!M3TNALf9BwI*di`jhdovR(I= zFT31zui1Xw??+Ym-lWNq=V6~8tt012$@*hy3So0QNJ#eIJ4Yh{qJ+aTY>ng8W1p4BrwB_>i7AY-xmGrA}hAeq`aX(yx~=c&|=$w&*&PpKd;G@@0oXK@D0x=;tyY&Eb|HKPsM z71v`PO)na3pfO*xUD8Z|CQju)c+RSAH=5V^4vb9Q2JwHwt|-INt|!nD?AlRxF5ZT8 zaA9~hGb$~rMhQh_0+31$tkzyLi>X3c7>F!|Jyn`+5{LG=E`sIQbHA8!=`uday6D6Y zNtVL?j^`6A%UuwO!`}j#s~H?w=P<5}Z2)*PPx|5q$MM+1K6_d_cie9JVArbrB2sRy zOl**1Mc+|zLM>munG#O|##RApuODr^1+pL-?SHX+D6Dz_@%-Oo(fM&hHYZ-jWU5jf z&nBYG;>F6&Y`veoLdZ@0WyrDsuXOP)9g*C`A(+R`Ryc2+9w_DJNaf@Dzg?~N{uI_} zjV(!yygvrGv#KF*Mt{6H^v1Ve=hQyF2^E~bd#&iZg;(%dS^nM;oGSF1Y^&rY}Ian zFrp%SBGPyN{Z?t%Mo#!qgLQ2)k{>KAv?=zezKN*qPRf>^4QjcWgyxiC}7Vb6vGrBLR(1J&B%*gb{`!Jljb^2%jB$ zFBNUHANC6Q?0~M}cVtgk_;_DAB-BE?2dP z(C9OIXza3Ao-@UyqX%`5cjg#cHl!uHq;&?~JO{eE+A2KSSD)s8v&CiV$kV$A=DG@i z;6JY7z*8oPdj@bbJQoTAENW#ls(ucbGA#yhN>zbWqBTbLl>rGqOAY+` z=psSt8VQE=9+X8^$l@oeDzRvja79ry3nvLcOR7+)bIFyJVoz4}URM-47_u>V zY*^e(o`?|l++*Y0uQ#&dKapW1o?J{jx+*_gKV^cW+W87KI7hZ5viXv$$=1IR^Z~yA XWBrHU7iSEP8X8hQyAJO{V6g1pwSv80 literal 0 HcmV?d00001 diff --git a/sites/all/modules/lightbox2/images/loading_lite.gif b/sites/all/modules/lightbox2/images/loading_lite.gif new file mode 100644 index 0000000000000000000000000000000000000000..fbe57be3c2cd761a999fcf91698963b723916e28 GIT binary patch literal 2364 zcmZ?wbhEHbtYZ*kxT?eu6cnVVr)OYb;OXfZ5D?(+@9*Q|gwj^791R$m6fiquVZa(9u*a3Yik=E?C0cUXJ}|>WMpJ!W@cewVPaxpX=$04 zmuF>V<>26;tE+2lZ2bTKe+JqB#sA!Xt|7tBjsdPldIrplKwA`lvam8RC^6`OYy^3e zf$jf+2?ZWHQvD~E6rIemnt!~n#A|KT`WtJ?PQR_%f4P0bXU*B?Uu>y5o45P^haGop z{xt|xOsG5m{`dce#-`?$*0%Zz4uzCb4iR2nKK996Ra}#2uuoNxaFeK->pFkVyah{_ zELyg5h0EfFYgcVpBOxx%!_lLd!ZBeI^L}PV#sfzVGD@E~dE(HiQ)kYeK7K*^{DrG$ zub;bg?e>kkid)2Y$oEcUXXbv%#>B+-?)|$rlAphP{`B?B_aBnKe*FFV{}bnp^n8Vb z4Xnm05jz;??1)Km_z{(`py6ngm~q;gr3)7y?~}2w;?WFZ_ME70zf7ibp~{JAdg1%N ztl02Sy`xMmP{(0`I@^C9+h(@ECl{``xX7hn%6HWi=HR9N{cf>c3pFpT3R@m$y2^3k z1lK1ePhF00R%cLTxU|Yw`$+Tc?RmEk)oPcoYu{D;@z7Oo^On0i>i&OXebboT)RyqN z!D9OYo!bK0*ZKBI-+1@r^wiI3_jd1mAAf58Q?aWB7A{E}yHC!t<+l9v_`+OH?mpfs zvp2W575D4SwP0f5Tq(_-`u108-svrdkKOjge9k@GQSa`scJrfv1y1XuOS`tN410Hb zfA@R7se3{`hwQ8}?G09X+$FA`aYf^@%9%-DKi_xX8J}7|P4A|-f~RR?@h!b)3l{TP ze>l)AV9)mU^Me+_U%`qF;#@8QEz+kpmjq;P=?V60I=~U^(|I?;nAcQOZE|n7uG{8E z-9~=S%H5|dz63<^fvz@N(z;TS%+V=^6lGCYoS^qqJTSeRiYI(vo5sx@6~ zH+0Mnzb#tp)m))-ZN~Yuf=vhVHd}tMi0M_i@xH9TZvAq3#)ig*nwmPLrlywawvNWG z+PdC`qN28nij0i5yu7%$wv?3M;I^nJCl_b8Iv+n@WZNYM)OMu-wOwaGZ8sZG+Z_hf zcCP`oJ!C*_kAvG@gOcB+cu%Ey&DC1JsIjb|!p!J_fy8PPopX1Vr=5+PJh^p;<=K_D zU+1eN#v7R10`q&NJ3}=KD|ZYq&nq#sb#$@!H1otgV*AR780Vs(hyWFUszG%C7S4T zLnrN*1y6VLhXr1Gv(I1dty(+JZ_k6)I}Ph@zrWa1x4vBd5gTh$MN4a`6tFa`bK`Dg znb0C<|cxmhQ$Ficsv$Ww0VvZb@;Okh~BcwO7_8x3^_Uzfy z-`{`y`0>ih%JA^;|6ssC3Q+vX!pOiNz@P)t1hSKXb)5o>ZA#|6j8)4XzuH%zbG{_^ ze#N@?HShl)xWpjPqbSpNWWf$5g^5iJ#;z51ye%s;6Sk^#+;U&|yQhtj`_twE4q>S* z6($>Ajz?_AECtI&rbV$QXQd@_u@!PB@-r|NMs_n7#0DiY*Q87>El*)8ab)Renc&FW zoK@`FTbtv42tx5E z3nK#q7lRH+2xJBW%e8=$o~!p-ygs}8e}YC|O6I(bRqJwI?<>$bUy^&jVqLM@Ms?2E zg%^|`G&r#IdFb4laH2W)MzT~^K!$HZDqm*gl1bOTa-}6c*_NJQeDI~h%v+|X1PWj7 z$#OfsJtU8<%&0Kgn585q+?c)IG}SgD(~K!J$2>7O&&7XMM{I73VMSuQe&-xNqrS}L zx-m`pbyEyWV$)mu4YudHEY@GT%rIu6-In=#e8bq7PefK3u*`8jUcSy`6Wh-74#6b{ kb_JSWo@BAM$okdmH*ep)|M2nC=PzHsegE({Ser%s)kGG)rag9m^9{5g5@O5wO7c7e8FI3`xo11APcDk} z=UJ8G&9>HKS5Wf4c$QVg+tXu2YNv^=EWM@5y5QcU$4{ODG5v(jwV}*VpRx<8<0-`pa5zlY#M)-oIr#d z2c`s`grTFXW2l%ts~e55DhLY)as;+YRV14WP@TyqTUm|6s>QTRW@y&52ql|}m&B;a zQeOnyC4;BkN$Kk86A=aP@b4HG>n#=(2KoB=5)bwN00RmfNU-3Gf-poNgb@M&I}o6s A+yDRo literal 0 HcmV?d00001 diff --git a/sites/all/modules/lightbox2/images/overlay.png b/sites/all/modules/lightbox2/images/overlay.png new file mode 100644 index 0000000000000000000000000000000000000000..7cee2984496bc1d3e1b441d6da7b7079fe24ee43 GIT binary patch literal 279 zcmeAS@N?(olHy`uVBq!ia0vp^sUXb31|&mjbk74RmUKs7M+S!VC(K#9UIO`&C9V-A z!TD(=<%vb942~)JNvR5+xryniL8*x;m4zo$ZGehadb&7l zNOhbQZHeI!aERbdNls?YRyux~fwASPL(M&^N^E zz`&ufs#;Q^!J{wLiH(Ux;ACQles2?l1H;5OsZJ-^6dF$SrN-#7a44){TNk;RE&bz` x%*$$fj*0`FAGEuH6{uT$1JD_z%#2Jt3~QE2P1aZ^8vyhzgQu&X%Q~loCIB#JZ_oe$ literal 0 HcmV?d00001 diff --git a/sites/all/modules/lightbox2/images/play.png b/sites/all/modules/lightbox2/images/play.png new file mode 100644 index 0000000000000000000000000000000000000000..fdf99bf24023747c9921b2efa01acf3f90055541 GIT binary patch literal 645 zcmeAS@N?(olHy`uVBq!ia0vp^A|TAc#=yY%t50_}ki%Kv5n0T@z%2yAjF;}#{Q(NH zq&xaLGB9lHtN9%`8OT>i_6YK2V5m}MU}$J&VEFkTNWWxYC^cYUc$L7wU^Rn*K|Fs_ z{82ZcxxYPK978H@CH?vT-=3L=fki;LmC{wuGuWFf@iX@wkYwa42k0;OFOec5`EkVNz%~(3F#t z!?Qi_ZqsUz)PfBg3=Z$B{VkE$1k`p_DThI!Va5bYKR>_!hYug#_zI{-MELIAyZ@yn zBpPmhe}6wcVr!P@oh+bjj@OQ!J9n<&%ZtD^W%oXVMYA~s99(t_Dl~M20a-pgE=&y! zP1-s-I)CyL6B{pAfOsisX=xX(T}#`rY15%q5(*6uxMt3nA+ck}4vC)LUP&7p8v_w$ z7J;r#g;s?%ix(eGNK0#51XLE_^W@pHv>$(en;)KQT`u7_*Q!-$8ZZ!=avr_CysJvFs03bt*D^Dz^3X; z$HP-owHM4e=iwv4#3JA)zOVlOyoWb7Ci6sZ&r4NN4Ps#Gc=b{M80Hcyco>*?7#7)2 WUd>dxULTlb7(8A5T-G@yGywo|_U$$R literal 0 HcmV?d00001 diff --git a/sites/all/modules/lightbox2/images/prev.gif b/sites/all/modules/lightbox2/images/prev.gif new file mode 100644 index 0000000000000000000000000000000000000000..aefa804ab4417b3c3e27733ffd8f07603fa41f99 GIT binary patch literal 307 zcmZ?wbhEHb)Me0RI3mEXapT6Mq@*ujzU1cSUb=MY?%lgBEiEr!zC3>X_^es8mM&dd zSy{Pf&z}DN{_ybd|6ssC3Q+vX!pOiNz@P)t1hSKXb;ASYzLd;)FE|}DU++`mK3|f1 zzhd3{n)m+?D6Cbe;bdSuzG#LMk4yl2Q>2x|qCkeymLqPG(T6T`^K#5+VzJz%Ah!E8 z!;Xj@>twq&2Q1iO&6DTkSI!*l!%)u1Q026EfN*V=QJuUx%$ P{l?8({6^Qb6&b7n50-It literal 0 HcmV?d00001 diff --git a/sites/all/modules/lightbox2/images/prev_alt.gif b/sites/all/modules/lightbox2/images/prev_alt.gif new file mode 100644 index 0000000000000000000000000000000000000000..5114838c8ab944549b68450f0eceff350e9a1fb1 GIT binary patch literal 265 zcmZ?wbhEHbjAGDb*vtR||NsB*@9%GEX{oHN%+1YBN=gb34+jc@CD94RpDc_F3>*wP zAPJBe3@qCOPI|81Yw`N*?*9oIeJPpqGFGk2dA+Yd=X^=-{fc$Vk8R{{j(OF$tS+=p+@a;B($?@s= zS=p&f#u+|g#U`0%@!rv9EPZCBwK-Fgnhfd!T7&Xyn!CEEE}9&f?`Am1b6(qml*J88 xXP28+g_x{iUblH?XMKON=^V=p%eB_0PMal6t_8mKS?cTG)Xdj;C!!W_T0UDx3aSG%a<=tpFZ8ad-ttdxBmV6w{6?D-@kvKIddjFJpBLv|Hj6~ z45&cyCkrD3gA{`fNEl=%1M7zbwZ4?hc^Ru_&DyrF;Lon2-1`;l-q*bUe_%m@hmKVL zi6?vwnMraS6F2WHNMX6W%%L%Jf|P{Agp~{i91_lK!3;AvTeQ_4lu66@2PxPd<8a|f z%w|;Psf$Qb<*$)sli+spsh4a_Dpuys>`+VS^a-p@O|Ow)VPs^T9>KbNxsm`2s}k#` ziGIr#EM?4K5GY!+Ryl@ms`DhZ=_yLH)hc*mvbIfDnJ&39>x>%z$_dBnPP7!YM3j_X zPLNn|>A{Tl$forhy*_{Wsw61P{_FQI=5N~KS}GDA28}G-|3d;K4s1v~+#;atHOFJ) OBLOL~;4K`C4Auad8=cVr literal 0 HcmV?d00001 diff --git a/sites/all/modules/lightbox2/js/auto_image_handling.js b/sites/all/modules/lightbox2/js/auto_image_handling.js new file mode 100644 index 0000000..e769a8b --- /dev/null +++ b/sites/all/modules/lightbox2/js/auto_image_handling.js @@ -0,0 +1,265 @@ +/* $Id: auto_image_handling.js,v 1.1.4.33 2010/09/22 21:07:57 snpower Exp $ */ + +// Image Node Auto-Format with Auto Image Grouping. +// Original version by Steve McKenzie. +// Altered by Stella Power for jQuery version. + +function parse_url(url, param) { + param = param.replace(/[\[]/,"\\\[").replace(/[\]]/,"\\\]"); + url = url.replace(/&/, "&"); + var regexS = "[\\?&]"+param+"=([^&#]*)"; + var regex = new RegExp(regexS); + var results = regex.exec(url); + if (results === null) { + return ""; + } + else { + return results[1]; + } +} + + +function lightbox2_init_triggers(classes, rel_type, custom_class) { + if (classes == '' || rel_type == 0) { + return; + } + var settings = Drupal.settings.lightbox2; + + var link_target = ""; + if (settings.node_link_target !== 0) { + link_target = 'target="'+ settings.node_link_target +'"'; + } + + $("a:has("+classes+")").each(function(i) { + + if ((!settings.disable_for_gallery_lists && !settings.disable_for_acidfree_gallery_lists) || (!$(this).parents("td.giAlbumCell").attr("class") && !$(this).parents(".galleries").length && !$(this).parents(".acidfree-folder").length && !$(this).parents(".acidfree-list").length) || ($(this).parents(".galleries").length && !settings.disable_for_gallery_lists) || (($(this).parents(".acidfree-folder").length || $(this).parents(".acidfree-list").length) && !settings.disable_for_acidfree_gallery_lists)) { + + var child = $(this).find(classes); + + // Ensure the child has a class attribute we can work with. + if ($(child).attr("class") && !$(this).parents("div.acidfree-video").length) { + + // Set the alt text. + var alt = $(child).attr("alt"); + if (!alt) { + alt = ""; + } + + // Set the image node link text. + var link_text = settings.node_link_text; + var download_link_text = settings.download_link_text; + var rewrite = 1; + + // Set the rel attribute. + var rel = "lightbox"; + var lightframe = false; + if (rel_type == "lightframe_ungrouped") { + rel = "lightframe[]"; + lightframe = true; + } + else if (rel_type == "lightframe") { + lightframe = true; + } + else if (rel_type == "lightbox_ungrouped") { + rel = "lightbox[]"; + } + if (rel_type != "lightbox_ungrouped" && rel_type != "lightframe_ungrouped") { + rel = rel_type + "[" + $(child).attr("class") + "]"; + } + + // Set the basic href attribute - need to ensure there's no language + // string (e.g. /en) prepended to the URL. + var id = null; + var href = $(child).attr("src"); + var download = null; + var orig_href = $(this).attr("href"); + var pattern = new RegExp(settings.file_path); + if (orig_href.match(pattern)) { + var lang_pattern = new RegExp(Drupal.settings.basePath + "\\w\\w\\/"); + orig_href = orig_href.replace(lang_pattern, Drupal.settings.basePath); + } + var frame_href = orig_href; + + // Handle flickr images. + if ($(child).attr("class").match("flickr-photo-img") || + $(child).attr("class").match("flickr-photoset-img")) { + href = $(child).attr("src").replace("_s.", ".").replace("_t.", ".").replace("_m.", ".").replace("_b.", "."); + if (rel_type != "lightbox_ungrouped" && rel_type != "lightframe_ungrouped") { + rel = rel_type + "[flickr]"; + if ($(child).parents("div.block-flickr").attr("class")) { + id = $(child).parents("div.block-flickr").attr("id"); + rel = rel_type + "["+ id +"]"; + } + } + download = href; + } + + // Handle "image-img_assist_custom" images. + else if ($(child).filter("img[class*=img_assist_custom]").size()) { + // Image assist uses "+" signs for spaces which doesn't work for + // normal links. + if (settings.display_image_size != "original") { + orig_href = orig_href.replace(/\+/, " "); + href = $(child).attr("src").replace(new RegExp("\\.img_assist_custom-[0-9]+x[0-9]+"), ((settings.display_image_size === "")?settings.display_image_size:"."+ settings.display_image_size)); + if (rel_type != "lightbox_ungrouped" && rel_type != "lightframe_ungrouped") { + rel = rel_type + "[node_images]"; + } + if (lightframe) { + frame_href = orig_href + "/lightbox2"; + } + } + else { + rewrite = 0; + } + } + + // Handle "inline" images. + else if ($(child).attr("class").match("inline")) { + href = orig_href; + } + + // Handle gallery2 block images. + else if ($(child).attr("class").match("ImageFrame_image") || $(child).attr("class").match("ImageFrame_none")) { + var thumb_id = parse_url(href, "g2_itemId"); + var new_id = parse_url(orig_href, "g2_itemId"); + if (new_id && thumb_id) { + var g2pattern = new RegExp("g2_itemId="+thumb_id); + var replacement = "g2_itemId="+ new_id; + href = href.replace(g2pattern, replacement); + } + rel = rel_type + "[gallery2]"; + if ($(child).parents("div.block-gallery").attr("class")) { + id = $(child).parents("div.block-gallery").attr("id"); + rel = rel_type + "["+ id +"]"; + } + download = href; + } + + + // Set the href attribute. + else if (settings.image_node_sizes != '()' && !custom_class) { + if (settings.display_image_size != "original") { + href = $(child).attr("src").replace(new RegExp(settings.image_node_sizes), ((settings.display_image_size === "")?settings.display_image_size:"."+ settings.display_image_size)).replace(/(image\/view\/\d+)(\/[\w\-]*)/, ((settings.display_image_size === "")?"$1/_original":"$1/"+ settings.display_image_size)); + if (rel_type != "lightbox_ungrouped" && rel_type != "lightframe_ungrouped") { + rel = rel_type + "[node_images]"; + if ($(child).parents("div.block-multiblock,div.block-image").attr("class")) { + id = $(child).parents("div.block-multiblock,div.block-image").attr("id"); + rel = rel_type + "["+ id +"]"; + } + } + download = $(child).attr("src").replace(new RegExp(settings.image_node_sizes), "").replace(/(image\/view\/\d+)(\/[\w\-]*)/, "$1/_original"); + if (lightframe) { + frame_href = orig_href + "/lightbox2"; + } + } + else { + rewrite = 0; + } + } + + // Modify the image url. + var img_title = $(child).attr("title"); + if (!img_title) { + img_title = $(this).attr("title"); + if (!img_title) { + img_title = $(child).attr("alt"); + } + $(child).attr({title: img_title}); + } + if (lightframe) { + href = frame_href; + } + if (rewrite) { + if (!custom_class) { + var title_link = ""; + if (link_text.length) { + title_link = "

"+ link_text + ""; + } + if (download_link_text.length && download) { + title_link = title_link + " - " + download_link_text + ""; + } + rel = rel + "[" + img_title + title_link + "]"; + $(this).attr({ + rel: rel, + href: href + }); + } + else { + if (rel_type != "lightbox_ungrouped" && rel_type != "lightframe_ungrouped") { + rel = rel_type + "[" + $(child).attr("class") + "]"; + if ($(child).parents("div.block-image").attr("class")) { + id = $(child).parents("div.block-image").attr("id"); + rel = rel_type + "["+ id +"]"; + } + } + rel = rel + "[" + img_title + "]"; + $(this).attr({ + rel: rel, + href: orig_href + }); + } + } + } + } + + }); +} + +function lightbox2_init_acidfree_video() { + var settings = Drupal.settings.lightbox2; + + var link_target = ""; + if (settings.node_link_target !== 0) { + link_target = 'target="'+ settings.node_link_target +'"'; + } + + var link_text = settings.node_link_text; + var rel = "lightframe"; + + $("div.acidfree-video a").each(function(i) { + + if (!settings.disable_for_acidfree_gallery_lists || (!$(this).parents(".acidfree-folder").length && !$(this).parents(".acidfree-list").length) || (($(this).parents(".acidfree-folder").length || $(this).parents(".acidfree-list").length) && !settings.disable_for_acidfree_gallery_lists)) { + var orig_href = $(this).attr("href"); + var href = orig_href + "/lightframevideo"; + var title = $(this).attr("title"); + var title_link = ""; + if (link_text.length) { + title_link = "
"+ link_text + ""; + } + + $(this).attr({ + rel: rel, + title: title + title_link, + href: href + }); + } + }); +} + +function lightbox2_image_nodes() { + + var settings = Drupal.settings.lightbox2; + + // Don't do it on the image assist popup selection screen. + var img_assist = document.getElementById("img_assist_thumbs"); + if (!img_assist) { + + // Select the enabled image types. + lightbox2_init_triggers(settings.trigger_lightbox_classes, "lightbox_ungrouped"); + lightbox2_init_triggers(settings.custom_trigger_classes, settings.custom_class_handler, true); + lightbox2_init_triggers(settings.trigger_lightbox_group_classes, "lightbox"); + lightbox2_init_triggers(settings.trigger_slideshow_classes, "lightshow"); + lightbox2_init_triggers(settings.trigger_lightframe_classes, "lightframe_ungrouped"); + lightbox2_init_triggers(settings.trigger_lightframe_group_classes, "lightframe"); + if (settings.enable_acidfree_videos) { + lightbox2_init_acidfree_video(); + } + + } +} + + +Drupal.behaviors.initAutoLightbox = function (context) { + lightbox2_image_nodes(); +}; + diff --git a/sites/all/modules/lightbox2/js/lightbox.js b/sites/all/modules/lightbox2/js/lightbox.js new file mode 100644 index 0000000..5a06ebc --- /dev/null +++ b/sites/all/modules/lightbox2/js/lightbox.js @@ -0,0 +1,1190 @@ +/* $Id: lightbox.js,v 1.5.2.6.2.136 2010/09/24 08:39:40 snpower Exp $ */ + +/** + * jQuery Lightbox + * @author + * Stella Power, + * + * Based on Lightbox v2.03.3 by Lokesh Dhakar + * + * Also partially based on the jQuery Lightbox by Warren Krewenki + * + * + * Permission has been granted to Mark Ashmead & other Drupal Lightbox2 module + * maintainers to distribute this file via Drupal.org + * Under GPL license. + * + * Slideshow, iframe and video functionality added by Stella Power. + */ + +var Lightbox = { + auto_modal : false, + overlayOpacity : 0.8, // Controls transparency of shadow overlay. + overlayColor : '000', // Controls colour of shadow overlay. + disableCloseClick : true, + // Controls the order of the lightbox resizing animation sequence. + resizeSequence: 0, // 0: simultaneous, 1: width then height, 2: height then width. + resizeSpeed: 'normal', // Controls the speed of the lightbox resizing animation. + fadeInSpeed: 'normal', // Controls the speed of the image appearance. + slideDownSpeed: 'slow', // Controls the speed of the image details appearance. + minWidth: 240, + borderSize : 10, + boxColor : 'fff', + fontColor : '000', + topPosition : '', + infoHeight: 20, + alternative_layout : false, + imageArray : [], + imageNum : null, + total : 0, + activeImage : null, + inprogress : false, + disableResize : false, + disableZoom : false, + isZoomedIn : false, + rtl : false, + loopItems : false, + keysClose : ['c', 'x', 27], + keysPrevious : ['p', 37], + keysNext : ['n', 39], + keysZoom : ['z'], + keysPlayPause : [32], + + // Slideshow options. + slideInterval : 5000, // In milliseconds. + showPlayPause : true, + autoStart : true, + autoExit : true, + pauseOnNextClick : false, // True to pause the slideshow when the "Next" button is clicked. + pauseOnPrevClick : true, // True to pause the slideshow when the "Prev" button is clicked. + slideIdArray : [], + slideIdCount : 0, + isSlideshow : false, + isPaused : false, + loopSlides : false, + + // Iframe options. + isLightframe : false, + iframe_width : 600, + iframe_height : 400, + iframe_border : 1, + + // Video and modal options. + enableVideo : false, + flvPlayer : '/flvplayer.swf', + flvFlashvars : '', + isModal : false, + isVideo : false, + videoId : false, + modalWidth : 400, + modalHeight : 400, + modalHTML : null, + + + // initialize() + // Constructor runs on completion of the DOM loading. + // The function inserts html at the bottom of the page which is used + // to display the shadow overlay and the image container. + initialize: function() { + + var s = Drupal.settings.lightbox2; + Lightbox.overlayOpacity = s.overlay_opacity; + Lightbox.overlayColor = s.overlay_color; + Lightbox.disableCloseClick = s.disable_close_click; + Lightbox.resizeSequence = s.resize_sequence; + Lightbox.resizeSpeed = s.resize_speed; + Lightbox.fadeInSpeed = s.fade_in_speed; + Lightbox.slideDownSpeed = s.slide_down_speed; + Lightbox.borderSize = s.border_size; + Lightbox.boxColor = s.box_color; + Lightbox.fontColor = s.font_color; + Lightbox.topPosition = s.top_position; + Lightbox.rtl = s.rtl; + Lightbox.loopItems = s.loop_items; + Lightbox.keysClose = s.keys_close.split(" "); + Lightbox.keysPrevious = s.keys_previous.split(" "); + Lightbox.keysNext = s.keys_next.split(" "); + Lightbox.keysZoom = s.keys_zoom.split(" "); + Lightbox.keysPlayPause = s.keys_play_pause.split(" "); + Lightbox.disableResize = s.disable_resize; + Lightbox.disableZoom = s.disable_zoom; + Lightbox.slideInterval = s.slideshow_interval; + Lightbox.showPlayPause = s.show_play_pause; + Lightbox.showCaption = s.show_caption; + Lightbox.autoStart = s.slideshow_automatic_start; + Lightbox.autoExit = s.slideshow_automatic_exit; + Lightbox.pauseOnNextClick = s.pause_on_next_click; + Lightbox.pauseOnPrevClick = s.pause_on_previous_click; + Lightbox.loopSlides = s.loop_slides; + Lightbox.alternative_layout = s.use_alt_layout; + Lightbox.iframe_width = s.iframe_width; + Lightbox.iframe_height = s.iframe_height; + Lightbox.iframe_border = s.iframe_border; + Lightbox.enableVideo = s.enable_video; + if (s.enable_video) { + Lightbox.flvPlayer = s.flvPlayer; + Lightbox.flvFlashvars = s.flvFlashvars; + } + + // Make the lightbox divs. + var layout_class = (s.use_alt_layout ? 'lightbox2-alt-layout' : 'lightbox2-orig-layout'); + var output = '\ + '; + var loading = '
'; + var modal = ''; + var frame = ''; + var imageContainer = ''; + var details = '
'; + var bottomNav = '
'; + var image = ''; + var hoverNav = '
'; + var frameNav = '
'; + var hoverNav = '
'; + var frameNav = '
'; + var caption = ''; + var numberDisplay = ''; + var close = ''; + var zoom = ''; + var zoomOut = ''; + var pause = ''; + var play = ''; + + $("body").append(output); + $('#outerImageContainer').append(modal + frame + imageContainer + loading); + if (!s.use_alt_layout) { + $('#imageContainer').append(image + hoverNav); + $('#imageData').append(details + bottomNav); + $('#imageDetails').append(caption + numberDisplay); + $('#bottomNav').append(frameNav + close + zoom + zoomOut + pause + play); + } + else { + $('#outerImageContainer').append(bottomNav); + $('#imageContainer').append(image); + $('#bottomNav').append(close + zoom + zoomOut); + $('#imageData').append(hoverNav + details); + $('#imageDetails').append(caption + numberDisplay + pause + play); + } + + // Setup onclick handlers. + if (Lightbox.disableCloseClick) { + $('#lightbox2-overlay').click(function() { Lightbox.end(); return false; } ).hide(); + } + $('#loadingLink, #bottomNavClose').click(function() { Lightbox.end('forceClose'); return false; } ); + $('#prevLink, #framePrevLink').click(function() { Lightbox.changeData(Lightbox.activeImage - 1); return false; } ); + $('#nextLink, #frameNextLink').click(function() { Lightbox.changeData(Lightbox.activeImage + 1); return false; } ); + $('#bottomNavZoom').click(function() { Lightbox.changeData(Lightbox.activeImage, true); return false; } ); + $('#bottomNavZoomOut').click(function() { Lightbox.changeData(Lightbox.activeImage, false); return false; } ); + $('#lightshowPause').click(function() { Lightbox.togglePlayPause("lightshowPause", "lightshowPlay"); return false; } ); + $('#lightshowPlay').click(function() { Lightbox.togglePlayPause("lightshowPlay", "lightshowPause"); return false; } ); + + // Fix positioning. + $('#prevLink, #nextLink, #framePrevLink, #frameNextLink').css({ 'paddingTop': Lightbox.borderSize + 'px'}); + $('#imageContainer, #frameContainer, #modalContainer').css({ 'padding': Lightbox.borderSize + 'px'}); + $('#outerImageContainer, #imageDataContainer, #bottomNavClose').css({'backgroundColor': '#' + Lightbox.boxColor, 'color': '#'+Lightbox.fontColor}); + if (Lightbox.alternative_layout) { + $('#bottomNavZoom, #bottomNavZoomOut').css({'bottom': Lightbox.borderSize + 'px', 'right': Lightbox.borderSize + 'px'}); + } + else if (Lightbox.rtl == 1 && $.browser.msie) { + $('#bottomNavZoom, #bottomNavZoomOut').css({'left': '0px'}); + } + + // Force navigation links to always be displayed + if (s.force_show_nav) { + $('#prevLink, #nextLink').addClass("force_show_nav"); + } + + }, + + // initList() + // Loops through anchor tags looking for 'lightbox', 'lightshow' and + // 'lightframe', etc, references and applies onclick events to appropriate + // links. You can rerun after dynamically adding images w/ajax. + initList : function(context) { + + if (context == undefined || context == null) { + context = document; + } + + // Attach lightbox to any links with rel 'lightbox', 'lightshow' or + // 'lightframe', etc. + $("a[rel^='lightbox']:not(.lightbox-processed), area[rel^='lightbox']:not(.lightbox-processed)", context).addClass('lightbox-processed').click(function(e) { + if (Lightbox.disableCloseClick) { + $('#lightbox').unbind('click'); + $('#lightbox').click(function() { Lightbox.end('forceClose'); } ); + } + Lightbox.start(this, false, false, false, false); + if (e.preventDefault) { e.preventDefault(); } + return false; + }); + $("a[rel^='lightshow']:not(.lightbox-processed), area[rel^='lightshow']:not(.lightbox-processed)", context).addClass('lightbox-processed').click(function(e) { + if (Lightbox.disableCloseClick) { + $('#lightbox').unbind('click'); + $('#lightbox').click(function() { Lightbox.end('forceClose'); } ); + } + Lightbox.start(this, true, false, false, false); + if (e.preventDefault) { e.preventDefault(); } + return false; + }); + $("a[rel^='lightframe']:not(.lightbox-processed), area[rel^='lightframe']:not(.lightbox-processed)", context).addClass('lightbox-processed').click(function(e) { + if (Lightbox.disableCloseClick) { + $('#lightbox').unbind('click'); + $('#lightbox').click(function() { Lightbox.end('forceClose'); } ); + } + Lightbox.start(this, false, true, false, false); + if (e.preventDefault) { e.preventDefault(); } + return false; + }); + if (Lightbox.enableVideo) { + $("a[rel^='lightvideo']:not(.lightbox-processed), area[rel^='lightvideo']:not(.lightbox-processed)", context).addClass('lightbox-processed').click(function(e) { + if (Lightbox.disableCloseClick) { + $('#lightbox').unbind('click'); + $('#lightbox').click(function() { Lightbox.end('forceClose'); } ); + } + Lightbox.start(this, false, false, true, false); + if (e.preventDefault) { e.preventDefault(); } + return false; + }); + } + $("a[rel^='lightmodal']:not(.lightbox-processed), area[rel^='lightmodal']:not(.lightbox-processed)", context).addClass('lightbox-processed').click(function(e) { + $('#lightbox').unbind('click'); + // Add classes from the link to the lightbox div - don't include lightbox-processed + $('#lightbox').addClass($(this).attr('class')); + $('#lightbox').removeClass('lightbox-processed'); + Lightbox.start(this, false, false, false, true); + if (e.preventDefault) { e.preventDefault(); } + return false; + }); + $("#lightboxAutoModal:not(.lightbox-processed)", context).addClass('lightbox-processed').click(function(e) { + Lightbox.auto_modal = true; + $('#lightbox').unbind('click'); + Lightbox.start(this, false, false, false, true); + if (e.preventDefault) { e.preventDefault(); } + return false; + }); + }, + + // start() + // Display overlay and lightbox. If image is part of a set, add siblings to + // imageArray. + start: function(imageLink, slideshow, lightframe, lightvideo, lightmodal) { + + Lightbox.isPaused = !Lightbox.autoStart; + + // Replaces hideSelectBoxes() and hideFlash() calls in original lightbox2. + Lightbox.toggleSelectsFlash('hide'); + + // Stretch overlay to fill page and fade in. + var arrayPageSize = Lightbox.getPageSize(); + $("#lightbox2-overlay").hide().css({ + 'width': '100%', + 'zIndex': '10090', + 'height': arrayPageSize[1] + 'px', + 'backgroundColor' : '#' + Lightbox.overlayColor + }); + // Detect OS X FF2 opacity + flash issue. + if (lightvideo && this.detectMacFF2()) { + $("#lightbox2-overlay").removeClass("overlay_default"); + $("#lightbox2-overlay").addClass("overlay_macff2"); + $("#lightbox2-overlay").css({'opacity' : null}); + } + else { + $("#lightbox2-overlay").removeClass("overlay_macff2"); + $("#lightbox2-overlay").addClass("overlay_default"); + $("#lightbox2-overlay").css({'opacity' : Lightbox.overlayOpacity}); + } + $("#lightbox2-overlay").fadeIn(Lightbox.fadeInSpeed); + + + Lightbox.isSlideshow = slideshow; + Lightbox.isLightframe = lightframe; + Lightbox.isVideo = lightvideo; + Lightbox.isModal = lightmodal; + Lightbox.imageArray = []; + Lightbox.imageNum = 0; + + var anchors = $(imageLink.tagName); + var anchor = null; + var rel_parts = Lightbox.parseRel(imageLink); + var rel = rel_parts["rel"]; + var rel_group = rel_parts["group"]; + var title = (rel_parts["title"] ? rel_parts["title"] : imageLink.title); + var rel_style = null; + var i = 0; + + if (rel_parts["flashvars"]) { + Lightbox.flvFlashvars = Lightbox.flvFlashvars + '&' + rel_parts["flashvars"]; + } + + // Set the title for image alternative text. + var alt = imageLink.title; + if (!alt) { + var img = $(imageLink).find("img"); + if (img && $(img).attr("alt")) { + alt = $(img).attr("alt"); + } + else { + alt = title; + } + } + + if ($(imageLink).attr('id') == 'lightboxAutoModal') { + rel_style = rel_parts["style"]; + Lightbox.imageArray.push(['#lightboxAutoModal > *', title, alt, rel_style, 1]); + } + else { + // Handle lightbox images with no grouping. + if ((rel == 'lightbox' || rel == 'lightshow') && !rel_group) { + Lightbox.imageArray.push([imageLink.href, title, alt]); + } + + // Handle other items with no grouping. + else if (!rel_group) { + rel_style = rel_parts["style"]; + Lightbox.imageArray.push([imageLink.href, title, alt, rel_style]); + } + + // Handle grouped items. + else { + + // Loop through anchors and add them to imageArray. + for (i = 0; i < anchors.length; i++) { + anchor = anchors[i]; + if (anchor.href && typeof(anchor.href) == "string" && $(anchor).attr('rel')) { + var rel_data = Lightbox.parseRel(anchor); + var anchor_title = (rel_data["title"] ? rel_data["title"] : anchor.title); + img_alt = anchor.title; + if (!img_alt) { + var anchor_img = $(anchor).find("img"); + if (anchor_img && $(anchor_img).attr("alt")) { + img_alt = $(anchor_img).attr("alt"); + } + else { + img_alt = title; + } + } + if (rel_data["rel"] == rel) { + if (rel_data["group"] == rel_group) { + if (Lightbox.isLightframe || Lightbox.isModal || Lightbox.isVideo) { + rel_style = rel_data["style"]; + } + Lightbox.imageArray.push([anchor.href, anchor_title, img_alt, rel_style]); + } + } + } + } + + // Remove duplicates. + for (i = 0; i < Lightbox.imageArray.length; i++) { + for (j = Lightbox.imageArray.length-1; j > i; j--) { + if (Lightbox.imageArray[i][0] == Lightbox.imageArray[j][0]) { + Lightbox.imageArray.splice(j,1); + } + } + } + while (Lightbox.imageArray[Lightbox.imageNum][0] != imageLink.href) { + Lightbox.imageNum++; + } + } + } + + if (Lightbox.isSlideshow && Lightbox.showPlayPause && Lightbox.isPaused) { + $('#lightshowPlay').show(); + $('#lightshowPause').hide(); + } + + // Calculate top and left offset for the lightbox. + var arrayPageScroll = Lightbox.getPageScroll(); + var lightboxTop = arrayPageScroll[1] + (Lightbox.topPosition == '' ? (arrayPageSize[3] / 10) : Lightbox.topPosition) * 1; + var lightboxLeft = arrayPageScroll[0]; + $('#frameContainer, #modalContainer, #lightboxImage').hide(); + $('#hoverNav, #prevLink, #nextLink, #frameHoverNav, #framePrevLink, #frameNextLink').hide(); + $('#imageDataContainer, #numberDisplay, #bottomNavZoom, #bottomNavZoomOut').hide(); + $('#outerImageContainer').css({'width': '250px', 'height': '250px'}); + $('#lightbox').css({ + 'zIndex': '10500', + 'top': lightboxTop + 'px', + 'left': lightboxLeft + 'px' + }).show(); + + Lightbox.total = Lightbox.imageArray.length; + Lightbox.changeData(Lightbox.imageNum); + }, + + // changeData() + // Hide most elements and preload image in preparation for resizing image + // container. + changeData: function(imageNum, zoomIn) { + + if (Lightbox.inprogress === false) { + if (Lightbox.total > 1 && ((Lightbox.isSlideshow && Lightbox.loopSlides) || (!Lightbox.isSlideshow && Lightbox.loopItems))) { + if (imageNum >= Lightbox.total) imageNum = 0; + if (imageNum < 0) imageNum = Lightbox.total - 1; + } + + if (Lightbox.isSlideshow) { + for (var i = 0; i < Lightbox.slideIdCount; i++) { + window.clearTimeout(Lightbox.slideIdArray[i]); + } + } + Lightbox.inprogress = true; + Lightbox.activeImage = imageNum; + + if (Lightbox.disableResize && !Lightbox.isSlideshow) { + zoomIn = true; + } + Lightbox.isZoomedIn = zoomIn; + + + // Hide elements during transition. + $('#loading').css({'zIndex': '10500'}).show(); + if (!Lightbox.alternative_layout) { + $('#imageContainer').hide(); + } + $('#frameContainer, #modalContainer, #lightboxImage').hide(); + $('#hoverNav, #prevLink, #nextLink, #frameHoverNav, #framePrevLink, #frameNextLink').hide(); + $('#imageDataContainer, #numberDisplay, #bottomNavZoom, #bottomNavZoomOut').hide(); + + // Preload image content, but not iframe pages. + if (!Lightbox.isLightframe && !Lightbox.isVideo && !Lightbox.isModal) { + $("#lightbox #imageDataContainer").removeClass('lightbox2-alt-layout-data'); + imgPreloader = new Image(); + imgPreloader.onerror = function() { Lightbox.imgNodeLoadingError(this); }; + + imgPreloader.onload = function() { + var photo = document.getElementById('lightboxImage'); + photo.src = Lightbox.imageArray[Lightbox.activeImage][0]; + photo.alt = Lightbox.imageArray[Lightbox.activeImage][2]; + + var imageWidth = imgPreloader.width; + var imageHeight = imgPreloader.height; + + // Resize code. + var arrayPageSize = Lightbox.getPageSize(); + var targ = { w:arrayPageSize[2] - (Lightbox.borderSize * 2), h:arrayPageSize[3] - (Lightbox.borderSize * 6) - (Lightbox.infoHeight * 4) - (arrayPageSize[3] / 10) }; + var orig = { w:imgPreloader.width, h:imgPreloader.height }; + + // Image is very large, so show a smaller version of the larger image + // with zoom button. + if (zoomIn !== true) { + var ratio = 1.0; // Shrink image with the same aspect. + $('#bottomNavZoomOut, #bottomNavZoom').hide(); + if ((orig.w >= targ.w || orig.h >= targ.h) && orig.h && orig.w) { + ratio = ((targ.w / orig.w) < (targ.h / orig.h)) ? targ.w / orig.w : targ.h / orig.h; + if (!Lightbox.disableZoom && !Lightbox.isSlideshow) { + $('#bottomNavZoom').css({'zIndex': '10500'}).show(); + } + } + + imageWidth = Math.floor(orig.w * ratio); + imageHeight = Math.floor(orig.h * ratio); + } + + else { + $('#bottomNavZoom').hide(); + // Only display zoom out button if the image is zoomed in already. + if ((orig.w >= targ.w || orig.h >= targ.h) && orig.h && orig.w) { + // Only display zoom out button if not a slideshow and if the + // buttons aren't disabled. + if (!Lightbox.disableResize && Lightbox.isSlideshow === false && !Lightbox.disableZoom) { + $('#bottomNavZoomOut').css({'zIndex': '10500'}).show(); + } + } + } + + photo.style.width = (imageWidth) + 'px'; + photo.style.height = (imageHeight) + 'px'; + Lightbox.resizeContainer(imageWidth, imageHeight); + + // Clear onLoad, IE behaves irratically with animated gifs otherwise. + imgPreloader.onload = function() {}; + }; + + imgPreloader.src = Lightbox.imageArray[Lightbox.activeImage][0]; + imgPreloader.alt = Lightbox.imageArray[Lightbox.activeImage][2]; + } + + // Set up frame size, etc. + else if (Lightbox.isLightframe) { + $("#lightbox #imageDataContainer").addClass('lightbox2-alt-layout-data'); + var src = Lightbox.imageArray[Lightbox.activeImage][0]; + $('#frameContainer').html(''); + + // Enable swf support in Gecko browsers. + if ($.browser.mozilla && src.indexOf('.swf') != -1) { + setTimeout(function () { + document.getElementById("lightboxFrame").src = Lightbox.imageArray[Lightbox.activeImage][0]; + }, 1000); + } + + if (!Lightbox.iframe_border) { + $('#lightboxFrame').css({'border': 'none'}); + $('#lightboxFrame').attr('frameborder', '0'); + } + var iframe = document.getElementById('lightboxFrame'); + var iframeStyles = Lightbox.imageArray[Lightbox.activeImage][3]; + iframe = Lightbox.setStyles(iframe, iframeStyles); + Lightbox.resizeContainer(parseInt(iframe.width, 10), parseInt(iframe.height, 10)); + } + else if (Lightbox.isVideo || Lightbox.isModal) { + $("#lightbox #imageDataContainer").addClass('lightbox2-alt-layout-data'); + var container = document.getElementById('modalContainer'); + var modalStyles = Lightbox.imageArray[Lightbox.activeImage][3]; + container = Lightbox.setStyles(container, modalStyles); + if (Lightbox.isVideo) { + Lightbox.modalHeight = parseInt(container.height, 10) - 10; + Lightbox.modalWidth = parseInt(container.width, 10) - 10; + Lightvideo.startVideo(Lightbox.imageArray[Lightbox.activeImage][0]); + } + Lightbox.resizeContainer(parseInt(container.width, 10), parseInt(container.height, 10)); + } + } + }, + + // imgNodeLoadingError() + imgNodeLoadingError: function(image) { + var s = Drupal.settings.lightbox2; + var original_image = Lightbox.imageArray[Lightbox.activeImage][0]; + if (s.display_image_size !== "") { + original_image = original_image.replace(new RegExp("."+s.display_image_size), ""); + } + Lightbox.imageArray[Lightbox.activeImage][0] = original_image; + image.onerror = function() { Lightbox.imgLoadingError(image); }; + image.src = original_image; + }, + + // imgLoadingError() + imgLoadingError: function(image) { + var s = Drupal.settings.lightbox2; + Lightbox.imageArray[Lightbox.activeImage][0] = s.default_image; + image.src = s.default_image; + }, + + // resizeContainer() + resizeContainer: function(imgWidth, imgHeight) { + + imgWidth = (imgWidth < Lightbox.minWidth ? Lightbox.minWidth : imgWidth); + + this.widthCurrent = $('#outerImageContainer').width(); + this.heightCurrent = $('#outerImageContainer').height(); + + var widthNew = (imgWidth + (Lightbox.borderSize * 2)); + var heightNew = (imgHeight + (Lightbox.borderSize * 2)); + + // Scalars based on change from old to new. + this.xScale = ( widthNew / this.widthCurrent) * 100; + this.yScale = ( heightNew / this.heightCurrent) * 100; + + // Calculate size difference between new and old image, and resize if + // necessary. + wDiff = this.widthCurrent - widthNew; + hDiff = this.heightCurrent - heightNew; + + $('#modalContainer').css({'width': imgWidth, 'height': imgHeight}); + // Detect animation sequence. + if (Lightbox.resizeSequence) { + var animate1 = {width: widthNew}; + var animate2 = {height: heightNew}; + if (Lightbox.resizeSequence == 2) { + animate1 = {height: heightNew}; + animate2 = {width: widthNew}; + } + $('#outerImageContainer').animate(animate1, Lightbox.resizeSpeed).animate(animate2, Lightbox.resizeSpeed, 'linear', function() { Lightbox.showData(); }); + } + // Simultaneous. + else { + $('#outerImageContainer').animate({'width': widthNew, 'height': heightNew}, Lightbox.resizeSpeed, 'linear', function() { Lightbox.showData(); }); + } + + // If new and old image are same size and no scaling transition is necessary + // do a quick pause to prevent image flicker. + if ((hDiff === 0) && (wDiff === 0)) { + if ($.browser.msie) { + Lightbox.pause(250); + } + else { + Lightbox.pause(100); + } + } + + var s = Drupal.settings.lightbox2; + if (!s.use_alt_layout) { + $('#prevLink, #nextLink').css({'height': imgHeight + 'px'}); + } + $('#imageDataContainer').css({'width': widthNew + 'px'}); + }, + + // showData() + // Display image and begin preloading neighbors. + showData: function() { + $('#loading').hide(); + + if (Lightbox.isLightframe || Lightbox.isVideo || Lightbox.isModal) { + Lightbox.updateDetails(); + if (Lightbox.isLightframe) { + $('#frameContainer').show(); + if ($.browser.safari || Lightbox.fadeInSpeed === 0) { + $('#lightboxFrame').css({'zIndex': '10500'}).show(); + } + else { + $('#lightboxFrame').css({'zIndex': '10500'}).fadeIn(Lightbox.fadeInSpeed); + } + } + else { + if (Lightbox.isVideo) { + $("#modalContainer").html(Lightbox.modalHTML).click(function(){return false;}).css('zIndex', '10500').show(); + } + else { + var src = unescape(Lightbox.imageArray[Lightbox.activeImage][0]); + if (Lightbox.imageArray[Lightbox.activeImage][4]) { + $(src).appendTo("#modalContainer"); + $('#modalContainer').css({'zIndex': '10500'}).show(); + } + else { + // Use a callback to show the new image, otherwise you get flicker. + $("#modalContainer").hide().load(src, function () {$('#modalContainer').css({'zIndex': '10500'}).show();}); + } + $('#modalContainer').unbind('click'); + } + // This might be needed in the Lightframe section above. + //$('#modalContainer').css({'zIndex': '10500'}).show(); + } + } + + // Handle display of image content. + else { + $('#imageContainer').show(); + if ($.browser.safari || Lightbox.fadeInSpeed === 0) { + $('#lightboxImage').css({'zIndex': '10500'}).show(); + } + else { + $('#lightboxImage').css({'zIndex': '10500'}).fadeIn(Lightbox.fadeInSpeed); + } + Lightbox.updateDetails(); + this.preloadNeighborImages(); + } + Lightbox.inprogress = false; + + // Slideshow specific stuff. + if (Lightbox.isSlideshow) { + if (!Lightbox.loopSlides && Lightbox.activeImage == (Lightbox.total - 1)) { + if (Lightbox.autoExit) { + Lightbox.slideIdArray[Lightbox.slideIdCount++] = setTimeout(function () {Lightbox.end('slideshow');}, Lightbox.slideInterval); + } + } + else { + if (!Lightbox.isPaused && Lightbox.total > 1) { + Lightbox.slideIdArray[Lightbox.slideIdCount++] = setTimeout(function () {Lightbox.changeData(Lightbox.activeImage + 1);}, Lightbox.slideInterval); + } + } + if (Lightbox.showPlayPause && Lightbox.total > 1 && !Lightbox.isPaused) { + $('#lightshowPause').show(); + $('#lightshowPlay').hide(); + } + else if (Lightbox.showPlayPause && Lightbox.total > 1) { + $('#lightshowPause').hide(); + $('#lightshowPlay').show(); + } + } + + // Adjust the page overlay size. + var arrayPageSize = Lightbox.getPageSize(); + var arrayPageScroll = Lightbox.getPageScroll(); + var pageHeight = arrayPageSize[1]; + if (Lightbox.isZoomedIn && arrayPageSize[1] > arrayPageSize[3]) { + var lightboxTop = (Lightbox.topPosition == '' ? (arrayPageSize[3] / 10) : Lightbox.topPosition) * 1; + pageHeight = pageHeight + arrayPageScroll[1] + lightboxTop; + } + $('#lightbox2-overlay').css({'height': pageHeight + 'px', 'width': arrayPageSize[0] + 'px'}); + + // Gecko browsers (e.g. Firefox, SeaMonkey, etc) don't handle pdfs as + // expected. + if ($.browser.mozilla) { + if (Lightbox.imageArray[Lightbox.activeImage][0].indexOf(".pdf") != -1) { + setTimeout(function () { + document.getElementById("lightboxFrame").src = Lightbox.imageArray[Lightbox.activeImage][0]; + }, 1000); + } + } + }, + + // updateDetails() + // Display caption, image number, and bottom nav. + updateDetails: function() { + + $("#imageDataContainer").hide(); + + var s = Drupal.settings.lightbox2; + + if (s.show_caption) { + var caption = Lightbox.filterXSS(Lightbox.imageArray[Lightbox.activeImage][1]); + if (!caption) caption = ''; + $('#caption').html(caption).css({'zIndex': '10500'}).show(); + } + + // If image is part of set display 'Image x of x'. + var numberDisplay = null; + if (s.image_count && Lightbox.total > 1) { + var currentImage = Lightbox.activeImage + 1; + if (!Lightbox.isLightframe && !Lightbox.isModal && !Lightbox.isVideo) { + numberDisplay = s.image_count.replace(/\!current/, currentImage).replace(/\!total/, Lightbox.total); + } + else if (Lightbox.isVideo) { + numberDisplay = s.video_count.replace(/\!current/, currentImage).replace(/\!total/, Lightbox.total); + } + else { + numberDisplay = s.page_count.replace(/\!current/, currentImage).replace(/\!total/, Lightbox.total); + } + $('#numberDisplay').html(numberDisplay).css({'zIndex': '10500'}).show(); + } + else { + $('#numberDisplay').hide(); + } + + $("#imageDataContainer").hide().slideDown(Lightbox.slideDownSpeed, function() { + $("#bottomNav").show(); + }); + if (Lightbox.rtl == 1) { + $("#bottomNav").css({'float': 'left'}); + } + Lightbox.updateNav(); + }, + + // updateNav() + // Display appropriate previous and next hover navigation. + updateNav: function() { + + $('#hoverNav').css({'zIndex': '10500'}).show(); + var prevLink = '#prevLink'; + var nextLink = '#nextLink'; + + // Slideshow is separated as we need to show play / pause button. + if (Lightbox.isSlideshow) { + if ((Lightbox.total > 1 && Lightbox.loopSlides) || Lightbox.activeImage !== 0) { + $(prevLink).css({'zIndex': '10500'}).show().click(function() { + if (Lightbox.pauseOnPrevClick) { + Lightbox.togglePlayPause("lightshowPause", "lightshowPlay"); + } + Lightbox.changeData(Lightbox.activeImage - 1); return false; + }); + } + else { + $(prevLink).hide(); + } + + // If not last image in set, display next image button. + if ((Lightbox.total > 1 && Lightbox.loopSlides) || Lightbox.activeImage != (Lightbox.total - 1)) { + $(nextLink).css({'zIndex': '10500'}).show().click(function() { + if (Lightbox.pauseOnNextClick) { + Lightbox.togglePlayPause("lightshowPause", "lightshowPlay"); + } + Lightbox.changeData(Lightbox.activeImage + 1); return false; + }); + } + // Safari browsers need to have hide() called again. + else { + $(nextLink).hide(); + } + } + + // All other types of content. + else { + + if ((Lightbox.isLightframe || Lightbox.isModal || Lightbox.isVideo) && !Lightbox.alternative_layout) { + $('#frameHoverNav').css({'zIndex': '10500'}).show(); + $('#hoverNav').css({'zIndex': '10500'}).hide(); + prevLink = '#framePrevLink'; + nextLink = '#frameNextLink'; + } + + // If not first image in set, display prev image button. + if ((Lightbox.total > 1 && Lightbox.loopItems) || Lightbox.activeImage !== 0) { + // Unbind any other click handlers, otherwise this adds a new click handler + // each time the arrow is clicked. + $(prevLink).css({'zIndex': '10500'}).show().unbind().click(function() { + Lightbox.changeData(Lightbox.activeImage - 1); return false; + }); + } + // Safari browsers need to have hide() called again. + else { + $(prevLink).hide(); + } + + // If not last image in set, display next image button. + if ((Lightbox.total > 1 && Lightbox.loopItems) || Lightbox.activeImage != (Lightbox.total - 1)) { + // Unbind any other click handlers, otherwise this adds a new click handler + // each time the arrow is clicked. + $(nextLink).css({'zIndex': '10500'}).show().unbind().click(function() { + Lightbox.changeData(Lightbox.activeImage + 1); return false; + }); + } + // Safari browsers need to have hide() called again. + else { + $(nextLink).hide(); + } + } + + // Don't enable keyboard shortcuts so forms will work. + if (!Lightbox.isModal) { + this.enableKeyboardNav(); + } + }, + + + // enableKeyboardNav() + enableKeyboardNav: function() { + $(document).bind("keydown", this.keyboardAction); + }, + + // disableKeyboardNav() + disableKeyboardNav: function() { + $(document).unbind("keydown", this.keyboardAction); + }, + + // keyboardAction() + keyboardAction: function(e) { + if (e === null) { // IE. + keycode = event.keyCode; + escapeKey = 27; + } + else { // Mozilla. + keycode = e.keyCode; + escapeKey = e.DOM_VK_ESCAPE; + } + + key = String.fromCharCode(keycode).toLowerCase(); + + // Close lightbox. + if (Lightbox.checkKey(Lightbox.keysClose, key, keycode)) { + Lightbox.end('forceClose'); + } + // Display previous image (p, <-). + else if (Lightbox.checkKey(Lightbox.keysPrevious, key, keycode)) { + if ((Lightbox.total > 1 && ((Lightbox.isSlideshow && Lightbox.loopSlides) || (!Lightbox.isSlideshow && Lightbox.loopItems))) || Lightbox.activeImage !== 0) { + Lightbox.changeData(Lightbox.activeImage - 1); + } + + } + // Display next image (n, ->). + else if (Lightbox.checkKey(Lightbox.keysNext, key, keycode)) { + if ((Lightbox.total > 1 && ((Lightbox.isSlideshow && Lightbox.loopSlides) || (!Lightbox.isSlideshow && Lightbox.loopItems))) || Lightbox.activeImage != (Lightbox.total - 1)) { + Lightbox.changeData(Lightbox.activeImage + 1); + } + } + // Zoom in. + else if (Lightbox.checkKey(Lightbox.keysZoom, key, keycode) && !Lightbox.disableResize && !Lightbox.disableZoom && !Lightbox.isSlideshow && !Lightbox.isLightframe) { + if (Lightbox.isZoomedIn) { + Lightbox.changeData(Lightbox.activeImage, false); + } + else if (!Lightbox.isZoomedIn) { + Lightbox.changeData(Lightbox.activeImage, true); + } + return false; + } + // Toggle play / pause (space). + else if (Lightbox.checkKey(Lightbox.keysPlayPause, key, keycode) && Lightbox.isSlideshow) { + + if (Lightbox.isPaused) { + Lightbox.togglePlayPause("lightshowPlay", "lightshowPause"); + } + else { + Lightbox.togglePlayPause("lightshowPause", "lightshowPlay"); + } + return false; + } + }, + + preloadNeighborImages: function() { + + if ((Lightbox.total - 1) > Lightbox.activeImage) { + preloadNextImage = new Image(); + preloadNextImage.src = Lightbox.imageArray[Lightbox.activeImage + 1][0]; + } + if (Lightbox.activeImage > 0) { + preloadPrevImage = new Image(); + preloadPrevImage.src = Lightbox.imageArray[Lightbox.activeImage - 1][0]; + } + + }, + + end: function(caller) { + var closeClick = (caller == 'slideshow' ? false : true); + if (Lightbox.isSlideshow && Lightbox.isPaused && !closeClick) { + return; + } + // To prevent double clicks on navigation links. + if (Lightbox.inprogress === true && caller != 'forceClose') { + return; + } + Lightbox.disableKeyboardNav(); + $('#lightbox').hide(); + $("#lightbox2-overlay").fadeOut(); + Lightbox.isPaused = true; + Lightbox.inprogress = false; + // Replaces calls to showSelectBoxes() and showFlash() in original + // lightbox2. + Lightbox.toggleSelectsFlash('visible'); + if (Lightbox.isSlideshow) { + for (var i = 0; i < Lightbox.slideIdCount; i++) { + window.clearTimeout(Lightbox.slideIdArray[i]); + } + $('#lightshowPause, #lightshowPlay').hide(); + } + else if (Lightbox.isLightframe) { + $('#frameContainer').empty().hide(); + } + else if (Lightbox.isVideo || Lightbox.isModal) { + if (!Lightbox.auto_modal) { + $('#modalContainer').hide().html(""); + } + Lightbox.auto_modal = false; + } + }, + + + // getPageScroll() + // Returns array with x,y page scroll values. + // Core code from - quirksmode.com. + getPageScroll : function() { + + var xScroll, yScroll; + + if (self.pageYOffset || self.pageXOffset) { + yScroll = self.pageYOffset; + xScroll = self.pageXOffset; + } + else if (document.documentElement && (document.documentElement.scrollTop || document.documentElement.scrollLeft)) { // Explorer 6 Strict. + yScroll = document.documentElement.scrollTop; + xScroll = document.documentElement.scrollLeft; + } + else if (document.body) {// All other Explorers. + yScroll = document.body.scrollTop; + xScroll = document.body.scrollLeft; + } + + arrayPageScroll = [xScroll,yScroll]; + return arrayPageScroll; + }, + + // getPageSize() + // Returns array with page width, height and window width, height. + // Core code from - quirksmode.com. + // Edit for Firefox by pHaez. + + getPageSize : function() { + + var xScroll, yScroll; + + if (window.innerHeight && window.scrollMaxY) { + xScroll = window.innerWidth + window.scrollMaxX; + yScroll = window.innerHeight + window.scrollMaxY; + } + else if (document.body.scrollHeight > document.body.offsetHeight) { // All but Explorer Mac. + xScroll = document.body.scrollWidth; + yScroll = document.body.scrollHeight; + } + else { // Explorer Mac...would also work in Explorer 6 Strict, Mozilla and Safari. + xScroll = document.body.offsetWidth; + yScroll = document.body.offsetHeight; + } + + var windowWidth, windowHeight; + + if (self.innerHeight) { // All except Explorer. + if (document.documentElement.clientWidth) { + windowWidth = document.documentElement.clientWidth; + } + else { + windowWidth = self.innerWidth; + } + windowHeight = self.innerHeight; + } + else if (document.documentElement && document.documentElement.clientHeight) { // Explorer 6 Strict Mode. + windowWidth = document.documentElement.clientWidth; + windowHeight = document.documentElement.clientHeight; + } + else if (document.body) { // Other Explorers. + windowWidth = document.body.clientWidth; + windowHeight = document.body.clientHeight; + } + // For small pages with total height less than height of the viewport. + if (yScroll < windowHeight) { + pageHeight = windowHeight; + } + else { + pageHeight = yScroll; + } + // For small pages with total width less than width of the viewport. + if (xScroll < windowWidth) { + pageWidth = xScroll; + } + else { + pageWidth = windowWidth; + } + arrayPageSize = new Array(pageWidth,pageHeight,windowWidth,windowHeight); + return arrayPageSize; + }, + + + // pause(numberMillis) + pause : function(ms) { + var date = new Date(); + var curDate = null; + do { curDate = new Date(); } + while (curDate - date < ms); + }, + + + // toggleSelectsFlash() + // Hide / unhide select lists and flash objects as they appear above the + // lightbox in some browsers. + toggleSelectsFlash: function (state) { + if (state == 'visible') { + $("select.lightbox_hidden, embed.lightbox_hidden, object.lightbox_hidden").show(); + } + else if (state == 'hide') { + $("select:visible, embed:visible, object:visible").not('#lightboxAutoModal select, #lightboxAutoModal embed, #lightboxAutoModal object').addClass("lightbox_hidden"); + $("select.lightbox_hidden, embed.lightbox_hidden, object.lightbox_hidden").hide(); + } + }, + + + // parseRel() + parseRel: function (link) { + var parts = []; + parts["rel"] = parts["title"] = parts["group"] = parts["style"] = parts["flashvars"] = null; + if (!$(link).attr('rel')) return parts; + parts["rel"] = $(link).attr('rel').match(/\w+/)[0]; + + if ($(link).attr('rel').match(/\[(.*)\]/)) { + var info = $(link).attr('rel').match(/\[(.*?)\]/)[1].split('|'); + parts["group"] = info[0]; + parts["style"] = info[1]; + if (parts["style"] != undefined && parts["style"].match(/flashvars:\s?(.*?);/)) { + parts["flashvars"] = parts["style"].match(/flashvars:\s?(.*?);/)[1]; + } + } + if ($(link).attr('rel').match(/\[.*\]\[(.*)\]/)) { + parts["title"] = $(link).attr('rel').match(/\[.*\]\[(.*)\]/)[1]; + } + return parts; + }, + + // setStyles() + setStyles: function(item, styles) { + item.width = Lightbox.iframe_width; + item.height = Lightbox.iframe_height; + item.scrolling = "auto"; + + if (!styles) return item; + var stylesArray = styles.split(';'); + for (var i = 0; i< stylesArray.length; i++) { + if (stylesArray[i].indexOf('width:') >= 0) { + var w = stylesArray[i].replace('width:', ''); + item.width = jQuery.trim(w); + } + else if (stylesArray[i].indexOf('height:') >= 0) { + var h = stylesArray[i].replace('height:', ''); + item.height = jQuery.trim(h); + } + else if (stylesArray[i].indexOf('scrolling:') >= 0) { + var scrolling = stylesArray[i].replace('scrolling:', ''); + item.scrolling = jQuery.trim(scrolling); + } + else if (stylesArray[i].indexOf('overflow:') >= 0) { + var overflow = stylesArray[i].replace('overflow:', ''); + item.overflow = jQuery.trim(overflow); + } + } + return item; + }, + + + // togglePlayPause() + // Hide the pause / play button as appropriate. If pausing the slideshow also + // clear the timers, otherwise move onto the next image. + togglePlayPause: function(hideId, showId) { + if (Lightbox.isSlideshow && hideId == "lightshowPause") { + for (var i = 0; i < Lightbox.slideIdCount; i++) { + window.clearTimeout(Lightbox.slideIdArray[i]); + } + } + $('#' + hideId).hide(); + $('#' + showId).show(); + + if (hideId == "lightshowPlay") { + Lightbox.isPaused = false; + if (!Lightbox.loopSlides && Lightbox.activeImage == (Lightbox.total - 1)) { + Lightbox.end(); + } + else if (Lightbox.total > 1) { + Lightbox.changeData(Lightbox.activeImage + 1); + } + } + else { + Lightbox.isPaused = true; + } + }, + + triggerLightbox: function (rel_type, rel_group) { + if (rel_type.length) { + if (rel_group && rel_group.length) { + $("a[rel^='" + rel_type +"\[" + rel_group + "\]'], area[rel^='" + rel_type +"\[" + rel_group + "\]']").eq(0).trigger("click"); + } + else { + $("a[rel^='" + rel_type +"'], area[rel^='" + rel_type +"']").eq(0).trigger("click"); + } + } + }, + + detectMacFF2: function() { + var ua = navigator.userAgent.toLowerCase(); + if (/firefox[\/\s](\d+\.\d+)/.test(ua)) { + var ffversion = new Number(RegExp.$1); + if (ffversion < 3 && ua.indexOf('mac') != -1) { + return true; + } + } + return false; + }, + + checkKey: function(keys, key, code) { + return (jQuery.inArray(key, keys) != -1 || jQuery.inArray(String(code), keys) != -1); + }, + + filterXSS: function(str, allowed_tags) { + var output = ""; + $.ajax({ + url: Drupal.settings.basePath + 'system/lightbox2/filter-xss', + data: { + 'string' : str, + 'allowed_tags' : allowed_tags + }, + type: "POST", + async: false, + dataType: "json", + success: function(data) { + output = data; + } + }); + return output; + } + +}; + +// Initialize the lightbox. +Drupal.behaviors.initLightbox = function (context) { + $('body:not(.lightbox-processed)', context).addClass('lightbox-processed').each(function() { + Lightbox.initialize(); + return false; // Break the each loop. + }); + + // Attach lightbox to any links with lightbox rels. + Lightbox.initList(context); + $('#lightboxAutoModal', context).triggerHandler('click'); +}; + diff --git a/sites/all/modules/lightbox2/js/lightbox2.js b/sites/all/modules/lightbox2/js/lightbox2.js new file mode 100644 index 0000000..f3a7715 --- /dev/null +++ b/sites/all/modules/lightbox2/js/lightbox2.js @@ -0,0 +1,189 @@ +/* $Id: lightbox2.js,v 1.1.4.39 2010/06/07 15:24:24 snpower Exp $ */ + +function alt_layout_handler(event) { + if ($("input[name=lightbox2_lite]:checked").val() != 1) { + if ($("input[name=lightbox2_use_alt_layout]:checked").val() == 1) { + $("input[name=lightbox2_force_show_nav]").attr("disabled", "disabled"); + } + else { + $("input[name=lightbox2_force_show_nav]").removeAttr("disabled"); + } + } +} + +function zoom_handler(event) { + if ($("input[name=lightbox2_disable_resize]:checked").val() == 1) { + $("input[name=lightbox2_disable_zoom]").attr("disabled", "disabled"); + } + else { + $("input[name=lightbox2_disable_zoom]").removeAttr("disabled"); + } +} + +function lightbox2_lite_general_handler(event) { + // Enable / disable the non-lightbox2-lite options. + if ($("input[name=lightbox2_lite]:checked").val() == 1) { + $("input[name=lightbox2_use_alt_layout]").attr("disabled", "disabled"); + $("input[name=lightbox2_force_show_nav]").attr("disabled", "disabled"); + $("input[name=lightbox2_loop_items]").attr("disabled", "disabled"); + $("input[name=lightbox2_disable_resize]").attr("disabled", "disabled"); + $("input[name=lightbox2_disable_zoom]").attr("disabled", "disabled"); + $("input[name=lightbox2_enable_video]").attr("disabled", "disabled"); + $("input[name=lightbox2_enable_login]").attr("disabled", "disabled"); + $("input[name=lightbox2_enable_contact]").attr("disabled", "disabled"); + $("input[name=lightbox2_node_link_text]").attr("disabled", "disabled"); + $("input[name=lightbox2_download_link_text]").attr("disabled", "disabled"); + $("input[name=lightbox2_node_link_target]").attr("disabled", "disabled"); + $("input[name=lightbox2_image_count_str]").attr("disabled", "disabled"); + $("input[name=lightbox2_video_count_str]").attr("disabled", "disabled"); + $("input[name=lightbox2_page_count_str]").attr("disabled", "disabled"); + $("select[name=lightbox2_display_image_size]").attr("disabled", "disabled"); + $("select[name='lightbox2_trigger_image_size[]']").attr("disabled", "disabled"); + $("select[name=lightbox2_image_ncck_group_node_id]").attr("disabled", "disabled"); + $("select[name=lightbox2_imagefield_group_node_id]").attr("disabled", "disabled"); + $("input[name=lightbox2_imagefield_use_node_title]").attr("disabled", "disabled"); + $("input[name=lightbox2_disable_close_click]").attr("disabled", "disabled"); + $("input[name=lightbox2_border_size]").attr("disabled", "disabled"); + $("input[name=lightbox2_box_color]").attr("disabled", "disabled"); + $("input[name=lightbox2_font_color]").attr("disabled", "disabled"); + $("input[name=lightbox2_top_position]").attr("disabled", "disabled"); + $("select[name=lightbox2_resize_sequence]").attr("disabled", "disabled"); + $("input[name=lightbox2_resize_speed]").attr("disabled", "disabled"); + $("input[name=lightbox2_fadein_speed]").attr("disabled", "disabled"); + $("input[name=lightbox2_slidedown_speed]").attr("disabled", "disabled"); + } + else { + $("input[name=lightbox2_use_alt_layout]").removeAttr("disabled"); + $("input[name=lightbox2_force_show_nav]").removeAttr("disabled"); + $("input[name=lightbox2_loop_items]").removeAttr("disabled"); + $("input[name=lightbox2_disable_resize]").removeAttr("disabled"); + $("input[name=lightbox2_disable_zoom]").removeAttr("disabled"); + $("input[name=lightbox2_node_link_text]").removeAttr("disabled"); + $("input[name=lightbox2_download_link_text]").removeAttr("disabled"); + $("input[name=lightbox2_node_link_target]").removeAttr("disabled"); + $("input[name=lightbox2_enable_video]").removeAttr("disabled"); + $("input[name=lightbox2_enable_login]").removeAttr("disabled"); + $("input[name=lightbox2_enable_contact]").removeAttr("disabled"); + $("input[name=lightbox2_image_count_str]").removeAttr("disabled"); + $("input[name=lightbox2_video_count_str]").removeAttr("disabled"); + $("input[name=lightbox2_page_count_str]").removeAttr("disabled"); + $("select[name=lightbox2_display_image_size]").removeAttr("disabled"); + $("select[name='lightbox2_trigger_image_size[]']").removeAttr("disabled"); + $("select[name=lightbox2_image_ncck_group_node_id]").removeAttr("disabled"); + $("select[name=lightbox2_imagefield_group_node_id]").removeAttr("disabled"); + $("input[name=lightbox2_imagefield_use_node_title]").removeAttr("disabled"); + $("input[name=lightbox2_disable_close_click]").removeAttr("disabled"); + $("input[name=lightbox2_border_size]").removeAttr("disabled"); + $("input[name=lightbox2_box_color]").removeAttr("disabled"); + $("input[name=lightbox2_font_color]").removeAttr("disabled"); + $("input[name=lightbox2_top_position]").removeAttr("disabled"); + $("select[name=lightbox2_resize_sequence]").removeAttr("disabled"); + $("input[name=lightbox2_resize_speed]").removeAttr("disabled"); + $("input[name=lightbox2_fadein_speed]").removeAttr("disabled"); + $("input[name=lightbox2_slidedown_speed]").removeAttr("disabled"); + alt_layout_handler(); + zoom_handler(); + } +} + +function image_node_handler(event) { + // Image node, flickr, gallery2, inline and custom images stuff. + if ($("input[name=lightbox2_lite]").val() != 1) { + // Image node only stuff. + if ($("select[name=lightbox2_image_node]").val() !== 0) { + $("input[name=lightbox2_disable_nested_galleries]").removeAttr("disabled"); + $("select[name=lightbox2_display_image_size]").removeAttr("disabled"); + $("select[name='lightbox2_trigger_image_size[]']").removeAttr("disabled"); + } + else { + $("input[name=lightbox2_disable_nested_galleries]").attr("disabled", "disabled"); + $("select[name=lightbox2_display_image_size]").attr("disabled", "disabled"); + $("select[name='lightbox2_trigger_image_size[]']").attr("disabled", "disabled"); + } + } +} + +function lightbox2_lite_auto_handler(event) { + // Enable / disable the image node options. + if ($("input[name=lightbox2_lite]").val() == 1) { + // Disable iframe options. + $("input[name=lightbox2_default_frame_width]").attr("disabled", "disabled"); + $("input[name=lightbox2_default_frame_height]").attr("disabled", "disabled"); + $("input[name=lightbox2_frame_border]").attr("disabled", "disabled"); + + // Disable slideshow options. + $("input[name=lightbox2_slideshow_interval]").attr("disabled", "disabled"); + $("input[name=lightbox2_slideshow_automatic_start]").attr("disabled", "disabled"); + $("input[name=lightbox2_slideshow_automatic_exit]").attr("disabled", "disabled"); + $("input[name=lightbox2_slideshow_show_play_pause]").attr("disabled", "disabled"); + $("input[name=lightbox2_slideshow_pause_on_next_click]").attr("disabled", "disabled"); + $("input[name=lightbox2_slideshow_pause_on_previous_click]").attr("disabled", "disabled"); + $("input[name=lightbox2_loop_slides]").attr("disabled", "disabled"); + + // Disable automatic image handling options. + $("select[name=lightbox2_image_node]").attr("disabled", "disabled"); + $("select[name=lightbox2_display_image_size]").attr("disabled", "disabled"); + $("select[name='lightbox2_trigger_image_size[]']").attr("disabled", "disabled"); + $("select[name=lightbox2_flickr]").attr("disabled", "disabled"); + $("select[name=lightbox2_gallery2_blocks]").attr("disabled", "disabled"); + $("select[name=lightbox2_image_assist_custom]").attr("disabled", "disabled"); + $("select[name=lightbox2_inline]").attr("disabled", "disabled"); + $("select[name=lightbox2_custom_class_handler]").attr("disabled", "disabled"); + $("textarea[name=lightbox2_custom_trigger_classes]").attr("disabled", "disabled"); + $("input[name=lightbox2_disable_nested_galleries]").attr("disabled", "disabled"); + $("input[name=lightbox2_disable_nested_acidfree_galleries]").attr("disabled", "disabled"); + $("input[name=lightbox2_enable_acidfree_videos]").attr("disabled", "disabled"); + } + else { + // Enable iframe options. + $("input[name=lightbox2_default_frame_width]").removeAttr("disabled"); + $("input[name=lightbox2_default_frame_height]").removeAttr("disabled"); + $("input[name=lightbox2_frame_border]").removeAttr("disabled"); + + // Enable slideshow options. + $("input[name=lightbox2_slideshow_interval]").removeAttr("disabled"); + $("input[name=lightbox2_slideshow_automatic_start]").removeAttr("disabled"); + $("input[name=lightbox2_slideshow_automatic_exit]").removeAttr("disabled"); + $("input[name=lightbox2_slideshow_show_play_pause]").removeAttr("disabled"); + $("input[name=lightbox2_slideshow_pause_on_next_click]").removeAttr("disabled"); + $("input[name=lightbox2_slideshow_pause_on_previous_click]").removeAttr("disabled"); + $("input[name=lightbox2_loop_slides]").removeAttr("disabled"); + + // Enable automatic image handling options. + $("select[name=lightbox2_image_node]").removeAttr("disabled"); + $("select[name=lightbox2_flickr]").removeAttr("disabled"); + $("select[name=lightbox2_gallery2_blocks]").removeAttr("disabled"); + $("select[name=lightbox2_image_assist_custom]").removeAttr("disabled"); + $("select[name=lightbox2_inline]").removeAttr("disabled"); + $("select[name=lightbox2_custom_class_handler]").removeAttr("disabled"); + $("textarea[name=lightbox2_custom_trigger_classes]").removeAttr("disabled"); + $("select[name=lightbox2_display_image_size]").removeAttr("disabled"); + $("select[name='lightbox2_trigger_image_size[]']").removeAttr("disabled"); + $("input[name=lightbox2_disable_nested_galleries]").removeAttr("disabled"); + $("input[name=lightbox2_disable_nested_acidfree_galleries]").removeAttr("disabled"); + $("input[name=lightbox2_enable_acidfree_videos]").removeAttr("disabled"); + image_node_handler(); + } +} + +if (Drupal.jsEnabled) { + $(document).ready(function () { + + // Handle lightbox2_settings_form. + lightbox2_lite_general_handler(); + lightbox2_lite_auto_handler(); + image_node_handler(); + $("input[name=lightbox2_lite]").bind("click", lightbox2_lite_general_handler); + $("input[name=lightbox2_use_alt_layout]").bind("click", alt_layout_handler); + $("input[name=lightbox2_disable_resize]").bind("click", zoom_handler); + $("select[name=lightbox2_image_node]").bind("click", image_node_handler); + $("select[name=lightbox2_flickr]").bind("click", image_node_handler); + $("select[name=lightbox2_gallery2_blocks]").bind("click", image_node_handler); + $("select[name=lightbox2_image_assist_custom]").bind("click", image_node_handler); + $("select[name=lightbox2_inline]").bind("click", image_node_handler); + $("select[name=lightbox2_custom_class_handler]").bind("change", image_node_handler); + $("textarea[name=lightbox2_custom_trigger_classes]").bind("change", image_node_handler); + }); +} + + diff --git a/sites/all/modules/lightbox2/js/lightbox_lite.js b/sites/all/modules/lightbox2/js/lightbox_lite.js new file mode 100644 index 0000000..01a9e0d --- /dev/null +++ b/sites/all/modules/lightbox2/js/lightbox_lite.js @@ -0,0 +1,389 @@ +/* $Id: lightbox_lite.js,v 1.1.2.2.2.19 2010/06/07 14:54:30 snpower Exp $ */ + +/** + * Lightbox JS: Fullsize Image Overlays + * by Lokesh Dhakar - http://www.huddletogether.com + * + * For more information on this script, visit: + * http://huddletogether.com/projects/lightbox/ + * + * This script is distributed via Drupal.org with permission from Lokesh Dhakar. + * Under GPL license. + * Mailto: bugzie@gmail.com + */ + +// +// getPageScroll() +// Returns array with x,y page scroll values. +// Core code from - quirksmode.org +// +function getPageScroll() { + + var xScroll, yScroll; + + if (self.pageYOffset) { + yScroll = self.pageYOffset; + xScroll = self.pageXOffset; + + // Explorer 6 Strict + } + else if (document.documentElement && document.documentElement.scrollTop) { + yScroll = document.documentElement.scrollTop; + xScroll = document.documentElement.scrollLeft; + } + else if (document.body) {// all other Explorers + yScroll = document.body.scrollTop; + xScroll = document.body.scrollLeft; + } + + arrayPageScroll = [xScroll, yScroll]; + return arrayPageScroll; +} + + + +// getPageSize() +// Returns array with page width, height and window width, height +// Core code from - quirksmode.org +// Edit for Firefox by pHaez +function getPageSize() { + + var xScroll, yScroll; + + if (window.innerHeight && window.scrollMaxY) { + xScroll = window.innerWidth + window.scrollMaxX; + yScroll = window.innerHeight + window.scrollMaxY; + // all but Explorer Mac + } + else if (document.body.scrollHeight > document.body.offsetHeight) { + xScroll = document.body.scrollWidth; + yScroll = document.body.scrollHeight; + // Explorer Mac...would also work in Explorer 6 Strict, Mozilla and Safari + } + else { + xScroll = document.body.offsetWidth; + yScroll = document.body.offsetHeight; + } + + var windowWidth, windowHeight; + if (self.innerHeight) { // all except Explorer + if (document.documentElement.clientHeight) { + windowWidth = document.documentElement.clientWidth; + } + else { + windowWidth = self.innerWidth; + } + windowHeight = self.innerHeight; + } + else if (document.documentElement && document.documentElement.clientHeight) { // Explorer 6 Strict Mode + windowWidth = document.documentElement.clientWidth; + windowHeight = document.documentElement.clientHeight; + } + else if (document.body) { // other Explorers + windowWidth = document.body.clientWidth; + windowHeight = document.body.clientHeight; + } + + // for small pages with total height less then height of the viewport + if (yScroll < windowHeight) { + pageHeight = windowHeight; + } + else { + pageHeight = yScroll; + } + + // for small pages with total width less then width of the viewport + if (xScroll < windowWidth) { + pageWidth = xScroll; + } + else { + pageWidth = windowWidth; + } + + + arrayPageSize = [pageWidth, pageHeight, windowWidth, windowHeight]; + return arrayPageSize; +} + + +// pause(numberMillis) +function pause(ms) { + var date = new Date(); + var curDate = null; + do { curDate = new Date(); } + while (curDate - date < ms); +} + +// hideLightbox() +function hideLightbox() { + // get objects + objOverlay = document.getElementById('lightbox2-overlay'); + objLightbox = document.getElementById('lightbox'); + + // hide lightbox and overlay + objOverlay.style.display = 'none'; + objLightbox.style.display = 'none'; + + // make select boxes visible + selects = document.getElementsByTagName("select"); + for (i = 0; i != selects.length; i++) { + if (selects[i].style.display != "none") { + selects[i].style.visibility = "visible"; + } + } + + // make flash objects visible + embed = document.getElementsByTagName("embed"); + for (i = 0; i != embed.length; i++) { + if (embed[i].style.display != "none") { + embed[i].style.visibility = "visible"; + } + } + objects = document.getElementsByTagName("object"); + for (i = 0; i != objects.length; i++) { + if (objects[i].style.display != "none") { + objects[i].style.visibility = "visible"; + } + } + + // disable keydown listener + document.onkeydown = ''; +} + + +// getKey(key) +// Gets keycode. If 'x' is pressed then it hides the lightbox. +function getKey(e) { + if (e === null) { // ie + keycode = event.keyCode; + escapeKey = 27; + } + else { // mozilla + keycode = e.keyCode; + escapeKey = e.DOM_VK_ESCAPE; + } + key = String.fromCharCode(keycode).toLowerCase(); + + if (key == 'x' || key == 'c' || keycode == escapeKey) { hideLightbox(); } +} + + +// listenKey() +function listenKey () { document.onkeydown = getKey; } + + +function imgLoadingError(image, objImage, objLink) { + var settings = Drupal.settings.lightbox2; + image.src = settings.default_image; + objImage.src = settings.default_image; + objLink.href = settings.default_image; +} + + +// showLightbox() +// Preloads images. Pleaces new image in lightbox then centers and displays. +function showLightbox(objLink) { + var settings = Drupal.settings.lightbox2; + // prep objects + var objOverlay = document.getElementById('lightbox2-overlay'); + var objLightbox = document.getElementById('lightbox'); + var objCaption = document.getElementById('lightboxCaption'); + var objImage = document.getElementById('lightboxImage'); + var objLoadingImage = document.getElementById('loadingImage'); + var objLightboxDetails = document.getElementById('lightboxDetails'); + + var arrayPageSize = getPageSize(); + var arrayPageScroll = getPageScroll(); + + // set height of Overlay to take up whole page and show + objOverlay.style.height = (arrayPageSize[1] + 'px'); + objOverlay.style.display = 'block'; + objOverlay.style.opacity = settings.overlay_opacity; + objOverlay.style.backgroundColor = '#' + settings.overlay_color; + + // preload image + imgPreload = new Image(); + imgPreload.onerror = function() { imgLoadingError(this, objImage, objLink); }; + + imgPreload.onload = function() { + objImage.src = objLink.href; + + // center lightbox and make sure that the top and left values are not + // negative and the image placed outside the viewport + var lightboxTop = arrayPageScroll[1] + ((arrayPageSize[3] - 35 - imgPreload.height) / 2); + var lightboxLeft = ((arrayPageSize[0] - 20 - imgPreload.width) / 2); + + objLightbox.style.top = (lightboxTop < 0) ? "0px" : lightboxTop + "px"; + objLightbox.style.left = (lightboxLeft < 0) ? "0px" : lightboxLeft + "px"; + + + //objLightboxDetails.style.width = imgPreload.width + 'px'; + objLightbox.style.width = imgPreload.width + 'px'; + + if (objLink.getAttribute('title')) { + objCaption.style.display = 'block'; + //objCaption.style.width = imgPreload.width + 'px'; + objCaption.innerHTML = objLink.getAttribute('title'); + } + else { + objCaption.style.display = 'none'; + } + + // A small pause between the image loading and displaying is required with + // IE, this prevents the previous image displaying for a short burst + // causing flicker. + if (navigator.appVersion.indexOf("MSIE") != -1) { + pause(250); + } + + if (objLoadingImage) { objLoadingImage.style.display = 'none'; } + + // Hide select boxes as they will 'peek' through the image in IE + selects = document.getElementsByTagName("select"); + for (i = 0; i != selects.length; i++) { + if (selects[i].style.display != "none") { + selects[i].style.visibility = "hidden"; + } + } + + // Hide flash objects as they will 'peek' through the image in IE + embed = document.getElementsByTagName("embed"); + for (i = 0; i != embed.length; i++) { + if (embed[i].style.display != "none") { + embed[i].style.visibility = "hidden"; + } + } + objects = document.getElementsByTagName("object"); + for (i = 0; i != objects.length; i++) { + if (objects[i].style.display != "none") { + objects[i].style.visibility = "hidden"; + } + } + + objLightbox.style.display = 'block'; + + // After image is loaded, update the overlay height as the new image might + // have increased the overall page height. + arrayPageSize = getPageSize(); + objOverlay.style.height = (arrayPageSize[1] + 'px'); + + // Check for 'x' keydown + listenKey(); + + return false; + }; + + imgPreload.src = objLink.href; + +} + + + +// initLightbox() +// Function runs on window load, going through link tags looking for +// rel="lightbox". These links receive onclick events that enable the lightbox +// display for their targets. The function also inserts html markup at the top +// of the page which will be used as a container for the overlay pattern and +// the inline image. +function initLightbox() { + + if (!document.getElementsByTagName) { return; } + var anchors = document.getElementsByTagName("a"); + + // loop through all anchor tags + for (var i = 0; i < anchors.length; i++) { + var anchor = anchors[i]; + var relAttribute = String(anchor.getAttribute("rel")); + + if (anchor.getAttribute("href") && relAttribute.toLowerCase().match("lightbox")) { + $(anchor).click(function(e) { showLightbox(this); if (e.preventDefault) { e.preventDefault(); } return false; }); + } + } + + // the rest of this code inserts html at the top of the page that looks like + // this: + //
+ // + //
+ // + + var objBody = document.getElementsByTagName("body").item(0); + + // create overlay div and hardcode some functional styles (aesthetic styles are in CSS file) + var objOverlay = document.createElement("div"); + objOverlay.setAttribute('id', 'lightbox2-overlay'); + objOverlay.onclick = function () { hideLightbox(); return false; }; + objOverlay.style.display = 'none'; + objOverlay.style.position = 'absolute'; + objOverlay.style.top = '0'; + objOverlay.style.left = '0'; + objOverlay.style.zIndex = '90'; + objOverlay.style.width = '100%'; + objBody.insertBefore(objOverlay, objBody.firstChild); + + var arrayPageSize = getPageSize(); + var arrayPageScroll = getPageScroll(); + + // create loader image + var objLoadingImage = document.createElement("span"); + objLoadingImage.setAttribute('id', 'loadingImage'); + objOverlay.appendChild(objLoadingImage); + + // create lightbox div, same note about styles as above + var objLightbox = document.createElement("div"); + objLightbox.setAttribute('id', 'lightbox'); + objLightbox.style.display = 'none'; + objLightbox.style.position = 'absolute'; + objLightbox.style.zIndex = '100'; + objBody.insertBefore(objLightbox, objOverlay.nextSibling); + + // create link + var objLink = document.createElement("a"); + objLink.setAttribute('href', '#'); + objLink.setAttribute('title', 'Click to close'); + objLink.onclick = function () { hideLightbox(); return false; }; + objLightbox.appendChild(objLink); + + // create close button image + var objCloseButton = document.createElement("span"); + objCloseButton.setAttribute('id', 'closeButton'); + objLink.appendChild(objCloseButton); + + // create image + var objImage = document.createElement("img"); + objImage.setAttribute('id', 'lightboxImage'); + objLink.appendChild(objImage); + + // create details div, a container for the caption and keyboard message + var objLightboxDetails = document.createElement("div"); + objLightboxDetails.setAttribute('id', 'lightboxDetails'); + objLightbox.appendChild(objLightboxDetails); + + // create caption + var objCaption = document.createElement("div"); + objCaption.setAttribute('id', 'lightboxCaption'); + objCaption.style.display = 'none'; + objLightboxDetails.appendChild(objCaption); + + // create keyboard message + var settings = Drupal.settings.lightbox2; + var objKeyboardMsg = document.createElement("div"); + objKeyboardMsg.setAttribute('id', 'keyboardMsg'); + objKeyboardMsg.innerHTML = settings.lite_press_x_close; + objLightboxDetails.appendChild(objKeyboardMsg); + + +} + +Drupal.behaviors.initLightbox2 = function (context) { + initLightbox(); +}; diff --git a/sites/all/modules/lightbox2/js/lightbox_modal.js b/sites/all/modules/lightbox2/js/lightbox_modal.js new file mode 100644 index 0000000..339eef8 --- /dev/null +++ b/sites/all/modules/lightbox2/js/lightbox_modal.js @@ -0,0 +1,33 @@ +// $Id: lightbox_modal.js,v 1.1.2.5 2010/06/07 17:22:03 snpower Exp $ + +function lightbox2_login() { + $("a[href*='/user/login'], a[href*='?q=user/login']").each(function() { + $(this).attr({ + href: this.href.replace(/user\/login?/,"user/login/lightbox2"), + rel: 'lightmodal[|width:250px; height:210px;]' + }); + $(this).addClass('lightmodal-login'); + }); +} + +function lightbox2_contact() { + $("a[href$='/contact'], a[href$='?q=contact']").each(function() { + if (!this.href.match('admin/build/contact')) { + $(this).attr({ + href: this.href.replace(/contact?/,"contact/lightbox2"), + rel: 'lightmodal[|width:450px; height:450px;]' + }); + $(this).addClass('lightmodal-contact'); + } + }); +} + +Drupal.behaviors.initLightboxModal = function (context) { + if (Drupal.settings.lightbox2.enable_login) { + lightbox2_login(); + } + if (Drupal.settings.lightbox2.enable_contact) { + lightbox2_contact(); + } +}; + diff --git a/sites/all/modules/lightbox2/js/lightbox_video.js b/sites/all/modules/lightbox2/js/lightbox_video.js new file mode 100644 index 0000000..beeec84 --- /dev/null +++ b/sites/all/modules/lightbox2/js/lightbox_video.js @@ -0,0 +1,206 @@ +/* $Id: lightbox_video.js,v 1.1.4.20 2010/09/21 17:57:22 snpower Exp $ */ + +/** + * Lightbox video + * @author + * Stella Power, + */ + +var Lightvideo = { + + // startVideo() + startVideo: function (href) { + if (Lightvideo.checkKnownVideos(href)) { + return; + } + else if (href.match(/\.mov$/i)) { + if (navigator.plugins && navigator.plugins.length) { + Lightbox.modalHTML =''; + } else { + Lightbox.modalHTML = ''; + } + } + else if (href.match(/\.wmv$/i) || href.match(/\.asx$/i)) { + Lightbox.modalHTML = ''; + } + else { + Lightbox.videoId = href; + variables = ''; + if (!href.match(/\.swf$/i)) { + href = Lightbox.flvPlayer + '?file=' + href; + if (Lightbox.flvFlashvars.length) { + variables = Lightbox.flvFlashvars; + } + } + + Lightvideo.createEmbed(href, "flvplayer", "#ffffff", variables); + } + }, + + // createEmbed() + createEmbed: function(href, id, color, variables) { + var bgcolor = 'bgcolor="' + color + '"'; + var flashvars = ''; + if (variables) { + flashvars = 'flashvars="' + variables + '"'; + + } + Lightbox.modalHTML = ''; + }, + + + // checkKnownVideos() + checkKnownVideos: function(href) { + if (Lightvideo.checkYouTubeVideo(href) || Lightvideo.checkGoogleVideo(href) || + Lightvideo.checkMySpaceVideo(href) || Lightvideo.checkLiveVideo(href) || + Lightvideo.checkMetacafeVideo(href) || + Lightvideo.checkIFilmSpikeVideo(href) + ) { + return true; + } + return false; + }, + + + // checkYouTubeVideo() + checkYouTubeVideo: function(href) { + var patterns = [ + 'youtube.com/v/([^"&]+)', + 'youtube.com/watch\\?v=([^"&]+)', + 'youtube.com/\\?v=([^"&]+)' + ]; + + for (var i = 0; i < patterns.length; i++) { + var pattern = new RegExp(patterns[i], "i"); + var results = pattern.exec(href); + if (results !== null) { + Lightbox.videoId = results[1]; + var href = "http://www.youtube.com/v/"+Lightbox.videoId; + var variables = 'fs=1'; + if (Lightbox.flvFlashvars.length) { + variables = variables + '&' + Lightbox.flvFlashvars; + href = href + '&' + variables; + } + Lightvideo.createEmbed(href, "flvvideo", "#ffffff", variables); + return true; + } + } + return false; + }, + + // checkGoogleVideo() + checkGoogleVideo: function(href) { + var patterns = [ + 'http://video.google.[a-z]{2,4}/googleplayer.swf\\?docId=(-?\\d*)', + 'http://video.google.[a-z]{2,4}/videoplay\\?docid=([^&]*)&', + 'http://video.google.[a-z]{2,4}/videoplay\\?docid=(.*)' + ]; + + for (var i = 0; i < patterns.length; i++) { + var pattern = new RegExp(patterns[i], "i"); + var results = pattern.exec(href); + if (results !== null) { + Lightbox.videoId = results[1]; + var href = "http://video.google.com/googleplayer.swf?docId="+Lightbox.videoId+"&hl=en"; + var variables = 'fs=true'; + if (Lightbox.flvFlashvars.length) { + variables = variables + '&' + Lightbox.flvFlashvars; + href = href + '&' + variables; + } + Lightvideo.createEmbed(href, "flvvideo", "#ffffff", variables); + return true; + } + } + return false; + }, + + // checkMetacafeVideo() + checkMetacafeVideo: function(href) { + var patterns = [ + 'metacafe.com/watch/(\.[^/]*)/(\.[^/]*)/', + 'metacafe.com/watch/(\.[^/]*)/(\.*)', + 'metacafe.com/fplayer/(\.[^/]*)/(\.[^.]*).' + ]; + + for (var i = 0; i < patterns.length; i++) { + var pattern = new RegExp(patterns[i], "i"); + var results = pattern.exec(href); + if (results !== null) { + Lightbox.videoId = results[1]; + Lightvideo.createEmbed("http://www.metacafe.com/fplayer/"+Lightbox.videoId+"/.swf", "flvvideo", "#ffffff"); + return true; + } + } + return false; + }, + + // checkIFilmSpikeVideo() + checkIFilmSpikeVideo: function(href) { + var patterns = [ + 'spike.com/video/[^/&"]*?/(\\d+)', + 'ifilm.com/video/[^/&"]*?/(\\d+)', + 'spike.com/video/([^/&"]*)', + 'ifilm.com/video/([^/&"]*)' + ]; + + for (var i = 0; i < patterns.length; i++) { + var pattern = new RegExp(patterns[i], "i"); + var results = pattern.exec(href); + if (results !== null) { + Lightbox.videoId = results[1]; + Lightvideo.createEmbed("http://www.spike.com/efp", "flvvideo", "#000", "flvbaseclip="+Lightbox.videoId+"&"); + return true; + } + } + return false; + }, + + // checkMySpaceVideo() + checkMySpaceVideo: function(href) { + var patterns = [ + 'src="myspace.com/index.cfm\\?fuseaction=vids.individual&videoid=([^&"]+)', + 'myspace.com/index.cfm\\?fuseaction=vids.individual&videoid=([^&"]+)', + 'src="myspacetv.com/index.cfm\\?fuseaction=vids.individual&videoid=([^&"]+)"', + 'myspacetv.com/index.cfm\\?fuseaction=vids.individual&videoid=([^&"]+)' + ]; + + for (var i = 0; i < patterns.length; i++) { + var pattern = new RegExp(patterns[i], "i"); + var results = pattern.exec(href); + if (results !== null) { + Lightbox.videoId = results[1]; + Lightvideo.createEmbed("http://lads.myspace.com/videos/vplayer.swf", "flvvideo", "#ffffff", "m="+Lightbox.videoId); + return true; + } + } + return false; + }, + + // checkLiveVideo() + checkLiveVideo: function(href) { + var patterns = [ + 'livevideo.com/flvplayer/embed/([^"]*)"', + 'livevideo.com/video/[^/]*?/([^/]*)/', + 'livevideo.com/video/([^/]*)/' + ]; + + for (var i = 0; i < patterns.length; i++) { + var pattern = new RegExp(patterns[i], "i"); + var results = pattern.exec(href); + if (results !== null) { + Lightbox.videoId = results[1]; + Lightvideo.createEmbed("http://www.livevideo.com/flvplayer/embed/"+Lightbox.videoId, "flvvideo", "#ffffff"); + return true; + } + } + return false; + } + +}; diff --git a/sites/all/modules/lightbox2/lightbox2-insert-image.tpl.php b/sites/all/modules/lightbox2/lightbox2-insert-image.tpl.php new file mode 100644 index 0000000..6abed83 --- /dev/null +++ b/sites/all/modules/lightbox2/lightbox2-insert-image.tpl.php @@ -0,0 +1,27 @@ + tag. + * - __title__: The Title text, intended for use in the tag. + * - __description__: A description of the image, sometimes used as a caption. + */ +?> +__alt__ diff --git a/sites/all/modules/lightbox2/lightbox2.admin.inc b/sites/all/modules/lightbox2/lightbox2.admin.inc new file mode 100644 index 0000000..9924211 --- /dev/null +++ b/sites/all/modules/lightbox2/lightbox2.admin.inc @@ -0,0 +1,970 @@ + 'fieldset', + '#title' => t('Layout settings'), + '#collapsible' => TRUE, + '#collapsed' => FALSE, + ); + + // Define Lightbox2 Lite fieldset. + /* ------------------------------- */ + $use_lite = variable_get('lightbox2_lite', FALSE); + $form['layout_fieldset']['lightbox2_lite_options'] = array( + '#type' => 'fieldset', + '#title' => t('Lightbox2 lite'), + '#collapsible' => TRUE, + '#collapsed' => !$use_lite, + ); + + // Add checkbox for Lightbox2 Lite. + $form['layout_fieldset']['lightbox2_lite_options']['lightbox2_lite'] = array( + '#type' => 'checkbox', + '#title' => t('Use lightbox2 lite'), + '#description' => t('Checking this box will enable Lightbox2 Lite and will disable all of the automatic image URL re-formatting features. It also disables all grouping features.'), + '#default_value' => $use_lite, + ); + + + // Add checkbox for alternative layout. + $form['layout_fieldset']['lightbox2_use_alt_layout'] = array( + '#type' => 'checkbox', + '#title' => t('Use alternative layout'), + '#description' => t('Enabling this option alters the layout of the lightbox elements. In the alternative layout the navigational links appear under the image with the caption text, instead of being overlayed on the image itself. This doesn\'t apply when using Lightbox Lite.'), + '#default_value' => variable_get('lightbox2_use_alt_layout', FALSE), + ); + + // Add checkbox for force navigation display. + $form['layout_fieldset']['lightbox2_force_show_nav'] = array( + '#type' => 'checkbox', + '#title' => t('Force visibility of navigation links'), + '#description' => t('When viewing grouped images, the navigational links to the next and previous images are only displayed when you hover over the image. Checking this box forces these links to be displayed all the time.'), + '#default_value' => variable_get('lightbox2_force_show_nav', FALSE), + ); + + // Show caption + $form['layout_fieldset']['lightbox2_show_caption'] = array( + '#type' => 'checkbox', + '#title' => t('Show image caption'), + '#description' => t('Unset this to always hide the image caption (usually the title).'), + '#default_value' => variable_get('lightbox2_show_caption', TRUE), + ); + + // Add checkbox for "looping through images'. + $form['layout_fieldset']['lightbox2_loop_items'] = array( + '#type' => 'checkbox', + '#title' => t('Continuous galleries'), + '#description' => t('When viewing grouped images, the Next button on the last image will display the first image, while the Previous button on the first image will display the last image.'), + '#default_value' => variable_get('lightbox2_loop_items', FALSE), + ); + + // Add checkbox for node link target. + $form['layout_fieldset']['lightbox2_node_link_target'] = array( + '#type' => 'checkbox', + '#title' => t('Open image page in new window'), + '#description' => t('This controls whether the link to the image page underneath the image is opened in a new window or the current window.'), + '#default_value' => variable_get('lightbox2_node_link_target', FALSE), + '#return_value' => '_blank', + ); + + // Define Lightbox2 text settings. + /* ------------------------------- */ + $form['lightbox2_text_settings'] = array( + '#type' => 'fieldset', + '#title' => t('Text settings'), + '#collapsible' => TRUE, + '#collapsed' => TRUE, + ); + + // Add text box for link text to node. + $form['lightbox2_text_settings']['lightbox2_node_link_text'] = array( + '#type' => 'textfield', + '#title' => t('Text for image page link'), + '#description' => t('This is the text that will appear as the link to the image page underneath the image in the lightbox. Leave this blank for the link not to appear.'), + '#default_value' => variable_get('lightbox2_node_link_text', 'View Image Details'), + ); + + // Add text box for link text to node. + $form['lightbox2_text_settings']['lightbox2_download_link_text'] = array( + '#type' => 'textfield', + '#title' => t('Text for image original link'), + '#description' => t('This is the text that will appear as the link to the original file underneath the image in the lightbox. Leave this blank for the link not to appear. It will only appear for images uploaded via the "image" or "imagefield" modules. Users will need the "download original image" permission, but also the "view original images" permission if using the "image" module.'), + '#default_value' => variable_get('lightbox2_download_link_text', 'Download Original'), + ); + + // Add text box for image count for grouping. + $form['lightbox2_text_settings']['lightbox2_image_count_str'] = array( + '#type' => 'textfield', + '#title' => t('Image count text'), + '#description' => t('This text is used to display the image count underneath the image in the lightbox when image grouping is enabled. Use !current as a placeholder for the number of the current image and !total for the total number of images in the group. For example, "Image !current of !total". Leave blank for text not to appear.'), + '#default_value' => variable_get('lightbox2_image_count_str', 'Image !current of !total'), + ); + + // Add text box for page count for grouping. + $form['lightbox2_text_settings']['lightbox2_page_count_str'] = array( + '#type' => 'textfield', + '#title' => t('Page count text'), + '#description' => t('This text is used to display the page count underneath HTML content displayed in the lightbox when using groups. Use !current as a placeholder for the number of the current page and !total for the total number of pages in the group. For example, "Page !current of !total". Leave blank for text not to appear.'), + '#default_value' => variable_get('lightbox2_page_count_str', 'Page !current of !total'), + ); + + // Add text box for video count for grouping. + $form['lightbox2_text_settings']['lightbox2_video_count_str'] = array( + '#type' => 'textfield', + '#title' => t('Video count text'), + '#description' => t('This text is used to display the count underneath video content displayed in the lightbox when using groups. Use !current as a placeholder for the number of the current video and !total for the total number of videos in the group. For example, "Video !current of !total". Leave blank for text not to appear.'), + '#default_value' => variable_get('lightbox2_video_count_str', 'Video !current of !total'), + ); + + // Add text box for video count for grouping. + $form['lightbox2_text_settings']['lightbox2_filter_xss_allowed_tags'] = array( + '#type' => 'textfield', + '#title' => t('Allowed HTML tags'), + '#description' => t('A list of comma separated HTML tags which are allowed to be used in the caption text area.'), + '#default_value' => variable_get('lightbox2_filter_xss_allowed_tags', 'p, br, a, em, strong, cite, code, ul, ol, li, dl, dt, dd'), + ); + + + // Define Lightbox2 zoom fieldset. + /* -------------------------------- */ + $form['zoom_fieldset'] = array( + '#type' => 'fieldset', + '#title' => t('Image resize settings'), + '#collapsible' => TRUE, + '#collapsed' => TRUE, + ); + + // Add checkbox for resize image. + $form['zoom_fieldset']['lightbox2_disable_resize'] = array( + '#type' => 'checkbox', + '#title' => t('Disable resizing feature'), + '#description' => t('By default, when the image being displayed in the lightbox is larger than the browser window, it is resized to fit within the window and a zoom button is provided for users who wish to view the image in its original size. Checking this box will disable this feature and all images will be displayed without any resizing.'), + '#default_value' => variable_get('lightbox2_disable_resize', FALSE), + ); + + // Add checkbox for zoom image. + $form['zoom_fieldset']['lightbox2_disable_zoom'] = array( + '#type' => 'checkbox', + '#title' => t('Disable zoom in / out feature'), + '#description' => t('When the image being displayed in the lightbox is resized to fit in the browser window, a "zoom in" button is shown. This allows the user to zoom in to see the original full size image. They will then see a "zoom out" button which will allow them to see the smaller resized version. Checking this box will prevent these buttons from appearing.'), + '#default_value' => variable_get('lightbox2_disable_zoom', FALSE), + ); + + // Define Lightbox2 modal form fieldset. + /* -------------------------------------- */ + $form['modal_form_fieldset'] = array( + '#type' => 'fieldset', + '#title' => t('Modal form settings'), + '#collapsible' => TRUE, + '#collapsed' => TRUE, + ); + + // Add checkbox for login support. + $form['modal_form_fieldset']['lightbox2_enable_login'] = array( + '#type' => 'checkbox', + '#title' => t('Enable login support'), + '#description' => t('Enabling this option will modify all login links so that the login form appears in a lightbox.'), + '#default_value' => variable_get('lightbox2_enable_login', FALSE), + ); + + // Add checkbox for contact form support. + $form['modal_form_fieldset']['lightbox2_enable_contact'] = array( + '#type' => 'checkbox', + '#title' => t('Enable contact form support'), + '#description' => t('Enabling this option will modify all contact links so that the contact form appears in a lightbox.'), + '#default_value' => variable_get('lightbox2_enable_contact', FALSE), + ); + + // Define Lightbox2 video fieldset. + /* -------------------------------- */ + $form['video_fieldset'] = array( + '#type' => 'fieldset', + '#title' => t('Video settings'), + '#collapsible' => TRUE, + '#collapsed' => TRUE, + ); + + // Add checkbox for video support. + $form['video_fieldset']['lightbox2_enable_video'] = array( + '#type' => 'checkbox', + '#title' => t('Enable video support'), + '#description' => t('By default, video support is disabled in order to reduce the amount of javascript needed. Checking this box will enable it.'), + '#default_value' => variable_get('lightbox2_enable_video', FALSE), + ); + + // Add textfield for FLV Player path. + $form['video_fieldset']['lightbox2_flv_player_path'] = array( + '#type' => 'textfield', + '#title' => t('Path to FLV Player'), + '#description' => t('The path to the FLV player, relative to Drupal root directory. No leading slashes.'), + '#default_value' => variable_get('lightbox2_flv_player_path', 'flvplayer.swf'), + ); + + // Add textfield for FLV Player flashvars. + $form['video_fieldset']['lightbox2_flv_player_flashvars'] = array( + '#type' => 'textfield', + '#title' => t('FLV Player flashvars'), + '#description' => t('Flashvars for the FLV Player where supported, e.g. "autoplay=1&playerMode=normal".'), + '#default_value' => variable_get('lightbox2_flv_player_flashvars', ''), + ); + + // Define Lightbox2 page specific settings fieldset. + /* ------------------------------------------------ */ + $form['lightbox2_page_init'] = array( + '#type' => 'fieldset', + '#title' => t('Page specific lightbox2 settings'), + '#collapsible' => TRUE, + '#collapsed' => TRUE, + ); + // Add radio buttons for the actions to take for the listed pages, i.e. + // disable or enable the lightbox functionality. + $page_options = array( + 'page_enable' => t('Load only on the listed pages.'), + 'page_disable' => t('Load on every page except the listed pages.'), + ); + $form['lightbox2_page_init']['lightbox2_page_init_action'] = array( + '#type' => 'radios', + '#options' => $page_options, + '#title' => t('Enable lightbox2 on specific pages'), + '#default_value' => variable_get('lightbox2_page_init_action', 'page_disable'), + ); + // Add text input for list of pages to take specific action on. + $form['lightbox2_page_init']['lightbox2_page_list'] = array( + '#type' => 'textarea', + '#title' => t('Pages'), + '#description' => t('List one page per line as Drupal paths. The * character is a wildcard. Example paths are "node/add/page" and "node/add/*". Use <front> to match the front page.'), + '#default_value' => variable_get('lightbox2_page_list', ''), + ); + + // Define cck settings fieldset. + /* ------------------------------------ */ + if ((module_exists('emfield') && module_exists('emimage')) || (module_exists('imagefield') && module_exists('imagecache'))) { + $form['cck_options'] = array( + '#type' => 'fieldset', + '#title' => t('CCK display settings'), + '#collapsible' => TRUE, + '#collapsed' => TRUE, + ); + + $cck_options = array( + 0 => t('No grouping'), + 1 => t('Group by field name'), + 2 => t('Group by node id'), + 3 => t('Group by field name and node id'), + 4 => t('Group all nodes and fields'), + ); + + // Add checkbox for emfield emimage grouping. + if (module_exists('emfield') && module_exists('emimage')) { + $form['cck_options']['lightbox2_image_ncck_group_node_id'] = array( + '#type' => 'select', + '#title' => t('Select Emfield Image grouping in Views'), + '#description' => t('By default, emfield images in views are grouped by the field name they appear in the view in. You can override that grouping here.'), + '#options' => $cck_options, + '#default_value' => variable_get('lightbox2_image_ncck_group_node_id', 1), + ); + } + + // Add checkbox for imagefield grouping. + if (module_exists('imagefield') && module_exists('imagecache')) { + $form['cck_options']['lightbox2_imagefield_group_node_id'] = array( + '#type' => 'select', + '#title' => t('Select Imagefield grouping in Views'), + '#description' => t('By default, imagefields in views are grouped by the field name they appear in the view in. You can override that grouping here.'), + '#options' => $cck_options, + '#default_value' => variable_get('lightbox2_imagefield_group_node_id', 1), + ); + $form['cck_options']['lightbox2_imagefield_use_node_title'] = array( + '#type' => 'checkbox', + '#title' => t('Use node title as caption'), + '#description' => t('By default, the caption for imagefields is the image title text configured. If no title is configured, then the alt text will be used. This option allows you to override that and always display the node title as the image caption.'), + '#default_value' => variable_get('lightbox2_imagefield_use_node_title', FALSE), + ); + $form['cck_options']['lightbox2_view_image_text'] = array( + '#type' => 'textfield', + '#title' => t('Text to view image'), + '#description' => t('This is the text that can appear when linking to the image using CCK imagefields.'), + '#default_value' => variable_get('lightbox2_view_image_text', 'View image'), + ); + + } + } + + + // Define advanced settings fieldset. + /* ---------------------------------- */ + $form['advanced_options'] = array( + '#type' => 'fieldset', + '#title' => t('Advanced settings'), + '#collapsible' => TRUE, + '#collapsed' => TRUE, + ); + + // Allow users to decide where javascript should be loaded - header or footer. + // Header is recommended so user can click on images before page has finished + // loading, but footer is needed for sites in IE which use SWFObject. + $form['advanced_options']['lightbox2_js_location'] = array( + '#type' => 'select', + '#title' => t('Location of javscript'), + '#options' => array('header' => t('Header'), 'footer' => t('Footer')), + '#description' => t('By default, the lightbox javascript files are loaded in the HTML header. However, for sites using SWFObject to load their Flash content, the footer setting is recommended to prevent "Operation Aborted" errors in IE. If using the footer setting, please note that not all themes correctly implement the footer region and may require a small change.'), + '#default_value' => variable_get('lightbox2_js_location', 'header'), + ); + + $form['advanced_options']['lightbox2_disable_close_click'] = array( + '#type' => 'checkbox', + '#title' => t('Click on overlay or lightbox to close it'), + '#description' => t('Enable user to close lightbox by clicking on the lightbox itself or the overlay background.'), + '#default_value' => variable_get('lightbox2_disable_close_click', TRUE), + ); + + // Define keyboard shortcuts fieldset. + /* ---------------------------------- */ + $form['advanced_options']['keyboard_shortcuts'] = array( + '#type' => 'fieldset', + '#title' => t('Keyboard shortcuts'), + '#description' => t('Configure the keyboard shortcuts for controlling the lightbox. These options do not apply to the Lightbox2 Lite version, which uses the default "Close keys" (c, x and esc) to close the lightbox.'), + '#collapsible' => TRUE, + '#collapsed' => TRUE, + ); + + $form['advanced_options']['keyboard_shortcuts']['lightbox2_keys_close'] = array( + '#type' => 'textfield', + '#title' => t('Close keys'), + '#description' => t("A list of keys (or key codes) that a user may use to close the lightbox. Values should be separated by a space. Defaults to 'c x 27' (c, x, or esc)."), + '#default_value' => variable_get('lightbox2_keys_close', 'c x 27'), + ); + + $form['advanced_options']['keyboard_shortcuts']['lightbox2_keys_previous'] = array( + '#type' => 'textfield', + '#title' => t('Previous keys'), + '#description' => t("A list of keys (or key codes) that a user may use to navigate to the previous item in the lightbox. Values should be separated by a space. Defaults to 'p 37' (p or left arrow)."), + '#default_value' => variable_get('lightbox2_keys_previous', 'p 37'), + ); + + $form['advanced_options']['keyboard_shortcuts']['lightbox2_keys_next'] = array( + '#type' => 'textfield', + '#title' => t('Next keys'), + '#description' => t("A list of keys (or key codes) that a user may use to navigate to the next item in the lightbox. Values should be separated by a space. Defaults to 'n 39' (n or right arrow)."), + '#default_value' => variable_get('lightbox2_keys_next', 'n 39'), + ); + + $form['advanced_options']['keyboard_shortcuts']['lightbox2_keys_zoom'] = array( + '#type' => 'textfield', + '#title' => t('Zoom keys'), + '#description' => t("A list of keys (or key codes) that a user may use to zoom in / out of images in the lightbox. Values should be separated by a space. Defaults to 'z'."), + '#default_value' => variable_get('lightbox2_keys_zoom', 'z'), + ); + + $form['advanced_options']['keyboard_shortcuts']['lightbox2_keys_play_pause'] = array( + '#type' => 'textfield', + '#title' => t('Pause / play keys'), + '#description' => t("A list of keys (or key codes) that a user may use to pause / play the lightbox. Values should be separated by a space. Defaults to '32' (spacebar)."), + '#default_value' => variable_get('lightbox2_keys_play_pause', '32'), + ); + + + + + // Define border settings fieldset. + /* ---------------------------------- */ + $form['advanced_options']['skin_settings'] = array( + '#type' => 'fieldset', + '#title' => t('Skin settings'), + '#collapsible' => TRUE, + '#collapsed' => TRUE, + ); + + $form['advanced_options']['skin_settings']['lightbox2_border_size'] = array( + '#type' => 'textfield', + '#title' => t('Border size'), + '#size' => 6, + '#maxlength' => 6, + '#description' => t('Enter the size of the border in pixels to display around the image.'), + '#default_value' => variable_get('lightbox2_border_size', 10), + ); + + $form['advanced_options']['skin_settings']['lightbox2_box_color'] = array( + '#type' => 'textfield', + '#title' => t('Lightbox color'), + '#field_prefix' => '#', + '#size' => 6, + '#maxlength' => 6, + '#description' => t('Enter a hexadecimal color value for the border. For example fff or ffffff for white).'), + '#default_value' => variable_get('lightbox2_box_color', 'fff'), + ); + + $form['advanced_options']['skin_settings']['lightbox2_font_color'] = array( + '#type' => 'textfield', + '#title' => t('Font color'), + '#field_prefix' => '#', + '#size' => 6, + '#maxlength' => 6, + '#description' => t('Enter a hexadecimal color value for the font. For example 000 or 000000 for black).'), + '#default_value' => variable_get('lightbox2_font_color', '000'), + ); + + $form['advanced_options']['skin_settings']['lightbox2_top_position'] = array( + '#type' => 'textfield', + '#title' => t('Distance from top'), + '#size' => 6, + '#maxlength' => 6, + '#description' => t('Enter the position of the top of the lightbox in pixels. Leave blank for automatic calculation.'), + '#default_value' => variable_get('lightbox2_top_position', ''), + ); + + + + // Define overlay settings fieldset. + /* ---------------------------------- */ + $form['advanced_options']['overlay_settings'] = array( + '#type' => 'fieldset', + '#title' => t('Overlay settings'), + '#collapsible' => TRUE, + '#collapsed' => TRUE, + ); + // Add checkbox for overlay opacity. + for ($i = 0; $i < 10; $i++) { + $opacity_options["0.$i"] = "0.$i"; + } + $opacity_options["1.0"] = "1.0"; + $form['advanced_options']['overlay_settings']['lightbox2_overlay_opacity'] = array( + '#type' => 'select', + '#title' => t('Overlay opacity'), + '#options' => $opacity_options, + '#description' => t('The overlay opacity setting determines how visible the background page is behind the lightbox. The opacity value can range from 0.0 to 1.0 where 0.0 is 100% transparent and 1.0 is 100% opaque.'), + '#default_value' => variable_get('lightbox2_overlay_opacity', 0.8), + ); + + $form['advanced_options']['overlay_settings']['lightbox2_overlay_color'] = array( + '#type' => 'textfield', + '#title' => t('Overlay color'), + '#field_prefix' => '#', + '#size' => 6, + '#maxlength' => 6, + '#description' => t('Enter a hexadecimal color value for the overlay. For example 000 or 000000 for black).'), + '#default_value' => variable_get('lightbox2_overlay_color', '000'), + ); + + + // Define animation settings fieldset. + /* ----------------------------------- */ + $form['advanced_options']['animation_settings'] = array( + '#type' => 'fieldset', + '#title' => t('Animation settings'), + '#collapsible' => TRUE, + '#collapsed' => TRUE, + ); + // Set animation help text. + $form['advanced_options']['animation_settings']['animation_options_help'] = array( + '#value' => '

'. t("These options aren't available when using Lightbox2 Lite.") .'

', + ); + $resize_sequence_options = array( + t('Simultaneous'), + t('Width then height'), + t('Height then width'), + ); + $form['advanced_options']['animation_settings']['lightbox2_resize_sequence'] = array( + '#type' => 'select', + '#title' => t('Resize sequence'), + '#options' => $resize_sequence_options, + '#description' => t('The sequence to use for the resizing animation.'), + '#default_value' => variable_get('lightbox2_resize_sequence', 0), + ); + $form['advanced_options']['animation_settings']['lightbox2_resize_speed'] = array( + '#type' => 'textfield', + '#title' => t('Resize duration'), + '#size' => 5, + '#maxlength' => 5, + '#description' => t('The duration (in seconds) of the resizing animation. Enter a value between 0 and 10.'), + '#default_value' => variable_get('lightbox2_resize_speed', 0.4), + ); + $form['advanced_options']['animation_settings']['lightbox2_fadein_speed'] = array( + '#type' => 'textfield', + '#title' => t('Appearance duration'), + '#size' => 5, + '#maxlength' => 5, + '#description' => t('The duration (in seconds) of the lightbox appearance animation. Enter a positive number less than 10.'), + '#default_value' => variable_get('lightbox2_fadein_speed', 0.4), + ); + + + $form['advanced_options']['animation_settings']['lightbox2_slidedown_speed'] = array( + '#type' => 'textfield', + '#title' => t('Caption slide down duration'), + '#size' => 5, + '#maxlength' => 5, + '#description' => t('The duration (in seconds) of the caption sliding-down animation. Enter a value between 0 and 10.'), + '#default_value' => variable_get('lightbox2_slidedown_speed', 0.6), + ); + + return system_settings_form($form); +} + +/** + * Validation function for the general configuration form. + * + * Ensure that the hex color value submitted is valid and that the speeds are + * numeric. + */ +function lightbox2_general_settings_form_validate($form, &$form_state) { + if ($form_state['values']['op'] == t('Save configuration')) { + $border_size = $form_state['values']['lightbox2_border_size']; + $box_hex_colour = $form_state['values']['lightbox2_box_color']; + $font_hex_colour = $form_state['values']['lightbox2_font_color']; + $top_position = $form_state['values']['lightbox2_top_position']; + $overlay_hex_colour = $form_state['values']['lightbox2_overlay_color']; + $resize_speed = $form_state['values']['lightbox2_resize_speed']; + $fadein_speed = $form_state['values']['lightbox2_fadein_speed']; + $slide_down_speed = $form_state['values']['lightbox2_slidedown_speed']; + $flv_player_path = $form_state['values']['lightbox2_flv_player_path']; + + if (!empty($flv_player_path) && $form_state['values']['lightbox2_enable_video']) { + if (strpos($flv_player_path, base_path()) === 0) { + $flv_player_path = drupal_substr($flv_player_path, drupal_strlen(base_path())); + } + if (!file_exists($flv_player_path)) { + form_set_error('lightbox2_flv_player_path', t("FLV player path doesn't exist.")); + } + } + + if (!_lightbox2_validate_hex_color($overlay_hex_colour)) { + form_set_error('lightbox2_overlay_color', t('You must enter a properly formed hex value.')); + } + + if (!$form_state['values']['lightbox2_lite']) { + if (!is_numeric($border_size) || $border_size < 0) { + form_set_error('lightbox2_border_size', t('You must enter a size greater than 0 pixels.')); + } + + if (!_lightbox2_validate_hex_color($box_hex_colour)) { + form_set_error('lightbox2_box_color', t('You must enter a properly formed hex value.')); + } + + if (!_lightbox2_validate_hex_color($font_hex_colour)) { + form_set_error('lightbox2_font_color', t('You must enter a properly formed hex value.')); + } + + if (!empty($top_position) && (!is_numeric($top_position) || $top_position < 0)) { + form_set_error('lightbox2_top_position', t('You must enter a size greater than 0 pixels. Leave blank for default positioning.')); + } + + if (!is_numeric($resize_speed) || $resize_speed <= 0 || $resize_speed >= 10) { + form_set_error('lightbox2_resize_speed', t('You must enter a duration between 0 and 10 seconds.')); + } + + if (!is_numeric($fadein_speed) || $fadein_speed < 0 || $fadein_speed >= 10) { + form_set_error('lightbox2_fadein_speed', t('You must enter a duration between 0 and 10 seconds.')); + } + + if (!is_numeric($slide_down_speed) || $slide_down_speed <= 0 || $slide_down_speed >= 10) { + form_set_error('lightbox2_slidedown_speed', t('You must enter a duration between 0 and 10 seconds.')); + } + } + } +} + +/** + * Submit function for the general configuration form. + */ +function lightbox2_general_settings_form_submit($form, &$form_state) { + cache_clear_all(); +} + +/** + * Configuration form for controlling the slideshow behaviour. + */ +function lightbox2_slideshow_settings_form() { + + // Add the javascript which disables / enables form elements. + drupal_add_js(drupal_get_path('module', 'lightbox2') .'/js/lightbox2.js', 'module'); + + // Set up a hidden variable. + $form['lightbox2_lite'] = array( + '#type' => 'hidden', + '#value' => variable_get('lightbox2_lite', FALSE), + ); + + + // Add text box for slideshow interval. + $form['lightbox2_slideshow_interval'] = array( + '#type' => 'textfield', + '#title' => t('Interval seconds'), + '#description' => t('The slideshow interval is the length of time in seconds an image is visible before the slideshow shows the next image.'), + '#default_value' => variable_get('lightbox2_slideshow_interval', 5), + '#size' => 20, + ); + + // Add checkbox for slideshow automatic start. + $form['lightbox2_slideshow_automatic_start'] = array( + '#type' => 'checkbox', + '#title' => t('Automatically start slideshow'), + '#description' => t('When enabled the slideshow will automatically start.'), + '#default_value' => variable_get('lightbox2_slideshow_automatic_start', TRUE), + ); + + // Add checkbox for slideshow automatic exit. + $form['lightbox2_slideshow_automatic_exit'] = array( + '#type' => 'checkbox', + '#title' => t('Automatically exit slideshow'), + '#description' => t('When enabled the lightbox will automatically close after displaying the last image.'), + '#default_value' => variable_get('lightbox2_slideshow_automatic_exit', TRUE), + ); + + // Add checkbox for showing hte play / pause button. + $form['lightbox2_slideshow_show_play_pause'] = array( + '#type' => 'checkbox', + '#title' => t('Show play / pause button'), + '#description' => t('When enabled, a play / pause button will be shown in the slideshow allowing the user more control over their viewing experience.'), + '#default_value' => variable_get('lightbox2_slideshow_show_play_pause', TRUE), + ); + + // Add checkbox for "pausing on next click". + $form['lightbox2_slideshow_pause_on_next_click'] = array( + '#type' => 'checkbox', + '#title' => t('Pause slideshow on "Next Image" click'), + '#description' => t('When enabled the slideshow is automatically paused, and the following image shown, when the "Next" button is clicked.'), + '#default_value' => variable_get('lightbox2_slideshow_pause_on_next_click', FALSE), + ); + + // Add checkbox for "pausing on prev click". + $form['lightbox2_slideshow_pause_on_previous_click'] = array( + '#type' => 'checkbox', + '#title' => t('Pause slideshow on "Previous Image" click'), + '#description' => t('When enabled the slideshow is automatically paused, and the previous image shown, when the "Previous" button is clicked.'), + '#default_value' => variable_get('lightbox2_slideshow_pause_on_previous_click', TRUE), + ); + + // Add checkbox for "looping through slides'. + $form['lightbox2_loop_slides'] = array( + '#type' => 'checkbox', + '#title' => t('Continuous loop'), + '#description' => t('When enabled the slideshow will automatically start over after displaying the last slide. This prevents the slideshow from automatically exiting when enabled.'), + '#default_value' => variable_get('lightbox2_loop_slides', FALSE), + ); + + return system_settings_form($form); +} + +/** + * Validation function for the slideshow configuration form. + * + * Ensure that the slideshow interval submitted is numeric. + */ +function lightbox2_slideshow_settings_form_validate($form, &$form_state) { + if (!is_numeric($form_state['values']['lightbox2_slideshow_interval'])) { + form_set_error('lightbox2_slideshow_interval', t('The "interval seconds" value must be numeric.')); + } +} + +/** + * Configuration form for controlling the iframe behaviour. + */ +function lightbox2_iframe_settings_form() { + + // Add the javascript which disables / enables form elements. + drupal_add_js(drupal_get_path('module', 'lightbox2') .'/js/lightbox2.js', 'module'); + + // Set up a hidden variable. + $form['lightbox2_lite'] = array( + '#type' => 'hidden', + '#value' => variable_get('lightbox2_lite', FALSE), + ); + + + // Add text box for iframe width. + $form['lightbox2_default_frame_width'] = array( + '#type' => 'textfield', + '#title' => t('Default width'), + '#description' => t('The default width of the iframe in pixels.'), + '#default_value' => variable_get('lightbox2_default_frame_width', 600), + '#size' => 20, + ); + + // Add text box for iframe height. + $form['lightbox2_default_frame_height'] = array( + '#type' => 'textfield', + '#title' => t('Default height'), + '#description' => t('The default height of the iframe in pixels.'), + '#default_value' => variable_get('lightbox2_default_frame_height', 400), + '#size' => 20, + ); + + // Add option for iframe border. + $form['lightbox2_frame_border'] = array( + '#type' => 'checkbox', + '#title' => t('Enable border'), + '#description' => t('Enable iframe border. You can modify the border style in your theme\'s css file using the iframe\'s id "lightboxFrame".'), + '#default_value' => variable_get('lightbox2_frame_border', 1), + ); + + return system_settings_form($form); +} + +/** + * Validation function for the iframe configuration form. + * + * Ensure that the iframe width and height submitted are numeric. + */ +function lightbox2_iframe_settings_form_validate($form, &$form_state) { + if (!is_numeric($form_state['values']['lightbox2_default_frame_width'])) { + form_set_error('lightbox2_slideshow_interval', t('The "default width" value must be numeric.')); + } + if (!is_numeric($form_state['values']['lightbox2_default_frame_height'])) { + form_set_error('lightbox2_slideshow_interval', t('The "default height" value must be numeric.')); + } +} + + +/** + * Configuration form the automatic image handling functionality. + */ +function lightbox2_auto_image_handling_settings_form() { + + // Add the javascript which disables / enables form elements. + drupal_add_js(drupal_get_path('module', 'lightbox2') .'/js/lightbox2.js', 'module'); + + // Set up a hidden variable. + $form['lightbox2_lite'] = array( + '#type' => 'hidden', + '#value' => variable_get('lightbox2_lite', FALSE), + ); + + $automatic_options = array( + 0 => t('Disabled'), + 1 => t('Lightbox'), + 2 => t('Lightbox grouped'), + 3 => t('Slideshow'), + 4 => t('HTML content'), + 5 => t('HTML content grouped'), + ); + + // Set image node options help text. + $form['image_node_options'] = array( + '#value' => t('These options allow automatic URL re-formatting of images. This removes the need for you to add \'rel="lightbox"\' to each image link throughout your site. You can select which image sizes will trigger the lightbox and configure a list of image CSS classes which should also have their URLs automatically re-formatted. This feature is not available when using Lightbox2 Lite.'), + ); + + // Define handler settings fieldset. + /* --------------------------------- */ + $form['handler_options'] = array( + '#type' => 'fieldset', + '#title' => t('Automatic handlers'), + '#collapsible' => TRUE, + '#collapsed' => FALSE, + ); + + // Define image nodes settings fieldset. + /* ------------------------------------- */ + $form['handler_options']['image_node_options'] = array( + '#type' => 'fieldset', + '#title' => t('Image node settings'), + '#collapsible' => TRUE, + '#collapsed' => TRUE, + ); + + // Add checkbox for image nodes. + $form['handler_options']['image_node_options']['lightbox2_image_node'] = array( + '#type' => 'select', + '#title' => t('Automatic handler for image nodes'), + '#options' => $automatic_options, + '#description' => t('Choose how URLs for image nodes will be automatically handled.'), + '#default_value' => variable_get('lightbox2_image_node', 0), + ); + + // Add drop-down for list of available image sizes. + if (module_exists('image')) { + $sizes = _image_get_sizes(); + foreach ($sizes as $size_key => $size) { + if ($size_key == 'original' or $size_key == '_original') { + $size_key = 'original'; + } + $size_options[$size_key] = $size['label']; + } + $form['handler_options']['image_node_options']['lightbox2_display_image_size'] = array( + '#type' => 'select', + '#title' => t('Lightbox image display size'), + '#options' => $size_options, + '#default_value' => variable_get('lightbox2_display_image_size', 'original'), + '#description' => t('Select which image size will be loaded in the lightbox. This only applies to images uploaded with the Image module.'), + ); + + $form['handler_options']['image_node_options']['lightbox2_trigger_image_size'] = array( + '#type' => 'select', + '#multiple' => TRUE, + '#title' => t('Image trigger size'), + '#options' => $size_options, + '#default_value' => variable_get('lightbox2_trigger_image_size', array('thumbnail')), + '#description' => t('Select which image size, when clicked on, will automatically trigger the lightbox. This only applies to images uploaded with the Image module.'), + ); + + } + + // Add checkbox for disabling lightbox for gallery lists. + $form['handler_options']['image_node_options']['lightbox2_disable_nested_galleries'] = array( + '#type' => 'checkbox', + '#title' => t('Disable lightbox for gallery lists'), + '#description' => t('Checking this box will disable the lightbox for images in gallery lists. This means it is possible to open a gallery by clicking on the teaser image, but the lightbox will still appear when viewing images within the gallery. This only applies to image galleries created with the "image gallery" module.'), + '#default_value' => variable_get('lightbox2_disable_nested_galleries', TRUE), + ); + + // Define flickr fieldset. + /* ----------------------- */ + $form['handler_options']['flickr_options'] = array( + '#type' => 'fieldset', + '#title' => t('Flickr images'), + '#collapsible' => TRUE, + '#collapsed' => TRUE, + ); + // Add checkbox for flickr image support. + $form['handler_options']['flickr_options']['lightbox2_flickr'] = array( + '#type' => 'select', + '#title' => t('Automatic handler for Flickr images'), + '#options' => $automatic_options, + '#description' => t('Choose how URLs for Flickr images will be automatically handled.'), + '#default_value' => variable_get('lightbox2_flickr', 0), + ); + + // Define gallery2 fieldset. + /* ------------------------- */ + $form['handler_options']['gallery2_options'] = array( + '#type' => 'fieldset', + '#title' => t('Gallery2 images'), + '#collapsible' => TRUE, + '#collapsed' => TRUE, + ); + // Add checkbox for gallery2 block image support. + $form['handler_options']['gallery2_options']['lightbox2_gallery2_blocks'] = array( + '#type' => 'select', + '#title' => t('Automatic handler for Gallery2 block images'), + '#options' => $automatic_options, + '#description' => t('Choose how URLs for images, contained within Gallery2 image blocks, will be automatically handled.'), + '#default_value' => variable_get('lightbox2_gallery2_blocks', 0), + ); + + // Define inline fieldset. + /* ----------------------- */ + $form['handler_options']['inline_options'] = array( + '#type' => 'fieldset', + '#title' => t('Inline module images'), + '#collapsible' => TRUE, + '#collapsed' => TRUE, + ); + // Add checkbox for inline image support. + $form['handler_options']['inline_options']['lightbox2_inline'] = array( + '#type' => 'select', + '#title' => t('Automatic handler for Inline module images'), + '#options' => $automatic_options, + '#description' => t('Choose how URLs for Inline module images will be automatically handled.'), + '#default_value' => variable_get('lightbox2_inline', 0), + ); + + // Define image assist fieldset. + /* ----------------------------- */ + $form['handler_options']['img_assist_options'] = array( + '#type' => 'fieldset', + '#title' => t('Image Assist images'), + '#collapsible' => TRUE, + '#collapsed' => TRUE, + ); + // Add checkbox for image assist custom size images. + $form['handler_options']['img_assist_options']['lightbox2_image_assist_custom'] = array( + '#type' => 'select', + '#title' => t('Automatic handler for Image Assist custom size images'), + '#options' => $automatic_options, + '#description' => t('Choose how URLs for custom size images, displayed by the Image Assist module, will be automatically handled.'), + '#default_value' => variable_get('lightbox2_image_assist_custom', 0), + ); + + // Define custom fieldset. + /* ----------------------- */ + $form['handler_options']['custom_options'] = array( + '#type' => 'fieldset', + '#title' => t('Custom class images'), + '#collapsible' => TRUE, + '#collapsed' => TRUE, + ); + // Add checkbox for custom class image support. + $form['handler_options']['custom_options']['lightbox2_custom_class_handler'] = array( + '#type' => 'select', + '#title' => t('Automatic handler for custom class images'), + '#options' => $automatic_options, + '#description' => t('Choose how URLs for custom class images will be automatically handled.'), + '#default_value' => variable_get('lightbox2_custom_class_handler', 0), + ); + // Add text box for custom trigger classes. + $form['handler_options']['custom_options']['lightbox2_custom_trigger_classes'] = array( + '#type' => 'textarea', + '#title' => t('Custom image trigger classes'), + '#description' => t('List the image classes which should trigger the lightbox when clicked on. Put each class on a separate line.'), + '#default_value' => variable_get('lightbox2_custom_trigger_classes', ''), + ); + + // Add checkbox for disabling lightbox for acidfree gallery lists. + if (module_exists("acidfree")) { + // Define acidfree settings fieldset. + /* ---------------------------------- */ + $form['handler_options']['lightbox2_acidfree_options'] = array( + '#type' => 'fieldset', + '#title' => t('Acidfree settings'), + '#collapsible' => TRUE, + '#collapsed' => TRUE, + ); + $form['handler_options']['lightbox2_acidfree_options']['lightbox2_disable_nested_acidfree_galleries'] = array( + '#type' => 'checkbox', + '#title' => t('Disable lightbox for Acidfree gallery lists'), + '#description' => t('Checking this box will disable the lightbox for images in gallery lists. This means it is possible to open a gallery by clicking on the teaser image, but the lightbox will still appear when viewing images within the gallery. This only applies to image galleries created with the "acidfree" module.'), + '#default_value' => variable_get('lightbox2_disable_nested_acidfree_galleries', TRUE), + ); + // Add checkbox for enabling lightbox for acidfree videos. + if (module_exists("video")) { + $form['handler_options']['lightbox2_acidfree_options']['lightbox2_enable_acidfree_videos'] = array( + '#type' => 'checkbox', + '#title' => t('Enable lightbox for Acidfree videos'), + '#description' => t('Checking this box will enable the display of acidfree videos in a lightbox. This only applies to videos created by the "video" module and which appear in an acidfree gallery.'), + '#default_value' => variable_get('lightbox2_enable_acidfree_videos', FALSE), + ); + } + } + + return system_settings_form($form); +} + +/** + * Validate a hex color value. + * + * @param $hex + * The hex color string to validate. + * @return + * TRUE if $hex is a valid hex color value. + */ +function _lightbox2_validate_hex_color($hex) { + return preg_match('!^[a-f0-9]{3}([a-f0-9]{3})?$!i', $hex); +} + diff --git a/sites/all/modules/lightbox2/lightbox2.formatter.inc b/sites/all/modules/lightbox2/lightbox2.formatter.inc new file mode 100644 index 0000000..5ad0130 --- /dev/null +++ b/sites/all/modules/lightbox2/lightbox2.formatter.inc @@ -0,0 +1,551 @@ +'; + return $image; +} + +/** + * Handler for Lightbox2 display of imagecache + imagefield CCK fields. + * + * The compact view shows only the first image in a multiple imagefield but + * shows all images in the lightbox. + * + * @param $element + * The CCK field element. + * @return + * HTML output for displaying the image and link. + */ +function theme_lightbox2_formatter_imagefield($element) { + if (!module_exists("imagecache") || !module_exists("imagefield")) { + return; + } + + $field_name = $element['#field_name']; + $item = $element['#item']; + $formatter = $element['#formatter']; + $node = node_load($element['#item']['nid']); + + if (strpos($formatter, '__lightbox2__') !== FALSE || strpos($formatter, '__lightshow2__') !== FALSE || strpos($formatter, '__lightframe2__') !== FALSE + || strpos($formatter, '__lightbox2_compact__') !== FALSE || strpos($formatter, '__lightshow2_compact__') !== FALSE || strpos($formatter, '__lightframe2_compact__') !== FALSE) { + list($tmp, $lightbox_type, $view_preset, $lightbox_preset) = explode('__', $formatter, 4); + return lightbox2_imagefield_image_imagecache($field_name, $item, $formatter, $node, $view_preset, $lightbox_preset); + } +} + +/** + * Function to set up the data needed for + * theme_imagefield_image_imagecache_lightbox2(). + * + * @param $field_name + * The field name the action is being performed on. + * @param $item + * An array, keyed by column, of the data stored for this item in this field. + * @param $formatter + * The formatter to use for the field. + * @param $node + * The node object. + * @param $view_preset + * The imagecache preset to be displayed on the node or in the view. + * @param $lightbox_preset + * The imagecache preset to be displayed in the lightbox. + * @return + * The themed imagefield + imagecache image and link. + */ +function lightbox2_imagefield_image_imagecache($field_name, $item, $formatter, $node, $view_preset, $lightbox_preset, $args = array()) { + // Load file data if missing + if (!isset($item['filepath']) && !empty($item['fid'])) { + $file = field_file_load($item['fid']); + $item = array_merge($item, (array)$file); + } + elseif (!isset($item['filepath'])) { + // No file in field, return. + return ''; + } + + $args['lightbox_preset'] = $lightbox_preset; + + // Check view_preset for existence. + $rules = array(); + if (function_exists('imagecache_presets')) { + $presets = imagecache_presets(); + foreach ($presets as $preset_id => $preset_info) { + $rules[$preset_id] = $preset_info['presetname']; + } + } + else { + $rules = _imagecache_get_presets(); + } + if ($view_preset == 'link' || $view_preset == 'original' || in_array($view_preset, (array) $rules)) { + $rel = 'lightbox'; + if (strpos($formatter, '__lightshow2__') !== FALSE) { + $rel = 'lightshow'; + } + elseif (strpos($formatter, '__lightshow2_compact__') !== FALSE) { + $rel = 'lightshow'; + $args['compact'] = TRUE; + } + elseif (strpos($formatter, '__lightframe2__') !== FALSE) { + $rel = 'lightframe'; + } + + // Check if this is a compact display. + list($tmp, $lightbox_type, $tmp) = explode('__', $formatter, 3); + if ($lightbox_type == 'lightbox2_compact') { + $args['compact'] = TRUE; + } + return theme('imagefield_image_imagecache_lightbox2', $view_preset, $field_name, $item, $node, $rel, $args); + } +} + +/** + * Generate the HTML output for imagefield + imagecache images so they can be + * opened in a lightbox by clicking on the image on the node page or in a view. + * + * This actually also handles filefields + imagecache images too. + * + * @param $view_preset + * The imagecache preset to be displayed on the node or in the view. + * @param $field_name + * The field name the action is being performed on. + * @param $item + * An array, keyed by column, of the data stored for this item in this field. + * @param $node + * The node object. + * @param $rel + * The type of lightbox to open: lightbox, lightshow or lightframe. + * @param $args + * Args may override internal processes: caption, rel_grouping. + * @return + * The themed imagefield + imagecache image and link. + */ +function theme_imagefield_image_imagecache_lightbox2($view_preset, $field_name, $item, $node, $rel = 'lightbox', $args = array()) { + if (!isset($args['lightbox_preset'])) { + $args['lightbox_preset'] = 'original'; + } + // Can't show current node page in a lightframe on the node page. + // Switch instead to show it in a lightbox. + $on_image_node = (arg(0) == 'node') && (arg(1) == $node->nid); + if ($rel == 'lightframe' && $on_image_node) { + $rel = 'lightbox'; + } + $orig_rel = $rel; + + // Unserialize into original - if sourced by views. + $item_data = $item['data']; + if (is_string($item['data'])) { + $item_data = unserialize($item['data']); + } + + // Set up the title. + $image_title = $item_data['description']; + $image_title = (!empty($image_title) ? $image_title : $item_data['title']); + $image_title = (!empty($image_title) ? $image_title : $item_data['alt']); + if (empty($image_title) || variable_get('lightbox2_imagefield_use_node_title', FALSE)) { + $node = node_load($node->nid); + $image_title = $node->title; + } + + $image_tag_title = ''; + if (!empty($item_data['title'])) { + $image_tag_title = $item_data['title']; + } + + + // Enforce image alt. + $image_tag_alt = ''; + if (!empty($item_data['alt'])) { + $image_tag_alt = $item_data['alt']; + } + elseif (!empty($image_title)) { + $image_tag_alt = $image_title; + } + + // Set up the caption. + $node_links = array(); + if (!empty($item['nid'])) { + $attributes = array(); + $attributes['id'] = 'lightbox2-node-link-text'; + $target = variable_get('lightbox2_node_link_target', FALSE); + if (!empty($target)) { + $attributes['target'] = $target; + } + $node_link_text = variable_get('lightbox2_node_link_text', 'View Image Details'); + if (!$on_image_node && !empty($node_link_text)) { + $node_links[] = l($node_link_text, 'node/'. $item['nid'], array('attributes' => $attributes)); + } + $download_link_text = check_plain(variable_get('lightbox2_download_link_text', 'Download Original')); + if (!empty($download_link_text) && user_access('download original image')) { + $node_links[] = l($download_link_text, file_create_url($item['filepath']), array('attributes' => array('target' => '_blank', 'id' => 'lightbox2-download-link-text'))); + } + } + + $caption = $image_title; + if (count($node_links)) { + $caption .= '

'. implode(" - ", $node_links); + } + if (isset($args['caption'])) { + $caption = $args['caption']; // Override caption. + } + + if ($orig_rel == 'lightframe') { + $frame_width = variable_get('lightbox2_default_frame_width', 600); + $frame_height = variable_get('lightbox2_default_frame_height', 400); + $frame_size = 'width:'. $frame_width .'px; height:'. $frame_height .'px;'; + $rel = preg_replace('/\]$/', "|$frame_size]", $rel); + } + + // Set up the rel attribute. + $full_rel = ''; + $imagefield_grouping = variable_get('lightbox2_imagefield_group_node_id', 1); + if (isset($args['rel_grouping'])) { + $full_rel = $rel .'['. $args['rel_grouping'] .']['. $caption .']'; + } + elseif ($imagefield_grouping == 1) { + $full_rel = $rel .'['. $field_name .']['. $caption .']'; + } + elseif ($imagefield_grouping == 2 && !empty($item['nid'])) { + $full_rel = $rel .'['. $item['nid'] .']['. $caption .']'; + } + elseif ($imagefield_grouping == 3 && !empty($item['nid'])) { + $full_rel = $rel .'['. $field_name .'_'. $item['nid'] .']['. $caption .']'; + } + elseif ($imagefield_grouping == 4 ) { + $full_rel = $rel .'[allnodes]['. $caption .']'; + } + else { + $full_rel = $rel .'[]['. $caption .']'; + } + $class = ''; + if ($view_preset != 'original') { + $class = 'imagecache imagecache-' . $field_name . ' imagecache-' . $view_preset . ' imagecache-' . $field_name . '-' . $view_preset; + } + $link_attributes = array( + 'rel' => $full_rel, + 'class' => 'imagefield imagefield-lightbox2 imagefield-lightbox2-' . $view_preset . ' imagefield-' . $field_name . ' ' . $class, + ); + + $attributes = array(); + if (isset($args['compact']) && $item['#delta']) { + $image = ''; + } + elseif ($view_preset == 'original') { + $image = theme('lightbox2_image', $item['filepath'], $image_tag_alt, $image_tag_title, $attributes); + } + elseif ($view_preset == 'link') { + // Not actually an image, just a text link. + $image = variable_get('lightbox2_view_image_text', 'View image'); + } + else { + $image = theme('imagecache', $view_preset, $item['filepath'], $image_tag_alt, $image_tag_title, $attributes); + } + + if ($args['lightbox_preset'] == 'node') { + $output = l($image, 'node/'. $node->nid .'/lightbox2', array('attributes' => $link_attributes, 'html' => TRUE)); + } + elseif ($args['lightbox_preset'] == 'original') { + $output = l($image, file_create_url($item['filepath']), array('attributes' => $link_attributes, 'html' => TRUE)); + } + else { + $output = l($image, imagecache_create_url($args['lightbox_preset'], $item['filepath']), array('attributes' => $link_attributes, 'html' => TRUE)); + } + + return $output; +} + + +/** + * Theme function for the lightbox iframe filefield formatter. + * + * @param $element + * The CCK field element. + * @return + * The themed link to the file, with lightframe support. + */ +function theme_lightbox2_formatter_filefield_lightframe($element) { + $file = $element['#item']; + $field = content_fields($element['#field_name']); + if (!filefield_view_access($field['field_name']) || empty($file['list'])) { + return ''; + } + if (empty($file['fid']) || !is_file($file['filepath'])) { + return ''; + } + $file = (object)$file; + if (!lightbox2_check_filefield_extension($file, $field)) { + return ''; + } + drupal_add_css(drupal_get_path('module', 'filefield') .'/filefield.css'); + return '
'. theme('lightbox2_file_formatter_lightbox2_iframe', $file, $field, NULL) .'
'; +} + +/** + * Theme function for the lightbox iframe filefield formatter. + * + * @param $file + * Filefield file object. + * @param $field + * The CCK field the action is being performed on. + * @param $file_formatter_settings + * File formatter settings; ignored. + * @return + * Themed link to filefield. + */ +function theme_lightbox2_file_formatter_lightbox2_iframe($file, $field, $file_formatter_settings) { + $path = $file->filepath; + $url = file_create_url($path); + $icon = theme('filefield_icon', $file); + $file_data = $file->data; + if (is_string($file_data)) { + $file_data = unserialize($file->data); + } + $description = $file_data['description']; + if (empty($description)) { + $description = $file->filename; + } + $attributes = array(); + $attributes['id'] = 'lightbox2-node-link-text'; + $target = variable_get('lightbox2_node_link_target', FALSE); + if (!empty($target)) { + $attributes['target'] = $target; + } + $node_link = ''; + $node_link_text = check_plain(variable_get('lightbox2_node_link_text', 'View Image Details')); + if (!empty($node_link_text)) { + $node_link .= '

'. l($node_link_text, $url, array('attributes' => $attributes)); + } + + // Only files with supported extensions make it this far, so no need to check here. + $link_attributes = array('rel' => 'lightframe[]['. $description . $node_link .']'); + + return '
'. $icon . l($description, $url, array('attributes' => $link_attributes)) .'
'; +} + +/** + * Generate the HTML output to open embedded cck images in a lightbox. + * + * @param $element + * The CCK field element. + * @return + * The themed link to the embedded image. + */ +function theme_lightbox2_formatter_emimage($element) { + $field = content_fields($element['#field_name'], $element['#type_name']); + $item = $element['#item']; + $formatter = $element['#formatter']; + $node = node_load($element['#node']->nid); + + list($tmp, $lightbox_type) = explode('_', $formatter, 2); + $field['lightbox_type'] = $lightbox_type; + $formatter = "emimage"; + + return module_invoke('emfield', 'emfield_field_formatter', $field, $item, $formatter, $node, 'lightbox2'); +} + +/** + * Generate the HTML output to open embedded cck images in a lightbox. + * + * @param $field + * The CCK field the action is being performed on. + * @param $item + * An array, keyed by column, of the data stored for this item in this field. + * @param $formatter + * The formatter to use for the field. + * @param $node + * The node object. + * @param $args + * Args may override internal processes: caption, rel_grouping. + * @return + * Themed embedded media field image and link. + */ +function theme_lightbox2_emimage($field, $item, $formatter, $node, $args = array()) { + + $lightbox_type = $field['lightbox_type']; + + if ($item['value'] && $item['provider']) { + $rel = 'lightbox'; + if ($lightbox_type == 'lightshow2') { + $rel = 'lightshow'; + } + elseif ($lightbox_type == 'lightframe2') { + $rel = 'lightframe'; + } + if ($rel == 'lightframe' && arg(0) == 'node' && arg(1) == $node->nid) { + $rel = 'lightbox'; + } + $orig_rel = $rel; + + $code = $item['value']; + $width = $field['widget']['thumbnail_width'] == '' ? variable_get('emimage_default_full_width', EMIMAGE_DEFAULT_FULL_WIDTH) : $field['widget']['thumbnail_width']; + $height = $field['widget']['thumbnail_height'] == '' ? variable_get('emimage_default_full_height', EMIMAGE_DEFAULT_FULL_HEIGHT) : $field['widget']['thumbnail_height']; + $link = $field['widget']['thumbnail_link'] ? $field['widget']['thumbnail_link'] : variable_get('emimage_default_thumbnail_link', EMIMAGE_DEFAULT_THUMBNAIL_LINK); + if ($link == EMIMAGE_LINK_CONTENT) { + $link = 'node/'. $node->nid; + } + elseif ($link == EMIMAGE_LINK_PROVIDER) { + $link = module_invoke('emfield', 'include_invoke', 'emimage', $item['provider'], 'embedded_link', $code, $item['data']); + } + else { + $link = NULL; + } + $attributes = array(); + $attributes['id'] = 'lightbox2-node-link-text'; + if ($width) { + $attributes['width'] = $width; + } + if ($height) { + $attributes['height'] = $height; + } + $target = variable_get('lightbox2_node_link_target', FALSE); + if (!empty($target)) { + $attributes['target'] = $target; + } + + // Set up the title. + $title = module_invoke('emfield', 'include_invoke', 'emimage', $item['provider'], 'image_title', $code, $item['data']); + + // Set up the caption. + $node_link = ''; + $node_link_text = variable_get('lightbox2_node_link_text', 'View Image Details'); + if (!empty($node_link_text) && !empty($link)) { + $node_link = '

'. l($node_link_text, $link, array('attributes' => $attributes)); + } + // @TODO original download link possible with emfield? + + $caption = $title . $node_link; + if (isset($args['caption'])) { + $caption = $args['caption']; // Override caption. + } + + // Set up url and image. + $url = module_invoke('emfield', 'include_invoke', 'emimage', $item['provider'], 'image_url', $code, $width, $height, "emimage", $field, $item, $node); + $image = theme('image', $url, $title, $title, $attributes, FALSE); + + // Set up full rel attribute. + $image_grouping = variable_get('lightbox2_emimage_group_node_id', 1); + if ($image_grouping == 1) { + $full_rel = $rel .'['. $field['field_name'] .']['. $caption .']'; + } + elseif ($image_grouping == 2 && !empty($node->nid)) { + $full_rel = $rel .'['. $node->nid .']['. $caption .']'; + } + elseif ($image_grouping == 3 && !empty($node->nid)) { + $full_rel = $rel .'['. $field['field_name'] .'_'. $node->nid .']['. $caption .']'; + } + elseif (isset($args['rel_grouping'])) { + $full_rel = $rel .'['. $args['rel_grouping'] .']['. $caption .']'; + } + else { + $rel = $full_rel .'[]['. $caption .']'; + } + + if ($orig_rel != 'lightframe') { + $link_attributes = array('rel' => $full_rel); + $full_width = $field['widget']['full_width'] == '' ? variable_get('emimage_default_full_width', EMIMAGE_DEFAULT_FULL_WIDTH) : $field['widget']['full_width']; + $full_height = $field['widget']['full_height'] == '' ? variable_get('emimage_default_full_height', EMIMAGE_DEFAULT_FULL_HEIGHT) : $field['widget']['full_height']; + $full_image_url = module_invoke('emfield', 'include_invoke', 'emimage', $item['provider'], 'image_url', $code, $full_width, $full_height, "emimage", $field, $item, $node); + $output = l($image, $full_image_url, array('attributes' => $link_attributes, 'html' => TRUE)); + } + else { + $frame_width = variable_get('lightbox2_default_frame_width', 600); + $frame_height = variable_get('lightbox2_default_frame_height', 400); + $frame_size = 'width:'. $frame_width .'px; height:'. $frame_height .'px;'; + $full_rel = preg_replace('/\]\[/', "|$frame_size][", $full_rel); + $link_attributes = array('rel' => $full_rel); + $output = l($image, $link .'/lightbox2', array('attributes' => $link_attributes, 'html' => TRUE)); + } + } + + return $output; +} + +/** + * Generate the HTML output to open embedded cck videos in a lightbox. + * + * @param $element + * The CCK field element. + * @return + * HTML output for displaying the video and link. + */ +function theme_lightbox2_formatter_emvideo_lightvideo($element) { + if (!variable_get('lightbox2_enable_video', FALSE)) { + return; + } + $field = content_fields($element['#field_name'], $element['#type_name']); + $item = $element['#item']; + $formatter = "emvideo"; + $node = node_load($element['#node']->nid); + + return module_invoke('emfield', 'emfield_field_formatter', $field, $item, $formatter, $node, 'lightbox2'); +} + +/** + * Generate the HTML output to open embedded cck videos in a lightbox. + * + * @param $field + * The CCK field the action is being performed on. + * @param $item + * An array, keyed by column, of the data stored for this item in this field. + * @param $formatter + * The formatter to use for the field. + * @param $node + * The node object. + * @param $options + * Options array. + * @return + * Themed link to the embedded media field video. + */ +function theme_lightbox2_emvideo($field, $item, $formatter, $node, $options = array()) { + $thumbnail = isset($options['thumbnail']) ? $options['thumbnail'] : theme('emvideo_video_thumbnail', $field, $item, 'video_thumbnail', $node, TRUE, $options); + // if options title set use that, otherwise use video title if set in node, + // otherwise try node title, then widget thumbnail setting and fallback to + // default string. + $title = isset($options['title']) ? $options['title'] : (isset($item['data']['emthumb']['emthumb_title']) ? $item['data']['emthumb']['emthumb_title'] : (isset($node->title) ? $node->title : (isset($field['widget']['thumbnail_link_title']) ? $field['widget']['thumbnail_link_title'] : variable_get('emvideo_default_thumbnail_link_title', t('See video'))))); + + $destination = 'video-cck/lightbox2/'. $node->nid .'/'. $field['widget']['video_width'] .'/'. $field['widget']['video_height'] .'/'. $field['field_name'] .'/'. $item['provider'] .'/'. $item['value']; + $width = $field['widget']['video_width'] + 20; + $height = $field['widget']['video_height'] + 20; + if (isset($_SERVER['HTTP_USER_AGENT']) && (strpos($_SERVER['HTTP_USER_AGENT'], 'MSIE') !== FALSE)) { + $width = $field['widget']['video_width'] + 40; + $height = $field['widget']['video_height'] + 40; + } + $rel_full = 'lightframe['. $field['type_name'] . '|width:'. $width .'px; height:'. $height .'px; overflow:visible;]'; + + $attributes = array( + 'attributes' => array( + 'title' => $title, + 'class' => $field['type_name'], + 'rel' => $rel_full, + ), + 'query' => NULL, + 'fragment' => NULL, + 'absolute' => FALSE, + 'html' => TRUE, + ); + + $output = l($thumbnail, $destination, $attributes); + return $output; +} + diff --git a/sites/all/modules/lightbox2/lightbox2.info b/sites/all/modules/lightbox2/lightbox2.info new file mode 100644 index 0000000..cc606ed --- /dev/null +++ b/sites/all/modules/lightbox2/lightbox2.info @@ -0,0 +1,11 @@ +; $Id: lightbox2.info,v 1.1.6.4 2008/07/14 11:51:34 snpower Exp $ +name = Lightbox2 +description = Enables Lightbox2 for Drupal +core = 6.x + +; Information added by drupal.org packaging script on 2010-09-24 +version = "6.x-1.11" +core = "6.x" +project = "lightbox2" +datestamp = "1285342563" + diff --git a/sites/all/modules/lightbox2/lightbox2.insert.inc b/sites/all/modules/lightbox2/lightbox2.insert.inc new file mode 100644 index 0000000..6e89a02 --- /dev/null +++ b/sites/all/modules/lightbox2/lightbox2.insert.inc @@ -0,0 +1,68 @@ + $formatter_info) { + // Currently only the "imagefield--lightbox2" formatters are implemented as styles. + if (preg_match('/^imagefield__lightbox2__((?:_(?!_)|[^_])+)__((?:_(?!_)|[^_])+)$/', $formatter_id, $matches)) { + $style_id = 'lightbox2--' . $matches[1] . '--' . $matches[2]; + $insert_styles[$style_id] = $formatter_info; + } + } + return $insert_styles; +} + +/** + * Implementation of hook_insert_content(). + */ +function lightbox2_insert_content($item, $style, $widget) { + if (preg_match('/^lightbox2--((?:-(?!-)|[^-])+)--((?:-(?!-)|[^-])+)$/', $style['name'], $matches)) { + $image_preset_name = $matches[1]; + $link_preset_name = $matches[2]; + return theme('lightbox2_insert_image', $item, $widget, 'view', $image_preset_name, $link_preset_name); + } + else { + return ''; + } +} + +/** + * Theme the content that will be inserted for Lightbox2 presets. + */ +function template_preprocess_lightbox2_insert_image(&$vars) { + if ($vars['image_preset_name'] != 'original') { + $filepath = imagecache_create_path($vars['image_preset_name'], $vars['item']['filepath']); + } + else { + $filepath = $vars['item']['filepath']; + } + $vars['url'] = insert_create_url($filepath); + + if ($vars['link_preset_name'] != 'original') { + $linkpath = imagecache_create_path($vars['link_preset_name'], $vars['item']['filepath']); + } + else { + $linkpath = $vars['item']['filepath']; + } + $vars['linkurl'] = insert_create_url($linkpath); + + $vars['download_link'] = ''; + $download_link_text = check_plain(variable_get('lightbox2_download_link_text', 'Download Original')); + if (!empty($download_link_text) && user_access('download original image')) { + $vars['download_link'] = '

' . l($download_link_text, $vars['linkurl'], array('attributes' => array('target' => '_blank', 'id' => 'lightbox2-download-link-text'))); + } + + $vars['class'] = !empty($vars['widget']['insert_class']) ? $vars['widget']['insert_class'] : ''; +} + diff --git a/sites/all/modules/lightbox2/lightbox2.install b/sites/all/modules/lightbox2/lightbox2.install new file mode 100644 index 0000000..a9a2bdc --- /dev/null +++ b/sites/all/modules/lightbox2/lightbox2.install @@ -0,0 +1,202 @@ +'. t('Overview') .''; + $output .= '

'. t('Lightbox2 JS is a simple, unobtrusive script used to overlay images on the current page. It\'s a snap to setup and works on all modern browsers. The module comes with a Lightbox2 Lite option which does not use the JQuery libraries; it is therefore less likely to conflict with anything else.') .'

'; + $output .= '

'. t('Places images above your current page, not within. This frees you from the constraints of the layout, particularly column widths. Keeps users on the same page. Clicking to view an image and then having to click the back button to return to your site is bad for continuity (and no fun!).') .'

'; + // Features + $output .= '

'. t('Features') .'

'; + $output .= '

'. t('The version 2 module has several benefits over the plain Lightbox module. Note, not all of these features are available when the "Lightbox2 Lite" option is enabled.') .'

'; + $output .= '
    '; + $output .= '
  • '. t('Image Sets: group related images and navigate through them with ease - ideal for your image galleries.') .'
  • '; + $output .= '
  • '. t('Slideshow Capability: automatically transition between grouped images, includes play/pause and previous and next buttons.') .'
  • '; + $output .= '
  • '. t('HTML Content Support: ability to show websites or other HTML content in a lightbox.') .'
  • '; + $output .= '
  • '. t('Video Content Support: ability to show videos in a lightbox.') .'
  • '; + $output .= '
  • '. t('Visual Effects: fancy pre-loader and transition when you click on the image.') .'
  • '; + $output .= '
  • '. t('Keyboard Shortcuts: useful keyboard shortcuts for switching between images, toggling play / pause, etc.') .'
  • '; + $output .= '
  • '. t('Zoom Capability: larger images are reduced in size so they fit snugly inside the browser window. A zoom button can then be clicked on to see it in its original size.') .'
  • '; + $output .= '
  • '. t('Automatic Image Detection: configurable automatic re-formatting of image thumbnails, so there is no need to add \'rel="lightbox"\' to each image link on your site. '); + $output .= t('Image, Inline, Flickr, Image Assist and CCK Imagefield modules are all supported. ', array('!image' => 'http://drupal.org/project/image', '!inline' => 'http://drupal.org/project/inline', '!flickr' => 'http://drupal.org/project/flickr', '!img_assist' => 'http://drupal.org/project/img_assist', '!imagefield' => 'http://drupal.org/project/imagefield')); + $output .= t('It\'s also possible to configure a custom list of image classes which should trigger the lightbox functionality.'); + $output .='
  • '; + $output .= '
  • '. t('Imagecache Support: adds a Lightbox2 field formatter for CCK imagefields for your custom views.', array('!imagecache' => 'http://drupal.org/project/imagecache', '!imagefield' => 'http://drupal.org/project/imagefield', '!views' => 'http://drupal.org/project/views')). '
  • '; + $output .= '
  • '. t('Image Page Link: a link to the image node can be provided within the lightbox itself.') .'
  • '; + $output .= '
  • '. t('Page Exclusion Capability: exclude certain pages on your site from having the lightbox2 functionality.') .'
  • '; + $output .= '
  • '. t('Login Support: ability to modify all user/login links so the login form appears in a lightbox.') .'
  • '; + $output .= '
  • '. t('Skin and Animation Configuration: configure the order and speed of the lightbox animations, along with the lightbox colors, border size and overlay opacity.') .'
  • '; + $output .= '
  • '. t('Gallery 2 Support: support for Gallery 2 images via the Gallery module (beta).', array('!gallery' => 'http://drupal.org/project/gallery')) .'
  • '; + $output .= '
'; + // Usage + $output .= '

'. t('Usage') .'

'; + $output .= '
'. t('Adding a Basic Lightbox') .'
'; + $output .= '

'. t('Add rel="lightbox" attribute to any link tag to activate the lightbox. For example:') .'

'; + $output .= ''. t('<a href="image-1.jpg" rel="lightbox">image #1</a>
+ <a href="image-1.jpg" rel="lightbox[][my caption]">image #1</a>') .'
'; + $output .= '

'. t('Optional: To show a caption either use the title attribute or put in the second set of [] of the rel attribute.') .'

'; + // Grouping Images + $output .= '
'. t('Grouping Images') .'
'; + $output .= '

'. t('If you have a set of related images that you would like to group, follow step one but additionally include a group name between square brackets in the rel attribute. For example:') .'

'; + $output .= ''. t('<a href="images/image-1.jpg" rel="lightbox[roadtrip]">image #1</a>
+ <a href="images/image-2.jpg" rel="lightbox[roadtrip][caption 2]">image#2</a>
+ <a href="images/image-3.jpg" rel="lightbox[roadtrip][caption 3]">image#3</a>') .'
'; + $output .= '

'. t('No limits to the number of image sets per page or how many images are allowed in each set.') .'

'; + $output .= '

'. t('If you have a set of images that you would like to group together in a lightbox, but only wish for one of these images to be visible on your page, you can assign the "lightbox_hide_image" class to hide the additional images. For example:') .'

'; + $output .= '

'. t('<a href="images/image-1.jpg" rel="lightbox[roadtrip]">image #1</a>
+ <a href="images/image-2.jpg" rel="lightbox[roadtrip]" class="lightbox_hide_image">image #2</a>
+ <a href="images/image-3.jpg" rel="lightbox[roadtrip][caption 3]" class="lightbox_hide_image">image #3</a>') .'

'; + // Slideshow + $output .= '
'. t('Slideshow') .'
'; + $output .= '

'. t('This is very similar to the grouping functionality described above. The only difference is that "rel" attribute should be set to "lightshow" instead of "lightbox". Using the same example as above, we could launch the images in a slideshow by doing:') .'

'; + $output .= '

'. t('<a href="images/image-1.jpg" rel="lightshow[roadtrip]">image #1</a>
+ <a href="images/image-2.jpg" rel="lightshow[roadtrip][caption 2]">image #2</a>
+ <a href="images/image-3.jpg" rel="lightshow[roadtrip][caption 3]">image #3</a>') .'

'; + // Video Content + $output .= '
'. t('Video Content') .'
'; + $output .= '

'. t('It\'s possible to show video content in the lightbox. In this case the "rel" attribute should be set to lightvideo. It\'s possible to group videos and to control the size of the lightbox by setting the \'width\' and \'height\' properties. The properties can be configured like lightvideo[group|width:300px; height: 200px;] and lightvideo[|width:300px; height: 200px;][my caption]. The properties should all be of the format "property: value;" - note the closing semi-colon. If no properties are set, then the default width and height of 400px will be used. See below for more detailed examples.') .'

'; + $output .= '

'. t('Basic example:') .'
'; + $output .= ''. t('<a href="http://video.google.com/videoplay?docid=1811233136844420765" rel="lightvideo">Google video example - default size</a>') .'

'; + $output .= '

'. t('Basic example with caption:') .'
'; + $output .= ''. t('<a href="http://video.google.com/videoplay?docid=1811233136844420765" rel="lightvideo[][my caption]">Google video example - default size</a>') .'

'; + $output .= '

'. t('Grouped example:') .'
'; + $output .= ''. t('<a href="http://video.google.com/videoplay?docid=29023498723974239479" rel="lightvideo[group][my caption]">Grouped example 1</a>
+ <a href="http://video.google.com/videoplay?docid=1811233136844420765" rel="lightvideo[group][my caption]">Grouped example 2</a>') .'

'; + $output .= '

'. t('Controlling lightbox size example:') .'
'; + $output .= ''. t('<a href="http://video.google.com/videoplay?docid=1811233136844420765" rel="lightvideo[|width:400px; height:300px;][my caption]">Google video example - custom size</a>') .'

'; + $output .= '

'. t('Supported Video Formats:') .'
'; + $output .= t('asx, wmv, mov and swf videos should all be supported. A number of video providers are also supported, for example YouTube and Google Video. For full details on how to integrate these with lightbox, please see the online documentation.') .'

'; + // HTML Content + $output .= '
'. t('HTML Content') .'
'; + $output .= '

'. t('It\'s possible to show webpage content in the lightbox, using iframes. In this case the "rel" attribute should be set to lightframe. Again it\'s possible to group the items, (e.g. lightframe[search]) but in addition to that, it\'s possible to control some of the iframe properties. It\'s possible to set the \'width\', \'height\' and \'scrolling\' properties of the iframe. The properties are separated from the group name by a |, for example lightframe[search|width:100px;] and lightframe[search|width:120px][my caption]. If no grouping is being used, then the | is still used and the format would be lightframe[|width:100px;]. The properties should all be of the format "property: value;" - note the closing semi-colon. If no iframe properties are set, then the default width and height of 400px will be used. See below for more detailed examples.') .'

'; + $output .= '

'. t('Basic example:') .'
'; + $output .= ''. t('<a href="http://www.google.com" rel="lightframe[][Search Google]">Search google</a>') .'

'; + $output .= '

'. t('Grouped example:') .'
'; + $output .= ''. t('<a href="http://www.google.com" rel="lightframe[search]">Search google</a>
+ <a href="http://www.yahoo.com" rel="lightframe[search][Search Yahoo]">Search yahoo</a>') .'

'; + $output .= '

'. t('Controlling iframe property example:') .'
'; + $output .= ''. t('<a href="http://www.google.com" rel="lightframe[|width:400px; height:300px; scrolling: auto;]">Search google</a>') .'

'; + $output .= '

'. t('Controlling iframe property when grouped example:') .'
'; + $output .= ''. t('<a href="http://www.google.com" rel="lightframe[search|width:400px; height:300px; scrolling: auto;]">Search google</a>
+ <a href="http://www.yahoo.com" rel="lightframe[search|width:400px; height:300px;][Search Yahoo]">Search yahoo</a>') .'

'; + // Inline Content Support + $output .= '
'. t('Inline Content Support') .'
'; + $output .= '

'. t('It\'s possible to show HTML snippets in the lightbox, that is on the same domain. In this case the "rel" attribute should be set to lightmodal. Again it\'s possible to group the content, (e.g. lightmodal[search]) but in addition to that, it\'s possible to control some of the inline / modal properties. It\'s possible to set the \'width\', \'height\' and \'scrolling\' properties of the inline content. The properties are separated from the group name by a |, for example lightmodal[search|width:100px;] and lightmodal[search|width:100px;][my caption]. If no grouping is being used, then the | is still used and the format would be lightmodal[|width:100px;]. The properties should all be of the format "property: value;" - note the closing semi-colon. If no properties are set, then the default width and height of 400px will be used. See below for more detailed examples.') .'

'; + $output .= '

'. t('Basic example:') .'
'; + $output .= ''. t('<a href="search.php" rel="lightmodal">Search</a>') .'

'; + $output .= '

'. t('Basic example with caption:') .'
'; + $output .= ''. t('<a href="search.php" rel="lightmodal[][my caption]">Search</a>') .'

'; + $output .= '

'. t('Grouped example:') .'
'; + $output .= ''. t('<a href="search.php" rel="lightmodal[search]">Search</a>
+ <a href="search.php?status=1" rel="lightmodal[search][published]">Search published content</a>') .'

'; + $output .= '

'. t('Controlling modal property example:') .'
'; + $output .= ''. t('<a href="search.php" rel="lightmodal[|width:400px; height:300px; scrolling: auto;]">Search</a>') .'

'; + $output .= '

'. t('Controlling modal property when grouped example:') .'
'; + $output .= ''. t('<a href="search.php" rel="lightmodal[search|width:400px; height:300px; scrolling: auto;]">Search</a>
+ <a href="search.php?status=1" rel="lightmodal[search|width:400px; height:300px;][Search published]">Search published content</a>
+ <a href="search.php?status=0" rel="lightmodal[search|width:400px; height:300px;][Search Unpublished]">Search unpublished content</a>') .'

'; + // Keyboard Shortcuts + $output .= '

'. t('Keyboard Shortcuts') .'

'; + $output .= '

'. t('The default keyboard shortcuts are listed below. You can override these on the admin page.') .'

'; + $output .= ''; + $output .= ''; + $output .= ' + + '; + $output .= ''; + $output .= ''; + $output .= ''; + $output .= ''; + $output .= ''; + $output .= ''; + $output .= '
'. t('Close Lightbox') .'x
o
c
ESC
'. t('Previous Image') .'p
'. t('Left Arrow') .'
'. t('Next Image') .'n
'. t('Right Arrow') .'
'. t('Toggle Zoom') .''. t('z (not available in slideshow)') .'
'. t('Toggle Play / Pause') .''. t('Spacebar (slideshow only)'). '
'; + $output .= '

'. t('Not all of the keyboard shortcuts work in the Opera browser, for example "z" for toggling the zoom and "spacebar" for toggling play / pause in slideshows. This can be overcome by updating your shortcut settings in the Opera preferences editor.') .'

'; + + break; + } + return !empty($output) ? $output : ''; +} + +/** + * Implementation of hook_perm(). + */ +function lightbox2_perm() { + return array('administer lightbox2', 'download original image'); +} + + +/** + * Implementation of hook_menu(). + */ +function lightbox2_menu() { + $items = array(); + + $items['system/lightbox2/filter-xss'] = array( + 'title' => 'Filter XSS', + 'page callback' => 'lightbox2_filter_xss', + 'access callback' => TRUE, + 'type' => MENU_CALLBACK, + ); + + $items['admin/settings/lightbox2'] = array( + 'title' => 'Lightbox2', + 'description' => 'Allows the user to configure the lightbox2 settings', + 'file' => 'lightbox2.admin.inc', + 'page callback' => 'lightbox2_settings_page', + 'access callback' => 'user_access', + 'access arguments' => array('administer lightbox2'), + ); + $items['admin/settings/lightbox2/general'] = array( + 'title' => 'General', + 'description' => 'Allows the user to configure the lightbox2 settings', + 'file' => 'lightbox2.admin.inc', + 'page callback' => 'drupal_get_form', + 'page arguments' => array('lightbox2_general_settings_form'), + 'access callback' => 'user_access', + 'access arguments' => array('administer lightbox2'), + 'type' => MENU_DEFAULT_LOCAL_TASK, + 'weight' => 0, + ); + $items['admin/settings/lightbox2/slideshow'] = array( + 'title' => 'Slideshow', + 'description' => 'Allows the user to configure the lightbox2 slideshow functionality', + 'file' => 'lightbox2.admin.inc', + 'page callback' => 'drupal_get_form', + 'page arguments' => array('lightbox2_slideshow_settings_form'), + 'access callback' => 'user_access', + 'access arguments' => array('administer lightbox2'), + 'type' => MENU_LOCAL_TASK, + 'weight' => 1, + ); + $items['admin/settings/lightbox2/html_content'] = array( + 'title' => 'HTML Content', + 'file' => 'lightbox2.admin.inc', + 'page callback' => 'drupal_get_form', + 'page arguments' => array('lightbox2_iframe_settings_form'), + 'access callback' => 'user_access', + 'access arguments' => array('administer lightbox2'), + 'description' => 'Allows the user to configure the lightbox2 HTML content functionality.', + 'type' => MENU_LOCAL_TASK, + 'weight' => 2, + ); + $items['admin/settings/lightbox2/automatic'] = array( + 'title' => 'Automatic image handling', + 'description' => 'Allows the user to configure the lightbox2 automatic image handling settings', + 'file' => 'lightbox2.admin.inc', + 'page callback' => 'drupal_get_form', + 'page arguments' => array('lightbox2_auto_image_handling_settings_form'), + 'access callback' => 'user_access', + 'access arguments' => array('administer lightbox2'), + 'type' => MENU_LOCAL_TASK, + 'weight' => 3, + ); + if (module_exists('emfield') && module_exists('emvideo')) { + $items['video-cck/lightbox2/%node'] = array( + 'page callback' => 'lightbox2_emvideo', + 'page arguments' => array(2), + 'access callback' => 'node_access', + 'access arguments' => array('view', 2), + 'type' => MENU_CALLBACK, + ); + } + if (module_exists('acidfree') && module_exists('video')) { + $items['node/%node/lightframevideo'] = array( + 'page callback' => 'lightbox2_acidfree_video', + 'page arguments' => array(1), + 'access callback' => 'lightbox2_acidfree_video_access', + 'access arguments' => array(1), + 'type' => MENU_CALLBACK, + ); + } + $items['user/login/lightbox2'] = array( + 'title' => 'Login', + 'page callback' => 'lightbox2_login', + 'access callback' => 'user_is_anonymous', + 'type' => MENU_CALLBACK, + ); + $items['contact/lightbox2'] = array( + 'title' => 'Contact', + 'page callback' => 'lightbox2_contact', + 'access arguments' => array('access site-wide contact form'), + 'type' => MENU_CALLBACK, + ); + + return $items; +} + +/** + * Acidfree video access control. + */ +function lightbox2_acidfree_video_access($node) { + if (user_access('play video') && node_access('view', $node)) { + return TRUE; + } + return FALSE; +} + +/** + * Implementation of hook_init(). + */ +function lightbox2_init() { + // Insert support + if (module_exists('insert')) { + module_load_include('inc', 'lightbox2', 'lightbox2.insert'); + } + + if (lightbox2_exclude_these_paths() != 1) { + lightbox2_add_files(); + } +} + + +/** + * Implementation of hook_filter_tips(). + */ +function lightbox2_filter_tips($delta, $format, $long = FALSE) { + if ($delta == 0) { + if (!$long) { + return t('Image links with \'rel="lightbox"\' in the <a> tag will appear in a Lightbox when clicked on.'); + } + else { + $output = '

'. t('To add a lightbox to your images, add rel="lightbox" attribute to any link tag to activate the lightbox. For example:') .'

'; + $output .= '

'. t('<a href="image-1.jpg" rel="lightbox">image #1</a>') .'

'; + $output .= '

'. t('<a href="image-1.jpg" rel="lightbox[][my caption]">image #1</a>') .'

'; + $output .= '

'. t('To show a caption either use the title attribute or put in the second set of square brackets of the rel attribute.') .'

'; + $output .= '

'. t('If you have a set of related images that you would like to group, then you will need to include a group name between square brackets in the rel attribute. For example:') .'

'; + $output .= '

'. t('<a href="image-1.jpg" rel="lightbox[roadtrip]">image #1</a>
<a href="image-2.jpg" rel="lightbox[roadtrip][caption 2]">image #2</a>
<a href="image-3.jpg" rel="lightbox[roadtrip][caption 3]">image #3</a>
') .'

'; + $output .= '

'. t('There are no limits to the number of image sets per page or how many images are allowed in each set.') .'

'; + $output .= '

'. t('If you wish to turn the caption into a link, format your caption in the following way:') .'

'; + $output .= '

'. t('<a href="image-1.jpg" rel=\'lightbox[][<a href="http://www.yourlink.com">View Image Details</a>]\' >image #1</a>') .'

'; + return $output; + } + } + elseif ($delta == 1) { + return t('Image links from G2 are formatted for use with Lightbox2'); + } + elseif ($delta == 2) { + if (!$long) { + return t('Image links with \'rel="lightshow"\' in the <a> tag will appear in a Lightbox slideshow when clicked on.'); + } + else { + $output = '

'. t('To add a lightbox slideshow to your images, add rel="lightshow[slideshowname][slide caption]" attribute to any link tag to activate the slideshow. For example:') .'

'; + $output .= '

'. t('<a href="image-1.jpg" rel="lightshow[show1]">image #1</a>
<a href="image-2.jpg" rel="lightshow[show1]">image #2</a>
<a href="image-3.jpg" rel="lightshow[show1]">image #3</a>
') .'

'; + $output .= '

'. t('The title attribute in the link tag is optional. The addition of this attribute enables the display of a caption with the image displayed in the lightbox.') .'

'; + $output .= '

'. t('There are no limits to the number of slideshow image sets per page or how many images are allowed in each slideshow.') .'

'; + $output .= '

'. t('If you wish to turn the caption into a link, format your caption in the following way:') .'

'; + $output .= '

'. t('<a href="image-1.jpg" rel=\'lightshow[show1][<a href="http://www.yourlink.com">View Image Details</a>]\'>image #1</a>') .'

'; + return $output; + } + } + elseif ($delta == 3) { + if (!$long) { + return t('Links to HTML content with \'rel="lightframe"\' in the <a> tag will appear in a Lightbox when clicked on.'); + } + else { + $output = '

'. t('It\'s possible to show webpage content in the lightbox, using iframes. In this case the "rel" attribute should be set to "lightframe". Again it\'s possible to group the content, (e.g. lightframe[search][caption]) but in addition to that, it\'s possible to control some of the iframe properties. It\'s possible to set the "width", "height" and "scrolling" properties of the iframe. The properties are separated from the group name by a |, for example lightframe[search|width:100px;][caption]. If no grouping is being used, then the | is still used and the format would be lightframe[|width:100px;]. The properties should all be of the format "property: value;" - note the closing semi-colon. If no iframe properties are set, then the default width and height of 400px will be used. See below for more detailed examples.') .'

'; + $output .= '

'. t('Basic example:') .'
'; + $output .= t('<a href="http://www.google.com" rel="lightframe">Search google</a>') .'

'; + $output .= '

'. t('Grouped example:') .'
'; + $output .= t('<a href="http://www.google.com" rel="lightframe[search][caption]">Search google</a>
<a href="http://www.yahoo.com" rel="lightframe[search]">Search yahoo</a>
') .'

'; + + $output .= '

'. t('Controlling iframe property example:') .'
'; + $output .= t('<a href="http://www.google.com" rel="lightframe[|width:400px; height:300px; scrolling: auto;][caption]">Search google</a>') .'

'; + $output .= '

'. t('Controlling iframe property when grouped example:') .'
'; + $output .= t('<a href="http://www.google.com" rel="lightframe[search|width:400px; height:300px; scrolling: auto;]">Search google</a>
<a href="http://www.yahoo.com" rel="lightframe[search|width:400px; height:300px;]">Search yahoo</a>
') .'

'; + + return $output; + } + } + elseif ($delta == 4) { + if (!$long) { + return t('Links to video content with \'rel="lightvideo"\' in the <a> tag will appear in a Lightbox when clicked on.'); + } + else { + $output = '

'. t('It\'s possible to show video content in the lightbox. In this case the "rel" attribute should be set to lightvideo. It\'s possible to group videos and to control the size of the lightbox by setting the "width" and "height" properties. The properties can be configured like lightvideo[group|width:300px; height: 200px;][caption]. The properties should all be of the format "property: value;" - note the closing semi-colon. If no properties are set, then the default width and height of 400px will be used. See below for more detailed examples.') .'

'; + $output .= '

'. t('Basic example:') .'
'; + $output .= t('<a href="http://video.google.com/videoplay?docid=1811233136844420765" rel="lightvideo">Google video example - default size</a>') .'

'; + $output .= '

'. t('Controlling lightbox size example:') .'
'; + $output .= t('<a href="http://video.google.com/videoplay?docid=1811233136844420765" rel="lightvideo[group|width:400px; height:300px;][caption]">Google video example - custom size</a>') .'

'; + $output .= '

'. t('Supported video formats include asx, wmv, mov and swf. A number of online video providers are also supported, including YouTube and Google Video. For a full list of the current supported video providers please see the documentation on drupal.org.') .'

'; + return $output; + } + } + elseif ($delta == 5) { + if (!$long) { + return t('Links to inline or modal content with \'rel="lightmodal"\' in the <a> tag will appear in a Lightbox when clicked on.'); + } + else { + $output = '

'. t('It\'s possible to show HTML snippets in the lightbox, that is on the same domain. In this case the "rel" attribute should be set to "lightmodal". Again it\'s possible to group the content, (e.g. lightmodal[group][caption]) but in addition to that, it\'s possible to control some of the modal properties. It\'s possible to set the "width", "height" and "scrolling" properties of the modal. The properties are separated from the group name by a |, for example lightmodal[group|width:100px;][caption]. If no grouping is being used, then the | is still used and the format would be lightmodal[|width:100px;]. The properties should all be of the format "property: value;" - note the closing semi-colon. If no modal properties are set, then the default width and height of 400px will be used. See below for more detailed examples.') .'

'; + $output .= '

'. t('Basic example:') .'
'; + $output .= t('<a href="search.php" rel="lightmodal">Search</a>') .'

'; + $output .= '

'. t('Grouped example:') .'
'; + $output .= t('<a href="search.php" rel="lightmodal[search][caption 1]">Search</a>
<a href="search.php?status=1" rel="lightmodal[search]">Search published</a>
') .'

'; + + $output .= '

'. t('Controlling modal property example:') .'
'; + $output .= t('<a href="search.php" rel="lightmodal[|width:400px; height:300px; scrolling: auto;][caption]">Search</a>') .'

'; + $output .= '

'. t('Controlling modal property when grouped example:') .'
'; + $output .= t('<a href="search.php" rel="lightmodal[search|width:400px; height:300px; scrolling: auto;]">Search</a>
<a href="search.php?status=1" rel="lightmodal[search|width:400px; height:300px;]">Search published</a>
') .'

'; + + return $output; + } + } +} + +/** + * Implementation of hook_filter(). + */ +function lightbox2_filter($op, $delta = 0, $format = -1, $text = '') { + switch ($op) { + case 'list': + return array( + 0 => t('Lightbox filter'), + 1 => t('Lightbox G2 filter'), + 2 => t('Lightbox slideshow filter'), + 3 => t('Lightbox iframe filter'), + 4 => t('Lightbox video filter'), + 5 => t('Lightbox modal filter'), + 6 => t('Disable Lightbox iframe filter'), + ); + + case 'description': + if ($delta == 0) { + return t('Image links with \'rel="lightbox"\' in the <a> tag will appear in a Lightbox when clicked on.'); + } + elseif ($delta == 1) { + return t('Turns g2_filter links into Lightbox2 appropriate links'); + } + elseif ($delta == 2) { + return t('Image links with \'rel="lightshow"\' in the <a> tag will appear in a Lightbox slideshow when clicked on.'); + } + elseif ($delta == 3) { + return t('Links to HTML content with \'rel="lightframe"\' in the <a> tag will appear in a Lightbox when clicked on.'); + } + elseif ($delta == 4) { + return t('Links to video content with \'rel="lightvideo"\' in the <a> tag will appear in a Lightbox when clicked on.'); + } + elseif ($delta == 5) { + return t('Links to inline or modal content with \'rel="lightmodal"\' in the <a> tag will appear in a Lightbox when clicked on.'); + } + elseif ($delta == 6) { + return t('It\'s possible to show webpage content in the lightbox, using iframes. In this case the "rel" attribute should be set to "lightframe". However, users can do this without any filters to be enabled. To prevent users from adding iframes to the site in this manner, then please enable this option.'); + } + + case 'process': + if ($delta == 1) { + $text = ' '. $text .' '; + $text = preg_replace('/ShowItem/', 'DownloadItem', $text); + $text = preg_replace('/]*?)src="/', ']*?)>/i', '', $text); + } + return $text; + + default: + return $text; + } +} + +/** + * Provide links to the CSS stylesheet and JS file associated with + * this module. + */ +function lightbox2_add_files() { + global $language, $user; + static $already_added = FALSE; + if ($already_added) { + return; // Don't add the JavaScript and CSS multiple times. + } + $already_added = TRUE; + + // Load required js and css files. + $path = drupal_get_path('module', 'lightbox2'); + + // Initialise some variables. + $inline_image_handler = variable_get('lightbox2_inline', 0); + $flickr_image_handler = variable_get('lightbox2_flickr', 0); + $gallery2_block_handler = variable_get('lightbox2_gallery2_blocks', 0); + $image_assist_handler = variable_get('lightbox2_image_assist_custom', 0); + $image_node_handler = variable_get('lightbox2_image_node', 0); + + $custom_class_handler = 0; + switch (variable_get('lightbox2_custom_class_handler', 0)) { + case 1: + $custom_class_handler = 'lightbox_ungrouped'; + break; + case 2: + $custom_class_handler = 'lightbox'; + break; + case 3: + $custom_class_handler = 'lightshow'; + break; + case 4: + $custom_class_handler = 'lightframe_ungrouped'; + break; + case 5: + $custom_class_handler = 'lightframe'; + break; + } + + + // Set the list of image classes to format urls for. + $image_node_sizes = ''; + $trigger_lightbox_classes = ''; + $trigger_lightbox_group_classes = ''; + $trigger_slideshow_classes = ''; + $trigger_lightframe_classes = ''; + $trigger_lightframe_group_classes = ''; + + // Inline module images. + switch ($inline_image_handler) { + case 1: + $trigger_lightbox_classes .= 'img.inline,'; + break; + case 2: + $trigger_lightbox_group_classes .= 'img.inline,'; + break; + case 3: + $trigger_slideshow_classes .= 'img.inline,'; + break; + case 4: + $trigger_lightframe_classes .= 'img.inline,'; + break; + case 5: + $trigger_lightframe_group_classes .= 'img.inline,'; + break; + } + + // Flickr images. + switch ($flickr_image_handler) { + case 1: + $trigger_lightbox_classes .= 'img.flickr-photo-img,img.flickr-photoset-img,'; + break; + case 2: + $trigger_lightbox_group_classes .= 'img.flickr-photo-img,img.flickr-photoset-img,'; + break; + case 3: + $trigger_slideshow_classes .= 'img.flickr-photo-img,img.flickr-photoset-img,'; + break; + case 4: + $trigger_lightframe_classes .= 'img.flickr-photo-img,img.flickr-photoset-img,'; + break; + case 5: + $trigger_lightframe_group_classes .= 'img.flickr-photo-img,img.flickr-photoset-img,'; + break; + } + + // Gallery2 block images. + switch ($gallery2_block_handler) { + case 1: + $trigger_lightbox_classes .= 'img.ImageFrame_image,img.ImageFrame_none,'; + break; + case 2: + $trigger_lightbox_group_classes .= 'img.ImageFrame_image,img.ImageFrame_none,'; + break; + case 3: + $trigger_slideshow_classes .= 'img.ImageFrame_image,img.ImageFrame_none,'; + break; + case 4: + $trigger_lightframe_classes .= 'img.ImageFrame_image,img.ImageFrame_none,'; + break; + case 5: + $trigger_lightframe_group_classes .= 'img.ImageFrame_image,img.ImageFrame_none,'; + break; + } + + // Image Assist custom size images. + switch ($image_assist_handler) { + case 1: + $trigger_lightbox_classes .= 'img.image-img_assist_custom,'; + break; + case 2: + $trigger_lightbox_group_classes .= 'img.image-img_assist_custom,'; + break; + case 3: + $trigger_slideshow_classes .= 'img.image-img_assist_custom,'; + break; + case 4: + $trigger_lightframe_classes .= 'img.image-img_assist_custom,'; + break; + case 5: + $trigger_lightframe_group_classes .= 'img.image-img_assist_custom,'; + break; + } + + // Image nodes. + if ($image_node_handler) { + $trigger_sizes = variable_get('lightbox2_trigger_image_size', array('thumbnail')); + usort($trigger_sizes, "sort_by_length"); + foreach ($trigger_sizes as $size) { + $triggers = "img.$size, img.image-$size,"; + if (empty($size)) { + if (user_access('view original images')) { + $triggers = "img._original, img.image-_original,"; + } + } + else { + $image_node_sizes .= "\.$size|"; + } + switch ($image_node_handler) { + case 1: + $trigger_lightbox_classes .= $triggers; + break; + case 2: + $trigger_lightbox_group_classes .= $triggers; + break; + case 3: + $trigger_slideshow_classes .= $triggers; + break; + case 4: + $trigger_lightframe_classes .= $triggers; + break; + case 5: + $trigger_lightframe_group_classes .= $triggers; + break; + } + } + } + + // Custom images. + $custom_triggers = variable_get('lightbox2_custom_trigger_classes', ''); + $custom_trigger_classes = ''; + if ($custom_class_handler && !empty($custom_triggers)) { + $trigger_classes = preg_split("/(\r\n|\n)/", $custom_triggers); + foreach ($trigger_classes as $class) { + if (!empty($class)) { + $custom_trigger_classes .= "img.$class,"; + } + } + } + $trigger_lightbox_classes = rtrim($trigger_lightbox_classes, ","); + $trigger_lightbox_group_classes = rtrim($trigger_lightbox_group_classes, ","); + $trigger_slideshow_classes = rtrim($trigger_slideshow_classes, ","); + $trigger_lightframe_classes = rtrim($trigger_lightframe_classes, ","); + $trigger_lightframe_group_classes = rtrim($trigger_lightframe_group_classes, ","); + $custom_trigger_classes = rtrim($custom_trigger_classes, ","); + $image_node_sizes = '('. rtrim($image_node_sizes, "|") .')'; + + $enable_video = variable_get('lightbox2_enable_video', FALSE); + $enable_login = $user->uid == 0 && variable_get('lightbox2_enable_login', FALSE); + $enable_contact = module_exists('contact') && variable_get('lightbox2_enable_contact', FALSE) && user_access('access site-wide contact form'); + $display_image_size = variable_get('lightbox2_display_image_size', 'original'); + if ($display_image_size == 'original' && user_access('view original images')) { + $display_image_size = ''; + } + $font_color = variable_get('lightbox2_font_color', '000'); + $box_color = variable_get('lightbox2_box_color', 'fff'); + + $file_path = base_path() .'(\w\w/)'. file_directory_path(); + if ( variable_get('file_downloads', FILE_DOWNLOADS_PUBLIC) == FILE_DOWNLOADS_PRIVATE ) { + $file_path = base_path() .'(\w\w/)system/files'; + } + + // Load the javascript settings. + $js_settings = array( + 'rtl' => $language->direction, + 'file_path' => $file_path, + 'default_image' => base_path() . $path .'/images/brokenimage.jpg', + 'border_size' => (int) variable_get('lightbox2_border_size', 10), + 'font_color' => !empty($font_color) ? $font_color : '000', + 'box_color' => !empty($box_color) ? $box_color : '000', + 'top_position' => variable_get('lightbox2_top_position', ''), + 'overlay_opacity' => str_replace(',', '.', variable_get('lightbox2_overlay_opacity', 0.8)), + 'overlay_color' => variable_get('lightbox2_overlay_color', '000'), + 'disable_close_click' => variable_get('lightbox2_disable_close_click', TRUE), + 'resize_sequence' => (int)variable_get('lightbox2_resize_sequence', 0), + 'resize_speed' => 1000 * str_replace(',', '.', variable_get('lightbox2_resize_speed', 0.4)), + 'fade_in_speed' => 1000 * str_replace(',', '.', variable_get('lightbox2_fadein_speed', 0.4)), + 'slide_down_speed' => 1000 * str_replace(',', '.', variable_get('lightbox2_slidedown_speed', 0.6)), + 'use_alt_layout' => variable_get('lightbox2_use_alt_layout', FALSE), + 'disable_resize' => variable_get('lightbox2_disable_resize', FALSE), + 'disable_zoom' => variable_get('lightbox2_disable_zoom', FALSE), + 'force_show_nav' => variable_get('lightbox2_force_show_nav', FALSE), + 'show_caption' => variable_get('lightbox2_show_caption', TRUE), + 'loop_items' => variable_get('lightbox2_loop_items', FALSE), + 'node_link_text' => check_plain(variable_get('lightbox2_node_link_text', 'View Image Details')), + 'node_link_target' => variable_get('lightbox2_node_link_target', FALSE), + 'image_count' => check_plain(variable_get('lightbox2_image_count_str', 'Image !current of !total')), + 'video_count' => check_plain(variable_get('lightbox2_video_count_str', 'Video !current of !total')), + 'page_count' => check_plain(variable_get('lightbox2_page_count_str', 'Page !current of !total')), + 'lite_press_x_close' => t('press !x to close', array('!x' => 'x')), + 'download_link_text' => '', + 'enable_login' => $enable_login, + 'enable_contact' => $enable_contact, + // Automatic image handling settings. + 'keys_close' => variable_get('lightbox2_keys_close', 'c x 27'), + 'keys_previous' => variable_get('lightbox2_keys_previous', 'p 37'), + 'keys_next' => variable_get('lightbox2_keys_next', 'n 39'), + 'keys_zoom' => variable_get('lightbox2_keys_zoom', 'z'), + 'keys_play_pause' => variable_get('lightbox2_keys_play_pause', '32'), + 'display_image_size' => $display_image_size, + 'image_node_sizes' => $image_node_sizes, + 'trigger_lightbox_classes' => $trigger_lightbox_classes, + 'trigger_lightbox_group_classes' => $trigger_lightbox_group_classes, + 'trigger_slideshow_classes' => $trigger_slideshow_classes, + 'trigger_lightframe_classes' => $trigger_lightframe_classes, + 'trigger_lightframe_group_classes' => $trigger_lightframe_group_classes, + 'custom_class_handler' => $custom_class_handler, + 'custom_trigger_classes' => $custom_trigger_classes, + 'disable_for_gallery_lists' => variable_get('lightbox2_disable_nested_galleries', TRUE), + 'disable_for_acidfree_gallery_lists' => variable_get('lightbox2_disable_nested_acidfree_galleries', TRUE), + 'enable_acidfree_videos' => variable_get('lightbox2_enable_acidfree_videos', TRUE), + // Slideshow settings. + 'slideshow_interval' => variable_get('lightbox2_slideshow_interval', 5) * 1000, + 'slideshow_automatic_start' => variable_get('lightbox2_slideshow_automatic_start', TRUE), + 'slideshow_automatic_exit' => variable_get('lightbox2_slideshow_automatic_exit', TRUE), + 'show_play_pause' => variable_get('lightbox2_slideshow_show_play_pause', TRUE), + 'pause_on_next_click' => variable_get('lightbox2_slideshow_pause_on_next_click', FALSE), + 'pause_on_previous_click' => variable_get('lightbox2_slideshow_pause_on_previous_click', TRUE), + 'loop_slides' => variable_get('lightbox2_loop_slides', FALSE), + // Iframe settings. + 'iframe_width' => (int)variable_get('lightbox2_default_frame_width', 600), + 'iframe_height' => (int)variable_get('lightbox2_default_frame_height', 400), + 'iframe_border' => (int)variable_get('lightbox2_frame_border', 1), + // Video settings. + 'enable_video' => $enable_video, + ); + if ($enable_video) { + $js_settings['flvPlayer'] = url(check_plain(trim(variable_get('lightbox2_flv_player_path', 'flvplayer.swf'), '/'))); + $js_settings['flvFlashvars'] = check_plain(variable_get('lightbox2_flv_player_flashvars', '')); + } + + // Only supply these if the user has the correct permissions. + if (user_access('download original image') && user_access('view original images')) { + $js_settings['download_link_text'] = check_plain(variable_get('lightbox2_download_link_text', 'Download Original')); + } + + drupal_add_js(array('lightbox2' => $js_settings), 'setting'); + + + // Check where we should load the javascript files - header or footer. + $js_location = variable_get('lightbox2_js_location', 'header'); + + // Lightbox2 Plus. + if (!variable_get('lightbox2_lite', FALSE)) { + $css = $path .'/css/lightbox.css'; + if (variable_get('lightbox2_use_alt_layout', FALSE)) { + $css = $path .'/css/lightbox_alt.css'; + } + drupal_add_css($css); + + // Check to see if any automatic image handling options are enabled. + if ($image_node_handler || $flickr_image_handler || $gallery2_block_handler || $inline_image_handler || $image_assist_handler || $custom_triggers != '') { + drupal_add_js($path .'/js/auto_image_handling.js', 'module', $js_location); + } + if (variable_get('lightbox2_enable_video', FALSE)) { + drupal_add_js($path .'/js/lightbox_video.js', 'module', $js_location); + } + if ($enable_login || $enable_contact) { + drupal_add_js($path .'/js/lightbox_modal.js', 'module', $js_location); + } + drupal_add_js($path .'/js/lightbox.js', 'module', $js_location); + + } + // Lightbox Lite. + else { + $css = $path .'/css/lightbox_lite.css'; + drupal_add_css($css); + drupal_add_js($path .'/js/lightbox_lite.js', 'module', $js_location); + } +} + +/** + * Implementation of hook_field_formatter_info(). + * + * Add certain lightbox and imagecache formatters to CCK image fields if + * the imagefield.module and the imagecache.module exist. Add additional + * formatters if emfield, emimage and/or emvideo modules exist. + */ +function lightbox2_field_formatter_info() { + $formatters = array(); + $lightbox = $slideshow = $iframe = array(); + // Handle imagefield and filefield images. + if (module_exists('imagecache') && (module_exists('imagefield') || module_exists('filefield'))) { + $rules = array(); + if (function_exists('imagecache_presets')) { + $presets = imagecache_presets(); + foreach ($presets as $preset_id => $preset_info) { + $rules[$preset_id] = $preset_info['presetname']; + } + } + else { + $rules = _imagecache_get_presets(); + } + $iframe['imagefield__lightframe2__original__node'] = array( + 'label' => 'Lightbox2 iframe: original->node page', + 'field types' => array('image', 'filefield'), + ); + $iframe['imagefield__lightframe2__link__node'] = array( + 'label' => 'Lightbox2 iframe: link->node page', + 'field types' => array('image', 'filefield'), + ); + foreach ($rules as $ruleid => $view_rule) { + $lightbox['imagefield__lightbox2__original__'. $view_rule] = array( + 'label' => 'Lightbox2: original->'. $view_rule, + 'field types' => array('image', 'filefield'), + ); + $lightbox['imagefield__lightbox2_compact__original__'. $view_rule] = array( + 'label' => 'Lightbox2: original->'. $view_rule . ' compact', + 'field types' => array('image', 'filefield'), + ); + $lightbox['imagefield__lightbox2__'. $view_rule .'__original'] = array( + 'label' => 'Lightbox2: '. $view_rule .'->original', + 'field types' => array('image', 'filefield'), + ); + $lightbox['imagefield__lightbox2_compact__'. $view_rule .'__original'] = array( + 'label' => 'Lightbox2: '. $view_rule .'->original compact', + 'field types' => array('image', 'filefield'), + ); + $lightbox['imagefield__lightbox2__link__'. $view_rule] = array( + 'label' => 'Lightbox2: link->'. $view_rule, + 'field types' => array('image', 'filefield'), + ); + $slideshow['imagefield__lightshow2__original__'. $view_rule] = array( + 'label' => 'Lightbox2 slideshow: original->'. $view_rule, + 'field types' => array('image', 'filefield'), + ); + $slideshow['imagefield__lightshow2_compact__original__'. $view_rule] = array( + 'label' => 'Lightbox2 slideshow: original->'. $view_rule . ' compact', + 'field types' => array('image', 'filefield'), + ); + $slideshow['imagefield__lightshow2__'. $view_rule .'__original'] = array( + 'label' => 'Lightbox2 slideshow: '. $view_rule .'->original', + 'field types' => array('image', 'filefield'), + ); + $slideshow['imagefield__lightshow2_compact__'. $view_rule .'__original'] = array( + 'label' => 'Lightbox2 slideshow: '. $view_rule .'->original compact', + 'field types' => array('image', 'filefield'), + ); + $slideshow['imagefield__lightshow2__link__'. $view_rule] = array( + 'label' => 'Lightbox2 slideshow: link->'. $view_rule, + 'field types' => array('image', 'filefield'), + ); + $iframe['imagefield__lightframe2__'. $view_rule .'__node'] = array( + 'label' => 'Lightbox2 iframe: '. $view_rule .'->node page', + 'field types' => array('image', 'filefield'), + ); + foreach ($rules as $rid => $lightbox_rule) { + $lightbox['imagefield__lightbox2__'. $view_rule .'__'. $lightbox_rule] = array( + 'label' => 'Lightbox2: '. $view_rule .'->'. $lightbox_rule, + 'field types' => array('image', 'filefield'), + ); + $lightbox['imagefield__lightbox2_compact__'. $view_rule .'__'. $lightbox_rule] = array( + 'label' => 'Lightbox2: '. $view_rule .'->'. $lightbox_rule . ' compact', + 'field types' => array('image', 'filefield'), + ); + $slideshow['imagefield__lightshow2__'. $view_rule .'__'. $lightbox_rule] = array( + 'label' => 'Lightbox2 slideshow: '. $view_rule .'->'. $lightbox_rule, + 'field types' => array('image', 'filefield'), + ); + $slideshow['imagefield__lightshow2_compact__'. $view_rule .'__'. $lightbox_rule] = array( + 'label' => 'Lightbox2 slideshow: '. $view_rule .'->'. $lightbox_rule . ' compact', + 'field types' => array('image', 'filefield'), + ); + } + } + // Adding them now so they are in some sort of sensible order. + $formatters = array_merge($lightbox, $slideshow, $iframe); + } + if (module_exists('emfield') && module_exists('emimage')) { + $formatters['emimage_lightbox2'] = array( + 'label' => t('Lightbox2: Image Thumbnail -> Original'), + 'field types' => array('emimage'), + ); + $formatters['emimage_lightshow2'] = array( + 'label' => t('Lightbox2 slideshow: Image Thumbnail -> Original'), + 'field types' => array('emimage'), + ); + $formatters['emimage_lightframe2'] = array( + 'label' => t('Lightbox2 iframe: Image Thumbnail -> Content'), + 'field types' => array('emimage'), + ); + } + if (variable_get('lightbox2_enable_video', FALSE) && module_exists('emfield') && module_exists('emvideo')) { + $formatters['emvideo_lightvideo'] = array( + 'label' => t('Lightbox2: Image Thumbnail -> Full Size Video'), + 'field types' => array('emvideo'), + ); + } + if (module_exists('filefield')) { + $formatters['filefield_lightframe'] = array( + 'label' => t('Lightbox2 iframe'), + 'field types' => array('filefield'), + ); + } + + return $formatters; +} + + +/** + * Implementation of hook_theme(). + */ +function lightbox2_theme() { + $theme = array( + 'lightbox2_image' => array( + 'arguments' => array('path' => NULL, 'alt' => '', 'title' => '', 'attributes' => array()), + 'file' => 'lightbox2.formatter.inc', + ), + // Emfield theme functions. + 'lightbox2_emimage' => array( + 'arguments' => array('field' => NULL, 'item' => NULL, 'formatter' => NULL, 'node' => NULL, 'args' => array()), + 'file' => 'lightbox2.formatter.inc', + ), + 'lightbox2_formatter_emimage' => array( + 'arguments' => array('element' => NULL), + 'file' => 'lightbox2.formatter.inc', + ), + 'lightbox2_formatter_emimage_lightbox2' => array( + 'arguments' => array('element' => NULL), + 'file' => 'lightbox2.formatter.inc', + 'function' => 'theme_lightbox2_formatter_emimage', + ), + 'lightbox2_formatter_emimage_lightshow2' => array( + 'arguments' => array('element' => NULL), + 'file' => 'lightbox2.formatter.inc', + 'function' => 'theme_lightbox2_formatter_emimage', + ), + 'lightbox2_formatter_emimage_lightframe2' => array( + 'arguments' => array('element' => NULL), + 'file' => 'lightbox2.formatter.inc', + 'function' => 'theme_lightbox2_formatter_emimage', + ), + 'lightbox2_formatter_emvideo_lightvideo' => array( + 'arguments' => array('element' => NULL), + 'file' => 'lightbox2.formatter.inc', + ), + 'lightbox2_emvideo' => array( + 'arguments' => array('field' => NULL, 'item' => NULL, 'formatter' => NULL, 'node' => NULL), + 'file' => 'lightbox2.formatter.inc', + ), + // Filefield theme functions. + 'lightbox2_formatter_filefield_lightframe' => array( + 'arguments' => array('element' => NULL), + 'file' => 'lightbox2.formatter.inc', + ), + 'lightbox2_file_formatter_lightbox2_iframe' => array( + 'arguments' => array('file' => NULL, 'field' => NULL, 'file_formatter_settings' => NULL), + 'file' => 'lightbox2.formatter.inc', + ), + // Global imagecache + imagefield theme functions. + 'lightbox2_formatter_imagefield' => array( + 'arguments' => array('element' => NULL), + 'file' => 'lightbox2.formatter.inc', + ), + 'imagefield_image_imagecache_lightbox2' => array( + 'arguments' => array('view_preset' => NULL, 'field_name' => NULL, 'item' => NULL, 'node' => NULL, 'rel' => 'lightbox', 'args' => array()), + 'file' => 'lightbox2.formatter.inc', + ), + ); + + // Additional imagecache + imagefield theme functions, by preset. + if (module_exists("imagecache")) { + + $theme['lightbox2_formatter_imagefield__lightframe2__original__node'] = array( + 'arguments' => array('element' => NULL), + 'function' => 'theme_lightbox2_formatter_imagefield', + 'file' => 'lightbox2.formatter.inc', + ); + $theme['lightbox2_formatter_imagefield__lightframe2__link__node'] = array( + 'arguments' => array('element' => NULL), + 'function' => 'theme_lightbox2_formatter_imagefield', + 'file' => 'lightbox2.formatter.inc', + ); + + foreach (imagecache_presets() as $src) { + $theme['lightbox2_formatter_imagefield__lightbox2__'. $src['presetname'] .'__original'] = array( + 'arguments' => array('element' => NULL), + 'function' => 'theme_lightbox2_formatter_imagefield', + 'file' => 'lightbox2.formatter.inc', + ); + $theme['lightbox2_formatter_imagefield__lightbox2_compact__'. $src['presetname'] .'__original'] = array( + 'arguments' => array('element' => NULL), + 'function' => 'theme_lightbox2_formatter_imagefield', + 'file' => 'lightbox2.formatter.inc', + ); + $theme['lightbox2_formatter_imagefield__lightshow2__'. $src['presetname'] .'__original'] = array( + 'arguments' => array('element' => NULL), + 'function' => 'theme_lightbox2_formatter_imagefield', + 'file' => 'lightbox2.formatter.inc', + ); + $theme['lightbox2_formatter_imagefield__lightshow2_compact__'. $src['presetname'] .'__original'] = array( + 'arguments' => array('element' => NULL), + 'function' => 'theme_lightbox2_formatter_imagefield', + 'file' => 'lightbox2.formatter.inc', + ); + $theme['lightbox2_formatter_imagefield__lightbox2__original__'. $src['presetname']] = array( + 'arguments' => array('element' => NULL), + 'function' => 'theme_lightbox2_formatter_imagefield', + 'file' => 'lightbox2.formatter.inc', + ); + $theme['lightbox2_formatter_imagefield__lightbox2_compact__original__'. $src['presetname']] = array( + 'arguments' => array('element' => NULL), + 'function' => 'theme_lightbox2_formatter_imagefield', + 'file' => 'lightbox2.formatter.inc', + ); + $theme['lightbox2_formatter_imagefield__lightshow2__original__'. $src['presetname']] = array( + 'arguments' => array('element' => NULL), + 'function' => 'theme_lightbox2_formatter_imagefield', + 'file' => 'lightbox2.formatter.inc', + ); + $theme['lightbox2_formatter_imagefield__lightshow2_compact__original__'. $src['presetname']] = array( + 'arguments' => array('element' => NULL), + 'function' => 'theme_lightbox2_formatter_imagefield', + 'file' => 'lightbox2.formatter.inc', + ); + $theme['lightbox2_formatter_imagefield__lightframe2__'. $src['presetname'] .'__node'] = array( + 'arguments' => array('element' => NULL), + 'function' => 'theme_lightbox2_formatter_imagefield', + 'file' => 'lightbox2.formatter.inc', + ); + $theme['lightbox2_formatter_imagefield__lightbox2__link__'. $src['presetname']] = array( + 'arguments' => array('element' => NULL), + 'function' => 'theme_lightbox2_formatter_imagefield', + 'file' => 'lightbox2.formatter.inc', + ); + $theme['lightbox2_formatter_imagefield__lightshow2__link__'. $src['presetname']] = array( + 'arguments' => array('element' => NULL), + 'function' => 'theme_lightbox2_formatter_imagefield', + 'file' => 'lightbox2.formatter.inc', + ); + + foreach (imagecache_presets() as $dest) { + $theme['lightbox2_formatter_imagefield__lightbox2__'. $src['presetname'] .'__'. $dest['presetname']] = array( + 'arguments' => array('element' => NULL), + 'function' => 'theme_lightbox2_formatter_imagefield', + 'file' => 'lightbox2.formatter.inc', + ); + $theme['lightbox2_formatter_imagefield__lightbox2_compact__'. $src['presetname'] .'__'. $dest['presetname']] = array( + 'arguments' => array('element' => NULL), + 'function' => 'theme_lightbox2_formatter_imagefield', + 'file' => 'lightbox2.formatter.inc', + ); + $theme['lightbox2_formatter_imagefield__lightshow2__'. $src['presetname'] .'__'. $dest['presetname']] = array( + 'arguments' => array('element' => NULL), + 'function' => 'theme_lightbox2_formatter_imagefield', + 'file' => 'lightbox2.formatter.inc', + ); + $theme['lightbox2_formatter_imagefield__lightshow2_compact__'. $src['presetname'] .'__'. $dest['presetname']] = array( + 'arguments' => array('element' => NULL), + 'function' => 'theme_lightbox2_formatter_imagefield', + 'file' => 'lightbox2.formatter.inc', + ); + } + } + } + + // Additional Insert theme functions. + if (module_exists('insert')) { + // Theme functions in lightbox2.insert.inc. + $theme['lightbox2_insert_image'] = array( + 'arguments' => array('item' => NULL, 'widget' => NULL, 'type' => NULL, 'image_preset_name' => NULL, 'link_preset_name' => NULL), + 'template' => 'lightbox2-insert-image', + ); + } + + return $theme; +} + +/** + * Configures settings and outputs the video. + * + * @param nid + * The node id. + * @param width + * The lightbox video width. + * @param height + * The lightbox video height. + * @param field_name + * The name of the cck field the video is contained in. + * @param provider + * The name of the 3rd party video provider. + * @param id + * The video id. + */ +function lightbox2_emvideo($node, $width, $height, $field_name, $provider, $id) { + $field = content_fields($field_name); + $field['widget']['video_width'] = $width; + $field['widget']['video_height'] = $height; + $field['widget']['video_autoplay'] = 1; + if (!content_access('view', $field, NULL, $node)) { + drupal_access_denied(); + return; + } + + $items = $node->$field_name; + if (is_array($items)) { + foreach ($items as $item) { + if ($item['provider'] == $provider && $item['value'] == $id) { + break; + } + } + } + print theme('emvideo_video_video', $field, $item, 'video_video', $node); +} + +/** + * Return TRUE if current path is disabled for lightbox according to + * lightbox2_page_list and lightbox2_page_init_action. + */ +function lightbox2_exclude_these_paths() { + $action = variable_get('lightbox2_page_init_action', 'page_disable'); + $page_list = variable_get('lightbox2_page_list', ''); + + if (!empty($page_list)) { + // Retrieve Drupal alias for the current path (if exists). + $alias = drupal_get_path_alias($_GET['q']); + + if (drupal_match_path($_GET['q'], $page_list) || drupal_match_path($alias, $page_list)) { + return ($action == 'page_disable' ? 1 : 0); + } + } + + return ($action == 'page_disable' ? 0 : 1); +} + +/** + * Preprocess function for template by theme('page'). + */ +function lightbox2_preprocess_page(&$variables) { + if (arg(0) != 'node' || arg(2) != 'lightbox2') { + return; + } + //Overwrite template_preprocess_page() region settings. + global $theme; + // Retrieve all block regions. + $regions = system_region_list($theme); + // Remove all region content assigned via blocks. + foreach (array_keys($regions) as $region) { + if ($region != 'content') { + $variables[$region] = NULL; + } + } + // Set up layout variable to none. + $variables['layout'] = 'none'; + //additional template files for e.g. page-node-lightbox.tpl.php are allready implemented through template_preprocess_page() +} + +/** + * Display the video object. + * + * Displays the video object for a specified nid. It is used for displaying + * videos in acidfree lists in a lightbox when the thumbnail is clicked on. It + * is only triggered for the url 'node/%nid/lightframevideo'. + * + * @param $node + * The $node object. + */ +function lightbox2_acidfree_video($node) { + print theme('video_player', $node); +} + +/** + * Implementation of filefield's hook_file_formatter_info(). + */ +function lightbox2_file_formatter_info() { + return array( + 'lightbox2_iframe' => array( + 'suitability callback' => 'lightbox2_check_filefield_extension', + 'title' => t('Lightbox2 iframe'), + 'description' => t('Displays all kinds of files in a popup lightbox in an iframe.'), + ), + 'lightbox2_image' => array( + 'suitability callback' => 'lightbox2_check_filefield_image_extension', + 'title' => t('Lightbox2 image'), + 'description' => t('Displays image files in a popup lightbox.'), + ), + ); +} + +/** + * Suitability callback function for the filefield formatter. + * + * @param $file + * The file object, containing filepath, mime type, etc. + * @param $field + * CCK field information. + * @return + * True if file extension is supported. + */ +function lightbox2_check_filefield_extension($file, $field) { + $ext = array_pop(explode('.', $file->filename)); + return lightbox2_supported_file_extension($ext); +} + +/** + * Suitability callback function for the image filefield formatter. + * + * @param $file + * The file object, containing filepath, mime type, etc. + * @param $field + * CCK field information. + * @return + * True if file extension is supported. + */ +function lightbox2_check_filefield_image_extension($file, $field) { + $ext = array_pop(explode('.', $file->filename)); + return lightbox2_supported_file_extension($ext, 'image'); +} + + +/** + * Check whether a given file extension is supported by the lightbox iframe. + * + * @param $ext + * File extension + * @param $type + * Type of file extensions to check. + * @return + * TRUE if extension is supported. + */ +function lightbox2_supported_file_extension($ext, $type = 'all') { + $image_extensions = array('png', 'jpg', 'jpeg', 'gif', 'bmp'); + $movie_extensions = array('dv', 'mov', 'moov', 'movie', 'mp4', 'asf', 'wm', 'wmv', 'avi', 'mpg', 'mpeg'); + $web_extensions = array('asp', 'aspx', 'cgi', 'cfm', 'htm', 'html', 'pl', 'php', 'php3', 'php4', 'php5', 'phtml', 'rb', 'rhtml', 'shtml', 'txt', 'vbs'); + $misc_extensions = array('pdf'); + + $extensions = array(); + switch ($type) { + case 'image': + $extensions = $image_extensions; + break; + case 'movie': + $extensions = $movie_extensions; + break; + case 'web': + $extensions = $web_extensions; + break; + case 'misc': + $extensions = $misc_extensions; + break; + case 'all': + default: + $extensions = array_merge($image_extensions, $movie_extensions, $web_extensions, $misc_extensions); + break; + } + + if (in_array(drupal_strtolower($ext), $extensions)) { + return TRUE; + } + + return FALSE; +} + +/** + * Helper function to compare the string length of two items. Used when trying + * to sort an array by value length. + * + * @param $a + * String to compare. + * @param $b + * String to compare. + * @return + * 0 if they are the same length, -1 if $a is longer than $b, 1 otherwise. + */ +function sort_by_length($a, $b) { + if ($a == $b) { + return 0; + } + return (drupal_strlen($a) > drupal_strlen($b) ? -1 : 1); +} + +/** + * Get the user login form. + */ +function lightbox2_login() { + + // do not use lightbox2 for failed validation ie: bad password + // instead, return the fully rendered Drupal page with errors. + if (count($_POST)) { + return drupal_get_form('user_login_block'); + } + else { + print drupal_get_form('user_login_block'); + // If the OpenID module is enabled, the javascript and css may not exist + // on the page, so add them dynamically. + if (module_exists('openid')) { + $path = drupal_get_path('module', 'openid'); + $js_file = base_path() . $path .'/openid.js'; + $css_file = base_path() . $path .'/openid.css'; + + // Load the javascript dynamically. + print ''; + + // Load the css file dynamically. + print ''; + } + + // drupal_add_js() with 'inline' didn't seem to work, possibly because this is + // AJAX loaded content. + print ''; + } + exit; +} + +/** + * Get the contact form. + */ +function lightbox2_contact() { + if (module_exists('contact') && variable_get('lightbox2_enable_contact', FALSE) && user_access('access site-wide contact form')) { + $path = drupal_get_path('module', 'contact'); + include_once($path .'/contact.pages.inc'); + print drupal_get_form('contact_mail_page'); + // drupal_add_js() with 'inline' didn't seem to work, possibly because this is + // AJAX loaded content. + print ''; + exit; + } +} + +/** + * Implementation of hook_form_alter(). + * + * Update the page action and input size. + * + * @param &$form + * General reference used in drupal, defining the structure & the fields of + * a form. + * @param $form_state + * General variable, used to control the processing of the form. + * @param $form_id + * The default is "user_login_block"; hold the page where the function is being + * used. + * @return + * Return the structure of the form. + */ +function lightbox2_form_user_login_block_alter(&$form, $form_state, $form_id = "user_login_block") { + if ($form_id == 'user_login_block' && arg(0) == 'user' && arg(1) == 'login' && arg(2) == 'lightbox2') { + $form['#action'] = url('user/login/lightbox2', array('query' => 'destination='. $_GET['destination'])); + } +} + +/** + * Implementation of hook_link_alter(). + * + * Add a lightbox2 rel attribute to the image link sizes on the image node. + */ +function lightbox2_link_alter(&$links, $node) { + $image_node_handler = variable_get('lightbox2_image_node', 0); + + // Only operate on image nodes and if automatic handling for image nodes is + // enabled. Also ensure $links is an array (bug in contemplate module). + if (!$image_node_handler || ($node->type != 'image' && $image_node_handler) || !is_array($links)) { + return; + } + $trigger_sizes = variable_get('lightbox2_trigger_image_size', array('thumbnail')); + + // Change original ('original') to '_original'. + if (isset($trigger_sizes['original'])) { + unset($trigger_sizes['original']); + $trigger_sizes['_original'] = '_original'; + } + + $rel = ''; + switch ($image_node_handler) { + case 1: // Lightbox. + case 2: // Lightbox grouped. + case 3: // Slideshow. + $rel = 'lightbox'; + break; + case 4: // Lightframe. + case 5: // Lightframe grouped. + $rel = 'lightframe'; + break; + } + $rel = $rel .'[]['. $node->title .']'; + foreach ($trigger_sizes as $size) { + if (isset($links['image_size_'. $size])) { + $links['image_size_'. $size]['attributes']['rel'] = $rel; + $links['image_size_'. $size]['href'] = $node->images[$size]; + unset($links['image_size_'. $size]['query']); + } + } +} + +/** + * Implementation of hook_views_api(). + */ +function lightbox2_views_api() { + return array( + 'api' => '2.0', + ); +} + +function lightbox2_filter_xss() { + $allowed_tags = trim(variable_get('lightbox2_filter_xss_allowed_tags', 'p, br, a, em, strong, cite, code, ul, ol, li, dl, dt, dd')); + $allowed_tags = (empty($allowed_tags) ? array() : preg_split('/[,\s]+/', $allowed_tags)); + if (!empty($_POST['allowed_tags']) && $_POST['allowed_tags'] != 'undefined') { + $allowed_tags = explode(',', $_POST['allowed_tags']); + $output = filter_xss($_POST['string'], $allowed_tags); + } + else { + $output = filter_xss($_POST['string'], $allowed_tags); + } + drupal_json($output); +} + diff --git a/sites/all/modules/lightbox2/lightbox2.views.inc b/sites/all/modules/lightbox2/lightbox2.views.inc new file mode 100644 index 0000000..f784ad6 --- /dev/null +++ b/sites/all/modules/lightbox2/lightbox2.views.inc @@ -0,0 +1,47 @@ + array(), + ); + + $data['lightbox2']['lightbox2'] = array( + 'group' => t('Lightbox'), + 'field' => array( + 'title' => t('Lightbox trigger'), + 'help' => t('Provide custom text or link.'), + 'handler' => 'lightbox2_handler_field_lightbox2', + ), + ); + + return $data; +} + +/** + * Implementation of hook_views_handlers() to register all of the basic handlers + * views uses. + */ +function lightbox2_views_handlers() { + return array( + 'info' => array( + 'path' => drupal_get_path('module', 'lightbox2'), + ), + 'handlers' => array( + 'lightbox2_handler_field_lightbox2' => array( + 'parent' => 'views_handler_field', + ), + ), + ); +} diff --git a/sites/all/modules/lightbox2/lightbox2_handler_field_lightbox2.inc b/sites/all/modules/lightbox2/lightbox2_handler_field_lightbox2.inc new file mode 100644 index 0000000..2dd3b48 --- /dev/null +++ b/sites/all/modules/lightbox2/lightbox2_handler_field_lightbox2.inc @@ -0,0 +1,152 @@ + ''); + $options['popup'] = array('default' => ''); + $options['caption'] = array('default' => ''); + $options['rel_group'] = array('default' => TRUE); + $options['custom_group'] = array('default' => ''); + $options['height'] = array('default' => '400px'); + $options['width'] = array('default' => '600px'); + + return $options; + } + + function options_form(&$form, &$form_state) { + parent::options_form($form, $form_state); + + $fields = array('trigger_field' => t('')); + foreach ($this->view->display_handler->get_handlers('field') as $field => $handler) { + // We only use fields up to this one. Obviously we can't use this handler + // as the trigger handler. + if ($field == $this->options['id']) { + break; + } + + $fields[$field] = $handler->definition['title']; + } + + $form['trigger_field'] = array( + '#type' => 'select', + '#title' => t('Trigger field'), + '#description' => t('Select the field that should be turned into the trigger for the lightbox. Only fields that appear before this one in the field list may be used.'), + '#options' => $fields, + '#default_value' => $this->options['trigger_field'], + '#weight' => -12, + ); + + $form['popup'] = array( + '#type' => 'textarea', + '#title' => t('Popup'), + '#description' => t('Combine tokens from the "Replacement patterns" below and html to create what the lightbox popup will become.'), + '#default_value' => $this->options['popup'], + '#weight' => -11, + ); + + $form['caption'] = array( + '#type' => 'textfield', + '#title' => t('Caption'), + '#description' => t('Combine tokens from the "Replacement patterns" below and html to create the caption shown under the lightbox. Leave empty for no caption.'), + '#default_value' => $this->options['caption'], + '#weight' => -10, + ); + + $form['rel_group'] = array( + '#type' => 'checkbox', + '#title' => t('Automatic generated Lightbox group'), + '#description' => t('Enable Lightbox grouping using a generated group name for this view.'), + '#default_value' => $this->options['rel_group'], + '#weight' => -9, + ); + + $form['custom_group'] = array( + '#type' => 'textfield', + '#title' => t('Custom Lightbox group'), + '#description' => t('Enable Lightbox grouping with a given string as group. Overrides the automatically generated group name above.'), + '#default_value' => $this->options['custom_group'], + '#weight' => -8, + ); + + $form['height'] = array( + '#type' => 'textfield', + '#title' => t('Height'), + '#description' => t('Specify the height of the lightbox2 popup window. Because the content is dynamic, we cannot detect this value automatically.'), + '#default_value' => $this->options['height'], + '#weight' => -7, + ); + + $form['width'] = array( + '#type' => 'textfield', + '#title' => t('Width'), + '#description' => t('Specify the width of the lightbox2 popup window. Because the content is dynamic, we cannot detect this value automatically.'), + '#default_value' => $this->options['width'], + '#weight' => -6, + ); + + + + // Remove the checkboxs and other irrelevant controls. + unset($form['alter']['alter_text']); + unset($form['alter']['make_link']); + unset($form['alter']['text']); + unset($form['alter']['path']); + unset($form['alter']['alt']); + unset($form['alter']['prefix']); + unset($form['alter']['suffix']); + unset($form['alter']['text']['#dependency']); + unset($form['alter']['text']['#process']); + } + + /** + * Render the trigger field and its linked popup information. + */ + function render($values) { + // We need to have multiple unique IDs, one for each record. + static $i = 0; + + static $link; + + if (!empty($this->options['trigger_field'])) { + + // We don't actually use the link, but we need it there for lightbox to function. + if (empty($link)) { + // Get the path name. + $path = isset($_GET['q']) ? $_GET['q'] : ''; + $link = url($path, array('absolute' => TRUE)); + } + + // Get the token information and generate the value for the popup and the + // caption. + $tokens = $this->get_render_tokens($this->options['alter']); + $popup = filter_xss_admin($this->options['popup']); + $caption = filter_xss_admin($this->options['caption']); + $popup = strtr($popup, $tokens); + $caption = strtr($caption, $tokens); + + $i++; + + // The outside div is there to hide all of the divs because if the specific lightbox + // div is hidden it won't show up as a lightbox. We also specify a group + // in the rel attribute in order to link the whole View together for paging. + $group_name = !empty($this->options['custom_group']) ? $this->options['custom_group'] : ($this->options['rel_group'] ? 'lightbox-popup-' . $this->view->name . '-' . implode('/', $this->view->args) : ''); + return "options['width'] : '600px') . ';height:' . ($this->options['height'] ? $this->options['height'] : '600px') . "][" . $caption . "]'>". $tokens["[{$this->options['trigger_field']}]"] ." +
"; + } + else { + return; + } + } +} diff --git a/sites/all/modules/lightbox2/page-node-lightbox2.tpl.php b/sites/all/modules/lightbox2/page-node-lightbox2.tpl.php new file mode 100644 index 0000000..4d238cf --- /dev/null +++ b/sites/all/modules/lightbox2/page-node-lightbox2.tpl.php @@ -0,0 +1,57 @@ + + + + <?php print $head_title ?> + + + + + + + + + +
+
+ + +
+type); ?> + + +

+ + + + +
+
+ +
+ +
+ + + + +
+ +
+
+
+
+
+
+ + diff --git a/sites/all/modules/lightbox2/translations/de.po b/sites/all/modules/lightbox2/translations/de.po new file mode 100644 index 0000000..95ef59e --- /dev/null +++ b/sites/all/modules/lightbox2/translations/de.po @@ -0,0 +1,1311 @@ +# German translation of lightbox2 (6.x-1.x-dev) +# Copyright (c) 2009 by the German translation team +# Generated from files: +# lightbox2.admin.inc,v 1.1.2.24 2009/01/07 17:46:47 snpower +# lightbox2.module,v 1.16.2.16.2.148 2009/02/09 10:22:45 snpower +# lightbox2.info,v 1.1.6.4 2008/07/14 11:51:34 snpower +# +msgid "" +msgstr "" +"Project-Id-Version: lightbox2 (6.x-1.x-dev)\n" +"POT-Creation-Date: 2009-11-08 23:15+0100\n" +"PO-Revision-Date: 2009-11-23 00:55+0100\n" +"Last-Translator: Thomas Zahreddin \n" +"Language-Team: German\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=2; plural=(n!=1);\n" +"X-Poedit-Language: German\n" +"X-Poedit-Country: GERMANY\n" + +#: lightbox2.admin.inc:26 +msgid "View Image Details" +msgstr "Bilddetails anzeigen" + +#: lightbox2.admin.inc:26 +msgid "Image !current of !total" +msgstr "Bild !current von !total" + +#: lightbox2.admin.inc:26 +msgid "Page !current of !total" +msgstr "Seite !current von !total" + +#: lightbox2.admin.inc:26 +msgid "Video !current of !total" +msgstr "Video !current von !total" + +#: lightbox2.admin.inc:26 +msgid "Download Original" +msgstr "Original Downloaden" + +#: lightbox2.admin.inc:32 +msgid "Layout settings" +msgstr "Layout-Einstellungen" + +#: lightbox2.admin.inc:42 +msgid "Lightbox2 lite" +msgstr "Lightbox2 Lite" + +#: lightbox2.admin.inc:50 +msgid "Use lightbox2 lite" +msgstr "Lightbox2 verwenden" + +#: lightbox2.admin.inc:51 +msgid "Checking this box will enable Lightbox2 Lite and will disable all of the automatic image URL re-formatting features. It also disables all grouping features." +msgstr "Aktiviert Lightbox 2 Lite und deaktiviert die automatische Bild-URL Formatierungsfunktion. Ebenso werden alle Funktionen zur Gruppierung deaktiviert." + +#: lightbox2.admin.inc:59 +msgid "Use alternative layout" +msgstr "Alternatives Layout verwenden" + +#: lightbox2.admin.inc:60 +msgid "Enabling this option alters the layout of the lightbox elements. In the alternative layout the navigational links appear under the image with the caption text, instead of being overlayed on the image itself. This doesn't apply when using Lightbox Lite." +msgstr "Aktiviere diese Option, um das Layout der Lightbox zu ändern. Beim alternativen Layout werden die Navigationselemente unter dem Bild mit einer Bildbeschriftung angezeigt, anstand das dies auf dem Bild geschieht. Diese Option steht bei der Benutzung von Lightbox 2 Lite nicht zur Verfügung." + +#: lightbox2.admin.inc:67 +msgid "Force visibility of navigation links" +msgstr "Navigation immer anzeigen" + +#: lightbox2.admin.inc:68 +msgid "When viewing grouped images, the navigational links to the next and previous images are only displayed when you hover over the image. Checking this box forces these links to be displayed all the time." +msgstr "Beim Betrachten gruppierter Bilder wird die Navigation, welche zum vorherigen und nächsten Bild führt, nur angezeigt, wenn man der mit Maus darüberfährt (Hovereffekt). Durch Aktivierung dieser Box wird die Navigation immer angezeigt." + +#: lightbox2.admin.inc:75 +msgid "Continuous galleries" +msgstr "Fortlaufende Gallerien" + +#: lightbox2.admin.inc:76 +msgid "When viewing grouped images, the Next button on the last image will display the first image, while the Previous button on the first image will display the last image." +msgstr "Wenn beim Betrachten gruppierter Bilder das letzte Bild erreicht wurde, führt der „Nächstes”-Button (Pfeil) zum ersten Bild. Während der „Vorheriges”- Button beim ersten Bild zum letzten Bild führt." + +#: lightbox2.admin.inc:83 +msgid "Open image page in new window" +msgstr "Bildseite in einem neuem Fenster öffnen" + +#: lightbox2.admin.inc:84 +msgid "This controls whether the link to the image page underneath the image is opened in a new window or the current window." +msgstr "Wenn aktiviert, wird unter dem Bild der Link zu der Bildseite sich in einem neuen Fenster oder im aktuellen Fenster öffnet." + +#: lightbox2.admin.inc:92 +msgid "Text for image page link" +msgstr "Text für den Link zur Seite des Bildes" + +#: lightbox2.admin.inc:93 +msgid "This is the text that will appear as the link to the image page underneath the image in the lightbox. Leave this blank for the link not to appear." +msgstr "Das ist der Text des Linkes, welcher unterhalb des Bildes angezeigt wird und zur Seite des Bildes führt. Leer belassen, damit kein Text angezeigt wird." + +#: lightbox2.admin.inc:100 +msgid "Text for image original link" +msgstr "Text für den Link zum Original-Bild" + +#: lightbox2.admin.inc:101 +msgid "This is the text that will appear as the link to the original file underneath the image in the lightbox. Leave this blank for the link not to appear." +msgstr "Das ist der Text des Linkes, welcher zur Original-Datei unterhalb des Bildes in der Lightbox angezeigt wird. Leer belassen, damit kein Text angezeigt wird." + +#: lightbox2.admin.inc:109 +msgid "Image count text" +msgstr "Text für den Bildzähler" + +#: lightbox2.admin.inc:110 +msgid "This text is used to display the image count underneath the image in the lightbox when image grouping is enabled. Use !current as a placeholder for the number of the current image and !total for the total number of images in the group. For example, \"Image !current of !total\". Leave blank for text not to appear." +msgstr "Dieser Text wird verwendet, um die Anzahl der Bilder unterhalb des Bildes in der Lightbox anzuzeigen, wenn die Gruppierung von Bildern aktiviert ist. Verwende !current als Platzhalter für die Nummer des aktuellen Bildes und !total für die Gesamtanzahl der Bilder in der Gruppe. Zum Beispiel: \"Bild !current von !total\". Leer belassen, damit kein Text angezeigt wird." + +#: lightbox2.admin.inc:117 +msgid "Page count text" +msgstr "Text für den Webseitenzähler" + +#: lightbox2.admin.inc:118 +msgid "This text is used to display the page count underneath HTML content displayed in the lightbox when using groups. Use !current as a placeholder for the number of the current page and !total for the total number of pages in the group. For example, \"Page !current of !total\". Leave blank for text not to appear." +msgstr "Dieser Text wird verwendet, um die Webseitenanzahl unterhalb des HTML-Inhalts in der Lightbox anzuzeigen, wenn die Gruppierung von HTML-Inhalte aktiviert ist. Verwende !current als Platzhalter für die Nummer der aktuellen Webseite und !total für die Gesamtanzahl der Webseiten in der Gruppe. Zum Beispiel: \"Video !current von !total\". Leer belassen, damit kein Text angezeigt wird." + +#: lightbox2.admin.inc:125 +msgid "Video count text" +msgstr "Text für den Videozähler" + +#: lightbox2.admin.inc:126 +msgid "This text is used to display the count underneath video content displayed in the lightbox when using groups. Use !current as a placeholder for the number of the current video and !total for the total number of videos in the group. For example, \"Video !current of !total\". Leave blank for text not to appear." +msgstr "Dieser Text wird verwendet, um die Videoanzahl unterhalb des Videos in der Lightbox anzuzeigen, wenn die Gruppierung von Videos aktiviert ist. Verwende !current als Platzhalter für die Nummer des aktuellen Videos und !total für die Gesamtanzahl der Videos in der Gruppe. Zum Beispiel: \"Video !current von !total\". Leer belassen, damit kein Text angezeigt wird." + +#: lightbox2.admin.inc:134 +msgid "Image resize settings" +msgstr "Größenanpassungs-Einstellungen" + +#: lightbox2.admin.inc:142 +msgid "Disable resizing feature" +msgstr "Größenänderungs-Funktion deaktivieren" + +#: lightbox2.admin.inc:143 +msgid "By default, when the image being displayed in the lightbox is larger than the browser window, it is resized to fit within the window and a zoom button is provided for users who wish to view the image in its original size. Checking this box will disable this feature and all images will be displayed without any resizing." +msgstr "Normalerweise wird das Bild, falls es größer ist als das Browser-Fenster, verkleinert und es wird ein Zoom-Knopf angezeigt für Benutzer, welche das Bild in Originalgröße betrachten wollen. Durch die Aktivierung dieser Box wird diese Funktion deaktiviert und alle Bilder werden ohne Verkleinerung angezeigt." + +#: lightbox2.admin.inc:150 +msgid "Disable zoom in / out feature" +msgstr "Zoom-Funktion deaktivieren" + +#: lightbox2.admin.inc:151 +msgid "When the image being displayed in the lightbox is resized to fit in the browser window, a \"zoom in\" button is shown. This allows the user to zoom in to see the original full size image. They will then see a \"zoom out\" button which will allow them to see the smaller resized version. Checking this box will prevent these buttons from appearing." +msgstr "Normalerweise wird das Bild, falls es größer ist als das Browser-Fenster, verkleinert und es wird ein Zoom-Button angezeigt für Benutzer, welche das Bild in Originalgröße betrachten wollen. Anschließend sehen die Benutzer ein Zoom-Button zum verkleinern, welches dann wiederum das Bild von der original Größe zur verkleinerten Version bringt. Durch die Aktivierung dieser Box werden diese Buttons nicht angezeigt." + +#: lightbox2.admin.inc:159 +msgid "Modal form settings" +msgstr "Modal-Formular Einstellungen" + +#: lightbox2.admin.inc:167 +msgid "Enable login support" +msgstr "Anmeldeformular-Unterstützung aktivieren" + +#: lightbox2.admin.inc:168 +msgid "Enabling this option will modify all login links so that the login form appears in a lightbox." +msgstr "Durch Aktivierung dieser Option werden alle Anmeldelinks so verändert, dass das Anmeldeformular in der Lightbox angezeigt wird. (Menüpunkt-Pfad auf user/login verweisen)" + +#: lightbox2.admin.inc:175 +msgid "Enable contact form support" +msgstr "Kontaktformular-Unterstützung aktivieren" + +#: lightbox2.admin.inc:176 +msgid "Enabling this option will modify all contact links so that the contact form appears in a lightbox." +msgstr "Durch Aktivierung dieser Option werden alle Kontaktformularlinks so verändert, dass das Kontaktformular in der Lightbox angezeigt wird." + +#: lightbox2.admin.inc:184 +msgid "Video settings" +msgstr "Video-Einstellungen" + +#: lightbox2.admin.inc:192 +msgid "Enable video support" +msgstr "Video-Unterstützung aktivieren" + +#: lightbox2.admin.inc:193 +msgid "By default, video support is disabled in order to reduce the amount of javascript needed. Checking this box will enable it." +msgstr "Standardmäßig ist die Video-Unterstützung deaktiviert, um den Anteil an Javascript auf das Nötigste zu verringern. Durch Aktivierung dieser Box, wird die Unterstützung aktiviert." + +#: lightbox2.admin.inc:200 +msgid "Path to FLV Player" +msgstr "Pfad zum FLV-Player" + +#: lightbox2.admin.inc:201 +msgid "The path to the FLV player, relative to Drupal root directory." +msgstr "Der Pfad zum FLV-Player, relativ zum Drupal-Rootverzeichnis." + +#: lightbox2.admin.inc:208 +msgid "FLV Player flashvars" +msgstr "FLV Player flashvars" + +#: lightbox2.admin.inc:209 +msgid "Flashvars for the FLV Player where supported, e.g. \"autoplay=1&playerMode=normal\"." +msgstr "Flashvars für den FLV-Player, die unterstützt werden z.B. \"autoplay=1&playerMode=normal\"." + +#: lightbox2.admin.inc:216 +msgid "Page specific lightbox2 settings" +msgstr "Seiten spezifische Lightbox2 Einstellungen" + +#: lightbox2.admin.inc:223 +msgid "Load only on the listed pages." +msgstr "Nur bei den aufgelisteten Seiten laden." + +#: lightbox2.admin.inc:224 +msgid "Load on every page except the listed pages." +msgstr "Bei allen Seiten außer den aufgelisteten Seiten laden." + +#: lightbox2.admin.inc:229 +msgid "Enable lightbox2 on specific pages" +msgstr "Lightbox2 auf bestimmten Webseiten aktivieren" + +#: lightbox2.admin.inc:235 +msgid "Pages" +msgstr "Seiten" + +#: lightbox2.admin.inc:236 +msgid "List one page per line as Drupal paths. The * character is a wildcard. Example paths are \"node/add/page\" and \"node/add/*\". Use <front> to match the front page." +msgstr "Pro Zeile ein Drupalpfad einer Webseite angeben. Das * Zeichen ist eine Wildcard. Beispiel Pfade sind \"node/add/page\" und \"node/add/*\". <front> verwenden für die Startseite." + +#: lightbox2.admin.inc:245 +msgid "CCK display settings" +msgstr "CCK-Darstellungseinstellungen" + +#: lightbox2.admin.inc:251 +msgid "No grouping" +msgstr "Keine Gruppierung" + +#: lightbox2.admin.inc:252 +msgid "Group by field name" +msgstr "Nach Feldnamen gruppieren" + +#: lightbox2.admin.inc:253 +msgid "Group by node id" +msgstr "Nach Beitrags-ID gruppieren" + +#: lightbox2.admin.inc:254 +msgid "Group by field name and node id" +msgstr "Nach Feldname oder Beitrags-ID gruppieren" + +#: lightbox2.admin.inc:261 +msgid "Select Emfield Image grouping in Views" +msgstr "Emfield Image-Gruppierung in Views auswählen" + +#: lightbox2.admin.inc:262 +msgid "By default, emfield images in views are grouped by the field name they appear in the view in. You can override that grouping here." +msgstr "Standardmäßig werden Emfield-Bilder in Ansichten nach dem Feldnamen gruppiert sowie sie in der Ansicht auftreten. Hier kann diese Gruppierung überschrieben werden." + +#: lightbox2.admin.inc:272 +msgid "Select Imagefield grouping in Views" +msgstr "Imagefield-Gruppierung in Views auswählen" + +#: lightbox2.admin.inc:273 +msgid "By default, imagefields in views are grouped by the field name they appear in the view in. You can override that grouping here." +msgstr "Standardmäßig werden Imagefields in Ansichten nach dem Feldnamen gruppiert sowie sie in der Ansicht auftreten. Hier kann diese Gruppierung überschrieben werden." + +#: lightbox2.admin.inc:279 +msgid "Use node title as caption" +msgstr "Den Beitragstitle als Beschriftung verwenden" + +#: lightbox2.admin.inc:280 +msgid "By default, the caption for imagefields is the image title text configured. If no title is configured, then the alt text will be used. This option allows you to override that and always display the node title as the image caption." +msgstr "Standardmäßig ist die Beschriftung bei Imagefields die konfigurierte Bild Titeltext. Wenn kein Titel konfiguriert ist, wird dann der ALT-Text verwendet. Diese Option ermöglicht Ihnen dies zu überschreiben und immer den Beitragstitel als Bildbeschriftung anzuzeigen." + +#: lightbox2.admin.inc:291 +msgid "Advanced settings" +msgstr "Erweiterte Einstellungen" + +#: lightbox2.admin.inc:301 +msgid "Location of javscript" +msgstr "JavaScript-Einbindung" + +#: lightbox2.admin.inc:302 +msgid "Header" +msgstr "Kopfbereich" + +#: lightbox2.admin.inc:302 +msgid "Footer" +msgstr "Fußbereich" + +#: lightbox2.admin.inc:303 +msgid "By default, the lightbox javascript files are loaded in the HTML header. However, for sites using SWFObject to load their Flash content, the footer setting is recommended to prevent \"Operation Aborted\" errors in IE. If using the footer setting, please note that not all themes correctly implement the footer region and may require a small change." +msgstr "Standardmäßig werden die JavaScript Dateien von Lightbox im HTML-Header eingebunden. Allerdings ist es für Webseiten empfohlen, wenn diese das SWFObject für Flashinhalte benötigen, den Fußbereich auszuwählen, um den „Vorgang Abgebrochen“ Fehler im Internet Explorer zu verhindern. Es beachtet werden, dass nicht alle Themes die Region Fußbereich anbieten, so dass kleine Änderung am Theme notwendig sein könnten, wenn als Einbindungsort der Fußbereich ausgewählt wird." + +#: lightbox2.admin.inc:309 +msgid "Click on overlay or lightbox to close it" +msgstr "Auf den Hintergrund oder die Lightbox klicken zum Schließen" + +#: lightbox2.admin.inc:310 +msgid "Enable user to close lightbox by clicking on the lightbox itself or the overlay background." +msgstr "Ermöglicht es den Benutzern durch ein Klick auf die Lightbox selbst oder dem Hintergrund die Lightbox zu schließen." + +#: lightbox2.admin.inc:318 +msgid "Keyboard shortcuts" +msgstr "Tastatur Tastenkürzel" + +#: lightbox2.admin.inc:319 +msgid "Configure the keyboard shortcuts for controlling the lightbox. These options do not apply to the Lightbox2 Lite version, which uses the default \"Close keys\" (c, x and esc) to close the lightbox." +msgstr "Konfiguration der Tastatur Tastenkürzel zur Kontrolle der Lightbox. Diese Einstellung gilt nicht für die Lightbox-Light Version, welches die Standard „Schließen-Taste“ (c,x und ESC) zum Schließen der Lightbox verwendet." + +#: lightbox2.admin.inc:326 +msgid "Close keys" +msgstr "Schließen-Taste" + +#: lightbox2.admin.inc:327 +msgid "A list of keys (or key codes) that a user may use to close the lightbox. Values should be separated by a space. Defaults to 'c x 27' (c, x, or esc)." +msgstr "Eine Liste an Tastaturtasten, die ein Benutzer zum Schließen der Lightbox verwenden kann. Die Werte müssen mit ein Leerzeichen getrennt werden. Standardtaste ist auf 'c x 27' gesetzt (c,x oder ESC)" + +#: lightbox2.admin.inc:333 +msgid "Previous keys" +msgstr "Vorheriges-Taste" + +#: lightbox2.admin.inc:334 +msgid "A list of keys (or key codes) that a user may use to navigate to the previous item in the lightbox. Values should be separated by a space. Defaults to 'p 37' (p or left arrow)." +msgstr "Eine Liste an Tastaturtasten, die ein Benutzer zum Navigieren zum vorherigen Element in der Lightbox verwenden kann. Die Werte müssen mit ein Leerzeichen getrennt werden. Standardtaste ist auf 'p 37' gesetzt (p oder linker Pfeil)" + +#: lightbox2.admin.inc:340 +msgid "Next keys" +msgstr "Nächstes-Taste" + +#: lightbox2.admin.inc:341 +msgid "A list of keys (or key codes) that a user may use to navigate to the next item in the lightbox. Values should be separated by a space. Defaults to 'n 39' (n or right arrow)." +msgstr "Eine Liste an Tastaturtasten, die ein Benutzer zum Navigieren zum nächsten Element in der Lightbox verwenden kann. Die Werte müssen mit ein Leerzeichen getrennt werden. Standardtaste ist auf 'n 39' gesetzt (n oder rechter Pfeil)" + +#: lightbox2.admin.inc:347 +msgid "Zoom keys" +msgstr "Zoom-Taste" + +#: lightbox2.admin.inc:348 +msgid "A list of keys (or key codes) that a user may use to zoom in / out of images in the lightbox. Values should be separated by a space. Defaults to 'z'." +msgstr "Ein Liste an Tastaturtasten, die zum Herein oder Herauszoomen der Lightbox verwendet werden kann. Die Werte müssen mit ein Leerzeichen abgetrennt werden. Standardtaste ist auf 'z' gesetzt." + +#: lightbox2.admin.inc:354 +msgid "Pause / play keys" +msgstr "Pause/ Play Taste" + +#: lightbox2.admin.inc:355 +msgid "A list of keys (or key codes) that a user may use to pause / play the lightbox. Values should be separated by a space. Defaults to '32' (spacebar)." +msgstr "Ein Liste an Tastaturtasten, die zum Abspielen oder Anhalten der Lightbox verwendet werden kann. Die Werte müssen mit ein Leerzeichen abgetrennt werden. Standardtaste ist auf '32' (Enter) gesetzt." + +#: lightbox2.admin.inc:366 +msgid "Skin settings" +msgstr "Oberflächen-Einstellungen" + +#: lightbox2.admin.inc:373 +msgid "Border size" +msgstr "Rahmengröße" + +#: lightbox2.admin.inc:376 +msgid "Enter the size of the border in pixels to display around the image." +msgstr "Angabe der Rahmengröße in Pixel, der um das Bild angezeigt wird." + +#: lightbox2.admin.inc:382 +msgid "Lightbox color" +msgstr "Lightbox-Farbe" + +#: lightbox2.admin.inc:386 +msgid "Enter a hexadecimal color value for the border. For example fff or ffffff for white)." +msgstr "Angabe des hexadezimalen Farbwertes des Rahmens. Als Beispiel fff oder ffffff für Weiß." + +#: lightbox2.admin.inc:392 +msgid "Font color" +msgstr "Schriftfarbe" + +#: lightbox2.admin.inc:396 +msgid "Enter a hexadecimal color value for the font. For example 000 or 000000 for black)." +msgstr "Angabe des hexadezimalen Farbwertes der Schrift. Als Beispiel 000 oder 000000 für Schwarz." + +#: lightbox2.admin.inc:402 +msgid "Distance from top" +msgstr "Abstand von der Oberseite" + +#: lightbox2.admin.inc:405 +msgid "Enter the position of the top of the lightbox in pixels. Leave blank for automatic calculation." +msgstr "Angabe des Abstandes zwischen der Lightbox zur Oberseite in Pixel. Leer belassen für automatische Berechnung." + +#: lightbox2.admin.inc:415 +msgid "Overlay settings" +msgstr "Überlagerungseinstellungen" + +#: lightbox2.admin.inc:426 +msgid "Overlay opacity" +msgstr "Überlagerungsdeckkraft" + +#: lightbox2.admin.inc:428 +msgid "The overlay opacity setting determines how visible the background page is behind the lightbox. The opacity value can range from 0.0 to 1.0 where 0.0 is 100% transparent and 1.0 is 100% opaque." +msgstr "Die Überlagerungsdeckkraft-Einstellung legt fest, wie sichtbar oder transparent der Hintergrund hinter der Lighbox ist. Der Deckkraftwert reicht von 0,0 bis 1,0, wobei 0,0 zu 100% transparent ist und 1,0 ist zu 100% deckend." + +#: lightbox2.admin.inc:434 +msgid "Overlay color" +msgstr "Überlagerungsfarbe" + +#: lightbox2.admin.inc:438 +msgid "Enter a hexadecimal color value for the overlay. For example 000 or 000000 for black)." +msgstr "Angabe des hexadezimalen Farbwertes der Überlagerung. Als Beispiel 000 oder 000000 für Schwarz." + +#: lightbox2.admin.inc:447 +msgid "Animation settings" +msgstr "Animationeinstellungen" + +#: lightbox2.admin.inc:453 +msgid "These options aren't available when using Lightbox2 Lite." +msgstr "Diese Optionen stehen nicht zur Verfügung, wenn Lighbox2-Lite verwendet wird." + +#: lightbox2.admin.inc:456 +msgid "Simultaneous" +msgstr "Gleichzeitig" + +#: lightbox2.admin.inc:457 +msgid "Width then height" +msgstr "Breite dann Höhe" + +#: lightbox2.admin.inc:458 +msgid "Height then width" +msgstr "Höhe dann Breite" + +#: lightbox2.admin.inc:462 +msgid "Resize sequence" +msgstr "Größenanpassungs-Reihenfolge" + +#: lightbox2.admin.inc:464 +msgid "The sequence to use for the resizing animation." +msgstr "Die Reihenfolge, die für die Größenanpassung-Animation verwendet wird." + +#: lightbox2.admin.inc:469 +msgid "Resize duration" +msgstr "Größenanpassungs-Dauer" + +#: lightbox2.admin.inc:472 +msgid "The duration (in seconds) of the resizing animation. Enter a value between 0 and 10." +msgstr "Die Dauer (in Sekunden) bis das Bild in der Größe angepasst ist. Werte zwischen 0 und 10 erlaubt." + +#: lightbox2.admin.inc:477 +msgid "Appearance duration" +msgstr "Darstellungsdauer" + +#: lightbox2.admin.inc:480 +msgid "The duration (in seconds) of the lightbox appearance animation. Enter a value between 0 and 10." +msgstr "Die Dauer (in Sekunden) bis die Lightbox vollständig zu sehen ist. Werte zwischen 0 und 10 erlaubt." + +#: lightbox2.admin.inc:487 +msgid "Caption slide down duration" +msgstr "Erscheinungsdauer der Beschriftung" + +#: lightbox2.admin.inc:490 +msgid "The duration (in seconds) of the caption sliding-down animation. Enter a value between 0 and 10." +msgstr "Die Dauer (in Sekunden) bis die Beschriftung vollständig zu sehen ist. Werte zwischen 0 und 10 erlaubt." + +#: lightbox2.admin.inc:520 +msgid "FLV player path doesn't exist." +msgstr "FLV Player Pfad ist nicht vorhanden." + +#: lightbox2.admin.inc:526;535;539 +msgid "You must enter a properly formed hex value." +msgstr "Bitte ein gültigen vollständigen Hexwert eingeben." + +#: lightbox2.admin.inc:531 +msgid "You must enter a size greater than 0 pixels." +msgstr "Bitte eine Größe größer als 0 Pixel eingeben." + +#: lightbox2.admin.inc:543 +msgid "You must enter a size greater than 0 pixels. Leave blank for default positioning." +msgstr "Eine Größe größer als 0 Pixel eingeben. Leer belassen für die Standardpositionierung." + +#: lightbox2.admin.inc:547;551;555 +msgid "You must enter a duration between 0 and 10 seconds." +msgstr "Bitte eine Dauer zwischen 0 und 10 Sekunden eingeben." + +#: lightbox2.admin.inc:586 +msgid "Interval seconds" +msgstr "Intervall in Sekunden" + +#: lightbox2.admin.inc:587 +msgid "The slideshow interval is the length of time in seconds an image is visible before the slideshow shows the next image." +msgstr "Zeitangabe in Sekunden, in der ein Bild sichtbar bleibt bis die Slideshow das nächste Bild zeigt." + +#: lightbox2.admin.inc:595 +msgid "Automatically start slideshow" +msgstr "Slideshow automatisch starten" + +#: lightbox2.admin.inc:596 +msgid "When enabled the slideshow will automatically start." +msgstr "Wenn aktiviert, wird die Slideshow automatisch beginnen." + +#: lightbox2.admin.inc:603 +msgid "Automatically exit slideshow" +msgstr "Slideshow automatisch beenden" + +#: lightbox2.admin.inc:604 +msgid "When enabled the lightbox will automatically close after displaying the last image." +msgstr "Wenn aktiviert, wird die Lightbox automatisch geschlossen nachdem das letzte Bild angezeigt wurde." + +#: lightbox2.admin.inc:611 +msgid "Show play / pause button" +msgstr "Play / Pause Button anzeigen" + +#: lightbox2.admin.inc:612 +msgid "When enabled, a play / pause button will be shown in the slideshow allowing the user more control over their viewing experience." +msgstr "Wenn aktiviert, wird ein Play / Pause Button in der Slideshow angezeigt, um den Benutzern mehr Kontrolle über das Verhalten der Slideshow zu ermöglichen." + +#: lightbox2.admin.inc:619 +msgid "Pause slideshow on \"Next Image\" click" +msgstr "Slideshow beim Klick auf \"Nächstes Bild\" pausieren" + +#: lightbox2.admin.inc:620 +msgid "When enabled the slideshow is automatically paused, and the following image shown, when the \"Next\" button is clicked." +msgstr "Wenn aktiviert, wird die Slideshow automatisch pausiert und die folgenden Bilder werden erst angezeigt, wenn der \"Nächstes\" Button geklickt wurde." + +#: lightbox2.admin.inc:627 +msgid "Pause slideshow on \"Previous Image\" click" +msgstr "Slideshow beim Klick auf \"Vorheriges Bild\" pausieren" + +#: lightbox2.admin.inc:628 +msgid "When enabled the slideshow is automatically paused, and the previous image shown, when the \"Previous\" button is clicked." +msgstr "Wenn aktiviert, wird die Slideshow automatisch pausiert und die vorherigen Bilder werden erst angezeigt, wenn der \"Vorheriges\" Button geklickt wurde." + +#: lightbox2.admin.inc:635 +msgid "Continuous loop" +msgstr "Endlosschleife" + +#: lightbox2.admin.inc:636 +msgid "When enabled the slideshow will automatically start over after displaying the last slide. This prevents the slideshow from automatically exiting when enabled." +msgstr "Wenn aktiviert, wird die Slideshow automatisch von vorn beginnen, wenn das letzte Bild erreicht wurde. Dadurch wird jedoch verhindert, dass sich die Slideshow automatisch schließt." + +#: lightbox2.admin.inc:650 +msgid "The \"interval seconds\" value must be numeric." +msgstr "Der Wert für den \"Intervall in Sekunden\" muss numerisch sein." + +#: lightbox2.admin.inc:672 +msgid "Default width" +msgstr "Standardbreite" + +#: lightbox2.admin.inc:673 +msgid "The default width of the iframe in pixels." +msgstr "Die Standardbreite des IFrames in Pixel." + +#: lightbox2.admin.inc:681 +msgid "Default height" +msgstr "Standardhöhe" + +#: lightbox2.admin.inc:682 +msgid "The default height of the iframe in pixels." +msgstr "Die Standardhöhe des IFrames in Pixel." + +#: lightbox2.admin.inc:690 +msgid "Enable border" +msgstr "Rahmen aktivieren" + +#: lightbox2.admin.inc:691 +msgid "Enable iframe border. You can modify the border style in your theme's css file using the iframe's id \"lightboxFrame\"." +msgstr "Wenn aktiviert, wird ein Rahmen um das IFrame angezeigt. Der Rahmenstil kann innerhalb der CSS-Dateien vom Theme mit der ID \"lightboxFrame\" geändert werden." + +#: lightbox2.admin.inc:705 +msgid "The \"default width\" value must be numeric." +msgstr "Der Wert für die \"Standard Breite\" muss nummerisch sein." + +#: lightbox2.admin.inc:708 +msgid "The \"default height\" value must be numeric." +msgstr "Der Wert der \"Standard Höhe\" muss nummerisch sein." + +#: lightbox2.admin.inc:728 +msgid "Disabled" +msgstr "Deaktiviert" + +#: lightbox2.admin.inc:729 +msgid "Lightbox" +msgstr "Lightbox" + +#: lightbox2.admin.inc:730 +msgid "Lightbox grouped" +msgstr "Lightbox gruppiert" + +#: lightbox2.admin.inc:731 +#: lightbox2.module:233 +msgid "Slideshow" +msgstr "Slideshow" + +#: lightbox2.admin.inc:732 +msgid "HTML content" +msgstr "HTML-Inhalt" + +#: lightbox2.admin.inc:733 +msgid "HTML content grouped" +msgstr "HTML-Inhalt gruppiert" + +#: lightbox2.admin.inc:738 +msgid "These options allow automatic URL re-formatting of images. This removes the need for you to add 'rel=\"lightbox\"' to each image link throughout your site. You can select which image sizes will trigger the lightbox and configure a list of image CSS classes which should also have their URLs automatically re-formatted. This feature is not available when using Lightbox2 Lite." +msgstr "Diese Einstellungen ermöglichen eine automatische Re-Formatierung der URLs von Bildern. Dadurch ist es nicht mehr notwendig innerhalb der ganzen Website bei jeden Link zu einen Bild das rel=\"lightbox\" Attribut einzufügen. Es kann ausgewählt werden welche Bildformate die Lightbox auslösen soll und das Anlegen einer Liste der CSS-Klassen für Bilder, bei denen die URLs genauso für die Lightbox angepasst werden soll. Diese Funktion steht nicht zur Verfügung bei der Verwendung von Lightbox2-Lite." + +#: lightbox2.admin.inc:745 +msgid "Automatic handlers" +msgstr "Automatische Behandlung" + +#: lightbox2.admin.inc:754 +msgid "Image node settings" +msgstr "Bildbeitrag-Einstellungen" + +#: lightbox2.admin.inc:762 +msgid "Automatic handler for image nodes" +msgstr "Automatische Behandlung für Bild-Beiträge" + +#: lightbox2.admin.inc:764 +msgid "Choose how URLs for image nodes will be automatically handled." +msgstr "Auswahl der Behandlungs-Methode für die URLs der Bild-Beiträge." + +#: lightbox2.admin.inc:779 +msgid "Lightbox image display size" +msgstr "Lightbox Bildanzeige-Format" + +#: lightbox2.admin.inc:782 +msgid "Select which image size will be loaded in the lightbox. This only applies to images uploaded with the Image module." +msgstr "Wählen Sie welches Bildformat in der Lightbox geladen werden soll. Dies gilt nur für die Bilder die mit dem Image-Modul hochgeladen wurden." + +#: lightbox2.admin.inc:788 +msgid "Image trigger size" +msgstr "Bild-Auslöserformat" + +#: lightbox2.admin.inc:791 +msgid "Select which image size, when clicked on, will automatically trigger the lightbox. This only applies to images uploaded with the Image module." +msgstr "Wählen Sie welches Bildformat automatisch die Lightbox auslöst, wenn darauf geklickt wird. Dies gilt nur für die Bilder, die mit dem Image-Modul hochgeladen wurden." + +#: lightbox2.admin.inc:799 +msgid "Disable lightbox for gallery lists" +msgstr "Lightbox für Galerielisten deaktivieren" + +#: lightbox2.admin.inc:800 +msgid "Checking this box will disable the lightbox for images in gallery lists. This means it is possible to open a gallery by clicking on the teaser image, but the lightbox will still appear when viewing images within the gallery. This only applies to image galleries created with the \"image gallery\" module." +msgstr "Durch die Aktivierung dieser Box wird die Lightbox für Bilder in Galerielisten deaktiviert. Das bedeutet, dass es möglich ist eine Galerie zu öffnen, wenn man auf ein Vorschaubild einer Galerie klickt und die Lightbox nur beim Betrachten der Bilder innerhalb einer Galerie verwendet wird. Dies gilt nur für Bildergalerien, die mit dem Image-Modul erstellt wurden." + +#: lightbox2.admin.inc:808 +msgid "Flickr images" +msgstr "Flickr Bilder" + +#: lightbox2.admin.inc:815 +msgid "Automatic handler for Flickr images" +msgstr "Automatische Behandlung für Flickr-Bilder" + +#: lightbox2.admin.inc:817 +msgid "Choose how URLs for Flickr images will be automatically handled." +msgstr "Auswahl der Behandlungs-Methode für die URLs von Flickr-Bilder." + +#: lightbox2.admin.inc:825 +msgid "Gallery2 images" +msgstr "Gallery2 Bilder" + +#: lightbox2.admin.inc:832 +msgid "Automatic handler for Gallery2 block images" +msgstr "Automatische Behandlung für Bilder in einem Gallery2-Block" + +#: lightbox2.admin.inc:834 +msgid "Choose how URLs for images, contained within Gallery2 image blocks, will be automatically handled." +msgstr "Auswahl der Behandlungs-Methode für die URLs von Bildern, die innerhalb eines der Blöcke der Gallery2 enthalten sind." + +#: lightbox2.admin.inc:842 +msgid "Inline images" +msgstr "Inline Bilder" + +#: lightbox2.admin.inc:849 +msgid "Automatic handler for Inline images" +msgstr "Automatische Behandlung für Inline-Bilder" + +#: lightbox2.admin.inc:851 +msgid "Choose how URLs for Inline images will be automatically handled." +msgstr "Auswahl der Behandlungs-Methode für die URLs von Inline-Bilder." + +#: lightbox2.admin.inc:859 +msgid "Image Assist images" +msgstr "Image Assist Bilder" + +#: lightbox2.admin.inc:866 +msgid "Automatic handler for Image Assist custom size images" +msgstr "Automatische Behandlung für Image Assist-Bilder" + +#: lightbox2.admin.inc:868 +msgid "Choose how URLs for custom size images, displayed by the Image Assist module, will be automatically handled." +msgstr "Auswahl der Behandlungs-Methode für die URLs von benutzerdefinierten Bilder, die mit dem Image_Assist-Modul erstellt wurden." + +#: lightbox2.admin.inc:876 +msgid "Custom class images" +msgstr "Bilder mit benutzerdefinierten CSS-Klassen" + +#: lightbox2.admin.inc:883 +msgid "Automatic handler for custom class images" +msgstr "Automatische Behandlung der Bilder mit benutzerdefinierten CSS-Klassen" + +#: lightbox2.admin.inc:885 +msgid "Choose how URLs for custom class images will be automatically handled." +msgstr "Auswahl der Behandlungs-Methode für die URLs der Bilder mit benutzerdefinierten CSS-Klassen." + +#: lightbox2.admin.inc:891 +msgid "Custom image trigger classes" +msgstr "Bilder mit benutzerdefinierten CSS-Klassen" + +#: lightbox2.admin.inc:892 +msgid "List the image classes which should trigger the lightbox when clicked on. Put each class on a separate line." +msgstr "Liste der CSS-Klassen, die die Lightbox auslösen soll, wenn auf ein Bild geklickt wird, das eine dieser CSS-Klassen hat. Für jede Klasse eine Zeile." + +#: lightbox2.admin.inc:902 +msgid "Acidfree settings" +msgstr "Acidfree Einstellungen" + +#: lightbox2.admin.inc:908 +msgid "Disable lightbox for Acidfree gallery lists" +msgstr "Deaktiviert Lightbox für Acidfree Galerielisten" + +#: lightbox2.admin.inc:909 +msgid "Checking this box will disable the lightbox for images in gallery lists. This means it is possible to open a gallery by clicking on the teaser image, but the lightbox will still appear when viewing images within the gallery. This only applies to image galleries created with the \"acidfree\" module." +msgstr "Durch die Aktivierung dieser Box wird die Lightbox für Bilder in Galerielisten deaktiviert. Das bedeutet, dass es möglich ist eine Galerie zu öffnen, wenn man auf ein Vorschaubild einer Galerie klickt und die Lightbox nur beim Betrachten der Bilder innerhalb einer Galerie verwendet wird. Dies gilt nur für Bildergalerien, die mit dem Acidfree-Modul erstellt werden." + +#: lightbox2.admin.inc:916 +msgid "Enable lightbox for Acidfree videos" +msgstr "Aktiviert Lightbox für Acidfree Videos" + +#: lightbox2.admin.inc:917 +msgid "Checking this box will enable the display of acidfree videos in a lightbox. This only applies to videos created by the \"video\" module and which appear in an acidfree gallery." +msgstr "Durch Aktivierung dieser Box werden Acidfree Videos in einer Lightbox angezeigt. Dieses trifft nur auf die Videos zu, die durch das „Video“ Modul erstellt wurden und die in einer Acidfree-Galerie erscheinen." + +#: lightbox2.module:25 +#: lightbox2.info:0 +msgid "Enables Lightbox2 for Drupal" +msgstr "Aktiviert Lightbox 2 in Drupal" + +#: lightbox2.module:27 +msgid "" +"

Overview

\n" +"

Lightbox2 JS is a simple, unobtrusive script used to overlay images on the current page. It's a snap to setup and works on all modern browsers. The module comes with a Lightbox2 Lite option which does not use the JQuery libraries; it is therefore less likely to conflict with anything else.

\n" +"

Places images above your current page, not within. This frees you from the constraints of the layout, particularly column widths. Keeps users on the same page. Clicking to view an image and then having to click the back button to return to your site is bad for continuity (and no fun!).

\n" +"

Features

\n" +"The version 2 module has several benefits over the plain Lightbox module. Note, not all of these features are available when the \"Lightbox2 Lite\" option is enabled.\n" +"
    \n" +"
  • Image Sets: group related images and navigate through them with ease - ideal for your image galleries.
  • \n" +"
  • Slideshow Capability: automatically transition between grouped images, includes play/pause and previous and next buttons.
  • \n" +"
  • HTML Content Support: ability to show websites or other HTML content in a lightbox.
  • \n" +"
  • Video Content Support: ability to show videos in a lightbox.
  • \n" +"
  • Visual Effects: fancy pre-loader and transition when you click on the image.
  • \n" +"
  • Keyboard Shortcuts: useful keyboard shortcuts for switching between images, toggling play / pause, etc.
  • \n" +"
  • Zoom Capability: larger images are reduced in size so they fit snugly inside the browser window. A zoom button can then be clicked on to see it in its original size.
  • \n" +"
  • Automatic Image Detection: configurable automatic re-formatting of\n" +"image thumbnails, so there is no need to add 'rel=\"lightbox\"' to each\n" +"image link on your site. Image, Inline, Flickr, Image Assist and CCK Imagefield modules are all\n" +"supported. It's also possible to configure a custom list of image classes\n" +"which should trigger the lightbox functionality.
  • \n" +"
  • Imagecache Support: adds a Lightbox2 field formatter for CCK imagefields for your custom views.
  • \n" +"
  • Image Page Link: a link to the image node can be provided within the lightbox itself.
  • \n" +"
  • Page Exclusion Capability: exclude certain pages on your site from having the lightbox2 functionality.
  • \n" +"
  • Login Support: ability to modify all user/login links so the login form appears in a lightbox.
  • \n" +"
  • Skin and Animation Configuration: configure the order and speed of the lightbox animations, along with the lightbox colors, border size and overlay opacity.
  • \n" +"
  • Gallery 2 Support: support for Gallery 2 images via the Gallery module (beta).
  • \n" +"
\n" +"

Usage

\n" +"
Adding a Basic Lightbox
\n" +"

Add rel="lightbox" attribute to any link tag to activate the lightbox. For example:

\n" +"

<a href="image-1.jpg" rel="lightbox">image #1</a>

\n" +"

<a href="image-1.jpg" rel="lightbox[][my caption]">image #1</a>

\n" +"

Optional: To show a caption either use the title attribute or put in the second set of [] of the rel attribute.

\n" +"
Grouping Images
\n" +"

If you have a set of related images that you would like to group, follow\n" +" step one but additionally include a group name between square brackets in the\n" +" rel attribute. For example:

<a href=\"images/image-1.jpg\"\n" +" rel=\"lightbox[roadtrip]\">image #1</a>
\n" +"<a href=\"images/image-2.jpg\" rel=\"lightbox[roadtrip][caption 2]\">image\n" +"#2</a>
\n" +"<a href=\"images/image-3.jpg\" rel=\"lightbox[roadtrip][caption 3]\">image\n" +"#3</a>

\n" +"

No limits to the number of image sets per page or how many images are allowed\n" +"in each set.

\n" +"\n" +"

If you have a set of images that you would like to group together in a lightbox, but only wish for one of these images to be visible on your page, you can assign the \"lightbox_hide_image\" class to hide the additional images. For example:

\n" +"\n" +"

<a href=\"images/image-1.jpg\" rel=\"lightbox[roadtrip]\">image #1</a>
\n" +"<a href=\"images/image-2.jpg\" rel=\"lightbox[roadtrip]\" class=\"lightbox_hide_image\">image #2</a>
\n" +"<a href=\"images/image-3.jpg\" rel=\"lightbox[roadtrip][caption 3]\" class=\"lightbox_hide_image\">image #3</a>

\n" +"\n" +"
Slideshow
\n" +"

This is very similar to the grouping functionality described above. The only difference is that \"rel\" attribute should be set to \"lightshow\" instead of \"lightbox\". Using the same example as above, we could launch the images in a slideshow by doing:

\n" +"\n" +"

<a href=\"images/image-1.jpg\" rel=\"lightshow[roadtrip]\">image #1</a>
\n" +"<a href=\"images/image-2.jpg\" rel=\"lightshow[roadtrip][caption 2]\">image #2</a>
\n" +"<a href=\"images/image-3.jpg\" rel=\"lightshow[roadtrip][caption 3]\">image #3</a>

\n" +"\n" +"
Video Content
\n" +"

\n" +"It's possible to show video content in the lightbox. In this case the \"rel\" attribute should be set to lightvideo. It's possible to group videos and to control the size of the lightbox by setting the 'width' and 'height' properties. The properties can be configured like lightvideo[group|width:300px; height: 200px;] and lightvideo[|width:300px; height: 200px;][my caption]. The properties should all be of the format \"property: value;\" - note the closing semi-colon. If no properties are set, then the default width and height of 400px will be used. See below for more detailed examples.

\n" +"\n" +"

Basic example:
\n" +"\n" +"<a href=\"http://video.google.com/videoplay?docid=1811233136844420765\" rel=\"lightvideo\">Google video example - default size</a>
\n" +"

\n" +"\n" +"

Basic example with caption:
\n" +"\n" +"<a href=\"http://video.google.com/videoplay?docid=1811233136844420765\" rel=\"lightvideo[][my caption]\">Google video example - default size</a>
\n" +"

\n" +"\n" +"

Grouped example:
\n" +"\n" +"<a href=\"http://video.google.com/videoplay?docid=29023498723974239479\" rel=\"lightvideo[group][my caption]\">Grouped example 1</a>
\n" +"<a href=\"http://video.google.com/videoplay?docid=1811233136844420765\" rel=\"lightvideo[group][my caption]\">Grouped example 2</a>
\n" +"

\n" +"\n" +"

Controlling lightbox size example:
\n" +"\n" +"<a href=\"http://video.google.com/videoplay?docid=1811233136844420765\" rel=\"lightvideo[|width:400px; height:300px;][my caption]\">Google video example - custom size</a>
\n" +"

\n" +"\n" +"

Supported Video Formats
\n" +"asx, wmv, mov and swf videos should all be supported. A number of video providers are also supported, for example YouTube and Google Video. For full details on how to integrate these with lightbox, please see the online documentation.

\n" +"\n" +"
HTML Content
\n" +"

It's possible to show webpage content in the lightbox, using iframes. In this case the \"rel\" attribute should be set to lightframe. Again it's possible to group the items, (e.g. lightframe[search]) but in addition to that, it's possible to control some of the iframe properties. It's possible to set the 'width', 'height' and 'scrolling' properties of the iframe. The properties are separated from the group name by a |, for example lightframe[search|width:100px;] and lightframe[search|width:120px][my caption]. If no grouping is being used, then the | is still used and the format would be lightframe[|width:100px;]. The properties should all be of the format \"property: value;\" - note the closing semi-colon. If no iframe properties are set, then the default width and height of 400px will be used. See below for more detailed examples.

\n" +"\n" +"

Basic example:
\n" +"\n" +"<a href=\"http://www.google.com\" rel=\"lightframe[][Search Google]\">Search google</a>\n" +"

\n" +"\n" +"

Grouped example:
\n" +"\n" +"<a href=\"http://www.google.com\" rel=\"lightframe[search]\">Search google</a>
\n" +"<a href=\"http://www.yahoo.com\" rel=\"lightframe[search][Search Yahoo]\">Search yahoo</a>\n" +"

\n" +"\n" +"

Controlling iframe property example:
\n" +"\n" +"<a href=\"http://www.google.com\" rel=\"lightframe[|width:400px; height:300px; scrolling: auto;]\">Search google</a>\n" +"

\n" +"\n" +"

Controlling iframe property when grouped example:
\n" +"\n" +"<a href=\"http://www.google.com\" rel=\"lightframe[search|width:400px; height:300px; scrolling: auto;]\">Search google</a>
\n" +"<a href=\"http://www.yahoo.com\" rel=\"lightframe[search|width:400px; height:300px;][Search Yahoo]\">Search yahoo</a>\n" +"

\n" +"\n" +"
Inline Content Support
\n" +"

It's possible to show HTML snippets in the lightbox, that is on the same domain. In this case the \"rel\" attribute should be set to lightmodal. Again it's possible to group the content, (e.g. lightmodal[search]) but in addition to that, it's possible to control some of the inline / modal properties. It's possible to set the 'width', 'height' and 'scrolling' properties of the inline content. The properties are separated from the group name by a |, for example lightmodal[search|width:100px;] and lightmodal[search|width:100px;][my caption]. If no grouping is being used, then the | is still used and the format would be lightmodal[|width:100px;]. The properties should all be of the format \"property: value;\" - note the closing semi-colon. If no properties are set, then the default width and height of 400px will be used. See below for more detailed examples.

\n" +"\n" +"

Basic example:
\n" +"\n" +"<a href=\"search.php\" rel=\"lightmodal\">Search</a>\n" +"

\n" +"\n" +"

Basic example with caption:
\n" +"\n" +"<a href=\"search.php\" rel=\"lightmodal[][my caption]\">Search</a>\n" +"

\n" +"\n" +"

Grouped example:
\n" +"\n" +"<a href=\"search.php\" rel=\"lightmodal[search]\">Search</a>
\n" +"<a href=\"search.php?status=1\" rel=\"lightmodal[search][published]\">Search published content</a>\n" +"

\n" +"\n" +"

Controlling modal property example:
\n" +"\n" +"<a href=\"search.php\" rel=\"lightmodal[|width:400px; height:300px; scrolling: auto;]\">Search</a>\n" +"

\n" +"\n" +"

Controlling modal property when grouped example:
\n" +"\n" +"<a href=\"search.php\" rel=\"lightmodal[search|width:400px; height:300px; scrolling: auto;]\">Search</a>
\n" +"<a href=\"search.php?status=1\" rel=\"lightmodal[search|width:400px; height:300px;][Search published]\">Search published content</a>
\n" +"<a href=\"search.php?status=0\" rel=\"lightmodal[search|width:400px; height:300px;][Search Unpublished]\">Search unpublished content</a>\n" +"

\n" +"\n" +"\n" +"

Keyboard Shortcuts

\n" +"

The default keyboard shortcuts are listed below. You can override these on the admin page.\n" +"\n" +"\n" +"\n" +"\n" +"\n" +"\n" +"\n" +"\n" +"\n" +"\n" +"\n" +"\n" +"\n" +"\n" +"\n" +"\n" +"
Close Lightboxx
o
c
ESC
Previous Imagep
Left Arrow
Next Imagen
Right Arrow
Toggle Zoomz (not available in slideshow)
Toggle Play / PauseSpacebar (slideshow only)
\n" +"\n" +"

Not all of the keyboard shortcuts work in the Opera browser, for example \"z\" for toggling the zoom and \"spacebar\" for toggling play / pause in slideshows. This can be overcome by updating your shortcut settings in the Opera preferences editor.

\n" +msgstr "" +"

Überblick

\n" +"

Lightbox2 JS ist ein simples, unauffälliges JavaScript, um Bilder über die aktuelle Seite überlagern zu können. Ein Fingerschnipps für die Installation und lauffähig auf allen modernen Browser. Das Modul kommt mit einer Lightbox2-Lite Option, welche die JQuery-Bibliothek nicht verwendet und kann somit weniger in irgendwelche Konflikte geraten.

\n" +"

Platziert die Bilder über der aktuellen Seite, nicht innerhalb. Gewährt ihn Layoutfreiheit, besonders bei der Spaltenbreite. Und die Benutzer bleiben auf der gleichen Seite. Auf den Zurück-Button zu klicken, um auf die Website zurückzugelangen, wenn man ein Bild betrachtet, ist schlecht für die Kontinuität (und das macht kein Spaß!).

\n" +"

Features

\n" +"

Die Version 2 des Moduls hat mehrere Vorteile gegenüber dem normalem Lightbox-Modul. Beachten Sie, dass nicht all diese Features zur Verfügung stehen, wenn die \"Lightbox2 Lite\"-Option aktiviert ist.

\n" +"
    \n" +"
  • Bilder-Sets: Gruppiert zusammengehörige Bilder und die Navigation ist kinderleicht - Ideal für Ihre Bilder-Galerien.
  • \n" +"
  • Slideshow Funktion: Automatischer Übergang zwischen gruppierte Bilder, einschließlich der Buttons für Play/Pause und vorherigen/nächstes.
  • \n" +"
  • Unterstüzung für HTML-Inhalte: Ermöglicht Websites oder anderen HTML-Inhalt in der Lightbox anzuzeigen.
  • \n" +"
  • Unterstüzung für Video-Inhalte: Ermöglicht Videos in der Lightbox anzuzeigen.
  • \n" +"
  • Optische Effekte: Raffinierter Ladevorgang und Übergang, wenn man auf ein Bild klickt.
  • \n" +"
  • Tastaturkürzel: nützliche Tastaturkürzel für das Hin- und Herschalten zwischen Bildern, umschalten zwischen Play/Pause etc.
  • \n" +"
  • Zoom-Funktion: größere Bilder werden in der Größe reduziert, so dass sie in den Innenraum eines Browser-Fensters passen. Es kann dann auf ein Zoom-Button geklickt werden, um das Bild in der original Größe zu betrachten.
  • \n" +"
  • Automatische Bilderkennung: konfigurierbare automatische Umformatierung von Vorschaubilder, so dass es nicht nötig ist ein rel=\"lightbox\" Attribut bei einem Link, welches zu einen Bild führt, auf Ihrer Website hinzuzufügen. Das Image, \n" +"Inline, \n" +"Flickr, \n" +"Image Assist und das \n" +"CCK Imagefield Modul werden unterstützt. \n" +"Es ist auch möglich, das Anlegen einer benutzerdefinierten Liste der CSS-Klassen für Bilder vorzunehmen, die die Lightbox-Funktionalität aufrufen sollen.
  • \n" +"
  • \n" +"Imagecache Unterstützung: fügt ein Lightbox2 Feld-Formatierer in CCK imagefields für ihre benutzerdefinierten Ansichten hinzu.
  • \n" +"
  • Link zur Bildseite: ein Link zum Bildbeitrag kann innerhalb der Lightbox selbst zur Verfügung gestellt werden.
  • \n" +"
  • Seitenausschluss-Funktion: bestimmte Seiten ihrer Website von der Lightbox Funktion ausschließen.
  • \n" +"
  • Anmelde-Unterstützung: ermöglicht es, dass Benutzer/Anmelde-Links in der Lightbox erscheinen.
  • \n" +"
  • Gallery 2 Unterstützung: für Gallery 2 Bilder vom Gallery-Modul (beta).
  • \n" +"
\n" +"

Anwendung

\n" +"
Hinzufügen einer Basic Lightbox
\n" +"

Fügen Sie das rel="lightbox" Attribut in einen beliebigen Link-Tag, der zu ein Bild führt, hinzu, um die Lightbox zu aktivieren. Zum Beispiel:

\n" +"

<a href="bild-1.jpg" rel="lightbox">Bild #1</a>

\n" +"

<a href="bild-1.jpg" rel="lightbox[][ihre beschriftung]">Bild #1</a>

\n" +"

Optional: Um eine Beschriftung anzuzeigen, verwenden Sie entweder das Titelattribut oder fügen es in einer zweiten eckigen Klammer [] innerhalb des rel-Attributs ein.

\n" +"
Gruppierte Bilder
\n" +"

Wenn Sie Bilder-Sets haben oder allgemein zusammengehörige Bilder zu einer Gruppe zusammenfassen wollen, funktioniert das auf gleiche Weise nur zusätzlich muss ein Gruppenname in eckigen Klammern in das rel-Attribut eingefügt werden. Zum Beispiel:

\n" +"

<a href=\"bilder/Bild-1.jpg\" rel=\"lightbox[ausflug]\">Bild #1</a>
\n" +"<a href=\"bilder/Bild-2.jpg\" rel=\"lightbox[ausflug][beschriftung 2]\">Bild #2</a>
\n" +"<a href=\"bilder/Bild-3.jpg\" rel=\"lightbox[ausflug][beschriftung 3]\">Bild #3</a>

\n" +"

Es gibt keine Begrenzung für die Anzahl der Bilder pro Seite oder wie viele Bilder in einem Set zulässig sind.

\n" +"

Wenn Sie ein Set an Bildern haben und diese zusammenfassen möchten, aber nur eins von diesen Bildern soll sichtbar sein. Dann geben Sie bei diesen Bildern noch diese CSS-Klasse \"lightbox_hide_image\" an, um die zusätzlichen Bilder auszublenden. Zum Beispiel:

\n" +"

<a href=\"bilder/bild-1.jpg\" rel=\"lightbox[ausflug]\">Bild #1</a>
<a href=\"bilder/bild-2.jpg\" rel=\"lightbox[ausflug]\" class=\"lightbox_hide_image\">Bild #2</a>
\n" +"<a href=\"bilder/bild-3.jpg\" rel=\"lightbox[ausflug][beschriftung]\" class=\"lightbox_hide_image\">Bild #3</a>

\n" +"\n" +"
Slideshow
\n" +"

Dies ähnelt sich der Gruppierung-Funktionalität, die oben beschriebenen wird. Es gibt nur ein Unterschied das rel-Attribut sollte auf \"lightshow\" geändert werden anstelle von \"lightbox\". Unter Verwendung des gleichen Beispiels wie oben, könnte man die Bilder in einer Slideshow starten, indem man folgendes tut:

\n" +"

<a href=\"bilder/bild-1.jpg\" rel=\"lightshow[ausflug]\">Bild #1</a>
<a href=\"bilder/bild-2.jpg\" rel=\"lightshow[ausflug][beschriftung 2]\">Bild #2</a>
<a href=\"bilder/bild-3.jpg\" rel=\"lightshow[ausflug][beschriftung 3]\">Bild #3</a>

Video Inhalte
\n" +"

\n" +"Es ist möglich Video-Inhalte in der Lightbox anzuzeigen. In diesem Fall muss das rel-Attribut auf lightvideo gesetzt sein. Es ist nicht möglich Videos zu gruppieren, aber es ist möglich die Größe der Lightbox zu kontrollieren, durch ändern der Eigenschaften für die 'Breite' und 'Höhe'. Diese Eigenschaften können wie folgt konfiguriert werden: lightvideo[width:300px; height: 200px;]. Diese Eigenschaften sollten im folgenden Format sein \"Eigenschaft: Wert;\" - vergessen Sie das schließende Semikolon nicht. Wenn keine Eigenschaft gesetzt wurde, dann wird die Standard Breite und Höhe von 400px verwendet. Für ein detailliertes Beispiel siehe unten.

\n" +"\n" +"

Einfaches Beispiel:
\n" +"\n" +"<a href=\"http://video.google.com/videoplay?docid=1811233136844420765\" rel=\"lightvideo\">Google Video Beispiel - Standardgröße</a>

\n" +"

Einfaches Beispiel mit Beschriftung:
\n" +"\n" +"<a href=\"http://video.google.com/videoplay?docid=1811233136844420765\" rel=\"lightvideo[][ihre beschriftung]\">Google Video Beispiel - Standardgröße</a>
\n" +"

\n" +"\n" +"

Beispiel mit Kontrolle über die Größe der Lightbox:
\n" +"\n" +"<a href=\"http://video.google.com/videoplay?docid=1811233136844420765\" rel=\"lightvideo[width:400px; height:300px;][ihre beschriftung]\">Google Video Beispiel - benutzerdefinierte Größe</a>
\n" +"

\n" +"

Unterstützte Video Formate
asx, wmv, mov und swf Videos sollten alle unterstützt sein. Ebenso werden einige Video-Hoster unterstützt, z.B. YouTube und Google Video. Für ausführliche Details, wie diese integriert werden, schauen Sie bitte in die Online Dokumentation.

\n" +"\n" +"
HTML Inhalte
\n" +"

Es ist möglich Websites durch IFrames in der Lightbox anzuzeigen. In diesem Fall muss das rel-Attribute auf lightframe gesetzt sein. Es ist auch möglich diese Websites zu gruppieren, (z.B. lightframe[suche]) und zusätzlich ist es noch möglich einige der Eigenschaften zu kontrollieren. Unter anderen kann die 'Breite', 'Höhe' und die 'Scroll' Eigenschaft von dem IFrame gesetzt werden. Diese Eigenschaften werden von dem Gruppenname mit ein | getrennt, z.B. lightframe[suche|width:100px;] und lightframe[suche|width:100px;][ihre beschriftung]. Wenn keine Gruppierung benutzt wird, dann wird die | trotzdem verwendet und das Format würde wie folgend sein lightframe[|width:100px;]. Diese Eigenschaften sollten im folgenden Format sein \"Eigenschaft: Wert;\" - vergessen Sie das schließende Semikolon nicht. Wenn keine IFrame-Eigenschaft gesetzt wurde, dann wird die Standard Breite und Höhe von 400px verwendet. Für ein detailliertes Beispiel siehe unten.

\n" +"

Einfaches Beispiel:
\n" +"\n" +"<a href=\"http://www.google.de\" rel=\"lightframe[][Google Suche]\">Google Suche</a>

\n" +"

Beispiel für das Gruppieren:
\n" +"\n" +"<a href=\"http://www.google.de\" rel=\"lightframe[suche]\">Google Suche</a>
\n" +"<a href=\"http://de.yahoo.com/\" rel=\"lightframe[suche][Yahoo Suche]\">Yahoo Suche</a>

\n" +"\n" +"

Beispiel mit Kontrolle über die IFrame-Eigenschaften:
\n" +"<a href=\"http://www.google.de\" rel=\"lightframe[|width:400px; height:300px; scrolling: auto;]\">Google Suche</a>

\n" +"\n" +"

Beispiel mit Kontrolle über dier IFrame-Eigenschaften, wenn gruppiert:
\n" +"<a href=\"http://www.google.de\" rel=\"lightframe[suche|width:400px; height:300px; scrolling: auto;]\">Google Suche</a>
\n" +"<a href=\"http://de.yahoo.com/\" rel=\"lightframe[suche|width:400px; height:300px;]\">Yahoo Suche</a>\n" +"

\n" +"
Inline-Inhalt Unterstützung
\n" +"

Es ist möglich HTML-Snippets in der Lightbox anzuzeigen, die mit der gleichen Domain zu erreichen sind. In diesem Fall muss das rel-Attribut auf lightmodal gesetzt sein. Es ist auch möglich diese Inhalte zu gruppieren, (z.b. lightmodal[suche]) und zusätzlich ist es möglich einige der Inline / Modal-Eigenschaften zu kontrollieren. Unter anderen kann die 'Breite', 'Höhe' und die 'Scroll' Eigenschaft von den Inline-Inhalt gesetzt werden. Diese Eigenschaften werden von dem Gruppenname mit ein | getrennt, z.B. lightmodal[gruppe|width:100px;] und lightmodal[gruppe|width:100px;][beschriftung]. Wenn keine Gruppierung benutzt wird, dann wird die | trotzdem verwendet und das Format würde wie folgend sein lightmodal[|width:100px;]. Diese Eigenschaften sollten im folgenden Format sein \"Eigenschaft: Wert;\" - vergessen Sie das schließende Semikolon nicht. Wenn keine Eigenschaft gesetzt wurde, dann wird die Standard Breite und Höhe von 400px verwendet. Für detailliertere Beispiele siehe unten.

\n" +"\n" +"

Einfaches Beispiel:
\n" +"\n" +"<a href=\"suche.php\" rel=\"lightmodal\">Suche</a>\n" +"

\n" +"\n" +"

Einfaches Beispiel mit Beschriftung:
\n" +"\n" +"<a href=\"suche.php\" rel=\"lightmodal[][ihre beschriftung]\">Suche</a>\n" +"

\n" +"\n" +"

Beispiel mit Gruppierung:
\n" +"\n" +"<a href=\"suche.php\" rel=\"lightmodal[suche]\">Search</a>
\n" +"<a href=\"suche.php?status=1\" rel=\"lightmodal[suche][veröffentlicht]\">Veröffentlichte Inhalt durchsuchen</a>\n" +"

\n" +"\n" +"

Beispiel mit Kontrolle über die Modal-Eigenschaften:
\n" +"\n" +"<a href=\"suche.php\" rel=\"lightmodal[|width:400px; height:300px; scrolling: auto;]\">Suche</a>\n" +"

\n" +"\n" +"

Beispiel mit Kontrolle über die Modal-Eigenschaften, wenn gruppiert:
\n" +"\n" +"<a href=\"suche.php\" rel=\"lightmodal[suche|width:400px; height:300px; scrolling: auto;]\">Suche</a>
\n" +"<a href=\"suche.php?status=1\" rel=\"lightmodal[suche|width:400px; height:300px;][Suche veröffentlicht]\">Veröffentlichte Inhalt durchsuchen</a>
\n" +"<a href=\"suche.php?status=0\" rel=\"lightmodal[suche|width:400px; height:300px;][Suche unveröffentlicht]\">Unveröffentlichte Inhalt durchsuchen</a>\n" +"

\n" +"\n" +"

Tastaturkürzel

\n" +"\n" +"\n" +"\n" +"\n" +"\n" +"\n" +"\n" +"\n" +"\n" +"\n" +"\n" +"\n" +"\n" +"\n" +"\n" +"
Lightbox schließenx
o
c
ESC
Vorheriges Bildp
Pfeil nach Links
Nächstes Bildn
Pfeil nach Rechts
Zoom Schalterz (nicht bei der Slideshow möglich)
Play / Pause UmschalterLeerzeichen (Nur bei der Slideshow)
\n" +"\n" +"

Nicht alle Tastaturkürzel funktionieren im Opera Browser, z.B. das \"z\" beim Umschalten zum zoomen und die \"Leerzeichen\" Taste beim Umschalten von Play/Pause in den Slideshows. Dies könnte aber überwältigt werden, wenn Sie die Tastaturkürzel-Einstellung in dem Opera Präferenzen-Editor ändern.

" + +#: lightbox2.module:314;418 +msgid "Image links with 'rel=\"lightbox\"' in the <a> tag will appear in a Lightbox when clicked on." +msgstr "Verlinkte Bilder mit dem 'rel=\"lightbox\"' in <a> Tags wird die Lighbox aufrufen, wenn darauf geklickt wurde." + +#: lightbox2.module:317 +msgid "To add a lightbox to your images, add rel=\"lightbox\" attribute to any link tag to activate the lightbox. For example:" +msgstr "Zum Betrachten der Bilder mit Lightbox, fügen Sie das rel=\"lightbox\" Attribut in einen beliebigen Link-Tag hinzu. Zum Beispiel:" + +#: lightbox2.module:318 +msgid "<a href=\"image-1.jpg\" rel=\"lightbox\">image #1</a>" +msgstr "<a href=\"bild-1.jpg\" rel=\"lightbox\">Bild #1</a>" + +#: lightbox2.module:319 +msgid "<a href=\"image-1.jpg\" rel=\"lightbox[][my caption]\">image #1</a>" +msgstr "<a href=\"bild-1.jpg\" rel=\"lightbox[][ihre beschriftung]\">Bild #1</a>" + +#: lightbox2.module:320 +msgid "To show a caption either use the title attribute or put in the second set of square brackets of the rel attribute." +msgstr "Um eine Beschriftung anzeigen, verwende dazu das title-Attribut oder gebe dies in den zweiten eckigen Klammer des rel-Atribut." + +#: lightbox2.module:321 +msgid "If you have a set of related images that you would like to group, then you will need to include a group name between square brackets in the rel attribute. For example:" +msgstr "Wenn Sie zusammengehörige Bilder zu einer Gruppe zusammenfassen wollen, dann müssen Sie einen Gruppennamen in eckigen Klammern in das rel-Attribut einfügen. Zum Beispiel:" + +#: lightbox2.module:322 +msgid "<a href=\"image-1.jpg\" rel=\"lightbox[roadtrip]\">image #1</a>
<a href=\"image-2.jpg\" rel=\"lightbox[roadtrip][caption 2]\">image #2</a>
<a href=\"image-3.jpg\" rel=\"lightbox[roadtrip][caption 3]\">image #3</a>
" +msgstr "<a href=\"bild-1.jpg\" rel=\"lightbox[rundreise]\">bild #1</a>
<a href=\"bild-2.jpg\" rel=\"lightbox[rundreise][beschriftung 2]\">bild #2</a>
<a href=\"bild-3.jpg\" rel=\"lightbox[rundreise][beschriftung 3]\">bild #3</a>
" + +#: lightbox2.module:323 +msgid "There are no limits to the number of image sets per page or how many images are allowed in each set." +msgstr "Es gibt keine Begrenzung für die Anzahl der Bilder pro Seite oder wie viele Bilder in einem Set zulässig sind." + +#: lightbox2.module:324;341 +msgid "If you wish to turn the caption into a link, format your caption in the following way:" +msgstr "Wenn Sie die Beschriftung in einen Hyperlink umwandeln möchten, formatieren Sie ihre Beschriftung in folgender Weise:" + +#: lightbox2.module:325 +msgid "<a href=\"image-1.jpg\" rel='lightbox[][<a href=\"http://www.yourlink.com\">View Image Details</a>]' >image #1</a>" +msgstr "<a href=\"bild-1.jpg\" rel='lightbox[][<a href=\"http://www.ihrlink.de\">Bilddetails anschauen</a>]' >Bild #1</a>" + +#: lightbox2.module:330 +msgid "Image links from G2 are formatted for use with Lightbox2" +msgstr "Verlinkte Bilder von G2 werden für den Gebrauch mit Lightbox2 formatiert" + +#: lightbox2.module:334;424 +msgid "Image links with 'rel=\"lightshow\"' in the <a> tag will appear in a Lightbox slideshow when clicked on." +msgstr "Verlinkte Bilder mit dem 'rel=\"lightshow\"' in den <a> Tags wird die Lightbox-Slideshow aufrufen, wenn darauf geklickt wurde." + +#: lightbox2.module:337 +msgid "To add a lightbox slideshow to your images, add rel=\"lightshow[slideshowname][slide caption]\" attribute to any link tag to activate the slideshow. For example:" +msgstr "Um eine Lightbox-Slideshow zu Ihren Bildern hinzuzufügen, fügen Sie das rel=\"lightshow[Slideshowname][Slideshowbeschriftung]\" Attribut zu irgendein Link-Tag zum Aktivieren der Slideshow hinzu. Als Beispiel:" + +#: lightbox2.module:338 +msgid "<a href=\"image-1.jpg\" rel=\"lightshow[show1]\">image #1</a>
<a href=\"image-2.jpg\" rel=\"lightshow[show1]\">image #2</a>
<a href=\"image-3.jpg\" rel=\"lightshow[show1]\">image #3</a>
" +msgstr "<a href=\"bild-1.jpg\" rel=\"lightshow[show1]\">Bild #1</a>
<a href=\"bild-2.jpg\" rel=\"lightshow[show1]\">Bild #2</a>
<a href=\"bild-3.jpg\" rel=\"lightshow[show1]\">Bild #3</a>
" + +#: lightbox2.module:339 +msgid "The title attribute in the link tag is optional. The addition of this attribute enables the display of a caption with the image displayed in the lightbox." +msgstr "Der Titelattribut in dem Link-Tag ist optional. Jedoch wird durch diesen Attribut die Anzeige einer Bildbeschriftung in der Lightbox ermöglicht." + +#: lightbox2.module:340 +msgid "There are no limits to the number of slideshow image sets per page or how many images are allowed in each slideshow." +msgstr "Es gibt keine Begrenzung für die Anzahl der Bilder einer Slideshow oder wie viele Bilder in einem Slideshow zulässig sind." + +#: lightbox2.module:342 +msgid "<a href=\"image-1.jpg\" rel='lightshow[show1][<a href=\"http://www.yourlink.com\">View Image Details</a>]'>image #1</a>" +msgstr "<a href=\"bild-1.jpg\" rel='lightshow[show1][<a href=\"http://www.ihrlink.de\">Bilddetails anschauen</a>]'>bild #1</a>" + +#: lightbox2.module:348;427 +msgid "Links to HTML content with 'rel=\"lightframe\"' in the <a> tag will appear in a Lightbox when clicked on." +msgstr "Links zu HTML-Inhalt mit dem 'rel=\"lightframe\"' in den <a> Tag wird die Lightbox aufrufen, wenn darauf geklickt wurde." + +#: lightbox2.module:351 +msgid "It's possible to show webpage content in the lightbox, using iframes. In this case the \"rel\" attribute should be set to \"lightframe\". Again it's possible to group the content, (e.g. lightframe[search][caption]) but in addition to that, it's possible to control some of the iframe properties. It's possible to set the \"width\", \"height\" and \"scrolling\" properties of the iframe. The properties are separated from the group name by a |, for example lightframe[search|width:100px;][caption]. If no grouping is being used, then the | is still used and the format would be lightframe[|width:100px;]. The properties should all be of the format \"property: value;\" - note the closing semi-colon. If no iframe properties are set, then the default width and height of 400px will be used. See below for more detailed examples." +msgstr "Es ist möglich Websites durch IFrames in der Lightbox anzuzeigen. In diesem Fall muss das rel-Attribute auf \"lightframe\" gesetzt sein. Es ist auch möglich diese Websites zu gruppieren, (z.B. lightframe[suche][beschriftung]) und zusätzlich ist es möglich einige der IFrame-Eigenschaften zu kontrollieren. Unter anderen kann die 'Breite', 'Höhe' und die 'Scroll' Eigenschaft von dem IFrame gesetzt werden. Diese Eigenschaften werden von dem Gruppenname mit ein | getrennt, z.B. lightframe[suche|width:100px;][beschriftung]. Wenn keine Gruppierung benutzt wird, dann wird die | trotzdem verwendet und das Format würde wie folgend sein lightframe[|width:100px;]. Diese Eigenschaften sollten im folgenden Format sein \"Eigenschaft: Wert;\" - vergessen Sie das schließende Semikolon nicht. Wenn keine IFrame-Eigenschaft gesetzt wurde, dann wird die Standard Breite und Höhe von 400px verwendet. Für detailliertere Beispiele siehe unten." + +#: lightbox2.module:352;371;385 +msgid "Basic example:" +msgstr "Einfaches Beispiel:" + +#: lightbox2.module:353 +msgid "<a href="http://www.google.com" rel="lightframe">Search google</a>" +msgstr "<a href="http://www.google.de" rel="lightframe">Google Suche</a>" + +#: lightbox2.module:354;387 +msgid "Grouped example:" +msgstr "Beispiel für das Gruppieren:" + +#: lightbox2.module:355 +msgid "<a href="http://www.google.com" rel="lightframe[search][caption]">Search google</a>
<a href="http://www.yahoo.com" rel="lightframe[search]">Search yahoo</a>
" +msgstr "<a href="http://www.google.de" rel="lightframe[suche][beschriftung]">Google Suche</a>
<a href="http://de.yahoo.com/" rel="lightframe[suche]">Yahoo Suche</a>
" + +#: lightbox2.module:357 +msgid "Controlling iframe property example:" +msgstr "Beispiel mit Kontrolle über die IFrame Eigenschaften:" + +#: lightbox2.module:358 +msgid "<a href="http://www.google.com" rel="lightframe[|width:400px; height:300px; scrolling: auto;][caption]">Search google</a>" +msgstr "<a href="http://www.google.de" rel="lightframe[|width:400px; height:300px; scrolling: auto;][beschriftung]">Google Suche</a>" + +#: lightbox2.module:359 +msgid "Controlling iframe property when grouped example:" +msgstr "Beispiel mit Kontrolle über die IFrame Eigenschaften, wenn gruppiert:" + +#: lightbox2.module:360 +msgid "<a href="http://www.google.com" rel="lightframe[search|width:400px; height:300px; scrolling: auto;]">Search google</a>
<a href="http://www.yahoo.com" rel="lightframe[search|width:400px; height:300px;]">Search yahoo</a>
" +msgstr "<a href="http://www.google.de" rel="lightframe[suche|width:400px; height:300px; scrolling: auto;]">Google Suche</a>
<a href="http://de.yahoo.com" rel="lightframe[suche|width:400px; height:300px;]">Yahoo Suche</a>
" + +#: lightbox2.module:367;430 +msgid "Links to video content with 'rel=\"lightvideo\"' in the <a> tag will appear in a Lightbox when clicked on." +msgstr "Links zu Video-Inhalte mit 'rel=\"lightvideo\"' in den <a> Tags wird die Lightbox aufrufen, wenn darauf geklickt wurde." + +#: lightbox2.module:370 +msgid "It's possible to show video content in the lightbox. In this case the \"rel\" attribute should be set to lightvideo. It's possible to group videos and to control the size of the lightbox by setting the \"width\" and \"height\" properties. The properties can be configured like lightvideo[group|width:300px; height: 200px;][caption]. The properties should all be of the format \"property: value;\" - note the closing semi-colon. If no properties are set, then the default width and height of 400px will be used. See below for more detailed examples." +msgstr "Es ist möglich Video-Inhalte in der Lightbox anzuzeigen. In diesem Fall muss das rel-Attribut auf lightvideo gesetzt sein. Es ist möglich Videos zu gruppieren und die Größe der Lightbox zu kontrollieren, durch ändern der Eigenschaften für die \"width\" (Breite) und \"height\" (Höhe). Diese Eigenschaften können wie folgt konfiguriert werden: lightvideo[group|width:300px; height: 200px;][caption]. Diese Eigenschaften sollten alle im folgenden Format sein \"Eigenschaft: Wert;\" - vergessen Sie das schließende Semikolon nicht. Wenn keine Eigenschaft gesetzt wurde, dann wird die Standard-Breite und Höhe von 400px verwendet. Für ein detailliertes Beispiel siehe unten." + +#: lightbox2.module:372 +msgid "<a href="http://video.google.com/videoplay?docid=1811233136844420765" rel="lightvideo">Google video example - default size</a>" +msgstr "<a href="http://video.google.com/videoplay?docid=1811233136844420765" rel="lightvideo">Google Video Beispiel - Standardgröße</a>" + +#: lightbox2.module:373 +msgid "Controlling lightbox size example:" +msgstr "Beispiel für eine kontrollierte Größe der Lightbox:" + +#: lightbox2.module:374 +msgid "<a href="http://video.google.com/videoplay?docid=1811233136844420765" rel="lightvideo[group|width:400px; height:300px;][caption]">Google video example - custom size</a>" +msgstr "<a href="http://video.google.com/videoplay?docid=1811233136844420765" rel="lightvideo[group|width:400px; height:300px;][caption]">Google-Video Beispiel - Benutzerdefinierte Größe</a>" + +#: lightbox2.module:375 +msgid "Supported video formats include asx, wmv, mov and swf. A number of online video providers are also supported, including YouTube and Google Video. For a full list of the current supported video providers please see the documentation on drupal.org." +msgstr "Unterstützte Video Formate sind asx, wmv, mov und swf. Ebenso werden einige Video-Hoster unterstützt, z.B. YouTube und Google Video. Für eine ausführliche Liste der unterstützten Video-Hoster, schauen Sie bitte in die Online Dokumentation." + +#: lightbox2.module:381;433 +msgid "Links to inline or modal content with 'rel=\"lightmodal\"' in the <a> tag will appear in a Lightbox when clicked on." +msgstr "Links zu Inline oder modalen Inhalt mit 'rel=\"lightmodal\"' in den <a> Tag wird die Lightbox aufrufen, wenn darauf geklickt wurde." + +#: lightbox2.module:384 +msgid "It's possible to show HTML snippets in the lightbox, that is on the same domain. In this case the \"rel\" attribute should be set to \"lightmodal\". Again it's possible to group the content, (e.g. lightmodal[group][caption]) but in addition to that, it's possible to control some of the modal properties. It's possible to set the \"width\", \"height\" and \"scrolling\" properties of the modal. The properties are separated from the group name by a |, for example lightmodal[group|width:100px;][caption]. If no grouping is being used, then the | is still used and the format would be lightmodal[|width:100px;]. The properties should all be of the format \"property: value;\" - note the closing semi-colon. If no modal properties are set, then the default width and height of 400px will be used. See below for more detailed examples." +msgstr "Es ist möglich HTML-Snippets in der Lightbox anzuzeigen, die mit der gleichen Domain zu erreichen sind. In diesem Fall muss das rel-Attribut auf \"lightmodal\" gesetzt sein. Es ist auch möglich diese Inhalte zu gruppieren,(z.b. lightmodal[gruppe][beschriftung])und zusätzlich ist es möglich einige der Modal-Eigenschaften zu kontrollieren. Unter anderen kann die 'Breite', 'Höhe' und die 'Scroll' Eigenschaft von dem Modal gesetzt werden. aber es ist möglich die Größe der Lightbox zu kontrollieren, durch ändern der Eigenschaften für die \"Breite\" und \"Höhe\". Diese Eigenschaften werden von dem Gruppenname mit ein | getrennt, z.B. lightmodal[gruppe|width:100px;][beschriftung]. Wenn keine Gruppierung benutzt wird, dann wird der | trotzdem verwendet und das Format würde folgend sein lightmodal[|width:100px;]. Diese Eigenschaften sollten im folgenden Format sein \"Eigenschaft: Wert;\" - vergessen Sie das schließende Semikolon nicht. Wenn keine Modal-Eigenschaft gesetzt wurde, dann wird die Standard Breite und Höhe von 400px verwendet. Für detailliertere Beispiele siehe unten." + +#: lightbox2.module:386 +msgid "<a href="search.php" rel="lightmodal">Search</a>" +msgstr "<a href="suche.php" rel="lightmodal">Suche</a>" + +#: lightbox2.module:388 +msgid "<a href="search.php" rel="lightmodal[search][caption 1]">Search</a>
<a href="search.php?status=1" rel="lightmodal[search]">Search published</a>
" +msgstr "<a href="suche.php" rel="lightmodal[suche][beschriftung 1]">Suche</a>
<a href="suche.php?status=1" rel="lightmodal[suche]">Suche veröffentlicht</a>
" + +#: lightbox2.module:390 +msgid "Controlling modal property example:" +msgstr "Beispiel mit Kontrolle über die Modal-Eigenschaften:" + +#: lightbox2.module:391 +msgid "<a href="search.php" rel="lightmodal[|width:400px; height:300px; scrolling: auto;][caption]">Search</a>" +msgstr "<a href="suche.php" rel="lightmodal[|width:400px; height:300px; scrolling: auto;][beschriftung]">Suche</a>" + +#: lightbox2.module:392 +msgid "Controlling modal property when grouped example:" +msgstr "Beispiel mit Kontrolle über die Modal-Eigenschaften, wenn gruppiert:" + +#: lightbox2.module:393 +msgid "<a href="search.php" rel="lightmodal[search|width:400px; height:300px; scrolling: auto;]">Search</a>
<a href="search.php?status=1" rel="lightmodal[search|width:400px; height:300px;]">Search published</a>
" +msgstr "<a href="suche.php" rel="lightmodal[suche|width:400px; height:300px; scrolling: auto;]">Suche</a>
<a href="suche.php?status=1" rel="lightmodal[suche|width:400px; height:300px;]">Suche veröffentlicht</a>
" + +#: lightbox2.module:407 +msgid "Lightbox filter" +msgstr "Lightbox-2 Filter" + +#: lightbox2.module:408 +msgid "Lightbox G2 filter" +msgstr "Lightbox-G2 Filter" + +#: lightbox2.module:409 +msgid "Lightbox slideshow filter" +msgstr "Lightbox-Slideshow Filter" + +#: lightbox2.module:410 +msgid "Lightbox iframe filter" +msgstr "Lightbox-IFrame Filter" + +#: lightbox2.module:411 +msgid "Lightbox video filter" +msgstr "Lightbox-Video Filter" + +#: lightbox2.module:412 +msgid "Lightbox modal filter" +msgstr "Lightbox-Modal Filter" + +#: lightbox2.module:413 +msgid "Disable Lightbox iframe filter" +msgstr "Lightbox-Iframe Filter deaktivieren" + +#: lightbox2.module:421 +msgid "Turns g2_filter links into Lightbox2 appropriate links" +msgstr "Wandelt g2_filter Links in die entsprechende Lightbox2-fähige Links um." + +#: lightbox2.module:436 +msgid "It's possible to show webpage content in the lightbox, using iframes. In this case the \"rel\" attribute should be set to \"lightframe\". However, users can do this without any filters to be enabled. To prevent users from adding iframes to the site in this manner, then please enable this option." +msgstr "Es ist möglich Websites durch IFrames in der Lightbox anzuzeigen. In diesem Fall muss das rel-Attribute auf \"lightframe\" gesetzt sein. Allerdings können Benutzer das tun ohne das ein Filter aktiviert sein muss. Um zu verhindern, dass Benutzer der Website auf diese Weise IFrames hinzufügt, aktivieren Sie diese Option bitte." + +#: lightbox2.module:663 +msgid "press !x to close" +msgstr "!x zum Schließen drücken" + +#: lightbox2.module:808 +msgid "Lightbox2: Image Thumbnail -> Original" +msgstr "Lightbox2: Vorschaubild -> Original" + +#: lightbox2.module:812 +msgid "Lightbox2 slideshow: Image Thumbnail -> Original" +msgstr "Lightbox2-Slideshow: Vorschaubild -> Original" + +#: lightbox2.module:816 +msgid "Lightbox2 iframe: Image Thumbnail -> Content" +msgstr "Lightbox2 IFrame: Vorschaubild -> Content" + +#: lightbox2.module:822 +msgid "Lightbox2: Image Thumbnail -> Full Size Video" +msgstr "Lightbox2: Vorschaubild -> Full Size Video" + +#: lightbox2.module:828;1151 +msgid "Lightbox2 iframe" +msgstr "Lightbox2 IFrame" + +#: lightbox2.module:1152 +msgid "Displays all kinds of files in a popup lightbox in an iframe." +msgstr "Zeigt alle Arten von Dateien im iFrame in einer Popup-Lightbox." + +#: lightbox2.module:1156 +msgid "Lightbox2 image" +msgstr "Lightbox2 Bild" + +#: lightbox2.module:1157 +msgid "Displays image files in a popup lightbox." +msgstr "Zeigt Bilddateien in einer Popup-Lightbox" + +#: lightbox2.module:203 +msgid "administer lightbox2" +msgstr "Lightbox 2 verwalten" + +#: lightbox2.module:203 +msgid "download original image" +msgstr "Original-Bild herunterladen" + +#: lightbox2.module:214 +#: lightbox2.info:0 +msgid "Lightbox2" +msgstr "Lightbox 2" + +#: lightbox2.module:215;223 +msgid "Allows the user to configure the lightbox2 settings" +msgstr "Einstellungen von Lightbox 2" + +#: lightbox2.module:222 +msgid "General" +msgstr "Allgemein" + +#: lightbox2.module:234 +msgid "Allows the user to configure the lightbox2 slideshow functionality" +msgstr "Erlaubt den Benutzer die Lightbox2-Slideshow Funktionalität anzupassen" + +#: lightbox2.module:244 +msgid "HTML Content" +msgstr "HTML Inhalt" + +#: lightbox2.module:250 +msgid "Allows the user to configure the lightbox2 HTML content functionality." +msgstr "Erlaubt dem Benutzer die Lightbox2 HTML-Inhalt Funktionalität zu konfigurieren." + +#: lightbox2.module:255 +msgid "Automatic image handling" +msgstr "Automatische Bildbehandlung" + +#: lightbox2.module:256 +msgid "Allows the user to configure the lightbox2 automatic image handling settings" +msgstr "Erlaubt den Benutzer die Einstellungen der Lightbox2 automatischen Bildbehandlung anzupassen" + +#: lightbox2.module:283 +msgid "Login" +msgstr "Anmelden" + +#: lightbox2.module:289 +msgid "Contact" +msgstr "Kontaktieren" + +#~ msgid "lightbox2" +#~ msgstr "lightbox2" + diff --git a/sites/all/modules/lightbox2/translations/fr.po b/sites/all/modules/lightbox2/translations/fr.po new file mode 100644 index 0000000..ba8b1d2 --- /dev/null +++ b/sites/all/modules/lightbox2/translations/fr.po @@ -0,0 +1,1185 @@ +# $Id: fr.po,v 1.1.2.2 2009/05/02 01:32:06 snpower Exp $ +# +# French translation of Drupal (general) +# Copyright YEAR NAME +# Generated from files: +# lightbox2.admin.inc,v 1.1.2.24 2009/01/07 17:46:47 snpower +# lightbox2.module,v 1.16.2.16.2.147 2009/01/08 12:34:25 snpower +# lightbox2.info,v 1.1.6.4 2008/07/14 11:51:34 snpower +# +msgid "" +msgstr "" +"Project-Id-Version: French translation for Drupal Lightbox2\n" +"POT-Creation-Date: 2009-02-13 21:03+0100\n" +"PO-Revision-Date: 2009-02-17 19:00+0100\n" +"Last-Translator: Stéphane Bordage \n" +"Language-Team: Stéphane Bordage, Breek.fr \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=utf-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Poedit-Language: french\n" +"X-Poedit-Country: France\n" +"Plural-Forms: nplurals=2; plural=(n!=1);\n" + +#: lightbox2.admin.inc:26 +msgid "View Image Details" +msgstr "Voir les détails de l'image" + +#: lightbox2.admin.inc:26 +msgid "Image !current of !total" +msgstr "Image !current sur !total" + +#: lightbox2.admin.inc:26 +msgid "Page !current of !total" +msgstr "Page !current sur !total" + +#: lightbox2.admin.inc:26 +msgid "Video !current of !total" +msgstr "Vidéo !current sur !total" + +#: lightbox2.admin.inc:26 +msgid "Download Original" +msgstr "Télécharger l'original" + +#: lightbox2.admin.inc:32 +msgid "Layout settings" +msgstr "Paramètres de mise " + +#: lightbox2.admin.inc:42 +msgid "Lightbox2 lite" +msgstr "Lightbox2 lite" + +#: lightbox2.admin.inc:50 +msgid "Use lightbox2 lite" +msgstr "Utilise Lightbox2 lite" + +#: lightbox2.admin.inc:51 +msgid "Checking this box will enable Lightbox2 Lite and will disable all of the automatic image URL re-formatting features. It also disables all grouping features." +msgstr "Cocher cette case activera Lightbox2 et désactivera toutes les fonctionnalités de reformatage automatic des URL des images. Cela désactive également toutes les fonctionnalités de groupe." + +#: lightbox2.admin.inc:59 +msgid "Use alternative layout" +msgstr "Utiliser une mise en page alternative" + +#: lightbox2.admin.inc:60 +msgid "Enabling this option alters the layout of the lightbox elements. In the alternative layout the navigational links appear under the image with the caption text, instead of being overlayed on the image itself. This doesn't apply when using Lightbox Lite." +msgstr "Activer cette option modifie la lise en page des éléments de la Lightbox. Dans la mise en page alternative, les liens de navigation apparaissent sous l'image avec la légende, au lieu d'être affichés en surimpression sur l'image. Cela ne s'applique dans le cas de Lightbox Lite." + +#: lightbox2.admin.inc:67 +msgid "Force visibility of navigation links" +msgstr "Forcer la visibilité des liens de navigation" + +#: lightbox2.admin.inc:68 +msgid "When viewing grouped images, the navigational links to the next and previous images are only displayed when you hover over the image. Checking this box forces these links to be displayed all the time." +msgstr "Quand on consulte des images groupées, les liens de navigation vers les images précédentes et suivantes ne sont affichés que si ma sourie passe au-dessus. Cochez cette case pour que les liens apparaissent en permanence." + +#: lightbox2.admin.inc:75 +msgid "Continuous galleries" +msgstr "Galeries ininterrompues" + +#: lightbox2.admin.inc:76 +msgid "When viewing grouped images, the Next button on the last image will display the first image, while the Previous button on the first image will display the last image." +msgstr "Lors de l'affichage d'images groupées, un clic sur le bouton \"Suivant\" sur la dernière image affichera la première image alors qu'un clic sur le bouton Précédent sur la première image affichera la dernière image." + +#: lightbox2.admin.inc:83 +msgid "Open image page in new window" +msgstr "Ouvrir la page de l'image dans une nouvelle fenêtre" + +#: lightbox2.admin.inc:84 +msgid "This controls whether the link to the image page underneath the image is opened in a new window or the current window." +msgstr "Cela détermine si le lien vers la page de l'image, affiché sous l'image, pointe vers une nouvelle fenêtre ou vers la fenêtre courante." + +#: lightbox2.admin.inc:92 +msgid "Text for image page link" +msgstr "Texte du lien pointant vers la page de l'image" + +#: lightbox2.admin.inc:93 +msgid "This is the text that will appear as the link to the image page underneath the image in the lightbox. Leave this blank for the link not to appear." +msgstr "C'est le texte du lien pointant vers la page des images, il s'affiche sous l'image dans la lightbox. Laisser vide pour que le lien n'apparaisse pas." + +#: lightbox2.admin.inc:100 +msgid "Text for image original link" +msgstr "Texte du lien pointant vers l'image originale" + +#: lightbox2.admin.inc:101 +msgid "This is the text that will appear as the link to the original file underneath the image in the lightbox. Leave this blank for the link not to appear." +msgstr "C'est le texte du lien pointant vers le fichier original, il s'affiche sous l'image dans la lightbox. Laisser vide pour que le lien n'apparaisse pas." + +#: lightbox2.admin.inc:109 +msgid "Image count text" +msgstr "Texte du nombre d'images" + +#: lightbox2.admin.inc:110 +msgid "This text is used to display the image count underneath the image in the lightbox when image grouping is enabled. Use !current as a placeholder for the number of the current image and !total for the total number of images in the group. For example, \"Image !current of !total\". Leave blank for text not to appear." +msgstr "Ce texte est utilisé pour afficher le nombre d'images dans le cas ou le groupement d'images est activé. Il est affiché sous l'image dans la Lightbox. Utiliser !current pour le numéro de l'image courante et !total pour le nombre total d'images du groupe. Par exemple, \"Image !current sur !total\". Laisser vide pour que le texte n'apparaisse pas." + +#: lightbox2.admin.inc:117 +msgid "Page count text" +msgstr "Texte du nombre de pages" + +#: lightbox2.admin.inc:118 +msgid "This text is used to display the page count underneath HTML content displayed in the lightbox when using groups. Use !current as a placeholder for the number of the current page and !total for the total number of pages in the group. For example, \"Page !current of !total\". Leave blank for text not to appear." +msgstr "Ce texte est utilisé pour afficher le nombre de page sous le contenu HTML affiché dans la Lightbox dans le cas de l'utilisation des groupes. Utiliser !current pour le numéro de la page courante et !total pour le nombre total de page du groupe. Par exemple, \"Page !current sur !total\". Laisser vide pour que le texte n'apparaisse pas." + +#: lightbox2.admin.inc:125 +msgid "Video count text" +msgstr "Texte du nombre de vidéo" + +#: lightbox2.admin.inc:126 +msgid "This text is used to display the count underneath video content displayed in the lightbox when using groups. Use !current as a placeholder for the number of the current video and !total for the total number of videos in the group. For example, \"Video !current of !total\". Leave blank for text not to appear." +msgstr "Ce texte est utilisé pour afficher le nombre de vidéos dans le cas ou le groupement d'images est activé. Il est affiché sous la vidéo dans la Lightbox. Utiliser !current pour le numéro de la vidéo courante et !total pour le nombre total de vidéos du groupe. Par exemple, \"Vidéo !current sur !total\". Laisser vide pour que le texte n'apparaisse pas." + +#: lightbox2.admin.inc:134 +msgid "Image resize settings" +msgstr "Paramètres de redimensionnement d'image" + +#: lightbox2.admin.inc:142 +msgid "Disable resizing feature" +msgstr "Désactiver la fonction de redimensionnement" + +#: lightbox2.admin.inc:143 +msgid "By default, when the image being displayed in the lightbox is larger than the browser window, it is resized to fit within the window and a zoom button is provided for users who wish to view the image in its original size. Checking this box will disable this feature and all images will be displayed without any resizing." +msgstr "Par défaut, quand l'image affichée dans la Lightbox est plus grande que la fenêtre du navigateur, elle est redimensionnée en fonction de la fenêtre du navigateur et un bouton d'agrandissement s'affiche pour que les utilisateurs puissent voir l'image dans sa taille originale. Cocher cette case désactive la fonction et toutes les images seront affichées sans aucun redimensionnement." + +#: lightbox2.admin.inc:150 +msgid "Disable zoom in / out feature" +msgstr "Désactiver les fonctionnalités d'agrandissement et de rétrécissement" + +#: lightbox2.admin.inc:151 +msgid "When the image being displayed in the lightbox is resized to fit in the browser window, a \"zoom in\" button is shown. This allows the user to zoom in to see the original full size image. They will then see a \"zoom out\" button which will allow them to see the smaller resized version. Checking this box will prevent these buttons from appearing." +msgstr "Quand l'image affichée dans la Lightbox est redimensionnée pour loger dans la fenêtre du navigateur, un bouton \"Agrandir\" est affiché. Cela permet aux utilisateurs d'agrandir l'image pour la voir à sa taille originale. Ils voient alors un bouton \"Rétrécir\"qui leur permet de voir la petite version de l'image. Cocher cette case empêche les boutons d'apparaitre." + +#: lightbox2.admin.inc:159 +msgid "Modal form settings" +msgstr "Paramètres de formulaire modal" + +#: lightbox2.admin.inc:167 +msgid "Enable login support" +msgstr "Activer le support d'identifictaion" + +#: lightbox2.admin.inc:168 +msgid "Enabling this option will modify all login links so that the login form appears in a lightbox." +msgstr "Activer cette option modifiera tous les liens de connection de sorte qu'ils apparaissent dans une Lightbox." + +#: lightbox2.admin.inc:175 +msgid "Enable contact form support" +msgstr "Activer le support du formulaire de contact" + +#: lightbox2.admin.inc:176 +msgid "Enabling this option will modify all contact links so that the contact form appears in a lightbox." +msgstr "Activer cette option modifiera tous les liens de contact de manière à ce que le formualire de contact apparaisse dans une lightbox." + +#: lightbox2.admin.inc:184 +msgid "Video settings" +msgstr "Paramètres vidéo" + +#: lightbox2.admin.inc:192 +msgid "Enable video support" +msgstr "Activer le support de la vidéo" + +#: lightbox2.admin.inc:193 +msgid "By default, video support is disabled in order to reduce the amount of javascript needed. Checking this box will enable it." +msgstr "Par défaut, le support dela vidéo est désactivé pour réduire le volume de JavaScript nécessaire. Cochez cette case pour activer le support vidéo." + +#: lightbox2.admin.inc:200 +msgid "Path to FLV Player" +msgstr "Chemin pour le lecteur FLV" + +#: lightbox2.admin.inc:201 +msgid "The path to the FLV player, relative to Drupal root directory." +msgstr "Le chemin vers le lecteur FLV, relatif à la racine de Drupal." + +#: lightbox2.admin.inc:208 +msgid "FLV Player flashvars" +msgstr "Variables du lecteur FLV" + +#: lightbox2.admin.inc:209 +msgid "Flashvars for the FLV Player where supported, e.g. \"autoplay=1&playerMode=normal\"." +msgstr "Variables du lecteur FLV si supportées, par exemple \"autoplay=1&playerMode=normal\"." + +#: lightbox2.admin.inc:216 +msgid "Page specific lightbox2 settings" +msgstr "Paramètres spécifiques à la gestion des pages pour Lightbox2" + +#: lightbox2.admin.inc:223 +msgid "Load only on the listed pages." +msgstr "Charger uniquement dans les pages listées." + +#: lightbox2.admin.inc:224 +msgid "Load on every page except the listed pages." +msgstr "Charger dans toutes les pages sauf celles listées." + +#: lightbox2.admin.inc:229 +msgid "Enable lightbox2 on specific pages" +msgstr "Activer Lightbox2 sur certaines pages spécifiques" + +#: lightbox2.admin.inc:235 +msgid "Pages" +msgstr "Pages" + +#: lightbox2.admin.inc:236 +msgid "List one page per line as Drupal paths. The * character is a wildcard. Example paths are \"node/add/page\" and \"node/add/*\". Use <front> to match the front page." +msgstr "Lister une page par ligne en utilisant les chemins Drupal. Le * est un joker. Exemples : \"node/add/page\" and \"node/add/*\". Utilisez <front> pour la page d'accueil." + +#: lightbox2.admin.inc:245 +msgid "CCK display settings" +msgstr "Paramètres d'affichage CCK" + +#: lightbox2.admin.inc:251 +msgid "No grouping" +msgstr "Pas de regroupement" + +#: lightbox2.admin.inc:252 +msgid "Group by field name" +msgstr "Grouper par nom de champ" + +#: lightbox2.admin.inc:253 +msgid "Group by node id" +msgstr "Grouper par ID de noeud" + +#: lightbox2.admin.inc:254 +msgid "Group by field name and node id" +msgstr "Grouper par nom de champ et ID de noeud" + +#: lightbox2.admin.inc:261 +msgid "Select Emfield Image grouping in Views" +msgstr "Sélectionner un grouepement d'images Emfield dans les Vues" + +#: lightbox2.admin.inc:262 +msgid "By default, emfield images in views are grouped by the field name they appear in the view in. You can override that grouping here." +msgstr "Par défaut, les images emfield sont groupées dans les vues par nom de champ dans lequel elles apparaissent dans la vue. Vous pouvez surcharger ce regroupement ici." + +#: lightbox2.admin.inc:272 +msgid "Select Imagefield grouping in Views" +msgstr "Sélectionnez un regroupement Imagefield dans les Vues" + +#: lightbox2.admin.inc:273 +msgid "By default, imagefields in views are grouped by the field name they appear in the view in. You can override that grouping here." +msgstr "Par défaut, les champs images sont groupés dans les vues en fonction du nom de champ dans lequel ils apparaissent. Vous pouvez surcharger ce groupement ici." + +#: lightbox2.admin.inc:279 +msgid "Use node title as caption" +msgstr "Utiliser le titre du noeud en tant que légende" + +#: lightbox2.admin.inc:280 +msgid "By default, the caption for imagefields is the image title text configured. If no title is configured, then the alt text will be used. This option allows you to override that and always display the node title as the image caption." +msgstr "Par défaut, la légende des champs image est le texte du titre de l'image. Si aucun titre est configuré, alors le texte du ALT est utilisé. Cette option vous permet de passer outre et de toujours afficher le titre du noeud en tant que légende de l'image." + +#: lightbox2.admin.inc:291 +msgid "Advanced settings" +msgstr "Paramètres avancés" + +#: lightbox2.admin.inc:301 +msgid "Location of javscript" +msgstr "Place du JavaScript" + +#: lightbox2.admin.inc:302 +msgid "Header" +msgstr "Titre" + +#: lightbox2.admin.inc:302 +msgid "Footer" +msgstr "Pied de page" + +#: lightbox2.admin.inc:303 +msgid "By default, the lightbox javascript files are loaded in the HTML header. However, for sites using SWFObject to load their Flash content, the footer setting is recommended to prevent \"Operation Aborted\" errors in IE. If using the footer setting, please note that not all themes correctly implement the footer region and may require a small change." +msgstr "Par défaut, les fichiers JavaScript de la Lightbox sont chargés dans l'entête HTML. Cependant, pour les sites utilisant SWFObject pour charger le contenu Flash, le paramètre en pied de page est recommandé pour éviter des erreur de type \"Opération avortée\" dans IE. Si vous utilisez le paramètre en pied de page, notez que tous les thèmes ne mettent pas en oeuvre correctement la zone de pied de page, certains nécessitent de légères adaptations." + +#: lightbox2.admin.inc:309 +msgid "Click on overlay or lightbox to close it" +msgstr "Cliquez sur le calque ou sur la lightbox pour la fermer" + +#: lightbox2.admin.inc:310 +msgid "Enable user to close lightbox by clicking on the lightbox itself or the overlay background." +msgstr "Permet à l'utilisateur de fermer la Lightbox en cliquant que la Lightbox elle même ou sur le calque." + +#: lightbox2.admin.inc:318 +msgid "Keyboard shortcuts" +msgstr "Raccourcis clavier" + +#: lightbox2.admin.inc:319 +msgid "Configure the keyboard shortcuts for controlling the lightbox. These options do not apply to the Lightbox2 Lite version, which uses the default \"Close keys\" (c, x and esc) to close the lightbox." +msgstr "Configure les raccourcis clavier pour qu'ils contrôlent la Lightbox. Ces options ne s'appliquent pas à la version Lightbox2 Lite qui utilise par défaut \"Touches de fermeture\" (c, x et esc) pour fermer la Lightbox." + +#: lightbox2.admin.inc:326 +msgid "Close keys" +msgstr "Touches de fermeture" + +#: lightbox2.admin.inc:327 +msgid "A list of keys (or key codes) that a user may use to close the lightbox. Values should be separated by a space. Defaults to 'c x 27' (c, x, or esc)." +msgstr "Une liste de touches (ou codes de touche) qu'un utilisateur peut utiliser pour fermer la Lightbox. Les valeurs doivent être séparées par un espace. Par défaut : 'c x 27' (c, x, ou esc)." + +#: lightbox2.admin.inc:333 +msgid "Previous keys" +msgstr "Touches précédentes" + +#: lightbox2.admin.inc:334 +msgid "A list of keys (or key codes) that a user may use to navigate to the previous item in the lightbox. Values should be separated by a space. Defaults to 'p 37' (p or left arrow)." +msgstr "Une liste de touches (ou codes de touche) qu'un utilisateur peut utiliser pour accéder à l'élément précédent dans la Lightbox. Les valeurs doivent être séparées par un espace. Par défaut : 'p 37' (p ou flêche gauche)." + +#: lightbox2.admin.inc:340 +msgid "Next keys" +msgstr "Touches suivantes" + +#: lightbox2.admin.inc:341 +msgid "A list of keys (or key codes) that a user may use to navigate to the next item in the lightbox. Values should be separated by a space. Defaults to 'n 39' (n or right arrow)." +msgstr "Une liste de touches (ou codes de touche) qu'un utilisateur peut utiliser pour accéder à l'élément suivant dans la Lightbox. Les valeurs doivent être séparées par un espace. Par défaut : 'n 39' (n ou flêche droite)." + +#: lightbox2.admin.inc:347 +msgid "Zoom keys" +msgstr "Touches d'agrandissement" + +#: lightbox2.admin.inc:348 +msgid "A list of keys (or key codes) that a user may use to zoom in / out of images in the lightbox. Values should be separated by a space. Defaults to 'z'." +msgstr "Une liste de touches (ou codes de touche) qu'un utilisateur peut utiliser pour agrandir ou rétrécir les images dans la Lightbox. Les valeurs doivent être séparées par un espace. Par défaut : 'z'." + +#: lightbox2.admin.inc:354 +msgid "Pause / play keys" +msgstr "Touches Lecture/Pause" + +#: lightbox2.admin.inc:355 +msgid "A list of keys (or key codes) that a user may use to pause / play the lightbox. Values should be separated by a space. Defaults to '32' (spacebar)." +msgstr "Une liste de touches (ou codes de touche) qu'un utilisateur peut utiliser pour mettre en pause / lire la Lightbox. Les valeurs doivent être séparées par un espace. Par défaut : '32' (barre d'espace)." + +#: lightbox2.admin.inc:366 +msgid "Skin settings" +msgstr "Paramètres de l'habillage" + +#: lightbox2.admin.inc:373 +msgid "Border size" +msgstr "Taille du bord" + +#: lightbox2.admin.inc:376 +msgid "Enter the size of the border in pixels to display around the image." +msgstr "Saisissez la taille du bord en pixel(s) à afficher autour de l'image." + +#: lightbox2.admin.inc:382 +msgid "Lightbox color" +msgstr "Couleur de la LIghtbox" + +#: lightbox2.admin.inc:386 +msgid "Enter a hexadecimal color value for the border. For example fff or ffffff for white)." +msgstr "Saisir une valeur hexadécimale pour la couleur. Par exemple fff ou ffffff pour blanc)." + +#: lightbox2.admin.inc:392 +msgid "Font color" +msgstr "Couleur de la police" + +#: lightbox2.admin.inc:396 +msgid "Enter a hexadecimal color value for the font. For example 000 or 000000 for black)." +msgstr "Saisir une valeur hexadécimale pour la couleur de la police. Par exemple 000 ou 000000 pour noir)." + +#: lightbox2.admin.inc:402 +msgid "Distance from top" +msgstr "Distance depuis le haut" + +#: lightbox2.admin.inc:405 +msgid "Enter the position of the top of the lightbox in pixels. Leave blank for automatic calculation." +msgstr "Saisir la position du haut de la lightbox (en pixels). Laisser vide pour un calcule automatique." + +#: lightbox2.admin.inc:415 +msgid "Overlay settings" +msgstr "Paramètres de calque" + +#: lightbox2.admin.inc:426 +msgid "Overlay opacity" +msgstr "Opacité du calque" + +#: lightbox2.admin.inc:428 +msgid "The overlay opacity setting determines how visible the background page is behind the lightbox. The opacity value can range from 0.0 to 1.0 where 0.0 is 100% transparent and 1.0 is 100% opaque." +msgstr "Les paramètres d'opacité du calque définissent a quel point la page est visible sous la Lightbox. La valeur d'opacité peut aller de 0.0 à 0.1 où 0.0 est égale à 100% transparent et 1.0 est égale à 100% opaque." + +#: lightbox2.admin.inc:434 +msgid "Overlay color" +msgstr "Couleur du calque" + +#: lightbox2.admin.inc:438 +msgid "Enter a hexadecimal color value for the overlay. For example 000 or 000000 for black)." +msgstr "Saisissez une valeur héxadécimale de couleur pour le calque. Par exemple 000 ou 000000 pour noir)." + +#: lightbox2.admin.inc:447 +msgid "Animation settings" +msgstr "Paramètres d'animation" + +#: lightbox2.admin.inc:453 +msgid "These options aren't available when using Lightbox2 Lite." +msgstr "Ces options ne sont pas disponibles si vous utilisez Lightbox2 Lite." + +#: lightbox2.admin.inc:456 +msgid "Simultaneous" +msgstr "Simultanément" + +#: lightbox2.admin.inc:457 +msgid "Width then height" +msgstr "Largeur puis hauteur" + +#: lightbox2.admin.inc:458 +msgid "Height then width" +msgstr "Hauteur puis largeur" + +#: lightbox2.admin.inc:462 +msgid "Resize sequence" +msgstr "Séquence de redimensionnement" + +#: lightbox2.admin.inc:464 +msgid "The sequence to use for the resizing animation." +msgstr "Séquence à utiliser pour l'animation de redimensionnement." + +#: lightbox2.admin.inc:469 +msgid "Resize duration" +msgstr "Durée de redimensionnement" + +#: lightbox2.admin.inc:472 +msgid "The duration (in seconds) of the resizing animation. Enter a value between 0 and 10." +msgstr "La durée en secondes de l'animation de redimmensionnement. Saisissez une valeur entre 0 et 10." + +#: lightbox2.admin.inc:477 +msgid "Appearance duration" +msgstr "Durée d'apparition" + +#: lightbox2.admin.inc:480 +msgid "The duration (in seconds) of the lightbox appearance animation. Enter a value between 0 and 10." +msgstr "La durée en secondes de l'apparition de l'animation de la Lightbox. Saisissez une valeur entre 0 et 10." + +#: lightbox2.admin.inc:487 +msgid "Caption slide down duration" +msgstr "Durée de glissement vers le bas de la légende" + +#: lightbox2.admin.inc:490 +msgid "The duration (in seconds) of the caption sliding-down animation. Enter a value between 0 and 10." +msgstr "La durée en secondes du glissement vers le bas de la légende. Saisissez une valeur entre 0 et 10." + +#: lightbox2.admin.inc:520 +msgid "FLV player path doesn't exist." +msgstr "Le chemin du lecteur FLV n'existe pas." + +#: lightbox2.admin.inc:526;535;539 +msgid "You must enter a properly formed hex value." +msgstr "Vous devez saisir une valeur hexadécimale bien formée." + +#: lightbox2.admin.inc:531 +msgid "You must enter a size greater than 0 pixels." +msgstr "Vous devez saisir une taille plus grande que 0 pixels." + +#: lightbox2.admin.inc:543 +msgid "You must enter a size greater than 0 pixels. Leave blank for default positioning." +msgstr "Vous devez saisir une taille plus grande que 0 pixels. Laissez vide pour un positionnement par défaut." + +#: lightbox2.admin.inc:547;551;555 +msgid "You must enter a duration between 0 and 10 seconds." +msgstr "Vous devez saisir une durée entre 0 et 10 secondes." + +#: lightbox2.admin.inc:586 +msgid "Interval seconds" +msgstr "Nombre de secondes d'intervale" + +#: lightbox2.admin.inc:587 +msgid "The slideshow interval is the length of time in seconds an image is visible before the slideshow shows the next image." +msgstr "L'intervale du diaporama est le temps en secondes pendant lequel une image est visible avant que le diaporama n'affiche l'image suivante." + +#: lightbox2.admin.inc:595 +msgid "Automatically start slideshow" +msgstr "Démarrer automatiquement le diaporama" + +#: lightbox2.admin.inc:596 +msgid "When enabled the slideshow will automatically start." +msgstr "Si activé, le diaporama démarrera automatiquement." + +#: lightbox2.admin.inc:603 +msgid "Automatically exit slideshow" +msgstr "Sortir automatiquement du diaporama" + +#: lightbox2.admin.inc:604 +msgid "When enabled the lightbox will automatically close after displaying the last image." +msgstr "Si activé, la Lightbox se fermera automatiquement après avoir affiché la dernière image." + +#: lightbox2.admin.inc:611 +msgid "Show play / pause button" +msgstr "Afficher le bouton Lecture / Pause" + +#: lightbox2.admin.inc:612 +msgid "When enabled, a play / pause button will be shown in the slideshow allowing the user more control over their viewing experience." +msgstr "Si activer, un bouton Lecture / Pause sera affiché dans le diaporama offrant plus de contrôle aux utilisateurs." + +#: lightbox2.admin.inc:619 +msgid "Pause slideshow on \"Next Image\" click" +msgstr "Mettre en pause le diaporama lors du clic sur \"Suivante\"" + +#: lightbox2.admin.inc:620 +msgid "When enabled the slideshow is automatically paused, and the following image shown, when the \"Next\" button is clicked." +msgstr "Si activé, le diaporama est automatiquement mis en pause et l'image suivante affichée au clic sur le bouton \"Suivante\"." + +#: lightbox2.admin.inc:627 +msgid "Pause slideshow on \"Previous Image\" click" +msgstr "Mettre en pause le diaporama au clic sur \"Précédente\"" + +#: lightbox2.admin.inc:628 +msgid "When enabled the slideshow is automatically paused, and the previous image shown, when the \"Previous\" button is clicked." +msgstr "Si activé, le diaporama est automatiquement mis en pause et l'image précédente affichée au clic sur le bouton \"Précédente\"." + +#: lightbox2.admin.inc:635 +msgid "Continuous loop" +msgstr "Boucle infinie" + +#: lightbox2.admin.inc:636 +msgid "When enabled the slideshow will automatically start over after displaying the last slide. This prevents the slideshow from automatically exiting when enabled." +msgstr "Si activé, le diaporama redémarera automatiquement après avoir affiché la dernière image. Cela permet déviter la fermeture automatique du diaporama." + +#: lightbox2.admin.inc:650 +msgid "The \"interval seconds\" value must be numeric." +msgstr "La valeur \"intervale en secondes\" doit être numérique." + +#: lightbox2.admin.inc:672 +msgid "Default width" +msgstr "Largeur par défaut" + +#: lightbox2.admin.inc:673 +msgid "The default width of the iframe in pixels." +msgstr "La largeur par défaut de l'iframe, en pixels." + +#: lightbox2.admin.inc:681 +msgid "Default height" +msgstr "Hauteur par défaut" + +#: lightbox2.admin.inc:682 +msgid "The default height of the iframe in pixels." +msgstr "La hauteur par défaut de l'iframe, en pixels." + +#: lightbox2.admin.inc:690 +msgid "Enable border" +msgstr "Activer la bordure" + +#: lightbox2.admin.inc:691 +msgid "Enable iframe border. You can modify the border style in your theme's css file using the iframe's id \"lightboxFrame\"." +msgstr "Active la bordure de l'iframe. Vous pouvez modifier le style de la bordure dans le fichier CSS de votre thème en utilisant l'id \"lightboxFrame\"." + +#: lightbox2.admin.inc:705 +msgid "The \"default width\" value must be numeric." +msgstr "La valeur \"largeur par défaut\" doit être numérique." + +#: lightbox2.admin.inc:708 +msgid "The \"default height\" value must be numeric." +msgstr "La valeur \"hauteur par défaut\" doit être numérique." + +#: lightbox2.admin.inc:728 +msgid "Disabled" +msgstr "Désactivé" + +#: lightbox2.admin.inc:729 +msgid "Lightbox" +msgstr "Lightbox" + +#: lightbox2.admin.inc:730 +msgid "Lightbox grouped" +msgstr "Lightbox groupées" + +#: lightbox2.admin.inc:731 +#: lightbox2.module:233 +msgid "Slideshow" +msgstr "Diaporama" + +#: lightbox2.admin.inc:732 +msgid "HTML content" +msgstr "contenu HTML" + +#: lightbox2.admin.inc:733 +msgid "HTML content grouped" +msgstr "contenus HTML groupés" + +#: lightbox2.admin.inc:738 +msgid "These options allow automatic URL re-formatting of images. This removes the need for you to add 'rel=\"lightbox\"' to each image link throughout your site. You can select which image sizes will trigger the lightbox and configure a list of image CSS classes which should also have their URLs automatically re-formatted. This feature is not available when using Lightbox2 Lite." +msgstr "Ces options permettent de reformater les URLs des images automatiquement. Cela vous évite d'avoir à ajouter 'rel=\"lightbox\"' à chaque lien d'image. Vous pouvez sélectionner quelles tailles d'image déclenchera la lightbox et configurer une liste de classes CSS pour les images qui auront aussi leurs URLs reformatées automatiquement. Cette fonctionnalité n'est pas disponible avec Lightbox2 Lite." + +#: lightbox2.admin.inc:745 +msgid "Automatic handlers" +msgstr "Gestionnaires automatiques" + +#: lightbox2.admin.inc:754 +msgid "Image node settings" +msgstr "Paramètres du noeud image" + +#: lightbox2.admin.inc:762 +msgid "Automatic handler for image nodes" +msgstr "Gestionnaires automatiques pour les noeuds image" + +#: lightbox2.admin.inc:764 +msgid "Choose how URLs for image nodes will be automatically handled." +msgstr "Choisissez comment les URLs des noeuds d'image seront automatiquement gérés." + +#: lightbox2.admin.inc:779 +msgid "Lightbox image display size" +msgstr "Taille de l'image affichée par la Lightbox" + +#: lightbox2.admin.inc:782 +msgid "Select which image size will be loaded in the lightbox. This only applies to images uploaded with the Image module." +msgstr "Sélectionnez quelle taille d'image sera affichée dans la LIghtbox. Cela s'applique uniquement aux images téléversées avec le module Image." + +#: lightbox2.admin.inc:788 +msgid "Image trigger size" +msgstr "Taille d'image déclenchant une action" + +#: lightbox2.admin.inc:791 +msgid "Select which image size, when clicked on, will automatically trigger the lightbox. This only applies to images uploaded with the Image module." +msgstr "Sélectionnez quelle taille d'image, quand cliquée, déclenchera automatiquement la Lightbox. Cela s'applique uniquement aux images téléversées avec le module Image." + +#: lightbox2.admin.inc:799 +msgid "Disable lightbox for gallery lists" +msgstr "Désactiver Lightbox pour les listes de galeries" + +#: lightbox2.admin.inc:800 +msgid "Checking this box will disable the lightbox for images in gallery lists. This means it is possible to open a gallery by clicking on the teaser image, but the lightbox will still appear when viewing images within the gallery. This only applies to image galleries created with the \"image gallery\" module." +msgstr "Cocher cette case désactivera la Lightbox pour les images dans les listes de galeries. Cela veut dire qu'il est possible d'ouvrir une galerie en cliquant sur l'image du résumé (teaser) et que la Ligthbox apparaitra lors de l'affichage des images dans la galerie. Cela ne s'applique qu'aux galeries d'images créées avec le module \"image gallery\"." + +#: lightbox2.admin.inc:808 +msgid "Flickr images" +msgstr "Images Flickr" + +#: lightbox2.admin.inc:815 +msgid "Automatic handler for Flickr images" +msgstr "Gestionnaire automatique d'images Flickr" + +#: lightbox2.admin.inc:817 +msgid "Choose how URLs for Flickr images will be automatically handled." +msgstr "Choisissez comment les URLs des images Flickr seront automatiquement gérées." + +#: lightbox2.admin.inc:825 +msgid "Gallery2 images" +msgstr "Images de Gallery2" + +#: lightbox2.admin.inc:832 +msgid "Automatic handler for Gallery2 block images" +msgstr "Gestionnaires automatiques pour les images des blocs de Gallery2" + +#: lightbox2.admin.inc:834 +msgid "Choose how URLs for images, contained within Gallery2 image blocks, will be automatically handled." +msgstr "Choisissez comment les URLs des images contenus dans les blocs de Gallery2 seront automatiquement gérés." + +#: lightbox2.admin.inc:842 +msgid "Inline images" +msgstr "Images incluses" + +#: lightbox2.admin.inc:849 +msgid "Automatic handler for Inline images" +msgstr "Gestionnaire automatique pour les images incluses" + +#: lightbox2.admin.inc:851 +msgid "Choose how URLs for Inline images will be automatically handled." +msgstr "Choisissez comment les URLs des images incluses seront gérés automatiquement." + +#: lightbox2.admin.inc:859 +msgid "Image Assist images" +msgstr "Images du module Image Assist" + +#: lightbox2.admin.inc:866 +msgid "Automatic handler for Image Assist custom size images" +msgstr "Gestionnaire automatique pour les tailles d'image personnalisées du module Image Assist" + +#: lightbox2.admin.inc:868 +msgid "Choose how URLs for custom size images, displayed by the Image Assist module, will be automatically handled." +msgstr "Choisissez comment les URLs des images possédant une taille personnalisée, affichées par le module Image Assist, seront automatiquement gérées." + +#: lightbox2.admin.inc:876 +msgid "Custom class images" +msgstr "Images possédant une class CSS personnalisée" + +#: lightbox2.admin.inc:883 +msgid "Automatic handler for custom class images" +msgstr "Gestionnaire automatique pour les images possédant une class CSS personnalisée" + +#: lightbox2.admin.inc:885 +msgid "Choose how URLs for custom class images will be automatically handled." +msgstr "Choisissez comment les URLs des images possédant une class CSS personnalisée seront gérées automatiquement." + +#: lightbox2.admin.inc:891 +msgid "Custom image trigger classes" +msgstr "Elément déclencheur pour les images possédant une class CSS personnalisée" + +#: lightbox2.admin.inc:892 +msgid "List the image classes which should trigger the lightbox when clicked on. Put each class on a separate line." +msgstr "Lister les classes CSS qui doivent déclencher la Lightbox. Saisissez chaque class sur une ligne." + +#: lightbox2.admin.inc:902 +msgid "Acidfree settings" +msgstr "Paramètres de Acidfree" + +#: lightbox2.admin.inc:908 +msgid "Disable lightbox for Acidfree gallery lists" +msgstr "Désactiver la Lightbox pour les listes de galeries Acidfree" + +#: lightbox2.admin.inc:909 +msgid "Checking this box will disable the lightbox for images in gallery lists. This means it is possible to open a gallery by clicking on the teaser image, but the lightbox will still appear when viewing images within the gallery. This only applies to image galleries created with the \"acidfree\" module." +msgstr "Cocher cette case désactivera la Lightbox pour les images dans les listes de galeries Acidfree. Cela veut dire qu'il est possible d'ouvrir une galerie en cliquant sur l'image du résumé (teaser) mais que la Lightbox apparaitra lors de la consultation des images dans la galerie. Cela ne s'applique qu'aux galeries d'images créées avec le module \"acidfree\"." + +#: lightbox2.admin.inc:916 +msgid "Enable lightbox for Acidfree videos" +msgstr "Activer la Lightbox pour les vidéos Acidfree" + +#: lightbox2.admin.inc:917 +msgid "Checking this box will enable the display of acidfree videos in a lightbox. This only applies to videos created by the \"video\" module and which appear in an acidfree gallery." +msgstr "Cocher cette case activera l'affichage de vidéos Acidfree dans une Lightbox. Cela ne s'applique auc vidéos créées par le module \"video\" et qui apparaissent dans une galerie Acidfree." + +#: lightbox2.module:25 +#: lightbox2.info:0 +msgid "Enables Lightbox2 for Drupal" +msgstr "Active Lightbox2 pour Drupal" + +#: lightbox2.module:27 +msgid "" +"

Overview

\n" +"

Lightbox2 JS is a simple, unobtrusive script used to overlay images on the current page. It's a snap to setup and works on all modern browsers. The module comes with a Lightbox2 Lite option which does not use the JQuery libraries; it is therefore less likely to conflict with anything else.

\n" +"

Places images above your current page, not within. This frees you from the constraints of the layout, particularly column widths. Keeps users on the same page. Clicking to view an image and then having to click the back button to return to your site is bad for continuity (and no fun!).

\n" +"

Features

\n" +"The version 2 module has several benefits over the plain Lightbox module. Note, not all of these features are available when the \"Lightbox2 Lite\" option is enabled.\n" +"
    \n" +"
  • Image Sets: group related images and navigate through them with ease - ideal for your image galleries.
  • \n" +"
  • Slideshow Capability: automatically transition between grouped images, includes play/pause and previous and next buttons.
  • \n" +"
  • HTML Content Support: ability to show websites or other HTML content in a lightbox.
  • \n" +"
  • Video Content Support: ability to show videos in a lightbox.
  • \n" +"
  • Visual Effects: fancy pre-loader and transition when you click on the image.
  • \n" +"
  • Keyboard Shortcuts: useful keyboard shortcuts for switching between images, toggling play / pause, etc.
  • \n" +"
  • Zoom Capability: larger images are reduced in size so they fit snugly inside the browser window. A zoom button can then be clicked on to see it in its original size.
  • \n" +"
  • Automatic Image Detection: configurable automatic re-formatting of\n" +"image thumbnails, so there is no need to add 'rel=\"lightbox\"' to each\n" +"image link on your site. Image, Inline, Flickr, Image Assist and CCK Imagefield modules are all\n" +"supported. It's also possible to configure a custom list of image classes\n" +"which should trigger the lightbox functionality.
  • \n" +"
  • Imagecache Support: adds a Lightbox2 field formatter for CCK imagefields for your custom views.
  • \n" +"
  • Image Page Link: a link to the image node can be provided within the lightbox itself.
  • \n" +"
  • Page Exclusion Capability: exclude certain pages on your site from having the lightbox2 functionality.
  • \n" +"
  • Login Support: ability to modify all user/login links so the login form appears in a lightbox.
  • \n" +"
  • Skin and Animation Configuration: configure the order and speed of the lightbox animations, along with the lightbox colors, border size and overlay opacity.
  • \n" +"
  • Gallery 2 Support: support for Gallery 2 images via the Gallery module (beta).
  • \n" +"
\n" +"

Usage

\n" +"
Adding a Basic Lightbox
\n" +"

Add rel="lightbox" attribute to any link tag to activate the lightbox. For example:

\n" +"

<a href="image-1.jpg" rel="lightbox">image #1</a>

\n" +"

<a href="image-1.jpg" rel="lightbox[][my caption]">image #1</a>

\n" +"

Optional: To show a caption either use the title attribute or put in the second set of [] of the rel attribute.

\n" +"
Grouping Images
\n" +"

If you have a set of related images that you would like to group, follow\n" +" step one but additionally include a group name between square brackets in the\n" +" rel attribute. For example:

<a href=\"images/image-1.jpg\"\n" +" rel=\"lightbox[roadtrip]\">image #1</a>
\n" +"<a href=\"images/image-2.jpg\" rel=\"lightbox[roadtrip][caption 2]\">image\n" +"#2</a>
\n" +"<a href=\"images/image-3.jpg\" rel=\"lightbox[roadtrip][caption 3]\">image\n" +"#3</a>

\n" +"

No limits to the number of image sets per page or how many images are allowed\n" +"in each set.

\n" +"\n" +"

If you have a set of images that you would like to group together in a lightbox, but only wish for one of these images to be visible on your page, you can assign the \"lightbox_hide_image\" class to hide the additional images. For example:

\n" +"\n" +"

<a href=\"images/image-1.jpg\" rel=\"lightbox[roadtrip]\">image #1</a>
\n" +"<a href=\"images/image-2.jpg\" rel=\"lightbox[roadtrip]\" class=\"lightbox_hide_image\">image #2</a>
\n" +"<a href=\"images/image-3.jpg\" rel=\"lightbox[roadtrip][caption 3]\" class=\"lightbox_hide_image\">image #3</a>

\n" +"\n" +"
Slideshow
\n" +"

This is very similar to the grouping functionality described above. The only difference is that \"rel\" attribute should be set to \"lightshow\" instead of \"lightbox\". Using the same example as above, we could launch the images in a slideshow by doing:

\n" +"\n" +"

<a href=\"images/image-1.jpg\" rel=\"lightshow[roadtrip]\">image #1</a>
\n" +"<a href=\"images/image-2.jpg\" rel=\"lightshow[roadtrip][caption 2]\">image #2</a>
\n" +"<a href=\"images/image-3.jpg\" rel=\"lightshow[roadtrip][caption 3]\">image #3</a>

\n" +"\n" +"
Video Content
\n" +"

\n" +"It's possible to show video content in the lightbox. In this case the \"rel\" attribute should be set to lightvideo. It's possible to group videos and to control the size of the lightbox by setting the 'width' and 'height' properties. The properties can be configured like lightvideo[group|width:300px; height: 200px;] and lightvideo[|width:300px; height: 200px;][my caption]. The properties should all be of the format \"property: value;\" - note the closing semi-colon. If no properties are set, then the default width and height of 400px will be used. See below for more detailed examples.

\n" +"\n" +"

Basic example:
\n" +"\n" +"<a href=\"http://video.google.com/videoplay?docid=1811233136844420765\" rel=\"lightvideo\">Google video example - default size</a>
\n" +"

\n" +"\n" +"

Basic example with caption:
\n" +"\n" +"<a href=\"http://video.google.com/videoplay?docid=1811233136844420765\" rel=\"lightvideo[][my caption]\">Google video example - default size</a>
\n" +"

\n" +"\n" +"

Grouped example:
\n" +"\n" +"<a href=\"http://video.google.com/videoplay?docid=29023498723974239479\" rel=\"lightvideo[group][my caption]\">Grouped example 1</a>
\n" +"<a href=\"http://video.google.com/videoplay?docid=1811233136844420765\" rel=\"lightvideo[group][my caption]\">Grouped example 2</a>
\n" +"

\n" +"\n" +"

Controlling lightbox size example:
\n" +"\n" +"<a href=\"http://video.google.com/videoplay?docid=1811233136844420765\" rel=\"lightvideo[|width:400px; height:300px;][my caption]\">Google video example - custom size</a>
\n" +"

\n" +"\n" +"

Supported Video Formats
\n" +"asx, wmv, mov and swf videos should all be supported. A number of video providers are also supported, for example YouTube and Google Video. For full details on how to integrate these with lightbox, please see the online documentation.

\n" +"\n" +"
HTML Content
\n" +"

It's possible to show webpage content in the lightbox, using iframes. In this case the \"rel\" attribute should be set to lightframe. Again it's possible to group the items, (e.g. lightframe[search]) but in addition to that, it's possible to control some of the iframe properties. It's possible to set the 'width', 'height' and 'scrolling' properties of the iframe. The properties are separated from the group name by a |, for example lightframe[search|width:100px;] and lightframe[search|width:120px][my caption]. If no grouping is being used, then the | is still used and the format would be lightframe[|width:100px;]. The properties should all be of the format \"property: value;\" - note the closing semi-colon. If no iframe properties are set, then the default width and height of 400px will be used. See below for more detailed examples.

\n" +"\n" +"

Basic example:
\n" +"\n" +"<a href=\"http://www.google.com\" rel=\"lightframe[][Search Google]\">Search google</a>\n" +"

\n" +"\n" +"

Grouped example:
\n" +"\n" +"<a href=\"http://www.google.com\" rel=\"lightframe[search]\">Search google</a>
\n" +"<a href=\"http://www.yahoo.com\" rel=\"lightframe[search][Search Yahoo]\">Search yahoo</a>\n" +"

\n" +"\n" +"

Controlling iframe property example:
\n" +"\n" +"<a href=\"http://www.google.com\" rel=\"lightframe[|width:400px; height:300px; scrolling: auto;]\">Search google</a>\n" +"

\n" +"\n" +"

Controlling iframe property when grouped example:
\n" +"\n" +"<a href=\"http://www.google.com\" rel=\"lightframe[search|width:400px; height:300px; scrolling: auto;]\">Search google</a>
\n" +"<a href=\"http://www.yahoo.com\" rel=\"lightframe[search|width:400px; height:300px;][Search Yahoo]\">Search yahoo</a>\n" +"

\n" +"\n" +"
Inline Content Support
\n" +"

It's possible to show HTML snippets in the lightbox, that is on the same domain. In this case the \"rel\" attribute should be set to lightmodal. Again it's possible to group the content, (e.g. lightmodal[search]) but in addition to that, it's possible to control some of the inline / modal properties. It's possible to set the 'width', 'height' and 'scrolling' properties of the inline content. The properties are separated from the group name by a |, for example lightmodal[search|width:100px;] and lightmodal[search|width:100px;][my caption]. If no grouping is being used, then the | is still used and the format would be lightmodal[|width:100px;]. The properties should all be of the format \"property: value;\" - note the closing semi-colon. If no properties are set, then the default width and height of 400px will be used. See below for more detailed examples.

\n" +"\n" +"

Basic example:
\n" +"\n" +"<a href=\"search.php\" rel=\"lightmodal\">Search</a>\n" +"

\n" +"\n" +"

Basic example with caption:
\n" +"\n" +"<a href=\"search.php\" rel=\"lightmodal[][my caption]\">Search</a>\n" +"

\n" +"\n" +"

Grouped example:
\n" +"\n" +"<a href=\"search.php\" rel=\"lightmodal[search]\">Search</a>
\n" +"<a href=\"search.php?status=1\" rel=\"lightmodal[search][published]\">Search published content</a>\n" +"

\n" +"\n" +"

Controlling modal property example:
\n" +"\n" +"<a href=\"search.php\" rel=\"lightmodal[|width:400px; height:300px; scrolling: auto;]\">Search</a>\n" +"

\n" +"\n" +"

Controlling modal property when grouped example:
\n" +"\n" +"<a href=\"search.php\" rel=\"lightmodal[search|width:400px; height:300px; scrolling: auto;]\">Search</a>
\n" +"<a href=\"search.php?status=1\" rel=\"lightmodal[search|width:400px; height:300px;][Search published]\">Search published content</a>
\n" +"<a href=\"search.php?status=0\" rel=\"lightmodal[search|width:400px; height:300px;][Search Unpublished]\">Search unpublished content</a>\n" +"

\n" +"\n" +"\n" +"

Keyboard Shortcuts

\n" +"

The default keyboard shortcuts are listed below. You can override these on the admin page.\n" +"\n" +"\n" +"\n" +"\n" +"\n" +"\n" +"\n" +"\n" +"\n" +"\n" +"\n" +"\n" +"\n" +"\n" +"\n" +"\n" +"
Close Lightboxx
o
c
ESC
Previous Imagep
Left Arrow
Next Imagen
Right Arrow
Toggle Zoomz (not available in slideshow)
Toggle Play / PauseSpacebar (slideshow only)
\n" +"\n" +"

Not all of the keyboard shortcuts work in the Opera browser, for example \"z\" for toggling the zoom and \"spacebar\" for toggling play / pause in slideshows. This can be overcome by updating your shortcut settings in the Opera preferences editor.

\n" +msgstr "" + +#: lightbox2.module:314;418 +msgid "Image links with 'rel=\"lightbox\"' in the <a> tag will appear in a Lightbox when clicked on." +msgstr "Les liens vers des images avec 'rel=\"lightbox\"' dans le tag <a> apparaitront dans une Lightbox si on clique dessus." + +#: lightbox2.module:317 +msgid "To add a lightbox to your images, add rel=\"lightbox\" attribute to any link tag to activate the lightbox. For example:" +msgstr "Pour ajouter une Lightbox à vos images, ajoutez l'attribut rel=\"lightbox\" dans le lien pour activer la Lightbox. Par exemple :" + +#: lightbox2.module:318 +msgid "<a href=\"image-1.jpg\" rel=\"lightbox\">image #1</a>" +msgstr "<a href=\"image-1.jpg\" rel=\"lightbox\">image #1</a>" + +#: lightbox2.module:319 +msgid "<a href=\"image-1.jpg\" rel=\"lightbox[][my caption]\">image #1</a>" +msgstr "<a href=\"image-1.jpg\" rel=\"lightbox[][my caption]\">image #1</a>" + +#: lightbox2.module:320 +msgid "To show a caption either use the title attribute or put in the second set of square brackets of the rel attribute." +msgstr "Pour afficher une légende, utilisez l'attribut TITLE ou placez là dans la seconde paires de crochets [] de l'attribut REL." + +#: lightbox2.module:321 +msgid "If you have a set of related images that you would like to group, then you will need to include a group name between square brackets in the rel attribute. For example:" +msgstr "Si vous voulez grouper des images liées, alors vous devrez inclure un nom de groupe entre [] dans l'attribut rel. Par exemple :" + +#: lightbox2.module:322 +msgid "<a href=\"image-1.jpg\" rel=\"lightbox[roadtrip]\">image #1</a>
<a href=\"image-2.jpg\" rel=\"lightbox[roadtrip][caption 2]\">image #2</a>
<a href=\"image-3.jpg\" rel=\"lightbox[roadtrip][caption 3]\">image #3</a>
" +msgstr "<a href=\"image-1.jpg\" rel=\"lightbox[roadtrip]\">image #1</a>
<a href=\"image-2.jpg\" rel=\"lightbox[roadtrip][caption 2]\">image #2</a>
<a href=\"image-3.jpg\" rel=\"lightbox[roadtrip][caption 3]\">image #3</a>
" + +#: lightbox2.module:323 +msgid "There are no limits to the number of image sets per page or how many images are allowed in each set." +msgstr "Il n'y a pas de limite au nombre de collections d'images affichées par page ou au nombre d'images par collection." + +#: lightbox2.module:324;341 +msgid "If you wish to turn the caption into a link, format your caption in the following way:" +msgstr "Si vous voulez transformer la légende en un lien, formatez votre légende de cette manière :" + +#: lightbox2.module:325 +msgid "<a href=\"image-1.jpg\" rel='lightbox[][<a href=\"http://www.yourlink.com\">View Image Details</a>]' >image #1</a>" +msgstr "<a href=\"image-1.jpg\" rel='lightbox[][<a href=\"http://www.yourlink.com\">View Image Details</a>]' >image #1</a>" + +#: lightbox2.module:330 +msgid "Image links from G2 are formatted for use with Lightbox2" +msgstr "Les liens images provenant de Gallery2 sont formatés pour une utilisation avec Lightbox2" + +#: lightbox2.module:334;424 +msgid "Image links with 'rel=\"lightshow\"' in the <a> tag will appear in a Lightbox slideshow when clicked on." +msgstr "Les liens images avec l'attribut 'rel=\"lightshow\"' dans le tag <a> apparaitront dans un diaporama Lightbox si on clique dessus." + +#: lightbox2.module:337 +msgid "To add a lightbox slideshow to your images, add rel=\"lightshow[slideshowname][slide caption]\" attribute to any link tag to activate the slideshow. For example:" +msgstr "Pour ajouter un diaporama Lightbox à vos images, ajouter l'attribut rel=\"lightshow[slideshowname][slide caption]\" à tous vos liens. Par exemple :" + +#: lightbox2.module:338 +msgid "<a href=\"image-1.jpg\" rel=\"lightshow[show1]\">image #1</a>
<a href=\"image-2.jpg\" rel=\"lightshow[show1]\">image #2</a>
<a href=\"image-3.jpg\" rel=\"lightshow[show1]\">image #3</a>
" +msgstr "<a href=\"image-1.jpg\" rel=\"lightshow[show1]\">image #1</a>
<a href=\"image-2.jpg\" rel=\"lightshow[show1]\">image #2</a>
<a href=\"image-3.jpg\" rel=\"lightshow[show1]\">image #3</a>
" + +#: lightbox2.module:339 +msgid "The title attribute in the link tag is optional. The addition of this attribute enables the display of a caption with the image displayed in the lightbox." +msgstr "L'attrinut title est optoinnel dans les liens. L'ajout de cet attribut permet d'afficher une légende avec l'image affichée dans la Lightbox." + +#: lightbox2.module:340 +msgid "There are no limits to the number of slideshow image sets per page or how many images are allowed in each slideshow." +msgstr "Il n'y a pas de limite au nombre de collections de diaporama d'images par page ou au nombre d'images dans chaque diaporama." + +#: lightbox2.module:342 +msgid "<a href=\"image-1.jpg\" rel='lightshow[show1][<a href=\"http://www.yourlink.com\">View Image Details</a>]'>image #1</a>" +msgstr "<a href=\"image-1.jpg\" rel='lightshow[show1][<a href=\"http://www.yourlink.com\">View Image Details</a>]'>image #1</a>" + +#: lightbox2.module:348;427 +msgid "Links to HTML content with 'rel=\"lightframe\"' in the <a> tag will appear in a Lightbox when clicked on." +msgstr "Les liens sur des contenus HTML avec l'attribut 'rel=\"lightframe\"' dans le tag <a> apparaitront dans une Lightbox si on clique dessus." + +#: lightbox2.module:351 +msgid "It's possible to show webpage content in the lightbox, using iframes. In this case the \"rel\" attribute should be set to \"lightframe\". Again it's possible to group the content, (e.g. lightframe[search][caption]) but in addition to that, it's possible to control some of the iframe properties. It's possible to set the \"width\", \"height\" and \"scrolling\" properties of the iframe. The properties are separated from the group name by a |, for example lightframe[search|width:100px;][caption]. If no grouping is being used, then the | is still used and the format would be lightframe[|width:100px;]. The properties should all be of the format \"property: value;\" - note the closing semi-colon. If no iframe properties are set, then the default width and height of 400px will be used. See below for more detailed examples." +msgstr "Il ets possible d'afficher le contenu d'une page web dans une Lightbox en utilisant des iframes. Dans ce cas, l'attribut \"rel\" doit être réglé sur \"lightframe\". Il est possible de grouper le contenu (exemple : lightframe[search][caption]) et en plus de cela, il est possible de contrôler certaines des propriétés de l'iframe. Il est possible de controler la taille de la Lightbox en précisant les propriétés \"width\", \"height\" et \"scrolling\" de l'iframe. Les propriétés sont séparées du groupe de nom par |, par exemple lightframe[search|width:100px;][caption]. Si aucun groupement n'est effectué, | est toujours utilisé sous la forme lightframe[|width:100px;]. Les propriétés doivent toutes être au format \"propriété: valeur;\" (notez le point virgule à la fin). Si aucune propriété de l'iframe n'est précisée, alors la largeur et la hauteur par défaut seront utilisées (400 px). Voir ci-dessous pour plus d'exemples." + +#: lightbox2.module:352;371;385 +msgid "Basic example:" +msgstr "Exemple simple :" + +#: lightbox2.module:353 +msgid "<a href="http://www.google.com" rel="lightframe">Search google</a>" +msgstr "<a href="http://www.google.com" rel="lightframe">Search google</a>" + +#: lightbox2.module:354;387 +msgid "Grouped example:" +msgstr "Exemple groupés :" + +#: lightbox2.module:355 +msgid "<a href="http://www.google.com" rel="lightframe[search][caption]">Search google</a>
<a href="http://www.yahoo.com" rel="lightframe[search]">Search yahoo</a>
" +msgstr "<a href="http://www.google.com" rel="lightframe[search][caption]">Search google</a>
<a href="http://www.yahoo.com" rel="lightframe[search]">Search yahoo</a>
" + +#: lightbox2.module:357 +msgid "Controlling iframe property example:" +msgstr "Exemple de comment contrôler les propriétés d'une iframe :" + +#: lightbox2.module:358 +msgid "<a href="http://www.google.com" rel="lightframe[|width:400px; height:300px; scrolling: auto;][caption]">Search google</a>" +msgstr "<a href="http://www.google.com" rel="lightframe[|width:400px; height:300px; scrolling: auto;][caption]">Search google</a>" + +#: lightbox2.module:359 +msgid "Controlling iframe property when grouped example:" +msgstr "Controlling iframe property when grouped example:" + +#: lightbox2.module:360 +msgid "<a href="http://www.google.com" rel="lightframe[search|width:400px; height:300px; scrolling: auto;]">Search google</a>
<a href="http://www.yahoo.com" rel="lightframe[search|width:400px; height:300px;]">Search yahoo</a>
" +msgstr "<a href="http://www.google.com" rel="lightframe[search|width:400px; height:300px; scrolling: auto;]">Search google</a>
<a href="http://www.yahoo.com" rel="lightframe[search|width:400px; height:300px;]">Search yahoo</a>
" + +#: lightbox2.module:367;430 +msgid "Links to video content with 'rel=\"lightvideo\"' in the <a> tag will appear in a Lightbox when clicked on." +msgstr "Les liens sur des vidéos avec l'attribut 'rel=\"lightvideo\"' dans le tag <a> apparaitront dans une Lightbox si on clique dessus." + +#: lightbox2.module:370 +msgid "It's possible to show video content in the lightbox. In this case the \"rel\" attribute should be set to lightvideo. It's possible to group videos and to control the size of the lightbox by setting the \"width\" and \"height\" properties. The properties can be configured like lightvideo[group|width:300px; height: 200px;][caption]. The properties should all be of the format \"property: value;\" - note the closing semi-colon. If no properties are set, then the default width and height of 400px will be used. See below for more detailed examples." +msgstr "Il est possible d'afficher des vidéos dans une Lightbox. Dans ce cas, l'attribut \"rel\" doit être réglé sur lightvideo. Il est possible de grouper les vidéos et de controler la taille de la Lightbox en précisant ses propriétés \"width\" et \"height\". Les propriétés peuvent être configurées ainsi : lightvideo[group|width:300px; height: 200px;][caption]. Les propriétés doivent toutes être au format \"propriété: valeur;\" (notez le point virgule à la fin). Si aucune propriété n'est précisée, alors la largeur et la hauteur par défaut seront utilisées (400 px). Voir ci-dessous pour plus d'exemples." + +#: lightbox2.module:372 +msgid "<a href="http://video.google.com/videoplay?docid=1811233136844420765" rel="lightvideo">Google video example - default size</a>" +msgstr "<a href="http://video.google.com/videoplay?docid=1811233136844420765" rel="lightvideo">Google video example - default size</a>" + +#: lightbox2.module:373 +msgid "Controlling lightbox size example:" +msgstr "Exemple de contrôle de la taille de la Lightbox :" + +#: lightbox2.module:374 +msgid "<a href="http://video.google.com/videoplay?docid=1811233136844420765" rel="lightvideo[group|width:400px; height:300px;][caption]">Google video example - custom size</a>" +msgstr "<a href="http://video.google.com/videoplay?docid=1811233136844420765" rel="lightvideo[group|width:400px; height:300px;][caption]">Google video example - custom size</a>" + +#: lightbox2.module:375 +msgid "Supported video formats include asx, wmv, mov and swf. A number of online video providers are also supported, including YouTube and Google Video. For a full list of the current supported video providers please see the documentation on drupal.org." +msgstr "Les formats supportés inclus asx, wmv, mov and swf. De nombreux fournisseurs de services vidéo en ligne sont aussi supportés y compris YouTube et Google Video. Pour une liste complète, lire la documentation sur drupal.org." + +#: lightbox2.module:381;433 +msgid "Links to inline or modal content with 'rel=\"lightmodal\"' in the <a> tag will appear in a Lightbox when clicked on." +msgstr "Les liens vers des contenus inclus ou modaux avec 'rel=\"lightmodal\"' dans le tag ALT apparaitront dans une Lightbox si on clique dessus." + +#: lightbox2.module:384 +msgid "It's possible to show HTML snippets in the lightbox, that is on the same domain. In this case the \"rel\" attribute should be set to \"lightmodal\". Again it's possible to group the content, (e.g. lightmodal[group][caption]) but in addition to that, it's possible to control some of the modal properties. It's possible to set the \"width\", \"height\" and \"scrolling\" properties of the modal. The properties are separated from the group name by a |, for example lightmodal[group|width:100px;][caption]. If no grouping is being used, then the | is still used and the format would be lightmodal[|width:100px;]. The properties should all be of the format \"property: value;\" - note the closing semi-colon. If no modal properties are set, then the default width and height of 400px will be used. See below for more detailed examples." +msgstr "Il est possible de montrer des bouts de code HTML dans une Lightbox s'ils sont hébergés sur le même domaine. Dans ce cas, l'attribut \"rel\" doit être réglé sur \"lightmodal\". Il est possible de grouper le contenu (exemple : lightmodal[group][caption]) mais en plus de cela, il est possible de contrôler certaines propriétés modales. Il est possible de controler la taille de la Lightbox en précisant ses propriétés \"width\", \"height\" et \"scrolling\". Les propriétés sont séparées du groupe de nom par |, par exemple lightmodal[group|width:100px;][caption]. Si aucun regroupement n'est utilisé,alors le code | est toujours utilisé et le format est lightmodal[|width:100px;]. Les propriétés doivent toutes être au format \"propriété: valeur;\" (notez le point virgule à la fin). Si aucune propriété modale n'est précisée, alors la largeur et la hauteur par défaut seront utilisées (400 px). Voir ci-dessous pour plus d'exemples." + +#: lightbox2.module:386 +msgid "<a href="search.php" rel="lightmodal">Search</a>" +msgstr "<a href="search.php" rel="lightmodal">Search</a>" + +#: lightbox2.module:388 +msgid "<a href="search.php" rel="lightmodal[search][caption 1]">Search</a>
<a href="search.php?status=1" rel="lightmodal[search]">Search published</a>
" +msgstr "<a href="search.php" rel="lightmodal[search][caption 1]">Search</a>
<a href="search.php?status=1" rel="lightmodal[search]">Search published</a>
" + +#: lightbox2.module:390 +msgid "Controlling modal property example:" +msgstr "Exemple de contrôle de la propriété modal :" + +#: lightbox2.module:391 +msgid "<a href="search.php" rel="lightmodal[|width:400px; height:300px; scrolling: auto;][caption]">Search</a>" +msgstr "<a href="search.php" rel="lightmodal[|width:400px; height:300px; scrolling: auto;][caption]">Search</a>" + +#: lightbox2.module:392 +msgid "Controlling modal property when grouped example:" +msgstr "Controlling modal property when grouped example:" + +#: lightbox2.module:393 +msgid "<a href="search.php" rel="lightmodal[search|width:400px; height:300px; scrolling: auto;]">Search</a>
<a href="search.php?status=1" rel="lightmodal[search|width:400px; height:300px;]">Search published</a>
" +msgstr "<a href="search.php" rel="lightmodal[search|width:400px; height:300px; scrolling: auto;]">Search</a>
<a href="search.php?status=1" rel="lightmodal[search|width:400px; height:300px;]">Search published</a>
" + +#: lightbox2.module:407 +msgid "Lightbox filter" +msgstr "Filtre Lightbox" + +#: lightbox2.module:408 +msgid "Lightbox G2 filter" +msgstr "F" + +#: lightbox2.module:409 +msgid "Lightbox slideshow filter" +msgstr "Filtre diaporama Lightbox" + +#: lightbox2.module:410 +msgid "Lightbox iframe filter" +msgstr "Filtre iframe Lightbox" + +#: lightbox2.module:411 +msgid "Lightbox video filter" +msgstr "Filtre vidéo Lightbox" + +#: lightbox2.module:412 +msgid "Lightbox modal filter" +msgstr "Filtre Lightbox modale" + +#: lightbox2.module:413 +msgid "Disable Lightbox iframe filter" +msgstr "Désactiver le filtre Lightbox iframe" + +#: lightbox2.module:421 +msgid "Turns g2_filter links into Lightbox2 appropriate links" +msgstr "Trnasformer les liens g2_links en liens Lightbox2 appropriés" + +#: lightbox2.module:436 +msgid "It's possible to show webpage content in the lightbox, using iframes. In this case the \"rel\" attribute should be set to \"lightframe\". However, users can do this without any filters to be enabled. To prevent users from adding iframes to the site in this manner, then please enable this option." +msgstr "Il est possible d'afficher le contenu d'une page web dans une Lightbox en utilisant des iframes. Dans ce cas l'attribut \"rel\" doit être \"lightframe\". Cependant, les utilisateurs peuvent faire cela sans qu'aucun filtre ne soit activé. Pour éviter que les utilisateurs ajoutent des iframes de cette manière, activez cette option." + +#: lightbox2.module:663 +msgid "press !x to close" +msgstr "Appuyez sur !x pour fermer" + +#: lightbox2.module:808 +msgid "Lightbox2: Image Thumbnail -> Original" +msgstr "Lightbox2 : Vignette de l'image -> Image original" + +#: lightbox2.module:812 +msgid "Lightbox2 slideshow: Image Thumbnail -> Original" +msgstr "Diaporama Lightbox2 : Vignette de l'image -> Image originale" + +#: lightbox2.module:816 +msgid "Lightbox2 iframe: Image Thumbnail -> Content" +msgstr "Lightbox2 iframe : Vignette de l'image -> Contenu" + +#: lightbox2.module:822 +msgid "Lightbox2: Image Thumbnail -> Full Size Video" +msgstr "Lightbox2 : Vignette de l'image -> Vidéo plein format" + +#: lightbox2.module:828;1151 +msgid "Lightbox2 iframe" +msgstr "Lightbox2 iframe" + +#: lightbox2.module:1152 +msgid "Displays all kinds of files in a popup lightbox in an iframe." +msgstr "Affiche tous les types de fichiers dans une lightbox dans une nouvelle fenêtre dans une iframe." + +#: lightbox2.module:1156 +msgid "Lightbox2 image" +msgstr "Image Lightbox2" + +#: lightbox2.module:1157 +msgid "Displays image files in a popup lightbox." +msgstr "Affiche les images dans une lightbox dans une nouvelle fenêtre." + +#: lightbox2.module:203 +msgid "administer lightbox2" +msgstr "gérer lightbox2" + +#: lightbox2.module:203 +msgid "download original image" +msgstr "téléverser l'image originale" + +#: lightbox2.module:214 +#: lightbox2.info:0 +msgid "Lightbox2" +msgstr "Lightbox2" + +#: lightbox2.module:215;223 +msgid "Allows the user to configure the lightbox2 settings" +msgstr "Permet aux utilisateurs de configurer les paramètres de lightbox2" + +#: lightbox2.module:222 +msgid "General" +msgstr "Général" + +#: lightbox2.module:234 +msgid "Allows the user to configure the lightbox2 slideshow functionality" +msgstr "Permet à l'utilisateur de configurer la fonction de diaporama de Lightbox2" + +#: lightbox2.module:244 +msgid "HTML Content" +msgstr "Contenu HTML" + +#: lightbox2.module:250 +msgid "Allows the user to configure the lightbox2 HTML content functionality." +msgstr "Permet aux utilisateur de configurer la fonctionnalité Contenu HTML de lightbox2." + +#: lightbox2.module:255 +msgid "Automatic image handling" +msgstr "Manipulation automatique des images" + +#: lightbox2.module:256 +msgid "Allows the user to configure the lightbox2 automatic image handling settings" +msgstr "Permet aux utilisateur de configurer les paramètres de manipulation automatique des images de lightbox2." + +#: lightbox2.module:283 +msgid "Login" +msgstr "Identifiant" + +#: lightbox2.module:289 +msgid "Contact" +msgstr "Contact" + +#: lightbox2.module:0 +msgid "lightbox2" +msgstr "lightbox2" + diff --git a/sites/all/modules/lightbox2/translations/hu.po b/sites/all/modules/lightbox2/translations/hu.po new file mode 100644 index 0000000..0f5163f --- /dev/null +++ b/sites/all/modules/lightbox2/translations/hu.po @@ -0,0 +1,1794 @@ +# Hungarian translation of Lightbox2 (6.x-1.9) +# Copyright (c) 2009 by the Hungarian translation team +# +msgid "" +msgstr "" +"Project-Id-Version: Lightbox2 (6.x-1.9)\n" +"POT-Creation-Date: 2009-11-15 19:20+0000\n" +"PO-Revision-Date: 2009-10-31 09:59+0000\n" +"Language-Team: Hungarian\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=utf-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=2; plural=(n!=1);\n" + +msgid "Slideshow" +msgstr "Diavetítés" +msgid "Image !current of !total" +msgstr "Kép !current / !total" +msgid "Pages" +msgstr "Oldalak" +msgid "Disabled" +msgstr "Tiltott" +msgid "Login" +msgstr "Belépés" +msgid "Advanced settings" +msgstr "Haladó beállítások" +msgid "Contact" +msgstr "Kapcsolat" +msgid "Header" +msgstr "Fejléc" +msgid "Footer" +msgstr "Lábléc" +msgid "Lightbox2" +msgstr "Lightbox2" +msgid "Allows the user to configure the lightbox2 settings" +msgstr "" +"Engedélyezi a felhasználónak a lightbox2 beállításainak " +"módosítását" +msgid "Lightbox filter" +msgstr "Lightbox szűrő" +msgid "administer lightbox2" +msgstr "lightbox2 adminisztrálása" +msgid "General" +msgstr "Általános" +msgid "Lightbox" +msgstr "Lightbox" +msgid "Default height" +msgstr "Alaáértelmezett magasság" +msgid "Default width" +msgstr "Alapértelmezett szélesség" +msgid "Font color" +msgstr "Betűszín" +msgid "Keyboard shortcuts" +msgstr "Billentyűparancsok" +msgid "View Image Details" +msgstr "Kép részleteinek megtekintése" +msgid "press !x to close" +msgstr "!x a bezáráshoz" +msgid "Width then height" +msgstr "Szélesség majd magasság" +msgid "Height then width" +msgstr "Magasság majd szélesség" +msgid "Resize duration" +msgstr "Átméretezés időtartama" +msgid "Overlay color" +msgstr "Átfedés színe" +msgid "Overlay opacity" +msgstr "Átfedés átlátszatlansága" +msgid "Close keys" +msgstr "Bezárás gombok" +msgid "Previous keys" +msgstr "Előző gombok" +msgid "Next keys" +msgstr "Következő gombok" +msgid "Layout settings" +msgstr "Elrendezés beállításai" +msgid "Page !current of !total" +msgstr "Oldal: !current / !total" +msgid "Video !current of !total" +msgstr "Videó: !current / !total" +msgid "Download Original" +msgstr "Eredeti letöltése" +msgid "Lightbox2 lite" +msgstr "Lightbox2 lite" +msgid "Use lightbox2 lite" +msgstr "Lightbox2 lite használata" +msgid "" +"Checking this box will enable Lightbox2 Lite and will disable all of " +"the automatic image URL re-formatting features. It also disables all " +"grouping features." +msgstr "" +"Bejelölése engedélyezi a Lightbox2 Lite-ot és letiltja az összes " +"automatikus kép URL átalakítási lehetőséget. Továbbá letiltja " +"a csoportosítási lehetőségeket is." +msgid "Use alternative layout" +msgstr "Alternatív elrendezés használata" +msgid "" +"Enabling this option alters the layout of the lightbox elements. In " +"the alternative layout the navigational links appear under the image " +"with the caption text, instead of being overlayed on the image itself. " +" This doesn't apply when using Lightbox Lite." +msgstr "" +"Engedélyezése módosítja a lightbox elemek elrendezését. Az " +"alternatív elrendezésben a navigációs hivatkozások a kép alatt " +"jelennek meg a képaláírással együtt, ahelyett, hogy magán a " +"képen, átfedve jelennének meg. A Lightbox Lite használatakor nem " +"alkalmazható." +msgid "Force visibility of navigation links" +msgstr "Navigációs hivatkozások láthatóságának kikényszerítése" +msgid "" +"When viewing grouped images, the navigational links to the next and " +"previous images are only displayed when you hover over the image. " +"Checking this box forces these links to be displayed all the time." +msgstr "" +"Csoportosított képek megtekintésekor az előző és a következő " +"képre mutató navigációs hivatkozások csak akkor jelennek meg, ha " +"az egér a kép fölé kerül. Ennek a doboznak a bejelölésével " +"kikényszeríthető a hivatkozások mindenkori megjelenítése." +msgid "Continuous galleries" +msgstr "Folyamatos galériák" +msgid "" +"When viewing grouped images, the Next button on the last image will " +"display the first image, while the Previous button on the first image " +"will display the last image." +msgstr "" +"Csoportosított képek megtekintésekor az utolsó képen a " +"Következő gomb az első képet jeleníti meg, míg az első képen " +"az Előző gomb az utolsót." +msgid "Open image page in new window" +msgstr "Képoldal megnyitása új ablakban" +msgid "" +"This controls whether the link to the image page underneath the image " +"is opened in a new window or the current window." +msgstr "" +"Azt vezérli, hogy a kép alatti, a képoldalra mutató hivatkozás az " +"oldalt egy új, vagy a jelenlegi ablakban nyissa-e meg." +msgid "Text for image page link" +msgstr "Képoldalra mutató hivatkozás szövege" +msgid "" +"This is the text that will appear as the link to the image page " +"underneath the image in the lightbox. Leave this blank for the link " +"not to appear." +msgstr "" +"Ez az a szöveg ami a lightboxban a kép oldalára mutató " +"hivatkozásként megjelenik a kép alatt. Üresen hagyva nem jelenik " +"meg." +msgid "Text for image original link" +msgstr "Szöveg az eredeti képre mutató hivatkozáshoz" +msgid "" +"This is the text that will appear as the link to the original file " +"underneath the image in the lightbox. Leave this blank for the link " +"not to appear." +msgstr "" +"Ez az a szöveg ami a lightboxban az eredeti képre mutató " +"hivatkozásként megjelenik a kép alatt. Üresen hagyva nem jelenik " +"meg." +msgid "Image count text" +msgstr "Képszámláló szövege" +msgid "" +"This text is used to display the image count underneath the image in " +"the lightbox when image grouping is enabled. Use !current as a " +"placeholder for the number of the current image and !total for the " +"total number of images in the group. For example, \"Image !current of " +"!total\". Leave blank for text not to appear." +msgstr "" +"Ez a szöveg a képszámláló szövegeként jelenik meg a kép alatt " +"a lightboxban, ha csoportokat használ. A !current helyettesítő " +"használható az aktuális kép számának, és a !total a csoportban " +"található képek számának megjelenítéséhez. Például " +"„!current/!total kép.”. Üresen hagyva nem jelenik meg." +msgid "Page count text" +msgstr "Oldalszámláló szövege" +msgid "" +"This text is used to display the page count underneath HTML content " +"displayed in the lightbox when using groups. Use !current as a " +"placeholder for the number of the current page and !total for the " +"total number of pages in the group. For example, \"Page !current of " +"!total\". Leave blank for text not to appear." +msgstr "" +"Ez a szöveg az oldalszámláló szövegeként jelenik meg a HTML " +"tartalom alatt a lightboxban, ha csoportokat használ. A !current " +"helyettesítő használható a jelenlegi oldalszám, a !total a " +"csoportban található oldalak számának megjelenítéséhez. " +"Például „!current/!total oldal.”. Üresen hagyva nem jelenik " +"meg." +msgid "Video count text" +msgstr "Videószámláló szövege" +msgid "" +"This text is used to display the count underneath video content " +"displayed in the lightbox when using groups. Use !current as a " +"placeholder for the number of the current video and !total for the " +"total number of videos in the group. For example, \"Video !current of " +"!total\". Leave blank for text not to appear." +msgstr "" +"Ez a szöveg a videószámláló szövegeként jelenik meg a videó " +"tartalom alatt a lightboxban, ha csoportokat használ. A !current " +"helyettesítő használható a jelenlegi videó számának, a !total a " +"csoportban található videók számának megjelenítéséhez. " +"Például „!current/!total videó.”. Üresen hagyva nem jelenik " +"meg." +msgid "Image resize settings" +msgstr "Kép átméretezési beállításai" +msgid "Disable resizing feature" +msgstr "Átméretezés tiltása" +msgid "" +"By default, when the image being displayed in the lightbox is larger " +"than the browser window, it is resized to fit within the window and a " +"zoom button is provided for users who wish to view the image in its " +"original size. Checking this box will disable this feature and all " +"images will be displayed without any resizing." +msgstr "" +"Alapértelmezés szerint, ha a lightboxban megjelenített kép " +"nagyobb, mint a böngészőablak, akkor át lesz méretezve és a " +"felhasználók egy nagyítás gombot láthatnak, hogy a képet az " +"eredeti méretben is megtekinthessék. Bejelölése letiltja ezt a " +"lehetőséget és minden kép átméretezés nélkül jelenik meg." +msgid "Disable zoom in / out feature" +msgstr "Nagyítási lehetőség tiltása" +msgid "" +"When the image being displayed in the lightbox is resized to fit in " +"the browser window, a \"zoom in\" button is shown. This allows the " +"user to zoom in to see the original full size image. They will then " +"see a \"zoom out\" button which will allow them to see the smaller " +"resized version. Checking this box will prevent these buttons from " +"appearing." +msgstr "" +"Amikor egy, a lightboxban megjelenő kép átméretezve jelenik meg, " +"hogy beleférjen a böngészőablakba, egy „nagyítás” gomb " +"jelenik meg. Ez lehetővé teszi a felhasználónak, hogy megtekintse " +"a teljes méretű képet. Ekkor egy „kicsinyítés” gombot fognak " +"látni ami lehetővé teszi, hogy megtekintsék a kisebb, " +"átméretezett képet. A doboz bejelölése letiltja ezeknek a " +"gomboknak a megjelenítését." +msgid "Modal form settings" +msgstr "Szöveges űrlap beállítások" +msgid "Enable login support" +msgstr "Bejelentkezési támogatás engedélyezése" +msgid "" +"Enabling this option will modify all login links so that the login " +"form appears in a lightbox." +msgstr "" +"Ennek a lehetőségnek az engedélyezése úgy módosít minden " +"bejelentkezési hivatkozást, hogy a bejelentkezési űrlapok egy " +"lightboxban fognak megjelenni." +msgid "Enable contact form support" +msgstr "Kapcsolatfelvételi űrlap támogatásának engedélyezése" +msgid "" +"Enabling this option will modify all contact links so that the contact " +"form appears in a lightbox." +msgstr "" +"Ennek a lehetőségnek az engedélyezése úgy módosít minden " +"kapcsolatfelvételi hivatkozást, hogy a kapcsolatfelvételi űrlapok " +"egy lightboxban fognak megjelenni." +msgid "Video settings" +msgstr "Videó beállítások" +msgid "Enable video support" +msgstr "Videó támogatás engedélyezése" +msgid "" +"By default, video support is disabled in order to reduce the amount of " +"javascript needed. Checking this box will enable it." +msgstr "" +"Alapértelmezésben a videók támogatása le van tiltva, hogy a " +"szükséges javascriptek mennyiségét csökkentse. A doboz " +"bejelölése engedélyezi." +msgid "Path to FLV Player" +msgstr "FLV lejátszó elérési útja" +msgid "The path to the FLV player, relative to Drupal root directory." +msgstr "" +"Az FLV lejátszó elérési útja, a Drupal gyökérkönyvtárához " +"viszonyíŧva." +msgid "FLV Player flashvars" +msgstr "FLV Player flashvar beállításai" +msgid "" +"Flashvars for the FLV Player where supported, e.g. " +"\"autoplay=1&playerMode=normal\"." +msgstr "" +"Flashváltozók az FLV lejátszóhoz, ahol az támogatott, például " +"„autoplay=1&playerMode=normal”." +msgid "Page specific lightbox2 settings" +msgstr "Lightbox2 oldalfüggő beállításai" +msgid "Load only on the listed pages." +msgstr "Betöltés csak a felsorolt oldalakon." +msgid "Load on every page except the listed pages." +msgstr "Betöltés mindenhol a felsorolt oldalakat kivéve." +msgid "Enable lightbox2 on specific pages" +msgstr "Lightbox2 engedélyezése a meghatározott oldalakon" +msgid "" +"List one page per line as Drupal paths. The * character is a " +"wildcard. Example paths are \"node/add/page\" and \"node/add/*\". " +"Use <front> to match the front page." +msgstr "" +"Soronként egy Drupal elérési útvonalat kell megadni. A * karakter " +"egy helyettesítő. Elérési utak például a " +"„node/add/page” és „node/add/*”. A " +"<front> a kezdőlapot jelöli." +msgid "CCK display settings" +msgstr "CCK megjelenítés beállításai" +msgid "No grouping" +msgstr "Nincs csoportosítás" +msgid "Group by field name" +msgstr "Csoportosítás mezőnév szerint" +msgid "Group by node id" +msgstr "Csoportosítás tartalomazonosító szerint" +msgid "Group by field name and node id" +msgstr "Csoportosítás mezőnév és tartalomazonosító szerint" +msgid "Select Emfield Image grouping in Views" +msgstr "Emfield képcsoportosítás a Views-ban" +msgid "" +"By default, emfield images in views are grouped by the field name they " +"appear in the view in. You can override that grouping here." +msgstr "" +"Alapértelmezés szerint az emfield képek a nézetekben annak a " +"mezőnek a neve szerint lesznek csoportosítva, amelyikben megjelennek " +"a nézetben. Ezt a csoportosítást itt lehet felülírni." +msgid "Select Imagefield grouping in Views" +msgstr "Views Imagefield csoportosításának kiválasztása" +msgid "" +"By default, imagefields in views are grouped by the field name they " +"appear in the view in. You can override that grouping here." +msgstr "" +"Alapértelmezés szerint az imagefieldek a nézetekben annak a " +"mezőnek a neve szerint lesznek csoportosítva, amelyikben megjelennek " +"a nézetben. Ezt a csoportosítást itt lehet felülírni." +msgid "Use node title as caption" +msgstr "Tartalom címének használata képaláírásként" +msgid "" +"By default, the caption for imagefields is the image title text " +"configured. If no title is configured, then the alt text will be " +"used. This option allows you to override that and always display the " +"node title as the image caption." +msgstr "" +"Alapértelmezés szerint az imagefield képekhez tartozó " +"képaláírásként a kép címének szövege van beállítva. Ha " +"nincs beállított cím, akkor a helyettesítő szöveg lesz " +"használva. Ez a beállítás engedélyezi ennek a felülírását és " +"mindig a tartalom címét jeleníti meg képaláírásként." +msgid "Location of javscript" +msgstr "Javascriptek helye" +msgid "" +"By default, the lightbox javascript files are loaded in the HTML " +"header. However, for sites using SWFObject to load their Flash " +"content, the footer setting is recommended to prevent \"Operation " +"Aborted\" errors in IE. If using the footer setting, please note that " +"not all themes correctly implement the footer region and may require a " +"small change." +msgstr "" +"Alapértelmezés szerint a lightbox javascript fájlok a HTML " +"fejlécbe töltődnek be. Azonban azokon az oldalakon, ahol a Flash " +"tartalom betöltéséhez az SWFObjectet használják, javasolt a " +"lábléc beállítása az IE-ben megjelenő „Operation Aborted” " +"hibák elkerülése miatt. A lábléc beállítás használatakor " +"figyelni kell, hogy nem minden smink implementálja megfelelően a " +"lábléc régiót és emiatt kisebb módosításra szorulhatnak." +msgid "Click on overlay or lightbox to close it" +msgstr "Bezárás az átfedésre vagy a lightboxra kattintással" +msgid "" +"Enable user to close lightbox by clicking on the lightbox itself or " +"the overlay background." +msgstr "" +"Engedélyezi, hogy a felhasználó bezárhassa a lightboxot magára a " +"lightboxra vagy az eltakart háttére való kattintással." +msgid "" +"Configure the keyboard shortcuts for controlling the lightbox. These " +"options do not apply to the Lightbox2 Lite version, which uses the " +"default \"Close keys\" (c, x and esc) to close the lightbox." +msgstr "" +"A lightbox vezérlésére használt billentyűparancsok beállítása. " +"Ezek a beállítások nem lesznek érvényesek a Lightbox2 Lite " +"verziójára, ami az alapértelmezett „Bezárás gombokat” (c, x " +"and esc) használja a lightbox bezárásához." +msgid "" +"A list of keys (or key codes) that a user may use to close the " +"lightbox. Values should be separated by a space. Defaults to 'c x 27' " +"(c, x, or esc)." +msgstr "" +"Billentyűk (vagy billentyűkódok) listája amiket a felhasználó a " +"lightbox bezárásához használhat. Az értékeket szóközzel kell " +"elválasztani. Az alapértelmezett a 'c x 27' (c, x, vagy esc)." +msgid "" +"A list of keys (or key codes) that a user may use to navigate to the " +"previous item in the lightbox. Values should be separated by a space. " +"Defaults to 'p 37' (p or left arrow)." +msgstr "" +"Billentyűk (vagy billentyűkódok) listája, amiket a felhasználó " +"az előző elemre lépéshez használhat a lightboxban. Az értékeket " +"szóközzel kell elválasztani. Az alapértelmezett a „p 37” (p " +"vagy balra nyíl)." +msgid "" +"A list of keys (or key codes) that a user may use to navigate to the " +"next item in the lightbox. Values should be separated by a space. " +"Defaults to 'n 39' (n or right arrow)." +msgstr "" +"Billentyűk (vagy billentyűkódok) listája amiket a felhasználó az " +"következő elemre lépéshez használhat a lightboxban. Az " +"értékeket szóközzel kell elválasztani. Az alapértelmezett az " +"„n 39” (n vagy jobbra nyíl)." +msgid "Zoom keys" +msgstr "Nagyítás gombok" +msgid "" +"A list of keys (or key codes) that a user may use to zoom in / out of " +"images in the lightbox. Values should be separated by a space. " +"Defaults to 'z'." +msgstr "" +"Billentyűk (vagy billentyűkódok) listája amiket a felhasználó az " +"nagyításra / kicsinyítésre használhat a lightboxban. Az " +"értékeket szóközzel kell elválasztani. Az alapértelmezett a " +"„z”." +msgid "Pause / play keys" +msgstr "Szünet / lejátszás gombok" +msgid "" +"A list of keys (or key codes) that a user may use to pause / play the " +"lightbox. Values should be separated by a space. Defaults to '32' " +"(spacebar)." +msgstr "" +"Billentyűk (vagy billentyűkódok) listája amiket a felhasználó " +"szünet / lejátszás-ként használhat a lightboxban. Az értékeket " +"szóközzel kell elválasztani. Az alapértelmezett a „32” " +"(szóköz)." +msgid "Skin settings" +msgstr "Bőr beállításai" +msgid "Border size" +msgstr "Szegély mérete" +msgid "Enter the size of the border in pixels to display around the image." +msgstr "A kép körül megjelenő szegély méretének megadása képpontban." +msgid "Lightbox color" +msgstr "Lightbox színe" +msgid "" +"Enter a hexadecimal color value for the border. For example " +"fff or ffffff for white)." +msgstr "" +"A keret színének megadása tizenhatos számrendszerbeli értékben. " +"Például fff vagy ffffff jelenti a " +"fehéret." +msgid "" +"Enter a hexadecimal color value for the font. For example " +"000 or 000000 for black)." +msgstr "" +"A betűk színének megadása tizenhatos számrendszerbeli értéken. " +"Például: 000 vagy 000000 a értékek " +"jelentik a feketét." +msgid "Distance from top" +msgstr "Távolság a tetőtől" +msgid "" +"Enter the position of the top of the lightbox in pixels. Leave blank " +"for automatic calculation." +msgstr "" +"A lightbox tetejének megadása képpontokban. Üresen hagyva " +"automatikusan lesz kiszámolva." +msgid "Overlay settings" +msgstr "Átfedés beállítások" +msgid "" +"The overlay opacity setting determines how visible the background page " +"is behind the lightbox. The opacity value can range from 0.0 to 1.0 " +"where 0.0 is 100% transparent and 1.0 is 100% opaque." +msgstr "" +"Az átfedő átlátszatlanság beállítása meghatározza, hogy " +"mennyire legyen látható a háttér a lightbox mögött. Az " +"átlátszatlanság értéke 0.0 és 1.0 között lehet, ahol a 0.0 a " +"100%-os átlátszóságot, az 1.0 a 100%-os átlátszatlanságot " +"jelenti." +msgid "" +"Enter a hexadecimal color value for the overlay. For example " +"000 or 000000 for black)." +msgstr "" +"Az átlátszatlanság színének megadása tizenhatos " +"számrendszerbeli értékben. Például 000 vagy " +"000000 jelenti a feketét." +msgid "Animation settings" +msgstr "Animáció beállításai" +msgid "These options aren't available when using Lightbox2 Lite." +msgstr "" +"Ezek a lehetőségek a Lightbox2 Lite használatakor nem érhetőek " +"el." +msgid "Simultaneous" +msgstr "Egyidejű" +msgid "Resize sequence" +msgstr "Átméretezési sorrend" +msgid "The sequence to use for the resizing animation." +msgstr "Az átméretezési animációnál használt sorrend." +msgid "" +"The duration (in seconds) of the resizing animation. Enter a value " +"between 0 and 10." +msgstr "" +"Az átméretezési animáció időtartama (másodpercekben). Egy 0 és " +"10 közötti értéket kell megadni." +msgid "Appearance duration" +msgstr "Megjelenés időtartama" +msgid "" +"The duration (in seconds) of the lightbox appearance animation. Enter " +"a value between 0 and 10." +msgstr "" +"A lightbox megjelenési animációjának időtartama " +"(másodpercekben). Egy 0 és 10 közötti értéket kell megadni." +msgid "Caption slide down duration" +msgstr "Képaláírás lecsúsztatásának időtartama" +msgid "" +"The duration (in seconds) of the caption sliding-down animation. " +"Enter a value between 0 and 10." +msgstr "" +"A képaláírás lecsúsztatási animációjának időtartama " +"(másodpercekben). 0 és 10 közötti értéket kell megadni." +msgid "FLV player path doesn't exist." +msgstr "Az FLV lejátszó elérési útja nem létezik." +msgid "You must enter a properly formed hex value." +msgstr "" +"Egy megfelelően formázott tizenhatos számrendszerbeli értéket " +"kell megadni." +msgid "You must enter a size greater than 0 pixels." +msgstr "Egy 0 képpontnál nagyobb méretet kell megadni." +msgid "" +"You must enter a size greater than 0 pixels. Leave blank for default " +"positioning." +msgstr "" +"Egy 0 képpontnál nagyobb méretet kell megadni. Az alapértelmezett " +"elhelyezéshez üresen kell hagyni." +msgid "You must enter a duration between 0 and 10 seconds." +msgstr "Egy 0 és 10 közötti időtartamot kell megadni." +msgid "Interval seconds" +msgstr "Szünet másodpercei" +msgid "" +"The slideshow interval is the length of time in seconds an image is " +"visible before the slideshow shows the next image." +msgstr "" +"A diavetítési szünet az a másodpercben megadott időtartam amíg " +"a kép látható, mielőtt a diavetítés a következő képre lép." +msgid "Automatically start slideshow" +msgstr "Diavetítés automatikus indítása" +msgid "When enabled the slideshow will automatically start." +msgstr "Ha engedélyezett, a diavetítés automatikusan elindul." +msgid "Automatically exit slideshow" +msgstr "Automatikus kilépés a diavetítésből" +msgid "" +"When enabled the lightbox will automatically close after displaying " +"the last image." +msgstr "" +"Ha engedélyezve van, a lightbox automatikusan bezáródik az utolsó " +"kép megjelenítése után." +msgid "Show play / pause button" +msgstr "Lejátszás / szünet gombok megjelenítése" +msgid "" +"When enabled, a play / pause button will be shown in the slideshow " +"allowing the user more control over their viewing experience." +msgstr "" +"Ha engedélyezett, egy lejátszás / szünet gomb lesz látható a " +"diavetítésben amivel a felhasználó jobban vezérelheti a " +"lejátszást." +msgid "Pause slideshow on \"Next Image\" click" +msgstr "Diavetítés szüneteltetése a „Következő” gombra kattintáskor" +msgid "" +"When enabled the slideshow is automatically paused, and the following " +"image shown, when the \"Next\" button is clicked." +msgstr "" +"Ha engedélyezve van, a diavetítés automatikusan szünetel, és a " +"következő kép akkor jelenik meg, ha a felhasználó a " +"„Következő” gombra kattint." +msgid "Pause slideshow on \"Previous Image\" click" +msgstr "Diavetítés szüneteltetése az „Előző” gombra kattintáskor" +msgid "" +"When enabled the slideshow is automatically paused, and the previous " +"image shown, when the \"Previous\" button is clicked." +msgstr "" +"Ha engedélyezve van, a diavetítés automatikusan szünetel, és az " +"előző kép akkor jelenik meg, ha a felhasználó az „Előző” " +"gombra kattint." +msgid "Continuous loop" +msgstr "Folyamatos lejátszás" +msgid "" +"When enabled the slideshow will automatically start over after " +"displaying the last slide. This prevents the slideshow from " +"automatically exiting when enabled." +msgstr "" +"Ha engedélyezve van, a diavetítés automatikusan újrakezdődik az " +"utolsó dia megjelenítése után. Ha engedélyezett, letiltja a " +"diavetítés automatikus bezárását." +msgid "The \"interval seconds\" value must be numeric." +msgstr "A „szünet másodpercei” értékének számnak kell lennie." +msgid "The default width of the iframe in pixels." +msgstr "Az iframe alapértelmezett szélessége képpontban." +msgid "The default height of the iframe in pixels." +msgstr "Az iframe alapértelmezett magassága képpontban." +msgid "Enable border" +msgstr "Szegély engedélyezése" +msgid "" +"Enable iframe border. You can modify the border style in your theme's " +"css file using the iframe's id \"lightboxFrame\"." +msgstr "" +"Iframe keret engedélyezése. A keret stílusát a smink css " +"fájljában lehet módosítani a „lightboxFrame” iframe id " +"használatával." +msgid "The \"default width\" value must be numeric." +msgstr "" +"Az „alapértelmezett szélesség” értékének számnak kell " +"lennie." +msgid "The \"default height\" value must be numeric." +msgstr "Az „alapértelmezett magasság” értékének számnak kell lennie." +msgid "Lightbox grouped" +msgstr "Lightbox csoportosítva" +msgid "HTML content" +msgstr "HTML tartalom" +msgid "HTML content grouped" +msgstr "HTML tartalom csoportosítva" +msgid "" +"These options allow automatic URL re-formatting of images. This " +"removes the need for you to add 'rel=\"lightbox\"' to each image link " +"throughout your site. You can select which image sizes will trigger " +"the lightbox and configure a list of image CSS classes which should " +"also have their URLs automatically re-formatted. This feature is not " +"available when using Lightbox2 Lite." +msgstr "" +"Ezek a beállítások lehetővé teszik a képek URL-jeinek " +"automatikus újraformázását. Ezzel szükségtelenné válik a " +"képhivatkozásokhoz hozzáadni a „rel=\"lightbox\"”-ot. Ki lehet " +"választani, hogy melyik képméretek indítsák el a lightboxot, és " +"meg lehet adni azokat a CSS osztályokat amiknek az URL-jei szintén " +"automatikusan újra lesznek formázva. Ez a lehetőség a Lightbox2 " +"Lite használatánál nem érhető el." +msgid "Automatic handlers" +msgstr "Automata kezelők" +msgid "Image node settings" +msgstr "Képtartalom beállításai" +msgid "Automatic handler for image nodes" +msgstr "Automata kezelő a képtartalmakhoz" +msgid "Choose how URLs for image nodes will be automatically handled." +msgstr "" +"Annak kiválasztása, hogy a képtartalmak hivatkozásainak " +"automatikus kezelése hogyan történjen." +msgid "Lightbox image display size" +msgstr "Lightbox képmegjelenítésének mérete" +msgid "" +"Select which image size will be loaded in the lightbox. This only " +"applies to images uploaded with the Image module." +msgstr "" +"Annak kiválasztása, hogy melyik képméret legyen betöltve a " +"lightboxba. Csak az Image modullal feltöltött képekre van hatása." +msgid "Image trigger size" +msgstr "Képméret trigger" +msgid "" +"Select which image size, when clicked on, will automatically trigger " +"the lightbox. This only applies to images uploaded with the Image " +"module." +msgstr "" +"Annak kiválasztása, hogy melyik képméret indítsa el a lightboxot. " +"Csak az Image modullal feltöltött képekre van hatása." +msgid "Disable lightbox for gallery lists" +msgstr "Lightbox tiltása a galérialistáknál" +msgid "" +"Checking this box will disable the lightbox for images in gallery " +"lists. This means it is possible to open a gallery by clicking on the " +"teaser image, but the lightbox will still appear when viewing images " +"within the gallery. This only applies to image galleries created with " +"the \"image gallery\" module." +msgstr "" +"A doboz bejelölésével letiltható a lightbox a galérialistában " +"található képeknél. Ez azt jelenti, hogy a galéria megnyitható " +"lesz a bevezető képre kattintással, de a galérián belüli képek " +"megtekintésekor már megjelenik a lightbox. Csak az „image " +"gallery” modullal létrehozott képgalériákra van hatása." +msgid "Flickr images" +msgstr "Flickr képek" +msgid "Automatic handler for Flickr images" +msgstr "Automata kezelő a Flickr képekhez" +msgid "Choose how URLs for Flickr images will be automatically handled." +msgstr "" +"Annak kiválasztása, hogy a Flickr képek URL-jeinek automatikus " +"kezelése hogyan történjen." +msgid "Gallery2 images" +msgstr "Gallery2 képek" +msgid "Automatic handler for Gallery2 block images" +msgstr "Automata kezelő a Gallery2 blokk képeihez" +msgid "" +"Choose how URLs for images, contained within Gallery2 image blocks, " +"will be automatically handled." +msgstr "" +"Annak kiválasztása, hogy a Gallery2 képblokkokban található " +"képek URL-jeinek automatikus kezelése hogyan történjen." +msgid "Inline images" +msgstr "Inline képek" +msgid "Automatic handler for Inline images" +msgstr "Automatikus kezelő az Inline képekhez" +msgid "Choose how URLs for Inline images will be automatically handled." +msgstr "" +"Annak kiválasztása, hogy az Inline képek URL-jeinek automatikus " +"kezelése hogyan történjen." +msgid "Image Assist images" +msgstr "Image Assist képek" +msgid "Automatic handler for Image Assist custom size images" +msgstr "Automata kezelő az Image Assist egyedi méretű képekhez" +msgid "" +"Choose how URLs for custom size images, displayed by the Image Assist " +"module, will be automatically handled." +msgstr "" +"Annak kiválasztása, hogy az Image Assist modul által " +"megjelenített, egyedi méretű képek URL-jeinek automatikus " +"kezelése hogyan történjen." +msgid "Custom class images" +msgstr "Egyedi osztályú képek" +msgid "Automatic handler for custom class images" +msgstr "Automata kezelő az egyedi osztályú képekhez" +msgid "Choose how URLs for custom class images will be automatically handled." +msgstr "" +"Annak kiválasztása, hogy az egyedi osztállyal rendelkező képek " +"URL-jeinek automatikus kezelése hogyan történjen." +msgid "Custom image trigger classes" +msgstr "Egyéni képtriggerek osztályai" +msgid "" +"List the image classes which should trigger the lightbox when clicked " +"on. Put each class on a separate line." +msgstr "" +"Azoknak a képosztályoknak a listája, amik elindítják a " +"lightboxot. Minden osztályt külön sorban kell megadni." +msgid "Acidfree settings" +msgstr "Acidfree beállítások" +msgid "Disable lightbox for Acidfree gallery lists" +msgstr "lightbox tiltása az Acidfree galérialistákban" +msgid "" +"Checking this box will disable the lightbox for images in gallery " +"lists. This means it is possible to open a gallery by clicking on the " +"teaser image, but the lightbox will still appear when viewing images " +"within the gallery. This only applies to image galleries created with " +"the \"acidfree\" module." +msgstr "" +"A doboz bejelölésével letiltható a lightbox a galérialistában " +"található képeknél. Ez azt jelenti, hogy a galéria megnyitható " +"lesz a bevezető képre kattintással, de a galérián belüli képek " +"megtekintésekor már megjelenik a lightbox. Csak az „Acidfree” " +"modullal létrehozott képgalériákra van hatása." +msgid "Enable lightbox for Acidfree videos" +msgstr "Lightbox engedélyezése az Acidfree videókhoz" +msgid "" +"Checking this box will enable the display of acidfree videos in a " +"lightbox. This only applies to videos created by the \"video\" module " +"and which appear in an acidfree gallery." +msgstr "" +"A doboz bejelölésével engedélyezhető a acidfree videók " +"lightboxban történő megjelenítése. Csak azokra a „video” " +"modullal létrehozott videókra van hatása, melyek megjelennek egy " +"acidfree galériában." +msgid "Enables Lightbox2 for Drupal" +msgstr "Lightbox2 engedélyezése Drupalhoz" +msgid "" +"

Overview

\n" +"

Lightbox2 JS is a simple, unobtrusive " +"script used to overlay images on the current page. It's a snap to " +"setup and works on all modern browsers. The module comes with a " +"Lightbox2 Lite option which does not use the JQuery libraries; it is " +"therefore less likely to conflict with anything else.

\n" +"

Places images above your current page, not " +"within. This frees you from the constraints of the layout, " +"particularly column widths. Keeps users on the same page. Clicking to " +"view an image and then having to click the back button to return to " +"your site is bad for continuity (and no fun!).

\n" +"

Features

\n" +"The version 2 module has several benefits over the plain Lightbox " +"module. Note, not all of these features are available when the " +"\"Lightbox2 Lite\" option is enabled.\n" +"
    \n" +"
  • Image Sets: group related images and navigate through them with " +"ease - ideal for your image galleries.
  • \n" +"
  • Slideshow Capability: automatically transition between grouped " +"images, includes play/pause and previous and next buttons.
  • \n" +"
  • HTML Content Support: ability to show websites or other HTML " +"content in a lightbox.
  • \n" +"
  • Video Content Support: ability to show videos in a " +"lightbox.
  • \n" +"
  • Visual Effects: fancy pre-loader and transition when you click on " +"the image.
  • \n" +"
  • Keyboard Shortcuts: useful keyboard shortcuts for " +"switching between images, toggling play / pause, etc.
  • \n" +"
  • Zoom Capability: larger images are reduced in size so they fit " +"snugly inside the browser window. A zoom button can then be clicked " +"on to see it in its original size.
  • \n" +"
  • Automatic Image Detection: configurable automatic re-formatting " +"of\n" +"image thumbnails, so there is no need to add 'rel=\"lightbox\"' to " +"each\n" +"image link on your site. Image, Inline, Flickr, Image Assist and " +"CCK Imagefield " +"modules are all\n" +"supported. It's also possible to configure a custom list of image " +"classes\n" +"which should trigger the lightbox functionality.
  • \n" +"
  • Imagecache " +"Support: adds a Lightbox2 field formatter for CCK imagefields for " +"your custom views.
  • \n" +"
  • Image Page Link: a link to the image node can be provided within " +"the lightbox itself.
  • \n" +"
  • Page Exclusion Capability: exclude certain pages on your site from " +"having the lightbox2 functionality.
  • \n" +"
  • Login Support: ability to modify all user/login links so the login " +"form appears in a lightbox.
  • \n" +"
  • Skin and Animation Configuration: configure the order and speed of " +"the lightbox animations, along with the lightbox colors, border size " +"and overlay opacity.
  • \n" +"
  • Gallery 2 Support: support for Gallery 2 images via the Gallery module " +"(beta).
  • \n" +"
\n" +"

Usage

\n" +"
Adding a Basic " +"Lightbox
\n" +"

Add rel="lightbox" attribute to any link tag to " +"activate the lightbox. For example:

\n" +"

<a href="image-1.jpg" " +"rel="lightbox">image #1</a>

\n" +"

<a href="image-1.jpg" rel="lightbox[][my " +"caption]">image #1</a>

\n" +"

Optional: To show a caption either use the title attribute or " +"put in the second set of [] of the rel attribute.

\n" +"
Grouping Images
\n" +"

If you have a set of related images that you would like to " +"group, follow\n" +" step one but additionally include a group name between square " +"brackets in the\n" +" rel attribute. For example:

<a " +"href=\"images/image-1.jpg\"\n" +" rel=\"lightbox[roadtrip]\">image #1</a>
\n" +"<a href=\"images/image-2.jpg\" rel=\"lightbox[roadtrip][caption " +"2]\">image\n" +"#2</a>
\n" +"<a href=\"images/image-3.jpg\" rel=\"lightbox[roadtrip][caption " +"3]\">image\n" +"#3</a>

\n" +"

No limits to the number of image sets per page or how many images " +"are allowed\n" +"in each set.

\n" +"\n" +"

If you have a set of images that you would like to group together " +"in a lightbox, but only wish for one of these images to be visible on " +"your page, you can assign the \"lightbox_hide_image\" class to hide " +"the additional images. For example:

\n" +"\n" +"

<a href=\"images/image-1.jpg\" " +"rel=\"lightbox[roadtrip]\">image #1</a>
\n" +"<a href=\"images/image-2.jpg\" rel=\"lightbox[roadtrip]\" " +"class=\"lightbox_hide_image\">image #2</a>
\n" +"<a href=\"images/image-3.jpg\" rel=\"lightbox[roadtrip][caption " +"3]\" class=\"lightbox_hide_image\">image #3</a>

\n" +"\n" +"
Slideshow
\n" +"

This is very similar to the grouping functionality described above. " +" The only difference is that \"rel\" attribute should be set to " +"\"lightshow\" instead of \"lightbox\". Using the same example as " +"above, we could launch the images in a slideshow by doing:

\n" +"\n" +"

<a href=\"images/image-1.jpg\" " +"rel=\"lightshow[roadtrip]\">image #1</a>
\n" +"<a href=\"images/image-2.jpg\" rel=\"lightshow[roadtrip][caption " +"2]\">image #2</a>
\n" +"<a href=\"images/image-3.jpg\" rel=\"lightshow[roadtrip][caption " +"3]\">image #3</a>

\n" +"\n" +"
Video Content
\n" +"

\n" +"It's possible to show video content in the lightbox. In this case the " +"\"rel\" attribute should be set to lightvideo. It's " +"possible to group videos and to control the size of the lightbox by " +"setting the 'width' and 'height' properties. The properties can be " +"configured like lightvideo[group|width:300px; height: " +"200px;] and lightvideo[|width:300px; height: 200px;][my " +"caption]. The properties should all be of the format " +"\"property: value;\" - note the closing semi-colon. If no properties " +"are set, then the default width and height of 400px will be used. See " +"below for more detailed examples.

\n" +"\n" +"

Basic example:
\n" +"\n" +"<a " +"href=\"http://video.google.com/videoplay?docid=1811233136844420765\" " +"rel=\"lightvideo\">Google video example - default size</a>
\n" +"

\n" +"\n" +"

Basic example with caption:
\n" +"\n" +"<a " +"href=\"http://video.google.com/videoplay?docid=1811233136844420765\" " +"rel=\"lightvideo[][my caption]\">Google video example - default " +"size</a>
\n" +"

\n" +"\n" +"

Grouped example:
\n" +"\n" +"<a " +"href=\"http://video.google.com/videoplay?docid=29023498723974239479\" " +"rel=\"lightvideo[group][my caption]\">Grouped example " +"1</a>
\n" +"<a " +"href=\"http://video.google.com/videoplay?docid=1811233136844420765\" " +"rel=\"lightvideo[group][my caption]\">Grouped example " +"2</a>
\n" +"

\n" +"\n" +"

Controlling lightbox size example:
\n" +"\n" +"<a " +"href=\"http://video.google.com/videoplay?docid=1811233136844420765\" " +"rel=\"lightvideo[|width:400px; height:300px;][my caption]\">Google " +"video example - custom size</a>
\n" +"

\n" +"\n" +"

Supported Video Formats
\n" +"asx, wmv, mov and swf videos should all be supported. A number of " +"video providers are also supported, for example YouTube and Google " +"Video. For full details on how to integrate these with lightbox, " +"please see the online documentation.

\n" +"\n" +"
HTML Content
\n" +"

It's possible to show webpage content in the lightbox, using " +"iframes. In this case the \"rel\" attribute should be set to " +"lightframe. Again it's possible to group the items, " +"(e.g. lightframe[search]) but in addition to that, it's " +"possible to control some of the iframe properties. It's possible to " +"set the 'width', 'height' and 'scrolling' properties of the iframe. " +"The properties are separated from the group name by a |, " +"for example lightframe[search|width:100px;] and " +"lightframe[search|width:120px][my caption]. If no " +"grouping is being used, then the | is still used and the " +"format would be lightframe[|width:100px;]. The " +"properties should all be of the format \"property: value;\" - note the " +"closing semi-colon. If no iframe properties are set, then the default " +"width and height of 400px will be used. See below for more detailed " +"examples.

\n" +"\n" +"

Basic example:
\n" +"\n" +"<a href=\"http://www.google.com\" rel=\"lightframe[][Search " +"Google]\">Search google</a>\n" +"

\n" +"\n" +"

Grouped example:
\n" +"\n" +"<a href=\"http://www.google.com\" " +"rel=\"lightframe[search]\">Search google</a>
\n" +"<a href=\"http://www.yahoo.com\" rel=\"lightframe[search][Search " +"Yahoo]\">Search yahoo</a>\n" +"

\n" +"\n" +"

Controlling iframe property example:
\n" +"\n" +"<a href=\"http://www.google.com\" rel=\"lightframe[|width:400px; " +"height:300px; scrolling: auto;]\">Search google</a>\n" +"

\n" +"\n" +"

Controlling iframe property when grouped example:
\n" +"\n" +"<a href=\"http://www.google.com\" " +"rel=\"lightframe[search|width:400px; height:300px; scrolling: " +"auto;]\">Search google</a>
\n" +"<a href=\"http://www.yahoo.com\" " +"rel=\"lightframe[search|width:400px; height:300px;][Search " +"Yahoo]\">Search yahoo</a>\n" +"

\n" +"\n" +"
Inline Content " +"Support
\n" +"

It's possible to show HTML snippets in the lightbox, that is on the " +"same domain. In this case the \"rel\" attribute should be set to " +"lightmodal. Again it's possible to group the content, " +"(e.g. lightmodal[search]) but in addition to that, it's " +"possible to control some of the inline / modal properties. It's " +"possible to set the 'width', 'height' and 'scrolling' properties of " +"the inline content. The properties are separated from the group name " +"by a |, for example " +"lightmodal[search|width:100px;] and " +"lightmodal[search|width:100px;][my caption]. If no " +"grouping is being used, then the | is still used and the " +"format would be lightmodal[|width:100px;]. The " +"properties should all be of the format \"property: value;\" - note the " +"closing semi-colon. If no properties are set, then the default width " +"and height of 400px will be used. See below for more detailed " +"examples.

\n" +"\n" +"

Basic example:
\n" +"\n" +"<a href=\"search.php\" rel=\"lightmodal\">Search</a>\n" +"

\n" +"\n" +"

Basic example with caption:
\n" +"\n" +"<a href=\"search.php\" rel=\"lightmodal[][my " +"caption]\">Search</a>\n" +"

\n" +"\n" +"

Grouped example:
\n" +"\n" +"<a href=\"search.php\" " +"rel=\"lightmodal[search]\">Search</a>
\n" +"<a href=\"search.php?status=1\" " +"rel=\"lightmodal[search][published]\">Search published " +"content</a>\n" +"

\n" +"\n" +"

Controlling modal property example:
\n" +"\n" +"<a href=\"search.php\" rel=\"lightmodal[|width:400px; height:300px; " +"scrolling: auto;]\">Search</a>\n" +"

\n" +"\n" +"

Controlling modal property when grouped example:
\n" +"\n" +"<a href=\"search.php\" rel=\"lightmodal[search|width:400px; " +"height:300px; scrolling: auto;]\">Search</a>
\n" +"<a href=\"search.php?status=1\" " +"rel=\"lightmodal[search|width:400px; height:300px;][Search " +"published]\">Search published content</a>
\n" +"<a href=\"search.php?status=0\" " +"rel=\"lightmodal[search|width:400px; height:300px;][Search " +"Unpublished]\">Search unpublished content</a>\n" +"

\n" +"\n" +"\n" +"

Keyboard Shortcuts

\n" +"

The default keyboard shortcuts are listed below. You can override " +"these on the admin page.\n" +"\n" +"\n" +"\n" +"\n" +"\n" +"\n" +"\n" +"\n" +"\n" +"\n" +"\n" +"\n" +"\n" +"\n" +"\n" +"\n" +"
Close Lightboxx
o
c
ESC
Previous Imagep
Left Arrow
Next Imagen
Right Arrow
Toggle Zoomz (not available in slideshow)
Toggle Play / PauseSpacebar (slideshow " +"only)
\n" +"\n" +"

Not all of the keyboard shortcuts work in the Opera browser, for " +"example \"z\" for toggling the zoom and \"spacebar\" for toggling play " +"/ pause in slideshows. This can be overcome by updating your shortcut " +"settings in the Opera preferences editor.

\n" +msgstr "" +"

Áttekintés

\n" +"

A Lightbox2 JS egy egyszerű, diszkrét szkript " +"amit képek átfedésére lehet használni az aktuális oldalon. " +"Gyorsan beállítható és minden modern böngészőben működik. A " +"modulban helyett kapott a Lightbox2 Lite ami nem használja a JQuery " +"könyvtárakat, ezért kevésbé valószínű, hogy összeütközik " +"valami mással.

\n" +"

A képeket az oldal fölé helyezi, nem pedig a " +"belsejébe. Ez kiküszöböli az elrendezés korlátaiból, főleg az " +"oszlopszélességekből adódó problémákat. A felhasználókat " +"ugyanazon az oldalon tartja. Nem tesz jót a folytonosságnak ha egy " +"kép megtekintéséhez a képre kell kattintani, aztán pedig a vissza " +"gombra az oldalra való visszatéréshez (és nem is jó " +"szórakozás!).

\n" +"

Lehetőségek

\n" +"A 2-es verziójú modulnak számos előnye van az egyszerű Lightbox " +"modulhoz képest. Meg kell jegyezni, hogy nem minden lehetőség " +"érhető el a \"Lightbox2 Lite\" használatakor.
    \n" +"
  • Képcsoportok: kapcsolódó képek csoportja és a köztük " +"történő könnyed navigáció - képgalériákhoz ideális.
  • \n" +"
  • Diavetítési képesség: automatikus átmenet a csoportosított " +"képek között, lejátszás/szünet, előző és következő gombokat " +"biztosít.
  • \n" +"
  • HTML tartalom támogatása: képesség weboldalak vagy más HTML " +"tartalmak megjelenítésére egy lightboxban.
  • \n" +"
  • Videó tartalom támogatása: képesség videók " +"megjelenítésére egy lightboxban.
  • \n" +"
  • Vizuális effektek: díszes előbetöltő és átmenet a képre " +"kattintáskor.
  • \n" +"
  • Billentyűparancsok: hasznos billentyűparancsok a " +"képek közötti váltáshoz, lejátszás/szünet bekapcsolásához, " +"stb...
  • \n" +"
  • Nagyítási képesség: nagyobb képek méretének csökkentése, " +"hogy kényelmesen elférjenek a böngészőablakban. Egy kattintható " +"nagyítás gomb, hogy a kép eredeti méretben is megtekinthető " +"legyen.
  • \n" +"
  • Automatikus képfelismerés: : előnézeti képek beállítható " +"automatikus újraformázása, hogy ne kelljen az oldal összes " +"képéhivatkozásához hozzáadni a 'rel=\"lightbox\"-t. Az Image, az Inline, a Flickr, az Image Assist és a " +"CCK Imagefield " +"modulok mind támogatottak. Lehetőség van azoknak az egyedi " +"képosztályoknak a megadására, amik elindítják a " +"lightboxot.
  • \n" +"
  • Imagecache " +"támogatása: egy a saját nézetekben használható " +"Lightbox2 mezőformázót ad a CCK " +"imagefieldekhez.
  • \n" +"
  • Képoldal hivatkozás: A lightboxon belül elérhető, a " +"képtartalomra mutató hivatkozás.
  • \n" +"
  • Oldalkizárási képesség: bizonyos oldalak kizárása a " +"lightbox2 használatából.
  • \n" +"
  • Bejelentkezés támogatása: képesség minden " +"felhasználó/bejelentkezés hivatkozás módosítására, a " +"bejelentkezési űrlap egy lightboxban jelenik meg.
  • \n" +"
  • Bőr és animáció beállítása: A lightbox animációk " +"sorrendjének és sebességének beállítása, együtt a lightbox " +"színeivel, a keret méretével és az átfedés " +"átlátszatlanságával.
  • \n" +"
  • Gallery 2 támogatása: Gallery 2 képek támogatása a Gallery modulon (beta) " +"keresztül.
  • \n" +"
\n" +"

Használat

\n" +"
Egyszerű Lightbox " +"hozzáadása
\n" +"

A lightbox aktíválásához a rel="lightbox" " +"attribútumot kell hozzáadni bármelyik hivatkozáshoz. Például: " +"

\n" +"

<a href="image-1.jpg" " +"rel="lightbox">image #1</a>

\n" +"

<a href="image-1.jpg" " +"rel="lightbox[][képaláírás]">image #1</a>

\n" +"

További lehetőség: Képaláírás megjelenítéséhez a " +"title attribútum használható, vagy a képaláírást a rel " +"attribútum második kapcsoszárojelei közé kell tenni.

\n" +"
Képek " +"csoportosítása
\n" +"

Egymáshoz kapcsolódó képek csoportosításához az előző " +"lépést kell követni, de be kell illeszteni egy csoportnevet a rel " +"attribútum kapcsoszárojelei közé. Például:

<a " +"href=\"images/image-1.jpg\"\n" +" rel=\"lightbox[utazás]\">image #1</a>
\n" +"<a href=\"images/image-2.jpg\" " +"rel=\"lightbox[utazás][képaláírás 2]\">image\n" +"#2</a>
\n" +"<a href=\"images/image-3.jpg\" " +"rel=\"lightbox[utazás][képaláírás 3]\">image\n" +"#3</a>

\n" +"

Nincs behatárolva, hogy mennyi képcsoport lehet egy oldalon, vagy " +"mennyi kép lehet egy csoportban.

\n" +"\n" +"

Ha több képet csoportosítva akarunk egy lightboxban, de az " +"oldalon csak egy képet szeretnénk megjeleníteni, a " +"\"lightbox_hide_image\" osztályt kell alkalmazni az elrejteni " +"kívánt képeken. Példáuk:

\n" +"\n" +"

<a href=\"images/image-1.jpg\" " +"rel=\"lightbox[utazás]\">image #1</a>
\n" +"<a href=\"images/image-2.jpg\" rel=\"lightbox[utazás]\" " +"class=\"lightbox_hide_image\">image #2</a>
\n" +"<a href=\"images/image-3.jpg\" " +"rel=\"lightbox[utazás][képaláírás 3]\" " +"class=\"lightbox_hide_image\">image #3</a>

\n" +"\n" +"
Diavetítés
\n" +"

Nagyon hasonló a fentebb ismertetett csoportosítási " +"megoldáshoz. Az egyetlen különbség, hogy a \"rel\" attribútumot " +"\"lightshow\"-ra kell állítani \"lightbox\" helyett. Ha fenti " +"példát használva a képeket diavetítőben történő " +"megjelenítéséhez a következőt kell tenni:

\n" +"\n" +"

<a href=\"images/image-1.jpg\" " +"rel=\"lightshow[utazás]\">image #1</a>
\n" +"<a href=\"images/image-2.jpg\" " +"rel=\"lightshow[utazás][képaláírás 2]\">image #2</a>
\n" +"<a href=\"images/image-3.jpg\" " +"rel=\"lightshow[utazás][képaláírás 3]\">image " +"#3</a>

\n" +"\n" +"
Videótartalom
\n" +"

\n" +"Lehetséges videótartalmakat a lightboxban megjeleníteni. Ebben az " +"esetben a \"rel\" attribútumot lightvideo-ra kell " +"állítani. Lehetőség van a videók csoportosítására és a " +"lightbox méretének vezérlésére a a 'width' és a 'height' " +"tulajdonságok beállításával. A tulajdonságok így " +"konfigurálhatóak: lightvideo[csoport|width:300px; height: " +"200px;] and lightvideo[|width:300px; height: " +"200px;][képaláírás]. A tulajdonságokat \"tulajdonság: " +"érték;\" formában kell megadni - figyelni kell a záró " +"pontosvesszőre. Ha nincsenek beállított tulajdonságok, az " +"alapértelmezett szélesség és magasság lesz használva, ami 400px. " +"Lejebb további, részletesebb példák találhatóak.

\n" +"\n" +"

Egyszerű példa:
\n" +"\n" +"<a " +"href=\"http://video.google.com/videoplay?docid=1811233136844420765\" " +"rel=\"lightvideo\">Google video példa - alapértelmezett " +"méret</a>
\n" +"

\n" +"\n" +"

Egyszerű példa képaláírással:
\n" +"\n" +"<a " +"href=\"http://video.google.com/videoplay?docid=1811233136844420765\" " +"rel=\"lightvideo[][képaláírás]\">Google video példa - " +"alapértelmezett méret</a>
\n" +"

\n" +"\n" +"

Példa csoportosításra:
\n" +"\n" +"<a " +"href=\"http://video.google.com/videoplay?docid=29023498723974239479\" " +"rel=\"lightvideo[csoport][képaláírás]\">Példa " +"csoportosításra 1</a>
\n" +"<a " +"href=\"http://video.google.com/videoplay?docid=1811233136844420765\" " +"rel=\"lightvideo[csoport][képaláírás]\">példa " +"csoportosításra 2</a>
\n" +"

\n" +"\n" +"

Példa lightbox méretének vezérlésére:
\n" +"\n" +"<a " +"href=\"http://video.google.com/videoplay?docid=1811233136844420765\" " +"rel=\"lightvideo[|width:400px; " +"height:300px;][képaláírás]\">Google video példa - egyedi " +"méret</a>
\n" +"

\n" +"\n" +"

Támogatott videóformátumok
\n" +"Az asx, a wmv, a mov és az swf videók mind támogatottak. Több " +"videószolgáltató is támogatott, például a YouTube és a Google " +"Video. Ezek lightboxba illesztésének részleteiről érdemes " +"elolvasni az online dokumentációt.

\n" +"\n" +"
HTML tartalom
\n" +"

Iframe használatával lehetséges weboldalak tartalmát a " +"lightboxban megjeleníteni. Ebben az esetben a \"rel\" attribútumot " +"lightframe-re kell állítani. Itt is lehet " +"csoportosítani az elemeket, (pl.: lightframe[keresés]) " +"de emellett lehetséges néhány iframe tulajdonság vezérlése is. " +"Be lehet állítani az iframe 'width', 'height' és 'scrolling' " +"tulajdonságait. A tulajdonságokat egy | jellel kell " +"elválasztani a csoportnévtől, például " +"lightframe[keresés|width:100px;] és " +"lightframe[keresés|width:120px][képaláírás]. Ha " +"nincs csoportosítás a | jelet akkor is használni kell " +"lightframe[|width:100px;] formában. A tulajdonságokat " +"\"tulajdonság: érték;\" formában kell megadni - figyelni kell a " +"záró pontosvesszőre. Ha nincs beállított iframe tulajdonság, az " +"alapértelmezett szélesség és magasság lesz használva, ami 400px. " +"Lejebb részletesebb példák láthatóak.

\n" +"\n" +"

Egyszerű példa:
\n" +"\n" +"<a href=\"http://www.google.com\" rel=\"lightframe[][Google " +"kereső]\">Google kereső</a>\n" +"

\n" +"\n" +"

Példa csoportosításra:
\n" +"\n" +"<a href=\"http://www.google.com\" " +"rel=\"lightframe[keresés]\">Google kereső</a>
\n" +"<a href=\"http://www.yahoo.com\" rel=\"lightframe[keresés][Yahoo " +"kereső]\">Yahoo kereső</a>\n" +"

\n" +"\n" +"

Példa iframe tulajdonság vezérlésére:
\n" +"\n" +"<a href=\"http://www.google.com\" rel=\"lightframe[|width:400px; " +"height:300px; scrolling: auto;]\">Google kereső</a>\n" +"

\n" +"\n" +"

Példa csoportosított iframe tulajdonságainak vezérlésére:
\n" +"\n" +"<a href=\"http://www.google.com\" " +"rel=\"lightframe[keresés|width:400px; height:300px; scrolling: " +"auto;]\">Google kereső</a>
\n" +"<a href=\"http://www.yahoo.com\" " +"rel=\"lightframe[keresés|width:400px; height:300px;][Yahoo " +"kereső]\">Yahoo kereső</a>\n" +"

\n" +"\n" +"
Beillesztett tartalom " +"támogatása
\n" +"

Lehetsége HTML kódrészleteket megjeleníteni a lightboxban. " +"Ebben az esetben a \"rel\" attribútumot lightmodal-ra " +"kell állítani. Itt is lehet csoportosítani a tartalmat, (pl. " +"lightmodal[keresés]) de emellett lehetséges néhány " +"beillesztett / szöveges tulajdonság vezérlése is. Be lehet " +"állítani a beilesztett tartalom 'width', 'height' és 'scrolling' " +"tulajdonságait. A tulajdonságokat a csoportnévtől egy " +"| jellel kell elválasztani, például " +"lightmodal[keresés|width:100px;] és " +"lightmodal[keresés|width:100px;][képaláírás]. Ha " +"nincs csoportosítás a | jelet akkor is használni kell " +"lightmodal[|width:100px;] formátumban. A " +"tulajdonságokat \"tulajdonság: érték;\" formában kell megadni - " +"figyelni kell a záró pontosvesszőre. Ha nincs beállított iframe " +"tulajdonság, az alapértelmezett szélesség és magasság lesz " +"használva, ami 400px. Lejebb részletesebb példák " +"láthatóak.

\n" +"\n" +"

Egyszerű példa:
\n" +"\n" +"<a href=\"search.php\" rel=\"lightmodal\">Keresés</a>\n" +"

\n" +"\n" +"

Egyszerű példa képaláírással:
\n" +"\n" +"<a href=\"search.php\" " +"rel=\"lightmodal[][képaláírás]\">Keresés</a>\n" +"

\n" +"\n" +"

Példa csoportosításra:
\n" +"\n" +"<a href=\"search.php\" " +"rel=\"lightmodal[keresés]\">Keresés</a>
\n" +"<a href=\"search.php?status=1\" " +"rel=\"lightmodal[keresés][published]\">Közétett tartalom " +"keresése</a>\n" +"

\n" +"\n" +"

Példa szöveges tulajdonság vezérlésére:
\n" +"\n" +"<a href=\"search.php\" rel=\"lightmodal[|width:400px; height:300px; " +"scrolling: auto;]\">Keresés</a>\n" +"

\n" +"\n" +"

Példa csoportosított szöveges tulajdonság vezérlésére:
\n" +"\n" +"<a href=\"search.php\" rel=\"lightmodal[keresés|width:400px; " +"height:300px; scrolling: auto;]\">Keresés</a>
\n" +"<a href=\"search.php?status=1\" " +"rel=\"lightmodal[keresés|width:400px; height:300px;][Search " +"published]\">Közétett tartalom keresése</a>
\n" +"<a href=\"search.php?status=0\" " +"rel=\"lightmodal[keresés|width:400px; height:300px;][Rejtett tartalom " +"keresése]\">Rejtett tartalom keresése</a>\n" +"

\n" +"\n" +"\n" +"

Billentyűparancsok

\n" +"

Az alapértelmezett billentyűparancsok lentebb találhatóak. Az " +"adminisztrációs oldalon felül lehet írni ezeket.\n" +"\n" +"\n" +"\n" +"\n" +"\n" +"\n" +"\n" +"\n" +"\n" +"\n" +"\n" +"\n" +"\n" +"\n" +"\n" +"\n" +"
Lightbox bezárásax
o
c
ESC
Előző képp
Balra nyíl
Következő képn
Jobbra nyíl
Zoom gombz (diavetítésben nem érhető " +"el)
Lejátszás / Szünet gombSzóköz (csak " +"diavetítésben)
\n" +"\n" +"

Nem minden billentyűparancs használható az Opera böngészőben, " +"például a zoomoláshoz használt \"z\" és a diavetítésben " +"használt lejátszás / szünet \"szóköz\" gombja. A probléma " +"megoldható az Opera billentyűparancsainak módosításával.

\n" +msgid "" +"Image links with 'rel=\"lightbox\"' in the <a> tag will appear " +"in a Lightbox when clicked on." +msgstr "" +"Az <a> címkében „rel=\"lightbox\"”-ot tartalmazó " +"hivatkozások kattintáskor egy Lightboxban fognak megjelenni." +msgid "" +"To add a lightbox to your images, add rel=\"lightbox\" attribute to " +"any link tag to activate the lightbox. For example:" +msgstr "" +"Egy lightbox képekhez rendeléséhez, a rel=\"lightbox\" " +"tulajdonságot kell hozzáadni minden hivatkozás HTML elemhez. " +"Például:" +msgid "" +"<a href=\"image-1.jpg\" rel=\"lightbox\">image " +"#1</a>" +msgstr "" +"<a href=\"image-1.jpg\" rel=\"lightbox\">kép " +"#1</a>" +msgid "" +"<a href=\"image-1.jpg\" rel=\"lightbox[][my " +"caption]\">image #1</a>" +msgstr "" +"<a href=\"image-1.jpg\" rel=\"lightbox[][my " +"caption]\">kép #1</a>" +msgid "" +"To show a caption either use the title attribute or put in the second " +"set of square brackets of the rel attribute." +msgstr "" +"Képaláírás megjelenítéséhez a title attribútumot kell " +"használni, vagy a rel tulajdonság második szögletes zárójele " +"közé kell rakni." +msgid "" +"If you have a set of related images that you would like to group, then " +"you will need to include a group name between square brackets in the " +"rel attribute. For example:" +msgstr "" +"Egymáshoz kapcsolódó képek egy csoportban történő " +"megjelenítéséhez, a rel tulajdonságba be kell illeszteni egy " +"csoportnevet kapcsos zárójelek között. Például:" +msgid "" +"<a href=\"image-1.jpg\" rel=\"lightbox[roadtrip]\">image " +"#1</a>
<a href=\"image-2.jpg\" " +"rel=\"lightbox[roadtrip][caption 2]\">image #2</a>
" +"<a href=\"image-3.jpg\" rel=\"lightbox[roadtrip][caption " +"3]\">image #3</a>
" +msgstr "" +"<a href=\"image-1.jpg\" rel=\"lightbox[roadtrip]\">kép " +"#1</a>
<a href=\"image-2.jpg\" " +"rel=\"lightbox[roadtrip][caption 2]\">kép #2</a>
<a " +"href=\"image-3.jpg\" rel=\"lightbox[roadtrip][caption 3]\">kép " +"#3</a>
" +msgid "" +"There are no limits to the number of image sets per page or how many " +"images are allowed in each set." +msgstr "" +"Nincs behatárolva, hogy mennyi képcsoport lehet egy oldalon, vagy " +"hány kép lehet egy csoportban." +msgid "" +"If you wish to turn the caption into a link, format your caption in " +"the following way:" +msgstr "" +"A képaláírás hivatkozássá alakításához a képaláírást a " +"következőképp kell formázni:" +msgid "" +"<a href=\"image-1.jpg\" rel='lightbox[][<a " +"href=\"http://www.yourlink.com\">View Image Details</a>]' " +">image #1</a>" +msgstr "" +"<a href=\"image-1.jpg\" rel='lightbox[][<a " +"href=\"http://www.yourlink.com\">Kép részleteinek " +"megtekintése</a>]' >kép #1</a>" +msgid "Image links from G2 are formatted for use with Lightbox2" +msgstr "" +"A G2 képhivatkozásai a Lightbox2-vel való használatra vannak " +"formázva" +msgid "" +"Image links with 'rel=\"lightshow\"' in the <a> tag will appear " +"in a Lightbox slideshow when clicked on." +msgstr "" +"Azok a képhivatkozások, melyeknek <a> címkéjében szerepel a " +"„rel=\"lightshow\"”, egy Lightbox diavetítőben jelennek meg a " +"rájuk történő kattintáskor." +msgid "" +"To add a lightbox slideshow to your images, add " +"rel=\"lightshow[slideshowname][slide caption]\" attribute to any link " +"tag to activate the slideshow. For example:" +msgstr "" +"Egy lightbox diavetítés képekhez rendeléséhez, a " +"rel=\"lightshow[diavetítésnév][dia képaláírása]\" " +"tulajdonságot kell hozzáadni minden HTML hivatkozáshoz." +msgid "" +"<a href=\"image-1.jpg\" rel=\"lightshow[show1]\">image " +"#1</a>
<a href=\"image-2.jpg\" " +"rel=\"lightshow[show1]\">image #2</a>
<a " +"href=\"image-3.jpg\" rel=\"lightshow[show1]\">image #3</a>
" +msgstr "" +"<a href=\"image-1.jpg\" rel=\"lightshow[show1]\">kép " +"#1</a>
<a href=\"image-2.jpg\" " +"rel=\"lightshow[show1]\">kép #2</a>
<a " +"href=\"image-3.jpg\" rel=\"lightshow[show1]\">kép #3</a>
" +msgid "" +"The title attribute in the link tag is optional. The addition of this " +"attribute enables the display of a caption with the image displayed in " +"the lightbox." +msgstr "" +"A hivatkozás HTML elem title tulajdonsága választható lehetőség. " +"Használata engedélyezi a lightboxban megjelenített kép " +"képaláírásának megjelenítését." +msgid "" +"There are no limits to the number of slideshow image sets per page or " +"how many images are allowed in each slideshow." +msgstr "" +"Nincs behatárolva, hogy mennyi diavetítési képcsoport lehet egy " +"oldalon, vagy hány kép lehet egy diavetítésben." +msgid "" +"<a href=\"image-1.jpg\" rel='lightshow[show1][<a " +"href=\"http://www.yourlink.com\">View Image " +"Details</a>]'>image #1</a>" +msgstr "" +"<a href=\"image-1.jpg\" rel='lightshow[show1][<a " +"href=\"http://www.yourlink.com\">Kép részleteinek " +"megtekintése</a>]'>kép #1</a>" +msgid "" +"Links to HTML content with 'rel=\"lightframe\"' in the <a> tag " +"will appear in a Lightbox when clicked on." +msgstr "" +"A HTML tartalomra mutató, az <a> címkében " +"„rel=\"lightframe\"”-el rendelkező hivatkozások kattintáskor " +"egy Lightboxban jelennek meg." +msgid "" +"It's possible to show webpage content in the lightbox, using iframes. " +"In this case the \"rel\" attribute should be set to \"lightframe\". " +"Again it's possible to group the content, (e.g. " +"lightframe[search][caption]) but in addition to that, " +"it's possible to control some of the iframe properties. It's possible " +"to set the \"width\", \"height\" and \"scrolling\" properties of the " +"iframe. The properties are separated from the group name by a " +"|, for example " +"lightframe[search|width:100px;][caption]. If no grouping " +"is being used, then the | is still used and the format " +"would be lightframe[|width:100px;]. The properties " +"should all be of the format \"property: value;\" - note the closing " +"semi-colon. If no iframe properties are set, then the default width " +"and height of 400px will be used. See below for more detailed " +"examples." +msgstr "" +"Iframe használatával lehetséges weboldalak tartalmát a lightboxban " +"megjeleníteni. Ebben az esetben a „rel” attribútumot " +"„lightframe”-re kell állítani. Itt is lehet csoportosítani az " +"elemeket, (pl.: lightframe[keresés][képaláírás]), de " +"emellett lehetséges néhány iframe tulajdonság vezérlése is. Be " +"lehet állítani az iframe „width”, „height” és " +"„scrolling” tulajdonságait. A tulajdonságokat egy | " +"jellel kell elválasztani a csoportnévtől, például " +"lightframe[keresés|width:100px;][képaláírás]. Ha " +"nincs csoportosítás a | jelet akkor is használni kell " +"lightframe[|width:100px;] formában. A tulajdonságokat " +"„tulajdonság: érték;” formában kell megadni és figyelni kell " +"a záró pontosvesszőre. Ha nincs beállított iframe tulajdonság, " +"az alapértelmezett szélesség és magasság lesz használva, ami " +"400px. Lentjebb részletesebb példák láthatóak." +msgid "Basic example:" +msgstr "Egyszerű példa:" +msgid "" +"<a href="http://www.google.com" " +"rel="lightframe">Search google</a>" +msgstr "" +"<a href="http://www.google.com" " +"rel="lightframe">Keresés a Google-lel</a>" +msgid "Grouped example:" +msgstr "Csoportos példa:" +msgid "" +"<a href="http://www.google.com" " +"rel="lightframe[search][caption]">Search " +"google</a>
<a href="http://www.yahoo.com" " +"rel="lightframe[search]">Search yahoo</a>
" +msgstr "" +"<a href="http://www.google.com" " +"rel="lightframe[search][caption]">Keresés a " +"Google-lel</a>
<a href="http://www.yahoo.com" " +"rel="lightframe[search]">Keresés a " +"Yahoo-val</a>
" +msgid "Controlling iframe property example:" +msgstr "Példa iframe terület vezérlésére:" +msgid "" +"<a href="http://www.google.com" " +"rel="lightframe[|width:400px; height:300px; scrolling: " +"auto;][caption]">Search google</a>" +msgstr "" +"<a href="http://www.google.com" " +"rel="lightframe[|width:400px; height:300px; scrolling: " +"auto;][caption]">Keresés a Google-lel</a>" +msgid "Controlling iframe property when grouped example:" +msgstr "Példa csoportosított iframe terület vezérlésére:" +msgid "" +"<a href="http://www.google.com" " +"rel="lightframe[search|width:400px; height:300px; scrolling: " +"auto;]">Search google</a>
<a " +"href="http://www.yahoo.com" " +"rel="lightframe[search|width:400px; " +"height:300px;]">Search yahoo</a>
" +msgstr "" +"<a href="http://www.google.com" " +"rel="lightframe[search|width:400px; height:300px; scrolling: " +"auto;]">Keresés a Google-lel</a>
<a " +"href="http://www.yahoo.com" " +"rel="lightframe[search|width:400px; " +"height:300px;]">Keresés a Yahoo-val</a>
" +msgid "" +"Links to video content with 'rel=\"lightvideo\"' in the <a> tag " +"will appear in a Lightbox when clicked on." +msgstr "" +"A videó tartalomra mutató, az <a> címkében " +"„rel=\"lightvideo\"”-val rendelkező hivatkozások kattintáskor " +"egy ablakban jelennek meg." +msgid "" +"It's possible to show video content in the lightbox. In this case the " +"\"rel\" attribute should be set to lightvideo. It's " +"possible to group videos and to control the size of the lightbox by " +"setting the \"width\" and \"height\" properties. The properties can " +"be configured like lightvideo[group|width:300px; height: " +"200px;][caption]. The properties should all be of the format " +"\"property: value;\" - note the closing semi-colon. If no properties " +"are set, then the default width and height of 400px will be used. See " +"below for more detailed examples." +msgstr "" +"Lightboxban lehetséges videókat is megjeleníteni. Ebben az esetben " +"a hivatkozások \"rel\" tulajdonságát lightvideo-ra " +"kell állítani. Lehetőség van a videók csoportosítására és a " +"lightbox méretének vezérlésére a a „width” és a " +"„height” tulajdonságok beállításával. A " +"tulajdonságok így konfigurálhatóak: lightvideo[|width:300px; " +"height: 200px;][képaláírás]. A tulajdonságokat " +"„tulajdonság: érték;” formában kell megadni – figyelni " +"kell a záró pontosvesszőre. Ha nincsenek beállított " +"tulajdonságok, az alapértelmezett szélesség és magasság lesz " +"használva, ami 400px. Lejjebb további, részletesebb példák " +"találhatóak." +msgid "" +"<a " +"href="http://video.google.com/videoplay?docid=1811233136844420765" " +"rel="lightvideo">Google video example - default " +"size</a>" +msgstr "" +"<a " +"href="http://video.google.com/videoplay?docid=1811233136844420765" " +"rel="lightvideo">Google video példa - alapértelmezett " +"méret</a>" +msgid "Controlling lightbox size example:" +msgstr "Példa lightbox méretének vezérlésére:" +msgid "" +"<a " +"href="http://video.google.com/videoplay?docid=1811233136844420765" " +"rel="lightvideo[group|width:400px; " +"height:300px;][caption]">Google video example - custom " +"size</a>" +msgstr "" +"<a " +"href="http://video.google.com/videoplay?docid=1811233136844420765" " +"rel="lightvideo[group|width:400px; " +"height:300px;][caption]">Google video példa - egyedi " +"méret</a>" +msgid "" +"Supported video formats include asx, wmv, mov and swf. A number of " +"online video providers are also supported, including YouTube and " +"Google Video. For a full list of the current supported video " +"providers please see the documentation on drupal.org." +msgstr "" +"A támogatott videó formátumokba beletartozik az asx, a wmv, amov " +"és az swf. Több videószolgáltató is támogatott, mint a YouTube " +"és a Google Video. A jelenleg támogatott videószolgáltatók teljes " +"listája megtalálható a drupal.org-on található dokumentációban." +msgid "" +"Links to inline or modal content with 'rel=\"lightmodal\"' in the " +"<a> tag will appear in a Lightbox when clicked on." +msgstr "" +"A <a> címkében „rel=\"lightmodal\"”-t tartalmazó " +"beileszett vagy szöveges tartalmak kattintáskor egy ablakban fognak " +"megjelenni." +msgid "" +"It's possible to show HTML snippets in the lightbox, that is on the " +"same domain. In this case the \"rel\" attribute should be set to " +"\"lightmodal\". Again it's possible to group the content, (e.g. " +"lightmodal[group][caption]) but in addition to that, it's " +"possible to control some of the modal properties. It's possible to " +"set the \"width\", \"height\" and \"scrolling\" properties of the " +"modal. The properties are separated from the group name by a " +"|, for example " +"lightmodal[group|width:100px;][caption]. If no grouping " +"is being used, then the | is still used and the format " +"would be lightmodal[|width:100px;]. The properties " +"should all be of the format \"property: value;\" - note the closing " +"semi-colon. If no modal properties are set, then the default width " +"and height of 400px will be used. See below for more detailed " +"examples." +msgstr "" +"Lehetséges HTML kódrészleteket megjeleníteni a lightboxban. Ebben " +"az esetben a „rel” tulajdonságot „lightmodal”-ra kell " +"állítani. Itt is lehet csoportosítani a tartalmat, (például " +"lightmodal[csoport][képaláírás]) de emellett " +"lehetséges néhány szöveges tulajdonság vezérlése is. Be lehet " +"állítani a szöveges tartalom „width”, „height” és " +"„scrolling” tulajdonságait. A tulajdonságokat a csoportnévtől " +"egy | jellel kell elválasztani, például " +"lightmodal[csoport|width:100px;][képaláírás]. Ha " +"nincs csoportosítás a | jelet akkor is használni kell " +"lightmodal[|width:100px;] formátumban. A " +"tulajdonságokat „tulajdonság: érték;” formában kell megadni " +"és figyelni kell a záró pontosvesszőre. Ha nincs beállított " +"szöveges tulajdonság, az alapértelmezett szélesség és magasság " +"lesz használva, ami 400px. Lentebb részletesebb példák " +"láthatóak." +msgid "" +"<a href="search.php" " +"rel="lightmodal">Search</a>" +msgstr "" +"<a href="search.php" " +"rel="lightmodal">Keresés</a>" +msgid "" +"<a href="search.php" " +"rel="lightmodal[search][caption 1]">Search</a>
<a href="search.php?status=1" " +"rel="lightmodal[search]">Search " +"published</a>
" +msgstr "" +"<a href="search.php" " +"rel="lightmodal[search][caption 1]">Search</a>
<a href="search.php?status=1" " +"rel="lightmodal[search]">Keresés a közzétettek " +"között</a>
" +msgid "Controlling modal property example:" +msgstr "Példa szöveges terület vezérlésére:" +msgid "" +"<a href="search.php" " +"rel="lightmodal[|width:400px; height:300px; scrolling: " +"auto;][caption]">Search</a>" +msgstr "" +"<a href="search.php" " +"rel="lightmodal[|width:400px; height:300px; scrolling: " +"auto;][caption]">Keresés</a>" +msgid "Controlling modal property when grouped example:" +msgstr "Példa csoportosított szöveges terület vezérlésére:" +msgid "" +"<a href="search.php" " +"rel="lightmodal[search|width:400px; height:300px; scrolling: " +"auto;]">Search</a>
<a " +"href="search.php?status=1" " +"rel="lightmodal[search|width:400px; " +"height:300px;]">Search published</a>
" +msgstr "" +"<a href="search.php" " +"rel="lightmodal[search|width:400px; height:300px; scrolling: " +"auto;]">Search</a>
<a " +"href="search.php?status=1" " +"rel="lightmodal[search|width:400px; " +"height:300px;]">Keresés a közzétettek " +"között</a>
" +msgid "Lightbox G2 filter" +msgstr "Lightbox G2 szűrő" +msgid "Lightbox slideshow filter" +msgstr "Lightbox diavetítés szűrő" +msgid "Lightbox iframe filter" +msgstr "Lightbox iframe szűrő" +msgid "Lightbox video filter" +msgstr "Lightbox videó szűrő" +msgid "Lightbox modal filter" +msgstr "Lightbox szöveges szűrő" +msgid "Disable Lightbox iframe filter" +msgstr "Lightbox iframe szűrő tiltása" +msgid "Turns g2_filter links into Lightbox2 appropriate links" +msgstr "" +"g2_filter hivatkozások a Lightbox2-nek megfelelő hivatkozásokká " +"alakítása" +msgid "" +"It's possible to show webpage content in the lightbox, using iframes. " +"In this case the \"rel\" attribute should be set to \"lightframe\". " +"However, users can do this without any filters to be enabled. To " +"prevent users from adding iframes to the site in this manner, then " +"please enable this option." +msgstr "" +"Iframe használatával lehetséges weboldalak tartalamát " +"megjeleníteni egy lightboxban. Ebben az esetben a „rel” " +"tulajdonságot „lightframe”-re kell állítani. A felhasználók " +"ezt bármilyen szűrő engedélyezése nélkül megtehetik. " +"Engedélyezni kell ezt a beállítást annak elkerüléséhez, hogy a " +"felhasználók ilyen módon iframeket adhassanak az oldalhoz." +msgid "Lightbox2: Image Thumbnail -> Original" +msgstr "Lightbox2: Bélyegkép -> Eredeti" +msgid "Lightbox2 slideshow: Image Thumbnail -> Original" +msgstr "Lightbox2 diavetítés: Bélyegkép -> Eredeti" +msgid "Lightbox2 iframe: Image Thumbnail -> Content" +msgstr "Lightbox2 iframe: Bélyegkép -> Tartalom" +msgid "Lightbox2: Image Thumbnail -> Full Size Video" +msgstr "Lightbox2: Bélyegkép -> Teljes méretű videó" +msgid "Lightbox2 iframe" +msgstr "Lightbox2 iframe" +msgid "Displays all kinds of files in a popup lightbox in an iframe." +msgstr "" +"Bármilyen típusú fájl egy iframeben felugró lightboxban " +"történő megjelenítése." +msgid "Lightbox2 image" +msgstr "Lightbox2 kép" +msgid "Displays image files in a popup lightbox." +msgstr "Képfájlok megjelenítése egy felugró ablakban." +msgid "download original image" +msgstr "eredeti kép letöltése" +msgid "Allows the user to configure the lightbox2 slideshow functionality" +msgstr "" +"Lehetővé teszi a felhasználó számára a lightbox2 diavetitő " +"lehetőségének beállítását" +msgid "HTML Content" +msgstr "HTML tartalom" +msgid "Allows the user to configure the lightbox2 HTML content functionality." +msgstr "" +"Lehetővé teszi a felhasználó számára a lightbox2 HTML tartalom " +"lehetőségének beállítását." +msgid "Automatic image handling" +msgstr "Automatikus képkezelés" +msgid "" +"Allows the user to configure the lightbox2 automatic image handling " +"settings" +msgstr "" +"Lehetővé teszi a felhasználó számára a lightbox2 automatikus " +"képkezelő beállításainak konfigurálását" diff --git a/sites/all/modules/lightbox2/translations/ja.po b/sites/all/modules/lightbox2/translations/ja.po new file mode 100644 index 0000000..b5f9b4d --- /dev/null +++ b/sites/all/modules/lightbox2/translations/ja.po @@ -0,0 +1,1370 @@ +# $Id: ja.po,v 1.1.2.3 2009/10/02 03:43:11 pineray Exp $ +# ----------------------------------------------------------------------------- +# Japanese translation of Drupal (modules-lightbox2) +# +# Copyright (c) 2006-2008 Drupal Japan ( http://drupal.jp/ ) / +# Takafumi ( jp.drupal@imagine **reverse order**) +# PineRay ( com.gmail@matsudaterutaka **reverse order**) +# +# Generated from file: +# lightbox2.module,v 1.16.2.16.2.154 2009/09/13 23:34:49 snpower +# lightbox2.info,v 1.1.6.4 2008/07/14 11:51:34 snpower +# +# ----------------------------------------------------------------------------- +msgid "" +msgstr "" +"POT-Creation-Date: 2008-04-05 14:45+0900\n" +"Last-Translator: Takafumi \n" +"Language-Team: Drupal Japan\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=2; plural=(n!=1);\n" + +#: lightbox2.admin.inc:26 +msgid "View Image Details" +msgstr "イメージの詳細を表示" + +#: lightbox2.admin.inc:26 +msgid "Image !current of !total" +msgstr "イメージ !current / !total" + +#: lightbox2.admin.inc:26 +msgid "Page !current of !total" +msgstr "ページ !current / !total" + +#: lightbox2.admin.inc:26 +msgid "Video !current of !total" +msgstr "ビデオ !current / !total" + +#: lightbox2.admin.inc:26 +msgid "Download Original" +msgstr "オリジナルのダウンロード" + +#: lightbox2.admin.inc:32 +msgid "Layout settings" +msgstr "レイアウトの設定" + +#: lightbox2.admin.inc:42 +msgid "Lightbox2 lite" +msgstr "" + +#: lightbox2.admin.inc:50 +msgid "Use lightbox2 lite" +msgstr "lightbox2 lite を使用" + +#: lightbox2.admin.inc:51 +msgid "Checking this box will enable Lightbox2 Lite and will disable all of the automatic image URL re-formatting features. It also disables all grouping features." +msgstr "このチェックボックスにチェックを入れると、Lightbox2 Liteが有効となり、画像のフォーマットを自動的に変更する機能がすべて無効となります。また、グループ化の機能も無効となります。" + +#: lightbox2.admin.inc:59 +msgid "Use alternative layout" +msgstr "代替レイアウトを使用" + +#: lightbox2.admin.inc:60 +msgid "Enabling this option alters the layout of the lightbox elements. In the alternative layout the navigational links appear under the image with the caption text, instead of being overlayed on the image itself. This doesn't apply when using Lightbox Lite." +msgstr "このオプションを有効にすると、lightboxエレメントのレイアウトが変わります。代替レイアウトでは、ナビゲーションリンクが画像にかぶさる形ではなく、画像とキャプションの下に表示されます。Lightbox Liteを使用している場合は影響がありません。" + +#: lightbox2.admin.inc:67 +msgid "Force visibility of navigation links" +msgstr "強制的にナビゲーションリンクを表示" + +#: lightbox2.admin.inc:68 +msgid "When viewing grouped images, the navigational links to the next and previous images are only displayed when you hover over the image. Checking this box forces these links to be displayed all the time." +msgstr "グループ化された画像を表示する際、常にナビゲーションリンクを表示するかどうかを指定してください。 ここにチェックを入れると、通常は画像にマウスカーソルを重ねた際にのみ表示される前後へのリンクを、強制的に表示します。" + +#: lightbox2.admin.inc:75 +msgid "Continuous galleries" +msgstr "連続したギャラリー" + +#: lightbox2.admin.inc:76 +msgid "When viewing grouped images, the Next button on the last image will display the first image, while the Previous button on the first image will display the last image." +msgstr "グループ化された画像を表示しているとき、最後の画像の次へボタンを押すと最初の画像が表示され、最初の画像の前へボタンを押すと最後の画像が表示されます。" + +#: lightbox2.admin.inc:83 +msgid "Open image page in new window" +msgstr "イメージページを新しいウィンドウで開く" + +#: lightbox2.admin.inc:84 +msgid "This controls whether the link to the image page underneath the image is opened in a new window or the current window." +msgstr "イメージページを新しいウィンドウで開くかどうかを指定してください。 チェックを入れない場合、イメージページは現在のページで開かれます。" + +#: lightbox2.admin.inc:92 +msgid "Text for image page link" +msgstr "イメージページへのリンクの文字列" + +#: lightbox2.admin.inc:93 +msgid "This is the text that will appear as the link to the image page underneath the image in the lightbox. Leave this blank for the link not to appear." +msgstr "lightboxで画像の下に表示されるイメージページへのリンクの文字列です。空欄にすると、リンクが表示されません。" + +#: lightbox2.admin.inc:100 +msgid "Text for image original link" +msgstr "オリジナルの画像へのリンクの文字列" + +#: lightbox2.admin.inc:101 +msgid "This is the text that will appear as the link to the original file underneath the image in the lightbox. Leave this blank for the link not to appear. It will only appear for images uploaded via the \"image\" or \"imagefield\" modules. Users will need the \"download original image\" permission, but also the \"view original images\" permission if using the \"image\" module." +msgstr "lightboxで画像の下に表示されるオリジナルの画像へのリンクの文字列です。空欄にすると、リンクが表示されません。「image」または「imagefield」モジュールによってアップロードされた画像にのみ表示されます。ユーザーには「オリジナルの画像をダウンロード」権限が必要で、「image」モジュールを使用している場合には「オリジナルの画像を表示」権限も必要となります。" + +#: lightbox2.admin.inc:109 +msgid "Image count text" +msgstr "画像のカウントテキスト" + +#: lightbox2.admin.inc:110 +msgid "This text is used to display the image count underneath the image in the lightbox when image grouping is enabled. Use !current as a placeholder for the number of the current image and !total for the total number of images in the group. For example, \"Image !current of !total\". Leave blank for text not to appear." +msgstr "画像のグループ化が有効である場合に、lightboxの画像の下にあるカウントでこのテキストを使用します。現在の画像の番号を表すプレースホルダーとして !current を使用し、グループにある画像の総数を表すのに !total を使用します。例) 「イメージ !current / !total」。空欄にすると文字列が非表示となります。" + +#: lightbox2.admin.inc:117 +msgid "Page count text" +msgstr "ページのカウントテキスト" + +#: lightbox2.admin.inc:118 +msgid "This text is used to display the page count underneath HTML content displayed in the lightbox when using groups. Use !current as a placeholder for the number of the current page and !total for the total number of pages in the group. For example, \"Page !current of !total\". Leave blank for text not to appear." +msgstr "グループ化している場合に、lightboxのHTMLコンテンツの下にあるページカウントでこのテキストを使用します。現在のページの番号を表すプレースホルダーとして !current を使用し、グループにあるページの総数を表すのに !total を使用します。例) 「ページ !current / !total」。空欄にすると文字列が非表示となります。" + +#: lightbox2.admin.inc:125 +msgid "Video count text" +msgstr "ビデオのカウントテキスト" + +#: lightbox2.admin.inc:126 +msgid "This text is used to display the count underneath video content displayed in the lightbox when using groups. Use !current as a placeholder for the number of the current video and !total for the total number of videos in the group. For example, \"Video !current of !total\". Leave blank for text not to appear." +msgstr "グループ化している場合に、lightboxのビデオの下にあるカウントでこのテキストを使用します。現在のビデオの番号を表すプレースホルダーとして !current を使用し、グループにあるビデオの総数を表すのに !total を使用します。例) 「ビデオ !current / !total」。空欄にすると文字列が非表示となります。" + +#: lightbox2.admin.inc:134 +msgid "Image resize settings" +msgstr "画像リサイズの設定" + +#: lightbox2.admin.inc:142 +msgid "Disable resizing feature" +msgstr "リサイズ機能を無効化" + +#: lightbox2.admin.inc:143 +msgid "By default, when the image being displayed in the lightbox is larger than the browser window, it is resized to fit within the window and a zoom button is provided for users who wish to view the image in its original size. Checking this box will disable this feature and all images will be displayed without any resizing." +msgstr "ズーム機能を無効にするかどうかを指定してください。 デフォルトでは、ブラウザウィンドウより大きなイメージがlightboxで表示される際、ウィンドウに収まるようにリサイズされ、オリジナルイメージが表示できるズームボタンが提供されます。 ここにチェックを入れると、この機能が無効となり、すべてのイメージはリサイズされずに表示されます。" + +#: lightbox2.admin.inc:150 +msgid "Disable zoom in / out feature" +msgstr "ズームイン / アウト機能を無効化" + +#: lightbox2.admin.inc:151 +msgid "When the image being displayed in the lightbox is resized to fit in the browser window, a \"zoom in\" button is shown. This allows the user to zoom in to see the original full size image. They will then see a \"zoom out\" button which will allow them to see the smaller resized version. Checking this box will prevent these buttons from appearing." +msgstr "lightboxに表示される画像がブラウザーウィンドウに合わせてリサイズされるとき、「ズームイン」ボタンが表示されます。このボタンを押すと、オリジナルイメージがフルサイズで表示されます。その際、リサイズされた小さなバージョンを表示するための「ズームアウト」ボタンが表示されます。このチェックボックスが有効であれば、これらのボタンが表示されなくなります。" + +#: lightbox2.admin.inc:159 +msgid "Modal form settings" +msgstr "モーダルフォームの設定" + +#: lightbox2.admin.inc:167 +msgid "Enable login support" +msgstr "ログインのサポートを有効化" + +#: lightbox2.admin.inc:168 +msgid "Enabling this option will modify all login links so that the login form appears in a lightbox." +msgstr "このオプションを有効にすると、すべてのログインリンクが変更され、ログインフォームがlightboxで表示されるようになります。" + +#: lightbox2.admin.inc:175 +msgid "Enable contact form support" +msgstr "コンタクトフォームのサポートを有効化" + +#: lightbox2.admin.inc:176 +msgid "Enabling this option will modify all contact links so that the contact form appears in a lightbox." +msgstr "このオプションを有効にすると、すべてのコンタクトリンクが変更され、コンタクトフォームがlightboxで表示されるようになります。" + +#: lightbox2.admin.inc:184 +msgid "Video settings" +msgstr "ビデオの設定" + +#: lightbox2.admin.inc:192 +msgid "Enable video support" +msgstr "ビデオのサポートを有効化" + +#: lightbox2.admin.inc:193 +msgid "By default, video support is disabled in order to reduce the amount of javascript needed. Checking this box will enable it." +msgstr "デフォルトでは、読み込むjavascriptの量を減らすためにビデオのサポートは無効となっています。チェックボックスにチェックを入れると有効となります。" + +#: lightbox2.admin.inc:200 +msgid "Path to FLV Player" +msgstr "FLVプレイヤーへのパス" + +#: lightbox2.admin.inc:201 +msgid "The path to the FLV player, relative to Drupal root directory." +msgstr "FLVプレイヤーへのパスを、Drupalのルートディレクトリからの相対パスで入力してください。" + +#: lightbox2.admin.inc:208 +msgid "FLV Player flashvars" +msgstr "FLVプレイヤーへ渡すFlashVars" + +#: lightbox2.admin.inc:209 +msgid "Flashvars for the FLV Player where supported, e.g. \"autoplay=1&playerMode=normal\"." +msgstr "FLVプレイヤーへ渡すFlashVarsを入力してください。例) \"autoplay=1&playerMode=normal\"" + +#: lightbox2.admin.inc:216 +msgid "Page specific lightbox2 settings" +msgstr "ページ指定の設定" + +#: lightbox2.admin.inc:223 +msgid "Load only on the listed pages." +msgstr "リストに記載したページでのみ読み込む" + +#: lightbox2.admin.inc:224 +msgid "Load on every page except the listed pages." +msgstr "リストに記載したページ以外のすべてのページで読み込む" + +#: lightbox2.admin.inc:229 +msgid "Enable lightbox2 on specific pages" +msgstr "指定のページでlightbox2を有効化" + +#: lightbox2.admin.inc:235 +msgid "Pages" +msgstr "ページ" + +#: lightbox2.admin.inc:236 +msgid "List one page per line as Drupal paths. The * character is a wildcard. Example paths are \"node/add/page\" and \"node/add/*\". Use <front> to match the front page." +msgstr "1行に1ページとして、Drupalパスを入力してください。 * はワイルドカードとして使えます。例えば「node/add/page」や「node/add/*」と入力してください。また、フロントページを指定するには <front> と入力してください。" + +#: lightbox2.admin.inc:245 +msgid "CCK display settings" +msgstr "CCKの表示設定" + +#: lightbox2.admin.inc:251 +msgid "No grouping" +msgstr "グループ化なし" + +#: lightbox2.admin.inc:252 +msgid "Group by field name" +msgstr "フィールド名でグループ化" + +#: lightbox2.admin.inc:253 +msgid "Group by node id" +msgstr "ノードIDでグループ化" + +#: lightbox2.admin.inc:254 +msgid "Group by field name and node id" +msgstr "フィールド名とノードIDでグループ化" + +#: lightbox2.admin.inc:261 +msgid "Select Emfield Image grouping in Views" +msgstr "Viewsでグループ化するEmfield Imageを選択" + +#: lightbox2.admin.inc:262 +msgid "By default, emfield images in views are grouped by the field name they appear in the view in. You can override that grouping here." +msgstr "デフォルトでは、ビューに表示されるフィールド名でemfieldイメージはグループ化されます。ここでグループ分けを変更することができます。" + +#: lightbox2.admin.inc:272 +msgid "Select Imagefield grouping in Views" +msgstr "Viewsでグループ化するImagefieldを選択" + +#: lightbox2.admin.inc:273 +msgid "By default, imagefields in views are grouped by the field name they appear in the view in. You can override that grouping here." +msgstr "デフォルトでは、ビューに表示されるフィールド名でimagefieldはグループ化されています。ここでグループ分けを変更することができます。" + +#: lightbox2.admin.inc:279 +msgid "Use node title as caption" +msgstr "ノードのタイトルをキャプションとして使用" + +#: lightbox2.admin.inc:280 +msgid "By default, the caption for imagefields is the image title text configured. If no title is configured, then the alt text will be used. This option allows you to override that and always display the node title as the image caption." +msgstr "デフォルトでは、imagefieldのキャプションは画像のタイトルテキストで、タイトルが設定されていない場合にはaltテキストが用いられます。このオプションによって、その動作を上書きし、ノードのタイトルを画像のキャプションとして常に表示することができます。" + +#: lightbox2.admin.inc:291 +msgid "Advanced settings" +msgstr "拡張設定" + +#: lightbox2.admin.inc:301 +msgid "Location of javscript" +msgstr "javascriptの位置" + +#: lightbox2.admin.inc:302 +msgid "Header" +msgstr "ヘッダ" + +#: lightbox2.admin.inc:302 +msgid "Footer" +msgstr "フッタ" + +#: lightbox2.admin.inc:303 +msgid "By default, the lightbox javascript files are loaded in the HTML header. However, for sites using SWFObject to load their Flash content, the footer setting is recommended to prevent \"Operation Aborted\" errors in IE. If using the footer setting, please note that not all themes correctly implement the footer region and may require a small change." +msgstr "HTML内でjavascriptが読み込まれる位置を指定してください。 デフォルトでは、lightboxのjavascriptファイルはHTMLヘッダで読み込まれます。 しかし、Flashコンテンツを読み込むためにサイトで SWFObject を使用している場合、IEの \"Operation Aborted\" エラーを防ぐためにフッタに設定することを推奨します。 フッタに設定する場合、すべてのテーマがフッタ領域を正しく実装しているとは限らず、若干の変更が必要になるかもしれないことに注意してください。" + +#: lightbox2.admin.inc:309 +msgid "Click on overlay or lightbox to close it" +msgstr "オーバーレイまたはlightboxをクリックして閉じる" + +#: lightbox2.admin.inc:310 +msgid "Enable user to close lightbox by clicking on the lightbox itself or the overlay background." +msgstr "lightboxそのものやオーバーレイの背景をクリックしてlightboxを閉じることができるようになります。" + +#: lightbox2.admin.inc:318 +msgid "Keyboard shortcuts" +msgstr "キーボードショートカット" + +#: lightbox2.admin.inc:319 +msgid "Configure the keyboard shortcuts for controlling the lightbox. These options do not apply to the Lightbox2 Lite version, which uses the default \"Close keys\" (c, x and esc) to close the lightbox." +msgstr "lightboxを操作するキーボードショートカットを設定します。Lightbox2 Lite はこれらのオプションに影響されず、lightboxを閉じるデフォルトの「閉じるキー」 (c、x、esc) だけが使用できます。" + +#: lightbox2.admin.inc:326 +msgid "Close keys" +msgstr "閉じる キー" + +#: lightbox2.admin.inc:327 +msgid "A list of keys (or key codes) that a user may use to close the lightbox. Values should be separated by a space. Defaults to 'c x 27' (c, x, or esc)." +msgstr "lightboxを閉じるキー (またはキーコード) の一覧。各キーは半角スペースで区切ってください。デフォルトは「c x 27」 (c、x、または esc) です。" + +#: lightbox2.admin.inc:333 +msgid "Previous keys" +msgstr "前へ キー" + +#: lightbox2.admin.inc:334 +msgid "A list of keys (or key codes) that a user may use to navigate to the previous item in the lightbox. Values should be separated by a space. Defaults to 'p 37' (p or left arrow)." +msgstr "lightboxの前のアイテムへ移動するキー (またはキーコード) の一覧。各キーは半角スペースで区切ってください。デフォルトは「p 37」 (p、または左) です。" + +#: lightbox2.admin.inc:340 +msgid "Next keys" +msgstr "次へ キー" + +#: lightbox2.admin.inc:341 +msgid "A list of keys (or key codes) that a user may use to navigate to the next item in the lightbox. Values should be separated by a space. Defaults to 'n 39' (n or right arrow)." +msgstr "lightboxの次のアイテムへ移動するキー (またはキーコード) の一覧。各キーは半角スペースで区切ってください。デフォルトは「n 39」 (n、または右) です。" + +#: lightbox2.admin.inc:347 +msgid "Zoom keys" +msgstr "ズーム キー" + +#: lightbox2.admin.inc:348 +msgid "A list of keys (or key codes) that a user may use to zoom in / out of images in the lightbox. Values should be separated by a space. Defaults to 'z'." +msgstr "lightboxで表示されている画像をズームイン / アウトするキー (またはキーコード) の一覧。各キーは半角スペースで区切ってください。デフォルトは「z」です。" + +#: lightbox2.admin.inc:354 +msgid "Pause / play keys" +msgstr "停止 / 再生 キー" + +#: lightbox2.admin.inc:355 +msgid "A list of keys (or key codes) that a user may use to pause / play the lightbox. Values should be separated by a space. Defaults to '32' (spacebar)." +msgstr "lightboxを停止 / 再生するキー (またはキーコード) の一覧。各キーは半角スペースで区切ってください。デフォルトは「32」 (スペースバー) です。" + +#: lightbox2.admin.inc:366 +msgid "Skin settings" +msgstr "スキンの設定" + +#: lightbox2.admin.inc:373 +msgid "Border size" +msgstr "線の太さ" + +#: lightbox2.admin.inc:376 +msgid "Enter the size of the border in pixels to display around the image." +msgstr "画像の周りに表示する線の太さをピクセル単位で入力してください。" + +#: lightbox2.admin.inc:382 +msgid "Lightbox color" +msgstr "Lightboxのカラー" + +#: lightbox2.admin.inc:386 +msgid "Enter a hexadecimal color value for the border. For example fff or ffffff for white)." +msgstr "線の色を16進数で入力してください。例) 白なら fff または ffffff" + +#: lightbox2.admin.inc:392 +msgid "Font color" +msgstr "フォントのカラー" + +#: lightbox2.admin.inc:396 +msgid "Enter a hexadecimal color value for the font. For example 000 or 000000 for black)." +msgstr "フォントの色を16進数で入力してください。例) 黒なら 000 または 000000" + +#: lightbox2.admin.inc:402 +msgid "Distance from top" +msgstr "トップからの距離" + +#: lightbox2.admin.inc:405 +msgid "Enter the position of the top of the lightbox in pixels. Leave blank for automatic calculation." +msgstr "lightboxのトップの位置をピクセルで入力します。自動的に計算する場合は空欄にします。" + +#: lightbox2.admin.inc:415 +msgid "Overlay settings" +msgstr "オーバーレイの設定" + +#: lightbox2.admin.inc:426 +msgid "Overlay opacity" +msgstr "オーバーレイの透明度" + +#: lightbox2.admin.inc:428 +msgid "The overlay opacity setting determines how visible the background page is behind the lightbox. The opacity value can range from 0.0 to 1.0 where 0.0 is 100% transparent and 1.0 is 100% opaque." +msgstr "オーバーレイの透明度の設定によって、lightboxの背景ページがどれくらい見えるのか決定されます。透明度は 0.0 から 1.0 までの範囲で、0.0 であれば完全に透明となり、1.0 であれば完全に不透明となります。" + +#: lightbox2.admin.inc:434 +msgid "Overlay color" +msgstr "オーバーレイのカラー" + +#: lightbox2.admin.inc:438 +msgid "Enter a hexadecimal color value for the overlay. For example 000 or 000000 for black)." +msgstr "オーバーレイの色を16進数で入力してください。例) 黒なら 000 または 000000" + +#: lightbox2.admin.inc:447 +msgid "Animation settings" +msgstr "アニメーションの設定" + +#: lightbox2.admin.inc:453 +msgid "These options aren't available when using Lightbox2 Lite." +msgstr "Lightbox2 Lite 使用時は、これらのオプションを利用できません。" + +#: lightbox2.admin.inc:456 +msgid "Simultaneous" +msgstr "同時" + +#: lightbox2.admin.inc:457 +msgid "Width then height" +msgstr "横幅の後に高さ" + +#: lightbox2.admin.inc:458 +msgid "Height then width" +msgstr "高さの後に横幅" + +#: lightbox2.admin.inc:462 +msgid "Resize sequence" +msgstr "リサイズの順序" + +#: lightbox2.admin.inc:464 +msgid "The sequence to use for the resizing animation." +msgstr "リサイズアニメーションで使用する順序。" + +#: lightbox2.admin.inc:469 +msgid "Resize duration" +msgstr "リサイズの時間" + +#: lightbox2.admin.inc:472 +msgid "The duration (in seconds) of the resizing animation. Enter a value between 0 and 10." +msgstr "リサイズアニメーションの時間(秒)。0 から 10 までの値を入力してください。" + +#: lightbox2.admin.inc:477 +msgid "Appearance duration" +msgstr "出現時間" + +#: lightbox2.admin.inc:480 +msgid "The duration (in seconds) of the lightbox appearance animation. Enter a value between 0 and 10." +msgstr "lightboxの出現アニメーションの時間(秒)。0 から 10 までの値を入力してください。" + +#: lightbox2.admin.inc:487 +msgid "Caption slide down duration" +msgstr "キャプションのスライドダウンの時間" + +#: lightbox2.admin.inc:490 +msgid "The duration (in seconds) of the caption sliding-down animation. Enter a value between 0 and 10." +msgstr "キャプションのスライドダウンアニメーションの時間(秒)。0 から 10 までの値を入力してください。" + +#: lightbox2.admin.inc:520 +msgid "FLV player path doesn't exist." +msgstr "FLVプレイヤーのパスが存在しません。" + +#: lightbox2.admin.inc:526;535;539 +msgid "You must enter a properly formed hex value." +msgstr "16進数の値を正しい書式で入力してください。" + +#: lightbox2.admin.inc:531 +msgid "You must enter a size greater than 0 pixels." +msgstr "サイズには0ピクセルより大きな値を入力してください。" + +#: lightbox2.admin.inc:543 +msgid "You must enter a size greater than 0 pixels. Leave blank for default positioning." +msgstr "0ピクセルより大きな値を入力してください。デフォルトのポジショニングを使用する場合は空欄にします。" + +#: lightbox2.admin.inc:547;551;555 +msgid "You must enter a duration between 0 and 10 seconds." +msgstr "0 から 10 秒までの間で時間を入力してください。" + +#: lightbox2.admin.inc:586 +msgid "Interval seconds" +msgstr "間隔" + +#: lightbox2.admin.inc:587 +msgid "The slideshow interval is the length of time in seconds an image is visible before the slideshow shows the next image." +msgstr "スライドショーの間隔は、スライドショーが次の画像を表示するまでの秒数です。" + +#: lightbox2.admin.inc:595 +msgid "Automatically start slideshow" +msgstr "スライドショーを自動的に開始" + +#: lightbox2.admin.inc:596 +msgid "When enabled the slideshow will automatically start." +msgstr "有効であれば、スライドショーが自動的に開始されます。" + +#: lightbox2.admin.inc:603 +msgid "Automatically exit slideshow" +msgstr "スライドショーを自動的に終了" + +#: lightbox2.admin.inc:604 +msgid "When enabled the lightbox will automatically close after displaying the last image." +msgstr "有効であれば、最後の画像を表示した後にlightboxが自動的に閉じます。" + +#: lightbox2.admin.inc:611 +msgid "Show play / pause button" +msgstr "再生 / 停止ボタンを表示" + +#: lightbox2.admin.inc:612 +msgid "When enabled, a play / pause button will be shown in the slideshow allowing the user more control over their viewing experience." +msgstr "有効であれば、再生 / 停止ボタンがスライドショーに表示され、表示をコントロールできるようになります。" + +#: lightbox2.admin.inc:619 +msgid "Pause slideshow on \"Next Image\" click" +msgstr "「次の画像」クリックでスライドショーを停止" + +#: lightbox2.admin.inc:620 +msgid "When enabled the slideshow is automatically paused, and the following image shown, when the \"Next\" button is clicked." +msgstr "スライドショーの自動停止が有効であれば、「次へ」ボタンをクリックすると次の画像が表示されます。" + +#: lightbox2.admin.inc:627 +msgid "Pause slideshow on \"Previous Image\" click" +msgstr "「前の画像」クリックでスライドショーを停止" + +#: lightbox2.admin.inc:628 +msgid "When enabled the slideshow is automatically paused, and the previous image shown, when the \"Previous\" button is clicked." +msgstr "スライドショーの自動停止が有効であれば、「前へ」ボタンをクリックすると前の画像が表示されます。" + +#: lightbox2.admin.inc:635 +msgid "Continuous loop" +msgstr "連続ループ" + +#: lightbox2.admin.inc:636 +msgid "When enabled the slideshow will automatically start over after displaying the last slide. This prevents the slideshow from automatically exiting when enabled." +msgstr "最後のスライドショーを表示した後で自動的にスライドショーを再スタートする場合。このオプションが有効であれば、自動的に終了しなくなります。" + +#: lightbox2.admin.inc:650 +msgid "The \"interval seconds\" value must be numeric." +msgstr "「間隔」には数字を入力してください。" + +#: lightbox2.admin.inc:672 +msgid "Default width" +msgstr "デフォルトの横幅" + +#: lightbox2.admin.inc:673 +msgid "The default width of the iframe in pixels." +msgstr "iframeのデフォルトの横幅をピクセル単位で指定してください。" + +#: lightbox2.admin.inc:681 +msgid "Default height" +msgstr "デフォルトの高さ" + +#: lightbox2.admin.inc:682 +msgid "The default height of the iframe in pixels." +msgstr "iframeのデフォルトの高さをピクセル単位で指定してください。" + +#: lightbox2.admin.inc:690 +msgid "Enable border" +msgstr "線を有効化" + +#: lightbox2.admin.inc:691 +msgid "Enable iframe border. You can modify the border style in your theme's css file using the iframe's id \"lightboxFrame\"." +msgstr "iframeの線を有効にします。テーマのCSSファイルでiframeのID「lightboxFrame」を指定して線のスタイルを変更することができます。" + +#: lightbox2.admin.inc:705 +msgid "The \"default width\" value must be numeric." +msgstr "「デフォルトの横幅」には数字を入力してください。" + +#: lightbox2.admin.inc:708 +msgid "The \"default height\" value must be numeric." +msgstr "「デフォルトの高さ」には数字を入力してください。" + +#: lightbox2.admin.inc:728 +msgid "Disabled" +msgstr "無効" + +#: lightbox2.admin.inc:729 +#: lightbox2.views.inc:14;21 +msgid "Lightbox" +msgstr "" + +#: lightbox2.admin.inc:730 +msgid "Lightbox grouped" +msgstr "グループ化されたLightbox" + +#: lightbox2.admin.inc:731 +#: lightbox2.module:72;176 +msgid "Slideshow" +msgstr "スライドショー" + +#: lightbox2.admin.inc:732 +msgid "HTML content" +msgstr "HTMLコンテンツ" + +#: lightbox2.admin.inc:733 +msgid "HTML content grouped" +msgstr "グループ化されたHTMLコンテンツ" + +#: lightbox2.admin.inc:738 +msgid "These options allow automatic URL re-formatting of images. This removes the need for you to add 'rel=\"lightbox\"' to each image link throughout your site. You can select which image sizes will trigger the lightbox and configure a list of image CSS classes which should also have their URLs automatically re-formatted. This feature is not available when using Lightbox2 Lite." +msgstr "これらのオプションで、画像のURLを自動変換することができます。サイト全体の画像リンクすべてに「rel=\"lightbox\"」と追加する必要がなくなります。どの画像サイズでlightboxが起動するか選択でき、自動変換するURLに含ませるCSSクラスのリストを設定することができます。Lightbox2 Liteを使用している場合は、この機能を利用できません。" + +#: lightbox2.admin.inc:745 +msgid "Automatic handlers" +msgstr "自動ハンドラー" + +#: lightbox2.admin.inc:754 +msgid "Image node settings" +msgstr "Imageノードの設定" + +#: lightbox2.admin.inc:762 +msgid "Automatic handler for image nodes" +msgstr "Imageノードに適用する自動ハンドラー" + +#: lightbox2.admin.inc:764 +msgid "Choose how URLs for image nodes will be automatically handled." +msgstr "ImageノードのURLへ自動で追加するハンドラーを選択してください。" + +#: lightbox2.admin.inc:779 +msgid "Lightbox image display size" +msgstr "Lightboxイメージの表示サイズ" + +#: lightbox2.admin.inc:782 +msgid "Select which image size will be loaded in the lightbox. This only applies to images uploaded with the Image module." +msgstr "lightboxに読み込まれるイメージサイズを指定してください。 これはImageモジュールでアップロードされたイメージにのみ適用されます。" + +#: lightbox2.admin.inc:788 +msgid "Image trigger size" +msgstr "イメージのトリガサイズ" + +#: lightbox2.admin.inc:791 +msgid "Select which image size, when clicked on, will automatically trigger the lightbox. This only applies to images uploaded with the Image module." +msgstr "クリックしたときにlightboxのトリガとなる、イメージサイズを指定してください。 これはImageモジュールでアップロードされたイメージにのみ適用されます。" + +#: lightbox2.admin.inc:799 +msgid "Disable lightbox for gallery lists" +msgstr "ギャラリーリストでlightboxを無効化" + +#: lightbox2.admin.inc:800 +msgid "Checking this box will disable the lightbox for images in gallery lists. This means it is possible to open a gallery by clicking on the teaser image, but the lightbox will still appear when viewing images within the gallery. This only applies to image galleries created with the \"image gallery\" module." +msgstr "ギャラリーリストのイメージでlightboxを無効にするかどうかを指定してください。 ここにチェックを入れると無効となり、ティーザーのイメージをクリックしてギャラリーを開くことが可能になります。 ただし、ギャラリー内のイメージを表示する際にはlightboxが現れます。 これはimage galleryモジュールで作られたイメージギャラリーにのみ適用されます。" + +#: lightbox2.admin.inc:808 +msgid "Flickr images" +msgstr "Flickrイメージ" + +#: lightbox2.admin.inc:815 +msgid "Automatic handler for Flickr images" +msgstr "Flickrイメージに適用する自動ハンドラー" + +#: lightbox2.admin.inc:817 +msgid "Choose how URLs for Flickr images will be automatically handled." +msgstr "FlickrイメージのURLへ自動で追加するハンドラーを選択してください。" + +#: lightbox2.admin.inc:825 +msgid "Gallery2 images" +msgstr "Galley2イメージ" + +#: lightbox2.admin.inc:832 +msgid "Automatic handler for Gallery2 block images" +msgstr "Gallery2ブロックのイメージに適用する自動ハンドラー" + +#: lightbox2.admin.inc:834 +msgid "Choose how URLs for images, contained within Gallery2 image blocks, will be automatically handled." +msgstr "Gallery2イメージブロックに含まれるイメージのURLへ自動で追加するハンドラーを選択してください。" + +#: lightbox2.admin.inc:842 +msgid "Inline images" +msgstr "Inlineイメージ" + +#: lightbox2.admin.inc:849 +msgid "Automatic handler for Inline images" +msgstr "Inlineイメージに適用する自動ハンドラー" + +#: lightbox2.admin.inc:851 +msgid "Choose how URLs for Inline images will be automatically handled." +msgstr "InlineイメージのURLへ自動で追加するハンドラーを選択してください。" + +#: lightbox2.admin.inc:859 +msgid "Image Assist images" +msgstr "Image Assistイメージ" + +#: lightbox2.admin.inc:866 +msgid "Automatic handler for Image Assist custom size images" +msgstr "Image Assistのカスタムサイズイメージに適用する自動ハンドラー" + +#: lightbox2.admin.inc:868 +msgid "Choose how URLs for custom size images, displayed by the Image Assist module, will be automatically handled." +msgstr "Image Assistモジュールによって表示されるカスタムサイズイメージのURLに自動で追加するハンドラーを選択してください。" + +#: lightbox2.admin.inc:876 +msgid "Custom class images" +msgstr "カスタムクラスのイメージ" + +#: lightbox2.admin.inc:883 +msgid "Automatic handler for custom class images" +msgstr "カスタムクラスのイメージに適用する自動ハンドラー" + +#: lightbox2.admin.inc:885 +msgid "Choose how URLs for custom class images will be automatically handled." +msgstr "カスタムクラスのイメージに自動で追加するハンドラーを選択してください。" + +#: lightbox2.admin.inc:891 +msgid "Custom image trigger classes" +msgstr "カスタムイメージトリガclass" + +#: lightbox2.admin.inc:892 +msgid "List the image classes which should trigger the lightbox when clicked on. Put each class on a separate line." +msgstr "クリックした際にlightboxのトリガとするべき、イメージクラスのリストを行単位で入力してください。" + +#: lightbox2.admin.inc:902 +msgid "Acidfree settings" +msgstr "Acidfreeの設定" + +#: lightbox2.admin.inc:908 +msgid "Disable lightbox for Acidfree gallery lists" +msgstr "Acidfreeギャラリーリストでlightboxを無効化" + +#: lightbox2.admin.inc:909 +msgid "Checking this box will disable the lightbox for images in gallery lists. This means it is possible to open a gallery by clicking on the teaser image, but the lightbox will still appear when viewing images within the gallery. This only applies to image galleries created with the \"acidfree\" module." +msgstr "ギャラリーリストのイメージでlightboxを無効にするかどうかを指定してください。 ここにチェックを入れると無効となり、ティーザーのイメージをクリックしてギャラリーを開くことが可能になります。 ただし、ギャラリー内のイメージを表示する際にはlightboxが現れます。 これはacidfreeモジュールで作られたイメージギャラリーにのみ適用されます。" + +#: lightbox2.admin.inc:916 +msgid "Enable lightbox for Acidfree videos" +msgstr "Acidfreeビデオでlightboxを有効化" + +#: lightbox2.admin.inc:917 +msgid "Checking this box will enable the display of acidfree videos in a lightbox. This only applies to videos created by the \"video\" module and which appear in an acidfree gallery." +msgstr "このチェックボックスにチェックを入れると、acidfreeビデオをlightboxに表示できるようになります。この機能は「video」モジュールによって作成されたビデオにのみ適用され、acidfreeギャラリーに表示されます。" + +#: lightbox2.views.inc:23 +msgid "Lightbox trigger" +msgstr "Lightboxのトリガー" + +#: lightbox2.views.inc:24 +msgid "Provide custom text or link." +msgstr "カスタムテキストまたはリンクを提供します。" + +#: lightbox2_handler_field_lightbox2.inc:29 +msgid "" +msgstr "<なし>" + +#: lightbox2_handler_field_lightbox2.inc:42 +msgid "Trigger field" +msgstr "トリガフィールド" + +#: lightbox2_handler_field_lightbox2.inc:43 +msgid "Select the field that should be turned into the trigger for the lightbox. Only fields that appear before this one in the field list may be used." +msgstr "lightboxのトリガーとするフィールドを選択してください。フィールドリストでこのフィールドの前に表示されているフィールドだけが利用可能です。" + +#: lightbox2_handler_field_lightbox2.inc:51 +msgid "Popup" +msgstr "ポップアップ" + +#: lightbox2_handler_field_lightbox2.inc:52 +msgid "Combine tokens from the \"Replacement patterns\" below and html to create what the lightbox popup will become." +msgstr "下記「置換パターン」のトークンとlightboxのポップアップを定義しているHTMLを組み合わせます。" + +#: lightbox2_handler_field_lightbox2.inc:59 +msgid "Enable Lightbox grouping" +msgstr "Lightboxのグループ化を有効化" + +#: lightbox2_handler_field_lightbox2.inc:66 +msgid "Height" +msgstr "高さ" + +#: lightbox2_handler_field_lightbox2.inc:67 +msgid "Specify the height of the lightbox2 popup window. Because the content is dynamic, we cannot detect this value automatically." +msgstr "lightbox2ポップアップウィンドウの高さを指定します。コンテンツが動的なので、この値を自動で判別することができません。" + +#: lightbox2_handler_field_lightbox2.inc:74 +msgid "Width" +msgstr "横幅" + +#: lightbox2_handler_field_lightbox2.inc:75 +msgid "Specify the width of the lightbox2 popup window. Because the content is dynamic, we cannot detect this value automatically." +msgstr "lightbox2ポップアップウィンドウの横幅を指定します。コンテンツが動的なので、この値を自動で判別することができません。" + +#: lightbox2.module:25 +#: lightbox2.info:0 +msgid "Enables Lightbox2 for Drupal" +msgstr "DrupalでLightbox2を有効化" + +#: lightbox2.module:28 +msgid "Overview" +msgstr "概観" + +#: lightbox2.module:29 +msgid "Lightbox2 JS is a simple, unobtrusive script used to overlay images on the current page. It's a snap to setup and works on all modern browsers. The module comes with a Lightbox2 Lite option which does not use the JQuery libraries; it is therefore less likely to conflict with anything else." +msgstr "Lightbox2 JSはシンプルで控えめなスクリプトで、ページの上に画像を重ねて表示するのに使用されます。セットアップは簡単で、すべてのモダンブラウザーで動作します。Lightbox2 Liteオプションを選択すると、モジュールはJQueryライブラリを使用しません。そのため、他とほとんど衝突しないでしょう。" + +#: lightbox2.module:30 +msgid "Places images above your current page, not within. This frees you from the constraints of the layout, particularly column widths. Keeps users on the same page. Clicking to view an image and then having to click the back button to return to your site is bad for continuity (and no fun!)." +msgstr "ページの中にではなく上に画像を配置します。これにより、あなたはレイアウトの制約(特にカラム幅)から解放されます。ユーザーは同じページに留まります。クリックして画像を閲覧した後、サイトへ戻るのに戻るボタンをクリックしなければならないのは、つながりの面で良くありません(そして、楽しくない!)。" + +#: lightbox2.module:32 +msgid "Features" +msgstr "特徴" + +#: lightbox2.module:33 +msgid "The version 2 module has several benefits over the plain Lightbox module. Note, not all of these features are available when the \"Lightbox2 Lite\" option is enabled." +msgstr "バージョン2のモジュールは、簡素なLightboxモジュールに対していくつかの利点があります。「Lightbox2 Lite」オプションが有効であれば、これらの特徴がすべて利用できるわけではないことに注意してください。" + +#: lightbox2.module:35 +msgid "Image Sets: group related images and navigate through them with ease - ideal for your image galleries." +msgstr "画像セット: 関連する画像をグループ化し、それらの紹介を簡単にします。イメージギャラリーの理想です。" + +#: lightbox2.module:36 +msgid "Slideshow Capability: automatically transition between grouped images, includes play/pause and previous and next buttons." +msgstr "スライドショーが可能: グループ化されたイメージが自動的に移り変わり、再生 / 停止や前へ次へのボタンも表示されます。" + +#: lightbox2.module:37 +msgid "HTML Content Support: ability to show websites or other HTML content in a lightbox." +msgstr "HTMLコンテンツのサポート: ウェブサイトやその他のHTMLコンテンツをlightboxに表示することが可能。" + +#: lightbox2.module:38 +msgid "Video Content Support: ability to show videos in a lightbox." +msgstr "ビデオコンテンツのサポート: ビデオをlightboxに表示することが可能。" + +#: lightbox2.module:39 +msgid "Visual Effects: fancy pre-loader and transition when you click on the image." +msgstr "ビジュアルエフェクト: 画像をクリックしてロードしている画面の装飾。" + +#: lightbox2.module:40 +msgid "Keyboard Shortcuts: useful keyboard shortcuts for switching between images, toggling play / pause, etc." +msgstr "キーボードショートカット: 画像や再生/停止を切り替えるのに便利なキーボードショートカット。" + +#: lightbox2.module:41 +msgid "Zoom Capability: larger images are reduced in size so they fit snugly inside the browser window. A zoom button can then be clicked on to see it in its original size." +msgstr "ズームが可能: 大きい画像はブラウザウィンドウに収まる大きさに縮められます。その際、ズームボタンをクリックすると、オリジナルのサイズで表示されます。" + +#: lightbox2.module:42 +msgid "Automatic Image Detection: configurable automatic re-formatting of image thumbnails, so there is no need to add 'rel=\"lightbox\"' to each image link on your site. " +msgstr "画像を自動判別: 画像リンクの自動再フォーマットを設定できるので、サイトの画像リンクすべてに「rel=\"lightbox\"」を追加しなくても良いのです。" + +#: lightbox2.module:43 +msgid "Image, Inline, Flickr, Image Assist and CCK Imagefield modules are all supported. " +msgstr "ImageInlineFlickrImage AssistCCK Imagefieldモジュールをすべてサポートしています。" + +#: lightbox2.module:44 +msgid "It's also possible to configure a custom list of image classes which should trigger the lightbox functionality." +msgstr "lightboxのトリガーとなるクラスのリストを設定することも可能です。" + +#: lightbox2.module:46 +msgid "Imagecache Support: adds a Lightbox2 field formatter for CCK imagefields for your custom views." +msgstr "Imagecacheのサポート: カスタムビューCCK imagefieldにLightbox2のフィールドフォーマッターを追加します。" + +#: lightbox2.module:47 +msgid "Image Page Link: a link to the image node can be provided within the lightbox itself." +msgstr "イメージページのリンク: Imageノードへのリンクをlightboxで表示するようにできます。" + +#: lightbox2.module:48 +msgid "Page Exclusion Capability: exclude certain pages on your site from having the lightbox2 functionality." +msgstr "ページ除外設定: 特定のページをlightbox2の対象から除外することができます。" + +#: lightbox2.module:49 +msgid "Login Support: ability to modify all user/login links so the login form appears in a lightbox." +msgstr "ログインのサポート: ユーザー/ログインのリンクをすべて変更して、lightboxにログインフォームを表示可能。" + +#: lightbox2.module:50 +msgid "Skin and Animation Configuration: configure the order and speed of the lightbox animations, along with the lightbox colors, border size and overlay opacity." +msgstr "スキンとアニメーションの設定: lightboxのカラーや線の太さ、オーバーレイの透明度に加え、lightboxアニメーションの順序やスピードを設定可能。" + +#: lightbox2.module:51 +msgid "Gallery 2 Support: support for Gallery 2 images via the Gallery module (beta)." +msgstr "Gallery 2のサポート: Galleryモジュール (ベータ) を介してGallery 2イメージをサポートしています。" + +#: lightbox2.module:54 +msgid "Usage" +msgstr "使用方法" + +#: lightbox2.module:55 +msgid "Adding a Basic Lightbox" +msgstr "基本的なlightboxを追加する" + +#: lightbox2.module:56 +msgid "Add rel="lightbox" attribute to any link tag to activate the lightbox. For example:" +msgstr "lightboxを有効にするには rel="lightbox" 属性を追加します。例:" + +#: lightbox2.module:57 +msgid "" +"<a href="image-1.jpg" rel="lightbox">image #1</a>
\n" +" <a href="image-1.jpg" rel="lightbox[][my caption]">image #1</a>" +msgstr "" +"<a href="image-1.jpg" rel="lightbox">画像 #1</a>
\n" +" <a href="image-1.jpg" rel="lightbox[][my caption]">画像 #1</a>" + +#: lightbox2.module:59 +msgid "Optional: To show a caption either use the title attribute or put in the second set of [] of the rel attribute." +msgstr "任意: キャプションを表示するには、タイトル属性を利用するか、またはrel属性に二つ目の [] を記述します。" + +#: lightbox2.module:61 +msgid "Grouping Images" +msgstr "画像のグループ化" + +#: lightbox2.module:62 +msgid "If you have a set of related images that you would like to group, follow step one but additionally include a group name between square brackets in the rel attribute. For example:" +msgstr "グループ化したい関連する画像があれば、ステップ1を行いつつrel属性の角括弧 ([]) の中にグループ名を含ませます。例:" + +#: lightbox2.module:63 +msgid "" +"<a href=\"images/image-1.jpg\" rel=\"lightbox[roadtrip]\">image #1</a>
\n" +" <a href=\"images/image-2.jpg\" rel=\"lightbox[roadtrip][caption 2]\">image#2</a>
\n" +" <a href=\"images/image-3.jpg\" rel=\"lightbox[roadtrip][caption 3]\">image#3</a>" +msgstr "" +"<a href=\"images/image-1.jpg\" rel=\"lightbox[roadtrip]\">画像 #1</a>
\n" +" <a href=\"images/image-2.jpg\" rel=\"lightbox[roadtrip][caption 2]\">画像 #2</a>
\n" +" <a href=\"images/image-3.jpg\" rel=\"lightbox[roadtrip][caption 3]\">画像 #3</a>" + +#: lightbox2.module:66 +msgid "No limits to the number of image sets per page or how many images are allowed in each set." +msgstr "1ページあたりのイメージセットの数と、各イメージセットに含まれる画像の数に制限はありません。" + +#: lightbox2.module:67 +msgid "If you have a set of images that you would like to group together in a lightbox, but only wish for one of these images to be visible on your page, you can assign the \"lightbox_hide_image\" class to hide the additional images. For example:" +msgstr "グループ化してlightboxで一緒に表示したい画像のセットがあるけれども、ページにはそれらのうちの一枚だけを表示したい場合、隠すほうの画像に「lightbox_hide_image」クラスを指定することができます。例:" + +#: lightbox2.module:68 +msgid "" +"<a href=\"images/image-1.jpg\" rel=\"lightbox[roadtrip]\">image #1</a>
\n" +" <a href=\"images/image-2.jpg\" rel=\"lightbox[roadtrip]\" class=\"lightbox_hide_image\">image #2</a>
\n" +" <a href=\"images/image-3.jpg\" rel=\"lightbox[roadtrip][caption 3]\" class=\"lightbox_hide_image\">image #3</a>" +msgstr "" +"<a href=\"images/image-1.jpg\" rel=\"lightbox[roadtrip]\">画像 #1</a>
\n" +" <a href=\"images/image-2.jpg\" rel=\"lightbox[roadtrip]\" class=\"lightbox_hide_image\">画像 #2</a>
\n" +" <a href=\"images/image-3.jpg\" rel=\"lightbox[roadtrip][caption 3]\" class=\"lightbox_hide_image\">画像 #3</a>" + +#: lightbox2.module:73 +msgid "This is very similar to the grouping functionality described above. The only difference is that \"rel\" attribute should be set to \"lightshow\" instead of \"lightbox\". Using the same example as above, we could launch the images in a slideshow by doing:" +msgstr "上記のグループ化機能とよく似ています。唯一の違いは、「rel」属性が「lightbox」ではなく「lightshow」であることです。上記と同じ例を使って、画像をスライドショーで表示することができます:" + +#: lightbox2.module:74 +msgid "" +"<a href=\"images/image-1.jpg\" rel=\"lightshow[roadtrip]\">image #1</a>
\n" +" <a href=\"images/image-2.jpg\" rel=\"lightshow[roadtrip][caption 2]\">image #2</a>
\n" +" <a href=\"images/image-3.jpg\" rel=\"lightshow[roadtrip][caption 3]\">image #3</a>" +msgstr "" +"<a href=\"images/image-1.jpg\" rel=\"lightshow[roadtrip]\">画像 #1</a>
\n" +" <a href=\"images/image-2.jpg\" rel=\"lightshow[roadtrip][caption 2]\">画像 #2</a>
\n" +" <a href=\"images/image-3.jpg\" rel=\"lightshow[roadtrip][caption 3]\">画像 #3</a>" + +#: lightbox2.module:78 +msgid "Video Content" +msgstr "ビデオコンテンツ" + +#: lightbox2.module:79 +msgid "It's possible to show video content in the lightbox. In this case the \"rel\" attribute should be set to lightvideo. It's possible to group videos and to control the size of the lightbox by setting the 'width' and 'height' properties. The properties can be configured like lightvideo[group|width:300px; height: 200px;] and lightvideo[|width:300px; height: 200px;][my caption]. The properties should all be of the format \"property: value;\" - note the closing semi-colon. If no properties are set, then the default width and height of 400px will be used. See below for more detailed examples." +msgstr "lightboxでビデオコンテンツを表示することができます。その場合、「rel」属性は lightvideo としなくてはなりません。ビデオをグループ化したり、「横幅」や「高さ」のプロパティ―でlightboxのサイズを制御することができます。プロパティ―は lightvideo[group|width:300px; height: 200px;] または lightvideo[|width:300px; height: 200px;][my caption] といった具合に設定します。プロパティ―はすべて「プロパティ―: 値;」の書式で記述し、セミコロンで閉じるのに注意してください。プロパティ―を何も設定しなければ、デフォルトの横幅や高さである400pxが使用されます。より詳細な例は下記を参照してください。" + +#: lightbox2.module:80;94;107;295;314;328 +msgid "Basic example:" +msgstr "基本的な例:" + +#: lightbox2.module:81 +msgid "<a href=\"http://video.google.com/videoplay?docid=1811233136844420765\" rel=\"lightvideo\">Google video example - default size</a>" +msgstr "<a href=\"http://video.google.com/videoplay?docid=1811233136844420765\" rel=\"lightvideo\">Google video の例 - デフォルトサイズ</a>" + +#: lightbox2.module:82;109 +msgid "Basic example with caption:" +msgstr "キャプション付きの基本的な例:" + +#: lightbox2.module:83 +msgid "<a href=\"http://video.google.com/videoplay?docid=1811233136844420765\" rel=\"lightvideo[][my caption]\">Google video example - default size</a>" +msgstr "<a href=\"http://video.google.com/videoplay?docid=1811233136844420765\" rel=\"lightvideo[][my caption]\">Google video の例 - デフォルトサイズ</a>" + +#: lightbox2.module:84;96;111;297;330 +msgid "Grouped example:" +msgstr "グループ化の例:" + +#: lightbox2.module:85 +msgid "" +"<a href=\"http://video.google.com/videoplay?docid=29023498723974239479\" rel=\"lightvideo[group][my caption]\">Grouped example 1</a>
\n" +" <a href=\"http://video.google.com/videoplay?docid=1811233136844420765\" rel=\"lightvideo[group][my caption]\">Grouped example 2</a>" +msgstr "" +"<a href=\"http://video.google.com/videoplay?docid=29023498723974239479\" rel=\"lightvideo[group][my caption]\">グループ化の例 1</a>
\n" +" <a href=\"http://video.google.com/videoplay?docid=1811233136844420765\" rel=\"lightvideo[group][my caption]\">グループ化の例 2</a>" + +#: lightbox2.module:87;316 +msgid "Controlling lightbox size example:" +msgstr "lightboxのサイズを制御する例:" + +#: lightbox2.module:88 +msgid "<a href=\"http://video.google.com/videoplay?docid=1811233136844420765\" rel=\"lightvideo[|width:400px; height:300px;][my caption]\">Google video example - custom size</a>" +msgstr "<a href=\"http://video.google.com/videoplay?docid=1811233136844420765\" rel=\"lightvideo[|width:400px; height:300px;][my caption]\">Google video の例 - サイズのカスタマイズ</a>" + +#: lightbox2.module:89 +msgid "Supported Video Formats:" +msgstr "サポートしているビデオ形式:" + +#: lightbox2.module:90 +msgid "asx, wmv, mov and swf videos should all be supported. A number of video providers are also supported, for example YouTube and Google Video. For full details on how to integrate these with lightbox, please see the online documentation." +msgstr "asxおよびwmv、mov、swf形式のビデオはすべてサポートしています。YouTubeやGoogle Videoといった多くのビデオプロバイダーもまたサポートしています。これらとlightboxを組み合わせるための完全な情報は、オンラインのドキュメントを参照してください。" + +#: lightbox2.module:92;187 +msgid "HTML Content" +msgstr "HTMLコンテンツ" + +#: lightbox2.module:93 +msgid "It's possible to show webpage content in the lightbox, using iframes. In this case the \"rel\" attribute should be set to lightframe. Again it's possible to group the items, (e.g. lightframe[search]) but in addition to that, it's possible to control some of the iframe properties. It's possible to set the 'width', 'height' and 'scrolling' properties of the iframe. The properties are separated from the group name by a |, for example lightframe[search|width:100px;] and lightframe[search|width:120px][my caption]. If no grouping is being used, then the | is still used and the format would be lightframe[|width:100px;]. The properties should all be of the format \"property: value;\" - note the closing semi-colon. If no iframe properties are set, then the default width and height of 400px will be used. See below for more detailed examples." +msgstr "iframeを使って、lightboxでウェブページを表示することができます。その場合、「rel」属性は lightframe としなくてはなりません。また、アイテムをグループ化することができ(例: lightframe[search])、それに加えてiframeのプロパティ―をいくつか制御することができます。iframeのプロパティ―は「横幅」「高さ」「スクロール」を設定可能です。プロパティ―とグループ名をパイプ( | )で区切ります(例: lightframe[search|width:100px;]lightframe[search|width:120px;][my caption] )。グループ化していなくても、パイプは残り、lightframe[|width:100px;] といった具合になります。プロパティ―はすべて「プロパティ―: 値;」の書式で記述しなければならず、セミコロンで閉じる事に注意してください。何もプロパティ―が設定されなければ、横幅と高さにはデフォルトの400pxが用いられます。より詳細な例は下記を参照してください。" + +#: lightbox2.module:95 +msgid "<a href=\"http://www.google.com\" rel=\"lightframe[][Search Google]\">Search google</a>" +msgstr "<a href=\"http://www.google.com\" rel=\"lightframe[][Search Google]\">Google検索</a>" + +#: lightbox2.module:97 +msgid "" +"<a href=\"http://www.google.com\" rel=\"lightframe[search]\">Search google</a>
\n" +" <a href=\"http://www.yahoo.com\" rel=\"lightframe[search][Search Yahoo]\">Search yahoo</a>" +msgstr "" +"<a href=\"http://www.google.com\" rel=\"lightframe[search]\">Google検索</a>
\n" +" <a href=\"http://www.yahoo.com\" rel=\"lightframe[search][Search Yahoo]\">Yahoo検索</a>" + +#: lightbox2.module:99;300 +msgid "Controlling iframe property example:" +msgstr "iframeのプロパティ―を制御する例:" + +#: lightbox2.module:100 +msgid "<a href=\"http://www.google.com\" rel=\"lightframe[|width:400px; height:300px; scrolling: auto;]\">Search google</a>" +msgstr "<a href=\"http://www.google.com\" rel=\"lightframe[|width:400px; height:300px; scrolling: auto;]\">Google検索</a>" + +#: lightbox2.module:101;302 +msgid "Controlling iframe property when grouped example:" +msgstr "グループ化時にiframeのプロパティ―を制御する例:" + +#: lightbox2.module:102 +msgid "" +"<a href=\"http://www.google.com\" rel=\"lightframe[search|width:400px; height:300px; scrolling: auto;]\">Search google</a>
\n" +" <a href=\"http://www.yahoo.com\" rel=\"lightframe[search|width:400px; height:300px;][Search Yahoo]\">Search yahoo</a>" +msgstr "" +"<a href=\"http://www.google.com\" rel=\"lightframe[search|width:400px; height:300px; scrolling: auto;]\">Google検索</a>
\n" +" <a href=\"http://www.yahoo.com\" rel=\"lightframe[search|width:400px; height:300px;][Search Yahoo]\">Yahoo検索</a>" + +#: lightbox2.module:105 +msgid "Inline Content Support" +msgstr "インラインコンテンツのサポート" + +#: lightbox2.module:106 +msgid "It's possible to show HTML snippets in the lightbox, that is on the same domain. In this case the \"rel\" attribute should be set to lightmodal. Again it's possible to group the content, (e.g. lightmodal[search]) but in addition to that, it's possible to control some of the inline / modal properties. It's possible to set the 'width', 'height' and 'scrolling' properties of the inline content. The properties are separated from the group name by a |, for example lightmodal[search|width:100px;] and lightmodal[search|width:100px;][my caption]. If no grouping is being used, then the | is still used and the format would be lightmodal[|width:100px;]. The properties should all be of the format \"property: value;\" - note the closing semi-colon. If no properties are set, then the default width and height of 400px will be used. See below for more detailed examples." +msgstr "同じドメイン上のHTMLスニペットをlightboxで表示することができます。その場合、「rel」属性は lightmodal としなくてはなりません。また、コンテンツをグループ化することができ(例: lightmodal[search])、それに加えてインラインまたはモーダルプロパティ―のいくつかを制御することができます。インラインプロパティ―は「横幅」「高さ」「スクロール」を設定可能です。プロパティ―とグループ名をパイプ( | )で区切ります(例: lightmodal[search|width:100px;]lightmodal[search|width:100px;][my caption] )。グループ化していなくても、パイプは残り、lightmodal[|width:100px;] といった具合になります。プロパティ―はすべて「プロパティ―: 値;」の書式で記述しなければならず、セミコロンで閉じる事に注意してください。何もプロパティ―が設定されなければ、横幅と高さにはデフォルトの400pxが用いられます。より詳細な例は下記を参照してください。" + +#: lightbox2.module:108 +msgid "<a href=\"search.php\" rel=\"lightmodal\">Search</a>" +msgstr "<a href=\"search.php\" rel=\"lightmodal\">検索</a>" + +#: lightbox2.module:110 +msgid "<a href=\"search.php\" rel=\"lightmodal[][my caption]\">Search</a>" +msgstr "<a href=\"search.php\" rel=\"lightmodal[][my caption]\">検索</a>" + +#: lightbox2.module:112 +msgid "" +"<a href=\"search.php\" rel=\"lightmodal[search]\">Search</a>
\n" +" <a href=\"search.php?status=1\" rel=\"lightmodal[search][published]\">Search published content</a>" +msgstr "" +"<a href=\"search.php\" rel=\"lightmodal[search]\">検索</a>
\n" +" <a href=\"search.php?status=1\" rel=\"lightmodal[search][published]\">掲載済みコンテンツを検索</a>" + +#: lightbox2.module:114;333 +msgid "Controlling modal property example:" +msgstr "モーダルのプロパティ―を制御する例:" + +#: lightbox2.module:115 +msgid "<a href=\"search.php\" rel=\"lightmodal[|width:400px; height:300px; scrolling: auto;]\">Search</a>" +msgstr "<a href=\"search.php\" rel=\"lightmodal[|width:400px; height:300px; scrolling: auto;]\">検索</a>" + +#: lightbox2.module:116;335 +msgid "Controlling modal property when grouped example:" +msgstr "グループ化時にモーダルのプロパティ―を制御する例:" + +#: lightbox2.module:117 +msgid "" +"<a href=\"search.php\" rel=\"lightmodal[search|width:400px; height:300px; scrolling: auto;]\">Search</a>
\n" +" <a href=\"search.php?status=1\" rel=\"lightmodal[search|width:400px; height:300px;][Search published]\">Search published content</a>
\n" +" <a href=\"search.php?status=0\" rel=\"lightmodal[search|width:400px; height:300px;][Search Unpublished]\">Search unpublished content</a>" +msgstr "" +"<a href=\"search.php\" rel=\"lightmodal[search|width:400px; height:300px; scrolling: auto;]\">検索</a>
\n" +" <a href=\"search.php?status=1\" rel=\"lightmodal[search|width:400px; height:300px;][Search published]\">掲載済みコンテンツを検索</a>
\n" +" <a href=\"search.php?status=0\" rel=\"lightmodal[search|width:400px; height:300px;][Search Unpublished]\">未掲載のコンテンツを検索</a>" + +#: lightbox2.module:121 +msgid "Keyboard Shortcuts" +msgstr "キーボードショートカット" + +#: lightbox2.module:122 +msgid "The default keyboard shortcuts are listed below. You can override these on the admin page." +msgstr "デフォルトのキーボードショートカットは下記の通りです。管理セクションでこれらを上書きすることができます。" + +#: lightbox2.module:124 +msgid "Close Lightbox" +msgstr "Lightboxを閉じる" + +#: lightbox2.module:128 +msgid "Previous Image" +msgstr "前の画像" + +#: lightbox2.module:129 +msgid "Left Arrow" +msgstr "左" + +#: lightbox2.module:130 +msgid "Next Image" +msgstr "次の画像" + +#: lightbox2.module:131 +msgid "Right Arrow" +msgstr "右" + +#: lightbox2.module:132 +msgid "Toggle Zoom" +msgstr "ズーム切り替え" + +#: lightbox2.module:132 +msgid "z (not available in slideshow)" +msgstr "z (スライドショーでは利用不可)" + +#: lightbox2.module:133 +msgid "Toggle Play / Pause" +msgstr "再生 / 停止 切り替え" + +#: lightbox2.module:133 +msgid "Spacebar (slideshow only)" +msgstr "スペースバー (スライドショーのみ)" + +#: lightbox2.module:135 +msgid "Not all of the keyboard shortcuts work in the Opera browser, for example \"z\" for toggling the zoom and \"spacebar\" for toggling play / pause in slideshows. This can be overcome by updating your shortcut settings in the Opera preferences editor." +msgstr "Operaブラウザーでは動作しないキーボードショートカットがあり、例えばズームを切り替える「z」やスライドショーの再生/停止を切り替える「スペースバー」が動作しません。OperaのPreferences Editorでショートカットの設定を変更することにより不具合を回避することができます。" + +#: lightbox2.module:257;361 +msgid "Image links with 'rel=\"lightbox\"' in the <a> tag will appear in a Lightbox when clicked on." +msgstr "<a> タグに 'rel=\"lightbox\"' があるイメージリンクをクリックしたとき、Lightboxで表示されます" + +#: lightbox2.module:260 +msgid "To add a lightbox to your images, add rel=\"lightbox\" attribute to any link tag to activate the lightbox. For example:" +msgstr "イメージにlightboxを加えるには、lightboxを有効にするために任意のリンクタグに rel=\"lightbox\" 属性を加えてください。
例:" + +#: lightbox2.module:261 +msgid "<a href=\"image-1.jpg\" rel=\"lightbox\">image #1</a>" +msgstr "<a href=\"image-1.jpg\" rel=\"lightbox\">画像 #1</a>" + +#: lightbox2.module:262 +msgid "<a href=\"image-1.jpg\" rel=\"lightbox[][my caption]\">image #1</a>" +msgstr "<a href=\"image-1.jpg\" rel=\"lightbox[][my caption]\">画像 #1</a>" + +#: lightbox2.module:263 +msgid "To show a caption either use the title attribute or put in the second set of square brackets of the rel attribute." +msgstr "キャプションを表示するには、タイトル属性を使用するか、または二つ目のrel属性の角括弧セット ([]) を追加します。" + +#: lightbox2.module:264 +msgid "If you have a set of related images that you would like to group, then you will need to include a group name between square brackets in the rel attribute. For example:" +msgstr "グループ化したい関連するイメージのセットがある場合、rel 属性に [] で囲んだグループ名を含める必要があります。
例:" + +#: lightbox2.module:265 +msgid "<a href=\"image-1.jpg\" rel=\"lightbox[roadtrip]\">image #1</a>
<a href=\"image-2.jpg\" rel=\"lightbox[roadtrip][caption 2]\">image #2</a>
<a href=\"image-3.jpg\" rel=\"lightbox[roadtrip][caption 3]\">image #3</a>
" +msgstr "<a href=\"image-1.jpg\" rel=\"lightbox[roadtrip]\">画像 #1</a>
<a href=\"image-2.jpg\" rel=\"lightbox[roadtrip][caption 2]\">画像 #2</a>
<a href=\"image-3.jpg\" rel=\"lightbox[roadtrip][caption 3]\">画像 #3</a>
" + +#: lightbox2.module:266 +msgid "There are no limits to the number of image sets per page or how many images are allowed in each set." +msgstr "ページごとのイメージセット数や、各セット内のイメージ数に制限はありません。" + +#: lightbox2.module:267;284 +msgid "If you wish to turn the caption into a link, format your caption in the following way:" +msgstr "キャプションをリンクに変えたい場合は、次の方法でキャプションを書式化してください:" + +#: lightbox2.module:268 +msgid "<a href=\"image-1.jpg\" rel='lightbox[][<a href=\"http://www.yourlink.com\">View Image Details</a>]' >image #1</a>" +msgstr "<a href=\"image-1.jpg\" rel='lightbox[][<a href=\"http://www.yourlink.com\">詳細画像を表示</a>]' >画像 #1</a>" + +#: lightbox2.module:273 +msgid "Image links from G2 are formatted for use with Lightbox2" +msgstr "G2の画像リンクをLightbox2で表示する形に変換" + +#: lightbox2.module:277;367 +msgid "Image links with 'rel=\"lightshow\"' in the <a> tag will appear in a Lightbox slideshow when clicked on." +msgstr " <a> タグの中に「rel=\"lightshow\"」という記述のあるイメージリンクをクリックすると、Lightboxスライドショーで表示されます。" + +#: lightbox2.module:280 +msgid "To add a lightbox slideshow to your images, add rel=\"lightshow[slideshowname][slide caption]\" attribute to any link tag to activate the slideshow. For example:" +msgstr "画像にlightboxのスライドショーを追加するには、スライドショーを有効にしたいリンクタグのすべてに rel=\"lightshow[slideshowname][slide caption]\" 属性を追加します。例:" + +#: lightbox2.module:281 +msgid "<a href=\"image-1.jpg\" rel=\"lightshow[show1]\">image #1</a>
<a href=\"image-2.jpg\" rel=\"lightshow[show1]\">image #2</a>
<a href=\"image-3.jpg\" rel=\"lightshow[show1]\">image #3</a>
" +msgstr "<a href=\"image-1.jpg\" rel=\"lightshow[show1]\">画像 #1</a>
<a href=\"image-2.jpg\" rel=\"lightshow[show1]\">画像 #2</a>
<a href=\"image-3.jpg\" rel=\"lightshow[show1]\">画像 #3</a>
" + +#: lightbox2.module:282 +msgid "The title attribute in the link tag is optional. The addition of this attribute enables the display of a caption with the image displayed in the lightbox." +msgstr "リンクタグの title 属性は任意です。 この属性を付加することで、lightboxに表示されたイメージでキャプションが表示できるようになります。" + +#: lightbox2.module:283 +msgid "There are no limits to the number of slideshow image sets per page or how many images are allowed in each slideshow." +msgstr "1ページあたりのスライドショーの数と、各スライドショーに含まれる画像の数に制限はありません。" + +#: lightbox2.module:285 +msgid "<a href=\"image-1.jpg\" rel='lightshow[show1][<a href=\"http://www.yourlink.com\">View Image Details</a>]'>image #1</a>" +msgstr "<a href=\"image-1.jpg\" rel='lightshow[show1][<a href=\"http://www.yourlink.com\">詳細画像を表示</a>]'>画像 #1</a>" + +#: lightbox2.module:291;370 +msgid "Links to HTML content with 'rel=\"lightframe\"' in the <a> tag will appear in a Lightbox when clicked on." +msgstr "<a> タグの中に「rel=\"lightframe\"」という記述のあるHTMLコンテンツへのリンクをクリックすると、Lightboxの中にそのコンテンツが表示されます。" + +#: lightbox2.module:294 +msgid "It's possible to show webpage content in the lightbox, using iframes. In this case the \"rel\" attribute should be set to \"lightframe\". Again it's possible to group the content, (e.g. lightframe[search][caption]) but in addition to that, it's possible to control some of the iframe properties. It's possible to set the \"width\", \"height\" and \"scrolling\" properties of the iframe. The properties are separated from the group name by a |, for example lightframe[search|width:100px;][caption]. If no grouping is being used, then the | is still used and the format would be lightframe[|width:100px;]. The properties should all be of the format \"property: value;\" - note the closing semi-colon. If no iframe properties are set, then the default width and height of 400px will be used. See below for more detailed examples." +msgstr "iframeを使って、lightboxでウェブページを表示することができます。その場合、「rel」属性は lightframe としなくてはなりません。また、アイテムをグループ化することができ(例: lightframe[search][caption])、それに加えてiframeのプロパティ―をいくつか制御することができます。iframeのプロパティ―は「横幅」「高さ」「スクロール」を設定可能です。プロパティ―とグループ名をパイプ( | )で区切ります(例: lightframe[search|width:100px;][caption] )。グループ化していなくても、パイプは残り、lightframe[|width:100px;] といった具合になります。プロパティ―はすべて「プロパティ―: 値;」の書式で記述しなければならず、セミコロンで閉じる事に注意してください。何もプロパティ―が設定されなければ、横幅と高さにはデフォルトの400pxが用いられます。より詳細な例は下記を参照してください。" + +#: lightbox2.module:296 +msgid "<a href="http://www.google.com" rel="lightframe">Search google</a>" +msgstr "<a href="http://www.google.com" rel="lightframe">Google検索</a>" + +#: lightbox2.module:298 +msgid "<a href="http://www.google.com" rel="lightframe[search][caption]">Search google</a>
<a href="http://www.yahoo.com" rel="lightframe[search]">Search yahoo</a>
" +msgstr "<a href="http://www.google.com" rel="lightframe[search][caption]">Google検索</a>
<a href="http://www.yahoo.com" rel="lightframe[search]">Yahoo検索</a>
" + +#: lightbox2.module:301 +msgid "<a href="http://www.google.com" rel="lightframe[|width:400px; height:300px; scrolling: auto;][caption]">Search google</a>" +msgstr "<a href="http://www.google.com" rel="lightframe[|width:400px; height:300px; scrolling: auto;][caption]">Google検索</a>" + +#: lightbox2.module:303 +msgid "<a href="http://www.google.com" rel="lightframe[search|width:400px; height:300px; scrolling: auto;]">Search google</a>
<a href="http://www.yahoo.com" rel="lightframe[search|width:400px; height:300px;]">Search yahoo</a>
" +msgstr "<a href="http://www.google.com" rel="lightframe[search|width:400px; height:300px; scrolling: auto;]">Google検索</a>
<a href="http://www.yahoo.com" rel="lightframe[search|width:400px; height:300px;]">Yahoo検索</a>
" + +#: lightbox2.module:310;373 +msgid "Links to video content with 'rel=\"lightvideo\"' in the <a> tag will appear in a Lightbox when clicked on." +msgstr "<a> タグの中に「rel=\"lightvideo\"」という記述のあるビデオコンテンツへのリンクをクリックすると、Lightboxの中にそのビデオが表示されます。" + +#: lightbox2.module:313 +msgid "It's possible to show video content in the lightbox. In this case the \"rel\" attribute should be set to lightvideo. It's possible to group videos and to control the size of the lightbox by setting the \"width\" and \"height\" properties. The properties can be configured like lightvideo[group|width:300px; height: 200px;][caption]. The properties should all be of the format \"property: value;\" - note the closing semi-colon. If no properties are set, then the default width and height of 400px will be used. See below for more detailed examples." +msgstr "lightboxでビデオを表示することができます。その場合、「rel」属性は lightvideo としなくてはなりません。ビデオをグループ化することができ、「横幅」と「高さ」のプロパティ―を設定してlightboxのサイズを制御することができます。プロパティ―は lightvideo[group|width:300px; height: 200px;][caption] といった具合に記述します。プロパティ―はすべて「プロパティ―: 値;」の書式で記述しなければならず、セミコロンで閉じる事に注意してください。何もプロパティ―が設定されなければ、横幅と高さにはデフォルトの400pxが用いられます。より詳細な例は下記を参照してください。" + +#: lightbox2.module:315 +msgid "<a href="http://video.google.com/videoplay?docid=1811233136844420765" rel="lightvideo">Google video example - default size</a>" +msgstr "<a href="http://video.google.com/videoplay?docid=1811233136844420765" rel="lightvideo">Google video の例 - デフォルトサイズ</a>" + +#: lightbox2.module:317 +msgid "<a href="http://video.google.com/videoplay?docid=1811233136844420765" rel="lightvideo[group|width:400px; height:300px;][caption]">Google video example - custom size</a>" +msgstr "<a href="http://video.google.com/videoplay?docid=1811233136844420765" rel="lightvideo[group|width:400px; height:300px;][caption]">Google video の例 - カスタムサイズ</a>" + +#: lightbox2.module:318 +msgid "Supported video formats include asx, wmv, mov and swf. A number of online video providers are also supported, including YouTube and Google Video. For a full list of the current supported video providers please see the documentation on drupal.org." +msgstr "サポートしているビデオの形式はasxおよびwmv、mov、swfです。YouTubeやGoogle Videoといった多くのビデオプロバイダーもまたサポートしています。現在サポートしているビデオプロバイダーの完全なリストは drupal.org のドキュメントを参照してください。" + +#: lightbox2.module:324;376 +msgid "Links to inline or modal content with 'rel=\"lightmodal\"' in the <a> tag will appear in a Lightbox when clicked on." +msgstr "<a> タグの中に「rel=\"lightmodal\"」という記述のあるインラインまたはモーダルコンテンツへのリンクをクリックすると、Lightboxの中にそのコンテンツが表示されます。" + +#: lightbox2.module:327 +msgid "It's possible to show HTML snippets in the lightbox, that is on the same domain. In this case the \"rel\" attribute should be set to \"lightmodal\". Again it's possible to group the content, (e.g. lightmodal[group][caption]) but in addition to that, it's possible to control some of the modal properties. It's possible to set the \"width\", \"height\" and \"scrolling\" properties of the modal. The properties are separated from the group name by a |, for example lightmodal[group|width:100px;][caption]. If no grouping is being used, then the | is still used and the format would be lightmodal[|width:100px;]. The properties should all be of the format \"property: value;\" - note the closing semi-colon. If no modal properties are set, then the default width and height of 400px will be used. See below for more detailed examples." +msgstr "同じドメイン上のHTMLスニペットをlightboxで表示することができます。その場合、「rel」属性は lightmodal としなくてはなりません。また、コンテンツをグループ化することができ(例: lightmodal[group][caption])、それに加えてモーダルプロパティ―のいくつかを制御することができます。モーダルプロパティ―は「横幅」「高さ」「スクロール」を設定可能です。プロパティ―とグループ名をパイプ( | )で区切ります(例: lightmodal[group|width:100px;][caption] )。グループ化していなくても、パイプは残り、lightmodal[|width:100px;] といった具合になります。プロパティ―はすべて「プロパティ―: 値;」の書式で記述しなければならず、セミコロンで閉じる事に注意してください。何もプロパティ―が設定されなければ、横幅と高さにはデフォルトの400pxが用いられます。より詳細な例は下記を参照してください。" + +#: lightbox2.module:329 +msgid "<a href="search.php" rel="lightmodal">Search</a>" +msgstr "<a href="search.php" rel="lightmodal">検索</a>" + +#: lightbox2.module:331 +msgid "<a href="search.php" rel="lightmodal[search][caption 1]">Search</a>
<a href="search.php?status=1" rel="lightmodal[search]">Search published</a>
" +msgstr "<a href="search.php" rel="lightmodal[search][caption 1]">検索</a>
<a href="search.php?status=1" rel="lightmodal[search]">掲載済みを検索</a>
" + +#: lightbox2.module:334 +msgid "<a href="search.php" rel="lightmodal[|width:400px; height:300px; scrolling: auto;][caption]">Search</a>" +msgstr "<a href="search.php" rel="lightmodal[|width:400px; height:300px; scrolling: auto;][caption]">検索</a>" + +#: lightbox2.module:336 +msgid "<a href="search.php" rel="lightmodal[search|width:400px; height:300px; scrolling: auto;]">Search</a>
<a href="search.php?status=1" rel="lightmodal[search|width:400px; height:300px;]">Search published</a>
" +msgstr "<a href="search.php" rel="lightmodal[search|width:400px; height:300px; scrolling: auto;]">検索</a>
<a href="search.php?status=1" rel="lightmodal[search|width:400px; height:300px;]">掲載済みを検索</a>
" + +#: lightbox2.module:350 +msgid "Lightbox filter" +msgstr "Lightboxフィルタ" + +#: lightbox2.module:351 +msgid "Lightbox G2 filter" +msgstr "Lightbox G2フィルタ" + +#: lightbox2.module:352 +msgid "Lightbox slideshow filter" +msgstr "Lightbox スライドショーフィルター" + +#: lightbox2.module:353 +msgid "Lightbox iframe filter" +msgstr "Lightbox iframe フィルター" + +#: lightbox2.module:354 +msgid "Lightbox video filter" +msgstr "Lightbox ビデオフィルター" + +#: lightbox2.module:355 +msgid "Lightbox modal filter" +msgstr "Lightbox モーダルフィルター" + +#: lightbox2.module:356 +msgid "Disable Lightbox iframe filter" +msgstr "Lightbox iframe フィルターを無効化" + +#: lightbox2.module:364 +msgid "Turns g2_filter links into Lightbox2 appropriate links" +msgstr "g2_filterのリンクをLightbox2に適した形式のリンクへ変換" + +#: lightbox2.module:379 +msgid "It's possible to show webpage content in the lightbox, using iframes. In this case the \"rel\" attribute should be set to \"lightframe\". However, users can do this without any filters to be enabled. To prevent users from adding iframes to the site in this manner, then please enable this option." +msgstr "iframeを使用して、ウェブページのコンテンツをlightboxに表示することができます。その場合、「rel」属性は「lightframe」に設定しなくてはなりません。しかしながら、ユーザーはフィルタが有効でなくても行うことができます。ユーザーがこの方法でサイトにiframeを追加できないようにするには、このオプションを有効にしてください。" + +#: lightbox2.module:612 +msgid "press !x to close" +msgstr "!x を押すと閉じます" + +#: lightbox2.module:757 +msgid "Lightbox2: Image Thumbnail -> Original" +msgstr "Lightbox2: サムネイル画像 -> オリジナル" + +#: lightbox2.module:761 +msgid "Lightbox2 slideshow: Image Thumbnail -> Original" +msgstr "Lightbox2 スライドショー: サムネイル画像 -> オリジナル" + +#: lightbox2.module:765 +msgid "Lightbox2 iframe: Image Thumbnail -> Content" +msgstr "Lightbox2 iframe: サムネイル画像 -> コンテンツ" + +#: lightbox2.module:771 +msgid "Lightbox2: Image Thumbnail -> Full Size Video" +msgstr "Lightbox2: サムネイル画像 -> フルサイズのビデオ" + +#: lightbox2.module:777;1100 +msgid "Lightbox2 iframe" +msgstr "" + +#: lightbox2.module:1101 +msgid "Displays all kinds of files in a popup lightbox in an iframe." +msgstr "すべての種類のファイルを、ポップアップのlightboxにあるiframeで表示します。" + +#: lightbox2.module:1105 +msgid "Lightbox2 image" +msgstr "Lightbox2 画像" + +#: lightbox2.module:1106 +msgid "Displays image files in a popup lightbox." +msgstr "画像ファイルをlightboxのポップアップで表示します。" + +#: lightbox2.module:146 +msgid "administer lightbox2" +msgstr "Lightbox2の管理" + +#: lightbox2.module:146 +msgid "download original image" +msgstr "オリジナルの画像をダウンロード" + +#: lightbox2.module:157 +#: lightbox2.info:0 +msgid "Lightbox2" +msgstr "Lightbox2" + +#: lightbox2.module:158;166 +msgid "Allows the user to configure the lightbox2 settings" +msgstr "Lightbox2の設定を行います。" + +#: lightbox2.module:165 +msgid "General" +msgstr "全般" + +#: lightbox2.module:177 +msgid "Allows the user to configure the lightbox2 slideshow functionality" +msgstr "lightbox2のスライドショー機能を設定できるようになります。" + +#: lightbox2.module:193 +msgid "Allows the user to configure the lightbox2 HTML content functionality." +msgstr "lightbox2のHTMLコンテンツ機能を設定できるようになります。" + +#: lightbox2.module:198 +msgid "Automatic image handling" +msgstr "自動イメージ処理" + +#: lightbox2.module:199 +msgid "Allows the user to configure the lightbox2 automatic image handling settings" +msgstr "lightbox2の自動イメージ処理の設定を行います" + +#: lightbox2.module:226 +msgid "Login" +msgstr "ログイン" + +#: lightbox2.module:232 +msgid "Contact" +msgstr "コンタクト" diff --git a/sites/all/modules/lightbox2/translations/lightbox2-module.pot b/sites/all/modules/lightbox2/translations/lightbox2-module.pot new file mode 100644 index 0000000..5f09e4b --- /dev/null +++ b/sites/all/modules/lightbox2/translations/lightbox2-module.pot @@ -0,0 +1,1014 @@ +# $Id: lightbox2-module.pot,v 1.1.2.7 2009/01/08 12:42:19 snpower Exp $ +# +# LANGUAGE translation of Drupal (general) +# Copyright YEAR NAME +# Generated from files: +# lightbox2.admin.inc,v 1.1.2.24 2009/01/07 17:46:47 snpower +# lightbox2.module,v 1.16.2.16.2.147 2009/01/08 12:34:25 snpower +# lightbox2.info,v 1.1.6.4 2008/07/14 11:51:34 snpower +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: PROJECT VERSION\n" +"POT-Creation-Date: 2009-01-08 12:41+0000\n" +"PO-Revision-Date: YYYY-mm-DD HH:MM+ZZZZ\n" +"Last-Translator: NAME \n" +"Language-Team: LANGUAGE \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=utf-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\n" + +#: lightbox2.admin.inc:26 +msgid "View Image Details" +msgstr "" + +#: lightbox2.admin.inc:26 +msgid "Image !current of !total" +msgstr "" + +#: lightbox2.admin.inc:26 +msgid "Page !current of !total" +msgstr "" + +#: lightbox2.admin.inc:26 +msgid "Video !current of !total" +msgstr "" + +#: lightbox2.admin.inc:26 +msgid "Download Original" +msgstr "" + +#: lightbox2.admin.inc:32 +msgid "Layout settings" +msgstr "" + +#: lightbox2.admin.inc:42 +msgid "Lightbox2 lite" +msgstr "" + +#: lightbox2.admin.inc:50 +msgid "Use lightbox2 lite" +msgstr "" + +#: lightbox2.admin.inc:51 +msgid "Checking this box will enable Lightbox2 Lite and will disable all of the automatic image URL re-formatting features. It also disables all grouping features." +msgstr "" + +#: lightbox2.admin.inc:59 +msgid "Use alternative layout" +msgstr "" + +#: lightbox2.admin.inc:60 +msgid "Enabling this option alters the layout of the lightbox elements. In the alternative layout the navigational links appear under the image with the caption text, instead of being overlayed on the image itself. This doesn't apply when using Lightbox Lite." +msgstr "" + +#: lightbox2.admin.inc:67 +msgid "Force visibility of navigation links" +msgstr "" + +#: lightbox2.admin.inc:68 +msgid "When viewing grouped images, the navigational links to the next and previous images are only displayed when you hover over the image. Checking this box forces these links to be displayed all the time." +msgstr "" + +#: lightbox2.admin.inc:75 +msgid "Continuous galleries" +msgstr "" + +#: lightbox2.admin.inc:76 +msgid "When viewing grouped images, the Next button on the last image will display the first image, while the Previous button on the first image will display the last image." +msgstr "" + +#: lightbox2.admin.inc:83 +msgid "Open image page in new window" +msgstr "" + +#: lightbox2.admin.inc:84 +msgid "This controls whether the link to the image page underneath the image is opened in a new window or the current window." +msgstr "" + +#: lightbox2.admin.inc:92 +msgid "Text for image page link" +msgstr "" + +#: lightbox2.admin.inc:93 +msgid "This is the text that will appear as the link to the image page underneath the image in the lightbox. Leave this blank for the link not to appear." +msgstr "" + +#: lightbox2.admin.inc:100 +msgid "Text for image original link" +msgstr "" + +#: lightbox2.admin.inc:101 +msgid "This is the text that will appear as the link to the original file underneath the image in the lightbox. Leave this blank for the link not to appear." +msgstr "" + +#: lightbox2.admin.inc:109 +msgid "Image count text" +msgstr "" + +#: lightbox2.admin.inc:110 +msgid "This text is used to display the image count underneath the image in the lightbox when image grouping is enabled. Use !current as a placeholder for the number of the current image and !total for the total number of images in the group. For example, \"Image !current of !total\". Leave blank for text not to appear." +msgstr "" + +#: lightbox2.admin.inc:117 +msgid "Page count text" +msgstr "" + +#: lightbox2.admin.inc:118 +msgid "This text is used to display the page count underneath HTML content displayed in the lightbox when using groups. Use !current as a placeholder for the number of the current page and !total for the total number of pages in the group. For example, \"Page !current of !total\". Leave blank for text not to appear." +msgstr "" + +#: lightbox2.admin.inc:125 +msgid "Video count text" +msgstr "" + +#: lightbox2.admin.inc:126 +msgid "This text is used to display the count underneath video content displayed in the lightbox when using groups. Use !current as a placeholder for the number of the current video and !total for the total number of videos in the group. For example, \"Video !current of !total\". Leave blank for text not to appear." +msgstr "" + +#: lightbox2.admin.inc:134 +msgid "Image resize settings" +msgstr "" + +#: lightbox2.admin.inc:142 +msgid "Disable resizing feature" +msgstr "" + +#: lightbox2.admin.inc:143 +msgid "By default, when the image being displayed in the lightbox is larger than the browser window, it is resized to fit within the window and a zoom button is provided for users who wish to view the image in its original size. Checking this box will disable this feature and all images will be displayed without any resizing." +msgstr "" + +#: lightbox2.admin.inc:150 +msgid "Disable zoom in / out feature" +msgstr "" + +#: lightbox2.admin.inc:151 +msgid "When the image being displayed in the lightbox is resized to fit in the browser window, a \"zoom in\" button is shown. This allows the user to zoom in to see the original full size image. They will then see a \"zoom out\" button which will allow them to see the smaller resized version. Checking this box will prevent these buttons from appearing." +msgstr "" + +#: lightbox2.admin.inc:159 +msgid "Modal form settings" +msgstr "" + +#: lightbox2.admin.inc:167 +msgid "Enable login support" +msgstr "" + +#: lightbox2.admin.inc:168 +msgid "Enabling this option will modify all login links so that the login form appears in a lightbox." +msgstr "" + +#: lightbox2.admin.inc:175 +msgid "Enable contact form support" +msgstr "" + +#: lightbox2.admin.inc:176 +msgid "Enabling this option will modify all contact links so that the contact form appears in a lightbox." +msgstr "" + +#: lightbox2.admin.inc:184 +msgid "Video settings" +msgstr "" + +#: lightbox2.admin.inc:192 +msgid "Enable video support" +msgstr "" + +#: lightbox2.admin.inc:193 +msgid "By default, video support is disabled in order to reduce the amount of javascript needed. Checking this box will enable it." +msgstr "" + +#: lightbox2.admin.inc:200 +msgid "Path to FLV Player" +msgstr "" + +#: lightbox2.admin.inc:201 +msgid "The path to the FLV player, relative to Drupal root directory." +msgstr "" + +#: lightbox2.admin.inc:208 +msgid "FLV Player flashvars" +msgstr "" + +#: lightbox2.admin.inc:209 +msgid "Flashvars for the FLV Player where supported, e.g. \"autoplay=1&playerMode=normal\"." +msgstr "" + +#: lightbox2.admin.inc:216 +msgid "Page specific lightbox2 settings" +msgstr "" + +#: lightbox2.admin.inc:223 +msgid "Load only on the listed pages." +msgstr "" + +#: lightbox2.admin.inc:224 +msgid "Load on every page except the listed pages." +msgstr "" + +#: lightbox2.admin.inc:229 +msgid "Enable lightbox2 on specific pages" +msgstr "" + +#: lightbox2.admin.inc:235 +msgid "Pages" +msgstr "" + +#: lightbox2.admin.inc:236 +msgid "List one page per line as Drupal paths. The * character is a wildcard. Example paths are \"node/add/page\" and \"node/add/*\". Use <front> to match the front page." +msgstr "" + +#: lightbox2.admin.inc:245 +msgid "CCK display settings" +msgstr "" + +#: lightbox2.admin.inc:251 +msgid "No grouping" +msgstr "" + +#: lightbox2.admin.inc:252 +msgid "Group by field name" +msgstr "" + +#: lightbox2.admin.inc:253 +msgid "Group by node id" +msgstr "" + +#: lightbox2.admin.inc:254 +msgid "Group by field name and node id" +msgstr "" + +#: lightbox2.admin.inc:261 +msgid "Select Emfield Image grouping in Views" +msgstr "" + +#: lightbox2.admin.inc:262 +msgid "By default, emfield images in views are grouped by the field name they appear in the view in. You can override that grouping here." +msgstr "" + +#: lightbox2.admin.inc:272 +msgid "Select Imagefield grouping in Views" +msgstr "" + +#: lightbox2.admin.inc:273 +msgid "By default, imagefields in views are grouped by the field name they appear in the view in. You can override that grouping here." +msgstr "" + +#: lightbox2.admin.inc:279 +msgid "Use node title as caption" +msgstr "" + +#: lightbox2.admin.inc:280 +msgid "By default, the caption for imagefields is the image title text configured. If no title is configured, then the alt text will be used. This option allows you to override that and always display the node title as the image caption." +msgstr "" + +#: lightbox2.admin.inc:291 +msgid "Advanced settings" +msgstr "" + +#: lightbox2.admin.inc:301 +msgid "Location of javscript" +msgstr "" + +#: lightbox2.admin.inc:302 +msgid "Header" +msgstr "" + +#: lightbox2.admin.inc:302 +msgid "Footer" +msgstr "" + +#: lightbox2.admin.inc:303 +msgid "By default, the lightbox javascript files are loaded in the HTML header. However, for sites using SWFObject to load their Flash content, the footer setting is recommended to prevent \"Operation Aborted\" errors in IE. If using the footer setting, please note that not all themes correctly implement the footer region and may require a small change." +msgstr "" + +#: lightbox2.admin.inc:309 +msgid "Click on overlay or lightbox to close it" +msgstr "" + +#: lightbox2.admin.inc:310 +msgid "Enable user to close lightbox by clicking on the lightbox itself or the overlay background." +msgstr "" + +#: lightbox2.admin.inc:318 +msgid "Keyboard shortcuts" +msgstr "" + +#: lightbox2.admin.inc:319 +msgid "Configure the keyboard shortcuts for controlling the lightbox. These options do not apply to the Lightbox2 Lite version, which uses the default \"Close keys\" (c, x and esc) to close the lightbox." +msgstr "" + +#: lightbox2.admin.inc:326 +msgid "Close keys" +msgstr "" + +#: lightbox2.admin.inc:327 +msgid "A list of keys (or key codes) that a user may use to close the lightbox. Values should be separated by a space. Defaults to 'c x 27' (c, x, or esc)." +msgstr "" + +#: lightbox2.admin.inc:333 +msgid "Previous keys" +msgstr "" + +#: lightbox2.admin.inc:334 +msgid "A list of keys (or key codes) that a user may use to navigate to the previous item in the lightbox. Values should be separated by a space. Defaults to 'p 37' (p or left arrow)." +msgstr "" + +#: lightbox2.admin.inc:340 +msgid "Next keys" +msgstr "" + +#: lightbox2.admin.inc:341 +msgid "A list of keys (or key codes) that a user may use to navigate to the next item in the lightbox. Values should be separated by a space. Defaults to 'n 39' (n or right arrow)." +msgstr "" + +#: lightbox2.admin.inc:347 +msgid "Zoom keys" +msgstr "" + +#: lightbox2.admin.inc:348 +msgid "A list of keys (or key codes) that a user may use to zoom in / out of images in the lightbox. Values should be separated by a space. Defaults to 'z'." +msgstr "" + +#: lightbox2.admin.inc:354 +msgid "Pause / play keys" +msgstr "" + +#: lightbox2.admin.inc:355 +msgid "A list of keys (or key codes) that a user may use to pause / play the lightbox. Values should be separated by a space. Defaults to '32' (spacebar)." +msgstr "" + +#: lightbox2.admin.inc:366 +msgid "Skin settings" +msgstr "" + +#: lightbox2.admin.inc:373 +msgid "Border size" +msgstr "" + +#: lightbox2.admin.inc:376 +msgid "Enter the size of the border in pixels to display around the image." +msgstr "" + +#: lightbox2.admin.inc:382 +msgid "Lightbox color" +msgstr "" + +#: lightbox2.admin.inc:386 +msgid "Enter a hexadecimal color value for the border. For example fff or ffffff for white)." +msgstr "" + +#: lightbox2.admin.inc:392 +msgid "Font color" +msgstr "" + +#: lightbox2.admin.inc:396 +msgid "Enter a hexadecimal color value for the font. For example 000 or 000000 for black)." +msgstr "" + +#: lightbox2.admin.inc:402 +msgid "Distance from top" +msgstr "" + +#: lightbox2.admin.inc:405 +msgid "Enter the position of the top of the lightbox in pixels. Leave blank for automatic calculation." +msgstr "" + +#: lightbox2.admin.inc:415 +msgid "Overlay settings" +msgstr "" + +#: lightbox2.admin.inc:426 +msgid "Overlay opacity" +msgstr "" + +#: lightbox2.admin.inc:428 +msgid "The overlay opacity setting determines how visible the background page is behind the lightbox. The opacity value can range from 0.0 to 1.0 where 0.0 is 100% transparent and 1.0 is 100% opaque." +msgstr "" + +#: lightbox2.admin.inc:434 +msgid "Overlay color" +msgstr "" + +#: lightbox2.admin.inc:438 +msgid "Enter a hexadecimal color value for the overlay. For example 000 or 000000 for black)." +msgstr "" + +#: lightbox2.admin.inc:447 +msgid "Animation settings" +msgstr "" + +#: lightbox2.admin.inc:453 +msgid "These options aren't available when using Lightbox2 Lite." +msgstr "" + +#: lightbox2.admin.inc:456 +msgid "Simultaneous" +msgstr "" + +#: lightbox2.admin.inc:457 +msgid "Width then height" +msgstr "" + +#: lightbox2.admin.inc:458 +msgid "Height then width" +msgstr "" + +#: lightbox2.admin.inc:462 +msgid "Resize sequence" +msgstr "" + +#: lightbox2.admin.inc:464 +msgid "The sequence to use for the resizing animation." +msgstr "" + +#: lightbox2.admin.inc:469 +msgid "Resize duration" +msgstr "" + +#: lightbox2.admin.inc:472 +msgid "The duration (in seconds) of the resizing animation. Enter a value between 0 and 10." +msgstr "" + +#: lightbox2.admin.inc:477 +msgid "Appearance duration" +msgstr "" + +#: lightbox2.admin.inc:480 +msgid "The duration (in seconds) of the lightbox appearance animation. Enter a value between 0 and 10." +msgstr "" + +#: lightbox2.admin.inc:487 +msgid "Caption slide down duration" +msgstr "" + +#: lightbox2.admin.inc:490 +msgid "The duration (in seconds) of the caption sliding-down animation. Enter a value between 0 and 10." +msgstr "" + +#: lightbox2.admin.inc:520 +msgid "FLV player path doesn't exist." +msgstr "" + +#: lightbox2.admin.inc:526;535;539 +msgid "You must enter a properly formed hex value." +msgstr "" + +#: lightbox2.admin.inc:531 +msgid "You must enter a size greater than 0 pixels." +msgstr "" + +#: lightbox2.admin.inc:543 +msgid "You must enter a size greater than 0 pixels. Leave blank for default positioning." +msgstr "" + +#: lightbox2.admin.inc:547;551;555 +msgid "You must enter a duration between 0 and 10 seconds." +msgstr "" + +#: lightbox2.admin.inc:586 +msgid "Interval seconds" +msgstr "" + +#: lightbox2.admin.inc:587 +msgid "The slideshow interval is the length of time in seconds an image is visible before the slideshow shows the next image." +msgstr "" + +#: lightbox2.admin.inc:595 +msgid "Automatically start slideshow" +msgstr "" + +#: lightbox2.admin.inc:596 +msgid "When enabled the slideshow will automatically start." +msgstr "" + +#: lightbox2.admin.inc:603 +msgid "Automatically exit slideshow" +msgstr "" + +#: lightbox2.admin.inc:604 +msgid "When enabled the lightbox will automatically close after displaying the last image." +msgstr "" + +#: lightbox2.admin.inc:611 +msgid "Show play / pause button" +msgstr "" + +#: lightbox2.admin.inc:612 +msgid "When enabled, a play / pause button will be shown in the slideshow allowing the user more control over their viewing experience." +msgstr "" + +#: lightbox2.admin.inc:619 +msgid "Pause slideshow on \"Next Image\" click" +msgstr "" + +#: lightbox2.admin.inc:620 +msgid "When enabled the slideshow is automatically paused, and the following image shown, when the \"Next\" button is clicked." +msgstr "" + +#: lightbox2.admin.inc:627 +msgid "Pause slideshow on \"Previous Image\" click" +msgstr "" + +#: lightbox2.admin.inc:628 +msgid "When enabled the slideshow is automatically paused, and the previous image shown, when the \"Previous\" button is clicked." +msgstr "" + +#: lightbox2.admin.inc:635 +msgid "Continuous loop" +msgstr "" + +#: lightbox2.admin.inc:636 +msgid "When enabled the slideshow will automatically start over after displaying the last slide. This prevents the slideshow from automatically exiting when enabled." +msgstr "" + +#: lightbox2.admin.inc:650 +msgid "The \"interval seconds\" value must be numeric." +msgstr "" + +#: lightbox2.admin.inc:672 +msgid "Default width" +msgstr "" + +#: lightbox2.admin.inc:673 +msgid "The default width of the iframe in pixels." +msgstr "" + +#: lightbox2.admin.inc:681 +msgid "Default height" +msgstr "" + +#: lightbox2.admin.inc:682 +msgid "The default height of the iframe in pixels." +msgstr "" + +#: lightbox2.admin.inc:690 +msgid "Enable border" +msgstr "" + +#: lightbox2.admin.inc:691 +msgid "Enable iframe border. You can modify the border style in your theme's css file using the iframe's id \"lightboxFrame\"." +msgstr "" + +#: lightbox2.admin.inc:705 +msgid "The \"default width\" value must be numeric." +msgstr "" + +#: lightbox2.admin.inc:708 +msgid "The \"default height\" value must be numeric." +msgstr "" + +#: lightbox2.admin.inc:728 +msgid "Disabled" +msgstr "" + +#: lightbox2.admin.inc:729 +msgid "Lightbox" +msgstr "" + +#: lightbox2.admin.inc:730 +msgid "Lightbox grouped" +msgstr "" + +#: lightbox2.admin.inc:731 lightbox2.module:233 +msgid "Slideshow" +msgstr "" + +#: lightbox2.admin.inc:732 +msgid "HTML content" +msgstr "" + +#: lightbox2.admin.inc:733 +msgid "HTML content grouped" +msgstr "" + +#: lightbox2.admin.inc:738 +msgid "These options allow automatic URL re-formatting of images. This removes the need for you to add 'rel=\"lightbox\"' to each image link throughout your site. You can select which image sizes will trigger the lightbox and configure a list of image CSS classes which should also have their URLs automatically re-formatted. This feature is not available when using Lightbox2 Lite." +msgstr "" + +#: lightbox2.admin.inc:745 +msgid "Automatic handlers" +msgstr "" + +#: lightbox2.admin.inc:754 +msgid "Image node settings" +msgstr "" + +#: lightbox2.admin.inc:762 +msgid "Automatic handler for image nodes" +msgstr "" + +#: lightbox2.admin.inc:764 +msgid "Choose how URLs for image nodes will be automatically handled." +msgstr "" + +#: lightbox2.admin.inc:779 +msgid "Lightbox image display size" +msgstr "" + +#: lightbox2.admin.inc:782 +msgid "Select which image size will be loaded in the lightbox. This only applies to images uploaded with the Image module." +msgstr "" + +#: lightbox2.admin.inc:788 +msgid "Image trigger size" +msgstr "" + +#: lightbox2.admin.inc:791 +msgid "Select which image size, when clicked on, will automatically trigger the lightbox. This only applies to images uploaded with the Image module." +msgstr "" + +#: lightbox2.admin.inc:799 +msgid "Disable lightbox for gallery lists" +msgstr "" + +#: lightbox2.admin.inc:800 +msgid "Checking this box will disable the lightbox for images in gallery lists. This means it is possible to open a gallery by clicking on the teaser image, but the lightbox will still appear when viewing images within the gallery. This only applies to image galleries created with the \"image gallery\" module." +msgstr "" + +#: lightbox2.admin.inc:808 +msgid "Flickr images" +msgstr "" + +#: lightbox2.admin.inc:815 +msgid "Automatic handler for Flickr images" +msgstr "" + +#: lightbox2.admin.inc:817 +msgid "Choose how URLs for Flickr images will be automatically handled." +msgstr "" + +#: lightbox2.admin.inc:825 +msgid "Gallery2 images" +msgstr "" + +#: lightbox2.admin.inc:832 +msgid "Automatic handler for Gallery2 block images" +msgstr "" + +#: lightbox2.admin.inc:834 +msgid "Choose how URLs for images, contained within Gallery2 image blocks, will be automatically handled." +msgstr "" + +#: lightbox2.admin.inc:842 +msgid "Inline images" +msgstr "" + +#: lightbox2.admin.inc:849 +msgid "Automatic handler for Inline images" +msgstr "" + +#: lightbox2.admin.inc:851 +msgid "Choose how URLs for Inline images will be automatically handled." +msgstr "" + +#: lightbox2.admin.inc:859 +msgid "Image Assist images" +msgstr "" + +#: lightbox2.admin.inc:866 +msgid "Automatic handler for Image Assist custom size images" +msgstr "" + +#: lightbox2.admin.inc:868 +msgid "Choose how URLs for custom size images, displayed by the Image Assist module, will be automatically handled." +msgstr "" + +#: lightbox2.admin.inc:876 +msgid "Custom class images" +msgstr "" + +#: lightbox2.admin.inc:883 +msgid "Automatic handler for custom class images" +msgstr "" + +#: lightbox2.admin.inc:885 +msgid "Choose how URLs for custom class images will be automatically handled." +msgstr "" + +#: lightbox2.admin.inc:891 +msgid "Custom image trigger classes" +msgstr "" + +#: lightbox2.admin.inc:892 +msgid "List the image classes which should trigger the lightbox when clicked on. Put each class on a separate line." +msgstr "" + +#: lightbox2.admin.inc:902 +msgid "Acidfree settings" +msgstr "" + +#: lightbox2.admin.inc:908 +msgid "Disable lightbox for Acidfree gallery lists" +msgstr "" + +#: lightbox2.admin.inc:909 +msgid "Checking this box will disable the lightbox for images in gallery lists. This means it is possible to open a gallery by clicking on the teaser image, but the lightbox will still appear when viewing images within the gallery. This only applies to image galleries created with the \"acidfree\" module." +msgstr "" + +#: lightbox2.admin.inc:916 +msgid "Enable lightbox for Acidfree videos" +msgstr "" + +#: lightbox2.admin.inc:917 +msgid "Checking this box will enable the display of acidfree videos in a lightbox. This only applies to videos created by the \"video\" module and which appear in an acidfree gallery." +msgstr "" + +#: lightbox2.module:25 lightbox2.info:0 +msgid "Enables Lightbox2 for Drupal" +msgstr "" + +#: lightbox2.module:27 +msgid "

Overview

\n

Lightbox2 JS is a simple, unobtrusive script used to overlay images on the current page. It's a snap to setup and works on all modern browsers. The module comes with a Lightbox2 Lite option which does not use the JQuery libraries; it is therefore less likely to conflict with anything else.

\n

Places images above your current page, not within. This frees you from the constraints of the layout, particularly column widths. Keeps users on the same page. Clicking to view an image and then having to click the back button to return to your site is bad for continuity (and no fun!).

\n

Features

\nThe version 2 module has several benefits over the plain Lightbox module. Note, not all of these features are available when the \"Lightbox2 Lite\" option is enabled.\n
    \n
  • Image Sets: group related images and navigate through them with ease - ideal for your image galleries.
  • \n
  • Slideshow Capability: automatically transition between grouped images, includes play/pause and previous and next buttons.
  • \n
  • HTML Content Support: ability to show websites or other HTML content in a lightbox.
  • \n
  • Video Content Support: ability to show videos in a lightbox.
  • \n
  • Visual Effects: fancy pre-loader and transition when you click on the image.
  • \n
  • Keyboard Shortcuts: useful keyboard shortcuts for switching between images, toggling play / pause, etc.
  • \n
  • Zoom Capability: larger images are reduced in size so they fit snugly inside the browser window. A zoom button can then be clicked on to see it in its original size.
  • \n
  • Automatic Image Detection: configurable automatic re-formatting of\nimage thumbnails, so there is no need to add 'rel=\"lightbox\"' to each\nimage link on your site. Image, Inline, Flickr, Image Assist and CCK Imagefield modules are all\nsupported. It's also possible to configure a custom list of image classes\nwhich should trigger the lightbox functionality.
  • \n
  • Imagecache Support: adds a Lightbox2 field formatter for CCK imagefields for your custom views.
  • \n
  • Image Page Link: a link to the image node can be provided within the lightbox itself.
  • \n
  • Page Exclusion Capability: exclude certain pages on your site from having the lightbox2 functionality.
  • \n
  • Login Support: ability to modify all user/login links so the login form appears in a lightbox.
  • \n
  • Skin and Animation Configuration: configure the order and speed of the lightbox animations, along with the lightbox colors, border size and overlay opacity.
  • \n
  • Gallery 2 Support: support for Gallery 2 images via the Gallery module (beta).
  • \n
\n

Usage

\n
Adding a Basic Lightbox
\n

Add rel="lightbox" attribute to any link tag to activate the lightbox. For example:

\n

<a href="image-1.jpg" rel="lightbox">image #1</a>

\n

<a href="image-1.jpg" rel="lightbox[][my caption]">image #1</a>

\n

Optional: To show a caption either use the title attribute or put in the second set of [] of the rel attribute.

\n
Grouping Images
\n

If you have a set of related images that you would like to group, follow\n step one but additionally include a group name between square brackets in the\n rel attribute. For example:

<a href=\"images/image-1.jpg\"\n rel=\"lightbox[roadtrip]\">image #1</a>
\n<a href=\"images/image-2.jpg\" rel=\"lightbox[roadtrip][caption 2]\">image\n#2</a>
\n<a href=\"images/image-3.jpg\" rel=\"lightbox[roadtrip][caption 3]\">image\n#3</a>

\n

No limits to the number of image sets per page or how many images are allowed\nin each set.

\n\n

If you have a set of images that you would like to group together in a lightbox, but only wish for one of these images to be visible on your page, you can assign the \"lightbox_hide_image\" class to hide the additional images. For example:

\n\n

<a href=\"images/image-1.jpg\" rel=\"lightbox[roadtrip]\">image #1</a>
\n<a href=\"images/image-2.jpg\" rel=\"lightbox[roadtrip]\" class=\"lightbox_hide_image\">image #2</a>
\n<a href=\"images/image-3.jpg\" rel=\"lightbox[roadtrip][caption 3]\" class=\"lightbox_hide_image\">image #3</a>

\n\n
Slideshow
\n

This is very similar to the grouping functionality described above. The only difference is that \"rel\" attribute should be set to \"lightshow\" instead of \"lightbox\". Using the same example as above, we could launch the images in a slideshow by doing:

\n\n

<a href=\"images/image-1.jpg\" rel=\"lightshow[roadtrip]\">image #1</a>
\n<a href=\"images/image-2.jpg\" rel=\"lightshow[roadtrip][caption 2]\">image #2</a>
\n<a href=\"images/image-3.jpg\" rel=\"lightshow[roadtrip][caption 3]\">image #3</a>

\n\n
Video Content
\n

\nIt's possible to show video content in the lightbox. In this case the \"rel\" attribute should be set to lightvideo. It's possible to group videos and to control the size of the lightbox by setting the 'width' and 'height' properties. The properties can be configured like lightvideo[group|width:300px; height: 200px;] and lightvideo[|width:300px; height: 200px;][my caption]. The properties should all be of the format \"property: value;\" - note the closing semi-colon. If no properties are set, then the default width and height of 400px will be used. See below for more detailed examples.

\n\n

Basic example:
\n\n<a href=\"http://video.google.com/videoplay?docid=1811233136844420765\" rel=\"lightvideo\">Google video example - default size</a>
\n

\n\n

Basic example with caption:
\n\n<a href=\"http://video.google.com/videoplay?docid=1811233136844420765\" rel=\"lightvideo[][my caption]\">Google video example - default size</a>
\n

\n\n

Grouped example:
\n\n<a href=\"http://video.google.com/videoplay?docid=29023498723974239479\" rel=\"lightvideo[group][my caption]\">Grouped example 1</a>
\n<a href=\"http://video.google.com/videoplay?docid=1811233136844420765\" rel=\"lightvideo[group][my caption]\">Grouped example 2</a>
\n

\n\n

Controlling lightbox size example:
\n\n<a href=\"http://video.google.com/videoplay?docid=1811233136844420765\" rel=\"lightvideo[|width:400px; height:300px;][my caption]\">Google video example - custom size</a>
\n

\n\n

Supported Video Formats
\nasx, wmv, mov and swf videos should all be supported. A number of video providers are also supported, for example YouTube and Google Video. For full details on how to integrate these with lightbox, please see the online documentation.

\n\n
HTML Content
\n

It's possible to show webpage content in the lightbox, using iframes. In this case the \"rel\" attribute should be set to lightframe. Again it's possible to group the items, (e.g. lightframe[search]) but in addition to that, it's possible to control some of the iframe properties. It's possible to set the 'width', 'height' and 'scrolling' properties of the iframe. The properties are separated from the group name by a |, for example lightframe[search|width:100px;] and lightframe[search|width:120px][my caption]. If no grouping is being used, then the | is still used and the format would be lightframe[|width:100px;]. The properties should all be of the format \"property: value;\" - note the closing semi-colon. If no iframe properties are set, then the default width and height of 400px will be used. See below for more detailed examples.

\n\n

Basic example:
\n\n<a href=\"http://www.google.com\" rel=\"lightframe[][Search Google]\">Search google</a>\n

\n\n

Grouped example:
\n\n<a href=\"http://www.google.com\" rel=\"lightframe[search]\">Search google</a>
\n<a href=\"http://www.yahoo.com\" rel=\"lightframe[search][Search Yahoo]\">Search yahoo</a>\n

\n\n

Controlling iframe property example:
\n\n<a href=\"http://www.google.com\" rel=\"lightframe[|width:400px; height:300px; scrolling: auto;]\">Search google</a>\n

\n\n

Controlling iframe property when grouped example:
\n\n<a href=\"http://www.google.com\" rel=\"lightframe[search|width:400px; height:300px; scrolling: auto;]\">Search google</a>
\n<a href=\"http://www.yahoo.com\" rel=\"lightframe[search|width:400px; height:300px;][Search Yahoo]\">Search yahoo</a>\n

\n\n
Inline Content Support
\n

It's possible to show HTML snippets in the lightbox, that is on the same domain. In this case the \"rel\" attribute should be set to lightmodal. Again it's possible to group the content, (e.g. lightmodal[search]) but in addition to that, it's possible to control some of the inline / modal properties. It's possible to set the 'width', 'height' and 'scrolling' properties of the inline content. The properties are separated from the group name by a |, for example lightmodal[search|width:100px;] and lightmodal[search|width:100px;][my caption]. If no grouping is being used, then the | is still used and the format would be lightmodal[|width:100px;]. The properties should all be of the format \"property: value;\" - note the closing semi-colon. If no properties are set, then the default width and height of 400px will be used. See below for more detailed examples.

\n\n

Basic example:
\n\n<a href=\"search.php\" rel=\"lightmodal\">Search</a>\n

\n\n

Basic example with caption:
\n\n<a href=\"search.php\" rel=\"lightmodal[][my caption]\">Search</a>\n

\n\n

Grouped example:
\n\n<a href=\"search.php\" rel=\"lightmodal[search]\">Search</a>
\n<a href=\"search.php?status=1\" rel=\"lightmodal[search][published]\">Search published content</a>\n

\n\n

Controlling modal property example:
\n\n<a href=\"search.php\" rel=\"lightmodal[|width:400px; height:300px; scrolling: auto;]\">Search</a>\n

\n\n

Controlling modal property when grouped example:
\n\n<a href=\"search.php\" rel=\"lightmodal[search|width:400px; height:300px; scrolling: auto;]\">Search</a>
\n<a href=\"search.php?status=1\" rel=\"lightmodal[search|width:400px; height:300px;][Search published]\">Search published content</a>
\n<a href=\"search.php?status=0\" rel=\"lightmodal[search|width:400px; height:300px;][Search Unpublished]\">Search unpublished content</a>\n

\n\n\n

Keyboard Shortcuts

\n

The default keyboard shortcuts are listed below. You can override these on the admin page.\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
Close Lightboxx
o
c
ESC
Previous Imagep
Left Arrow
Next Imagen
Right Arrow
Toggle Zoomz (not available in slideshow)
Toggle Play / PauseSpacebar (slideshow only)
\n\n

Not all of the keyboard shortcuts work in the Opera browser, for example \"z\" for toggling the zoom and \"spacebar\" for toggling play / pause in slideshows. This can be overcome by updating your shortcut settings in the Opera preferences editor.

\n" +msgstr "" + +#: lightbox2.module:314;418 +msgid "Image links with 'rel=\"lightbox\"' in the <a> tag will appear in a Lightbox when clicked on." +msgstr "" + +#: lightbox2.module:317 +msgid "To add a lightbox to your images, add rel=\"lightbox\" attribute to any link tag to activate the lightbox. For example:" +msgstr "" + +#: lightbox2.module:318 +msgid "<a href=\"image-1.jpg\" rel=\"lightbox\">image #1</a>" +msgstr "" + +#: lightbox2.module:319 +msgid "<a href=\"image-1.jpg\" rel=\"lightbox[][my caption]\">image #1</a>" +msgstr "" + +#: lightbox2.module:320 +msgid "To show a caption either use the title attribute or put in the second set of square brackets of the rel attribute." +msgstr "" + +#: lightbox2.module:321 +msgid "If you have a set of related images that you would like to group, then you will need to include a group name between square brackets in the rel attribute. For example:" +msgstr "" + +#: lightbox2.module:322 +msgid "<a href=\"image-1.jpg\" rel=\"lightbox[roadtrip]\">image #1</a>
<a href=\"image-2.jpg\" rel=\"lightbox[roadtrip][caption 2]\">image #2</a>
<a href=\"image-3.jpg\" rel=\"lightbox[roadtrip][caption 3]\">image #3</a>
" +msgstr "" + +#: lightbox2.module:323 +msgid "There are no limits to the number of image sets per page or how many images are allowed in each set." +msgstr "" + +#: lightbox2.module:324;341 +msgid "If you wish to turn the caption into a link, format your caption in the following way:" +msgstr "" + +#: lightbox2.module:325 +msgid "<a href=\"image-1.jpg\" rel='lightbox[][<a href=\"http://www.yourlink.com\">View Image Details</a>]' >image #1</a>" +msgstr "" + +#: lightbox2.module:330 +msgid "Image links from G2 are formatted for use with Lightbox2" +msgstr "" + +#: lightbox2.module:334;424 +msgid "Image links with 'rel=\"lightshow\"' in the <a> tag will appear in a Lightbox slideshow when clicked on." +msgstr "" + +#: lightbox2.module:337 +msgid "To add a lightbox slideshow to your images, add rel=\"lightshow[slideshowname][slide caption]\" attribute to any link tag to activate the slideshow. For example:" +msgstr "" + +#: lightbox2.module:338 +msgid "<a href=\"image-1.jpg\" rel=\"lightshow[show1]\">image #1</a>
<a href=\"image-2.jpg\" rel=\"lightshow[show1]\">image #2</a>
<a href=\"image-3.jpg\" rel=\"lightshow[show1]\">image #3</a>
" +msgstr "" + +#: lightbox2.module:339 +msgid "The title attribute in the link tag is optional. The addition of this attribute enables the display of a caption with the image displayed in the lightbox." +msgstr "" + +#: lightbox2.module:340 +msgid "There are no limits to the number of slideshow image sets per page or how many images are allowed in each slideshow." +msgstr "" + +#: lightbox2.module:342 +msgid "<a href=\"image-1.jpg\" rel='lightshow[show1][<a href=\"http://www.yourlink.com\">View Image Details</a>]'>image #1</a>" +msgstr "" + +#: lightbox2.module:348;427 +msgid "Links to HTML content with 'rel=\"lightframe\"' in the <a> tag will appear in a Lightbox when clicked on." +msgstr "" + +#: lightbox2.module:351 +msgid "It's possible to show webpage content in the lightbox, using iframes. In this case the \"rel\" attribute should be set to \"lightframe\". Again it's possible to group the content, (e.g. lightframe[search][caption]) but in addition to that, it's possible to control some of the iframe properties. It's possible to set the \"width\", \"height\" and \"scrolling\" properties of the iframe. The properties are separated from the group name by a |, for example lightframe[search|width:100px;][caption]. If no grouping is being used, then the | is still used and the format would be lightframe[|width:100px;]. The properties should all be of the format \"property: value;\" - note the closing semi-colon. If no iframe properties are set, then the default width and height of 400px will be used. See below for more detailed examples." +msgstr "" + +#: lightbox2.module:352;371;385 +msgid "Basic example:" +msgstr "" + +#: lightbox2.module:353 +msgid "<a href="http://www.google.com" rel="lightframe">Search google</a>" +msgstr "" + +#: lightbox2.module:354;387 +msgid "Grouped example:" +msgstr "" + +#: lightbox2.module:355 +msgid "<a href="http://www.google.com" rel="lightframe[search][caption]">Search google</a>
<a href="http://www.yahoo.com" rel="lightframe[search]">Search yahoo</a>
" +msgstr "" + +#: lightbox2.module:357 +msgid "Controlling iframe property example:" +msgstr "" + +#: lightbox2.module:358 +msgid "<a href="http://www.google.com" rel="lightframe[|width:400px; height:300px; scrolling: auto;][caption]">Search google</a>" +msgstr "" + +#: lightbox2.module:359 +msgid "Controlling iframe property when grouped example:" +msgstr "" + +#: lightbox2.module:360 +msgid "<a href="http://www.google.com" rel="lightframe[search|width:400px; height:300px; scrolling: auto;]">Search google</a>
<a href="http://www.yahoo.com" rel="lightframe[search|width:400px; height:300px;]">Search yahoo</a>
" +msgstr "" + +#: lightbox2.module:367;430 +msgid "Links to video content with 'rel=\"lightvideo\"' in the <a> tag will appear in a Lightbox when clicked on." +msgstr "" + +#: lightbox2.module:370 +msgid "It's possible to show video content in the lightbox. In this case the \"rel\" attribute should be set to lightvideo. It's possible to group videos and to control the size of the lightbox by setting the \"width\" and \"height\" properties. The properties can be configured like lightvideo[group|width:300px; height: 200px;][caption]. The properties should all be of the format \"property: value;\" - note the closing semi-colon. If no properties are set, then the default width and height of 400px will be used. See below for more detailed examples." +msgstr "" + +#: lightbox2.module:372 +msgid "<a href="http://video.google.com/videoplay?docid=1811233136844420765" rel="lightvideo">Google video example - default size</a>" +msgstr "" + +#: lightbox2.module:373 +msgid "Controlling lightbox size example:" +msgstr "" + +#: lightbox2.module:374 +msgid "<a href="http://video.google.com/videoplay?docid=1811233136844420765" rel="lightvideo[group|width:400px; height:300px;][caption]">Google video example - custom size</a>" +msgstr "" + +#: lightbox2.module:375 +msgid "Supported video formats include asx, wmv, mov and swf. A number of online video providers are also supported, including YouTube and Google Video. For a full list of the current supported video providers please see the documentation on drupal.org." +msgstr "" + +#: lightbox2.module:381;433 +msgid "Links to inline or modal content with 'rel=\"lightmodal\"' in the <a> tag will appear in a Lightbox when clicked on." +msgstr "" + +#: lightbox2.module:384 +msgid "It's possible to show HTML snippets in the lightbox, that is on the same domain. In this case the \"rel\" attribute should be set to \"lightmodal\". Again it's possible to group the content, (e.g. lightmodal[group][caption]) but in addition to that, it's possible to control some of the modal properties. It's possible to set the \"width\", \"height\" and \"scrolling\" properties of the modal. The properties are separated from the group name by a |, for example lightmodal[group|width:100px;][caption]. If no grouping is being used, then the | is still used and the format would be lightmodal[|width:100px;]. The properties should all be of the format \"property: value;\" - note the closing semi-colon. If no modal properties are set, then the default width and height of 400px will be used. See below for more detailed examples." +msgstr "" + +#: lightbox2.module:386 +msgid "<a href="search.php" rel="lightmodal">Search</a>" +msgstr "" + +#: lightbox2.module:388 +msgid "<a href="search.php" rel="lightmodal[search][caption 1]">Search</a>
<a href="search.php?status=1" rel="lightmodal[search]">Search published</a>
" +msgstr "" + +#: lightbox2.module:390 +msgid "Controlling modal property example:" +msgstr "" + +#: lightbox2.module:391 +msgid "<a href="search.php" rel="lightmodal[|width:400px; height:300px; scrolling: auto;][caption]">Search</a>" +msgstr "" + +#: lightbox2.module:392 +msgid "Controlling modal property when grouped example:" +msgstr "" + +#: lightbox2.module:393 +msgid "<a href="search.php" rel="lightmodal[search|width:400px; height:300px; scrolling: auto;]">Search</a>
<a href="search.php?status=1" rel="lightmodal[search|width:400px; height:300px;]">Search published</a>
" +msgstr "" + +#: lightbox2.module:407 +msgid "Lightbox filter" +msgstr "" + +#: lightbox2.module:408 +msgid "Lightbox G2 filter" +msgstr "" + +#: lightbox2.module:409 +msgid "Lightbox slideshow filter" +msgstr "" + +#: lightbox2.module:410 +msgid "Lightbox iframe filter" +msgstr "" + +#: lightbox2.module:411 +msgid "Lightbox video filter" +msgstr "" + +#: lightbox2.module:412 +msgid "Lightbox modal filter" +msgstr "" + +#: lightbox2.module:413 +msgid "Disable Lightbox iframe filter" +msgstr "" + +#: lightbox2.module:421 +msgid "Turns g2_filter links into Lightbox2 appropriate links" +msgstr "" + +#: lightbox2.module:436 +msgid "It's possible to show webpage content in the lightbox, using iframes. In this case the \"rel\" attribute should be set to \"lightframe\". However, users can do this without any filters to be enabled. To prevent users from adding iframes to the site in this manner, then please enable this option." +msgstr "" + +#: lightbox2.module:663 +msgid "press !x to close" +msgstr "" + +#: lightbox2.module:808 +msgid "Lightbox2: Image Thumbnail -> Original" +msgstr "" + +#: lightbox2.module:812 +msgid "Lightbox2 slideshow: Image Thumbnail -> Original" +msgstr "" + +#: lightbox2.module:816 +msgid "Lightbox2 iframe: Image Thumbnail -> Content" +msgstr "" + +#: lightbox2.module:822 +msgid "Lightbox2: Image Thumbnail -> Full Size Video" +msgstr "" + +#: lightbox2.module:828;1151 +msgid "Lightbox2 iframe" +msgstr "" + +#: lightbox2.module:1152 +msgid "Displays all kinds of files in a popup lightbox in an iframe." +msgstr "" + +#: lightbox2.module:1156 +msgid "Lightbox2 image" +msgstr "" + +#: lightbox2.module:1157 +msgid "Displays image files in a popup lightbox." +msgstr "" + +#: lightbox2.module:203 +msgid "administer lightbox2" +msgstr "" + +#: lightbox2.module:203 +msgid "download original image" +msgstr "" + +#: lightbox2.module:214 lightbox2.info:0 +msgid "Lightbox2" +msgstr "" + +#: lightbox2.module:215;223 +msgid "Allows the user to configure the lightbox2 settings" +msgstr "" + +#: lightbox2.module:222 +msgid "General" +msgstr "" + +#: lightbox2.module:234 +msgid "Allows the user to configure the lightbox2 slideshow functionality" +msgstr "" + +#: lightbox2.module:244 +msgid "HTML Content" +msgstr "" + +#: lightbox2.module:250 +msgid "Allows the user to configure the lightbox2 HTML content functionality." +msgstr "" + +#: lightbox2.module:255 +msgid "Automatic image handling" +msgstr "" + +#: lightbox2.module:256 +msgid "Allows the user to configure the lightbox2 automatic image handling settings" +msgstr "" + +#: lightbox2.module:283 +msgid "Login" +msgstr "" + +#: lightbox2.module:289 +msgid "Contact" +msgstr "" + +#: lightbox2.module:0 +msgid "lightbox2" +msgstr "" + diff --git a/sites/all/modules/lightbox2/translations/lightbox2.pot b/sites/all/modules/lightbox2/translations/lightbox2.pot new file mode 100644 index 0000000..340a430 --- /dev/null +++ b/sites/all/modules/lightbox2/translations/lightbox2.pot @@ -0,0 +1,1324 @@ +# $Id$ +# +# LANGUAGE translation of Drupal (general) +# Copyright YEAR NAME +# Generated from files: +# lightbox2.admin.inc,v 1.1.2.27 2009/07/07 23:31:03 snpower +# lightbox2.views.inc,v 1.1.2.1 2009/09/05 09:52:26 snpower +# lightbox2.module,v 1.16.2.16.2.154 2009/09/13 23:34:49 snpower +# lightbox2_handler_field_lightbox2.inc,v 1.1.2.1 2009/09/05 09:52:26 snpower +# lightbox2.info,v 1.1.6.4 2008/07/14 11:51:34 snpower +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: PROJECT VERSION\n" +"POT-Creation-Date: 2009-11-23 01:00+0100\n" +"PO-Revision-Date: YYYY-mm-DD HH:MM+ZZZZ\n" +"Last-Translator: NAME \n" +"Language-Team: LANGUAGE \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=utf-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\n" + +#: lightbox2.admin.inc:26 +msgid "View Image Details" +msgstr "" + +#: lightbox2.admin.inc:26 +msgid "Image !current of !total" +msgstr "" + +#: lightbox2.admin.inc:26 +msgid "Page !current of !total" +msgstr "" + +#: lightbox2.admin.inc:26 +msgid "Video !current of !total" +msgstr "" + +#: lightbox2.admin.inc:26 +msgid "Download Original" +msgstr "" + +#: lightbox2.admin.inc:32 +msgid "Layout settings" +msgstr "" + +#: lightbox2.admin.inc:42 +msgid "Lightbox2 lite" +msgstr "" + +#: lightbox2.admin.inc:50 +msgid "Use lightbox2 lite" +msgstr "" + +#: lightbox2.admin.inc:51 +msgid "Checking this box will enable Lightbox2 Lite and will disable all of the automatic image URL re-formatting features. It also disables all grouping features." +msgstr "" + +#: lightbox2.admin.inc:59 +msgid "Use alternative layout" +msgstr "" + +#: lightbox2.admin.inc:60 +msgid "Enabling this option alters the layout of the lightbox elements. In the alternative layout the navigational links appear under the image with the caption text, instead of being overlayed on the image itself. This doesn't apply when using Lightbox Lite." +msgstr "" + +#: lightbox2.admin.inc:67 +msgid "Force visibility of navigation links" +msgstr "" + +#: lightbox2.admin.inc:68 +msgid "When viewing grouped images, the navigational links to the next and previous images are only displayed when you hover over the image. Checking this box forces these links to be displayed all the time." +msgstr "" + +#: lightbox2.admin.inc:75 +msgid "Continuous galleries" +msgstr "" + +#: lightbox2.admin.inc:76 +msgid "When viewing grouped images, the Next button on the last image will display the first image, while the Previous button on the first image will display the last image." +msgstr "" + +#: lightbox2.admin.inc:83 +msgid "Open image page in new window" +msgstr "" + +#: lightbox2.admin.inc:84 +msgid "This controls whether the link to the image page underneath the image is opened in a new window or the current window." +msgstr "" + +#: lightbox2.admin.inc:92 +msgid "Text for image page link" +msgstr "" + +#: lightbox2.admin.inc:93 +msgid "This is the text that will appear as the link to the image page underneath the image in the lightbox. Leave this blank for the link not to appear." +msgstr "" + +#: lightbox2.admin.inc:100 +msgid "Text for image original link" +msgstr "" + +#: lightbox2.admin.inc:101 +msgid "This is the text that will appear as the link to the original file underneath the image in the lightbox. Leave this blank for the link not to appear. It will only appear for images uploaded via the \"image\" or \"imagefield\" modules. Users will need the \"download original image\" permission, but also the \"view original images\" permission if using the \"image\" module." +msgstr "" + +#: lightbox2.admin.inc:109 +msgid "Image count text" +msgstr "" + +#: lightbox2.admin.inc:110 +msgid "This text is used to display the image count underneath the image in the lightbox when image grouping is enabled. Use !current as a placeholder for the number of the current image and !total for the total number of images in the group. For example, \"Image !current of !total\". Leave blank for text not to appear." +msgstr "" + +#: lightbox2.admin.inc:117 +msgid "Page count text" +msgstr "" + +#: lightbox2.admin.inc:118 +msgid "This text is used to display the page count underneath HTML content displayed in the lightbox when using groups. Use !current as a placeholder for the number of the current page and !total for the total number of pages in the group. For example, \"Page !current of !total\". Leave blank for text not to appear." +msgstr "" + +#: lightbox2.admin.inc:125 +msgid "Video count text" +msgstr "" + +#: lightbox2.admin.inc:126 +msgid "This text is used to display the count underneath video content displayed in the lightbox when using groups. Use !current as a placeholder for the number of the current video and !total for the total number of videos in the group. For example, \"Video !current of !total\". Leave blank for text not to appear." +msgstr "" + +#: lightbox2.admin.inc:134 +msgid "Image resize settings" +msgstr "" + +#: lightbox2.admin.inc:142 +msgid "Disable resizing feature" +msgstr "" + +#: lightbox2.admin.inc:143 +msgid "By default, when the image being displayed in the lightbox is larger than the browser window, it is resized to fit within the window and a zoom button is provided for users who wish to view the image in its original size. Checking this box will disable this feature and all images will be displayed without any resizing." +msgstr "" + +#: lightbox2.admin.inc:150 +msgid "Disable zoom in / out feature" +msgstr "" + +#: lightbox2.admin.inc:151 +msgid "When the image being displayed in the lightbox is resized to fit in the browser window, a \"zoom in\" button is shown. This allows the user to zoom in to see the original full size image. They will then see a \"zoom out\" button which will allow them to see the smaller resized version. Checking this box will prevent these buttons from appearing." +msgstr "" + +#: lightbox2.admin.inc:159 +msgid "Modal form settings" +msgstr "" + +#: lightbox2.admin.inc:167 +msgid "Enable login support" +msgstr "" + +#: lightbox2.admin.inc:168 +msgid "Enabling this option will modify all login links so that the login form appears in a lightbox." +msgstr "" + +#: lightbox2.admin.inc:175 +msgid "Enable contact form support" +msgstr "" + +#: lightbox2.admin.inc:176 +msgid "Enabling this option will modify all contact links so that the contact form appears in a lightbox." +msgstr "" + +#: lightbox2.admin.inc:184 +msgid "Video settings" +msgstr "" + +#: lightbox2.admin.inc:192 +msgid "Enable video support" +msgstr "" + +#: lightbox2.admin.inc:193 +msgid "By default, video support is disabled in order to reduce the amount of javascript needed. Checking this box will enable it." +msgstr "" + +#: lightbox2.admin.inc:200 +msgid "Path to FLV Player" +msgstr "" + +#: lightbox2.admin.inc:201 +msgid "The path to the FLV player, relative to Drupal root directory." +msgstr "" + +#: lightbox2.admin.inc:208 +msgid "FLV Player flashvars" +msgstr "" + +#: lightbox2.admin.inc:209 +msgid "Flashvars for the FLV Player where supported, e.g. \"autoplay=1&playerMode=normal\"." +msgstr "" + +#: lightbox2.admin.inc:216 +msgid "Page specific lightbox2 settings" +msgstr "" + +#: lightbox2.admin.inc:223 +msgid "Load only on the listed pages." +msgstr "" + +#: lightbox2.admin.inc:224 +msgid "Load on every page except the listed pages." +msgstr "" + +#: lightbox2.admin.inc:229 +msgid "Enable lightbox2 on specific pages" +msgstr "" + +#: lightbox2.admin.inc:235 +msgid "Pages" +msgstr "" + +#: lightbox2.admin.inc:236 +msgid "List one page per line as Drupal paths. The * character is a wildcard. Example paths are \"node/add/page\" and \"node/add/*\". Use <front> to match the front page." +msgstr "" + +#: lightbox2.admin.inc:245 +msgid "CCK display settings" +msgstr "" + +#: lightbox2.admin.inc:251 +msgid "No grouping" +msgstr "" + +#: lightbox2.admin.inc:252 +msgid "Group by field name" +msgstr "" + +#: lightbox2.admin.inc:253 +msgid "Group by node id" +msgstr "" + +#: lightbox2.admin.inc:254 +msgid "Group by field name and node id" +msgstr "" + +#: lightbox2.admin.inc:261 +msgid "Select Emfield Image grouping in Views" +msgstr "" + +#: lightbox2.admin.inc:262 +msgid "By default, emfield images in views are grouped by the field name they appear in the view in. You can override that grouping here." +msgstr "" + +#: lightbox2.admin.inc:272 +msgid "Select Imagefield grouping in Views" +msgstr "" + +#: lightbox2.admin.inc:273 +msgid "By default, imagefields in views are grouped by the field name they appear in the view in. You can override that grouping here." +msgstr "" + +#: lightbox2.admin.inc:279 +msgid "Use node title as caption" +msgstr "" + +#: lightbox2.admin.inc:280 +msgid "By default, the caption for imagefields is the image title text configured. If no title is configured, then the alt text will be used. This option allows you to override that and always display the node title as the image caption." +msgstr "" + +#: lightbox2.admin.inc:291 +msgid "Advanced settings" +msgstr "" + +#: lightbox2.admin.inc:301 +msgid "Location of javscript" +msgstr "" + +#: lightbox2.admin.inc:302 +msgid "Header" +msgstr "" + +#: lightbox2.admin.inc:302 +msgid "Footer" +msgstr "" + +#: lightbox2.admin.inc:303 +msgid "By default, the lightbox javascript files are loaded in the HTML header. However, for sites using SWFObject to load their Flash content, the footer setting is recommended to prevent \"Operation Aborted\" errors in IE. If using the footer setting, please note that not all themes correctly implement the footer region and may require a small change." +msgstr "" + +#: lightbox2.admin.inc:309 +msgid "Click on overlay or lightbox to close it" +msgstr "" + +#: lightbox2.admin.inc:310 +msgid "Enable user to close lightbox by clicking on the lightbox itself or the overlay background." +msgstr "" + +#: lightbox2.admin.inc:318 +msgid "Keyboard shortcuts" +msgstr "" + +#: lightbox2.admin.inc:319 +msgid "Configure the keyboard shortcuts for controlling the lightbox. These options do not apply to the Lightbox2 Lite version, which uses the default \"Close keys\" (c, x and esc) to close the lightbox." +msgstr "" + +#: lightbox2.admin.inc:326 +msgid "Close keys" +msgstr "" + +#: lightbox2.admin.inc:327 +msgid "A list of keys (or key codes) that a user may use to close the lightbox. Values should be separated by a space. Defaults to 'c x 27' (c, x, or esc)." +msgstr "" + +#: lightbox2.admin.inc:333 +msgid "Previous keys" +msgstr "" + +#: lightbox2.admin.inc:334 +msgid "A list of keys (or key codes) that a user may use to navigate to the previous item in the lightbox. Values should be separated by a space. Defaults to 'p 37' (p or left arrow)." +msgstr "" + +#: lightbox2.admin.inc:340 +msgid "Next keys" +msgstr "" + +#: lightbox2.admin.inc:341 +msgid "A list of keys (or key codes) that a user may use to navigate to the next item in the lightbox. Values should be separated by a space. Defaults to 'n 39' (n or right arrow)." +msgstr "" + +#: lightbox2.admin.inc:347 +msgid "Zoom keys" +msgstr "" + +#: lightbox2.admin.inc:348 +msgid "A list of keys (or key codes) that a user may use to zoom in / out of images in the lightbox. Values should be separated by a space. Defaults to 'z'." +msgstr "" + +#: lightbox2.admin.inc:354 +msgid "Pause / play keys" +msgstr "" + +#: lightbox2.admin.inc:355 +msgid "A list of keys (or key codes) that a user may use to pause / play the lightbox. Values should be separated by a space. Defaults to '32' (spacebar)." +msgstr "" + +#: lightbox2.admin.inc:366 +msgid "Skin settings" +msgstr "" + +#: lightbox2.admin.inc:373 +msgid "Border size" +msgstr "" + +#: lightbox2.admin.inc:376 +msgid "Enter the size of the border in pixels to display around the image." +msgstr "" + +#: lightbox2.admin.inc:382 +msgid "Lightbox color" +msgstr "" + +#: lightbox2.admin.inc:386 +msgid "Enter a hexadecimal color value for the border. For example fff or ffffff for white)." +msgstr "" + +#: lightbox2.admin.inc:392 +msgid "Font color" +msgstr "" + +#: lightbox2.admin.inc:396 +msgid "Enter a hexadecimal color value for the font. For example 000 or 000000 for black)." +msgstr "" + +#: lightbox2.admin.inc:402 +msgid "Distance from top" +msgstr "" + +#: lightbox2.admin.inc:405 +msgid "Enter the position of the top of the lightbox in pixels. Leave blank for automatic calculation." +msgstr "" + +#: lightbox2.admin.inc:415 +msgid "Overlay settings" +msgstr "" + +#: lightbox2.admin.inc:426 +msgid "Overlay opacity" +msgstr "" + +#: lightbox2.admin.inc:428 +msgid "The overlay opacity setting determines how visible the background page is behind the lightbox. The opacity value can range from 0.0 to 1.0 where 0.0 is 100% transparent and 1.0 is 100% opaque." +msgstr "" + +#: lightbox2.admin.inc:434 +msgid "Overlay color" +msgstr "" + +#: lightbox2.admin.inc:438 +msgid "Enter a hexadecimal color value for the overlay. For example 000 or 000000 for black)." +msgstr "" + +#: lightbox2.admin.inc:447 +msgid "Animation settings" +msgstr "" + +#: lightbox2.admin.inc:453 +msgid "These options aren't available when using Lightbox2 Lite." +msgstr "" + +#: lightbox2.admin.inc:456 +msgid "Simultaneous" +msgstr "" + +#: lightbox2.admin.inc:457 +msgid "Width then height" +msgstr "" + +#: lightbox2.admin.inc:458 +msgid "Height then width" +msgstr "" + +#: lightbox2.admin.inc:462 +msgid "Resize sequence" +msgstr "" + +#: lightbox2.admin.inc:464 +msgid "The sequence to use for the resizing animation." +msgstr "" + +#: lightbox2.admin.inc:469 +msgid "Resize duration" +msgstr "" + +#: lightbox2.admin.inc:472 +msgid "The duration (in seconds) of the resizing animation. Enter a value between 0 and 10." +msgstr "" + +#: lightbox2.admin.inc:477 +msgid "Appearance duration" +msgstr "" + +#: lightbox2.admin.inc:480 +msgid "The duration (in seconds) of the lightbox appearance animation. Enter a value between 0 and 10." +msgstr "" + +#: lightbox2.admin.inc:487 +msgid "Caption slide down duration" +msgstr "" + +#: lightbox2.admin.inc:490 +msgid "The duration (in seconds) of the caption sliding-down animation. Enter a value between 0 and 10." +msgstr "" + +#: lightbox2.admin.inc:520 +msgid "FLV player path doesn't exist." +msgstr "" + +#: lightbox2.admin.inc:526;535;539 +msgid "You must enter a properly formed hex value." +msgstr "" + +#: lightbox2.admin.inc:531 +msgid "You must enter a size greater than 0 pixels." +msgstr "" + +#: lightbox2.admin.inc:543 +msgid "You must enter a size greater than 0 pixels. Leave blank for default positioning." +msgstr "" + +#: lightbox2.admin.inc:547;551;555 +msgid "You must enter a duration between 0 and 10 seconds." +msgstr "" + +#: lightbox2.admin.inc:586 +msgid "Interval seconds" +msgstr "" + +#: lightbox2.admin.inc:587 +msgid "The slideshow interval is the length of time in seconds an image is visible before the slideshow shows the next image." +msgstr "" + +#: lightbox2.admin.inc:595 +msgid "Automatically start slideshow" +msgstr "" + +#: lightbox2.admin.inc:596 +msgid "When enabled the slideshow will automatically start." +msgstr "" + +#: lightbox2.admin.inc:603 +msgid "Automatically exit slideshow" +msgstr "" + +#: lightbox2.admin.inc:604 +msgid "When enabled the lightbox will automatically close after displaying the last image." +msgstr "" + +#: lightbox2.admin.inc:611 +msgid "Show play / pause button" +msgstr "" + +#: lightbox2.admin.inc:612 +msgid "When enabled, a play / pause button will be shown in the slideshow allowing the user more control over their viewing experience." +msgstr "" + +#: lightbox2.admin.inc:619 +msgid "Pause slideshow on \"Next Image\" click" +msgstr "" + +#: lightbox2.admin.inc:620 +msgid "When enabled the slideshow is automatically paused, and the following image shown, when the \"Next\" button is clicked." +msgstr "" + +#: lightbox2.admin.inc:627 +msgid "Pause slideshow on \"Previous Image\" click" +msgstr "" + +#: lightbox2.admin.inc:628 +msgid "When enabled the slideshow is automatically paused, and the previous image shown, when the \"Previous\" button is clicked." +msgstr "" + +#: lightbox2.admin.inc:635 +msgid "Continuous loop" +msgstr "" + +#: lightbox2.admin.inc:636 +msgid "When enabled the slideshow will automatically start over after displaying the last slide. This prevents the slideshow from automatically exiting when enabled." +msgstr "" + +#: lightbox2.admin.inc:650 +msgid "The \"interval seconds\" value must be numeric." +msgstr "" + +#: lightbox2.admin.inc:672 +msgid "Default width" +msgstr "" + +#: lightbox2.admin.inc:673 +msgid "The default width of the iframe in pixels." +msgstr "" + +#: lightbox2.admin.inc:681 +msgid "Default height" +msgstr "" + +#: lightbox2.admin.inc:682 +msgid "The default height of the iframe in pixels." +msgstr "" + +#: lightbox2.admin.inc:690 +msgid "Enable border" +msgstr "" + +#: lightbox2.admin.inc:691 +msgid "Enable iframe border. You can modify the border style in your theme's css file using the iframe's id \"lightboxFrame\"." +msgstr "" + +#: lightbox2.admin.inc:705 +msgid "The \"default width\" value must be numeric." +msgstr "" + +#: lightbox2.admin.inc:708 +msgid "The \"default height\" value must be numeric." +msgstr "" + +#: lightbox2.admin.inc:728 +msgid "Disabled" +msgstr "" + +#: lightbox2.admin.inc:729 lightbox2.views.inc:14;21 +msgid "Lightbox" +msgstr "" + +#: lightbox2.admin.inc:730 +msgid "Lightbox grouped" +msgstr "" + +#: lightbox2.admin.inc:731 lightbox2.module:72;176 +msgid "Slideshow" +msgstr "" + +#: lightbox2.admin.inc:732 +msgid "HTML content" +msgstr "" + +#: lightbox2.admin.inc:733 +msgid "HTML content grouped" +msgstr "" + +#: lightbox2.admin.inc:738 +msgid "These options allow automatic URL re-formatting of images. This removes the need for you to add 'rel=\"lightbox\"' to each image link throughout your site. You can select which image sizes will trigger the lightbox and configure a list of image CSS classes which should also have their URLs automatically re-formatted. This feature is not available when using Lightbox2 Lite." +msgstr "" + +#: lightbox2.admin.inc:745 +msgid "Automatic handlers" +msgstr "" + +#: lightbox2.admin.inc:754 +msgid "Image node settings" +msgstr "" + +#: lightbox2.admin.inc:762 +msgid "Automatic handler for image nodes" +msgstr "" + +#: lightbox2.admin.inc:764 +msgid "Choose how URLs for image nodes will be automatically handled." +msgstr "" + +#: lightbox2.admin.inc:779 +msgid "Lightbox image display size" +msgstr "" + +#: lightbox2.admin.inc:782 +msgid "Select which image size will be loaded in the lightbox. This only applies to images uploaded with the Image module." +msgstr "" + +#: lightbox2.admin.inc:788 +msgid "Image trigger size" +msgstr "" + +#: lightbox2.admin.inc:791 +msgid "Select which image size, when clicked on, will automatically trigger the lightbox. This only applies to images uploaded with the Image module." +msgstr "" + +#: lightbox2.admin.inc:799 +msgid "Disable lightbox for gallery lists" +msgstr "" + +#: lightbox2.admin.inc:800 +msgid "Checking this box will disable the lightbox for images in gallery lists. This means it is possible to open a gallery by clicking on the teaser image, but the lightbox will still appear when viewing images within the gallery. This only applies to image galleries created with the \"image gallery\" module." +msgstr "" + +#: lightbox2.admin.inc:808 +msgid "Flickr images" +msgstr "" + +#: lightbox2.admin.inc:815 +msgid "Automatic handler for Flickr images" +msgstr "" + +#: lightbox2.admin.inc:817 +msgid "Choose how URLs for Flickr images will be automatically handled." +msgstr "" + +#: lightbox2.admin.inc:825 +msgid "Gallery2 images" +msgstr "" + +#: lightbox2.admin.inc:832 +msgid "Automatic handler for Gallery2 block images" +msgstr "" + +#: lightbox2.admin.inc:834 +msgid "Choose how URLs for images, contained within Gallery2 image blocks, will be automatically handled." +msgstr "" + +#: lightbox2.admin.inc:842 +msgid "Inline images" +msgstr "" + +#: lightbox2.admin.inc:849 +msgid "Automatic handler for Inline images" +msgstr "" + +#: lightbox2.admin.inc:851 +msgid "Choose how URLs for Inline images will be automatically handled." +msgstr "" + +#: lightbox2.admin.inc:859 +msgid "Image Assist images" +msgstr "" + +#: lightbox2.admin.inc:866 +msgid "Automatic handler for Image Assist custom size images" +msgstr "" + +#: lightbox2.admin.inc:868 +msgid "Choose how URLs for custom size images, displayed by the Image Assist module, will be automatically handled." +msgstr "" + +#: lightbox2.admin.inc:876 +msgid "Custom class images" +msgstr "" + +#: lightbox2.admin.inc:883 +msgid "Automatic handler for custom class images" +msgstr "" + +#: lightbox2.admin.inc:885 +msgid "Choose how URLs for custom class images will be automatically handled." +msgstr "" + +#: lightbox2.admin.inc:891 +msgid "Custom image trigger classes" +msgstr "" + +#: lightbox2.admin.inc:892 +msgid "List the image classes which should trigger the lightbox when clicked on. Put each class on a separate line." +msgstr "" + +#: lightbox2.admin.inc:902 +msgid "Acidfree settings" +msgstr "" + +#: lightbox2.admin.inc:908 +msgid "Disable lightbox for Acidfree gallery lists" +msgstr "" + +#: lightbox2.admin.inc:909 +msgid "Checking this box will disable the lightbox for images in gallery lists. This means it is possible to open a gallery by clicking on the teaser image, but the lightbox will still appear when viewing images within the gallery. This only applies to image galleries created with the \"acidfree\" module." +msgstr "" + +#: lightbox2.admin.inc:916 +msgid "Enable lightbox for Acidfree videos" +msgstr "" + +#: lightbox2.admin.inc:917 +msgid "Checking this box will enable the display of acidfree videos in a lightbox. This only applies to videos created by the \"video\" module and which appear in an acidfree gallery." +msgstr "" + +#: lightbox2.views.inc:23 +msgid "Lightbox trigger" +msgstr "" + +#: lightbox2.views.inc:24 +msgid "Provide custom text or link." +msgstr "" + +#: lightbox2_handler_field_lightbox2.inc:29 +msgid "" +msgstr "" + +#: lightbox2_handler_field_lightbox2.inc:42 +msgid "Trigger field" +msgstr "" + +#: lightbox2_handler_field_lightbox2.inc:43 +msgid "Select the field that should be turned into the trigger for the lightbox. Only fields that appear before this one in the field list may be used." +msgstr "" + +#: lightbox2_handler_field_lightbox2.inc:51 +msgid "Popup" +msgstr "" + +#: lightbox2_handler_field_lightbox2.inc:52 +msgid "Combine tokens from the \"Replacement patterns\" below and html to create what the lightbox popup will become." +msgstr "" + +#: lightbox2_handler_field_lightbox2.inc:59 +msgid "Enable Lightbox grouping" +msgstr "" + +#: lightbox2_handler_field_lightbox2.inc:66 +msgid "Height" +msgstr "" + +#: lightbox2_handler_field_lightbox2.inc:67 +msgid "Specify the height of the lightbox2 popup window. Because the content is dynamic, we cannot detect this value automatically." +msgstr "" + +#: lightbox2_handler_field_lightbox2.inc:74 +msgid "Width" +msgstr "" + +#: lightbox2_handler_field_lightbox2.inc:75 +msgid "Specify the width of the lightbox2 popup window. Because the content is dynamic, we cannot detect this value automatically." +msgstr "" + +#: lightbox2.module:25 lightbox2.info:0 +msgid "Enables Lightbox2 for Drupal" +msgstr "" + +#: lightbox2.module:28 +msgid "Overview" +msgstr "" + +#: lightbox2.module:29 +msgid "Lightbox2 JS is a simple, unobtrusive script used to overlay images on the current page. It's a snap to setup and works on all modern browsers. The module comes with a Lightbox2 Lite option which does not use the JQuery libraries; it is therefore less likely to conflict with anything else." +msgstr "" + +#: lightbox2.module:30 +msgid "Places images above your current page, not within. This frees you from the constraints of the layout, particularly column widths. Keeps users on the same page. Clicking to view an image and then having to click the back button to return to your site is bad for continuity (and no fun!)." +msgstr "" + +#: lightbox2.module:32 +msgid "Features" +msgstr "" + +#: lightbox2.module:33 +msgid "The version 2 module has several benefits over the plain Lightbox module. Note, not all of these features are available when the \"Lightbox2 Lite\" option is enabled." +msgstr "" + +#: lightbox2.module:35 +msgid "Image Sets: group related images and navigate through them with ease - ideal for your image galleries." +msgstr "" + +#: lightbox2.module:36 +msgid "Slideshow Capability: automatically transition between grouped images, includes play/pause and previous and next buttons." +msgstr "" + +#: lightbox2.module:37 +msgid "HTML Content Support: ability to show websites or other HTML content in a lightbox." +msgstr "" + +#: lightbox2.module:38 +msgid "Video Content Support: ability to show videos in a lightbox." +msgstr "" + +#: lightbox2.module:39 +msgid "Visual Effects: fancy pre-loader and transition when you click on the image." +msgstr "" + +#: lightbox2.module:40 +msgid "Keyboard Shortcuts: useful keyboard shortcuts for switching between images, toggling play / pause, etc." +msgstr "" + +#: lightbox2.module:41 +msgid "Zoom Capability: larger images are reduced in size so they fit snugly inside the browser window. A zoom button can then be clicked on to see it in its original size." +msgstr "" + +#: lightbox2.module:42 +msgid "Automatic Image Detection: configurable automatic re-formatting of image thumbnails, so there is no need to add 'rel=\"lightbox\"' to each image link on your site. " +msgstr "" + +#: lightbox2.module:43 +msgid "Image, Inline, Flickr, Image Assist and CCK Imagefield modules are all supported. " +msgstr "" + +#: lightbox2.module:44 +msgid "It's also possible to configure a custom list of image classes which should trigger the lightbox functionality." +msgstr "" + +#: lightbox2.module:46 +msgid "Imagecache Support: adds a Lightbox2 field formatter for CCK imagefields for your custom views." +msgstr "" + +#: lightbox2.module:47 +msgid "Image Page Link: a link to the image node can be provided within the lightbox itself." +msgstr "" + +#: lightbox2.module:48 +msgid "Page Exclusion Capability: exclude certain pages on your site from having the lightbox2 functionality." +msgstr "" + +#: lightbox2.module:49 +msgid "Login Support: ability to modify all user/login links so the login form appears in a lightbox." +msgstr "" + +#: lightbox2.module:50 +msgid "Skin and Animation Configuration: configure the order and speed of the lightbox animations, along with the lightbox colors, border size and overlay opacity." +msgstr "" + +#: lightbox2.module:51 +msgid "Gallery 2 Support: support for Gallery 2 images via the Gallery module (beta)." +msgstr "" + +#: lightbox2.module:54 +msgid "Usage" +msgstr "" + +#: lightbox2.module:55 +msgid "Adding a Basic Lightbox" +msgstr "" + +#: lightbox2.module:56 +msgid "Add rel="lightbox" attribute to any link tag to activate the lightbox. For example:" +msgstr "" + +#: lightbox2.module:57 +msgid "<a href="image-1.jpg" rel="lightbox">image #1</a>
\n <a href="image-1.jpg" rel="lightbox[][my caption]">image #1</a>" +msgstr "" + +#: lightbox2.module:59 +msgid "Optional: To show a caption either use the title attribute or put in the second set of [] of the rel attribute." +msgstr "" + +#: lightbox2.module:61 +msgid "Grouping Images" +msgstr "" + +#: lightbox2.module:62 +msgid "If you have a set of related images that you would like to group, follow step one but additionally include a group name between square brackets in the rel attribute. For example:" +msgstr "" + +#: lightbox2.module:63 +msgid "<a href=\"images/image-1.jpg\" rel=\"lightbox[roadtrip]\">image #1</a>
\n <a href=\"images/image-2.jpg\" rel=\"lightbox[roadtrip][caption 2]\">image#2</a>
\n <a href=\"images/image-3.jpg\" rel=\"lightbox[roadtrip][caption 3]\">image#3</a>" +msgstr "" + +#: lightbox2.module:66 +msgid "No limits to the number of image sets per page or how many images are allowed in each set." +msgstr "" + +#: lightbox2.module:67 +msgid "If you have a set of images that you would like to group together in a lightbox, but only wish for one of these images to be visible on your page, you can assign the \"lightbox_hide_image\" class to hide the additional images. For example:" +msgstr "" + +#: lightbox2.module:68 +msgid "<a href=\"images/image-1.jpg\" rel=\"lightbox[roadtrip]\">image #1</a>
\n <a href=\"images/image-2.jpg\" rel=\"lightbox[roadtrip]\" class=\"lightbox_hide_image\">image #2</a>
\n <a href=\"images/image-3.jpg\" rel=\"lightbox[roadtrip][caption 3]\" class=\"lightbox_hide_image\">image #3</a>" +msgstr "" + +#: lightbox2.module:73 +msgid "This is very similar to the grouping functionality described above. The only difference is that \"rel\" attribute should be set to \"lightshow\" instead of \"lightbox\". Using the same example as above, we could launch the images in a slideshow by doing:" +msgstr "" + +#: lightbox2.module:74 +msgid "<a href=\"images/image-1.jpg\" rel=\"lightshow[roadtrip]\">image #1</a>
\n <a href=\"images/image-2.jpg\" rel=\"lightshow[roadtrip][caption 2]\">image #2</a>
\n <a href=\"images/image-3.jpg\" rel=\"lightshow[roadtrip][caption 3]\">image #3</a>" +msgstr "" + +#: lightbox2.module:78 +msgid "Video Content" +msgstr "" + +#: lightbox2.module:79 +msgid "It's possible to show video content in the lightbox. In this case the \"rel\" attribute should be set to lightvideo. It's possible to group videos and to control the size of the lightbox by setting the 'width' and 'height' properties. The properties can be configured like lightvideo[group|width:300px; height: 200px;] and lightvideo[|width:300px; height: 200px;][my caption]. The properties should all be of the format \"property: value;\" - note the closing semi-colon. If no properties are set, then the default width and height of 400px will be used. See below for more detailed examples." +msgstr "" + +#: lightbox2.module:80;94;107;295;314;328 +msgid "Basic example:" +msgstr "" + +#: lightbox2.module:81 +msgid "<a href=\"http://video.google.com/videoplay?docid=1811233136844420765\" rel=\"lightvideo\">Google video example - default size</a>" +msgstr "" + +#: lightbox2.module:82;109 +msgid "Basic example with caption:" +msgstr "" + +#: lightbox2.module:83 +msgid "<a href=\"http://video.google.com/videoplay?docid=1811233136844420765\" rel=\"lightvideo[][my caption]\">Google video example - default size</a>" +msgstr "" + +#: lightbox2.module:84;96;111;297;330 +msgid "Grouped example:" +msgstr "" + +#: lightbox2.module:85 +msgid "<a href=\"http://video.google.com/videoplay?docid=29023498723974239479\" rel=\"lightvideo[group][my caption]\">Grouped example 1</a>
\n <a href=\"http://video.google.com/videoplay?docid=1811233136844420765\" rel=\"lightvideo[group][my caption]\">Grouped example 2</a>" +msgstr "" + +#: lightbox2.module:87;316 +msgid "Controlling lightbox size example:" +msgstr "" + +#: lightbox2.module:88 +msgid "<a href=\"http://video.google.com/videoplay?docid=1811233136844420765\" rel=\"lightvideo[|width:400px; height:300px;][my caption]\">Google video example - custom size</a>" +msgstr "" + +#: lightbox2.module:89 +msgid "Supported Video Formats:" +msgstr "" + +#: lightbox2.module:90 +msgid "asx, wmv, mov and swf videos should all be supported. A number of video providers are also supported, for example YouTube and Google Video. For full details on how to integrate these with lightbox, please see the online documentation." +msgstr "" + +#: lightbox2.module:92;187 +msgid "HTML Content" +msgstr "" + +#: lightbox2.module:93 +msgid "It's possible to show webpage content in the lightbox, using iframes. In this case the \"rel\" attribute should be set to lightframe. Again it's possible to group the items, (e.g. lightframe[search]) but in addition to that, it's possible to control some of the iframe properties. It's possible to set the 'width', 'height' and 'scrolling' properties of the iframe. The properties are separated from the group name by a |, for example lightframe[search|width:100px;] and lightframe[search|width:120px][my caption]. If no grouping is being used, then the | is still used and the format would be lightframe[|width:100px;]. The properties should all be of the format \"property: value;\" - note the closing semi-colon. If no iframe properties are set, then the default width and height of 400px will be used. See below for more detailed examples." +msgstr "" + +#: lightbox2.module:95 +msgid "<a href=\"http://www.google.com\" rel=\"lightframe[][Search Google]\">Search google</a>" +msgstr "" + +#: lightbox2.module:97 +msgid "<a href=\"http://www.google.com\" rel=\"lightframe[search]\">Search google</a>
\n <a href=\"http://www.yahoo.com\" rel=\"lightframe[search][Search Yahoo]\">Search yahoo</a>" +msgstr "" + +#: lightbox2.module:99;300 +msgid "Controlling iframe property example:" +msgstr "" + +#: lightbox2.module:100 +msgid "<a href=\"http://www.google.com\" rel=\"lightframe[|width:400px; height:300px; scrolling: auto;]\">Search google</a>" +msgstr "" + +#: lightbox2.module:101;302 +msgid "Controlling iframe property when grouped example:" +msgstr "" + +#: lightbox2.module:102 +msgid "<a href=\"http://www.google.com\" rel=\"lightframe[search|width:400px; height:300px; scrolling: auto;]\">Search google</a>
\n <a href=\"http://www.yahoo.com\" rel=\"lightframe[search|width:400px; height:300px;][Search Yahoo]\">Search yahoo</a>" +msgstr "" + +#: lightbox2.module:105 +msgid "Inline Content Support" +msgstr "" + +#: lightbox2.module:106 +msgid "It's possible to show HTML snippets in the lightbox, that is on the same domain. In this case the \"rel\" attribute should be set to lightmodal. Again it's possible to group the content, (e.g. lightmodal[search]) but in addition to that, it's possible to control some of the inline / modal properties. It's possible to set the 'width', 'height' and 'scrolling' properties of the inline content. The properties are separated from the group name by a |, for example lightmodal[search|width:100px;] and lightmodal[search|width:100px;][my caption]. If no grouping is being used, then the | is still used and the format would be lightmodal[|width:100px;]. The properties should all be of the format \"property: value;\" - note the closing semi-colon. If no properties are set, then the default width and height of 400px will be used. See below for more detailed examples." +msgstr "" + +#: lightbox2.module:108 +msgid "<a href=\"search.php\" rel=\"lightmodal\">Search</a>" +msgstr "" + +#: lightbox2.module:110 +msgid "<a href=\"search.php\" rel=\"lightmodal[][my caption]\">Search</a>" +msgstr "" + +#: lightbox2.module:112 +msgid "<a href=\"search.php\" rel=\"lightmodal[search]\">Search</a>
\n <a href=\"search.php?status=1\" rel=\"lightmodal[search][published]\">Search published content</a>" +msgstr "" + +#: lightbox2.module:114;333 +msgid "Controlling modal property example:" +msgstr "" + +#: lightbox2.module:115 +msgid "<a href=\"search.php\" rel=\"lightmodal[|width:400px; height:300px; scrolling: auto;]\">Search</a>" +msgstr "" + +#: lightbox2.module:116;335 +msgid "Controlling modal property when grouped example:" +msgstr "" + +#: lightbox2.module:117 +msgid "<a href=\"search.php\" rel=\"lightmodal[search|width:400px; height:300px; scrolling: auto;]\">Search</a>
\n <a href=\"search.php?status=1\" rel=\"lightmodal[search|width:400px; height:300px;][Search published]\">Search published content</a>
\n <a href=\"search.php?status=0\" rel=\"lightmodal[search|width:400px; height:300px;][Search Unpublished]\">Search unpublished content</a>" +msgstr "" + +#: lightbox2.module:121 +msgid "Keyboard Shortcuts" +msgstr "" + +#: lightbox2.module:122 +msgid "The default keyboard shortcuts are listed below. You can override these on the admin page." +msgstr "" + +#: lightbox2.module:124 +msgid "Close Lightbox" +msgstr "" + +#: lightbox2.module:128 +msgid "Previous Image" +msgstr "" + +#: lightbox2.module:129 +msgid "Left Arrow" +msgstr "" + +#: lightbox2.module:130 +msgid "Next Image" +msgstr "" + +#: lightbox2.module:131 +msgid "Right Arrow" +msgstr "" + +#: lightbox2.module:132 +msgid "Toggle Zoom" +msgstr "" + +#: lightbox2.module:132 +msgid "z (not available in slideshow)" +msgstr "" + +#: lightbox2.module:133 +msgid "Toggle Play / Pause" +msgstr "" + +#: lightbox2.module:133 +msgid "Spacebar (slideshow only)" +msgstr "" + +#: lightbox2.module:135 +msgid "Not all of the keyboard shortcuts work in the Opera browser, for example \"z\" for toggling the zoom and \"spacebar\" for toggling play / pause in slideshows. This can be overcome by updating your shortcut settings in the Opera preferences editor." +msgstr "" + +#: lightbox2.module:257;361 +msgid "Image links with 'rel=\"lightbox\"' in the <a> tag will appear in a Lightbox when clicked on." +msgstr "" + +#: lightbox2.module:260 +msgid "To add a lightbox to your images, add rel=\"lightbox\" attribute to any link tag to activate the lightbox. For example:" +msgstr "" + +#: lightbox2.module:261 +msgid "<a href=\"image-1.jpg\" rel=\"lightbox\">image #1</a>" +msgstr "" + +#: lightbox2.module:262 +msgid "<a href=\"image-1.jpg\" rel=\"lightbox[][my caption]\">image #1</a>" +msgstr "" + +#: lightbox2.module:263 +msgid "To show a caption either use the title attribute or put in the second set of square brackets of the rel attribute." +msgstr "" + +#: lightbox2.module:264 +msgid "If you have a set of related images that you would like to group, then you will need to include a group name between square brackets in the rel attribute. For example:" +msgstr "" + +#: lightbox2.module:265 +msgid "<a href=\"image-1.jpg\" rel=\"lightbox[roadtrip]\">image #1</a>
<a href=\"image-2.jpg\" rel=\"lightbox[roadtrip][caption 2]\">image #2</a>
<a href=\"image-3.jpg\" rel=\"lightbox[roadtrip][caption 3]\">image #3</a>
" +msgstr "" + +#: lightbox2.module:266 +msgid "There are no limits to the number of image sets per page or how many images are allowed in each set." +msgstr "" + +#: lightbox2.module:267;284 +msgid "If you wish to turn the caption into a link, format your caption in the following way:" +msgstr "" + +#: lightbox2.module:268 +msgid "<a href=\"image-1.jpg\" rel='lightbox[][<a href=\"http://www.yourlink.com\">View Image Details</a>]' >image #1</a>" +msgstr "" + +#: lightbox2.module:273 +msgid "Image links from G2 are formatted for use with Lightbox2" +msgstr "" + +#: lightbox2.module:277;367 +msgid "Image links with 'rel=\"lightshow\"' in the <a> tag will appear in a Lightbox slideshow when clicked on." +msgstr "" + +#: lightbox2.module:280 +msgid "To add a lightbox slideshow to your images, add rel=\"lightshow[slideshowname][slide caption]\" attribute to any link tag to activate the slideshow. For example:" +msgstr "" + +#: lightbox2.module:281 +msgid "<a href=\"image-1.jpg\" rel=\"lightshow[show1]\">image #1</a>
<a href=\"image-2.jpg\" rel=\"lightshow[show1]\">image #2</a>
<a href=\"image-3.jpg\" rel=\"lightshow[show1]\">image #3</a>
" +msgstr "" + +#: lightbox2.module:282 +msgid "The title attribute in the link tag is optional. The addition of this attribute enables the display of a caption with the image displayed in the lightbox." +msgstr "" + +#: lightbox2.module:283 +msgid "There are no limits to the number of slideshow image sets per page or how many images are allowed in each slideshow." +msgstr "" + +#: lightbox2.module:285 +msgid "<a href=\"image-1.jpg\" rel='lightshow[show1][<a href=\"http://www.yourlink.com\">View Image Details</a>]'>image #1</a>" +msgstr "" + +#: lightbox2.module:291;370 +msgid "Links to HTML content with 'rel=\"lightframe\"' in the <a> tag will appear in a Lightbox when clicked on." +msgstr "" + +#: lightbox2.module:294 +msgid "It's possible to show webpage content in the lightbox, using iframes. In this case the \"rel\" attribute should be set to \"lightframe\". Again it's possible to group the content, (e.g. lightframe[search][caption]) but in addition to that, it's possible to control some of the iframe properties. It's possible to set the \"width\", \"height\" and \"scrolling\" properties of the iframe. The properties are separated from the group name by a |, for example lightframe[search|width:100px;][caption]. If no grouping is being used, then the | is still used and the format would be lightframe[|width:100px;]. The properties should all be of the format \"property: value;\" - note the closing semi-colon. If no iframe properties are set, then the default width and height of 400px will be used. See below for more detailed examples." +msgstr "" + +#: lightbox2.module:296 +msgid "<a href="http://www.google.com" rel="lightframe">Search google</a>" +msgstr "" + +#: lightbox2.module:298 +msgid "<a href="http://www.google.com" rel="lightframe[search][caption]">Search google</a>
<a href="http://www.yahoo.com" rel="lightframe[search]">Search yahoo</a>
" +msgstr "" + +#: lightbox2.module:301 +msgid "<a href="http://www.google.com" rel="lightframe[|width:400px; height:300px; scrolling: auto;][caption]">Search google</a>" +msgstr "" + +#: lightbox2.module:303 +msgid "<a href="http://www.google.com" rel="lightframe[search|width:400px; height:300px; scrolling: auto;]">Search google</a>
<a href="http://www.yahoo.com" rel="lightframe[search|width:400px; height:300px;]">Search yahoo</a>
" +msgstr "" + +#: lightbox2.module:310;373 +msgid "Links to video content with 'rel=\"lightvideo\"' in the <a> tag will appear in a Lightbox when clicked on." +msgstr "" + +#: lightbox2.module:313 +msgid "It's possible to show video content in the lightbox. In this case the \"rel\" attribute should be set to lightvideo. It's possible to group videos and to control the size of the lightbox by setting the \"width\" and \"height\" properties. The properties can be configured like lightvideo[group|width:300px; height: 200px;][caption]. The properties should all be of the format \"property: value;\" - note the closing semi-colon. If no properties are set, then the default width and height of 400px will be used. See below for more detailed examples." +msgstr "" + +#: lightbox2.module:315 +msgid "<a href="http://video.google.com/videoplay?docid=1811233136844420765" rel="lightvideo">Google video example - default size</a>" +msgstr "" + +#: lightbox2.module:317 +msgid "<a href="http://video.google.com/videoplay?docid=1811233136844420765" rel="lightvideo[group|width:400px; height:300px;][caption]">Google video example - custom size</a>" +msgstr "" + +#: lightbox2.module:318 +msgid "Supported video formats include asx, wmv, mov and swf. A number of online video providers are also supported, including YouTube and Google Video. For a full list of the current supported video providers please see the documentation on drupal.org." +msgstr "" + +#: lightbox2.module:324;376 +msgid "Links to inline or modal content with 'rel=\"lightmodal\"' in the <a> tag will appear in a Lightbox when clicked on." +msgstr "" + +#: lightbox2.module:327 +msgid "It's possible to show HTML snippets in the lightbox, that is on the same domain. In this case the \"rel\" attribute should be set to \"lightmodal\". Again it's possible to group the content, (e.g. lightmodal[group][caption]) but in addition to that, it's possible to control some of the modal properties. It's possible to set the \"width\", \"height\" and \"scrolling\" properties of the modal. The properties are separated from the group name by a |, for example lightmodal[group|width:100px;][caption]. If no grouping is being used, then the | is still used and the format would be lightmodal[|width:100px;]. The properties should all be of the format \"property: value;\" - note the closing semi-colon. If no modal properties are set, then the default width and height of 400px will be used. See below for more detailed examples." +msgstr "" + +#: lightbox2.module:329 +msgid "<a href="search.php" rel="lightmodal">Search</a>" +msgstr "" + +#: lightbox2.module:331 +msgid "<a href="search.php" rel="lightmodal[search][caption 1]">Search</a>
<a href="search.php?status=1" rel="lightmodal[search]">Search published</a>
" +msgstr "" + +#: lightbox2.module:334 +msgid "<a href="search.php" rel="lightmodal[|width:400px; height:300px; scrolling: auto;][caption]">Search</a>" +msgstr "" + +#: lightbox2.module:336 +msgid "<a href="search.php" rel="lightmodal[search|width:400px; height:300px; scrolling: auto;]">Search</a>
<a href="search.php?status=1" rel="lightmodal[search|width:400px; height:300px;]">Search published</a>
" +msgstr "" + +#: lightbox2.module:350 +msgid "Lightbox filter" +msgstr "" + +#: lightbox2.module:351 +msgid "Lightbox G2 filter" +msgstr "" + +#: lightbox2.module:352 +msgid "Lightbox slideshow filter" +msgstr "" + +#: lightbox2.module:353 +msgid "Lightbox iframe filter" +msgstr "" + +#: lightbox2.module:354 +msgid "Lightbox video filter" +msgstr "" + +#: lightbox2.module:355 +msgid "Lightbox modal filter" +msgstr "" + +#: lightbox2.module:356 +msgid "Disable Lightbox iframe filter" +msgstr "" + +#: lightbox2.module:364 +msgid "Turns g2_filter links into Lightbox2 appropriate links" +msgstr "" + +#: lightbox2.module:379 +msgid "It's possible to show webpage content in the lightbox, using iframes. In this case the \"rel\" attribute should be set to \"lightframe\". However, users can do this without any filters to be enabled. To prevent users from adding iframes to the site in this manner, then please enable this option." +msgstr "" + +#: lightbox2.module:612 +msgid "press !x to close" +msgstr "" + +#: lightbox2.module:757 +msgid "Lightbox2: Image Thumbnail -> Original" +msgstr "" + +#: lightbox2.module:761 +msgid "Lightbox2 slideshow: Image Thumbnail -> Original" +msgstr "" + +#: lightbox2.module:765 +msgid "Lightbox2 iframe: Image Thumbnail -> Content" +msgstr "" + +#: lightbox2.module:771 +msgid "Lightbox2: Image Thumbnail -> Full Size Video" +msgstr "" + +#: lightbox2.module:777;1100 +msgid "Lightbox2 iframe" +msgstr "" + +#: lightbox2.module:1101 +msgid "Displays all kinds of files in a popup lightbox in an iframe." +msgstr "" + +#: lightbox2.module:1105 +msgid "Lightbox2 image" +msgstr "" + +#: lightbox2.module:1106 +msgid "Displays image files in a popup lightbox." +msgstr "" + +#: lightbox2.module:146 +msgid "administer lightbox2" +msgstr "" + +#: lightbox2.module:146 +msgid "download original image" +msgstr "" + +#: lightbox2.module:157 lightbox2.info:0 +msgid "Lightbox2" +msgstr "" + +#: lightbox2.module:158;166 +msgid "Allows the user to configure the lightbox2 settings" +msgstr "" + +#: lightbox2.module:165 +msgid "General" +msgstr "" + +#: lightbox2.module:177 +msgid "Allows the user to configure the lightbox2 slideshow functionality" +msgstr "" + +#: lightbox2.module:193 +msgid "Allows the user to configure the lightbox2 HTML content functionality." +msgstr "" + +#: lightbox2.module:198 +msgid "Automatic image handling" +msgstr "" + +#: lightbox2.module:199 +msgid "Allows the user to configure the lightbox2 automatic image handling settings" +msgstr "" + +#: lightbox2.module:226 +msgid "Login" +msgstr "" + +#: lightbox2.module:232 +msgid "Contact" +msgstr "" +