Also 'title' attribute is nice.

This commit is contained in:
Garvin Hicking 2009-07-14 09:40:11 +00:00
parent d6e3190d2d
commit f168a7578d
67 changed files with 227 additions and 94 deletions

View File

@ -280,6 +280,8 @@ function serendipity_imageSelector_done(textarea)
var img = '';
var src = '';
var alt = '';
var title = '';
var f = document.forms['serendipity[selForm]'].elements;
if (f['serendipity[linkThumbnail]'] && f['serendipity[linkThumbnail]'][0].checked == true) {
@ -318,8 +320,9 @@ function serendipity_imageSelector_done(textarea)
}
}
alt = f['serendipity[alt]'].value;
alt = f['serendipity[alt]'].value.replace(/"/g, """);
title = f['serendipity[title]'].value.replace(/"/g, """);
styled = false; // Templates now do this.
imgID = 0;
@ -333,12 +336,12 @@ function serendipity_imageSelector_done(textarea)
floating = 'center';
if (f['serendipity[align]'][0].checked == true) {
img = "<!-- s9ymdb:" + imgID + " --><img class=\"serendipity_image_center\" width=\"" + imgWidth + "\" height=\"" + imgHeight + "\" " + (styled ? 'style="border: 0px; padding-left: 5px; padding-right: 5px;"' : '') + ' src="' + img + "\" alt=\"" + alt + "\" />";
img = "<!-- s9ymdb:" + imgID + " --><img class=\"serendipity_image_center\" width=\"" + imgWidth + "\" height=\"" + imgHeight + "\" " + (styled ? 'style="border: 0px; padding-left: 5px; padding-right: 5px;"' : '') + ' src="' + img + "\" " + (title != '' ? 'title="' + title + '"' : '') + " alt=\"" + alt + "\" />";
} else if (f['serendipity[align]'][1].checked == true) {
img = "<!-- s9ymdb:" + imgID + " --><img class=\"serendipity_image_left\" width=\"" + imgWidth + "\" height=\"" + imgHeight + "\" " + (styled ? 'style="float: left; border: 0px; padding-left: 5px; padding-right: 5px;"' : '') + ' src="' + img + "\" alt=\"" + alt + "\" />";
img = "<!-- s9ymdb:" + imgID + " --><img class=\"serendipity_image_left\" width=\"" + imgWidth + "\" height=\"" + imgHeight + "\" " + (styled ? 'style="float: left; border: 0px; padding-left: 5px; padding-right: 5px;"' : '') + ' src="' + img + "\" " + (title != '' ? 'title="' + title + '"' : '') + " alt=\"" + alt + "\" />";
floating = 'left';
} else if (f['serendipity[align]'][2].checked == true) {
img = "<!-- s9ymdb:" + imgID + " --><img class=\"serendipity_image_right\" width=\"" + imgWidth + "\" height=\"" + imgHeight + "\" " + (styled ? 'style="float: right; border: 0px; padding-left: 5px; padding-right: 5px;"' : '') + ' src="' + img + "\" alt=\"" + alt + "\" />";
img = "<!-- s9ymdb:" + imgID + " --><img class=\"serendipity_image_right\" width=\"" + imgWidth + "\" height=\"" + imgHeight + "\" " + (styled ? 'style="float: right; border: 0px; padding-left: 5px; padding-right: 5px;"' : '') + ' src="' + img + "\" " + (title != '' ? 'title="' + title + '"' : '') + " alt=\"" + alt + "\" />";
floating = 'right';
}
@ -368,7 +371,7 @@ function serendipity_imageSelector_done(textarea)
ilink = baseURL + 'serendipity_admin_image_selector.php?serendipity[step]=showItem&amp;serendipity[image]=' + imgID;
}
insert = prepend + "<a class='serendipity_image_link' href='" + ilink + "'" + itarget + ">" + img + "</a>";
insert = prepend + "<a class=\"serendipity_image_link\" " + (title != '' ? 'title="' + title + '"' : '') + " href='" + ilink + "'" + itarget + ">" + img + "</a>";
} else {
insert = img;
}

View File

@ -5,9 +5,9 @@ Version 1.5 ()
* Removed inline styles of the s9y media insertion, they will now
properly utilize CSS classes (defined in the new file
style_fallback.css). Also added support for entering "ALT"
style_fallback.css). Also added support for entering "ALT/TITLE"
attributes to an <img> tag, can be used as a media property if
you add "ALT" to the list of "Media properties" in the
you add "ALT" and "TITLE" to the list of "Media properties" in the
main configuration. (garvinhicking)
* Filter entries only by authors that have written at least

View File

