| Current Path : /home/w/u/e/wuectly/www/03cbe/ |
| Current File : /home/w/u/e/wuectly/www/03cbe/ckslidesmanager.tar |
delete_hover.png 0000604 00000001034 15245572334 0007723 0 ustar 00 �PNG
IHDR �a sRGB ��� �IDAT8�c`��5�0;�w�3�{kC]|j:�$��Hx���vg�����o����x�[�i �S�n#v����������;�_Q�?L�N~��JJ���[���Z$GW3���f&�{?�?�;ל�@���iF]����a�����`��$P.��%�7b�l���u'��0�tU�*�^ݷ�NА���֟�`�R���}sߚ�NC��;�x�
���k�|��c6>ۗ>��A�`&'h�%������+J�]�����T�/�%�1
�C�Y?T��R|���FC n�i:ߎK��g"6�e�Pu�S�����a���G����?`=��K_��o��d9�l�����=c:��y�=棝W�<���C�5V�o�>��9��q�S��t�5���+�b�g���M���_�J�"����7?�@��Ugq�f �ة�tkt IEND�B`� delete.png 0000604 00000001012 15245572334 0006514 0 ustar 00 �PNG
IHDR �a sRGB ��� �IDAT8˕�?�Q��{��432�
a�m
�.� є�R�C�BLD��8��`e���mGw!Z$ �6_��aV����{�w��<�m��|>�9�Nlۦ�P�f<w�7�}$�o�h4�ŮE93 j��d�3! 0��~qί��~��z8�
���jv��{
�햜��i�3EQF�ћK0 �W 0�L^��iO�,+����D"g;��,� �uo����j�¿�eY0��X,>���R)U1j6�/��t(��`Fg�ټ�S ��z��u��4�Խ�j}�`?�`T�x��,�4� ������fB�>5� ���L&��r�Kw"I����{*�v������+�Jw�Lj�Z �9o�.���]��8(U����p�kr���}7�X�R��b�(c��n�$����F�!�٬`���F"�| ��[�T%�!>�ED�q� IEND�B`� unknown.png 0000604 00000006530 15245572334 0006763 0 ustar 00 �PNG
IHDR @ @ �iq�
IDATx��p\�u�?��+ɒe����H�q 8���RO�؝�4�63��iHH�)4mڴ�@Z�К��
�~Np��cvv��`[�eɫ�����?ޮ��VZ���+ߙ3Ҽ���{�yw�iF����.��*����h�X�`<C��ާh1�QI+MFCþS��%_(�-��ʙ�w��C�pt�s�m.2�ʮ��,�a?GK���(����\y�1rcGK쪎�h�%&��lŲ%�/3�.O
^�M��裱��/�-�E�Q����kɟ�6����x�\>��gH�v�uģa2��3���䂎O.���B���@��t�l�L�䟽?�%��%�����iz�|�#��T<��P�I�-%_�ٷ�ȑm����o�˚n'b��D�P�`�߶�{�|���Q�-�"� �'����sJ8���>pa�<ɾ���Ց�}��ҹ.�Ƴw����OO��k�˚�_&"��d�Bɿ4�/���E����f?����OU�S�*=K沠����|�Lk*�y�g�E$��c�~��P�T\��>��X2ŬD��﮷�=s��ش�-ҹ2�� Sx���[GG*�'�_��t��$"�x�`�L)���u+��^�7.��N���TX);]Q(٭7|x!���Mʾ����Ĉ�+Y�ƞ������#�2���8�ӿwg�44<^4�mBn�X$;u&w��]�zr�!�� �9�����@l�,�Z.����{��:�5�j8�>���?҈ �FnZz�:J�4�a(S��+�v�^�ߣ�!��"2GD�Ĺ���O�s="�U��1�U0��2�"�����B��<�y$�̟Y�o\�Dٷ�kQep8�H��c�Sw��|EUO�h�X�l����X�lL$�:�*"+�s����xu?K��+�w{�\�k~�aB��!�l!1�Sʒ+��l�^��Z��s��W�;0�c��Ɓg7��^��w��(
����K��d�%��W���P�������y��e@���e��;���oS�GQ���r�'`��>ƀ�:{G�(��}i:[�}{=Α�h�Pg�yں�p��P&����1Ū�����������1�����+}/�*�����#�+`D��]���u3G *�o��D�c��+�[���G��!d�ۻ���?3���n`��E���
� E����Eq(5R�L� �:��%�+��ؠ��s��?�*^4���sB��I�w~f�[� ҙ��#��� u�b�,�@j8\�cF�o�c�H���ǔrè*FY5�9���F�/Q�f�à�*�C��L,�͏N�wŝ�"9�|\����P�ޤv��`B
2� ��1�(*z�s�t��)�����(^,��m��չ�����U7S�g0"�1?V���m��+/L֍L��rv�}O��o��\�OD�:������a� �>�=�|���k�����(�Ҩ����w�U��r�7H~U[q�_��55�3�(���ʋ�X7��P�k��?H��B�5�Q�%1��:M�TՁx�~�zI�^L�u8��Ņ�n�,�ޥ�xz��_�<�}Ѷ�\��MX��X5���\Rߓ��?�P���6�����aZ{�� �6�k�)�/!Ρ��7"��S��'��� �6�l�а=���m���=�_."��Yf`����[����ZU��Z��{��<�0�q�S���b̕��j]Q��Ѩޢ(^"����#?�8e�f����~�p�b�Y)�rͷ�@�!�z����ϟd����L�KW0��˃�'� �Q�m��>��#��P�X���>5m��E�ş��bq�yAqu���xPU ��p�G�}��ն��Œt�%�\�c���z*�ћ}JU���f�w���W_�v��N��K��/���ue��GT�v����+��)'_����N@|��YT�j�� oP�S�ۍ�D"l��-d���4��_*��P��M�����0[��;�ҧ�j^� p␠�/��ZE�ҨNu��kk��<��,��T�� .|�
��ߓ=���� �a����Ϫ*�X�#O?�l�F0) ����1a���l�F��+A� �?��:W�%U݁��4� �l|�Tu��mnE���s���#o6ۤQh:'v<M(�@��,Wu��^SuGU���&'�b}���W�m�(�HCd��k��۱�|�~(���о�M��7HL�㿢�+1��Y�s�DU)fϐ���� �F�t|�� Gq(���$�piU�x!ڗ��5��7v4۬4�\|ۗq��Y�6�_`#o`8j0���(���$�m��N@j�e��r9�_E?<��!:[`���8�_�ӱ|ܯbӊ�?���UP6����9O�Ob��f�5
M%@ՁS��JU;_�e\Q�CEQ�O�|��ԥ� �ZRO#DT��H�rMP��j���ê�����C� �:}�Ա�r�Ũl��4�I�� f}���߭*5��aq���P:}��f�BS (
�Q����Sgl�:+�,��!�QQ����f�B�W�C������*�'ȳN5��)Uv"�^E�N�V�|�1��z��f�`�/C�d�����5}2�d�ҥ84@m�@�%W��E����(�`� �=h
�c!N=��`�Q�H�;Ɖ'�����d��/G&E�
Y�j�-������l0�\��X;z���<%߁����pU ���c>��1�3��<�1����Ϟ={x���u�~�zV�^M>��Z;2�ﵳ"Z�mҬ�Z� [�[�W��Di�AD�B��W���!uO�kepp��"@�W$$*R%"� a&m
��a O�r)�ʹ�s����������u=�n��m0�@wE��ٕcI U��G+�CL� �E�FC�"`��}�A`0 h���]y�<��U��g8�H��y�!���G)U�i�8�����ʹ�1Y0�!��F0���r�C�*ъ��H��v�`��9�*Dz@� ��8|�NU���& W
< lv8� p:A�d+A�W_���$gd-T]���j�9��F<_���s"r�l1�&`Æ
�Y��\.笵��3P9]-zU��ѯ���F�)�8��u���٠:E��aΜ9Sw�N�F�����>�1�/_N4Y�w��YL�1�{�����0����ݻw�m۶I鞖���y�H�R#;�X�d �Tjʺ�1�ܹ�;�j�<����OY���k����BF��\. IEND�B`� arrow_move.gif 0000604 00000000265 15245572334 0007424 0 ustar 00 GIF89a � www��ݪ���������������� !� , b�) �8�D��1p�7� EiJ�Q��1��,ٔu��v�X,�1����a:B��bE$��
��u�/(QS �����_�U�^�iN��w ; ckslidesmanager.css 0000604 00000010106 15245572334 0010416 0 ustar 00 /**
* @copyright Copyright (C) 2019 Cedric KEIFLIN alias ced1870
* https://www.joomlack.fr
* @license GNU/GPL
* */
#ckslideslist * {
box-sizing: border-box;
}
/* bootstrap override */
#ckslideslist .chzn-container {
display: none !important;
}
#ckslideslist select {
display: inline-block !important;
}
#ckslideslist li {
list-style: none;
}
/* fin override */
#ckslideslist {
position: relative;
padding: 0;
margin: 0;
}
#ckslideslist .ckinterfacetablink {
height: auto;
}
#options-styles {
position:relative;
}
.ckaddslide {
padding: 8px 20px;
font-size: 14px;
margin: 5px 0;
}
.ckslide {
margin: 3px 0 !important;
border: #ccc 1px solid;
clear: both;
min-height: 80px;
list-style: none;
max-width: 550px;
background: #fff;
position: relative;
}
.placeholder {
border: 1px dashed #3399ff;
min-height: 100px;
max-width: 550px;
}
.ckslide input, .ckslide select {
border-radius: 0px;
-moz-border-radius: 0px;
padding: 5px;
}
.ckslidecontainer {
border-left: 1px solid #ccc;
float: left;
width: 88%;
padding-left: 2%;
padding-top: 5px;
position: relative;
}
.ckslidehandle {
cursor: move;
background: #f4f4f4;
min-height: 60px;
width: 8%;
float: left;
border-radius: 5px 0 0 5px;
-moz-border-radius: 5px 0 0 5px;
background: url(arrow_move.gif) center 40px no-repeat;
}
.ckslidenumber {
color: #cbcbcb;
text-align: center;
text-shadow: 1px 1px #fff;
font-size: 20px;
padding-top: 5px;
background: #eee;
height: 30px;
border-bottom: 1px solid #ccc;
}
.ckslidetoggle {
background: red;
bottom: 0;
height: 40px;
left: 0;
position: absolute;
width: 8%;
background-color: #dff0d8;
color: #468847;
cursor: pointer;
border-radius: 0;
border-top: 1px solid #d6e9c6;
}
.ckslidetoggler {
font-size: 16px;
font-weight: bold;
margin: 10px 0;
text-align: center;
}
.ckslidetoggle[data-state="0"] {
background-color: #f2dede;
border-top: 1px solid #eed3d7;
color: #b94a48;
}
.ckslidetoggle[data-state="0"] + .ckslidecontainer {
opacity: 0.3;
}
.cksliderow {
clear: both;
}
.ckslideimgname {
width: calc(100% - 60px);
margin-left: 5px;
}
.ckslideimgname + a.ckbutton {
margin-left: -1px;
}
.ckslidedelete {
color: #333;
text-decoration: none;
font-weight: normal;
text-align: center;
background: none;
border-radius: 0 0 0 4px;
border-left: 1px solid #ccc;
border-bottom: 1px solid #ccc;
cursor: pointer;
top: 0;
position: absolute;
right: 0;
display: block;
width: 25px;
height: 25px;
line-height: 25px;
z-index: 1;
}
.ckslidedelete:hover > i{
color: red;
}
.ckslideimgnamewrap {
width: calc(100% - 100px);
}
.ckslideimgcontainer {
float:left;
height:64px;
width:64px;
border: none;
box-shadow: 0px 0px 1px #333;
border-radius: 0px;
margin: 0px 5px 5px 0;
}
.ckslideimgcontainer img {
margin: 0 !important;
height:64px;
width:64px;
box-shadow: #888 0 0 4px;
cursor: pointer;
}
.ckslidelabel, label.ckslidelabel {
margin: 5px;
width: 75px;
display: inline-block;
}
.ckslidecaptiontext, .ckslidelinktext, .ckslidevideotext {
width: 200px;
}
.ckslidetargettext {
width: 210px;
}
#ckslideslist .ckslideaccordeonbutton {
padding: 4px 12px;
margin: 0 5px 3px 5px;
color: #333;
text-decoration: none;
font-weight: normal;
display: inline-block;
float: none;
text-align: center;
background: #f9f9f9;
border-radius: 2px;
border: #bbb 1px solid;;
cursor: pointer;
}
#ckslideslist .ckslideaccordeonbutton:hover, #ckslideslist .ckslideaccordeonbutton.open {
background: #eee;
color: #0080ff;
}
.ui-datepicker-prev .ui-icon::before {
display: block;
content: "<";
position: absolute;
width: 20px;
height: 20px;
color: #000;
font-size: 20px;
text-indent: 0;
}
.ui-datepicker-next .ui-icon::before {
display: block;
content: ">";
position: absolute;
width: 20px;
height: 20px;
color: #000;
font-size: 20px;
text-indent: 0;
}
.ckslidetitletext, .ckslidecaptiontext {
width: calc(100% - 100px);
}
.ckslideimgtime {
width: 60px;
}
/* for Joomla 4 */
/* set 1 column in the options */
#fieldset-editionfieldset > div {
column-count: 1;
}
#fieldset-editionfieldset > div .control-group:not(.hidden) {
display: block;
} rightarrow.gif 0000604 00000000114 15245572334 0007425 0 ustar 00 GIF89a � ���������!� , @�o�ˋ�މR4U�e�JWmC'��y�cȱ�� ; ckslidesmanager.js 0000604 00000104632 15245572334 0010252 0 ustar 00 /**
* @copyright Copyright (C) 2012 Cedric KEIFLIN alias ced1870
* https://www.joomlack.fr
* Module Slideshow CK
* @license GNU/GPL
* */
function ckSelectFile(file, field) {
if (! field) {
alert('ERROR : no field given in the function ckSelectFile');
return;
}
$ck('#'+field).val(file).trigger('change');
ckUpdateThumbnail(file, '#'+field);
}
// pour gestion editeur d'images
function ckInsertMedia(text, editor) {
var valeur = jQuery(text).attr('src');
jQuery('#'+editor).val(valeur);
ckUpdateThumbnail(valeur, '#'+editor);
}
function ckUpdateThumbnail(imgsrc, editor) {
var slideimg = jQuery(editor).parent().parent().find('img');
var testurl = 'http';
if (imgsrc.toLowerCase().indexOf(testurl.toLowerCase()) != -1) {
slideimg.attr('src', imgsrc);
} else {
slideimg.attr('src', SLIDESHOWCK.URIROOTABS + imgsrc);
}
}
function ckAddSlide(slide, position) {
if (! slide) slide = [];
if (! position) position = false;
var imgname = slide['imgname'] || '';
var imgcaption = slide['imgcaption'] || '';
var imgthumb = slide['imgthumb'] || '';
if (!imgthumb) {
imgthumb = SLIDESHOWCK.URIROOTABS + 'media/com_slideshowck/images/unknown.png';
} else {
imgthumb = SLIDESHOWCK.URIROOTABS + imgname;
}
var imglink = slide['imglink'] || '';
var imgtarget = slide['imgtarget'] || '';
var videoautoplay = slide['videoautoplay'] || '';
var videoloop = slide['videoloop'] || '';
var videocontrols = slide['videocontrols'] || '';
var imgvideo = slide['imgvideo'] || '';
var slideselect = slide['slideselect'] || '';
var imgalignment = slide['imgalignment'] || '';
var articleid = slide['slidearticleid'] || '';
var pagebuilderckid = slide['slidepageid'] || '';
var imgtime = slide['imgtime'] || '';
var articlename = slide['slidearticlename'] || '';
var pagebuilderckname = slide['slidepagename'] || '';
var imgtitle = slide['imgtitle'] || '';
var state = slide['state'] || '';
var startdate = slide['startdate'] || '';
var enddate = slide['enddate'] || '';
var texttype = slide['texttype'] || 'custom';
imgcaption = imgcaption.replace(/\|dq\|/g, """);
if (!imglink)
imglink = '';
if (!imgvideo)
imgvideo = '';
if (!imgtarget || imgtarget == 'default') {
imgtarget = '';
imgtargetoption = '<option value="default" selected="selected">' + Joomla.JText._('SLIDESHOWCK_DEFAULT', 'default') + '</option><option value="_parent">' + Joomla.JText._('SLIDESHOWCK_SAMEWINDOW', 'same window') + '</option><option value="_blank">' + Joomla.JText._('SLIDESHOWCK_NEWWINDOW', 'new window') + '</option><option value="lightbox">' + Joomla.JText._('SLIDESHOWCK_LIGHTBOX', 'in a Lightbox') + '</option>';
} else {
if (imgtarget == '_parent') {
imgtargetoption = '<option value="default">' + Joomla.JText._('SLIDESHOWCK_DEFAULT', 'default') + '</option><option value="_parent" selected="selected">' + Joomla.JText._('SLIDESHOWCK_SAMEWINDOW', 'same window') + '</option><option value="_blank">' + Joomla.JText._('SLIDESHOWCK_NEWWINDOW', 'new window') + '</option><option value="lightbox">' + Joomla.JText._('SLIDESHOWCK_LIGHTBOX', 'in a Lightbox') + '</option>';
} else if (imgtarget == 'lightbox') {
imgtargetoption = '<option value="default">' + Joomla.JText._('SLIDESHOWCK_DEFAULT', 'default') + '</option><option value="_parent">' + Joomla.JText._('SLIDESHOWCK_SAMEWINDOW', 'same window') + '</option><option value="_blank">' + Joomla.JText._('SLIDESHOWCK_NEWWINDOW', 'new window') + '</option><option value="lightbox" selected="selected">' + Joomla.JText._('SLIDESHOWCK_LIGHTBOX', 'in a Lightbox') + '</option>';
} else {
imgtargetoption = '<option value="default">' + Joomla.JText._('SLIDESHOWCK_DEFAULT', 'default') + '</option><option value="_parent">' + Joomla.JText._('SLIDESHOWCK_SAMEWINDOW', 'same window') + '</option><option value="_blank" selected="selected">' + Joomla.JText._('SLIDESHOWCK_NEWWINDOW', 'new window') + '</option><option value="lightbox">' + Joomla.JText._('SLIDESHOWCK_LIGHTBOX', 'in a Lightbox') + '</option>';
}
}
if (!videoautoplay || videoautoplay == '0') {
videoautoplay = '';
ckslidevideoautoplayoption = '<option value="0" selected="selected">' + Joomla.JText._('JNO', 'No') + '</option>'
+'<option value="1">' + Joomla.JText._('JYES', 'Yes') + '</option>';
} else {
ckslidevideoautoplayoption = '<option value="0">' + Joomla.JText._('JNO', 'No') + '</option>'
+'<option value="1" selected="selected">' + Joomla.JText._('JYES', 'Yes') + '</option>';
}
if (!videoloop || videoloop == '0') {
videoloop = '';
ckslidevideoloopoption = '<option value="0" selected="selected">' + Joomla.JText._('JNO', 'No') + '</option>'
+'<option value="1">' + Joomla.JText._('JYES', 'Yes') + '</option>';
} else {
ckslidevideoloopoption = '<option value="0">' + Joomla.JText._('JNO', 'No') + '</option>'
+'<option value="1" selected="selected">' + Joomla.JText._('JYES', 'Yes') + '</option>';
}
if (videocontrols == '0') {
videocontrols = '';
ckslidevideocontrolsoption = '<option value="0" selected="selected">' + Joomla.JText._('JNO', 'No') + '</option>'
+'<option value="1">' + Joomla.JText._('JYES', 'Yes') + '</option>';
} else {
ckslidevideocontrolsoption = '<option value="0">' + Joomla.JText._('JNO', 'No') + '</option>'
+'<option value="1" selected="selected">' + Joomla.JText._('JYES', 'Yes') + '</option>';
}
if (!slideselect) {
slideselect = '';
slideselectoption = '<option value="image" selected="selected">' + Joomla.JText._('SLIDESHOWCK_IMAGE', 'Image') + '</option><option value="video">' + Joomla.JText._('SLIDESHOWCK_VIDEO', 'Video') + '</option>';
} else {
if (slideselect == 'image') {
slideselectoption = '<option value="image" selected="selected">' + Joomla.JText._('SLIDESHOWCK_IMAGE', 'Image') + '</option><option value="video">' + Joomla.JText._('SLIDESHOWCK_VIDEO', 'Video') + '</option>';
} else {
slideselectoption = '<option value="image">' + Joomla.JText._('SLIDESHOWCK_IMAGE', 'Image') + '</option><option value="video" selected="selected">' + Joomla.JText._('SLIDESHOWCK_VIDEO', 'Video') + '</option>';
}
}
if (!imgalignment) {
imgalignment = '';
imgdataalignmentoption = '<option value="default" selected="selected">Default</option>'
+ '<option value="topLeft">' + Joomla.JText._('SLIDESHOWCK_TOPLEFT', 'top left') + '</option>'
+ '<option value="topCenter">' + Joomla.JText._('SLIDESHOWCK_TOPCENTER', 'top center') + '</option>'
+ '<option value="topRight">' + Joomla.JText._('SLIDESHOWCK_TOPRIGHT', 'top right') + '</option>'
+ '<option value="centerLeft">' + Joomla.JText._('SLIDESHOWCK_MIDDLELEFT', 'center left') + '</option>'
+ '<option value="center">' + Joomla.JText._('SLIDESHOWCK_CENTER', 'center') + '</option>'
+ '<option value="centerRight">' + Joomla.JText._('SLIDESHOWCK_MIDDLERIGHT', 'center right') + '</option>'
+ '<option value="bottomLeft">' + Joomla.JText._('SLIDESHOWCK_BOTTOMLEFT', 'bottom left') + '</option>'
+ '<option value="bottomCenter">' + Joomla.JText._('SLIDESHOWCK_BOTTOMCENTER', 'bottom center') + '</option>'
+ '<option value="bottomRight">' + Joomla.JText._('SLIDESHOWCK_BOTTOMRIGHT', 'bottom right') + '</option>';
} else {
if (imgalignment == 'topLeft') {
imgdataalignmentoption = '<option value="default">Default</option>'
+ '<option value="topLeft" selected="selected">' + Joomla.JText._('SLIDESHOWCK_TOPLEFT', 'top left') + '</option>'
+ '<option value="topCenter">' + Joomla.JText._('SLIDESHOWCK_TOPCENTER', 'top center') + '</option>'
+ '<option value="topRight">' + Joomla.JText._('SLIDESHOWCK_TOPRIGHT', 'top right') + '</option>'
+ '<option value="centerLeft">' + Joomla.JText._('SLIDESHOWCK_MIDDLELEFT', 'center left') + '</option>'
+ '<option value="center">' + Joomla.JText._('SLIDESHOWCK_CENTER', 'center') + '</option>'
+ '<option value="centerRight">' + Joomla.JText._('SLIDESHOWCK_MIDDLERIGHT', 'center right') + '</option>'
+ '<option value="bottomLeft">' + Joomla.JText._('SLIDESHOWCK_BOTTOMLEFT', 'bottom left') + '</option>'
+ '<option value="bottomCenter">' + Joomla.JText._('SLIDESHOWCK_BOTTOMCENTER', 'bottom center') + '</option>'
+ '<option value="bottomRight">' + Joomla.JText._('SLIDESHOWCK_BOTTOMRIGHT', 'bottom right') + '</option>';
} else if (imgalignment == 'topCenter') {
imgdataalignmentoption = '<option value="default">Default</option>'
+ '<option value="topLeft">' + Joomla.JText._('SLIDESHOWCK_TOPLEFT', 'top left') + '</option>'
+ '<option value="topCenter" selected="selected">' + Joomla.JText._('SLIDESHOWCK_TOPCENTER', 'top center') + '</option>'
+ '<option value="topRight">' + Joomla.JText._('SLIDESHOWCK_TOPRIGHT', 'top right') + '</option>'
+ '<option value="centerLeft">' + Joomla.JText._('SLIDESHOWCK_MIDDLELEFT', 'center left') + '</option>'
+ '<option value="center">' + Joomla.JText._('SLIDESHOWCK_CENTER', 'center') + '</option>'
+ '<option value="centerRight">' + Joomla.JText._('SLIDESHOWCK_MIDDLERIGHT', 'center right') + '</option>'
+ '<option value="bottomLeft">' + Joomla.JText._('SLIDESHOWCK_BOTTOMLEFT', 'bottom left') + '</option>'
+ '<option value="bottomCenter">' + Joomla.JText._('SLIDESHOWCK_BOTTOMCENTER', 'bottom center') + '</option>'
+ '<option value="bottomRight">' + Joomla.JText._('SLIDESHOWCK_BOTTOMRIGHT', 'bottom right') + '</option>';
} else if (imgalignment == 'topRight') {
imgdataalignmentoption = '<option value="default">Default</option>'
+ '<option value="topLeft">' + Joomla.JText._('SLIDESHOWCK_TOPLEFT', 'top left') + '</option>'
+ '<option value="topCenter">' + Joomla.JText._('SLIDESHOWCK_TOPCENTER', 'top center') + '</option>'
+ '<option value="topRight" selected="selected">' + Joomla.JText._('SLIDESHOWCK_TOPRIGHT', 'top right') + '</option>'
+ '<option value="centerLeft">' + Joomla.JText._('SLIDESHOWCK_MIDDLELEFT', 'center left') + '</option>'
+ '<option value="center">' + Joomla.JText._('SLIDESHOWCK_CENTER', 'center') + '</option>'
+ '<option value="centerRight">' + Joomla.JText._('SLIDESHOWCK_MIDDLERIGHT', 'center right') + '</option>'
+ '<option value="bottomLeft">' + Joomla.JText._('SLIDESHOWCK_BOTTOMLEFT', 'bottom left') + '</option>'
+ '<option value="bottomCenter">' + Joomla.JText._('SLIDESHOWCK_BOTTOMCENTER', 'bottom center') + '</option>'
+ '<option value="bottomRight">' + Joomla.JText._('SLIDESHOWCK_BOTTOMRIGHT', 'bottom right') + '</option>';
} else if (imgalignment == 'centerLeft') {
imgdataalignmentoption = '<option value="default">Default</option>'
+ '<option value="topLeft">' + Joomla.JText._('SLIDESHOWCK_TOPLEFT', 'top left') + '</option>'
+ '<option value="topCenter">' + Joomla.JText._('SLIDESHOWCK_TOPCENTER', 'top center') + '</option>'
+ '<option value="topRight">' + Joomla.JText._('SLIDESHOWCK_TOPRIGHT', 'top right') + '</option>'
+ '<option value="centerLeft" selected="selected">' + Joomla.JText._('SLIDESHOWCK_MIDDLELEFT', 'center left') + '</option>'
+ '<option value="center">' + Joomla.JText._('SLIDESHOWCK_CENTER', 'center') + '</option>'
+ '<option value="centerRight">' + Joomla.JText._('SLIDESHOWCK_MIDDLERIGHT', 'center right') + '</option>'
+ '<option value="bottomLeft">' + Joomla.JText._('SLIDESHOWCK_BOTTOMLEFT', 'bottom left') + '</option>'
+ '<option value="bottomCenter">' + Joomla.JText._('SLIDESHOWCK_BOTTOMCENTER', 'bottom center') + '</option>'
+ '<option value="bottomRight">' + Joomla.JText._('SLIDESHOWCK_BOTTOMRIGHT', 'bottom right') + '</option>';
} else if (imgalignment == 'center') {
imgdataalignmentoption = '<option value="default">Default</option>'
+ '<option value="topLeft">' + Joomla.JText._('SLIDESHOWCK_TOPLEFT', 'top left') + '</option>'
+ '<option value="topCenter">' + Joomla.JText._('SLIDESHOWCK_TOPCENTER', 'top center') + '</option>'
+ '<option value="topRight">' + Joomla.JText._('SLIDESHOWCK_TOPRIGHT', 'top right') + '</option>'
+ '<option value="centerLeft">' + Joomla.JText._('SLIDESHOWCK_MIDDLELEFT', 'center left') + '</option>'
+ '<option value="center" selected="selected">' + Joomla.JText._('SLIDESHOWCK_CENTER', 'center') + '</option>'
+ '<option value="centerRight">' + Joomla.JText._('SLIDESHOWCK_MIDDLERIGHT', 'center right') + '</option>'
+ '<option value="bottomLeft">' + Joomla.JText._('SLIDESHOWCK_BOTTOMLEFT', 'bottom left') + '</option>'
+ '<option value="bottomCenter">' + Joomla.JText._('SLIDESHOWCK_BOTTOMCENTER', 'bottom center') + '</option>'
+ '<option value="bottomRight">' + Joomla.JText._('SLIDESHOWCK_BOTTOMRIGHT', 'bottom right') + '</option>';
} else if (imgalignment == 'centerRight') {
imgdataalignmentoption = '<option value="default">Default</option>'
+ '<option value="topLeft">' + Joomla.JText._('SLIDESHOWCK_TOPLEFT', 'top left') + '</option>'
+ '<option value="topCenter">' + Joomla.JText._('SLIDESHOWCK_TOPCENTER', 'top center') + '</option>'
+ '<option value="topRight">' + Joomla.JText._('SLIDESHOWCK_TOPRIGHT', 'top right') + '</option>'
+ '<option value="centerLeft">' + Joomla.JText._('SLIDESHOWCK_MIDDLELEFT', 'center left') + '</option>'
+ '<option value="center">' + Joomla.JText._('SLIDESHOWCK_CENTER', 'center') + '</option>'
+ '<option value="centerRight" selected="selected">' + Joomla.JText._('SLIDESHOWCK_MIDDLERIGHT', 'center right') + '</option>'
+ '<option value="bottomLeft">' + Joomla.JText._('SLIDESHOWCK_BOTTOMLEFT', 'bottom left') + '</option>'
+ '<option value="bottomCenter">' + Joomla.JText._('SLIDESHOWCK_BOTTOMCENTER', 'bottom center') + '</option>'
+ '<option value="bottomRight">' + Joomla.JText._('SLIDESHOWCK_BOTTOMRIGHT', 'bottom right') + '</option>';
} else if (imgalignment == 'bottomLeft') {
imgdataalignmentoption = '<option value="default">Default</option>'
+ '<option value="topLeft">' + Joomla.JText._('SLIDESHOWCK_TOPLEFT', 'top left') + '</option>'
+ '<option value="topCenter">' + Joomla.JText._('SLIDESHOWCK_TOPCENTER', 'top center') + '</option>'
+ '<option value="topRight">' + Joomla.JText._('SLIDESHOWCK_TOPRIGHT', 'top right') + '</option>'
+ '<option value="centerLeft">' + Joomla.JText._('SLIDESHOWCK_MIDDLELEFT', 'center left') + '</option>'
+ '<option value="center">' + Joomla.JText._('SLIDESHOWCK_CENTER', 'center') + '</option>'
+ '<option value="centerRight">' + Joomla.JText._('SLIDESHOWCK_MIDDLERIGHT', 'center right') + '</option>'
+ '<option value="bottomLeft" selected="selected">' + Joomla.JText._('SLIDESHOWCK_BOTTOMLEFT', 'bottom left') + '</option>'
+ '<option value="bottomCenter">' + Joomla.JText._('SLIDESHOWCK_BOTTOMCENTER', 'bottom center') + '</option>'
+ '<option value="bottomRight">' + Joomla.JText._('SLIDESHOWCK_BOTTOMRIGHT', 'bottom right') + '</option>';
} else if (imgalignment == 'bottomCenter') {
imgdataalignmentoption = '<option value="default">Default</option>'
+ '<option value="topLeft">' + Joomla.JText._('SLIDESHOWCK_TOPLEFT', 'top left') + '</option>'
+ '<option value="topCenter">' + Joomla.JText._('SLIDESHOWCK_TOPCENTER', 'top center') + '</option>'
+ '<option value="topRight">' + Joomla.JText._('SLIDESHOWCK_TOPRIGHT', 'top right') + '</option>'
+ '<option value="centerLeft">' + Joomla.JText._('SLIDESHOWCK_MIDDLELEFT', 'center left') + '</option>'
+ '<option value="center">' + Joomla.JText._('SLIDESHOWCK_CENTER', 'center') + '</option>'
+ '<option value="centerRight">' + Joomla.JText._('SLIDESHOWCK_MIDDLERIGHT', 'center right') + '</option>'
+ '<option value="bottomLeft">' + Joomla.JText._('SLIDESHOWCK_BOTTOMLEFT', 'bottom left') + '</option>'
+ '<option value="bottomCenter" selected="selected">' + Joomla.JText._('SLIDESHOWCK_BOTTOMCENTER', 'bottom center') + '</option>'
+ '<option value="bottomRight">' + Joomla.JText._('SLIDESHOWCK_BOTTOMRIGHT', 'bottom right') + '</option>';
} else if (imgalignment == 'bottomRight') {
imgdataalignmentoption = '<option value="default">Default</option>'
+ '<option value="topLeft">' + Joomla.JText._('SLIDESHOWCK_TOPLEFT', 'top left') + '</option>'
+ '<option value="topCenter">' + Joomla.JText._('SLIDESHOWCK_TOPCENTER', 'top center') + '</option>'
+ '<option value="topRight">' + Joomla.JText._('SLIDESHOWCK_TOPRIGHT', 'top right') + '</option>'
+ '<option value="centerLeft">' + Joomla.JText._('SLIDESHOWCK_MIDDLELEFT', 'center left') + '</option>'
+ '<option value="center">' + Joomla.JText._('SLIDESHOWCK_CENTER', 'center') + '</option>'
+ '<option value="centerRight">' + Joomla.JText._('SLIDESHOWCK_MIDDLERIGHT', 'center right') + '</option>'
+ '<option value="bottomLeft">' + Joomla.JText._('SLIDESHOWCK_BOTTOMLEFT', 'bottom left') + '</option>'
+ '<option value="bottomCenter">' + Joomla.JText._('SLIDESHOWCK_BOTTOMCENTER', 'bottom center') + '</option>'
+ '<option value="bottomRight" selected="selected">' + Joomla.JText._('SLIDESHOWCK_BOTTOMRIGHT', 'bottom right') + '</option>';
} else {
imgdataalignmentoption = '<option value="default" selected="selected">Default</option>'
+ '<option value="topLeft">' + Joomla.JText._('SLIDESHOWCK_TOPLEFT', 'top left') + '</option>'
+ '<option value="topCenter">' + Joomla.JText._('SLIDESHOWCK_TOPCENTER', 'top center') + '</option>'
+ '<option value="topRight">' + Joomla.JText._('SLIDESHOWCK_TOPRIGHT', 'top right') + '</option>'
+ '<option value="centerLeft">' + Joomla.JText._('SLIDESHOWCK_MIDDLELEFT', 'center left') + '</option>'
+ '<option value="center">' + Joomla.JText._('SLIDESHOWCK_CENTER', 'center') + '</option>'
+ '<option value="centerRight">' + Joomla.JText._('SLIDESHOWCK_MIDDLERIGHT', 'center right') + '</option>'
+ '<option value="bottomLeft">' + Joomla.JText._('SLIDESHOWCK_BOTTOMLEFT', 'bottom left') + '</option>'
+ '<option value="bottomCenter">' + Joomla.JText._('SLIDESHOWCK_BOTTOMCENTER', 'bottom center') + '</option>'
+ '<option value="bottomRight">' + Joomla.JText._('SLIDESHOWCK_BOTTOMRIGHT', 'bottom right') + '</option>';
}
}
if (!state || state == '1') {
state = '1';
statetxt = 'ON';
} else {
state = '0';
statetxt = 'OFF';
}
index = ckCheckIndex(0);
var ckslide = jQuery('<li class="ckslide" id="ckslide' + index + '" />');
ckslide.html('<div class="ckslidehandle"><div class="ckslidenumber">' + index + '</div></div>'
+ '<div class="ckslidedelete cktip" title="' + Joomla.JText._('SLIDESHOWCK_REMOVE2', '') + '" onclick="javascript:ckRemoveSlide(jQuery(this).parent());"><i class="fas fa-times"></i></a></div>'
+ '<div class="ckslidetoggle" data-state="' + state + '"><div class="ckslidetoggler">' + statetxt + '</div></div>'
+ '<div class="ckslidecontainer">'
+ '<div class="cksliderow"><div class="ckslideimgcontainer">'
+ '<img src="' + imgthumb + '" width="64" height="64" onclick="ckCallImageManagerPopup(\'ckslideimgname' + index + '\')"/></div>'
+ '<div class="ckslideimgnamewrap ckbutton-group">'
+ '<input name="ckslideimgname' + index + '" id="ckslideimgname' + index + '" class="ckslideimgname" type="text" value="' + imgname + '" onchange="javascript:ckUpdateThumbnail(this.value, this);" />'
+ '<a class="ckbutton cktip" onclick="ckCallImageManagerPopup(\'ckslideimgname' + index + '\')" href="javascript:void(0)" title="' + Joomla.JText._('SLIDESHOWCK_SELECTIMAGE', 'select image') + '"><i class="fas fa-edit"></i></a></div>'
+ '</div>'
+ '<div class="cksliderow2">'
// + '<span class="ckslidelabel">' + Joomla.JText._('SLIDESHOWCK_USETOSHOW', 'Display') + '</span><select class="ckslideselect">' + slideselectoption + '</select>'
+ '<span><i class="fas fa-hourglass-half cktip" title="' + Joomla.JText._('SLIDESHOWCK_SLIDETIME', 'enter a specific time value for this slide, else it will be the default time') + '" style="color: #555;font-size: 16px;padding: 5px;"></i><input name="ckslideimgtime' + index + '" class="ckslideimgtime" type="text" value="' + imgtime + '" /></span><span>ms</span>'
+ '</div>'
+ '<div class="cksliderow"><div id="ckslideaccordion' + index + '">'
+ '<span class="ckbutton ckslideaccordeonbutton ckinterfacetablink" data-group="main" data-tab="tab_maintext">' + Joomla.JText._('SLIDESHOWCK_TEXT', 'Text') + '</span>'
+ '<span class="ckbutton ckslideaccordeonbutton ckinterfacetablink" data-group="main" data-tab="tab_mainimage">' + Joomla.JText._('SLIDESHOWCK_IMAGE', 'Image') + '</span>'
+ '<span class="ckbutton ckslideaccordeonbutton ckinterfacetablink" data-group="main" data-tab="tab_mainlink">' + Joomla.JText._('SLIDESHOWCK_LINK', 'Link') + '</span>'
+ '<span class="ckbutton ckslideaccordeonbutton ckinterfacetablink" data-group="main" data-tab="tab_mainvideo">' + Joomla.JText._('SLIDESHOWCK_VIDEO', 'Video') + '</span>'
+ '<span class="ckbutton ckslideaccordeonbutton ckinterfacetablink" data-group="main" data-tab="tab_maindates">' + Joomla.JText._('SLIDESHOWCK_DATES', 'Dates') + '</span>'
+ '<div style="clear:both;"></div>'
+ '<div class="ckslideaccordeoncontent ckinterfacetab" data-group="main" id="tab_maintext">'
+ '<span class="ckbutton ckslideaccordeonbutton ckinterfacetablink ' + (texttype == 'custom' ? 'active open' : '') + '" data-allowclose="false" data-group="text" data-tab="tab_textcustom" data-value="custom">' + Joomla.JText._('SLIDESHOWCK_TEXT_CUSTOM', 'Custom text') + '</span>'
+ '<span class="ckbutton ckslideaccordeonbutton ckinterfacetablink ' + (texttype == 'article' ? 'active open' : '') + '" data-allowclose="false" data-group="text" data-tab="tab_textarticle" data-value="article">' + Joomla.JText._('SLIDESHOWCK_ARTICLE', 'Article') + '</span>'
+ '<span class="ckbutton ckslideaccordeonbutton ckinterfacetablink ' + (texttype == 'pagebuilderck' ? 'active open' : '') + '" data-allowclose="false" data-group="text" data-tab="tab_textpagebuilderck" data-value="pagebuilderck">' + Joomla.JText._('SLIDESHOWCK_PAGEBUILDERCK', 'Page Builder CK') + '</span>'
+ '<div style="clear:both;"></div>'
+ '<div class="ckslideaccordeoncontent ckinterfacetab ' + (texttype == 'custom' ? 'current' : '') + '" data-group="text" id="tab_textcustom">'
+ '<div class="cksliderow"><span class="ckslidelabel">' + Joomla.JText._('SLIDESHOWCK_TITLE', 'Title') + '</span><input name="ckslidetitletext' + index + '" class="ckslidetitletext" type="text" value="' + imgtitle + '" /></div>'
+ '<div class="cksliderow"><span class="ckslidelabel">' + Joomla.JText._('SLIDESHOWCK_CAPTION', 'Caption') + '</span><input name="ckslidecaptiontext' + index + '" class="ckslidecaptiontext" type="text" value="' + imgcaption + '" /></div>'
+ '</div>'
+ '<div class="ckslideaccordeoncontent ckinterfacetab ' + (texttype == 'article' ? 'current' : '') + '" data-group="text" id="tab_textarticle">'
+ '<div class="cksliderow ckbutton-group" id="cksliderowarticle' + index + '"><label class="ckslidelabel">' + Joomla.JText._('SLIDESHOWCK_ARTICLE_ID', 'Article ID') + '</label><input name="ckslidearticleid' + index + '" class="ckslidearticleid input-medium" id="ckslidearticleid' + index + '" style="width:20px" type="text" value="' + articleid + '" disabled="disabled" /><input name="ckslidearticlename' + index + '" class="ckslidearticlename input-medium" id="ckslidearticlename' + index + '" type="text" value="' + articlename + '" disabled="disabled" /><a id="ckslidearticlebuttonSelect" class="ckmodal ckbutton cktip" title="' + Joomla.JText._('SLIDESHOWCK_SELECT', 'Clear') + '" href="index.php?option=com_content&layout=modal&view=articles&tmpl=component&function=jSelectArticle_ckslidearticleid' + index + '&' + SLIDESHOWCK.TOKEN + '" rel="{handler: \'iframe\', size: {x: 800, y: 450}}"><i class="fas fa-mouse-pointer"></i></a><a class="ckbutton" href="javascript:void(0)" onclick="document.getElementById(\'ckslidearticleid' + index + '\').value=\'\';document.getElementById(\'ckslidearticlename' + index + '\').value=\'\';document.getElementById(\'ckslidearticlebuttonEdit' + index + '\').style.display=\'none\';">' + Joomla.JText._('SLIDESHOWCK_CLEAR', 'Clear') + '</a>'
+ '<a id="ckslidearticlebuttonEdit' + index + '" class="ckbutton" href="javascript:void(0)" onclick="ckCallArticleEditionPopup(document.getElementById(\'ckslidearticleid' + index + '\').value)" ' + (articleid != '' ? '' : 'style="display:none;"') + '>'+Joomla.JText._('SLIDESHOWCK_EDIT', 'Edit')+'</a>'
+'</div>'
+ '</div>'
+ '<div class="ckslideaccordeoncontent ckinterfacetab ' + (texttype == 'pagebuilderck' ? 'current' : '') + '" data-group="text" id="tab_textpagebuilderck">'
// + '<div class="cksliderow ckbutton-group" id="cksliderowpage' + index + '">'
// + '<label class="ckslidelabel">' + Joomla.JText._('SLIDESHOWCK_PAGEBUILERCK_PAGE_ID', 'Page ID') + '</label>'
// + '<input name="ckslidepageid' + index + '" class="ckslidepageid input-medium" id="ckslidepageid' + index + '" style="width:20px" type="text" value="' + pagebuilderckid + '" disabled="disabled" />'
// + '<input name="ckslidepagename' + index + '" class="ckslidepagename input-medium" id="ckslidepagename' + index + '" type="text" value="' + pagebuilderckname + '" disabled="disabled" />'
// + '<a id="ckslidepagebuttonSelect' + index + '" class="ckmodal ckbutton cktip" title="' + Joomla.JText._('SLIDESHOWCK_SELECT', 'Clear') + '" href="index.php?option=com_pagebuilderck&layout=modal&view=pages&tmpl=component&function=jSelectPage_ckslidepageid' + index + '&' + SLIDESHOWCK.TOKEN + '" rel="{handler: \'iframe\', size: {x: 800, y: 450}}"><i class="fas fa-mouse-pointer"></i></a>'
// + '<a class="ckbutton" href="javascript:void(0)" onclick="document.getElementById(\'ckslidepageid' + index + '\').value=\'\';document.getElementById(\'ckslidepagename' + index + '\').value=\'\';">' + Joomla.JText._('SLIDESHOWCK_CLEAR', 'Clear') + '</a>'
// + '<a id="ckslidepagebuttonEdit' + index + '" class="ckbutton" href="javascript:void(0)" onclick="ckCallPagebuilderckEditionPopup(document.getElementById(\'ckslidepageid' + index + '\').value)" style="' + (pagebuilderckid != '' ? 'display:inline-block;' : 'display:none;') + '">'+Joomla.JText._('SLIDESHOWCK_EDIT', 'Edit')+'</a>'
// +'</div>'
+'<div class="ckinfo"><i class="fas fa-info"></i><a href="https://www.joomlack.fr/en/joomla-extensions/slideshow-ck" target="_blank">' + Joomla.JText._('SLIDESHOWCK_ONLY_PRO') + '</a></div>'
+ '</div>'
+ '</div>'
+ '<div class="ckslideaccordeoncontent ckinterfacetab" data-group="main" id="tab_mainimage">'
+ '<div class="cksliderow"><span class="ckslidelabel">' + Joomla.JText._('SLIDESHOWCK_ALIGNEMENT_LABEL', 'Image alignment') + '</span><select name="ckslidedataalignmenttext' + index + '" class="ckslidedataalignmenttext" >' + imgdataalignmentoption + '</select></div>'
+ '</div>'
+ '<div class="ckslideaccordeoncontent ckinterfacetab" data-group="main" id="tab_mainlink">'
+ '<div class="cksliderow">'
+ '<div class="ckbutton-group">'
+ '<label class="ckslidelabel">' + Joomla.JText._('SLIDESHOWCK_LINK', 'Link url') + '</label><input id="ckslidelinktext' + index + '" name="ckslidelinktext' + index + '" class="ckslidelinktext" type="text" value="' + imglink + '" />'
+ '<a class="ckbutton cktip" onclick="ckCallMenusSelectionPopup(\'ckslidelinktext' + index + '\')" href="javascript:void(0)" title="' + Joomla.JText._('SLIDESHOWCK_SELECT_LINK', 'select image') + '"><i class="fas fa-edit"></i></a>'
+ '</div>'
+ '</div>'
+ '<div class="cksliderow"><span class="ckslidelabel">' + Joomla.JText._('SLIDESHOWCK_TARGET', 'Target') + '</span><select name="ckslidetargettext' + index + '" class="ckslidetargettext" >' + imgtargetoption + '</select></div>'
+ '</div>'
+ '<div class="ckslideaccordeoncontent ckinterfacetab" data-group="main" id="tab_mainvideo">'
+ '<div class="cksliderow">'
+ '<div class="ckbutton-group">'
+' <label class="ckslidelabel">' + Joomla.JText._('SLIDESHOWCK_VIDEOURL', 'Video url') + '</label>'
+'<input id="ckslidevideotext' + index + '" name="ckslidevideotext' + index + '" class="ckslidevideotext" type="text" value="' + imgvideo + '" />'
+'<a class="ckbutton cktip" title="' + Joomla.JText._('SLIDESHOWCK_SELECT', 'Clear') + '" href="javascript:void(0)" onclick="ckCallVideoManagerPopup(\'ckslidevideotext' + index + '\')"><i class="fas fa-edit"></i></a>'
+'</div>'
+ '</div>'
+ '<div class="cksliderow">'
+'<span class="ckslidelabel">' + Joomla.JText._('SLIDESHOWCK_VIDEO_AUTOPLAY', 'Autoplay') + '</span><select name="ckslidevideoautoplay' + index + '" class="ckslidevideoautoplay" >' + ckslidevideoautoplayoption + '</select>'
+'</div>'
+ '<div class="cksliderow">'
+'<span class="ckslidelabel">' + Joomla.JText._('SLIDESHOWCK_VIDEO_LOOP', 'Loop') + '</span><select name="ckslidevideoloop' + index + '" class="ckslidevideoloop" >' + ckslidevideoloopoption + '</select>'
+'</div>'
+ '<div class="cksliderow">'
+'<span class="ckslidelabel">' + Joomla.JText._('SLIDESHOWCK_VIDEO_CONTROLS', 'Controls') + '</span><select name="ckslidevideocontrols' + index + '" class="ckslidevideocontrols" >' + ckslidevideocontrolsoption + '</select>'
+'</div>'
+ '</div>'
+ '<div class="ckslideaccordeoncontent ckinterfacetab" data-group="main" id="tab_maindates">'
+ '<div class="cksliderow"><span class="ckslidelabel">' + Joomla.JText._('SLIDESHOWCK_STARTDATE', 'Start date') + '</span><input name="ckslidestartdate' + index + '" class="ckslidestartdate ckdatepicker" type="text" value="' + startdate + '" /></div>'
+ '<div class="cksliderow"><span class="ckslidelabel">' + Joomla.JText._('SLIDESHOWCK_ENDDATE', 'End date') + '</span><input name="ckslideenddate' + index + '" class="ckslideenddate ckdatepicker" type="text" value="' + enddate + '" /></div>'
+ '</div>'
+ '</div></div>'
+ '</div><div style="clear:both;"></div>');
if (position == 'top') {
jQuery('#ckslideslist').prepend(ckslide);
} else {
jQuery('#ckslideslist').append(ckslide);
}
script = document.createElement("script");
script.setAttribute('type', 'text/javascript');
script.text = "function jSelectArticle_ckslidearticleid" + index + "(id, title, catid, object) {"
+ "document.getElementById('ckslidearticleid" + index + "').value = id;"
+ "document.getElementById('ckslidearticlename" + index + "').value = title;"
+ "document.getElementById('ckslidearticlebuttonEdit" + index + "').style.display = 'inline-block';"
+ "CKBox.close();"
+ "}"
+ "function jSelectPage_ckslidepageid" + index + "(id, type, title) {"
+ "document.getElementById('ckslidepageid" + index + "').value = id;"
+ "document.getElementById('ckslidepagename" + index + "').value = title;"
+ "document.getElementById('ckslidepagebuttonEdit" + index + "').style.display = 'inline-block';"
+ "CKBox.close();"
+ "}";
document.body.appendChild(script);
ckStoreSlides();
ckMakeSlidesSortable();
CKBox.assign(jQuery('#ckslide' + index + ' a.ckmodal'), {
parse: 'rel'
});
// create_tabs_in_slide(jQuery('#ckslide' + index));
ckInitTabs(jQuery('#ckslide' + index), true);
CKApi.Tooltip(jQuery('#ckslide' + index + ' .cktip'));
jQuery('#ckslide' + index + ' .ckdatepicker').datepicker({"dateFormat": "d MM yy"});
// add code to toggle the slide state
jQuery('#ckslide' + index + ' .ckslidetoggle').click(function() {
if (jQuery(this).attr('data-state') == '0') {
jQuery(this).attr('data-state', '1');
jQuery(this).find('.ckslidetoggler').text('ON');
} else {
jQuery(this).attr('data-state', '0');
jQuery(this).find('.ckslidetoggler').text('OFF');
}
});
}
function ckCheckIndex(i) {
while (jQuery('#ckslide' + i).length)
i++;
return i;
}
function ckRemoveSlide(slide) {
if (confirm(Joomla.JText._('SLIDESHOWCK_REMOVE', 'Remove this slide') + ' ?')) {
jQuery(slide).remove();
ckStoreSlides();
}
jQuery('.cktooltip').remove();
}
function ckStoreSlides() {
var i = 0;
var slides = new Array();
jQuery('#ckslideslist .ckslide').each(function(i, el) {
el = jQuery(el);
slide = new Object();
slide['imgname'] = el.find('.ckslideimgname').val();
slide['imgcaption'] = el.find('.ckslidecaptiontext').val();
slide['imgcaption'] = slide['imgcaption'].replace(/"/g, "|dq|");
slide['imgtitle'] = el.find('.ckslidetitletext').val();
slide['imgtitle'] = slide['imgtitle'].replace(/"/g, "|dq|");
slide['imgthumb'] = el.find('img').attr('src');
slide['imglink'] = el.find('.ckslidelinktext').val();
slide['imglink'] = slide['imglink'].replace(/"/g, "|dq|");
slide['imgtarget'] = el.find('.ckslidetargettext').val();
slide['videoautoplay'] = el.find('.ckslidevideoautoplay').val();
slide['videoloop'] = el.find('.ckslidevideoloop').val();
slide['videocontrols'] = el.find('.ckslidevideocontrols').val();
slide['imgalignment'] = el.find('.ckslidedataalignmenttext').val();
slide['imgvideo'] = el.find('.ckslidevideotext').val();
// slide['slideselect'] = el.find('.ckslideselect').val();
slide['slidearticleid'] = el.find('.ckslidearticleid').val();
slide['slidepageid'] = el.find('.ckslidepageid').val();
slide['slidearticlename'] = el.find('.ckslidearticlename').val();
slide['slidepagename'] = el.find('.ckslidepagename').val();
slide['imgtime'] = el.find('.ckslideimgtime').val();
slide['state'] = el.find('.ckslidetoggle').attr('data-state');
slide['startdate'] = el.find('.ckslidestartdate').val();
slide['enddate'] = el.find('.ckslideenddate').val();
slide['texttype'] = el.find('.ckbutton[data-group="text"].active').attr('data-value');
slides[i] = slide;
i++;
});
slides = JSON.stringify(slides);
slides = slides.replace(/"/g, "|qq|");
jQuery('#ckslides').val(slides);
}
function ckCallSlides() {
var slides = jQuery.parseJSON(jQuery('#ckslides').val().replace(/\|qq\|/g, "\""));
if (slides.length) {
jQuery(slides).each(function(i, slide) {
ckAddSlide(slide);
});
}
}
function ckMakeSlidesSortable() {
jQuery("#ckslideslist").sortable({
// placeholder: "ui-state-highlight",
handle: ".ckslidehandle",
items: ".ckslide",
axis: "y",
forcePlaceholderSize: true,
forceHelperSize: true,
dropOnEmpty: true,
tolerance: "pointer",
placeholder: "placeholder",
connectWith: '',
zIndex: 9999,
update: function(event, ui) {
ckRenumberSlides();
},
sort: function(event, ui) {
jQuery(ui.placeholder).height(jQuery(ui.helper).height());
}
});
}
function ckRenumberSlides() {
var index = 0;
jQuery('.ckslide').each(function(i, slide) {
jQuery('.ckslidenumber', jQuery(slide)).html(i);
index++;
});
}
jQuery(document).ready(function() {
ckCallSlides();
var script = document.createElement("script");
script.setAttribute('type', 'text/javascript');
script.text = "var SlideshowCK = {};"
+ "SlideshowCK.submitbutton = Joomla.submitbutton;"
+ "Joomla.submitbutton = function(task){"
+ "ckStoreSlides();"
+ "SlideshowCK.submitbutton(task);"
+ "};"
+ "jInsertEditorText = function(text, editor) {ckInsertMedia(text, editor)};";
document.body.appendChild(script);
});
delete.gif 0000604 00000000247 15245572334 0006506 0 ustar 00 GIF89a � �3 �) � ���� �) �:�L�l�s�Z�`�~� ��� !� , T��I+
����S��A�Ng���0_���$$ �x:^S��BAT�a�Dr�(�3 X�(R�z-d;�-@ ���_��l��o�SB��- ; add.png 0000604 00000010175 15245572334 0006014 0 ustar 00 �PNG
IHDR szz�
�iCCPICC Profile x�� 8T��_���I�!d���V[v��Va�1�-�\�e'k���Υ���%�ȍB���.s�!�������3�����;g��|��y����v� {��������!�s@��7Ź8Jkh�B]~�-�"��S~x����^ˣ��G�Ƙ�i���j�q�~ "6���j3���l3+������cg���9���笣%�t(��6s!��6s-��qV�� �txs<