Файловый менеджер - Редактировать - /home/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 00000010760 15245572334 0010424 0 ustar 00 /** * @copyright Copyright (C) 2012 Cedric KEIFLIN alias ced1870 * http://www.joomlack.fr * @license GNU/GPL * */ /* bootstrap override */ #ckslideslist .chzn-container { display: none !important; } #ckslideslist select { display: inline-block !important; } #ckslideslist li { list-style: none; } /* fin override */ #options-styles {position:relative;} #ckaddslide { padding: 5px; color: 333; text-decoration: none; font-weight: normal; text-align: center; background: linear-gradient(top, #fff, #eee); background: -moz-linear-gradient(top, #fff, #eee); background: -webkit-gradient(linear, left top, left bottom, color-stop(0, #777), color-stop(.5, #555), color-stop(.5, #333), to(#000)); -moz-border-radius: 5px; -webkit-border-radius: 5px; border-radius: 5px; border: 1px solid #ddd; border-top: 1px solid #ddd; cursor: pointer; background: #f4f4f4 url(add.png) left center no-repeat; text-indent: 30px; height: 35px; } #ckaddslide:hover { background-color: #eee; } .ckslideaccordeoncontent { /*overflow: visible !important;*/ } .ckslide { margin: 3px 0 !important; border-radius: 5px; -moz-border-radius: 5px; border: #ccc 1px solid; clear: both; min-height: 60px; 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 { clear: both; float: none; border-radius: 5px; -moz-border-radius: 5px; padding: 5px; } .ckslidecontainer { border-left: 1px solid #ccc; float: left; width: 88%; padding-left: 2%; 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: 25px; border-bottom: 1px solid #ccc; } .ckslidetoggle { background: red; bottom: 0; height: 40px; left: 0; position: absolute; width: 8%; background-color: #dff0d8; /*border-color: #d6e9c6;*/ color: #468847; cursor: pointer; border-radius: 0 0 0 5px; 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: 200px; margin-left: 5px; } .ckselectimg, .ckslidedelete { color: 333; text-decoration: none; font-weight: normal; text-align: center; background: #f4f4f4; background: linear-gradient(top, #fff, #eee); background: -moz-linear-gradient(top, #fff, #eee); -moz-border-radius: 10px; -webkit-border-radius: 10px; border-radius: 10px; border: 1px solid #ddd; border-top: 1px solid #ddd; cursor: pointer; } .ckselectimg:hover { background: #eee; } .ckslidedelete:hover { background: url(delete_hover.png) center center no-repeat; } .ckselectimg { display: block; margin-left: 80px; } .ckslidedelete { /* float: right !important;*/ top: 0; position: absolute; right :0; display: block; width: 16px !important; height: 16px; background: url(delete.png) center center no-repeat; border: none; } .ckslideimgcontainer { float:left; height:64px; width:64px; overflow:hidden; border: 5px solid #fff; box-shadow: 0px 0px 1px #333; border-radius: 5px; margin: 5px 5px 5px 0; } .ckslideimgcontainer img { margin: 0 !important; height:64px; width:64px; } .ckslidelabel { margin: 5px; width: 75px; display: inline-block; } .ckslidecaptiontext, .ckslidelinktext, .ckslidevideotext { width: 200px; } .ckslidetargettext { width: 210px; } .ckslideaccordeonbutton { padding: 5px; margin: 2px; color: 333; text-decoration: none; font-weight: normal; display: block; float: left; text-align: center; background: #f4f4f4; background: linear-gradient(top, #fff, #eee); background: -moz-linear-gradient(top, #fff, #eee); -moz-border-radius: 10px; -webkit-border-radius: 10px; border-radius: 10px; border: 1px solid #ddd; border-top: 1px solid #ddd; cursor: pointer; } .ckslideaccordeonbutton:hover, .ckslideaccordeonbutton.open { background: #eee; color: #0080ff; } rightarrow.gif 0000604 00000000114 15245572334 0007425 0 ustar 00 GIF89a � ���������!� , @�o�ˋ�މR4U�e�JWmC'��y�cȱ�� ; ckslidesmanager.js 0000604 00000070433 15245572334 0010253 0 ustar 00 /** * @copyright Copyright (C) 2012 Cedric KEIFLIN alias ced1870 * http://www.joomlack.fr * Module Slideshow CK * @license GNU/GPL * */ // pour gestion editeur d'images function jInsertEditorText(text, editor) { var valeur = jQuery(text).attr('src'); jQuery('#'+editor).val(valeur); addthumbnail(valeur, '#'+editor); } function addthumbnail(imgsrc, editor) { var slideimg = jQuery(editor).parent().find('img'); var testurl = 'http'; if (imgsrc.toLowerCase().indexOf(testurl.toLowerCase()) != -1) { slideimg.attr('src', imgsrc); } else { slideimg.attr('src', JURI + imgsrc); } slideimg.attr('width', '64px'); slideimg.attr('height', '64px'); } function addslideck(imgname, imgcaption, imgthumb, imglink, imgtarget, imgvideo, slideselect, imgalignment, articleid, imgtime, articlename, imgtitle, state, imgstartdate, imgenddate) { if (!imgstartdate) imgstartdate = ''; if (!imgenddate) imgenddate = ''; if (!imgtitle) imgtitle = ''; if (!articleid) articleid = ''; if (!articlename) articlename = ''; if (!imgtime) imgtime = ''; if (!imgname) imgname = ''; if (!imgthumb) { imgthumb = '../modules/mod_slideshowck/elements/ckslidesmanager/unknown.png'; } else { imgthumb = JURI + imgname; } if (!imgcaption) imgcaption = ''; imgcaption = imgcaption.replace(/\|dq\|/g, """); if (!imglink) imglink = ''; if (!imgvideo) imgvideo = ''; if (!imgtarget || imgtarget == 'default') { imgtarget = ''; imgtargetoption = '<option value="default" selected="selected">' + Joomla.JText._('MOD_SLIDESHOWCK_DEFAULT', 'default') + '</option><option value="_parent">' + Joomla.JText._('MOD_SLIDESHOWCK_SAMEWINDOW', 'same window') + '</option><option value="_blank">' + Joomla.JText._('MOD_SLIDESHOWCK_NEWWINDOW', 'new window') + '</option><option value="lightbox">' + Joomla.JText._('MOD_SLIDESHOWCK_LIGHTBOX', 'in a Lightbox') + '</option>'; } else { if (imgtarget == '_parent') { imgtargetoption = '<option value="default">' + Joomla.JText._('MOD_SLIDESHOWCK_DEFAULT', 'default') + '</option><option value="_parent" selected="selected">' + Joomla.JText._('MOD_SLIDESHOWCK_SAMEWINDOW', 'same window') + '</option><option value="_blank">' + Joomla.JText._('MOD_SLIDESHOWCK_NEWWINDOW', 'new window') + '</option><option value="lightbox">' + Joomla.JText._('MOD_SLIDESHOWCK_LIGHTBOX', 'in a Lightbox') + '</option>'; } else if (imgtarget == 'lightbox') { imgtargetoption = '<option value="default">' + Joomla.JText._('MOD_SLIDESHOWCK_DEFAULT', 'default') + '</option><option value="_parent">' + Joomla.JText._('MOD_SLIDESHOWCK_SAMEWINDOW', 'same window') + '</option><option value="_blank">' + Joomla.JText._('MOD_SLIDESHOWCK_NEWWINDOW', 'new window') + '</option><option value="lightbox" selected="selected">' + Joomla.JText._('MOD_SLIDESHOWCK_LIGHTBOX', 'in a Lightbox') + '</option>'; } else { imgtargetoption = '<option value="default">' + Joomla.JText._('MOD_SLIDESHOWCK_DEFAULT', 'default') + '</option><option value="_parent">' + Joomla.JText._('MOD_SLIDESHOWCK_SAMEWINDOW', 'same window') + '</option><option value="_blank" selected="selected">' + Joomla.JText._('MOD_SLIDESHOWCK_NEWWINDOW', 'new window') + '</option><option value="lightbox">' + Joomla.JText._('MOD_SLIDESHOWCK_LIGHTBOX', 'in a Lightbox') + '</option>'; } } if (!slideselect) { slideselect = ''; slideselectoption = '<option value="image" selected="selected">' + Joomla.JText._('MOD_SLIDESHOWCK_IMAGE', 'Image') + '</option><option value="video">' + Joomla.JText._('MOD_SLIDESHOWCK_VIDEO', 'Video') + '</option>'; } else { if (slideselect == 'image') { slideselectoption = '<option value="image" selected="selected">' + Joomla.JText._('MOD_SLIDESHOWCK_IMAGE', 'Image') + '</option><option value="video">' + Joomla.JText._('MOD_SLIDESHOWCK_VIDEO', 'Video') + '</option>'; } else { slideselectoption = '<option value="image">' + Joomla.JText._('MOD_SLIDESHOWCK_IMAGE', 'Image') + '</option><option value="video" selected="selected">' + Joomla.JText._('MOD_SLIDESHOWCK_VIDEO', 'Video') + '</option>'; } } if (!imgalignment) { imgalignment = ''; imgdataalignmentoption = '<option value="default" selected="selected">Default</option>' + '<option value="topLeft">' + Joomla.JText._('MOD_SLIDESHOWCK_TOPLEFT', 'top left') + '</option>' + '<option value="topCenter">' + Joomla.JText._('MOD_SLIDESHOWCK_TOPCENTER', 'top center') + '</option>' + '<option value="topRight">' + Joomla.JText._('MOD_SLIDESHOWCK_TOPRIGHT', 'top right') + '</option>' + '<option value="centerLeft">' + Joomla.JText._('MOD_SLIDESHOWCK_MIDDLELEFT', 'center left') + '</option>' + '<option value="center">' + Joomla.JText._('MOD_SLIDESHOWCK_CENTER', 'center') + '</option>' + '<option value="centerRight">' + Joomla.JText._('MOD_SLIDESHOWCK_MIDDLERIGHT', 'center right') + '</option>' + '<option value="bottomLeft">' + Joomla.JText._('MOD_SLIDESHOWCK_BOTTOMLEFT', 'bottom left') + '</option>' + '<option value="bottomCenter">' + Joomla.JText._('MOD_SLIDESHOWCK_BOTTOMCENTER', 'bottom center') + '</option>' + '<option value="bottomRight">' + Joomla.JText._('MOD_SLIDESHOWCK_BOTTOMRIGHT', 'bottom right') + '</option>'; } else { if (imgalignment == 'topLeft') { imgdataalignmentoption = '<option value="default">Default</option>' + '<option value="topLeft" selected="selected">' + Joomla.JText._('MOD_SLIDESHOWCK_TOPLEFT', 'top left') + '</option>' + '<option value="topCenter">' + Joomla.JText._('MOD_SLIDESHOWCK_TOPCENTER', 'top center') + '</option>' + '<option value="topRight">' + Joomla.JText._('MOD_SLIDESHOWCK_TOPRIGHT', 'top right') + '</option>' + '<option value="centerLeft">' + Joomla.JText._('MOD_SLIDESHOWCK_MIDDLELEFT', 'center left') + '</option>' + '<option value="center">' + Joomla.JText._('MOD_SLIDESHOWCK_CENTER', 'center') + '</option>' + '<option value="centerRight">' + Joomla.JText._('MOD_SLIDESHOWCK_MIDDLERIGHT', 'center right') + '</option>' + '<option value="bottomLeft">' + Joomla.JText._('MOD_SLIDESHOWCK_BOTTOMLEFT', 'bottom left') + '</option>' + '<option value="bottomCenter">' + Joomla.JText._('MOD_SLIDESHOWCK_BOTTOMCENTER', 'bottom center') + '</option>' + '<option value="bottomRight">' + Joomla.JText._('MOD_SLIDESHOWCK_BOTTOMRIGHT', 'bottom right') + '</option>'; } else if (imgalignment == 'topCenter') { imgdataalignmentoption = '<option value="default">Default</option>' + '<option value="topLeft">' + Joomla.JText._('MOD_SLIDESHOWCK_TOPLEFT', 'top left') + '</option>' + '<option value="topCenter" selected="selected">' + Joomla.JText._('MOD_SLIDESHOWCK_TOPCENTER', 'top center') + '</option>' + '<option value="topRight">' + Joomla.JText._('MOD_SLIDESHOWCK_TOPRIGHT', 'top right') + '</option>' + '<option value="centerLeft">' + Joomla.JText._('MOD_SLIDESHOWCK_MIDDLELEFT', 'center left') + '</option>' + '<option value="center">' + Joomla.JText._('MOD_SLIDESHOWCK_CENTER', 'center') + '</option>' + '<option value="centerRight">' + Joomla.JText._('MOD_SLIDESHOWCK_MIDDLERIGHT', 'center right') + '</option>' + '<option value="bottomLeft">' + Joomla.JText._('MOD_SLIDESHOWCK_BOTTOMLEFT', 'bottom left') + '</option>' + '<option value="bottomCenter">' + Joomla.JText._('MOD_SLIDESHOWCK_BOTTOMCENTER', 'bottom center') + '</option>' + '<option value="bottomRight">' + Joomla.JText._('MOD_SLIDESHOWCK_BOTTOMRIGHT', 'bottom right') + '</option>'; } else if (imgalignment == 'topRight') { imgdataalignmentoption = '<option value="default">Default</option>' + '<option value="topLeft">' + Joomla.JText._('MOD_SLIDESHOWCK_TOPLEFT', 'top left') + '</option>' + '<option value="topCenter">' + Joomla.JText._('MOD_SLIDESHOWCK_TOPCENTER', 'top center') + '</option>' + '<option value="topRight" selected="selected">' + Joomla.JText._('MOD_SLIDESHOWCK_TOPRIGHT', 'top right') + '</option>' + '<option value="centerLeft">' + Joomla.JText._('MOD_SLIDESHOWCK_MIDDLELEFT', 'center left') + '</option>' + '<option value="center">' + Joomla.JText._('MOD_SLIDESHOWCK_CENTER', 'center') + '</option>' + '<option value="centerRight">' + Joomla.JText._('MOD_SLIDESHOWCK_MIDDLERIGHT', 'center right') + '</option>' + '<option value="bottomLeft">' + Joomla.JText._('MOD_SLIDESHOWCK_BOTTOMLEFT', 'bottom left') + '</option>' + '<option value="bottomCenter">' + Joomla.JText._('MOD_SLIDESHOWCK_BOTTOMCENTER', 'bottom center') + '</option>' + '<option value="bottomRight">' + Joomla.JText._('MOD_SLIDESHOWCK_BOTTOMRIGHT', 'bottom right') + '</option>'; } else if (imgalignment == 'centerLeft') { imgdataalignmentoption = '<option value="default">Default</option>' + '<option value="topLeft">' + Joomla.JText._('MOD_SLIDESHOWCK_TOPLEFT', 'top left') + '</option>' + '<option value="topCenter">' + Joomla.JText._('MOD_SLIDESHOWCK_TOPCENTER', 'top center') + '</option>' + '<option value="topRight">' + Joomla.JText._('MOD_SLIDESHOWCK_TOPRIGHT', 'top right') + '</option>' + '<option value="centerLeft" selected="selected">' + Joomla.JText._('MOD_SLIDESHOWCK_MIDDLELEFT', 'center left') + '</option>' + '<option value="center">' + Joomla.JText._('MOD_SLIDESHOWCK_CENTER', 'center') + '</option>' + '<option value="centerRight">' + Joomla.JText._('MOD_SLIDESHOWCK_MIDDLERIGHT', 'center right') + '</option>' + '<option value="bottomLeft">' + Joomla.JText._('MOD_SLIDESHOWCK_BOTTOMLEFT', 'bottom left') + '</option>' + '<option value="bottomCenter">' + Joomla.JText._('MOD_SLIDESHOWCK_BOTTOMCENTER', 'bottom center') + '</option>' + '<option value="bottomRight">' + Joomla.JText._('MOD_SLIDESHOWCK_BOTTOMRIGHT', 'bottom right') + '</option>'; } else if (imgalignment == 'center') { imgdataalignmentoption = '<option value="default">Default</option>' + '<option value="topLeft">' + Joomla.JText._('MOD_SLIDESHOWCK_TOPLEFT', 'top left') + '</option>' + '<option value="topCenter">' + Joomla.JText._('MOD_SLIDESHOWCK_TOPCENTER', 'top center') + '</option>' + '<option value="topRight">' + Joomla.JText._('MOD_SLIDESHOWCK_TOPRIGHT', 'top right') + '</option>' + '<option value="centerLeft">' + Joomla.JText._('MOD_SLIDESHOWCK_MIDDLELEFT', 'center left') + '</option>' + '<option value="center" selected="selected">' + Joomla.JText._('MOD_SLIDESHOWCK_CENTER', 'center') + '</option>' + '<option value="centerRight">' + Joomla.JText._('MOD_SLIDESHOWCK_MIDDLERIGHT', 'center right') + '</option>' + '<option value="bottomLeft">' + Joomla.JText._('MOD_SLIDESHOWCK_BOTTOMLEFT', 'bottom left') + '</option>' + '<option value="bottomCenter">' + Joomla.JText._('MOD_SLIDESHOWCK_BOTTOMCENTER', 'bottom center') + '</option>' + '<option value="bottomRight">' + Joomla.JText._('MOD_SLIDESHOWCK_BOTTOMRIGHT', 'bottom right') + '</option>'; } else if (imgalignment == 'centerRight') { imgdataalignmentoption = '<option value="default">Default</option>' + '<option value="topLeft">' + Joomla.JText._('MOD_SLIDESHOWCK_TOPLEFT', 'top left') + '</option>' + '<option value="topCenter">' + Joomla.JText._('MOD_SLIDESHOWCK_TOPCENTER', 'top center') + '</option>' + '<option value="topRight">' + Joomla.JText._('MOD_SLIDESHOWCK_TOPRIGHT', 'top right') + '</option>' + '<option value="centerLeft">' + Joomla.JText._('MOD_SLIDESHOWCK_MIDDLELEFT', 'center left') + '</option>' + '<option value="center">' + Joomla.JText._('MOD_SLIDESHOWCK_CENTER', 'center') + '</option>' + '<option value="centerRight" selected="selected">' + Joomla.JText._('MOD_SLIDESHOWCK_MIDDLERIGHT', 'center right') + '</option>' + '<option value="bottomLeft">' + Joomla.JText._('MOD_SLIDESHOWCK_BOTTOMLEFT', 'bottom left') + '</option>' + '<option value="bottomCenter">' + Joomla.JText._('MOD_SLIDESHOWCK_BOTTOMCENTER', 'bottom center') + '</option>' + '<option value="bottomRight">' + Joomla.JText._('MOD_SLIDESHOWCK_BOTTOMRIGHT', 'bottom right') + '</option>'; } else if (imgalignment == 'bottomLeft') { imgdataalignmentoption = '<option value="default">Default</option>' + '<option value="topLeft">' + Joomla.JText._('MOD_SLIDESHOWCK_TOPLEFT', 'top left') + '</option>' + '<option value="topCenter">' + Joomla.JText._('MOD_SLIDESHOWCK_TOPCENTER', 'top center') + '</option>' + '<option value="topRight">' + Joomla.JText._('MOD_SLIDESHOWCK_TOPRIGHT', 'top right') + '</option>' + '<option value="centerLeft">' + Joomla.JText._('MOD_SLIDESHOWCK_MIDDLELEFT', 'center left') + '</option>' + '<option value="center">' + Joomla.JText._('MOD_SLIDESHOWCK_CENTER', 'center') + '</option>' + '<option value="centerRight">' + Joomla.JText._('MOD_SLIDESHOWCK_MIDDLERIGHT', 'center right') + '</option>' + '<option value="bottomLeft" selected="selected">' + Joomla.JText._('MOD_SLIDESHOWCK_BOTTOMLEFT', 'bottom left') + '</option>' + '<option value="bottomCenter">' + Joomla.JText._('MOD_SLIDESHOWCK_BOTTOMCENTER', 'bottom center') + '</option>' + '<option value="bottomRight">' + Joomla.JText._('MOD_SLIDESHOWCK_BOTTOMRIGHT', 'bottom right') + '</option>'; } else if (imgalignment == 'bottomCenter') { imgdataalignmentoption = '<option value="default">Default</option>' + '<option value="topLeft">' + Joomla.JText._('MOD_SLIDESHOWCK_TOPLEFT', 'top left') + '</option>' + '<option value="topCenter">' + Joomla.JText._('MOD_SLIDESHOWCK_TOPCENTER', 'top center') + '</option>' + '<option value="topRight">' + Joomla.JText._('MOD_SLIDESHOWCK_TOPRIGHT', 'top right') + '</option>' + '<option value="centerLeft">' + Joomla.JText._('MOD_SLIDESHOWCK_MIDDLELEFT', 'center left') + '</option>' + '<option value="center">' + Joomla.JText._('MOD_SLIDESHOWCK_CENTER', 'center') + '</option>' + '<option value="centerRight">' + Joomla.JText._('MOD_SLIDESHOWCK_MIDDLERIGHT', 'center right') + '</option>' + '<option value="bottomLeft">' + Joomla.JText._('MOD_SLIDESHOWCK_BOTTOMLEFT', 'bottom left') + '</option>' + '<option value="bottomCenter" selected="selected">' + Joomla.JText._('MOD_SLIDESHOWCK_BOTTOMCENTER', 'bottom center') + '</option>' + '<option value="bottomRight">' + Joomla.JText._('MOD_SLIDESHOWCK_BOTTOMRIGHT', 'bottom right') + '</option>'; } else if (imgalignment == 'bottomRight') { imgdataalignmentoption = '<option value="default">Default</option>' + '<option value="topLeft">' + Joomla.JText._('MOD_SLIDESHOWCK_TOPLEFT', 'top left') + '</option>' + '<option value="topCenter">' + Joomla.JText._('MOD_SLIDESHOWCK_TOPCENTER', 'top center') + '</option>' + '<option value="topRight">' + Joomla.JText._('MOD_SLIDESHOWCK_TOPRIGHT', 'top right') + '</option>' + '<option value="centerLeft">' + Joomla.JText._('MOD_SLIDESHOWCK_MIDDLELEFT', 'center left') + '</option>' + '<option value="center">' + Joomla.JText._('MOD_SLIDESHOWCK_CENTER', 'center') + '</option>' + '<option value="centerRight">' + Joomla.JText._('MOD_SLIDESHOWCK_MIDDLERIGHT', 'center right') + '</option>' + '<option value="bottomLeft">' + Joomla.JText._('MOD_SLIDESHOWCK_BOTTOMLEFT', 'bottom left') + '</option>' + '<option value="bottomCenter">' + Joomla.JText._('MOD_SLIDESHOWCK_BOTTOMCENTER', 'bottom center') + '</option>' + '<option value="bottomRight" selected="selected">' + Joomla.JText._('MOD_SLIDESHOWCK_BOTTOMRIGHT', 'bottom right') + '</option>'; } else { imgdataalignmentoption = '<option value="default" selected="selected">Default</option>' + '<option value="topLeft">' + Joomla.JText._('MOD_SLIDESHOWCK_TOPLEFT', 'top left') + '</option>' + '<option value="topCenter">' + Joomla.JText._('MOD_SLIDESHOWCK_TOPCENTER', 'top center') + '</option>' + '<option value="topRight">' + Joomla.JText._('MOD_SLIDESHOWCK_TOPRIGHT', 'top right') + '</option>' + '<option value="centerLeft">' + Joomla.JText._('MOD_SLIDESHOWCK_MIDDLELEFT', 'center left') + '</option>' + '<option value="center">' + Joomla.JText._('MOD_SLIDESHOWCK_CENTER', 'center') + '</option>' + '<option value="centerRight">' + Joomla.JText._('MOD_SLIDESHOWCK_MIDDLERIGHT', 'center right') + '</option>' + '<option value="bottomLeft">' + Joomla.JText._('MOD_SLIDESHOWCK_BOTTOMLEFT', 'bottom left') + '</option>' + '<option value="bottomCenter">' + Joomla.JText._('MOD_SLIDESHOWCK_BOTTOMCENTER', 'bottom center') + '</option>' + '<option value="bottomRight">' + Joomla.JText._('MOD_SLIDESHOWCK_BOTTOMRIGHT', 'bottom right') + '</option>'; } } if (!state || state == '1') { state = '1'; statetxt = 'ON'; } else { state = '0'; statetxt = 'OFF'; } index = checkIndex(0); var ckslide = jQuery('<li class="ckslide" id="ckslide' + index + '" />'); ckslide.html('<div class="ckslidehandle"><div class="ckslidenumber">' + index + '</div></div>' +'<div class="ckslidetoggle" data-state="' + state + '"><div class="ckslidetoggler">' + statetxt + '</div></div>' +'<div class="ckslidecontainer">' + '<input name="ckslidedelete' + index + '" class="ckslidedelete" type="button" value="' + Joomla.JText._('MOD_SLIDESHOWCK_REMOVE2', '') + '" onclick="javascript:removeslide(this.getParent().getParent());" />' + '<div class="cksliderow"><div class="ckslideimgcontainer"><img src="' + imgthumb + '" width="64" height="64"/></div>' + '<input name="ckslideimgname' + index + '" id="ckslideimgname' + index + '" class="ckslideimgname hasTip hasTooltip" title="Image::This is the main image for the slide, it will also be used to create the thumbnail" type="text" value="' + imgname + '" onchange="javascript:addthumbnail(this.value, this);" />' + '<a class="modal ckselectimg" href="' + JURIBASE + 'index.php?option=com_media&view=images&tmpl=component&e_name=ckslideimgname' + index + '&asset=com_config" rel="{handler: \'iframe\', size: {x: 800, y: 500}}" >' + Joomla.JText._('MOD_SLIDESHOWCK_SELECTIMAGE', 'select image') + '</a></div>' + '<div class="cksliderow2">' // + '<span class="ckslidelabel">' + Joomla.JText._('MOD_SLIDESHOWCK_USETOSHOW', 'Display') + '</span><select class="ckslideselect">' + slideselectoption + '</select>' + '<span><img src="' + JURI + '/modules/mod_slideshowck/elements/images/hourglass.png" style="float: none; padding-top: 5px;" align="top" class="hasTip hasTooltip" title="' + Joomla.JText._('MOD_SLIDESHOWCK_SLIDETIME', 'enter a specific time value for this slide, else it will be the default time') + '"/><input name="ckslideimgtime' + index + '" class="ckslideimgtime" type="text" value="' + imgtime + '" onchange="javascript:storesetwarning();" style="width:25px;" /></span><span>ms</span>' + '</div>' + '<div class="cksliderow"><span class="ckslidelabel">' + Joomla.JText._('MOD_SLIDESHOWCK_TITLE', 'Title') + '</span><input name="ckslidetitletext' + index + '" class="ckslidetitletext" type="text" value="' + imgtitle + '" onchange="javascript:storesetwarning();" /></div>' + '<div class="cksliderow"><span class="ckslidelabel">' + Joomla.JText._('MOD_SLIDESHOWCK_CAPTION', 'Caption') + '</span><input name="ckslidecaptiontext' + index + '" class="ckslidecaptiontext" type="text" value="' + imgcaption + '" onchange="javascript:storesetwarning();" /></div>' + '<div class="cksliderow"><div id="ckslideaccordion' + index + '">' + '<span class="ckslideaccordeonbutton">' + Joomla.JText._('MOD_SLIDESHOWCK_IMAGEOPTIONS', 'Image options') + '</span>' + '<span class="ckslideaccordeonbutton">' + Joomla.JText._('MOD_SLIDESHOWCK_LINKOPTIONS', 'Link options') + '</span>' + '<span class="ckslideaccordeonbutton">' + Joomla.JText._('MOD_SLIDESHOWCK_VIDEOOPTIONS', 'Video options') + '</span>' + '<span class="ckslideaccordeonbutton">' + Joomla.JText._('MOD_SLIDESHOWCK_ARTICLEOPTIONS', 'Article options') + '</span>' + '<span class="ckslideaccordeonbutton">' + Joomla.JText._('MOD_SLIDESHOWCK_DATESOPTIONS', 'Dates') + '</span>' + '<div style="clear:both;"></div>' + '<div class="ckslideaccordeoncontent">' + '<div class="cksliderow"><span class="ckslidelabel">' + Joomla.JText._('MOD_SLIDESHOWCK_ALIGNEMENT_LABEL', 'Image alignment') + '</span><select name="ckslidedataalignmenttext' + index + '" class="ckslidedataalignmenttext" >' + imgdataalignmentoption + '</select></div>' + '</div>' + '<div class="ckslideaccordeoncontent">' + '<div class="cksliderow"><span class="ckslidelabel">' + Joomla.JText._('MOD_SLIDESHOWCK_LINK', 'Link url') + '</span><input name="ckslidelinktext' + index + '" class="ckslidelinktext" type="text" value="' + imglink + '" onchange="javascript:storesetwarning();" /></div>' + '<div class="cksliderow"><span class="ckslidelabel">' + Joomla.JText._('MOD_SLIDESHOWCK_TARGET', 'Target') + '</span><select name="ckslidetargettext' + index + '" class="ckslidetargettext" >' + imgtargetoption + '</select></div>' + '</div>' + '<div class="ckslideaccordeoncontent">' + '<div class="cksliderow"><span class="ckslidelabel">' + Joomla.JText._('MOD_SLIDESHOWCK_VIDEOURL', 'Video url') + '</span><input name="ckslidevideotext' + index + '" class="ckslidevideotext" type="text" value="' + imgvideo + '" onchange="javascript:storesetwarning();" /></div>' + '</div>' + '<div class="ckslideaccordeoncontent">' + '<div class="cksliderow" id="cksliderowarticle' + index + '"><span class="ckslidelabel">' + Joomla.JText._('MOD_SLIDESHOWCK_ARTICLE_ID', 'Article ID') + '</span><input name="ckslidearticleid' + index + '" class="ckslidearticleid input-medium" id="ckslidearticleid' + index + '" style="width:20px" type="text" value="' + articleid + '" disabled="disabled" onchange="javascript:storesetwarning();" /><input name="ckslidearticlename' + index + '" class="ckslidearticlename input-medium" id="ckslidearticlename' + index + '" type="text" value="' + articlename + '" disabled="disabled" /><a id="ckslidearticlebuttonSelect" class="modal btn" href="index.php?option=com_content&layout=modal&view=articles&tmpl=component&function=jSelectArticle_ckslidearticleid' + index + '" rel="{handler: \'iframe\', size: {x: 800, y: 450}}" style="display:inline-block;margin:0 5px 0 5px;">' + Joomla.JText._('MOD_SLIDESHOWCK_SELECT', 'Select') + '</a><a class="btn" href="javascript:void(0)" onclick="document.getElementById(\'ckslidearticleid' + index + '\').value=\'\';document.getElementById(\'ckslidearticlename' + index + '\').value=\'\';">' + Joomla.JText._('MOD_SLIDESHOWCK_CLEAR', 'Clear') + '</a>' +(articleid != '' ? '<a id="ckslidearticlebuttonSelect" class="modal btn" href="index.php?option=com_content&layout=modal&tmpl=component&task=article.edit&id='+articleid+'" rel="{handler: \'iframe\', size: {x: 800, y: 450}}">'+Joomla.JText._('MOD_SLIDESHOWCK_EDIT', 'Edit')+'</a>' : '') +'</div>' + '</div>' + '<div class="ckslideaccordeoncontent">' + '<div class="cksliderow"><span class="ckslidelabel">' + Joomla.JText._('MOD_SLIDESHOWCK_STARTDATE', 'Start date') + '</span><input name="ckslidestartdate' + index + '" class="ckslidestartdate ckdatepicker" type="text" value="' + imgstartdate + '" /></div>' + '<div class="cksliderow"><span class="ckslidelabel">' + Joomla.JText._('MOD_SLIDESHOWCK_ENDDATE', 'End date') + '</span><input name="ckslideenddate' + index + '" class="ckslideenddate ckdatepicker" type="text" value="' + imgenddate + '" /></div>' + '</div>' + '</div></div>' + '</div><div style="clear:both;"></div>'); 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;" + "SqueezeBox.close();" + "}"; document.body.appendChild(script); storeslideck(); makesortables(); SqueezeBox.initialize({}); SqueezeBox.assign(jQuery('#ckslide' + index + ' a.modal'), { parse: 'rel' }); create_tabs_in_slide(jQuery('#ckslide' + index)); 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 create_tabs_in_slide(slide) { jQuery('.ckslideaccordeoncontent', slide).hide(); jQuery('.ckslideaccordeonbutton', slide).each( function(i, button) { this.tab = jQuery('.ckslideaccordeoncontent', slide).eq(i); jQuery(button).click(function(){ if (jQuery(this).hasClass('open')) { // if is opened jQuery(this).removeClass('open'); jQuery('.ckslideaccordeoncontent', slide).hide(); } else { // if is closed jQuery('.ckslideaccordeonbutton', slide).removeClass('open'); jQuery(this).addClass('open'); jQuery('.ckslideaccordeoncontent', slide).hide(); this.tab.fadeIn(); } }); }); } function checkIndex(i) { while (jQuery('#ckslide' + i).length) i++; return i; } function removeslide(slide) { if (confirm(Joomla.JText._('MOD_SLIDESHOWCK_REMOVE', 'Remove this slide') + ' ?')) { jQuery(slide).remove(); storeslideck(); } } function storesetwarning() { // $('ckstoreslide').setStyle('background-color', 'red'); } function storeremovewarning() { // $('ckstoreslide').setStyle('background-color', 'white'); } function storeslideck() { 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['imgalignment'] = el.find('.ckslidedataalignmenttext').val(); slide['imgvideo'] = el.find('.ckslidevideotext').val(); // slide['slideselect'] = el.find('.ckslideselect').val(); slide['slidearticleid'] = el.find('.ckslidearticleid').val(); slide['slidearticlename'] = el.find('.ckslidearticlename').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(); slides[i] = slide; i++; }); slides = JSON.stringify(slides); slides = slides.replace(/"/g, "|qq|"); jQuery('#ckslides').val(slides); } function callslides() { var slides = jQuery.parseJSON(jQuery('#ckslides').val().replace(/\|qq\|/g, "\"")); if (slides.length) { jQuery(slides).each(function(i, slide) { addslideck(slide['imgname'], slide['imgcaption'], slide['imgthumb'], slide['imglink'], slide['imgtarget'], slide['imgvideo'], slide['slideselect'], slide['imgalignment'], slide['slidearticleid'], slide['imgtime'], slide['slidearticlename'], slide['imgtitle'], slide['state'], slide['startdate'], slide['enddate'] ); }); } } function makesortables() { jQuery("#ckslideslist").sortable({ placeholder: "ui-state-highlight", handle: ".ckslidehandle", items: ".ckslide", axis: "y", forcePlaceholderSize: true, forceHelperSize: true, dropOnEmpty: true, tolerance: "pointer", placeholder: "placeholder", zIndex: 9999, update: function(event, ui) { renumber_slides(); }, sort: function(event, ui) { jQuery(ui.placeholder).height(jQuery(ui.helper).height()); } }); } function renumber_slides() { var index = 0; jQuery('.ckslide').each(function(i, slide) { jQuery('.ckslidenumber', jQuery(slide)).html(i); index++; }); } jQuery(document).ready(function() { callslides(); var script = document.createElement("script"); script.setAttribute('type', 'text/javascript'); script.text = "Joomla.submitbutton = function(task){" + "storeslideck();" + "var form = document.getElementById('modules-form') || document.getElementById('module-form');" + "if (task == 'module.cancel' || task == 'config.cancel.modules' || document.formvalidator.isValid(form)) { Joomla.submitform(task, form);" + "if (self != top) {" + "window.top.setTimeout('window.parent.SqueezeBox.close()', 1000);" + "}" + "} else {" + "alert('Formulaire invalide');" + "}}"; document.body.appendChild(script); // jQuery( "#datepicker" ).datepicker( // { // "dateFormat": "d MM yy" // } // ); }); 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<