Index: typo3/sysext/css_styled_content/static/setup.txt
===================================================================
--- typo3/sysext/css_styled_content/static/setup.txt (revision 9883)
+++ typo3/sysext/css_styled_content/static/setup.txt (revision )
@@ -498,10 +498,12 @@
enable.field = image_zoom
enable.ifEmpty.typolink.parameter.field = image_link
+ enable.ifEmpty.typolink.parameter.listNum.splitChar = 10
enable.ifEmpty.typolink.parameter.listNum.stdWrap.data = register : IMAGE_NUM_CURRENT
enable.ifEmpty.typolink.returnLast = url
typolink.parameter.field = image_link
+ typolink.parameter.listNum.splitChar = 10
typolink.parameter.listNum.stdWrap.data = register : IMAGE_NUM_CURRENT
typolink.target = {$styles.content.links.target}
typolink.extTarget = {$styles.content.links.extTarget}
Index: typo3/sysext/cms/tbl_tt_content.php
===================================================================
--- typo3/sysext/cms/tbl_tt_content.php (revision 9952)
+++ typo3/sysext/cms/tbl_tt_content.php (revision )
@@ -821,11 +821,9 @@
'exclude' => 1,
'label' => 'LLL:EXT:cms/locallang_ttc.xml:image_link',
'config' => array(
- 'type' => 'input',
- 'size' => '50',
- 'max' => '51200',
- 'checkbox' => '',
- 'eval' => 'trim',
+ 'type' => 'text',
+ 'cols' => '30',
+ 'rows' => '3',
'wizards' => array(
'_PADDING' => 2,
'link' => array(
@@ -2070,4 +2068,4 @@
);
-?>
\ No newline at end of file
+?>
Index: typo3/sysext/cms/locallang_ttc.xml
===================================================================
--- typo3/sysext/cms/locallang_ttc.xml (revision 9925)
+++ typo3/sysext/cms/locallang_ttc.xml (revision )
@@ -123,7 +123,7 @@
-
+
Index: typo3/sysext/cms/ext_tables.sql
===================================================================
--- typo3/sysext/cms/ext_tables.sql (revision 9895)
+++ typo3/sysext/cms/ext_tables.sql (revision )
@@ -393,7 +393,7 @@
fe_group varchar(100) DEFAULT '0' NOT NULL,
header_link varchar(255) DEFAULT '' NOT NULL,
imagecaption_position varchar(6) DEFAULT '' NOT NULL,
- image_link varchar(255) DEFAULT '' NOT NULL,
+ image_link text,
image_zoom tinyint(3) unsigned DEFAULT '0' NOT NULL,
image_noRows tinyint(3) unsigned DEFAULT '0' NOT NULL,
image_effects tinyint(3) unsigned DEFAULT '0' NOT NULL,
Index: typo3/class.browse_links.php
===================================================================
--- typo3/class.browse_links.php (revision 9758)
+++ typo3/class.browse_links.php (revision )
@@ -814,7 +814,13 @@
// CurrentUrl - the current link url must be passed around if it exists
if ($this->mode == 'wizard') {
- $currentLinkParts = t3lib_div::unQuoteFilenames($this->P['currentValue'], TRUE);
+ $currentValues = t3lib_div::trimExplode(chr(10), trim($this->P['currentValue']));
+ if (count($currentValues) > 0) {
+ $currentValue = array_pop($currentValues);
+ } else {
+ $currentValue = '';
+ }
+ $currentLinkParts = t3lib_div::unQuoteFilenames($currentValue, TRUE);
$initialCurUrlArray = array (
'href' => $currentLinkParts[0],
'target' => $currentLinkParts[1],
@@ -1005,7 +1011,11 @@
cur_params = cur_params.replace(/\bid\=.*?(\&|$)/, "");
}
input = input + " " + cur_target + " " + cur_class + " " + cur_title + " " + cur_params;
+ if(field.value && field.className.search(/textarea/) != -1) {
+ field.value += "\n" + input;
+ } else {
- field.value = input;
+ field.value = input;
+ }
'.$update.'
}
}
@@ -2863,4 +2873,4 @@
include_once($GLOBALS['TYPO3_CONF_VARS'][TYPO3_MODE]['XCLASS']['typo3/class.browse_links.php']);
}
-?>
\ No newline at end of file
+?>