@ -137,3 +137,5 @@ foreach($const['missing'] AS $file => $constants) {
@define('MEDIA_ALT', 'ALT-Attribute (depiction or short description)');
@define('MEDIA_PROPERTY_COMMENT1', 'Depiction (summary for ALT-Attribute)');
@define('MEDIA_TITLE', 'TITLE-Attribute (will be displayed on mouse over)');

View File

@ -940,5 +940,7 @@ $i18n_filename_to = array('-', 'a', 'A', 'b', 'B', 'v', 'V', 'g', 'G', 'd', 'D
@define('COMMENTS_FILTER_NEED_CONFIRM', 'Коментарът очаква одобрение от потребителя');
@define('NOT_WRITABLE_SPARTACUS', ' (Only required when you plan to use Spartacus plugin for remote plugin download)');
@define('MEDIA_ALT', 'ALT-Attribute (depiction or short description)');
@define('MEDIA_PROPERTY_COMMENT1', 'Depiction (summary for ALT-Attribute)');
@define('MEDIA_PROPERTY_ALT', 'Depiction (summary for ALT-Attribute)');
@define('MEDIA_TITLE', 'TITLE-Attribute (will be displayed on mouse over)');

View File

@ -1,4 +1,4 @@
<?php # $Id: serendipity_lang_cn.inc.php 2544 2009-07-10 13:50:13Z garvinhicking $
<?php # $Id: serendipity_lang_cn.inc.php 2547 2009-07-14 09:22:06Z garvinhicking $
# Copyright (c) 2003-2005, Jannis Hermanns (on behalf the Serendipity Developer Team)
# All rights reserved. See LICENSE file for licensing details
# Translated by
@ -949,5 +949,7 @@
@define('COMMENTS_FILTER_NEED_CONFIRM', 'Pending user confirmation');
@define('NOT_WRITABLE_SPARTACUS', ' (Only required when you plan to use Spartacus plugin for remote plugin download)');
@define('MEDIA_ALT', 'ALT-Attribute (depiction or short description)');
@define('MEDIA_PROPERTY_COMMENT1', 'Depiction (summary for ALT-Attribute)');
@define('MEDIA_PROPERTY_ALT', 'Depiction (summary for ALT-Attribute)');
@define('MEDIA_TITLE', 'TITLE-Attribute (will be displayed on mouse over)');

View File

@ -957,5 +957,7 @@ $i18n_filename_to = array (
@define('COMMENTS_FILTER_NEED_CONFIRM', 'Čeká na potvrzení uživatelem');
@define('NOT_WRITABLE_SPARTACUS', ' (Only required when you plan to use Spartacus plugin for remote plugin download)');
@define('MEDIA_ALT', 'ALT-Attribute (depiction or short description)');
@define('MEDIA_PROPERTY_COMMENT1', 'Depiction (summary for ALT-Attribute)');
@define('MEDIA_PROPERTY_ALT', 'Depiction (summary for ALT-Attribute)');
@define('MEDIA_TITLE', 'TITLE-Attribute (will be displayed on mouse over)');

View File

@ -957,5 +957,7 @@ $i18n_filename_to = array (
@define('COMMENTS_FILTER_NEED_CONFIRM', 'Čeká na potvrzení uživatelem');
@define('NOT_WRITABLE_SPARTACUS', ' (Only required when you plan to use Spartacus plugin for remote plugin download)');
@define('MEDIA_ALT', 'ALT-Attribute (depiction or short description)');
@define('MEDIA_PROPERTY_COMMENT1', 'Depiction (summary for ALT-Attribute)');
@define('MEDIA_PROPERTY_ALT', 'Depiction (summary for ALT-Attribute)');
@define('MEDIA_TITLE', 'TITLE-Attribute (will be displayed on mouse over)');

View File

@ -1,4 +1,4 @@
<?php # $Id: serendipity_lang_da.inc.php 2544 2009-07-10 13:50:13Z garvinhicking $
<?php # $Id: serendipity_lang_da.inc.php 2547 2009-07-14 09:22:06Z garvinhicking $
# Copyright (c) 2003-2005, Jannis Hermanns (on behalf the Serendipity Developer Team)
# All rights reserved. See LICENSE file for licensing details
# Translation (c) by Tom Sommer, <ts@dreamcoder.dk>
@ -946,5 +946,7 @@
@define('COMMENTS_FILTER_NEED_CONFIRM', 'Pending user confirmation');
@define('NOT_WRITABLE_SPARTACUS', ' (Only required when you plan to use Spartacus plugin for remote plugin download)');
@define('MEDIA_ALT', 'ALT-Attribute (depiction or short description)');
@define('MEDIA_PROPERTY_COMMENT1', 'Depiction (summary for ALT-Attribute)');
@define('MEDIA_PROPERTY_ALT', 'Depiction (summary for ALT-Attribute)');
@define('MEDIA_TITLE', 'TITLE-Attribute (will be displayed on mouse over)');

View File

@ -1,4 +1,4 @@
<?php # $Id: serendipity_lang_de.inc.php 2544 2009-07-10 13:50:13Z garvinhicking $
<?php # $Id: serendipity_lang_de.inc.php 2547 2009-07-14 09:22:06Z garvinhicking $
# Copyright (c) 2003-2005, Jannis Hermanns (on behalf the Serendipity Developer Team)
# All rights reserved. See LICENSE file for licensing details
# Translation (c) Jannis Hermanns, Garvin Hicking and others
@ -950,5 +950,6 @@
@define('INSTALL_OFFSET_ON_SERVER_TIME_DESC', 'Eintragszeiten nach Server-Zeitzone eintragen oder nicht. YES wählt die Server-Zeitzone als Basis, NO wählt GMT.');
@define('NOT_WRITABLE_SPARTACUS', ' (Nur notwendig wenn Spartacus zur Plugin-Installation über das Internet genutzt werden soll)');
@define('MEDIA_ALT', 'ALT-Attribut (Bildinhalt oder Kurzbeschreibung)');
@define('MEDIA_PROPERTY_COMMENT1', 'Bildinhalt (Zusammenfassung für das ALT-Attribut)');
@define('MEDIA_PROPERTY_ALT', 'Bildinhalt (Zusammenfassung für das ALT-Attribut)');
@define('MEDIA_TITLE', 'TITLE-Attribut (wird beim Überfahren mit der Maus angezeigt)');

View File

@ -1,4 +1,4 @@
<?php # $Id: serendipity_lang_en.inc.php 2544 2009-07-10 13:50:13Z garvinhicking $
<?php # $Id: serendipity_lang_en.inc.php 2547 2009-07-14 09:22:06Z garvinhicking $
# Copyright (c) 2003-2005, Jannis Hermanns (on behalf the Serendipity Developer Team)
# All rights reserved. See LICENSE file for licensing details
/* vim: set sts=4 ts=4 expandtab : */
@ -947,5 +947,7 @@
@define('COMMENTS_FILTER_NEED_CONFIRM', 'Pending user confirmation');
@define('NOT_WRITABLE_SPARTACUS', ' (Only required when you plan to use Spartacus plugin for remote plugin download)');
@define('MEDIA_ALT', 'ALT-Attribute (depiction or short description)');
@define('MEDIA_PROPERTY_COMMENT1', 'Depiction (summary for ALT-Attribute)');
@define('MEDIA_PROPERTY_ALT', 'Depiction (summary for ALT-Attribute)');
@define('MEDIA_TITLE', 'TITLE-Attribute (will be displayed on mouse over)');

View File

@ -1,4 +1,4 @@
<?php # $Id: serendipity_lang_es.inc.php 2544 2009-07-10 13:50:13Z garvinhicking $
<?php # $Id: serendipity_lang_es.inc.php 2547 2009-07-14 09:22:06Z garvinhicking $
# Copyright (c) 2003-2005, Jannis Hermanns (on behalf the Serendipity Developer Team)
# All rights reserved. See LICENSE file for licensing details
# Translation (c) by Luis Cervantes <LuisCervantes@ono.com>,
@ -965,5 +965,7 @@ Melvin TODO [20060128]: What spanish word do we use for "referrers" ??
@define('COMMENTS_FILTER_NEED_CONFIRM', 'Pending user confirmation');
@define('NOT_WRITABLE_SPARTACUS', ' (Only required when you plan to use Spartacus plugin for remote plugin download)');
@define('MEDIA_ALT', 'ALT-Attribute (depiction or short description)');
@define('MEDIA_PROPERTY_COMMENT1', 'Depiction (summary for ALT-Attribute)');
@define('MEDIA_PROPERTY_ALT', 'Depiction (summary for ALT-Attribute)');
@define('MEDIA_TITLE', 'TITLE-Attribute (will be displayed on mouse over)');

View File

@ -1,4 +1,4 @@
<?php # $Id: serendipity_lang_fa.inc.php 2544 2009-07-10 13:50:13Z garvinhicking $
<?php # $Id: serendipity_lang_fa.inc.php 2547 2009-07-14 09:22:06Z garvinhicking $
# Copyright (c) 2003-2005, Jannis Hermanns (on behalf the Serendipity Developer Team)
# All rights reserved. See LICENSE file for licensing details
# this translation, translated by Omid Mottaghi <http://oxygenws.com>
@ -949,5 +949,7 @@
@define('COMMENTS_FILTER_NEED_CONFIRM', 'Pending user confirmation');
@define('NOT_WRITABLE_SPARTACUS', ' (Only required when you plan to use Spartacus plugin for remote plugin download)');
@define('MEDIA_ALT', 'ALT-Attribute (depiction or short description)');
@define('MEDIA_PROPERTY_COMMENT1', 'Depiction (summary for ALT-Attribute)');
@define('MEDIA_PROPERTY_ALT', 'Depiction (summary for ALT-Attribute)');
@define('MEDIA_TITLE', 'TITLE-Attribute (will be displayed on mouse over)');

View File

@ -1,4 +1,4 @@
<?php # $Id: serendipity_lang_fi.inc.php 2544 2009-07-10 13:50:13Z garvinhicking $
<?php # $Id: serendipity_lang_fi.inc.php 2547 2009-07-14 09:22:06Z garvinhicking $
# Copyright (c) 2003-2005, Jannis Hermanns (on behalf the Serendipity Developer Team)
# All rights reserved. See LICENSE file for licensing details
# Translation by Mauri Sahlberg <mos@iki.fi>
@ -947,5 +947,7 @@
@define('COMMENTS_FILTER_NEED_CONFIRM', 'Pending user confirmation');
@define('NOT_WRITABLE_SPARTACUS', ' (Only required when you plan to use Spartacus plugin for remote plugin download)');
@define('MEDIA_ALT', 'ALT-Attribute (depiction or short description)');
@define('MEDIA_PROPERTY_COMMENT1', 'Depiction (summary for ALT-Attribute)');
@define('MEDIA_PROPERTY_ALT', 'Depiction (summary for ALT-Attribute)');
@define('MEDIA_TITLE', 'TITLE-Attribute (will be displayed on mouse over)');

View File

@ -1,4 +1,4 @@
<?php # $Id: serendipity_lang_fr.inc.php 2544 2009-07-10 13:50:13Z garvinhicking $
<?php # $Id: serendipity_lang_fr.inc.php 2547 2009-07-14 09:22:06Z garvinhicking $
# Copyright (c) 2003-2005, Jannis Hermanns (on behalf the Serendipity Developer Team)
# All rights reserved. See LICENSE file for licensing details
# Translation by Sebastian Mordziol <argh@php-tools.net>
@ -954,5 +954,7 @@
@define('COMMENTS_FILTER_NEED_CONFIRM', 'Pending user confirmation');
@define('NOT_WRITABLE_SPARTACUS', ' (Only required when you plan to use Spartacus plugin for remote plugin download)');
@define('MEDIA_ALT', 'ALT-Attribute (depiction or short description)');
@define('MEDIA_PROPERTY_COMMENT1', 'Depiction (summary for ALT-Attribute)');
@define('MEDIA_PROPERTY_ALT', 'Depiction (summary for ALT-Attribute)');
@define('MEDIA_TITLE', 'TITLE-Attribute (will be displayed on mouse over)');

View File

@ -945,5 +945,7 @@
@define('COMMENTS_FILTER_NEED_CONFIRM', 'Pending user confirmation');
@define('NOT_WRITABLE_SPARTACUS', ' (Only required when you plan to use Spartacus plugin for remote plugin download)');
@define('MEDIA_ALT', 'ALT-Attribute (depiction or short description)');
@define('MEDIA_PROPERTY_COMMENT1', 'Depiction (summary for ALT-Attribute)');
@define('MEDIA_PROPERTY_ALT', 'Depiction (summary for ALT-Attribute)');
@define('MEDIA_TITLE', 'TITLE-Attribute (will be displayed on mouse over)');

View File

@ -1,4 +1,4 @@
<?php # $Id: serendipity_lang_is.inc.php 2544 2009-07-10 13:50:13Z garvinhicking $
<?php # $Id: serendipity_lang_is.inc.php 2547 2009-07-14 09:22:06Z garvinhicking $
# Copyright (c) 2003-2005, Jannis Hermanns (on behalf the Serendipity Developer Team)
# All rights reserved. See LICENSE file for licensing details
# Translation by Örn Arnarson <orn@arnarson.net>
@ -948,5 +948,7 @@
@define('COMMENTS_FILTER_NEED_CONFIRM', 'Pending user confirmation');
@define('NOT_WRITABLE_SPARTACUS', ' (Only required when you plan to use Spartacus plugin for remote plugin download)');
@define('MEDIA_ALT', 'ALT-Attribute (depiction or short description)');
@define('MEDIA_PROPERTY_COMMENT1', 'Depiction (summary for ALT-Attribute)');
@define('MEDIA_PROPERTY_ALT', 'Depiction (summary for ALT-Attribute)');
@define('MEDIA_TITLE', 'TITLE-Attribute (will be displayed on mouse over)');

View File

@ -951,5 +951,7 @@
@define('COMMENTS_FILTER_NEED_CONFIRM', 'Pending user confirmation');
@define('NOT_WRITABLE_SPARTACUS', ' (Only required when you plan to use Spartacus plugin for remote plugin download)');
@define('MEDIA_ALT', 'ALT-Attribute (depiction or short description)');
@define('MEDIA_PROPERTY_COMMENT1', 'Depiction (summary for ALT-Attribute)');
@define('MEDIA_PROPERTY_ALT', 'Depiction (summary for ALT-Attribute)');
@define('MEDIA_TITLE', 'TITLE-Attribute (will be displayed on mouse over)');

View File

@ -1,4 +1,4 @@
<?php # $Id: serendipity_lang_ja.inc.php 2544 2009-07-10 13:50:13Z garvinhicking $
<?php # $Id: serendipity_lang_ja.inc.php 2547 2009-07-14 09:22:06Z garvinhicking $
# Copyright (c) 2003-2005, Jannis Hermanns (on behalf the Serendipity Developer Team)
# All rights reserved. See LICENSE file for licensing details
# Translation (c) Tadashi Jokagi <elf2000@users.sourceforge.net>, 2004-2005.
@ -951,5 +951,7 @@
@define('COMMENTS_FILTER_NEED_CONFIRM', 'ユーザーの確認を保留しています');
@define('NOT_WRITABLE_SPARTACUS', ' (Only required when you plan to use Spartacus plugin for remote plugin download)');
@define('MEDIA_ALT', 'ALT-Attribute (depiction or short description)');
@define('MEDIA_PROPERTY_COMMENT1', 'Depiction (summary for ALT-Attribute)');
@define('MEDIA_PROPERTY_ALT', 'Depiction (summary for ALT-Attribute)');
@define('MEDIA_TITLE', 'TITLE-Attribute (will be displayed on mouse over)');

View File

@ -1,4 +1,4 @@
<?php # $Id: serendipity_lang_ko.inc.php 2544 2009-07-10 13:50:13Z garvinhicking $
<?php # $Id: serendipity_lang_ko.inc.php 2547 2009-07-14 09:22:06Z garvinhicking $
# Copyright (c) 2003-2005, Jannis Hermanns (on behalf the Serendipity Developer Team)
# All rights reserved. See LICENSE file for licensing details
# Translated by: Wesley Hwang-Chung <wesley96@gmail.com>
@ -950,5 +950,7 @@
@define('COMMENTS_FILTER_NEED_CONFIRM', 'Pending user confirmation');
@define('NOT_WRITABLE_SPARTACUS', ' (Only required when you plan to use Spartacus plugin for remote plugin download)');
@define('MEDIA_ALT', 'ALT-Attribute (depiction or short description)');
@define('MEDIA_PROPERTY_COMMENT1', 'Depiction (summary for ALT-Attribute)');
@define('MEDIA_PROPERTY_ALT', 'Depiction (summary for ALT-Attribute)');
@define('MEDIA_TITLE', 'TITLE-Attribute (will be displayed on mouse over)');

View File

@ -1,4 +1,4 @@
<?php # $Id: serendipity_lang_nl.inc.php 2544 2009-07-10 13:50:13Z garvinhicking $
<?php # $Id: serendipity_lang_nl.inc.php 2547 2009-07-14 09:22:06Z garvinhicking $
# Copyright (c) 2003-2005, Jannis Hermanns (on behalf the Serendipity Developer Team)
# All rights reserved. See LICENSE file for licensing details
# Translation (c) by Christiaan Heerze <webmaster@heimp.nl>
@ -949,5 +949,7 @@
@define('COMMENTS_FILTER_NEED_CONFIRM', 'Pending user confirmation');
@define('NOT_WRITABLE_SPARTACUS', ' (Only required when you plan to use Spartacus plugin for remote plugin download)');
@define('MEDIA_ALT', 'ALT-Attribute (depiction or short description)');
@define('MEDIA_PROPERTY_COMMENT1', 'Depiction (summary for ALT-Attribute)');
@define('MEDIA_PROPERTY_ALT', 'Depiction (summary for ALT-Attribute)');
@define('MEDIA_TITLE', 'TITLE-Attribute (will be displayed on mouse over)');

View File

@ -1,4 +1,4 @@
<?php # $Id: serendipity_lang_no.inc.php 2544 2009-07-10 13:50:13Z garvinhicking $
<?php # $Id: serendipity_lang_no.inc.php 2547 2009-07-14 09:22:06Z garvinhicking $
# Copyright (c) 2003-2005, Jannis Hermanns (on behalf the Serendipity Developer Team)
# All rights reserved. See LICENSE file for licensing details
# Translation (c) by Jo Christian Oterhals <oterhals@gmail.com>
@ -950,5 +950,7 @@
@define('COMMENTS_FILTER_NEED_CONFIRM', 'Pending user confirmation');
@define('NOT_WRITABLE_SPARTACUS', ' (Only required when you plan to use Spartacus plugin for remote plugin download)');
@define('MEDIA_ALT', 'ALT-Attribute (depiction or short description)');
@define('MEDIA_PROPERTY_COMMENT1', 'Depiction (summary for ALT-Attribute)');
@define('MEDIA_PROPERTY_ALT', 'Depiction (summary for ALT-Attribute)');
@define('MEDIA_TITLE', 'TITLE-Attribute (will be displayed on mouse over)');

View File

@ -946,5 +946,7 @@ $i18n_filename_to = array('_', 'a', 'A', 'a', 'A', 'b', 'B', 'c', 'C', 'c', 'C
@define('COMMENTS_FILTER_NEED_CONFIRM', 'Pending user confirmation');
@define('NOT_WRITABLE_SPARTACUS', ' (Only required when you plan to use Spartacus plugin for remote plugin download)');
@define('MEDIA_ALT', 'ALT-Attribute (depiction or short description)');
@define('MEDIA_PROPERTY_COMMENT1', 'Depiction (summary for ALT-Attribute)');
@define('MEDIA_PROPERTY_ALT', 'Depiction (summary for ALT-Attribute)');
@define('MEDIA_TITLE', 'TITLE-Attribute (will be displayed on mouse over)');

View File

@ -1,4 +1,4 @@
<?php # $Id: serendipity_lang_pt.inc.php 2544 2009-07-10 13:50:13Z garvinhicking $
<?php # $Id: serendipity_lang_pt.inc.php 2547 2009-07-14 09:22:06Z garvinhicking $
# Copyright (c) 2003-2005, Jannis Hermanns (on behalf the Serendipity Developer Team)
# All rights reserved. See LICENSE file for licensing details
# Translation (c) by Agner Olson <agner@agner.net>
@ -952,5 +952,7 @@
@define('COMMENTS_FILTER_NEED_CONFIRM', 'Pending user confirmation');
@define('NOT_WRITABLE_SPARTACUS', ' (Only required when you plan to use Spartacus plugin for remote plugin download)');
@define('MEDIA_ALT', 'ALT-Attribute (depiction or short description)');
@define('MEDIA_PROPERTY_COMMENT1', 'Depiction (summary for ALT-Attribute)');
@define('MEDIA_PROPERTY_ALT', 'Depiction (summary for ALT-Attribute)');
@define('MEDIA_TITLE', 'TITLE-Attribute (will be displayed on mouse over)');

View File

@ -959,5 +959,7 @@
@define('COMMENTS_FILTER_NEED_CONFIRM', 'Pending user confirmation');
@define('NOT_WRITABLE_SPARTACUS', ' (Only required when you plan to use Spartacus plugin for remote plugin download)');
@define('MEDIA_ALT', 'ALT-Attribute (depiction or short description)');
@define('MEDIA_PROPERTY_COMMENT1', 'Depiction (summary for ALT-Attribute)');
@define('MEDIA_PROPERTY_ALT', 'Depiction (summary for ALT-Attribute)');
@define('MEDIA_TITLE', 'TITLE-Attribute (will be displayed on mouse over)');

View File

@ -948,5 +948,7 @@
@define('COMMENTS_FILTER_NEED_CONFIRM', 'Pending user confirmation');
@define('NOT_WRITABLE_SPARTACUS', ' (Only required when you plan to use Spartacus plugin for remote plugin download)');
@define('MEDIA_ALT', 'ALT-Attribute (depiction or short description)');
@define('MEDIA_PROPERTY_COMMENT1', 'Depiction (summary for ALT-Attribute)');
@define('MEDIA_PROPERTY_ALT', 'Depiction (summary for ALT-Attribute)');
@define('MEDIA_TITLE', 'TITLE-Attribute (will be displayed on mouse over)');

View File

@ -1,4 +1,4 @@
<?php # $Id: serendipity_lang_ru.inc.php 2544 2009-07-10 13:50:13Z garvinhicking $
<?php # $Id: serendipity_lang_ru.inc.php 2547 2009-07-14 09:22:06Z garvinhicking $
# Copyright (c) 2003-2005, Jannis Hermanns (on behalf the Serendipity Developer Team)
# All rights reserved. See LICENSE file for licensing details
# Translation by Nightly <nightly@reys.net>
@ -951,5 +951,7 @@ $i18n_filename_to = array('_', 'a', 'A', 'b', 'B', 'v', 'V', 'g', 'G', 'd', 'D
@define('COMMENTS_FILTER_NEED_CONFIRM', 'Pending user confirmation');
@define('NOT_WRITABLE_SPARTACUS', ' (Only required when you plan to use Spartacus plugin for remote plugin download)');
@define('MEDIA_ALT', 'ALT-Attribute (depiction or short description)');
@define('MEDIA_PROPERTY_COMMENT1', 'Depiction (summary for ALT-Attribute)');
@define('MEDIA_PROPERTY_ALT', 'Depiction (summary for ALT-Attribute)');
@define('MEDIA_TITLE', 'TITLE-Attribute (will be displayed on mouse over)');

View File

@ -866,5 +866,7 @@
@define('COMMENTS_FILTER_NEED_CONFIRM', 'Pending user confirmation');
@define('NOT_WRITABLE_SPARTACUS', ' (Only required when you plan to use Spartacus plugin for remote plugin download)');
@define('MEDIA_ALT', 'ALT-Attribute (depiction or short description)');
@define('MEDIA_PROPERTY_COMMENT1', 'Depiction (summary for ALT-Attribute)');
@define('MEDIA_PROPERTY_ALT', 'Depiction (summary for ALT-Attribute)');
@define('MEDIA_TITLE', 'TITLE-Attribute (will be displayed on mouse over)');

View File

@ -947,5 +947,7 @@
@define('COMMENTS_FILTER_NEED_CONFIRM', 'Pending user confirmation');
@define('NOT_WRITABLE_SPARTACUS', ' (Only required when you plan to use Spartacus plugin for remote plugin download)');
@define('MEDIA_ALT', 'ALT-Attribute (depiction or short description)');
@define('MEDIA_PROPERTY_COMMENT1', 'Depiction (summary for ALT-Attribute)');
@define('MEDIA_PROPERTY_ALT', 'Depiction (summary for ALT-Attribute)');
@define('MEDIA_TITLE', 'TITLE-Attribute (will be displayed on mouse over)');

View File

@ -947,5 +947,7 @@
@define('COMMENTS_FILTER_NEED_CONFIRM', 'Pending user confirmation');
@define('NOT_WRITABLE_SPARTACUS', ' (Only required when you plan to use Spartacus plugin for remote plugin download)');
@define('MEDIA_ALT', 'ALT-Attribute (depiction or short description)');
@define('MEDIA_PROPERTY_COMMENT1', 'Depiction (summary for ALT-Attribute)');
@define('MEDIA_PROPERTY_ALT', 'Depiction (summary for ALT-Attribute)');
@define('MEDIA_TITLE', 'TITLE-Attribute (will be displayed on mouse over)');

View File

@ -1,4 +1,4 @@
<?php # $Id: serendipity_lang_tn.inc.php 2544 2009-07-10 13:50:13Z garvinhicking $
<?php # $Id: serendipity_lang_tn.inc.php 2547 2009-07-14 09:22:06Z garvinhicking $
# Copyright (c) 2003-2005, Jannis Hermanns (on behalf the Serendipity Developer Team)
# All rights reserved. See LICENSE file for licensing details
# Translated by CapriSkye <admin@capriskye.com>
@ -951,5 +951,7 @@ $i18n_unknown = 'tw';
@define('COMMENTS_FILTER_NEED_CONFIRM', 'Pending user confirmation');
@define('NOT_WRITABLE_SPARTACUS', ' (Only required when you plan to use Spartacus plugin for remote plugin download)');
@define('MEDIA_ALT', 'ALT-Attribute (depiction or short description)');
@define('MEDIA_PROPERTY_COMMENT1', 'Depiction (summary for ALT-Attribute)');
@define('MEDIA_PROPERTY_ALT', 'Depiction (summary for ALT-Attribute)');
@define('MEDIA_TITLE', 'TITLE-Attribute (will be displayed on mouse over)');

View File

@ -951,5 +951,7 @@
@define('COMMENTS_FILTER_NEED_CONFIRM', 'Pending user confirmation');
@define('NOT_WRITABLE_SPARTACUS', ' (Only required when you plan to use Spartacus plugin for remote plugin download)');
@define('MEDIA_ALT', 'ALT-Attribute (depiction or short description)');
@define('MEDIA_PROPERTY_COMMENT1', 'Depiction (summary for ALT-Attribute)');
@define('MEDIA_PROPERTY_ALT', 'Depiction (summary for ALT-Attribute)');
@define('MEDIA_TITLE', 'TITLE-Attribute (will be displayed on mouse over)');

View File

@ -1,4 +1,4 @@
<?php # $Id: serendipity_lang_tw.inc.php 2544 2009-07-10 13:50:13Z garvinhicking $
<?php # $Id: serendipity_lang_tw.inc.php 2547 2009-07-14 09:22:06Z garvinhicking $
# Copyright (c) 2003-2005, Jannis Hermanns (on behalf the Serendipity Developer Team)
# All rights reserved. See LICENSE file for licensing details
# Translated by CapriSkye <admin@capriskye.com>
@ -952,5 +952,7 @@ $i18n_unknown = 'tw';
@define('COMMENTS_FILTER_NEED_CONFIRM', 'Pending user confirmation');
@define('NOT_WRITABLE_SPARTACUS', ' (Only required when you plan to use Spartacus plugin for remote plugin download)');
@define('MEDIA_ALT', 'ALT-Attribute (depiction or short description)');
@define('MEDIA_PROPERTY_COMMENT1', 'Depiction (summary for ALT-Attribute)');
@define('MEDIA_PROPERTY_ALT', 'Depiction (summary for ALT-Attribute)');
@define('MEDIA_TITLE', 'TITLE-Attribute (will be displayed on mouse over)');

View File

@ -1,4 +1,4 @@
<?php # $Id: serendipity_lang_zh.inc.php 2544 2009-07-10 13:50:13Z garvinhicking $
<?php # $Id: serendipity_lang_zh.inc.php 2547 2009-07-14 09:22:06Z garvinhicking $
# Copyright (c) 2003-2005, Jannis Hermanns (on behalf the Serendipity Developer Team)
# All rights reserved. See LICENSE file for licensing details
# Translated by
@ -948,5 +948,7 @@
@define('COMMENTS_FILTER_NEED_CONFIRM', 'Pending user confirmation');
@define('NOT_WRITABLE_SPARTACUS', ' (Only required when you plan to use Spartacus plugin for remote plugin download)');
@define('MEDIA_ALT', 'ALT-Attribute (depiction or short description)');
@define('MEDIA_PROPERTY_COMMENT1', 'Depiction (summary for ALT-Attribute)');
@define('MEDIA_PROPERTY_ALT', 'Depiction (summary for ALT-Attribute)');
@define('MEDIA_TITLE', 'TITLE-Attribute (will be displayed on mouse over)');

View File

@ -1,3 +1,2 @@
@define('MEDIA_ALT', 'ALT-Attribute (depiction or short description)');
@define('MEDIA_PROPERTY_COMMENT1', 'Depiction (summary for ALT-Attribute)');
@define('MEDIA_TITLE', 'TITLE-Attribute (will be displayed on mouse over)');

View File

@ -137,3 +137,5 @@ foreach($const['missing'] AS $file => $constants) {
@define('MEDIA_ALT', 'ALT-Attribute (depiction or short description)');
@define('MEDIA_PROPERTY_COMMENT1', 'Depiction (summary for ALT-Attribute)');
@define('MEDIA_TITLE', 'TITLE-Attribute (will be displayed on mouse over)');

View File

@ -940,5 +940,7 @@ $i18n_filename_to = array('-', 'a', 'A', 'b', 'B', 'v', 'V', 'g', 'G', 'd', 'D
@define('COMMENTS_FILTER_NEED_CONFIRM', 'Êîìåíòàðúò î÷àêâà îäîáðåíèå îò ïîòðåáèòåëÿ');
@define('NOT_WRITABLE_SPARTACUS', ' (Only required when you plan to use Spartacus plugin for remote plugin download)');
@define('MEDIA_ALT', 'ALT-Attribute (depiction or short description)');
@define('MEDIA_PROPERTY_COMMENT1', 'Depiction (summary for ALT-Attribute)');
@define('MEDIA_PROPERTY_ALT', 'Depiction (summary for ALT-Attribute)');
@define('MEDIA_TITLE', 'TITLE-Attribute (will be displayed on mouse over)');

View File

@ -949,5 +949,7 @@
@define('COMMENTS_FILTER_NEED_CONFIRM', 'Pending user confirmation');
@define('NOT_WRITABLE_SPARTACUS', ' (Only required when you plan to use Spartacus plugin for remote plugin download)');
@define('MEDIA_ALT', 'ALT-Attribute (depiction or short description)');
@define('MEDIA_PROPERTY_COMMENT1', 'Depiction (summary for ALT-Attribute)');
@define('MEDIA_PROPERTY_ALT', 'Depiction (summary for ALT-Attribute)');
@define('MEDIA_TITLE', 'TITLE-Attribute (will be displayed on mouse over)');

View File

@ -957,5 +957,7 @@ $i18n_filename_to = array (
@define('COMMENTS_FILTER_NEED_CONFIRM', 'Èeká na potvrzení uživatelem');
@define('NOT_WRITABLE_SPARTACUS', ' (Only required when you plan to use Spartacus plugin for remote plugin download)');
@define('MEDIA_ALT', 'ALT-Attribute (depiction or short description)');
@define('MEDIA_PROPERTY_COMMENT1', 'Depiction (summary for ALT-Attribute)');
@define('MEDIA_PROPERTY_ALT', 'Depiction (summary for ALT-Attribute)');
@define('MEDIA_TITLE', 'TITLE-Attribute (will be displayed on mouse over)');

View File

@ -957,5 +957,7 @@ $i18n_filename_to = array (
@define('COMMENTS_FILTER_NEED_CONFIRM', 'Èeká na potvrzení u¾ivatelem');
@define('NOT_WRITABLE_SPARTACUS', ' (Only required when you plan to use Spartacus plugin for remote plugin download)');
@define('MEDIA_ALT', 'ALT-Attribute (depiction or short description)');
@define('MEDIA_PROPERTY_COMMENT1', 'Depiction (summary for ALT-Attribute)');
@define('MEDIA_PROPERTY_ALT', 'Depiction (summary for ALT-Attribute)');
@define('MEDIA_TITLE', 'TITLE-Attribute (will be displayed on mouse over)');

View File

@ -946,5 +946,7 @@
@define('COMMENTS_FILTER_NEED_CONFIRM', 'Pending user confirmation');
@define('NOT_WRITABLE_SPARTACUS', ' (Only required when you plan to use Spartacus plugin for remote plugin download)');
@define('MEDIA_ALT', 'ALT-Attribute (depiction or short description)');
@define('MEDIA_PROPERTY_COMMENT1', 'Depiction (summary for ALT-Attribute)');
@define('MEDIA_PROPERTY_ALT', 'Depiction (summary for ALT-Attribute)');
@define('MEDIA_TITLE', 'TITLE-Attribute (will be displayed on mouse over)');

View File

@ -950,5 +950,6 @@
@define('INSTALL_OFFSET_ON_SERVER_TIME_DESC', 'Eintragszeiten nach Server-Zeitzone eintragen oder nicht. YES wählt die Server-Zeitzone als Basis, NO wählt GMT.');
@define('NOT_WRITABLE_SPARTACUS', ' (Nur notwendig wenn Spartacus zur Plugin-Installation über das Internet genutzt werden soll)');
@define('MEDIA_ALT', 'ALT-Attribut (Bildinhalt oder Kurzbeschreibung)');
@define('MEDIA_PROPERTY_COMMENT1', 'Bildinhalt (Zusammenfassung für das ALT-Attribut)');
@define('MEDIA_PROPERTY_ALT', 'Bildinhalt (Zusammenfassung für das ALT-Attribut)');
@define('MEDIA_TITLE', 'TITLE-Attribut (wird beim Überfahren mit der Maus angezeigt)');

View File

@ -947,5 +947,7 @@
@define('COMMENTS_FILTER_NEED_CONFIRM', 'Pending user confirmation');
@define('NOT_WRITABLE_SPARTACUS', ' (Only required when you plan to use Spartacus plugin for remote plugin download)');
@define('MEDIA_ALT', 'ALT-Attribute (depiction or short description)');
@define('MEDIA_PROPERTY_COMMENT1', 'Depiction (summary for ALT-Attribute)');
@define('MEDIA_PROPERTY_ALT', 'Depiction (summary for ALT-Attribute)');
@define('MEDIA_TITLE', 'TITLE-Attribute (will be displayed on mouse over)');

View File

@ -965,5 +965,7 @@ Melvin TODO [20060128]: What spanish word do we use for "referrers" ??
@define('COMMENTS_FILTER_NEED_CONFIRM', 'Pending user confirmation');
@define('NOT_WRITABLE_SPARTACUS', ' (Only required when you plan to use Spartacus plugin for remote plugin download)');
@define('MEDIA_ALT', 'ALT-Attribute (depiction or short description)');
@define('MEDIA_PROPERTY_COMMENT1', 'Depiction (summary for ALT-Attribute)');
@define('MEDIA_PROPERTY_ALT', 'Depiction (summary for ALT-Attribute)');
@define('MEDIA_TITLE', 'TITLE-Attribute (will be displayed on mouse over)');

View File

@ -949,5 +949,7 @@
@define('COMMENTS_FILTER_NEED_CONFIRM', 'Pending user confirmation');
@define('NOT_WRITABLE_SPARTACUS', ' (Only required when you plan to use Spartacus plugin for remote plugin download)');
@define('MEDIA_ALT', 'ALT-Attribute (depiction or short description)');
@define('MEDIA_PROPERTY_COMMENT1', 'Depiction (summary for ALT-Attribute)');
@define('MEDIA_PROPERTY_ALT', 'Depiction (summary for ALT-Attribute)');
@define('MEDIA_TITLE', 'TITLE-Attribute (will be displayed on mouse over)');

View File

@ -947,5 +947,7 @@
@define('COMMENTS_FILTER_NEED_CONFIRM', 'Pending user confirmation');
@define('NOT_WRITABLE_SPARTACUS', ' (Only required when you plan to use Spartacus plugin for remote plugin download)');
@define('MEDIA_ALT', 'ALT-Attribute (depiction or short description)');
@define('MEDIA_PROPERTY_COMMENT1', 'Depiction (summary for ALT-Attribute)');
@define('MEDIA_PROPERTY_ALT', 'Depiction (summary for ALT-Attribute)');
@define('MEDIA_TITLE', 'TITLE-Attribute (will be displayed on mouse over)');

View File

@ -954,5 +954,7 @@
@define('COMMENTS_FILTER_NEED_CONFIRM', 'Pending user confirmation');
@define('NOT_WRITABLE_SPARTACUS', ' (Only required when you plan to use Spartacus plugin for remote plugin download)');
@define('MEDIA_ALT', 'ALT-Attribute (depiction or short description)');
@define('MEDIA_PROPERTY_COMMENT1', 'Depiction (summary for ALT-Attribute)');
@define('MEDIA_PROPERTY_ALT', 'Depiction (summary for ALT-Attribute)');
@define('MEDIA_TITLE', 'TITLE-Attribute (will be displayed on mouse over)');

View File

@ -945,5 +945,7 @@
@define('COMMENTS_FILTER_NEED_CONFIRM', 'Pending user confirmation');
@define('NOT_WRITABLE_SPARTACUS', ' (Only required when you plan to use Spartacus plugin for remote plugin download)');
@define('MEDIA_ALT', 'ALT-Attribute (depiction or short description)');
@define('MEDIA_PROPERTY_COMMENT1', 'Depiction (summary for ALT-Attribute)');
@define('MEDIA_PROPERTY_ALT', 'Depiction (summary for ALT-Attribute)');
@define('MEDIA_TITLE', 'TITLE-Attribute (will be displayed on mouse over)');

View File

@ -948,5 +948,7 @@
@define('COMMENTS_FILTER_NEED_CONFIRM', 'Pending user confirmation');
@define('NOT_WRITABLE_SPARTACUS', ' (Only required when you plan to use Spartacus plugin for remote plugin download)');
@define('MEDIA_ALT', 'ALT-Attribute (depiction or short description)');
@define('MEDIA_PROPERTY_COMMENT1', 'Depiction (summary for ALT-Attribute)');
@define('MEDIA_PROPERTY_ALT', 'Depiction (summary for ALT-Attribute)');
@define('MEDIA_TITLE', 'TITLE-Attribute (will be displayed on mouse over)');

View File

@ -951,5 +951,7 @@
@define('COMMENTS_FILTER_NEED_CONFIRM', 'Pending user confirmation');
@define('NOT_WRITABLE_SPARTACUS', ' (Only required when you plan to use Spartacus plugin for remote plugin download)');
@define('MEDIA_ALT', 'ALT-Attribute (depiction or short description)');
@define('MEDIA_PROPERTY_COMMENT1', 'Depiction (summary for ALT-Attribute)');
@define('MEDIA_PROPERTY_ALT', 'Depiction (summary for ALT-Attribute)');
@define('MEDIA_TITLE', 'TITLE-Attribute (will be displayed on mouse over)');

View File

@ -951,5 +951,7 @@
@define('COMMENTS_FILTER_NEED_CONFIRM', 'ユーザーの確認を保留しています');
@define('NOT_WRITABLE_SPARTACUS', ' (Only required when you plan to use Spartacus plugin for remote plugin download)');
@define('MEDIA_ALT', 'ALT-Attribute (depiction or short description)');
@define('MEDIA_PROPERTY_COMMENT1', 'Depiction (summary for ALT-Attribute)');
@define('MEDIA_PROPERTY_ALT', 'Depiction (summary for ALT-Attribute)');
@define('MEDIA_TITLE', 'TITLE-Attribute (will be displayed on mouse over)');

View File

@ -950,5 +950,7 @@
@define('COMMENTS_FILTER_NEED_CONFIRM', 'Pending user confirmation');
@define('NOT_WRITABLE_SPARTACUS', ' (Only required when you plan to use Spartacus plugin for remote plugin download)');
@define('MEDIA_ALT', 'ALT-Attribute (depiction or short description)');
@define('MEDIA_PROPERTY_COMMENT1', 'Depiction (summary for ALT-Attribute)');
@define('MEDIA_PROPERTY_ALT', 'Depiction (summary for ALT-Attribute)');
@define('MEDIA_TITLE', 'TITLE-Attribute (will be displayed on mouse over)');

View File

@ -949,5 +949,7 @@
@define('COMMENTS_FILTER_NEED_CONFIRM', 'Pending user confirmation');
@define('NOT_WRITABLE_SPARTACUS', ' (Only required when you plan to use Spartacus plugin for remote plugin download)');
@define('MEDIA_ALT', 'ALT-Attribute (depiction or short description)');
@define('MEDIA_PROPERTY_COMMENT1', 'Depiction (summary for ALT-Attribute)');
@define('MEDIA_PROPERTY_ALT', 'Depiction (summary for ALT-Attribute)');
@define('MEDIA_TITLE', 'TITLE-Attribute (will be displayed on mouse over)');

View File

@ -950,5 +950,7 @@
@define('COMMENTS_FILTER_NEED_CONFIRM', 'Pending user confirmation');
@define('NOT_WRITABLE_SPARTACUS', ' (Only required when you plan to use Spartacus plugin for remote plugin download)');
@define('MEDIA_ALT', 'ALT-Attribute (depiction or short description)');
@define('MEDIA_PROPERTY_COMMENT1', 'Depiction (summary for ALT-Attribute)');
@define('MEDIA_PROPERTY_ALT', 'Depiction (summary for ALT-Attribute)');
@define('MEDIA_TITLE', 'TITLE-Attribute (will be displayed on mouse over)');

View File

@ -946,5 +946,7 @@ $i18n_filename_to = array('_', 'a', 'A', 'a', 'A', 'b', 'B', 'c', 'C', 'c', 'C
@define('COMMENTS_FILTER_NEED_CONFIRM', 'Pending user confirmation');
@define('NOT_WRITABLE_SPARTACUS', ' (Only required when you plan to use Spartacus plugin for remote plugin download)');
@define('MEDIA_ALT', 'ALT-Attribute (depiction or short description)');
@define('MEDIA_PROPERTY_COMMENT1', 'Depiction (summary for ALT-Attribute)');
@define('MEDIA_PROPERTY_ALT', 'Depiction (summary for ALT-Attribute)');
@define('MEDIA_TITLE', 'TITLE-Attribute (will be displayed on mouse over)');

View File

@ -952,5 +952,7 @@
@define('COMMENTS_FILTER_NEED_CONFIRM', 'Pending user confirmation');
@define('NOT_WRITABLE_SPARTACUS', ' (Only required when you plan to use Spartacus plugin for remote plugin download)');
@define('MEDIA_ALT', 'ALT-Attribute (depiction or short description)');
@define('MEDIA_PROPERTY_COMMENT1', 'Depiction (summary for ALT-Attribute)');
@define('MEDIA_PROPERTY_ALT', 'Depiction (summary for ALT-Attribute)');
@define('MEDIA_TITLE', 'TITLE-Attribute (will be displayed on mouse over)');

View File

@ -959,5 +959,7 @@
@define('COMMENTS_FILTER_NEED_CONFIRM', 'Pending user confirmation');
@define('NOT_WRITABLE_SPARTACUS', ' (Only required when you plan to use Spartacus plugin for remote plugin download)');
@define('MEDIA_ALT', 'ALT-Attribute (depiction or short description)');
@define('MEDIA_PROPERTY_COMMENT1', 'Depiction (summary for ALT-Attribute)');
@define('MEDIA_PROPERTY_ALT', 'Depiction (summary for ALT-Attribute)');
@define('MEDIA_TITLE', 'TITLE-Attribute (will be displayed on mouse over)');

View File

@ -948,5 +948,7 @@
@define('COMMENTS_FILTER_NEED_CONFIRM', 'Pending user confirmation');
@define('NOT_WRITABLE_SPARTACUS', ' (Only required when you plan to use Spartacus plugin for remote plugin download)');
@define('MEDIA_ALT', 'ALT-Attribute (depiction or short description)');
@define('MEDIA_PROPERTY_COMMENT1', 'Depiction (summary for ALT-Attribute)');
@define('MEDIA_PROPERTY_ALT', 'Depiction (summary for ALT-Attribute)');
@define('MEDIA_TITLE', 'TITLE-Attribute (will be displayed on mouse over)');

View File

@ -951,5 +951,7 @@ $i18n_filename_to = array('_', 'a', 'A', 'b', 'B', 'v', 'V', 'g', 'G', 'd', 'D
@define('COMMENTS_FILTER_NEED_CONFIRM', 'Pending user confirmation');
@define('NOT_WRITABLE_SPARTACUS', ' (Only required when you plan to use Spartacus plugin for remote plugin download)');
@define('MEDIA_ALT', 'ALT-Attribute (depiction or short description)');
@define('MEDIA_PROPERTY_COMMENT1', 'Depiction (summary for ALT-Attribute)');
@define('MEDIA_PROPERTY_ALT', 'Depiction (summary for ALT-Attribute)');
@define('MEDIA_TITLE', 'TITLE-Attribute (will be displayed on mouse over)');

View File

@ -866,5 +866,7 @@
@define('COMMENTS_FILTER_NEED_CONFIRM', 'Pending user confirmation');
@define('NOT_WRITABLE_SPARTACUS', ' (Only required when you plan to use Spartacus plugin for remote plugin download)');
@define('MEDIA_ALT', 'ALT-Attribute (depiction or short description)');
@define('MEDIA_PROPERTY_COMMENT1', 'Depiction (summary for ALT-Attribute)');
@define('MEDIA_PROPERTY_ALT', 'Depiction (summary for ALT-Attribute)');
@define('MEDIA_TITLE', 'TITLE-Attribute (will be displayed on mouse over)');

View File

@ -947,5 +947,7 @@
@define('COMMENTS_FILTER_NEED_CONFIRM', 'Pending user confirmation');
@define('NOT_WRITABLE_SPARTACUS', ' (Only required when you plan to use Spartacus plugin for remote plugin download)');
@define('MEDIA_ALT', 'ALT-Attribute (depiction or short description)');
@define('MEDIA_PROPERTY_COMMENT1', 'Depiction (summary for ALT-Attribute)');
@define('MEDIA_PROPERTY_ALT', 'Depiction (summary for ALT-Attribute)');
@define('MEDIA_TITLE', 'TITLE-Attribute (will be displayed on mouse over)');

View File

@ -947,5 +947,7 @@
@define('COMMENTS_FILTER_NEED_CONFIRM', 'Pending user confirmation');
@define('NOT_WRITABLE_SPARTACUS', ' (Only required when you plan to use Spartacus plugin for remote plugin download)');
@define('MEDIA_ALT', 'ALT-Attribute (depiction or short description)');
@define('MEDIA_PROPERTY_COMMENT1', 'Depiction (summary for ALT-Attribute)');
@define('MEDIA_PROPERTY_ALT', 'Depiction (summary for ALT-Attribute)');
@define('MEDIA_TITLE', 'TITLE-Attribute (will be displayed on mouse over)');

View File

@ -951,5 +951,7 @@ $i18n_unknown = 'tw';
@define('COMMENTS_FILTER_NEED_CONFIRM', 'Pending user confirmation');
@define('NOT_WRITABLE_SPARTACUS', ' (Only required when you plan to use Spartacus plugin for remote plugin download)');
@define('MEDIA_ALT', 'ALT-Attribute (depiction or short description)');
@define('MEDIA_PROPERTY_COMMENT1', 'Depiction (summary for ALT-Attribute)');
@define('MEDIA_PROPERTY_ALT', 'Depiction (summary for ALT-Attribute)');
@define('MEDIA_TITLE', 'TITLE-Attribute (will be displayed on mouse over)');

View File

@ -951,5 +951,7 @@
@define('COMMENTS_FILTER_NEED_CONFIRM', 'Pending user confirmation');
@define('NOT_WRITABLE_SPARTACUS', ' (Only required when you plan to use Spartacus plugin for remote plugin download)');
@define('MEDIA_ALT', 'ALT-Attribute (depiction or short description)');
@define('MEDIA_PROPERTY_COMMENT1', 'Depiction (summary for ALT-Attribute)');
@define('MEDIA_PROPERTY_ALT', 'Depiction (summary for ALT-Attribute)');
@define('MEDIA_TITLE', 'TITLE-Attribute (will be displayed on mouse over)');

View File

@ -952,5 +952,7 @@ $i18n_unknown = 'tw';
@define('COMMENTS_FILTER_NEED_CONFIRM', 'Pending user confirmation');
@define('NOT_WRITABLE_SPARTACUS', ' (Only required when you plan to use Spartacus plugin for remote plugin download)');
@define('MEDIA_ALT', 'ALT-Attribute (depiction or short description)');
@define('MEDIA_PROPERTY_COMMENT1', 'Depiction (summary for ALT-Attribute)');
@define('MEDIA_PROPERTY_ALT', 'Depiction (summary for ALT-Attribute)');
@define('MEDIA_TITLE', 'TITLE-Attribute (will be displayed on mouse over)');

View File

@ -948,5 +948,7 @@
@define('COMMENTS_FILTER_NEED_CONFIRM', 'Pending user confirmation');
@define('NOT_WRITABLE_SPARTACUS', ' (Only required when you plan to use Spartacus plugin for remote plugin download)');
@define('MEDIA_ALT', 'ALT-Attribute (depiction or short description)');
@define('MEDIA_PROPERTY_COMMENT1', 'Depiction (summary for ALT-Attribute)');
@define('MEDIA_PROPERTY_ALT', 'Depiction (summary for ALT-Attribute)');
@define('MEDIA_TITLE', 'TITLE-Attribute (will be displayed on mouse over)');

View File

@ -280,6 +280,8 @@ function serendipity_imageSelector_done(textarea)
var img = '';
var src = '';
var alt = '';
var title = '';
var f = document.forms['serendipity[selForm]'].elements;
if (f['serendipity[linkThumbnail]'] && f['serendipity[linkThumbnail]'][0].checked == true) {
@ -318,8 +320,9 @@ function serendipity_imageSelector_done(textarea)
}
}
alt = f['serendipity[alt]'].value;
alt = f['serendipity[alt]'].value.replace(/"/g, "&quot;");
title = f['serendipity[title]'].value.replace(/"/g, "&quot;");
styled = false; // Templates now do this.
imgID = 0;
@ -333,12 +336,12 @@ function serendipity_imageSelector_done(textarea)
floating = 'center';
if (f['serendipity[align]'][0].checked == true) {
img = "<!-- s9ymdb:" + imgID + " --><img class=\"serendipity_image_center\" width=\"" + imgWidth + "\" height=\"" + imgHeight + "\" " + (styled ? 'style="border: 0px; padding-left: 5px; padding-right: 5px;"' : '') + ' src="' + img + "\" alt=\"" + alt + "\" />";
img = "<!-- s9ymdb:" + imgID + " --><img class=\"serendipity_image_center\" width=\"" + imgWidth + "\" height=\"" + imgHeight + "\" " + (styled ? 'style="border: 0px; padding-left: 5px; padding-right: 5px;"' : '') + ' src="' + img + "\" " + (title != '' ? 'title="' + title + '"' : '') + " alt=\"" + alt + "\" />";
} else if (f['serendipity[align]'][1].checked == true) {
img = "<!-- s9ymdb:" + imgID + " --><img class=\"serendipity_image_left\" width=\"" + imgWidth + "\" height=\"" + imgHeight + "\" " + (styled ? 'style="float: left; border: 0px; padding-left: 5px; padding-right: 5px;"' : '') + ' src="' + img + "\" alt=\"" + alt + "\" />";
img = "<!-- s9ymdb:" + imgID + " --><img class=\"serendipity_image_left\" width=\"" + imgWidth + "\" height=\"" + imgHeight + "\" " + (styled ? 'style="float: left; border: 0px; padding-left: 5px; padding-right: 5px;"' : '') + ' src="' + img + "\" " + (title != '' ? 'title="' + title + '"' : '') + " alt=\"" + alt + "\" />";
floating = 'left';
} else if (f['serendipity[align]'][2].checked == true) {
img = "<!-- s9ymdb:" + imgID + " --><img class=\"serendipity_image_right\" width=\"" + imgWidth + "\" height=\"" + imgHeight + "\" " + (styled ? 'style="float: right; border: 0px; padding-left: 5px; padding-right: 5px;"' : '') + ' src="' + img + "\" alt=\"" + alt + "\" />";
img = "<!-- s9ymdb:" + imgID + " --><img class=\"serendipity_image_right\" width=\"" + imgWidth + "\" height=\"" + imgHeight + "\" " + (styled ? 'style="float: right; border: 0px; padding-left: 5px; padding-right: 5px;"' : '') + ' src="' + img + "\" " + (title != '' ? 'title="' + title + '"' : '') + " alt=\"" + alt + "\" />";
floating = 'right';
}
@ -368,7 +371,7 @@ function serendipity_imageSelector_done(textarea)
ilink = baseURL + 'serendipity_admin_image_selector.php?serendipity[step]=showItem&amp;serendipity[image]=' + imgID;
}
insert = prepend + "<a class='serendipity_image_link' href='" + ilink + "'" + itarget + ">" + img + "</a>";
insert = prepend + "<a class=\"serendipity_image_link\" " + (title != '' ? 'title="' + title + '"' : '') + " href='" + ilink + "'" + itarget + ">" + img + "</a>";
} else {
insert = img;
}

View File

@ -257,6 +257,12 @@
<input size="30" class="input_textbox" type="text" id="serendipity_alt" name="serendipity[alt]" value="{$media.file.props.base_property.ALT|@escape}" /></textarea>
{serendipity_hookPlugin hookAll=true hook='frontend_image_selector_alt' eventData=$media.file}
<br />
<b>{$CONST.MEDIA_TITLE}:</b>
<br />
<input size="30" class="input_textbox" type="text" id="serendipity_title" name="serendipity[title]" value="{$media.file.props.base_property.TITLE|@escape}" /></textarea>
{serendipity_hookPlugin hookAll=true hook='frontend_image_selector_title' eventData=$media.file}
<br />
{/if}
{serendipity_hookPlugin hookAll=true hook='frontend_image_selector_more' eventData=$media.file}