Initial commit - Typo3 11.5.41
@@ -0,0 +1,22 @@
|
||||
.fs-media-gallery .thumb {
|
||||
float: left;
|
||||
border: 1px solid #EEE;
|
||||
border-radius: 5px;
|
||||
}
|
||||
.fs-media-gallery .thumb a,
|
||||
.fs-media-gallery .thumb a:link,
|
||||
.fs-media-gallery .thumb a:hover,
|
||||
.fs-media-gallery .thumb a:active,
|
||||
.fs-media-gallery .thumb a:visited {
|
||||
display: block;
|
||||
text-align: center;
|
||||
}
|
||||
.fs-media-gallery .navigation {
|
||||
clear: both;
|
||||
margin-top:10px;
|
||||
margin-bottom:10px;
|
||||
}
|
||||
.fs-media-gallery .pagination {
|
||||
margin-top:10px;
|
||||
margin-bottom:10px;
|
||||
}
|
||||
@@ -0,0 +1,26 @@
|
||||
.fs-media-gallery .thumb {
|
||||
padding:5px;
|
||||
}
|
||||
.fs-media-gallery .thumb a,
|
||||
.fs-media-gallery .thumb a:link,
|
||||
.fs-media-gallery .thumb a:hover,
|
||||
.fs-media-gallery .thumb a:active,
|
||||
.fs-media-gallery .thumb a:visited {
|
||||
display: block;
|
||||
text-align: center;
|
||||
}
|
||||
.fs-media-gallery .navigation {
|
||||
clear: both;
|
||||
margin-top:10px;
|
||||
margin-bottom:10px;
|
||||
}
|
||||
.fs-media-gallery .pagination {
|
||||
margin-top:10px;
|
||||
margin-bottom:10px;
|
||||
}
|
||||
.fs-media-gallery .container-fluid {
|
||||
padding:0 10px;
|
||||
}
|
||||
.fs-media-gallery .img-thumbnail .dummy {
|
||||
background:#EEEEEE;
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path fill="#FFC857" d="M16 4v10H0V2h7l1.33 2H16z"/><path fill="#E8A33D" d="M16 5H8.33L7 7H0V4h16v1z"/><g><path fill="#59F" d="M5 5h11v11H5z"/><path opacity=".2" d="M15 6v9H6V6h9m1-1H5v11h11V5z"/><path fill="#FFF" d="M12 14H7l1.25-2 1.25-2 1.25 2L12 14z"/><path fill="#FFF" d="M14 14H9l1.25-1.5L11.5 11l1.25 1.5L14 14z"/><circle fill="#FFF" cx="13" cy="9" r="1"/></g></svg>
|
||||
|
After Width: | Height: | Size: 433 B |
|
After Width: | Height: | Size: 809 B |
@@ -0,0 +1,124 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<svg
|
||||
xmlns:dc="http://purl.org/dc/elements/1.1/"
|
||||
xmlns:cc="http://creativecommons.org/ns#"
|
||||
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
||||
xmlns:svg="http://www.w3.org/2000/svg"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||
viewBox="0 0 16 16"
|
||||
id="svg2"
|
||||
version="1.1"
|
||||
inkscape:version="0.48.4 r9939"
|
||||
width="100%"
|
||||
height="100%"
|
||||
sodipodi:docname="mediagallery-add.svg">
|
||||
<metadata
|
||||
id="metadata14">
|
||||
<rdf:RDF>
|
||||
<cc:Work
|
||||
rdf:about="">
|
||||
<dc:format>image/svg+xml</dc:format>
|
||||
<dc:type
|
||||
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
|
||||
<dc:title></dc:title>
|
||||
</cc:Work>
|
||||
</rdf:RDF>
|
||||
</metadata>
|
||||
<defs
|
||||
id="defs12" />
|
||||
<sodipodi:namedview
|
||||
pagecolor="#ffffff"
|
||||
bordercolor="#666666"
|
||||
borderopacity="1"
|
||||
objecttolerance="10"
|
||||
gridtolerance="10"
|
||||
guidetolerance="10"
|
||||
inkscape:pageopacity="0"
|
||||
inkscape:pageshadow="2"
|
||||
inkscape:window-width="1871"
|
||||
inkscape:window-height="1056"
|
||||
id="namedview10"
|
||||
showgrid="false"
|
||||
inkscape:zoom="53.274213"
|
||||
inkscape:cx="9.0040555"
|
||||
inkscape:cy="4.2332151"
|
||||
inkscape:window-x="49"
|
||||
inkscape:window-y="24"
|
||||
inkscape:window-maximized="1"
|
||||
inkscape:current-layer="g4" />
|
||||
<g
|
||||
class="icon-color"
|
||||
id="g4">
|
||||
<path
|
||||
style="fill:none;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
|
||||
d="m 4.392369,12.471088 -3.86678643,-0.01877 -4e-8,-11.1310884 5.04934727,4e-7 2.046018,1.9897056 7.9025092,-0.018771 0.01877,9.0475294 0,0"
|
||||
id="path4129"
|
||||
inkscape:connector-curvature="0"
|
||||
sodipodi:nodetypes="cccccccc" />
|
||||
<g
|
||||
id="g3088"
|
||||
transform="translate(0,-1)">
|
||||
<g
|
||||
id="g3070">
|
||||
<path
|
||||
id="path3076"
|
||||
d="M 12,14 H 7 l 1.25,-2 1.25,-2 1.25,2 1.25,2 z"
|
||||
inkscape:connector-curvature="0"
|
||||
style="fill:#ffffff" />
|
||||
<path
|
||||
id="path3078"
|
||||
d="M 14,14 H 9 L 10.25,12.5 11.5,11 12.75,12.5 14,14 z"
|
||||
inkscape:connector-curvature="0"
|
||||
style="fill:#ffffff" />
|
||||
<circle
|
||||
id="circle3080"
|
||||
r="1"
|
||||
cy="9"
|
||||
cx="13"
|
||||
sodipodi:cx="13"
|
||||
sodipodi:cy="9"
|
||||
sodipodi:rx="1"
|
||||
sodipodi:ry="1"
|
||||
style="fill:#ffffff"
|
||||
d="m 14,9 c 0,0.5522847 -0.447715,1 -1,1 -0.552285,0 -1,-0.4477153 -1,-1 0,-0.5522847 0.447715,-1 1,-1 0.552285,0 1,0.4477153 1,1 z" />
|
||||
</g>
|
||||
</g>
|
||||
<g
|
||||
transform="translate(-0.02649702,-0.41501421)"
|
||||
id="g3070-9">
|
||||
<path
|
||||
id="path3072"
|
||||
d="M 5,5 H 16 V 16 H 5 z"
|
||||
inkscape:connector-curvature="0"
|
||||
style="fill:none" />
|
||||
<path
|
||||
id="path3074"
|
||||
d="M 15.018771,6.3191037 V 15.319104 H 6.0187708 V 6.3191037 h 9.0000002 m 1,-1 H 5.0187708 V 16.319104 H 16.018771 V 5.3191037 z"
|
||||
inkscape:connector-curvature="0"
|
||||
style="fill:#000000" />
|
||||
<path
|
||||
id="path3076-2"
|
||||
d="M 12,14 H 7 l 1.25,-2 1.25,-2 1.25,2 1.25,2 z"
|
||||
inkscape:connector-curvature="0"
|
||||
style="fill:#000000" />
|
||||
<path
|
||||
id="path3078-8"
|
||||
d="M 14,14 H 9 L 10.25,12.5 11.5,11 12.75,12.5 14,14 z"
|
||||
inkscape:connector-curvature="0"
|
||||
style="fill:#000000" />
|
||||
<circle
|
||||
id="circle3080-6"
|
||||
r="1"
|
||||
cy="9"
|
||||
cx="13"
|
||||
sodipodi:cx="13"
|
||||
sodipodi:cy="9"
|
||||
sodipodi:rx="1"
|
||||
sodipodi:ry="1"
|
||||
style="fill:#000000"
|
||||
d="m 14,9 c 0,0.5522847 -0.447715,1 -1,1 -0.552285,0 -1,-0.4477153 -1,-1 0,-0.5522847 0.447715,-1 1,-1 0.552285,0 1,0.4477153 1,1 z" />
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 3.9 KiB |
|
After Width: | Height: | Size: 819 B |
@@ -0,0 +1,124 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<svg
|
||||
xmlns:dc="http://purl.org/dc/elements/1.1/"
|
||||
xmlns:cc="http://creativecommons.org/ns#"
|
||||
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
||||
xmlns:svg="http://www.w3.org/2000/svg"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||
viewBox="0 0 16 16"
|
||||
id="svg2"
|
||||
version="1.1"
|
||||
inkscape:version="0.48.4 r9939"
|
||||
width="100%"
|
||||
height="100%"
|
||||
sodipodi:docname="mediagallery-add.svg">
|
||||
<metadata
|
||||
id="metadata14">
|
||||
<rdf:RDF>
|
||||
<cc:Work
|
||||
rdf:about="">
|
||||
<dc:format>image/svg+xml</dc:format>
|
||||
<dc:type
|
||||
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
|
||||
<dc:title></dc:title>
|
||||
</cc:Work>
|
||||
</rdf:RDF>
|
||||
</metadata>
|
||||
<defs
|
||||
id="defs12" />
|
||||
<sodipodi:namedview
|
||||
pagecolor="#ffffff"
|
||||
bordercolor="#666666"
|
||||
borderopacity="1"
|
||||
objecttolerance="10"
|
||||
gridtolerance="10"
|
||||
guidetolerance="10"
|
||||
inkscape:pageopacity="0"
|
||||
inkscape:pageshadow="2"
|
||||
inkscape:window-width="1871"
|
||||
inkscape:window-height="1056"
|
||||
id="namedview10"
|
||||
showgrid="false"
|
||||
inkscape:zoom="53.274213"
|
||||
inkscape:cx="9.0040555"
|
||||
inkscape:cy="4.2332151"
|
||||
inkscape:window-x="49"
|
||||
inkscape:window-y="24"
|
||||
inkscape:window-maximized="1"
|
||||
inkscape:current-layer="g4" />
|
||||
<g
|
||||
class="icon-color"
|
||||
id="g4">
|
||||
<path
|
||||
style="fill:none;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
|
||||
d="m 4.392369,12.471088 -3.86678643,-0.01877 -4e-8,-11.1310884 5.04934727,4e-7 2.046018,1.9897056 7.9025092,-0.018771 0.01877,9.0475294 0,0"
|
||||
id="path4129"
|
||||
inkscape:connector-curvature="0"
|
||||
sodipodi:nodetypes="cccccccc" />
|
||||
<g
|
||||
id="g3088"
|
||||
transform="translate(0,-1)">
|
||||
<g
|
||||
id="g3070">
|
||||
<path
|
||||
id="path3076"
|
||||
d="M 12,14 H 7 l 1.25,-2 1.25,-2 1.25,2 1.25,2 z"
|
||||
inkscape:connector-curvature="0"
|
||||
style="fill:#ffffff" />
|
||||
<path
|
||||
id="path3078"
|
||||
d="M 14,14 H 9 L 10.25,12.5 11.5,11 12.75,12.5 14,14 z"
|
||||
inkscape:connector-curvature="0"
|
||||
style="fill:#ffffff" />
|
||||
<circle
|
||||
id="circle3080"
|
||||
r="1"
|
||||
cy="9"
|
||||
cx="13"
|
||||
sodipodi:cx="13"
|
||||
sodipodi:cy="9"
|
||||
sodipodi:rx="1"
|
||||
sodipodi:ry="1"
|
||||
style="fill:#ffffff"
|
||||
d="m 14,9 c 0,0.5522847 -0.447715,1 -1,1 -0.552285,0 -1,-0.4477153 -1,-1 0,-0.5522847 0.447715,-1 1,-1 0.552285,0 1,0.4477153 1,1 z" />
|
||||
</g>
|
||||
</g>
|
||||
<g
|
||||
transform="translate(-0.02649702,-0.41501421)"
|
||||
id="g3070-9">
|
||||
<path
|
||||
id="path3072"
|
||||
d="M 5,5 H 16 V 16 H 5 z"
|
||||
inkscape:connector-curvature="0"
|
||||
style="fill:none" />
|
||||
<path
|
||||
id="path3074"
|
||||
d="M 15.018771,6.3191037 V 15.319104 H 6.0187708 V 6.3191037 h 9.0000002 m 1,-1 H 5.0187708 V 16.319104 H 16.018771 V 5.3191037 z"
|
||||
inkscape:connector-curvature="0"
|
||||
style="fill:#000000" />
|
||||
<path
|
||||
id="path3076-2"
|
||||
d="M 12,14 H 7 l 1.25,-2 1.25,-2 1.25,2 1.25,2 z"
|
||||
inkscape:connector-curvature="0"
|
||||
style="fill:#000000" />
|
||||
<path
|
||||
id="path3078-8"
|
||||
d="M 14,14 H 9 L 10.25,12.5 11.5,11 12.75,12.5 14,14 z"
|
||||
inkscape:connector-curvature="0"
|
||||
style="fill:#000000" />
|
||||
<circle
|
||||
id="circle3080-6"
|
||||
r="1"
|
||||
cy="9"
|
||||
cx="13"
|
||||
sodipodi:cx="13"
|
||||
sodipodi:cy="9"
|
||||
sodipodi:rx="1"
|
||||
sodipodi:ry="1"
|
||||
style="fill:#000000"
|
||||
d="m 14,9 c 0,0.5522847 -0.447715,1 -1,1 -0.552285,0 -1,-0.4477153 -1,-1 0,-0.5522847 0.447715,-1 1,-1 0.552285,0 1,0.4477153 1,1 z" />
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 3.9 KiB |
|
After Width: | Height: | Size: 713 B |
@@ -0,0 +1 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path fill="#FFC857" d="M16 4v10H0V2h7l1.33 2H16z"/><path fill="#E8A33D" d="M16 5H8.33L7 7H0V4h16v1z"/><g><path fill="#59F" d="M5 5h11v11H5z"/><path opacity=".2" d="M15 6v9H6V6h9m1-1H5v11h11V5z"/><path fill="#FFF" d="M12 14H7l1.25-2 1.25-2 1.25 2L12 14z"/><path fill="#FFF" d="M14 14H9l1.25-1.5L11.5 11l1.25 1.5L14 14z"/><circle fill="#FFF" cx="13" cy="9" r="1"/></g></svg>
|
||||
|
After Width: | Height: | Size: 433 B |
|
After Width: | Height: | Size: 602 B |
BIN
typo3conf/ext/fs_media_gallery/Resources/Public/Images/Blank.png
Normal file
|
After Width: | Height: | Size: 95 B |
@@ -0,0 +1,72 @@
|
||||
/*
|
||||
* This file is part of the TYPO3 CMS project.
|
||||
*
|
||||
* It is free software; you can redistribute it and/or modify it under
|
||||
* the terms of the GNU General Public License, either version 2
|
||||
* of the License, or any later version.
|
||||
*
|
||||
* For the full copyright and license information, please read the
|
||||
* LICENSE.txt file that was distributed with this source code.
|
||||
*
|
||||
* The TYPO3 project - inspiring people to share!
|
||||
*/
|
||||
|
||||
/**
|
||||
* Module: TYPO3/CMS/FsMediaGallery/ContextMenuActions
|
||||
*
|
||||
* JavaScript to handle fs_media_gallery actions from context menu
|
||||
* @exports TYPO3/CMS/FsMediaGallery/ContextMenuActions
|
||||
*/
|
||||
define(['jquery', 'TYPO3/CMS/Backend/Modal', 'TYPO3/CMS/Backend/Severity'], function ($, Modal, Severity) {
|
||||
'use strict';
|
||||
|
||||
/**
|
||||
* @exports TYPO3/CMS/Filelist/ContextMenuActions
|
||||
*/
|
||||
var ContextMenuActions = {};
|
||||
|
||||
/**
|
||||
* Show message to the user when no media storage folder is provided
|
||||
*/
|
||||
ContextMenuActions.missingMediaFolder = function () {
|
||||
Modal.advanced({
|
||||
content: this.data('title'),
|
||||
severity: Severity.warning
|
||||
});
|
||||
};
|
||||
|
||||
/**
|
||||
* Open media album edit form
|
||||
*
|
||||
* @param {string} table
|
||||
* @param {string} uid combined folder identifier
|
||||
*/
|
||||
ContextMenuActions.mediaAlbum = function (table, uid) {
|
||||
var albumRecordUid = this.data('albumRecordUid') || 0;
|
||||
|
||||
if (albumRecordUid > 0) {
|
||||
top.TYPO3.Backend.ContentContainer.setUrl(
|
||||
top.TYPO3.settings.FormEngine.moduleUrl
|
||||
+ '&edit[sys_file_collection][' + parseInt(albumRecordUid, 10) + ']=edit'
|
||||
+ '&returnUrl=' + ContextMenuActions.getReturnUrl()
|
||||
);
|
||||
} else {
|
||||
top.TYPO3.Backend.ContentContainer.setUrl(
|
||||
top.TYPO3.settings.FormEngine.moduleUrl
|
||||
+ '&edit[sys_file_collection][' + this.data('pid') + ']=new'
|
||||
+ '&defVals[sys_file_collection][parentalbum]=' + this.data('parentUid')
|
||||
+ '&defVals[sys_file_collection][title]=' + this.data('title')
|
||||
+ '&defVals[sys_file_collection][storage]=' + this.data('storage')
|
||||
+ '&defVals[sys_file_collection][folder]=' + this.data('folder')
|
||||
+ '&defVals[sys_file_collection][type]=folder'
|
||||
+ '&returnUrl=' + ContextMenuActions.getReturnUrl()
|
||||
);
|
||||
}
|
||||
};
|
||||
|
||||
ContextMenuActions.getReturnUrl = function () {
|
||||
return encodeURIComponent(top.list_frame.document.location.pathname + top.list_frame.document.location.search);
|
||||
};
|
||||
|
||||
return ContextMenuActions;
|
||||
});
|
||||