Commit ec59d2d9 authored by Christoph Hofmann's avatar Christoph Hofmann

support the new iconProvider from TYPO3 7.5

parent d145c9ce
<?xml version="1.0"?>
<svg width="512" height="512" xmlns="http://www.w3.org/2000/svg" xmlns:svg="http://www.w3.org/2000/svg">
<g>
<title>Layer 1</title>
<g opacity="0.3" id="svg_1">
<line fill="none" stroke="#B35047" x1="48" y1="0" x2="48" y2="512" id="svg_2"/>
<line fill="none" stroke="#B35047" x1="80" y1="0" x2="80" y2="512" id="svg_3"/>
<line fill="none" stroke="#B35047" x1="112" y1="0" x2="112" y2="512" id="svg_4"/>
<line fill="none" stroke="#B35047" x1="144" y1="0" x2="144" y2="512" id="svg_5"/>
<line fill="none" stroke="#B35047" x1="176" y1="0" x2="176" y2="512" id="svg_6"/>
<line fill="none" stroke="#B35047" x1="208" y1="0" x2="208" y2="512" id="svg_7"/>
<line fill="none" stroke="#B35047" x1="240" y1="0" x2="240" y2="512" id="svg_8"/>
<line fill="none" stroke="#B35047" x1="272" y1="0" x2="272" y2="512" id="svg_9"/>
<line fill="none" stroke="#B35047" x1="304" y1="0" x2="304" y2="512" id="svg_10"/>
<line fill="none" stroke="#B35047" x1="336" y1="0" x2="336" y2="512" id="svg_11"/>
<line fill="none" stroke="#B35047" x1="368" y1="0" x2="368" y2="512" id="svg_12"/>
<line fill="none" stroke="#B35047" x1="400" y1="0" x2="400" y2="512" id="svg_13"/>
<line fill="none" stroke="#B35047" x1="432" y1="0" x2="432" y2="512" id="svg_14"/>
<line fill="none" stroke="#B35047" x1="464" y1="0" x2="464" y2="512" id="svg_15"/>
<line fill="none" stroke="#B35047" x1="496" y1="0" x2="496" y2="512" id="svg_16"/>
<line fill="none" stroke="#B35047" x1="0" y1="48" x2="512" y2="48" id="svg_17"/>
<line fill="none" stroke="#B35047" x1="0" y1="80" x2="512" y2="80" id="svg_18"/>
<line fill="none" stroke="#B35047" x1="0" y1="112" x2="512" y2="112" id="svg_19"/>
<line fill="none" stroke="#B35047" x1="0" y1="144" x2="512" y2="144" id="svg_20"/>
<line fill="none" stroke="#B35047" x1="0" y1="176" x2="512" y2="176" id="svg_21"/>
<line fill="none" stroke="#B35047" x1="0" y1="208" x2="512" y2="208" id="svg_22"/>
<line fill="none" stroke="#B35047" x1="0" y1="240" x2="512" y2="240" id="svg_23"/>
<line fill="none" stroke="#B35047" x1="0" y1="272" x2="512" y2="272" id="svg_24"/>
<line fill="none" stroke="#B35047" x1="0" y1="304" x2="512" y2="304" id="svg_25"/>
<line fill="none" stroke="#B35047" x1="0" y1="336" x2="512" y2="336" id="svg_26"/>
<line fill="none" stroke="#B35047" x1="0" y1="368" x2="512" y2="368" id="svg_27"/>
<line fill="none" stroke="#B35047" x1="0" y1="400" x2="512" y2="400" id="svg_28"/>
<line fill="none" stroke="#B35047" x1="0" y1="432" x2="512" y2="432" id="svg_29"/>
<line fill="none" stroke="#B35047" x1="0" y1="464" x2="512" y2="464" id="svg_30"/>
<line fill="none" stroke="#B35047" x1="0" y1="496" x2="512" y2="496" id="svg_31"/>
<line fill="none" stroke="#B35047" x1="0" y1="16" x2="512" y2="16" id="svg_32"/>
<line fill="none" stroke="#B35047" x1="16" y1="0" x2="16" y2="512" id="svg_33"/>
</g>
<g id="svg_34">
<line fill="none" stroke="#B35047" x1="32" y1="0" x2="32" y2="512" id="svg_35"/>
<line fill="none" stroke="#B35047" x1="64" y1="0" x2="64" y2="512" id="svg_36"/>
<line fill="none" stroke="#B35047" x1="96" y1="0" x2="96" y2="512" id="svg_37"/>
<line fill="none" stroke="#B35047" x1="128" y1="0" x2="128" y2="512" id="svg_38"/>
<line fill="none" stroke="#B35047" x1="160" y1="0" x2="160" y2="512" id="svg_39"/>
<line fill="none" stroke="#B35047" x1="192" y1="0" x2="192" y2="512" id="svg_40"/>
<line fill="none" stroke="#B35047" x1="224" y1="0" x2="224" y2="512" id="svg_41"/>
<line fill="none" stroke="#B35047" x1="256" y1="0" x2="256" y2="512" id="svg_42"/>
<line fill="none" stroke="#B35047" x1="288" y1="0" x2="288" y2="512" id="svg_43"/>
<line fill="none" stroke="#B35047" x1="320" y1="0" x2="320" y2="512" id="svg_44"/>
<line fill="none" stroke="#B35047" x1="352" y1="0" x2="352" y2="512" id="svg_45"/>
<line fill="none" stroke="#B35047" x1="384" y1="0" x2="384" y2="512" id="svg_46"/>
<line fill="none" stroke="#B35047" x1="416" y1="0" x2="416" y2="512" id="svg_47"/>
<line fill="none" stroke="#B35047" x1="448" y1="0" x2="448" y2="512" id="svg_48"/>
<line fill="none" stroke="#B35047" x1="480" y1="0" x2="480" y2="512" id="svg_49"/>
<line fill="none" stroke="#B35047" x1="0" y1="32" x2="512" y2="32" id="svg_50"/>
<line fill="none" stroke="#B35047" x1="0" y1="64" x2="512" y2="64" id="svg_51"/>
<line fill="none" stroke="#B35047" x1="0" y1="96" x2="512" y2="96" id="svg_52"/>
<line fill="none" stroke="#B35047" x1="0" y1="128" x2="512" y2="128" id="svg_53"/>
<line fill="none" stroke="#B35047" x1="0" y1="160" x2="512" y2="160" id="svg_54"/>
<line fill="none" stroke="#B35047" x1="0" y1="192" x2="512" y2="192" id="svg_55"/>
<line fill="none" stroke="#B35047" x1="0" y1="224" x2="512" y2="224" id="svg_56"/>
<line fill="none" stroke="#B35047" x1="0" y1="256" x2="512" y2="256" id="svg_57"/>
<line fill="none" stroke="#B35047" x1="0" y1="288" x2="512" y2="288" id="svg_58"/>
<line fill="none" stroke="#B35047" x1="0" y1="320" x2="512" y2="320" id="svg_59"/>
<line fill="none" stroke="#B35047" x1="0" y1="352" x2="512" y2="352" id="svg_60"/>
<line fill="none" stroke="#B35047" x1="0" y1="384" x2="512" y2="384" id="svg_61"/>
<line fill="none" stroke="#B35047" x1="0" y1="416" x2="512" y2="416" id="svg_62"/>
<line fill="none" stroke="#B35047" x1="0" y1="448" x2="512" y2="448" id="svg_63"/>
<line fill="none" stroke="#B35047" x1="0" y1="480" x2="512" y2="480" id="svg_64"/>
<rect fill="none" stroke="#B35047" width="512" height="512" id="svg_65"/>
</g>
<path fill-rule="evenodd" clip-rule="evenodd" d="m497.914001,497.914001c-18.78299,18.781006 -49.226013,18.781006 -68.007996,0l-84.863007,-84.864014c-34.889008,22.365997 -76.131012,35.718018 -120.660004,35.718018c-123.915009,0 -224.383006,-100.45401 -224.383006,-224.384003s100.467997,-224.384003 224.383006,-224.384003c123.931,0 224.384003,100.453011 224.384003,224.384003c0,44.528992 -13.35199,85.770996 -35.717987,120.675018l84.863983,84.847992c18.782013,18.781982 18.782013,49.223999 0.001007,68.006989zm-273.531006,-433.803978c-88.511002,0 -160.274002,71.762993 -160.274002,160.273994c0,88.526016 71.763,160.273972 160.274002,160.273972c88.527008,0 160.274017,-71.747986 160.274017,-160.273972c0,-88.511002 -71.747009,-160.273994 -160.274017,-160.273994zm32.054993,256.437981l-64.108994,0l0,-64.109009l-64.109009,0l0,-64.108994l64.109009,0l0,-64.110001l64.108994,0l0,64.110001l64.110016,0l0,64.108994l-64.110016,0l0,64.109009z" id="svg_66" fill="black"/>
</g>
</svg>
\ No newline at end of file
......@@ -30,12 +30,12 @@ $EM_CONF[$_EXTKEY] = array (
'author_company' => 'ITS Hofmann',
'CGLcompliance' => '',
'CGLcompliance_note' => '',
'version' => '1.13.9',
'version' => '1.14.1',
'_md5_values_when_last_written' => 'a:19:{s:9:"ChangeLog";s:4:"3408";s:10:"_.htaccess";s:4:"9ab3";s:20:"class.ext_update.php";s:4:"9794";s:20:"class.tx_realurl.php";s:4:"0cea";s:29:"class.tx_realurl_advanced.php";s:4:"f387";s:32:"class.tx_realurl_autoconfgen.php";s:4:"f227";s:28:"class.tx_realurl_tcemain.php";s:4:"2983";s:16:"ext_autoload.php";s:4:"a6ff";s:21:"ext_conf_template.txt";s:4:"c890";s:12:"ext_icon.gif";s:4:"ea80";s:17:"ext_localconf.php";s:4:"e297";s:14:"ext_tables.php";s:4:"7182";s:14:"ext_tables.sql";s:4:"150c";s:17:"locallang_csh.xml";s:4:"369d";s:16:"locallang_db.xml";s:4:"584a";s:14:"doc/manual.sxw";s:4:"3b3d";s:38:"modfunc1/class.tx_realurl_modfunc1.php";s:4:"d3a6";s:41:"modfunc1/class.tx_realurl_pagebrowser.php";s:4:"60b1";s:22:"modfunc1/locallang.xml";s:4:"7e4f";}',
'constraints' => array (
'depends' => array (
'php' => '5.4.2-5.999.999',
'typo3' => '6.1.0-7.4.999',
'typo3' => '7.0.0-7.6.999',
'lowlevel' => '1.0.0-100.0.0'
),
'conflicts' => array (
......
......@@ -15,9 +15,7 @@ if (TYPO3_MODE=='BE') {
);
}
if (version_compare(TYPO3_branch, '6.1', '<')) {
t3lib_div::loadTCA('pages');
}
$TCA['pages']['columns'] += array(
'tx_realurl_pathsegment' => array(
'label' => 'LLL:EXT:realurl/locallang_db.xml:pages.tx_realurl_pathsegment',
......@@ -97,4 +95,21 @@ $TCA['pages_language_overlay']['columns'] += array(
TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addToAllTCAtypes('pages_language_overlay', 'tx_realurl_pathsegment', '', 'after:nav_title');
$iconRegistry = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance(\TYPO3\CMS\Core\Imaging\IconRegistry::class);
$iconRegistry->registerIcon(
'action-delete',
\TYPO3\CMS\Core\Imaging\IconProvider\BitmapIconProvider::class,
array(
'source' => 'EXT:realurl/Resources/Public/Icons/garbage.gif',
'title' => 'delete',
)
);
$iconRegistry->registerIcon(
'actions-zoom-in',
\TYPO3\CMS\Core\Imaging\IconProvider\SvgIconProvider::class,
array(
'source' => 'EXT:realurl/Resources/Public/Icons/zoom-in.svg',
)
);
?>
\ No newline at end of file
......@@ -31,7 +31,7 @@ CREATE TABLE tx_realurl_uniqalias (
expire int(11) DEFAULT '0' NOT NULL,
PRIMARY KEY (uid),
KEY tablename (tablename),
KEY tablename (tablename(191)),
KEY bk_realurl01 (field_alias(20),field_id,value_id,lang,expire),
KEY bk_realurl02 (tablename(32),field_alias(20),field_id,value_alias(20),expire)
);
......
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment