Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <script type="text/javascript" n:syntax="double">
- $(document).ready(function() {
- $("a[rel^='prettyPhoto']").prettyPhoto({
- social_tools: false
- });
- $('#file_upload').uploadify({
- swf: '/admin-files/js/uploadify.swf',
- uploader: {{link uploadPhotos $place->place_id}},
- auto: true,
- buttonText: 'Vybrat soubory',
- height: 25,
- fileTypeDesc: 'Obrázky',
- fileTypeExts: '*.gif; *.jpg; *.png',
- fileSizeLimit: '8MB',
- onUploadSuccess: function(file, data, response) {
- if (!$('#nahrane-soubory').is(':visible')) {
- $('#nahrane-soubory').css('display', 'block');
- }
- $('#nahrane-soubory').append(file.name + '<br>');
- },
- onQueueComplete: function() {
- alert('Všechny soubory byly nahrány. Pokud je chcete zobrazit, aktualizujte prosím stránku.');
- }
- });
- });
- function editReview(item) {
- }
- function deleteReview(reviewId) {
- if (confirm('Opravdu chcete smazat tento příspěvek?')) {
- location.href={{link deleteReviews!}} + "&reviewId=" + reviewId;
- }
- }
- </script>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement