<commit_before><!-- see section "Template-API" of module manual for a list of available placeholders -->

<!-- available placeholders: image, title, description -->
<imagelightbox>

<script type="text/javascript">
    if (YAHOO.lang.isUndefined(arrViewers)) {
        var arrViewers = new Array();

        //add viewer: all images with class "photoViewer" in the div with the id "contentContainer"
        arrViewers.push("contentContainer");

        YAHOO.util.Event.onDOMReady(function () {
            YAHOO.namespace("YAHOO.photoViewer");
            YAHOO.photoViewer.config = { viewers: {} };

            //init all viewers
            for (var i=0; i<arrViewers.length; i++) {
                YAHOO.photoViewer.config.viewers[arrViewers[i]] = {
                    properties: {
                        id: arrViewers[i],
                        grow: 0.2,
                        fade: 0.2,
                        modal: true,
                        dragable: false,
                        fixedcenter: true,
                        loadFrom: "html",
                        position: "absolute",
                        buttonText: {
                            next: " ",
                            prev: " ",
                            close: "X"
                        },
                        /* remove/rename the slideShow property to disable slideshow feature */
                        slideShow: {
                            autoStart: false,
                            duration: 3500,
                            controlsText: {
                                play: " ",
                                pause: " ",
                                stop: " ",
                                display: "{0}/{1}"
                            }
                        }
                    }
                };
            }
        });

        KAJONA.portal.loader.load(
            ["dragdrop", "animation", "container"],
            [KAJONA_WEBPATH+"/portal/scripts/photoviewer/build/photoviewer_base.js",
             KAJONA_WEBPATH+"/portal/scripts/photoviewer/assets/skins/kajona/kajona.css"]
        );
    }
</script>

<div class="imagelightbox">
    <a href="_webpath_/image.php?image=%%image%%&maxWidth=800&maxHeight=800" class="photoViewer" title="%%title%%">
		<img src="_webpath_/image.php?image=%%image%%&maxWidth=200&maxHeight=200" alt="%%description%%" />
    </a>
</div>

</imagelightbox><commit_msg>little fixes in new imagelightbox.tpl<commit_after><!-- see section "Template-API" of module manual for a list of available placeholders -->

<!-- available placeholders: image, title, description -->
<imagelightbox>
	<script type="text/javascript">
	    if (YAHOO.lang.isUndefined(arrViewers)) {
	        var arrViewers = new Array();
	
	        //add viewer: all images with class "photoViewer" in the div with the id "contentContainer"
	        arrViewers.push("contentContainer");
	
	        YAHOO.util.Event.onDOMReady(function () {
	            YAHOO.namespace("YAHOO.photoViewer");
	            YAHOO.photoViewer.config = { viewers: {} };
	
	            //init all viewers
	            for (var i=0; i<arrViewers.length; i++) {
	                YAHOO.photoViewer.config.viewers[arrViewers[i]] = {
	                    properties: {
	                        id: arrViewers[i],
	                        grow: 0.2,
	                        fade: 0.2,
	                        modal: true,
	                        dragable: false,
	                        fixedcenter: true,
	                        loadFrom: "html",
	                        position: "absolute",
	                        buttonText: {
	                            next: " ",
	                            prev: " ",
	                            close: "X"
	                        },
	                        /* remove/rename the slideShow property to disable slideshow feature */
	                        slideShow: {
	                            autoStart: false,
	                            duration: 3500,
	                            controlsText: {
	                                play: " ",
	                                pause: " ",
	                                stop: " ",
	                                display: "{0}/{1}"
	                            }
	                        }
	                    }
	                };
	            }
	        });
	
	        KAJONA.portal.loader.load(
	            ["dragdrop", "animation", "container"],
	            [KAJONA_WEBPATH+"/portal/scripts/photoviewer/build/photoviewer_base.js",
	             KAJONA_WEBPATH+"/portal/scripts/photoviewer/assets/skins/kajona/kajona.css"]
	        );
	    }
	</script>
	
	<div class="imagelightbox">
	    <a href="_webpath_/image.php?image=%%image%%&amp;maxWidth=800&amp;maxHeight=800" class="photoViewer" title="%%title%%">
			<img src="_webpath_/image.php?image=%%image%%&amp;maxWidth=200&amp;maxHeight=200" alt="%%description%%" />
	    </a>
	</div>
</imagelightbox>
{'fraction_non_alphanumeric': 0.11815446339017051, 'fraction_numerical': 0.009227683049147442, 'mean_word_length': 1.203269995581087, 'pattern_counts': {'":': 0, '<': 27, '<?xml version=': 0, '>': 25, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5045433', 'n_tokens_mistral': 1428, 'n_tokens_neox': 1272, 'n_words': 233}