first global commit
This commit is contained in:
@@ -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
|
||||
@@ -0,0 +1,36 @@
|
||||
// $Id: README.txt,v 1.2 2009/12/20 00:44:04 quicksketch Exp $
|
||||
|
||||
The External Links module is a very simple approach to adding icons to links
|
||||
to external websites or e-mail addresses. It is a purely JavaScript
|
||||
implementation, so the icons are only shown to users that have JavaScript
|
||||
enabled.
|
||||
|
||||
External Links was written by Nathan Haug.
|
||||
Built by Robots: http://www.lullabot.com
|
||||
|
||||
Install
|
||||
-------
|
||||
Simply install External Links like you would any other module.
|
||||
|
||||
1) Copy the extlink folder to the modules folder in your installation.
|
||||
|
||||
2) Enable the module using Administer -> Modules (/admin/build/modules).
|
||||
|
||||
3) No additional configuration is necessary though you may fine-tune settings at
|
||||
Administer -> Site configuration -> External Links (/admin/settings/extlink).
|
||||
|
||||
A note about the CSS
|
||||
--------------------
|
||||
This module adds a CSS file that is only a few lines in length. You may choose
|
||||
to move this CSS to your theme to prevent the file from needing to be loaded
|
||||
separately. To do this:
|
||||
|
||||
1) Open the .info file for your theme, add this line of code to prevent
|
||||
the extlink.css file from loading:
|
||||
stylesheets[all][] = extlink.css
|
||||
2) Open the extlink.css file within the extlink directory and copy all the code
|
||||
from the file into your theme's style.css file.
|
||||
3) Copy the extlink.png and mailto.png files to your theme's directory.
|
||||
|
||||
Note that you DO NOT need to make a extlink.css file. Specifying the file in the
|
||||
info file is enough to tell Drupal not to load the original file.
|
||||
@@ -0,0 +1,16 @@
|
||||
span.ext {
|
||||
background: url(extlink.png) right center no-repeat;
|
||||
padding-right: 12px;
|
||||
}
|
||||
span.mailto {
|
||||
background: url(mailto.png) right center no-repeat;
|
||||
padding-right: 12px;
|
||||
}
|
||||
|
||||
/* Hide the extra spans when printing. */
|
||||
@media print {
|
||||
span.ext, span.mailto {
|
||||
display: none;
|
||||
padding: 0;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
; $Id: extlink.info,v 1.4 2010/10/17 00:42:23 quicksketch Exp $
|
||||
name = External Links
|
||||
description = Adds icon next to external links on the site.
|
||||
package = User interface
|
||||
core = 7.x
|
||||
configure = admin/config/user-interface/extlink
|
||||
files[] = extlink.module
|
||||
; Information added by drupal.org packaging script on 2010-10-17
|
||||
version = "7.x-1.12"
|
||||
core = "7.x"
|
||||
project = "extlink"
|
||||
datestamp = "1287276383"
|
||||
|
||||
@@ -0,0 +1,10 @@
|
||||
<?php
|
||||
// $Id: extlink.install,v 1.2 2009/12/20 01:00:17 quicksketch Exp $
|
||||
|
||||
/**
|
||||
* Implementation of hook_install().
|
||||
*/
|
||||
function extlink_install() {
|
||||
// Weight needs to be 1 for compatibility with SpamSpan.
|
||||
db_query("UPDATE {system} SET weight = 1 WHERE name = 'extlink'");
|
||||
}
|
||||
@@ -0,0 +1,106 @@
|
||||
// $Id: extlink.js,v 1.8 2010/05/26 01:25:56 quicksketch Exp $
|
||||
(function ($) {
|
||||
|
||||
function extlinkAttach(context) {
|
||||
// Strip the host name down, removing ports, subdomains, or www.
|
||||
var pattern = /^(([^\/:]+?\.)*)([^\.:]{4,})((\.[a-z]{1,4})*)(:[0-9]{1,5})?$/;
|
||||
var host = window.location.host.replace(pattern, '$3$4');
|
||||
var subdomain = window.location.host.replace(pattern, '$1');
|
||||
|
||||
// Determine what subdomains are considered internal.
|
||||
if (Drupal.settings.extlink.extSubdomains) {
|
||||
var subdomains = "([^/]*\\.)?";
|
||||
}
|
||||
else if (subdomain == 'www.' || subdomain == '') {
|
||||
var subdomains = "(www\\.)?";
|
||||
}
|
||||
else {
|
||||
var subdomains = subdomain.replace(".", "\\.");
|
||||
}
|
||||
|
||||
// Build regular expressions that define an internal link.
|
||||
var internal_link = new RegExp("^https?://" + subdomains + host, "i");
|
||||
|
||||
// Extra internal link matching.
|
||||
var extInclude = false;
|
||||
if (Drupal.settings.extlink.extInclude) {
|
||||
extInclude = new RegExp(Drupal.settings.extlink.extInclude.replace(/\\/, '\\'));
|
||||
}
|
||||
|
||||
// Extra external link matching.
|
||||
var extExclude = false;
|
||||
if (Drupal.settings.extlink.extExclude) {
|
||||
extExclude = new RegExp(Drupal.settings.extlink.extExclude.replace(/\\/, '\\'));
|
||||
}
|
||||
|
||||
// Find all links which are NOT internal and begin with http (as opposed
|
||||
// to ftp://, javascript:, etc. other kinds of links.
|
||||
// When operating on the 'this' variable, the host has been appended to
|
||||
// all links by the browser, even local ones.
|
||||
// In jQuery 1.1 and higher, we'd use a filter method here, but it is not
|
||||
// available in jQuery 1.0 (Drupal 5 default).
|
||||
var external_links = new Array();
|
||||
var mailto_links = new Array();
|
||||
$("a:not(." + Drupal.settings.extlink.extClass + ", ." + Drupal.settings.extlink.mailtoClass + ")", context).each(function(el) {
|
||||
try {
|
||||
var url = this.href.toLowerCase();
|
||||
if (url.indexOf('http') == 0 && (!url.match(internal_link) || (extInclude && url.match(extInclude))) && !(extExclude && url.match(extExclude))) {
|
||||
external_links.push(this);
|
||||
}
|
||||
else if (url.indexOf('mailto:') == 0) {
|
||||
mailto_links.push(this);
|
||||
}
|
||||
}
|
||||
// IE7 throws errors often when dealing with irregular links, such as:
|
||||
// <a href="node/10"></a> Empty tags.
|
||||
// <a href="http://user:pass@example.com">example</a> User:pass syntax.
|
||||
catch(error) {
|
||||
return false;
|
||||
}
|
||||
});
|
||||
|
||||
if (Drupal.settings.extlink.extClass) {
|
||||
// Apply the "ext" class to all links not containing images.
|
||||
if (parseFloat($().jquery) < 1.2) {
|
||||
$(external_links).not('[img]').addClass(Drupal.settings.extlink.extClass).each(function() { if ($(this).css('display') == 'inline') $(this).after('<span class=' + Drupal.settings.extlink.extClass + '></span>'); });
|
||||
}
|
||||
else {
|
||||
$(external_links).not($(external_links).find('img').parents('a')).addClass(Drupal.settings.extlink.extClass).each(function() { if ($(this).css('display') == 'inline') $(this).after('<span class=' + Drupal.settings.extlink.extClass + '></span>'); });
|
||||
}
|
||||
}
|
||||
|
||||
if (Drupal.settings.extlink.mailtoClass) {
|
||||
// Apply the "mailto" class to all mailto links not containing images.
|
||||
if (parseFloat($().jquery) < 1.2) {
|
||||
$(mailto_links).not('[img]').addClass(Drupal.settings.extlink.mailtoClass).each(function() { if ($(this).css('display') == 'inline') $(this).after('<span class=' + Drupal.settings.extlink.mailtoClass + '></span>'); });
|
||||
}
|
||||
else {
|
||||
$(mailto_links).not($(mailto_links).find('img').parents('a')).addClass(Drupal.settings.extlink.mailtoClass).each(function() { if ($(this).css('display') == 'inline') $(this).after('<span class=' + Drupal.settings.extlink.mailtoClass + '></span>'); });
|
||||
}
|
||||
}
|
||||
|
||||
if (Drupal.settings.extlink.extTarget) {
|
||||
// Apply the target attribute to all links.
|
||||
$(external_links).attr('target', Drupal.settings.extlink.extTarget);
|
||||
}
|
||||
|
||||
if (Drupal.settings.extlink.extAlert) {
|
||||
// Add pop-up click-through dialog.
|
||||
$(external_links).click(function(e) {
|
||||
return confirm(Drupal.settings.extlink.extAlertText);
|
||||
});
|
||||
}
|
||||
|
||||
// Work around for Internet Explorer box model problems.
|
||||
if (($.support && !($.support.boxModel === undefined) && !$.support.boxModel) || ($.browser.msie && parseInt($.browser.version) <= 7)) {
|
||||
$('span.ext, span.mailto').css('display', 'inline-block');
|
||||
}
|
||||
}
|
||||
|
||||
Drupal.behaviors.extlink = {
|
||||
attach: function(context){
|
||||
extlinkAttach(context);
|
||||
}
|
||||
}
|
||||
|
||||
})(jQuery);
|
||||
@@ -0,0 +1,140 @@
|
||||
<?php
|
||||
// $Id: extlink.module,v 1.6 2010/10/17 00:38:24 quicksketch Exp $
|
||||
|
||||
function extlink_menu() {
|
||||
$items = array();
|
||||
$items['admin/config/user-interface/extlink'] = array(
|
||||
'title' => 'External links',
|
||||
'description' => 'Alter the display of external links on the site.',
|
||||
'page callback' => 'drupal_get_form',
|
||||
'page arguments' => array('extlink_admin_settings'),
|
||||
'access callback' => 'user_access',
|
||||
'access arguments' => array('administer site configuration'),
|
||||
);
|
||||
return $items;
|
||||
}
|
||||
|
||||
/**
|
||||
* Implementation of hook_init().
|
||||
*/
|
||||
function extlink_init() {
|
||||
$path = drupal_get_path('module', 'extlink');
|
||||
drupal_add_js($path .'/extlink.js');
|
||||
drupal_add_js(array('extlink' => array(
|
||||
'extTarget' => variable_get('extlink_target', 0),
|
||||
'extClass' => variable_get('extlink_class', 'ext'),
|
||||
'extSubdomains' => variable_get('extlink_subdomains', 1),
|
||||
'extExclude' => variable_get('extlink_exclude', ''),
|
||||
'extInclude' => variable_get('extlink_include', ''),
|
||||
'extAlert' => variable_get('extlink_alert', 0),
|
||||
'extAlertText' => variable_get('extlink_alert_text', 'This link will take you to an external web site. We are not responsible for their content.'),
|
||||
'mailtoClass' => variable_get('extlink_mailto_class', 'mailto'))), 'setting'
|
||||
);
|
||||
if (variable_get('extlink_class', 'ext') == 'ext' || variable_get('extlink_mailto_class', 'mailto') == 'mailto') {
|
||||
drupal_add_css($path . '/extlink.css');
|
||||
}
|
||||
}
|
||||
|
||||
function extlink_admin_settings() {
|
||||
$form = array();
|
||||
|
||||
$form['extlink_class'] = array(
|
||||
'#type' => 'checkbox',
|
||||
'#title' => t('Add icon to external links'),
|
||||
'#return_value' => 'ext',
|
||||
'#default_value' => variable_get('extlink_class', 'ext'),
|
||||
'#description' => t('Places an !icon icon next to external links.', array('!icon' => theme_image(array('path' => drupal_get_path('module', 'extlink') .'/extlink.png', 'alt' => t('External Links icon'), 'attributes' => array())))),
|
||||
);
|
||||
|
||||
$form['extlink_mailto_class'] = array(
|
||||
'#type' => 'checkbox',
|
||||
'#title' => t('Add icon to mailto links'),
|
||||
'#return_value' => 'mailto',
|
||||
'#default_value' => variable_get('extlink_mailto_class', 'mailto'),
|
||||
'#description' => t('Places an !icon icon next to mailto links.', array(
|
||||
'!icon' => theme_image(array(
|
||||
'path' => drupal_get_path('module', 'extlink') . '/mailto.png',
|
||||
'alt' => t('Email links icon'),
|
||||
'attributes' => '',
|
||||
)),
|
||||
)),
|
||||
);
|
||||
|
||||
$form['extlink_subdomains'] = array(
|
||||
'#type' => 'checkbox',
|
||||
'#title' => t('Consider subdomains internal'),
|
||||
'#default_value' => variable_get('extlink_subdomains', 1),
|
||||
'#description' => t('If checked, links with the same primary domain will all be considered internal. A link from www.example.com to my.example.com would be considered internal. Links between the www. and non-www. domain are always considered internal.'),
|
||||
);
|
||||
|
||||
$form['extlink_target'] = array(
|
||||
'#type' => 'checkbox',
|
||||
'#title' => t('Open external links in a new window'),
|
||||
'#return_value' => '_blank',
|
||||
'#default_value' => variable_get('extlink_target', 0),
|
||||
'#description' => t('Should all external links be opened in a new window?'),
|
||||
);
|
||||
|
||||
$form['extlink_alert'] = array(
|
||||
'#type' => 'checkbox',
|
||||
'#title' => t('Display pop-up warnings'),
|
||||
'#return_value' => '_blank',
|
||||
'#default_value' => variable_get('extlink_alert', 0),
|
||||
'#description' => t('Displays a pop-up warning when any external link is clicked.'),
|
||||
);
|
||||
|
||||
$form['extlink_alert_text'] = array(
|
||||
'#type' => 'textarea',
|
||||
'#rows' => 3,
|
||||
'#title' => t('Pop-up warning text'),
|
||||
'#default_value' => variable_get('extlink_alert_text', 'This link will take you to an external web site. We are not responsible for their content.'),
|
||||
'#description' => t('Text to display in the pop-up external link warning box.'),
|
||||
'#wysiwyg' => FALSE,
|
||||
);
|
||||
|
||||
$patterns = array(
|
||||
'<em>(example\.com)</em> ' . t('Matches example.com.'),
|
||||
'<em>(example\.com)|(example.net)</em> ' . t('Multiple patterns can be strung together by using a pipe. Matches example.com OR example.net.'),
|
||||
'<em>(links/goto/[0-9]+/[0-9]+)</em> ' . t('Matches links that go through the <a href="http://drupal.org/project/links">Links module</a> redirect.'),
|
||||
);
|
||||
|
||||
$wildcards = array(
|
||||
'<em>.</em> ' . t('Matches any character.'),
|
||||
'<em>?</em> ' . t('The previous character or set is optional.'),
|
||||
'<em>\d</em> ' . t('Matches any digit (0-9).'),
|
||||
'<em>[a-z]</em> ' . t('Brackets may be used to match a custom set of characters. This matches any alphabetic letter.'),
|
||||
);
|
||||
|
||||
$form['patterns'] = array(
|
||||
'#tree' => FALSE,
|
||||
'#type' => 'fieldset',
|
||||
'#title' => t('Pattern matching'),
|
||||
'#collapsible' => TRUE,
|
||||
'#collapsed' => TRUE,
|
||||
'#description' =>
|
||||
'<p>' . t('External links uses patterns (regular expressions) to match the "href" property of links.') . '</p>' .
|
||||
t('Here are some common patterns.') .
|
||||
theme('item_list', $patterns) .
|
||||
t('Common special characters:') .
|
||||
theme('item_list', $wildcards) .
|
||||
'<p>' . t('All special characters (<em>^ $ . ? ( ) | * +</em>) must also be escaped with backslashes. Patterns are not case-sensitive. Any <a href="http://www.javascriptkit.com/javatutors/redev2.shtml">pattern supported by JavaScript</a> may be used.') . '</p>',
|
||||
);
|
||||
|
||||
$form['patterns']['extlink_exclude'] = array(
|
||||
'#type' => 'textfield',
|
||||
'#title' => t('Exclude links matching the pattern'),
|
||||
'#maxlength' => NULL,
|
||||
'#default_value' => variable_get('extlink_exclude', ''),
|
||||
'#description' => t('Enter a regular expression for links that you wish to exclude from being considered external.'),
|
||||
);
|
||||
|
||||
$form['patterns']['extlink_include'] = array(
|
||||
'#type' => 'textfield',
|
||||
'#title' => t('Include links matching the pattern'),
|
||||
'#maxlength' => NULL,
|
||||
'#default_value' => variable_get('extlink_include', ''),
|
||||
'#description' => t('Enter a regular expression for internal links that you wish to be considered external.'),
|
||||
);
|
||||
|
||||
return system_settings_form($form);
|
||||
}
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 196 B |
Binary file not shown.
|
After Width: | Height: | Size: 187 B |
@@ -0,0 +1,71 @@
|
||||
# $Id: de.po,v 1.1.2.2 2008/06/06 23:57:32 quicksketch Exp $
|
||||
# -----------------------------------------------------------------------------
|
||||
# arabic translation of Drupal (extlink.module)
|
||||
#
|
||||
# taem translation arabic ssdaa ( http://www.ssdaa.com/ )
|
||||
#
|
||||
#
|
||||
# -----------------------------------------------------------------------------
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: extlink.module\n"
|
||||
"POT-Creation-Date: 2007-04-21 21:40+0100\n"
|
||||
"PO-Revision-Date: 2009-08-22 15:10+0300\n"
|
||||
"Last-Translator: ssdaa <ssdaa.com@gmail.com>\n"
|
||||
"Language-Team: شبكة صدى ssdaa.com <ssdaa@ssdaa.com>\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=utf-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
|
||||
#: extlink.module:9
|
||||
msgid "External links"
|
||||
msgstr "الروابط الخارجيه"
|
||||
|
||||
#: extlink.module:10
|
||||
msgid "Alter the display of external links on the site."
|
||||
msgstr "تغيير عرض وصلات خارجية على الموقع."
|
||||
|
||||
#: extlink.module:32
|
||||
msgid "Add icon to external links"
|
||||
msgstr "اضافة ايقونه الى الروابط الخارجيه"
|
||||
|
||||
#: extlink.module:35
|
||||
msgid "Places an !icon icon next to external links."
|
||||
msgstr "مكان وجود ايقونة الروابط الخارجيه"
|
||||
|
||||
#: extlink.module:42
|
||||
msgid "Add icon to mailto links"
|
||||
msgstr "اضافة الايقونه الى البريد الاكتروني"
|
||||
|
||||
#: extlink.module:50
|
||||
msgid "Consider subdomains internal"
|
||||
msgstr "السماح للنطاق الفرعي للموقع"
|
||||
|
||||
#: extlink.module:52
|
||||
msgid "If checked, links with the same primary domain will all be considered internal. A link from www.example.com to my.example.com would be considered internal. Links between the www. and non-www. domain are always considered internal."
|
||||
msgstr "افحص الروابط , اذا كانت تابعه للنطاق الرئيسي يعتبر رابد داخلي مثال www.example.com هذا نطاق رئيسي يتبع له النطاق الفرعي my.example.com كذلك بامكانكم اضافة www او الغائها حسب متطلباتكم"
|
||||
|
||||
#: extlink.module:57
|
||||
msgid "Open external links in a new window"
|
||||
msgstr "فتح الروابط الخارجيه في نافذه جديده"
|
||||
|
||||
#: extlink.module:60
|
||||
msgid "Should all external links be opened in a new window?"
|
||||
msgstr "هل تريد فتح الروابط الخارجيه جميعها في نافذه جديده ؟"
|
||||
|
||||
#: extlink.module:0
|
||||
msgid "extlink"
|
||||
msgstr "تحويل الرابط"
|
||||
|
||||
#: extlink.info:0
|
||||
msgid "External Links"
|
||||
msgstr "روابط خارجيه"
|
||||
|
||||
#: extlink.info:0
|
||||
msgid "Adds icon next to external links on the site."
|
||||
msgstr "اضافة ايقونه الى الروابط الخارجيه لهذا الموقع ."
|
||||
|
||||
#: extlink.info:0
|
||||
msgid "User interface"
|
||||
msgstr "واجهة المستخدم"
|
||||
|
||||
@@ -0,0 +1,62 @@
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: extlink\n"
|
||||
"POT-Creation-Date: \n"
|
||||
"PO-Revision-Date: 2008-01-24 11:47+0100\n"
|
||||
"Last-Translator: Jiri Padalik <xboletus@steadynet.org>\n"
|
||||
"Language-Team: xBoletus <xboletus@steadynet.org>\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=utf-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"X-Poedit-Language: Czech\n"
|
||||
"X-Poedit-Country: CZECH REPUBLIC\n"
|
||||
"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
|
||||
|
||||
#: extlink.module:7
|
||||
msgid "External links"
|
||||
msgstr "Externí odkazy"
|
||||
|
||||
#: extlink.module:8
|
||||
msgid "Alter the display of external links on the site."
|
||||
msgstr "Modifikovat zobrazení externích odkazů na stránkách."
|
||||
|
||||
#: extlink.module:34
|
||||
msgid "Add icon to external links"
|
||||
msgstr "Přidat ikonu externím odkazům"
|
||||
|
||||
#: extlink.module:37
|
||||
msgid "Places an !icon icon next to external links."
|
||||
msgstr "Umístění !icon ikony vedle externích odkazů."
|
||||
|
||||
#: extlink.module:42
|
||||
msgid "Consider subdomains internal"
|
||||
msgstr "Považovat subdomény za interní"
|
||||
|
||||
#: extlink.module:44
|
||||
msgid "If checked, links with the same primary domain will all be considered internal. A link from www.example.com to my.example.com would be considered internal. Links between the www. and non-www. domain are always considered internal."
|
||||
msgstr "Pokud je zaškrtnuto, odkazy ve stejné primární doméně jsou považovány za interní. Odkaz z www.example.com na my.example.com je považován za interní. Odkaz mezi www. a doménou bez www. je vždy považován za interní."
|
||||
|
||||
#: extlink.module:49
|
||||
msgid "Open external links in a new window"
|
||||
msgstr "Otevřít externí odkazy v novém okně"
|
||||
|
||||
#: extlink.module:52
|
||||
msgid "Should all external links be opened in a new window?"
|
||||
msgstr "Mají se otevírat všechny externí odkazy v novém okně?"
|
||||
|
||||
#: extlink.module:0
|
||||
msgid "extlink"
|
||||
msgstr "extlink"
|
||||
|
||||
#: extlink.info:0
|
||||
msgid "External Links"
|
||||
msgstr "Externí odkazy"
|
||||
|
||||
#: extlink.info:0
|
||||
msgid "Adds icon next to external links on the site."
|
||||
msgstr "Přidává ikonu vedle externích odkazů na stránkách."
|
||||
|
||||
#: extlink.info:0
|
||||
msgid "User interface"
|
||||
msgstr "Uživatelské rozhraní"
|
||||
|
||||
@@ -0,0 +1,156 @@
|
||||
# $Id: de.po,v 1.3 2010/05/08 18:40:24 quicksketch Exp $
|
||||
# -----------------------------------------------------------------------------
|
||||
# German translation of Drupal (extlink.module)
|
||||
#
|
||||
# Generated from file:
|
||||
# extlink.module,v 1.1 2007/03/29 00:31:55 quicksketch
|
||||
# extlink.info,v 1.1 2007/03/29 00:31:55 quicksketch
|
||||
#
|
||||
# -----------------------------------------------------------------------------
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: Drupal External Link V6.x-1.9\n"
|
||||
"POT-Creation-Date: 2010-05-08 17:01+0200\n"
|
||||
"PO-Revision-Date: \n"
|
||||
"Last-Translator: Frank Tartler <frank.tartler@googlemail.com>\n"
|
||||
"Language-Team: Frank Tartler <frank.tartler@googlemail.com>\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"
|
||||
"X-Poedit-SourceCharset: utf-8\n"
|
||||
|
||||
#: extlink.module:43
|
||||
msgid "Add icon to external links"
|
||||
msgstr "Icon zu externen Links hinzufügen"
|
||||
|
||||
#: extlink.module:46
|
||||
msgid "Places an !icon icon next to external links."
|
||||
msgstr "Plaziert das Icon !icon neben externen Links."
|
||||
|
||||
#: extlink.module:51
|
||||
msgid "Add icon to mailto links"
|
||||
msgstr "Icon zu mailto-Links hinzufügen"
|
||||
|
||||
#: extlink.module:54
|
||||
msgid "Places an !icon icon next to mailto links."
|
||||
msgstr "Plaziert das Icon !icon neben mailto-Links."
|
||||
|
||||
#: extlink.module:59
|
||||
msgid "Consider subdomains internal"
|
||||
msgstr "Unterdomänen als intern betrachten"
|
||||
|
||||
#: extlink.module:61
|
||||
msgid "If checked, links with the same primary domain will all be considered internal. A link from www.example.com to my.example.com would be considered internal. Links between the www. and non-www. domain are always considered internal."
|
||||
msgstr "Wenn aktiviert werden Links mit der selben Hauptdomäne als intern betrachtet. Ein Link von www.beispiel.de nach mein.beispiel.de würde als intern betrachtet. Links zwischen www.- und nicht-www.-Domänen werden immer als intern betrachtet."
|
||||
|
||||
#: extlink.module:66
|
||||
msgid "Open external links in a new window"
|
||||
msgstr "Externe Links in einem neuen Fenster öffnen"
|
||||
|
||||
#: extlink.module:69
|
||||
msgid "Should all external links be opened in a new window?"
|
||||
msgstr "Sollen alle externen Links in einem neuen Fenster geöffnet werden?"
|
||||
|
||||
#: extlink.module:74
|
||||
msgid "Display pop-up warnings"
|
||||
msgstr "Popup-Warnungen anzeigen"
|
||||
|
||||
#: extlink.module:77
|
||||
msgid "Displays a pop-up warning when any external link is clicked."
|
||||
msgstr "Zeigt eine Popup-Warnung an, wenn ein externer Link angeklickt wird."
|
||||
|
||||
#: extlink.module:83
|
||||
msgid "Pop-up warning text"
|
||||
msgstr "Text der Popup-Warnung"
|
||||
|
||||
#: extlink.module:85
|
||||
msgid "Text to display in the pop-up external link warning box."
|
||||
msgstr "Text der in der Popup-Warnung bei externen Links erscheinen soll."
|
||||
|
||||
#: extlink.module:89
|
||||
msgid "Matches example.com."
|
||||
msgstr "Übereinstimmung bei example.com"
|
||||
|
||||
#: extlink.module:90
|
||||
msgid "Multiple patterns can be strung together by using a pipe. Matches example.com OR example.net."
|
||||
msgstr "Mehrere Muster können mittels eine Pipe verbunden werden. Übereinstimmung bei example.com OR example.net."
|
||||
|
||||
#: extlink.module:91
|
||||
msgid "Matches links that go through the <a href=\"http://drupal.org/project/links\">Links module</a> redirect."
|
||||
msgstr "Übereinstimmg ist bei allen Links über die Weiterleitung des <a href=\"http://drupal.org/project/links\">Links-Moduls</a> gegeben."
|
||||
|
||||
#: extlink.module:95
|
||||
msgid "Matches any character."
|
||||
msgstr "Übereinstimmung bei irgendeinem Zeichen."
|
||||
|
||||
#: extlink.module:96
|
||||
msgid "The previous character or set is optional."
|
||||
msgstr "Das vorherige Zeichen oder Set ist optional."
|
||||
|
||||
#: extlink.module:97
|
||||
#, fuzzy
|
||||
msgid "Matches any digit (0-9)."
|
||||
msgstr "Übereinstimmung bei irgendeiner Ziffer (0-9)."
|
||||
|
||||
#: extlink.module:98
|
||||
msgid "Brackets may be used to match a custom set of characters. This matches any alphabetic letter."
|
||||
msgstr "Klammern können für die Übereinstimmung mit einem benutzerdefinierten Set von Zeichen verwendet werden. Übereinstimmung ist bei jedem alphabetischen Zeichen gegeben."
|
||||
|
||||
#: extlink.module:104
|
||||
msgid "Pattern matching"
|
||||
msgstr "Musterübereinstimmung"
|
||||
|
||||
#: extlink.module:108
|
||||
msgid "External links uses patterns (regular expressions) to match the \"href\" property of links."
|
||||
msgstr "External Links verwendet Muster (reguläre Ausdrücke) für die Übereinstimmung mit der „href“-Eigenschaft von Links."
|
||||
|
||||
#: extlink.module:109
|
||||
msgid "Here are some common patterns."
|
||||
msgstr "Hier sind ein paar übliche Muster."
|
||||
|
||||
#: extlink.module:111
|
||||
msgid "Common special characters:"
|
||||
msgstr "Übliche Sonderzeichen:"
|
||||
|
||||
#: extlink.module:113
|
||||
msgid "All special characters (<em>^ $ . ? ( ) | * +</em>) must also be escaped with backslashes. Patterns are not case-sensitive. Any <a href=\"http://www.javascriptkit.com/javatutors/redev2.shtml\">pattern supported by JavaScript</a> may be used."
|
||||
msgstr "Allen Sonderzeichen (<em>^ $ . ? ( ) | * +</em>) muss ein umgekehrter Schrägstrich (Backslash) vorangestellt werden. Groß-/Kleinschreibung wird bei Mustern nicht beachtet. Alle <a href=\"http://www.javascriptkit.com/javatutors/redev2.shtml\">von Javascript unterstützten Muster</a> können verwendet werden."
|
||||
|
||||
#: extlink.module:118
|
||||
msgid "Exclude links matching the pattern"
|
||||
msgstr "Links ausschließen, die mit dem folgenden Muster übereinstimmen"
|
||||
|
||||
#: extlink.module:121
|
||||
msgid "Enter a regular expression for links that you wish to exclude from being considered external."
|
||||
msgstr "Bitte einen regulären Ausdruck für Links eingeben, die nicht als extern betrachtet werden sollen."
|
||||
|
||||
#: extlink.module:126
|
||||
msgid "Include links matching the pattern"
|
||||
msgstr "Links einschließen, die mit dem folgenden Muster übereinstimmen"
|
||||
|
||||
#: extlink.module:129
|
||||
msgid "Enter a regular expression for internal links that you wish to be considered external."
|
||||
msgstr "Bitte einen regulären Ausdruck eingeben für Links, die als extern betrachtet werden sollen."
|
||||
|
||||
#: extlink.module:7
|
||||
msgid "External links"
|
||||
msgstr "Externe Links"
|
||||
|
||||
#: extlink.module:8
|
||||
msgid "Alter the display of external links on the site."
|
||||
msgstr "Darstellung externer Links auf der Site ändern."
|
||||
|
||||
#: extlink.info:0
|
||||
msgid "External Links"
|
||||
msgstr "Externe Links"
|
||||
|
||||
#: extlink.info:0
|
||||
msgid "Adds icon next to external links on the site."
|
||||
msgstr "Fügt bei externen Links auf der Website ein Icon hinzu."
|
||||
|
||||
#: extlink.info:0
|
||||
msgid "User interface"
|
||||
msgstr "Benutzeroberfläche"
|
||||
@@ -0,0 +1,70 @@
|
||||
# LANGUAGE translation of Drupal (general)
|
||||
# Copyright YEAR NAME <EMAIL@ADDRESS>
|
||||
# Generated from files:
|
||||
# extlink.module,v 1.3 2008/01/28 00:33:21 quicksketch
|
||||
# extlink.info,v 1.2 2008/02/23 03:53:10 quicksketc
|
||||
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: extlink.module\n"
|
||||
"POT-Creation-Date: 2007-04-21 21:40+0100\n"
|
||||
"PO-Revision-Date: YYYY-mm-DD HH:MM+ZZZZ\n"
|
||||
"Last-Translator: NAME <EMAIL@ADDRESS>\n"
|
||||
"Language-Team: LANGUAGE <EMAIL@ADDRESS>\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
|
||||
|
||||
#: extlink.module:9
|
||||
msgid "External links"
|
||||
msgstr ""
|
||||
|
||||
#: extlink.module:10
|
||||
msgid "Alter the display of external links on the site."
|
||||
msgstr ""
|
||||
|
||||
#: extlink.module:32
|
||||
msgid "Add icon to external links"
|
||||
msgstr ""
|
||||
|
||||
#: extlink.module:35
|
||||
msgid "Places an !icon icon next to external links."
|
||||
msgstr ""
|
||||
|
||||
#: extlink.module:42
|
||||
msgid "Add icon to mailto links"
|
||||
msgstr ""
|
||||
|
||||
#: extlink.module:50
|
||||
msgid "Consider subdomains internal"
|
||||
msgstr ""
|
||||
|
||||
#: extlink.module:52
|
||||
msgid "If checked, links with the same primary domain will all be considered internal. A link from www.example.com to my.example.com would be considered internal. Links between the www. and non-www. domain are always considered internal."
|
||||
msgstr ""
|
||||
|
||||
#: extlink.module:57
|
||||
msgid "Open external links in a new window"
|
||||
msgstr ""
|
||||
|
||||
#: extlink.module:60
|
||||
msgid "Should all external links be opened in a new window?"
|
||||
msgstr ""
|
||||
|
||||
#: extlink.module:0
|
||||
msgid "extlink"
|
||||
msgstr ""
|
||||
|
||||
#: extlink.info:0
|
||||
msgid "External Links"
|
||||
msgstr ""
|
||||
|
||||
#: extlink.info:0
|
||||
msgid "Adds icon next to external links on the site."
|
||||
msgstr ""
|
||||
|
||||
#: extlink.info:0
|
||||
msgid "User interface"
|
||||
msgstr ""
|
||||
|
||||
@@ -0,0 +1,53 @@
|
||||
# -----------------------------------------------------------------------------
|
||||
# French translation of Drupal (extlink.module)
|
||||
# -----------------------------------------------------------------------------
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"POT-Creation-Date: 2007-05-06 23:09+0900\n"
|
||||
"Last-Translator: Christian quest <drupal@cquest.org>\n"
|
||||
"Language-Team: none\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"
|
||||
|
||||
#: extlink.module:9
|
||||
msgid "External links"
|
||||
msgstr "Liens externes"
|
||||
|
||||
#: extlink.module:10
|
||||
msgid "Alter the display of external links on the site."
|
||||
msgstr "Moficie l'affichage des externes figurant dans le site."
|
||||
|
||||
#: extlink.module:32
|
||||
msgid "Add icon to external links"
|
||||
msgstr "Ajouter une ic™ne aux liens externes"
|
||||
|
||||
#: extlink.module:35
|
||||
msgid "Places an !icon icon next to external links."
|
||||
msgstr "Positionner l'ic™ne ˆ c™tŽ des liens externes."
|
||||
|
||||
#: extlink.module:40
|
||||
msgid "Open external links in a new window"
|
||||
msgstr "Ouvre les liens externes dans une nouvelle fen�tre"
|
||||
|
||||
#: extlink.module:43
|
||||
msgid "Should all external links be opened in a new window?"
|
||||
msgstr "Les liens externes doivent-ils s'ouvrir dans une nouvelle fen�tre ?"
|
||||
|
||||
#: extlink.info:0
|
||||
msgid "External Links"
|
||||
msgstr "Liens externes"
|
||||
|
||||
#: extlink.info:0
|
||||
msgid "Adds icon next to external links on the site."
|
||||
msgstr "Ajoute une ic™ne ˆ c™tŽ les liens externes contenus dans le site."
|
||||
|
||||
#: extlink.info:0
|
||||
msgid "User interface"
|
||||
msgstr "Interface utilisateur"
|
||||
|
||||
#: extlink.info:0
|
||||
msgid "extlink"
|
||||
msgstr "extlink"
|
||||
|
||||
@@ -0,0 +1,63 @@
|
||||
# $Id: ja.po,v 1.2 2008/01/22 02:34:34 quicksketch Exp $
|
||||
# -----------------------------------------------------------------------------
|
||||
# Japanese translation of Drupal (extlink.module)
|
||||
#
|
||||
# Copyright (c) 2006-2007 Drupal Japan ( http://drupal.jp/ ) /
|
||||
# Drupal Nippon ( http://drupon.org/ ) /
|
||||
# Takafumi ( jp.drupal@imagine **reverse order**)
|
||||
#
|
||||
# Generated from file:
|
||||
# extlink.module,v 1.1 2007/03/29 00:31:55 quicksketch
|
||||
# extlink.info,v 1.1 2007/03/29 00:31:55 quicksketch
|
||||
#
|
||||
# -----------------------------------------------------------------------------
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"POT-Creation-Date: 2007-05-06 23:09+0900\n"
|
||||
"Last-Translator: Takafumi <jp.drupal@imagine **reverse order**>\n"
|
||||
"Language-Team: Drupal Japan / Drupal Nippon\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"
|
||||
|
||||
#: extlink.module:9
|
||||
msgid "External links"
|
||||
msgstr "エクスターナルリンク"
|
||||
|
||||
#: extlink.module:10
|
||||
msgid "Alter the display of external links on the site."
|
||||
msgstr "サイト上の外部リンクの表示を変更します。"
|
||||
|
||||
#: extlink.module:32
|
||||
msgid "Add icon to external links"
|
||||
msgstr "外部リンクにアイコンを追加"
|
||||
|
||||
#: extlink.module:35
|
||||
msgid "Places an !icon icon next to external links."
|
||||
msgstr "アイコン(!icon)を外部リンクの隣に表示するかどうかを指定してください。"
|
||||
|
||||
#: extlink.module:40
|
||||
msgid "Open external links in a new window"
|
||||
msgstr "外部リンクを新しいウィンドウで開く"
|
||||
|
||||
#: extlink.module:43
|
||||
msgid "Should all external links be opened in a new window?"
|
||||
msgstr "すべての外部リンクを新しいウィンドウで開くようにするかどうかを指定してください。"
|
||||
|
||||
#: extlink.info:0
|
||||
msgid "External Links"
|
||||
msgstr "エクスターナルリンク"
|
||||
|
||||
#: extlink.info:0
|
||||
msgid "Adds icon next to external links on the site."
|
||||
msgstr "サイト上の外部リンクの隣にアイコンを加えます。"
|
||||
|
||||
#: extlink.info:0
|
||||
msgid "User interface"
|
||||
msgstr "ユーザインターフェース"
|
||||
|
||||
#: extlink.info:0
|
||||
msgid "extlink"
|
||||
msgstr "extlink"
|
||||
|
||||
@@ -0,0 +1,63 @@
|
||||
# -----------------------------------------------------------------------------
|
||||
# Dutch translation of Drupal (extlink.module)
|
||||
# -----------------------------------------------------------------------------
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"POT-Creation-Date: 2007-05-06 23:09+0900\n"
|
||||
"Last-Translator: Erik Stielstra <sutharsan - a t - drupal -dot-org>\n"
|
||||
"Language-Team: Dutch\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"
|
||||
"Project-Id-Version: \n"
|
||||
"PO-Revision-Date: 2008-01-02 21:10+0100\n"
|
||||
|
||||
#: extlink.module:9
|
||||
msgid "External links"
|
||||
msgstr "Externe verwijzingen"
|
||||
|
||||
#: extlink.module:10
|
||||
msgid "Alter the display of external links on the site."
|
||||
msgstr "Wijzig hoe externe verwijzingen op de site worden weergegeven."
|
||||
|
||||
#: extlink.module:32
|
||||
msgid "Add icon to external links"
|
||||
msgstr "Voeg een pictogram toe voor externe verwijzingen"
|
||||
|
||||
#: extlink.module:35
|
||||
msgid "Places an !icon icon next to external links."
|
||||
msgstr "Plaats een !icon pictogram naast externe verwijzingen."
|
||||
|
||||
#: extlink.module:37
|
||||
msgid "Consider subdomains internal"
|
||||
msgstr "Beschouw subdomeinen als intern"
|
||||
|
||||
#: extlink.module:38
|
||||
msgid "If checked, links with the same primary domain will all be considered internal. A link from www.example.com to my.example.com would be considered internal. Links between the www. and non-www. domain are always considered internal."
|
||||
msgstr "Als aangevinkt worden gelijke primaire domeinen als intern beschouwd. Een link van www.example.com naar mijn.example.com wordt als intern beschouwd. Links tussen www.example.com en example.com worden altijd als intern beschouwd."
|
||||
|
||||
#: extlink.module:40
|
||||
msgid "Open external links in a new window"
|
||||
msgstr "Open externe verwijzingen in een nieuw scherm"
|
||||
|
||||
#: extlink.module:43
|
||||
msgid "Should all external links be opened in a new window?"
|
||||
msgstr "Moeten alle externe verwijzingen in een nieuw scherm worden geopend?"
|
||||
|
||||
#: extlink.info:0
|
||||
msgid "External Links"
|
||||
msgstr "Externe Verwijzingen"
|
||||
|
||||
#: extlink.info:0
|
||||
msgid "Adds icon next to external links on the site."
|
||||
msgstr "Zet een pictogram naast externe verwijzingen op de site."
|
||||
|
||||
#: extlink.info:0
|
||||
msgid "User interface"
|
||||
msgstr "Gebruikersinterface"
|
||||
|
||||
#: extlink.info:0
|
||||
msgid "extlink"
|
||||
msgstr "extlink"
|
||||
|
||||
@@ -0,0 +1,69 @@
|
||||
# Polish translation of Drupal (general)
|
||||
# Copyright 2008 Michał Mańko <drupal@kula.waw.pl>
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: extlink.module\n"
|
||||
"POT-Creation-Date: 2007-04-21 21:40+0100\n"
|
||||
"PO-Revision-Date: 2008-04-21 21:43+0100\n"
|
||||
"Last-Translator: Michał Mańko <drupal@kula.waw.pl>\n"
|
||||
"Language-Team: <drupal@kula.waw.pl>\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"Plural-Forms: nplurals=3; plural=(n==1 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
|
||||
"X-Generator: KBabel 1.11.4\n"
|
||||
"X-Poedit-Language: Polish\n"
|
||||
"X-Poedit-Country: POLAND\n"
|
||||
|
||||
#: extlink.module:9
|
||||
msgid "External links"
|
||||
msgstr "Zewnętrzne odnośniki"
|
||||
|
||||
#: extlink.module:10
|
||||
msgid "Alter the display of external links on the site."
|
||||
msgstr "Modyfikuje sposób wyświetlania zewnętrznych odnośników na stronie."
|
||||
|
||||
#: extlink.module:32
|
||||
msgid "Add icon to external links"
|
||||
msgstr "Dodaj ikonę do zewnętrznych odnośników"
|
||||
|
||||
#: extlink.module:35
|
||||
msgid "Places an !icon icon next to external links."
|
||||
msgstr "Umieść ikonę !icon przy zewnętrznych odnośniku."
|
||||
|
||||
#: extlink.module:42
|
||||
msgid "Add icon to mailto links"
|
||||
msgstr "Dodaj ikonę do odnośników mailto"
|
||||
|
||||
#: extlink.module:50
|
||||
msgid "Consider subdomains internal"
|
||||
msgstr "Uznaj subdomeny jako odnośniki wewnętrzne"
|
||||
|
||||
#: extlink.module:52
|
||||
msgid "If checked, links with the same primary domain will all be considered internal. A link from www.example.com to my.example.com would be considered internal. Links between the www. and non-www. domain are always considered internal."
|
||||
msgstr "Odnośniki do tej samej domeny głównej będą uznawane jako odnośniki wewnętrzne. Odnośnik z www.przyklad.pl do moj.przyklad.pl będzie oznawany za odnośnik wewnętrzny. Odnośniki pomiędzy domenami www. i nie-www. zawsze są uznawane za wewnętrzne."
|
||||
|
||||
#: extlink.module:57
|
||||
msgid "Open external links in a new window"
|
||||
msgstr "Otwieraj zewnętrzne odnośniki w nowym oknie"
|
||||
|
||||
#: extlink.module:60
|
||||
msgid "Should all external links be opened in a new window?"
|
||||
msgstr "Czy wszystkie zewnętrzne odnośniki powinny być otwierane w nowym oknie ?"
|
||||
|
||||
#: extlink.module:0
|
||||
msgid "extlink"
|
||||
msgstr "extlink"
|
||||
|
||||
#: extlink.info:0
|
||||
msgid "External Links"
|
||||
msgstr "Zewnętrzne odnośniki"
|
||||
|
||||
#: extlink.info:0
|
||||
msgid "Adds icon next to external links on the site."
|
||||
msgstr "Dodaje ikonę przy zewnętrznymi odnośnikami na stronie."
|
||||
|
||||
#: extlink.info:0
|
||||
msgid "User interface"
|
||||
msgstr "Interfejs użytkownika"
|
||||
|
||||
@@ -0,0 +1,70 @@
|
||||
# translation of extlink-5.x-1.3.po to russian
|
||||
# $Id: ru.po,v 1.2 2008/01/22 02:34:34 quicksketch Exp $
|
||||
# LANGUAGE translation of Drupal (general)
|
||||
# Copyright YEAR NAME <EMAIL@ADDRESS>
|
||||
# Generated from files:
|
||||
# extlink.module,v 1.1.2.1 2007/07/05 21:37:41 quicksketch
|
||||
# extlink.info,v 1.1 2007/03/29 00:31:55 quicksketch
|
||||
#
|
||||
# Vlad Savitsky <vs@solti.com.ua>, 2007.
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: extlink-5.x-1.3\n"
|
||||
"POT-Creation-Date: 2007-11-07 15:25+0200\n"
|
||||
"PO-Revision-Date: 2007-11-07 15:34+0200\n"
|
||||
"Last-Translator: Vlad Savitsky <vs@solti.com.ua>\n"
|
||||
"Language-Team: russian <ru@li.org>\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
|
||||
"X-Generator: KBabel 1.11.4\n"
|
||||
|
||||
#: extlink.module:9
|
||||
msgid "External links"
|
||||
msgstr "Внешние ссылки"
|
||||
|
||||
#: extlink.module:10
|
||||
msgid "Alter the display of external links on the site."
|
||||
msgstr "Позволяет обозначить внешние ссылки на сайте."
|
||||
|
||||
#: extlink.module:32
|
||||
msgid "Add icon to external links"
|
||||
msgstr "Добавить значок ко внешним ссылкам"
|
||||
|
||||
#: extlink.module:35
|
||||
msgid "Places an !icon icon next to external links."
|
||||
msgstr "Помещает значок !icon рядом со внешними ссылками."
|
||||
|
||||
#: extlink.module:40
|
||||
msgid "Consider subdomains internal"
|
||||
msgstr "Считает поддомены внутренними"
|
||||
|
||||
#: extlink.module:42
|
||||
msgid "If checked, links with the same primary domain will all be considered internal. A link from www.example.com to my.example.com would be considered internal. Links between the www. and non-www. domain are always considered internal."
|
||||
msgstr "Если выбрано, ссылки с одинаковым основным доменом будут считаться внутренними. Ссылки с www.example.com на my.example.com будут считаться внутренними. Ссылки между www. и НЕ-www. доменами всегда считаются внутренними."
|
||||
|
||||
#: extlink.module:47
|
||||
msgid "Open external links in a new window"
|
||||
msgstr "Открывать внешние ссылки в новом окне"
|
||||
|
||||
#: extlink.module:50
|
||||
msgid "Should all external links be opened in a new window?"
|
||||
msgstr "Нужно ли все внешние ссылки открывать в новом окне?"
|
||||
|
||||
#: extlink.module:0
|
||||
msgid "extlink"
|
||||
msgstr "extlink"
|
||||
|
||||
#: extlink.info:0
|
||||
msgid "External Links"
|
||||
msgstr "Внешние ссылки"
|
||||
|
||||
#: extlink.info:0
|
||||
msgid "Adds icon next to external links on the site."
|
||||
msgstr "Добавляет значок рядом со внешней ссылкой на сайте."
|
||||
|
||||
#: extlink.info:0
|
||||
msgid "User interface"
|
||||
msgstr "Интерфейс пользователя"
|
||||
|
||||
Reference in New Issue
Block a user