HomePage Forums Traveler What this codes in homepage source code?

This topic contains 1 reply, has 2 voices, and was last updated by  Bryan 3 years, 8 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #3271
            <div class="demo_changer" id="demo_changer">
        <div class="demo-icon setting">
            <i class="fa-spin fa fa-cog"></i>
            <span class="hover"><span>Quick Options</span></span>
        </div>
        <a href="http://shinetheme.com/documentation/traveler/" class="demo-icon doc" target="_blank">
            <i class="fa fa-book"></i>
            <span class="hover"><span>Documentation</span></span>
        </a>
        <a href="https://www.youtube.com/watch?v=hghfObbp-v0&list=PLKwVkOFkT-MYozhDeR8PKarhL7To_9npN" class="demo-icon video" target="_blank">
            <i class="fa fa-video-camera"></i>
            <span class="hover"><span>Video Tutorials</span></span>
        </a>
        <a href="https://themeforest.net/item/traveler-traveltourbooking-wordpress-theme/10822683" class="demo-icon buy" target="_blank">
            <i class="fa fa-download"></i>
            <span class="hover"><span>Purchase Now</span></span>
        </a>
        <div class="form_holder">
            <div class="purchase">
                <a class="demo-buy-now" href="https://themeforest.net/item/traveler-traveltourbooking-wordpress-theme/10822683" target="_blank">Purchase Now</a>
            </div>
            <div class="line"></div>
            <p class="title">Color Scheme</p>
            <div class="predefined_styles" id="styleswitch_area">
                <a class="styleswitch" href="#" style="background:#ED8323;"></a>
                <a class="styleswitch" href="#" data-src="bright-turquoise" style="background:#0EBCF2;"></a>
                <a class="styleswitch" href="#" data-src="turkish-rose" style="background:#B66672;"></a>
                <a class="styleswitch" href="#" data-src="salem" style="background:#12A641;"></a>
                <a class="styleswitch" href="#" data-src="hippie-blue" style="background:#4F96B6;"></a>
                <a class="styleswitch" href="#" data-src="mandy" style="background:#E45E66;"></a>
                <a class="styleswitch" href="#" data-src="green-smoke" style="background:#96AA66;"></a>
                <a class="styleswitch" href="#" data-src="horizon" style="background:#5B84AA;"></a>
                <a class="styleswitch" href="#" data-src="cerise" style="background:#CA2AC6;"></a>
                <a class="styleswitch" href="#" data-src="brick-red" style="background:#cf315a;"></a>
                <a class="styleswitch" href="#" data-src="de-york" style="background:#74C683;"></a>
                <a class="styleswitch" href="#" data-src="shamrock" style="background:#30BBB1;"></a>
                <a class="styleswitch" href="#" data-src="studio" style="background:#7646B8;"></a>
                <a class="styleswitch" href="#" data-src="leather" style="background:#966650;"></a>
                <a class="styleswitch" href="#" data-src="denim" style="background:#3366cc;"></a>
                <a class="styleswitch" href="#" data-src="scarlet" style="background:#FF1D13;"></a>
            </div>
            <div class="line"></div>
            <p class="title">Homepages Demo</p>
            <div class="home_demo">
                <div class="demo-row">
                                <div class="item">
                        <a href="http://travelerwp.com/travelpayouts-whitelabel/">
                            <img width="400" height="256" src="http://www.rentalkalkan.com/rentalkalkan/demo/img/home/travelpayout.jpg" alt="TravelPayouts API">
                            <span class="name">TravelPayouts API</span>
                        </a>
                    </div>
                                <div class="item">
                        <a href="http://travelerwp.com/hotel-full-map/">
                            <img width="400" height="256" src="http://www.rentalkalkan.com/rentalkalkan/demo/img/home/hotel-full-map.jpg" alt="List Hotels - Full Map">
                            <span class="name">List Hotels - Full Map</span>
                        </a>
                    </div>
                                <div class="item">
                        <a href="http://travelerwp.com/cars-full-map/">
                            <img width="400" height="256" src="http://www.rentalkalkan.com/rentalkalkan/demo/img/home/cars-full-map.jpg" alt="List Cars - Full Map">
                            <span class="name">List Cars - Full Map</span>
                        </a>
                    </div>
                                <div class="item">
                        <a href="http://travelerwp.com/rental-full-map/">
                            <img width="400" height="256" src="http://www.rentalkalkan.com/rentalkalkan/demo/img/home/rental-full-map.jpg" alt="List Rentals - Full Map">
                            <span class="name">List Rentals - Full Map</span>
                        </a>
                    </div>
                                <div class="item">
                        <a href="http://travelerwp.com/tours-full-map/">
                            <img width="400" height="256" src="http://www.rentalkalkan.com/rentalkalkan/demo/img/home/tour-full-map.jpg" alt="List Tours - Full Map">
                            <span class="name">List Tours - Full Map</span>
                        </a>
                    </div>
                                <div class="item">
                        <a href="http://travelerwp.com/activity-full-map/">
                            <img width="400" height="256" src="http://www.rentalkalkan.com/rentalkalkan/demo/img/home/activity-full-map.jpg" alt="List Activities - Full Map">
                            <span class="name">List Activities - Full Map</span>
                        </a>
                    </div>
                                <div class="item">
                        <a href="http://travelerwp.com/?page_id=289">
                            <img width="400" height="256" src="http://www.rentalkalkan.com/rentalkalkan/demo/img/home/default-home.jpg" alt="Default Layout">
                            <span class="name">Default Layout</span>
                        </a>
                    </div>
                                <div class="item">
                        <a href="http://travelerwp.com/?page_id=309">
                            <img width="400" height="256" src="http://www.rentalkalkan.com/rentalkalkan/demo/img/home/video-background.jpg" alt="Video Background">
                            <span class="name">Video Background</span>
                        </a>
                    </div>
                                <div class="item">
                        <a href="http://travelerwp.com/?page_id=453">
                            <img width="400" height="256" src="http://www.rentalkalkan.com/rentalkalkan/demo/img/home/word-rotator.jpg" alt="Word Rotator">
                            <span class="name">Word Rotator</span>
                        </a>
                    </div>
                                <div class="item">
                        <a href="http://travelerwp.com/?page_id=310">
                            <img width="400" height="256" src="http://www.rentalkalkan.com/rentalkalkan/demo/img/home/weather-slider.jpg" alt="Hero Slider Width Weather Widget">
                            <span class="name">Hero Slider Width Weather Widget</span>
                        </a>
                    </div>
                                <div class="item">
                        <a href="http://travelerwp.com/?page_id=333">
                            <img width="400" height="256" src="http://www.rentalkalkan.com/rentalkalkan/demo/img/home/search-on-slider.jpg" alt="Blured Slider + Weather Widget">
                            <span class="name">Blured Slider + Weather Widget</span>
                        </a>
                    </div>
                                <div class="item">
                        <a href="http://travelerwp.com/?page_id=416">
                            <img width="400" height="256" src="http://www.rentalkalkan.com/rentalkalkan/demo/img/home/grid-images.jpg" alt="Grid Images">
                            <span class="name">Grid Images</span>
                        </a>
                    </div>
                                <div class="item">
                        <a href="http://travelerwp.com/?page_id=389">
                            <img width="400" height="256" src="http://www.rentalkalkan.com/rentalkalkan/demo/img/home/testimonial-rotator.jpg" alt="Testimonials Rotator">
                            <span class="name">Testimonials Rotator</span>
                        </a>
                    </div>
                                <div class="item">
                        <a href="http://travelerwp.com/?page_id=426">
                            <img width="400" height="256" src="http://www.rentalkalkan.com/rentalkalkan/demo/img/home/hero-slider.jpg" alt="Hero Slider">
                            <span class="name">Hero Slider</span>
                        </a>
                    </div>
                                <div class="item">
                        <a href="http://travelerwp.com/home-location-list/">
                            <img width="400" height="256" src="http://www.rentalkalkan.com/rentalkalkan/demo/img/home/location-list.jpg" alt="Location List">
                            <span class="name">Location List</span>
                        </a>
                    </div>
                                <div class="item">
                        <a href="#">
                            <img width="400" height="256" src="http://www.rentalkalkan.com/rentalkalkan/demo/img/home/coming.jpg" alt="Coming soon">
                            <span class="name">Coming soon</span>
                        </a>
                    </div>
                            </div>
            </div>
        </div>
    </div><script type="text/javascript">(function() {function addEventListener(element,event,handler) {
    	if(element.addEventListener) {
    		element.addEventListener(event,handler, false);
    	} else if(element.attachEvent){
    		element.attachEvent('on'+event,handler);
    	}
    }function maybePrefixUrlField() {
    	if(this.value.trim() !== '' && this.value.indexOf('http') !== 0) {
    		this.value = "http://" + this.value;
    	}
    }
    
    var urlFields = document.querySelectorAll('.mc4wp-form input[type="url"]');
    if( urlFields && urlFields.length > 0 ) {
    	for( var j=0; j < urlFields.length; j++ ) {
    		addEventListener(urlFields[j],'blur',maybePrefixUrlField);
    	}
    }/* test if browser supports date fields */
    var testInput = document.createElement('input');
    testInput.setAttribute('type', 'date');
    if( testInput.type !== 'date') {
    
    	/* add placeholder & pattern to all date fields */
    	var dateFields = document.querySelectorAll('.mc4wp-form input[type="date"]');
    	for(var i=0; i<dateFields.length; i++) {
    		if(!dateFields[i].placeholder) {
    			dateFields[i].placeholder = 'YYYY-MM-DD';
    		}
    		if(!dateFields[i].pattern) {
    			dateFields[i].pattern = '[0-9]{4}-(0[1-9]|1[012])-(0[1-9]|1[0-9]|2[0-9]|3[01])';
    		}
    	}
    }
    
    })();</script>	<!--[if lte IE 8]>
    	<style>
    		.attachment:focus {
    			outline: #1e8cbe solid;
    		}
    		.selected.attachment {
    			outline: #1e8cbe solid;
    		}
    	</style>
    	<![endif]-->
    	<script type="text/html" id="tmpl-media-frame">
    		<div class="media-frame-menu"></div>
    		<div class="media-frame-title"></div>
    		<div class="media-frame-router"></div>
    		<div class="media-frame-content"></div>
    		<div class="media-frame-toolbar"></div>
    		<div class="media-frame-uploader"></div>
    	</script>
    
    	<script type="text/html" id="tmpl-media-modal">
    		<div class="media-modal wp-core-ui">
    			<button type="button" class="media-modal-close"><span class="media-modal-icon"><span class="screen-reader-text">Ortam panelini kapat</span></span></button>
    			<div class="media-modal-content"></div>
    		</div>
    		<div class="media-modal-backdrop"></div>
    	</script>
    
    	<script type="text/html" id="tmpl-uploader-window">
    		<div class="uploader-window-content">
    			<h1>Yüklemek için dosyaları sürükleyip bırakın</h1>
    		</div>
    	</script>
    
    	<script type="text/html" id="tmpl-uploader-editor">
    		<div class="uploader-editor-content">
    			<div class="uploader-editor-title">Yüklemek için dosyaları sürükleyip bırakın</div>
    		</div>
    	</script>
    
    	<script type="text/html" id="tmpl-uploader-inline">
    		<# var messageClass = data.message ? 'has-upload-message' : 'no-upload-message'; #>
    		<# if ( data.canClose ) { #>
    		<button class="close dashicons dashicons-no"><span class="screen-reader-text">Yükleyiciyi kapat</span></button>
    		<# } #>
    		<div class="uploader-inline-content {{ messageClass }}">
    		<# if ( data.message ) { #>
    			<h2 class="upload-message">{{ data.message }}</h2>
    		<# } #>
    					<div class="upload-ui">
    				<h2 class="upload-instructions drop-instructions">Yüklemek istediğiniz dosyaları herhangi bir yere sürükleyip bırakın</h2>
    				<p class="upload-instructions drop-instructions">ya da</p>
    				<button type="button" class="browser button button-hero">Dosya seçin</button>
    			</div>
    
    			<div class="upload-inline-status"></div>
    
    			<div class="post-upload-ui">
    				
    				<p class="max-upload-size">Yüklenebilecek en büyük dosya boyutu: 256 MB.</p>
    
    				<# if ( data.suggestedWidth && data.suggestedHeight ) { #>
    					<p class="suggested-dimensions">
    						Önerilen görsel boyutları {{data.suggestedWidth}} x {{data.suggestedHeight}} piksel.					</p>
    				<# } #>
    
    							</div>
    				</div>
    	</script>
    
    	<script type="text/html" id="tmpl-media-library-view-switcher">
    		<a href="/?mode=list" class="view-list">
    			<span class="screen-reader-text">Liste görünümü</span>
    		</a>
    		<a href="/?mode=grid" class="view-grid current">
    			<span class="screen-reader-text">Izgara görünümü</span>
    		</a>
    	</script>
    
    	<script type="text/html" id="tmpl-uploader-status">
    		<h2>Yükleniyor</h2>
    		<button type="button" class="button-link upload-dismiss-errors"><span class="screen-reader-text">Hataları gizle</span></button>
    
    		<div class="media-progress-bar"><div></div></div>
    		<div class="upload-details">
    			<span class="upload-count">
    				<span class="upload-index"></span> / <span class="upload-total"></span>
    			</span>
    			<span class="upload-detail-separator">&ndash;</span>
    			<span class="upload-filename"></span>
    		</div>
    		<div class="upload-errors"></div>
    	</script>
    
    	<script type="text/html" id="tmpl-uploader-status-error">
    		<span class="upload-error-filename">{{{ data.filename }}}</span>
    		<span class="upload-error-message">{{ data.message }}</span>
    	</script>
    
    	<script type="text/html" id="tmpl-edit-attachment-frame">
    		<div class="edit-media-header">
    			<button class="left dashicons <# if ( ! data.hasPrevious ) { #> disabled <# } #>"><span class="screen-reader-text">Önceki ortam dosyasını düzenle</span></button>
    			<button class="right dashicons <# if ( ! data.hasNext ) { #> disabled <# } #>"><span class="screen-reader-text">Sonraki ortam dosyasını düzenle</span></button>
    		</div>
    		<div class="media-frame-title"></div>
    		<div class="media-frame-content"></div>
    	</script>
    
    	<script type="text/html" id="tmpl-attachment-details-two-column">
    		<div class="attachment-media-view {{ data.orientation }}">
    			<div class="thumbnail thumbnail-{{ data.type }}">
    				<# if ( data.uploading ) { #>
    					<div class="media-progress-bar"><div></div></div>
    				<# } else if ( data.sizes && data.sizes.large ) { #>
    					<img class="details-image" src="{{ data.sizes.large.url }}" draggable="false" alt="" />
    				<# } else if ( data.sizes && data.sizes.full ) { #>
    					<img class="details-image" src="{{ data.sizes.full.url }}" draggable="false" alt="" />
    				<# } else if ( -1 === jQuery.inArray( data.type, [ 'audio', 'video' ] ) ) { #>
    					<img class="details-image icon" src="{{ data.icon }}" draggable="false" alt="" />
    				<# } #>
    
    				<# if ( 'audio' === data.type ) { #>
    				<div class="wp-media-wrapper">
    					<audio style="visibility: hidden" controls class="wp-audio-shortcode" width="100%" preload="none">
    						<source type="{{ data.mime }}" src="{{ data.url }}"/>
    					</audio>
    				</div>
    				<# } else if ( 'video' === data.type ) {
    					var w_rule = '';
    					if ( data.width ) {
    						w_rule = 'width: ' + data.width + 'px;';
    					} else if ( wp.media.view.settings.contentWidth ) {
    						w_rule = 'width: ' + wp.media.view.settings.contentWidth + 'px;';
    					}
    				#>
    				<div style="{{ w_rule }}" class="wp-media-wrapper wp-video">
    					<video controls="controls" class="wp-video-shortcode" preload="metadata"
    						<# if ( data.width ) { #>width="{{ data.width }}"<# } #>
    						<# if ( data.height ) { #>height="{{ data.height }}"<# } #>
    						<# if ( data.image && data.image.src !== data.icon ) { #>poster="{{ data.image.src }}"<# } #>>
    						<source type="{{ data.mime }}" src="{{ data.url }}"/>
    					</video>
    				</div>
    				<# } #>
    
    				<div class="attachment-actions">
    					<# if ( 'image' === data.type && ! data.uploading && data.sizes && data.can.save ) { #>
    					<button type="button" class="button edit-attachment">Resmi Düzenle</button>
    					<# } else if ( 'pdf' === data.subtype && data.sizes ) { #>
    					Belge					<# } #>
    				</div>
    			</div>
    		</div>
    		<div class="attachment-info">
    			<span class="settings-save-status">
    				<span class="spinner"></span>
    				<span class="saved">Kaydedildi.</span>
    			</span>
    			<div class="details">
    				<div class="filename"><strong>Dosya adı:</strong> {{ data.filename }}</div>
    				<div class="filename"><strong>Dosya türü:</strong> {{ data.mime }}</div>
    				<div class="uploaded"><strong>Yüklenme tarihi:</strong> {{ data.dateFormatted }}</div>
    
    				<div class="file-size"><strong>Dosya boyutu:</strong> {{ data.filesizeHumanReadable }}</div>
    				<# if ( 'image' === data.type && ! data.uploading ) { #>
    					<# if ( data.width && data.height ) { #>
    						<div class="dimensions"><strong>Ölçüler:</strong> {{ data.width }} &times; {{ data.height }}</div>
    					<# } #>
    				<# } #>
    
    				<# if ( data.fileLength ) { #>
    					<div class="file-length"><strong>Süre:</strong> {{ data.fileLength }}</div>
    				<# } #>
    
    				<# if ( 'audio' === data.type && data.meta.bitrate ) { #>
    					<div class="bitrate">
    						<strong>Bitrate:</strong> {{ Math.round( data.meta.bitrate / 1000 ) }}kb/s
    						<# if ( data.meta.bitrate_mode ) { #>
    						{{ ' ' + data.meta.bitrate_mode.toUpperCase() }}
    						<# } #>
    					</div>
    				<# } #>
    
    				<div class="compat-meta">
    					<# if ( data.compat && data.compat.meta ) { #>
    						{{{ data.compat.meta }}}
    					<# } #>
    				</div>
    			</div>
    
    			<div class="settings">
    				<label class="setting" data-setting="url">
    					<span class="name">URL</span>
    					<input type="text" value="{{ data.url }}" readonly />
    				</label>
    				<# var maybeReadOnly = data.can.save || data.allowLocalEdits ? '' : 'readonly'; #>
    								<label class="setting" data-setting="title">
    					<span class="name">Başlık</span>
    					<input type="text" value="{{ data.title }}" {{ maybeReadOnly }} />
    				</label>
    								<# if ( 'audio' === data.type ) { #>
    								<label class="setting" data-setting="artist">
    					<span class="name">Artist</span>
    					<input type="text" value="{{ data.artist || data.meta.artist || '' }}" />
    				</label>
    								<label class="setting" data-setting="album">
    					<span class="name">Albüm</span>
    					<input type="text" value="{{ data.album || data.meta.album || '' }}" />
    				</label>
    								<# } #>
    				<label class="setting" data-setting="caption">
    					<span class="name">Altyazı</span>
    					<textarea {{ maybeReadOnly }}>{{ data.caption }}</textarea>
    				</label>
    				<# if ( 'image' === data.type ) { #>
    					<label class="setting" data-setting="alt">
    						<span class="name">Alternatif metin</span>
    						<input type="text" value="{{ data.alt }}" {{ maybeReadOnly }} />
    					</label>
    				<# } #>
    				<label class="setting" data-setting="description">
    					<span class="name">Tanım</span>
    					<textarea {{ maybeReadOnly }}>{{ data.description }}</textarea>
    				</label>
    				<label class="setting">
    					<span class="name">Yükleyen</span>
    					<span class="value">{{ data.authorName }}</span>
    				</label>
    				<# if ( data.uploadedToTitle ) { #>
    					<label class="setting">
    						<span class="name">Yüklendiği yer</span>
    						<# if ( data.uploadedToLink ) { #>
    							<span class="value"><a href="{{ data.uploadedToLink }}">{{ data.uploadedToTitle }}</a></span>
    						<# } else { #>
    							<span class="value">{{ data.uploadedToTitle }}</span>
    						<# } #>
    					</label>
    				<# } #>
    				<div class="attachment-compat"></div>
    			</div>
    
    			<div class="actions">
    				<a class="view-attachment" href="{{ data.link }}">Ek sayfasını görüntüle</a>
    				<# if ( data.can.save ) { #> |
    					<a href="post.php?post={{ data.id }}&action=edit">Daha fazla detay düzenle</a>
    				<# } #>
    				<# if ( ! data.uploading && data.can.remove ) { #> |
    											<button type="button" class="button-link delete-attachment">Kalıcı olarak sil</button>
    									<# } #>
    			</div>
    
    		</div>
    	</script>
    
    	<script type="text/html" id="tmpl-attachment">
    		<div class="attachment-preview js--select-attachment type-{{ data.type }} subtype-{{ data.subtype }} {{ data.orientation }}">
    			<div class="thumbnail">
    				<# if ( data.uploading ) { #>
    					<div class="media-progress-bar"><div style="width: {{ data.percent }}%"></div></div>
    				<# } else if ( 'image' === data.type && data.sizes ) { #>
    					<div class="centered">
    						<img src="{{ data.size.url }}" draggable="false" alt="" />
    					</div>
    				<# } else { #>
    					<div class="centered">
    						<# if ( data.image && data.image.src && data.image.src !== data.icon ) { #>
    							<img src="{{ data.image.src }}" class="thumbnail" draggable="false" alt="" />
    						<# } else if ( data.sizes && data.sizes.medium ) { #>
    							<img src="{{ data.sizes.medium.url }}" class="thumbnail" draggable="false" alt="" />
    						<# } else { #>
    							<img src="{{ data.icon }}" class="icon" draggable="false" alt="" />
    						<# } #>
    					</div>
    					<div class="filename">
    						<div>{{ data.filename }}</div>
    					</div>
    				<# } #>
    			</div>
    			<# if ( data.buttons.close ) { #>
    				<button type="button" class="button-link attachment-close media-modal-icon"><span class="screen-reader-text">Kaldır</span></button>
    			<# } #>
    		</div>
    		<# if ( data.buttons.check ) { #>
    			<button type="button" class="check" tabindex="-1"><span class="media-modal-icon"></span><span class="screen-reader-text">Seçimi kaldır</span></button>
    		<# } #>
    		<#
    		var maybeReadOnly = data.can.save || data.allowLocalEdits ? '' : 'readonly';
    		if ( data.describe ) {
    			if ( 'image' === data.type ) { #>
    				<input type="text" value="{{ data.caption }}" class="describe" data-setting="caption"
    					placeholder="Bu görsele başlık verin&hellip;" {{ maybeReadOnly }} />
    			<# } else { #>
    				<input type="text" value="{{ data.title }}" class="describe" data-setting="title"
    					<# if ( 'video' === data.type ) { #>
    						placeholder="Bu videoyu tarif edin&hellip;"
    					<# } else if ( 'audio' === data.type ) { #>
    						placeholder="Bu ses dosyasını tarif edin&hellip;"
    					<# } else { #>
    						placeholder="Bu ortam dosyasını tarif edin&hellip;"
    					<# } #> {{ maybeReadOnly }} />
    			<# }
    		} #>
    	</script>
    
    	<script type="text/html" id="tmpl-attachment-details">
    		<h2>
    			Eklenti detayları			<span class="settings-save-status">
    				<span class="spinner"></span>
    				<span class="saved">Kaydedildi.</span>
    			</span>
    		</h2>
    		<div class="attachment-info">
    			<div class="thumbnail thumbnail-{{ data.type }}">
    				<# if ( data.uploading ) { #>
    					<div class="media-progress-bar"><div></div></div>
    				<# } else if ( 'image' === data.type && data.sizes ) { #>
    					<img src="{{ data.size.url }}" draggable="false" alt="" />
    				<# } else { #>
    					<img src="{{ data.icon }}" class="icon" draggable="false" alt="" />
    				<# } #>
    			</div>
    			<div class="details">
    				<div class="filename">{{ data.filename }}</div>
    				<div class="uploaded">{{ data.dateFormatted }}</div>
    
    				<div class="file-size">{{ data.filesizeHumanReadable }}</div>
    				<# if ( 'image' === data.type && ! data.uploading ) { #>
    					<# if ( data.width && data.height ) { #>
    						<div class="dimensions">{{ data.width }} &times; {{ data.height }}</div>
    					<# } #>
    
    					<# if ( data.can.save && data.sizes ) { #>
    						<a class="edit-attachment" href="{{ data.editLink }}&image-editor" target="_blank">Resmi Düzenle</a>
    					<# } #>
    				<# } #>
    
    				<# if ( data.fileLength ) { #>
    					<div class="file-length">Süre: {{ data.fileLength }}</div>
    				<# } #>
    
    				<# if ( ! data.uploading && data.can.remove ) { #>
    											<button type="button" class="button-link delete-attachment">Kalıcı olarak sil</button>
    									<# } #>
    
    				<div class="compat-meta">
    					<# if ( data.compat && data.compat.meta ) { #>
    						{{{ data.compat.meta }}}
    					<# } #>
    				</div>
    			</div>
    		</div>
    
    		<label class="setting" data-setting="url">
    			<span class="name">URL</span>
    			<input type="text" value="{{ data.url }}" readonly />
    		</label>
    		<# var maybeReadOnly = data.can.save || data.allowLocalEdits ? '' : 'readonly'; #>
    				<label class="setting" data-setting="title">
    			<span class="name">Başlık</span>
    			<input type="text" value="{{ data.title }}" {{ maybeReadOnly }} />
    		</label>
    				<# if ( 'audio' === data.type ) { #>
    				<label class="setting" data-setting="artist">
    			<span class="name">Artist</span>
    			<input type="text" value="{{ data.artist || data.meta.artist || '' }}" />
    		</label>
    				<label class="setting" data-setting="album">
    			<span class="name">Albüm</span>
    			<input type="text" value="{{ data.album || data.meta.album || '' }}" />
    		</label>
    				<# } #>
    		<label class="setting" data-setting="caption">
    			<span class="name">Altyazı</span>
    			<textarea {{ maybeReadOnly }}>{{ data.caption }}</textarea>
    		</label>
    		<# if ( 'image' === data.type ) { #>
    			<label class="setting" data-setting="alt">
    				<span class="name">Alternatif metin</span>
    				<input type="text" value="{{ data.alt }}" {{ maybeReadOnly }} />
    			</label>
    		<# } #>
    		<label class="setting" data-setting="description">
    			<span class="name">Tanım</span>
    			<textarea {{ maybeReadOnly }}>{{ data.description }}</textarea>
    		</label>
    	</script>
    
    	<script type="text/html" id="tmpl-media-selection">
    		<div class="selection-info">
    			<span class="count"></span>
    			<# if ( data.editable ) { #>
    				<button type="button" class="button-link edit-selection">Seçimi düzenle</button>
    			<# } #>
    			<# if ( data.clearable ) { #>
    				<button type="button" class="button-link clear-selection">Temizle</button>
    			<# } #>
    		</div>
    		<div class="selection-view"></div>
    	</script>
    
    	<script type="text/html" id="tmpl-attachment-display-settings">
    		<h2>Eklenti gösterme ayarları</h2>
    
    		<# if ( 'image' === data.type ) { #>
    			<label class="setting align">
    				<span>Hizalama</span>
    				<select class="alignment"
    					data-setting="align"
    					<# if ( data.userSettings ) { #>
    						data-user-setting="align"
    					<# } #>>
    
    					<option value="left">
    						Sol					</option>
    					<option value="center">
    						Merkez					</option>
    					<option value="right">
    						Sağ					</option>
    					<option value="none" selected>
    						Hiçbiri					</option>
    				</select>
    			</label>
    		<# } #>
    
    		<div class="setting">
    			<label>
    				<# if ( data.model.canEmbed ) { #>
    					<span>Göm ya da bağlantı ver</span>
    				<# } else { #>
    					<span>Bağlantı</span>
    				<# } #>
    
    				<select class="link-to"
    					data-setting="link"
    					<# if ( data.userSettings && ! data.model.canEmbed ) { #>
    						data-user-setting="urlbutton"
    					<# } #>>
    
    				<# if ( data.model.canEmbed ) { #>
    					<option value="embed" selected>
    						Ortam oynatıcısını göm					</option>
    					<option value="file">
    				<# } else { #>
    					<option value="none" selected>
    						Hiçbiri					</option>
    					<option value="file">
    				<# } #>
    					<# if ( data.model.canEmbed ) { #>
    						Ortam dosyasına bağlantı					<# } else { #>
    						Ortam dosyası					<# } #>
    					</option>
    					<option value="post">
    					<# if ( data.model.canEmbed ) { #>
    						Ek sayfasına bağlantı					<# } else { #>
    						Ek sayfası					<# } #>
    					</option>
    				<# if ( 'image' === data.type ) { #>
    					<option value="custom">
    						Özel adres					</option>
    				<# } #>
    				</select>
    			</label>
    			<input type="text" class="link-to-custom" data-setting="linkUrl" />
    		</div>
    
    		<# if ( 'undefined' !== typeof data.sizes ) { #>
    			<label class="setting">
    				<span>Boyut</span>
    				<select class="size" name="size"
    					data-setting="size"
    					<# if ( data.userSettings ) { #>
    						data-user-setting="imgsize"
    					<# } #>>
    											<#
    						var size = data.sizes['thumbnail'];
    						if ( size ) { #>
    							<option value="thumbnail" >
    								Küçük resim &ndash; {{ size.width }} &times; {{ size.height }}
    							</option>
    						<# } #>
    											<#
    						var size = data.sizes['medium'];
    						if ( size ) { #>
    							<option value="medium" >
    								Orta &ndash; {{ size.width }} &times; {{ size.height }}
    							</option>
    						<# } #>
    											<#
    						var size = data.sizes['large'];
    						if ( size ) { #>
    							<option value="large" >
    								Büyük &ndash; {{ size.width }} &times; {{ size.height }}
    							</option>
    						<# } #>
    											<#
    						var size = data.sizes['full'];
    						if ( size ) { #>
    							<option value="full"  selected='selected'>
    								Tam Boy &ndash; {{ size.width }} &times; {{ size.height }}
    							</option>
    						<# } #>
    									</select>
    			</label>
    		<# } #>
    	</script>
    
    	<script type="text/html" id="tmpl-gallery-settings">
    		<h2>Galeri ayarları</h2>
    
    		<label class="setting">
    			<span>Bağlantı</span>
    			<select class="link-to"
    				data-setting="link"
    				<# if ( data.userSettings ) { #>
    					data-user-setting="urlbutton"
    				<# } #>>
    
    				<option value="post" <# if ( ! wp.media.galleryDefaults.link || 'post' == wp.media.galleryDefaults.link ) {
    					#>selected="selected"<# }
    				#>>
    					Ek sayfası				</option>
    				<option value="file" <# if ( 'file' == wp.media.galleryDefaults.link ) { #>selected="selected"<# } #>>
    					Ortam dosyası				</option>
    				<option value="none" <# if ( 'none' == wp.media.galleryDefaults.link ) { #>selected="selected"<# } #>>
    					Hiçbiri				</option>
    			</select>
    		</label>
    
    		<label class="setting">
    			<span>Sütunlar</span>
    			<select class="columns" name="columns"
    				data-setting="columns">
    									<option value="1" <#
    						if ( 1 == wp.media.galleryDefaults.columns ) { #>selected="selected"<# }
    					#>>
    						1					</option>
    									<option value="2" <#
    						if ( 2 == wp.media.galleryDefaults.columns ) { #>selected="selected"<# }
    					#>>
    						2					</option>
    									<option value="3" <#
    						if ( 3 == wp.media.galleryDefaults.columns ) { #>selected="selected"<# }
    					#>>
    						3					</option>
    									<option value="4" <#
    						if ( 4 == wp.media.galleryDefaults.columns ) { #>selected="selected"<# }
    					#>>
    						4					</option>
    									<option value="5" <#
    						if ( 5 == wp.media.galleryDefaults.columns ) { #>selected="selected"<# }
    					#>>
    						5					</option>
    									<option value="6" <#
    						if ( 6 == wp.media.galleryDefaults.columns ) { #>selected="selected"<# }
    					#>>
    						6					</option>
    									<option value="7" <#
    						if ( 7 == wp.media.galleryDefaults.columns ) { #>selected="selected"<# }
    					#>>
    						7					</option>
    									<option value="8" <#
    						if ( 8 == wp.media.galleryDefaults.columns ) { #>selected="selected"<# }
    					#>>
    						8					</option>
    									<option value="9" <#
    						if ( 9 == wp.media.galleryDefaults.columns ) { #>selected="selected"<# }
    					#>>
    						9					</option>
    							</select>
    		</label>
    
    		<label class="setting">
    			<span>Karışık sıra</span>
    			<input type="checkbox" data-setting="_orderbyRandom" />
    		</label>
    
    		<label class="setting size">
    			<span>Boyut</span>
    			<select class="size" name="size"
    				data-setting="size"
    				<# if ( data.userSettings ) { #>
    					data-user-setting="imgsize"
    				<# } #>
    				>
    									<option value="thumbnail">
    						Küçük resim					</option>
    									<option value="medium">
    						Orta					</option>
    									<option value="large">
    						Büyük					</option>
    									<option value="full">
    						Tam Boy					</option>
    							</select>
    		</label>
    	</script>
    
    	<script type="text/html" id="tmpl-playlist-settings">
    		<h2>Oynatma listesi ayarları</h2>
    
    		<# var emptyModel = _.isEmpty( data.model ),
    			isVideo = 'video' === data.controller.get('library').props.get('type'); #>
    
    		<label class="setting">
    			<input type="checkbox" data-setting="tracklist" <# if ( emptyModel ) { #>
    				checked="checked"
    			<# } #> />
    			<# if ( isVideo ) { #>
    			<span>Video listesi göster</span>
    			<# } else { #>
    			<span>İz listesini göster</span>
    			<# } #>
    		</label>
    
    		<# if ( ! isVideo ) { #>
    		<label class="setting">
    			<input type="checkbox" data-setting="artists" <# if ( emptyModel ) { #>
    				checked="checked"
    			<# } #> />
    			<span>İz listesinde sanatçı ismini göster</span>
    		</label>
    		<# } #>
    
    		<label class="setting">
    			<input type="checkbox" data-setting="images" <# if ( emptyModel ) { #>
    				checked="checked"
    			<# } #> />
    			<span>Görselleri göster</span>
    		</label>
    	</script>
    
    	<script type="text/html" id="tmpl-embed-link-settings">
    		<label class="setting link-text">
    			<span>Bağlantı metni</span>
    			<input type="text" class="alignment" data-setting="linkText" />
    		</label>
    		<div class="embed-container" style="display: none;">
    			<div class="embed-preview"></div>
    		</div>
    	</script>
    
    	<script type="text/html" id="tmpl-embed-image-settings">
    		<div class="thumbnail">
    			<img src="{{ data.model.url }}" draggable="false" alt="" />
    		</div>
    
    					<label class="setting caption">
    				<span>Altyazı</span>
    				<textarea data-setting="caption" />
    			</label>
    		
    		<label class="setting alt-text">
    			<span>Alternatif metin</span>
    			<input type="text" data-setting="alt" />
    		</label>
    
    		<div class="setting align">
    			<span>Hizala</span>
    			<div class="button-group button-large" data-setting="align">
    				<button class="button" value="left">
    					Sol				</button>
    				<button class="button" value="center">
    					Merkez				</button>
    				<button class="button" value="right">
    					Sağ				</button>
    				<button class="button active" value="none">
    					Hiçbiri				</button>
    			</div>
    		</div>
    
    		<div class="setting link-to">
    			<span>Bağlantı</span>
    			<div class="button-group button-large" data-setting="link">
    				<button class="button" value="file">
    					Resim Adresi				</button>
    				<button class="button" value="custom">
    					Özel adres				</button>
    				<button class="button active" value="none">
    					Hiçbiri				</button>
    			</div>
    			<input type="text" class="link-to-custom" data-setting="linkUrl" />
    		</div>
    	</script>
    
    	<script type="text/html" id="tmpl-image-details">
    		<div class="media-embed">
    			<div class="embed-media-settings">
    				<div class="column-image">
    					<div class="image">
    						<img src="{{ data.model.url }}" draggable="false" alt="" />
    
    						<# if ( data.attachment && window.imageEdit ) { #>
    							<div class="actions">
    								<input type="button" class="edit-attachment button" value="Orijinali düzenle" />
    								<input type="button" class="replace-attachment button" value="Değiştir" />
    							</div>
    						<# } #>
    					</div>
    				</div>
    				<div class="column-settings">
    											<label class="setting caption">
    							<span>Altyazı</span>
    							<textarea data-setting="caption">{{ data.model.caption }}</textarea>
    						</label>
    					
    					<label class="setting alt-text">
    						<span>Alternatif metin</span>
    						<input type="text" data-setting="alt" value="{{ data.model.alt }}" />
    					</label>
    
    					<h2>Görünüm ayarları</h2>
    					<div class="setting align">
    						<span>Hizala</span>
    						<div class="button-group button-large" data-setting="align">
    							<button class="button" value="left">
    								Sol							</button>
    							<button class="button" value="center">
    								Merkez							</button>
    							<button class="button" value="right">
    								Sağ							</button>
    							<button class="button active" value="none">
    								Hiçbiri							</button>
    						</div>
    					</div>
    
    					<# if ( data.attachment ) { #>
    						<# if ( 'undefined' !== typeof data.attachment.sizes ) { #>
    							<label class="setting size">
    								<span>Boyut</span>
    								<select class="size" name="size"
    									data-setting="size"
    									<# if ( data.userSettings ) { #>
    										data-user-setting="imgsize"
    									<# } #>>
    																			<#
    										var size = data.sizes['thumbnail'];
    										if ( size ) { #>
    											<option value="thumbnail">
    												Küçük resim &ndash; {{ size.width }} &times; {{ size.height }}
    											</option>
    										<# } #>
    																			<#
    										var size = data.sizes['medium'];
    										if ( size ) { #>
    											<option value="medium">
    												Orta &ndash; {{ size.width }} &times; {{ size.height }}
    											</option>
    										<# } #>
    																			<#
    										var size = data.sizes['large'];
    										if ( size ) { #>
    											<option value="large">
    												Büyük &ndash; {{ size.width }} &times; {{ size.height }}
    											</option>
    										<# } #>
    																			<#
    										var size = data.sizes['full'];
    										if ( size ) { #>
    											<option value="full">
    												Tam Boy &ndash; {{ size.width }} &times; {{ size.height }}
    											</option>
    										<# } #>
    																		<option value="custom">
    										Özel boyut									</option>
    								</select>
    							</label>
    						<# } #>
    							<div class="custom-size<# if ( data.model.size !== 'custom' ) { #> hidden<# } #>">
    								<label><span>Genişlik <small>(px)</small></span> <input data-setting="customWidth" type="number" step="1" value="{{ data.model.customWidth }}" /></label><span class="sep">&times;</span><label><span>Yükseklik <small>(px)</small></span><input data-setting="customHeight" type="number" step="1" value="{{ data.model.customHeight }}" /></label>
    							</div>
    					<# } #>
    
    					<div class="setting link-to">
    						<span>Bağlantı</span>
    						<select data-setting="link">
    						<# if ( data.attachment ) { #>
    							<option value="file">
    								Ortam dosyası							</option>
    							<option value="post">
    								Ek sayfası							</option>
    						<# } else { #>
    							<option value="file">
    								Resim Adresi							</option>
    						<# } #>
    							<option value="custom">
    								Özel adres							</option>
    							<option value="none">
    								Hiçbiri							</option>
    						</select>
    						<input type="text" class="link-to-custom" data-setting="linkUrl" />
    					</div>
    					<div class="advanced-section">
    						<h2><button type="button" class="button-link advanced-toggle">Gelişmiş seçenekler</button></h2>
    						<div class="advanced-settings hidden">
    							<div class="advanced-image">
    								<label class="setting title-text">
    									<span>Görsel başlık özelliği</span>
    									<input type="text" data-setting="title" value="{{ data.model.title }}" />
    								</label>
    								<label class="setting extra-classes">
    									<span>Görsel CSS sınıfı</span>
    									<input type="text" data-setting="extraClasses" value="{{ data.model.extraClasses }}" />
    								</label>
    							</div>
    							<div class="advanced-link">
    								<div class="setting link-target">
    									<label><input type="checkbox" data-setting="linkTargetBlank" value="_blank" <# if ( data.model.linkTargetBlank ) { #>checked="checked"<# } #>>Bağlantıyı yeni sekmede aç</label>
    								</div>
    								<label class="setting link-rel">
    									<span>Bağlantı için Rel</span>
    									<input type="text" data-setting="linkRel" value="{{ data.model.linkClassName }}" />
    								</label>
    								<label class="setting link-class-name">
    									<span>CSS sınıfına bağlantı ver</span>
    									<input type="text" data-setting="linkClassName" value="{{ data.model.linkClassName }}" />
    								</label>
    							</div>
    						</div>
    					</div>
    				</div>
    			</div>
    		</div>
    	</script>
    
    	<script type="text/html" id="tmpl-image-editor">
    		<div id="media-head-{{ data.id }}"></div>
    		<div id="image-editor-{{ data.id }}"></div>
    	</script>
    
    	<script type="text/html" id="tmpl-audio-details">
    		<# var ext, html5types = {
    			mp3: wp.media.view.settings.embedMimes.mp3,
    			ogg: wp.media.view.settings.embedMimes.ogg
    		}; #>
    
    				<div class="media-embed media-embed-details">
    			<div class="embed-media-settings embed-audio-settings">
    				<audio style="visibility: hidden"
    	controls
    	class="wp-audio-shortcode"
    	width="{{ _.isUndefined( data.model.width ) ? 400 : data.model.width }}"
    	preload="{{ _.isUndefined( data.model.preload ) ? 'none' : data.model.preload }}"
    	<#
    	if ( ! _.isUndefined( data.model.autoplay ) && data.model.autoplay ) {
    		#> autoplay<#
    	}
    	if ( ! _.isUndefined( data.model.loop ) && data.model.loop ) {
    		#> loop<#
    	}
    	#>
    >
    	<# if ( ! _.isEmpty( data.model.src ) ) { #>
    	<source src="{{ data.model.src }}" type="{{ wp.media.view.settings.embedMimes[ data.model.src.split('.').pop() ] }}" />
    	<# } #>
    
    	<# if ( ! _.isEmpty( data.model.mp3 ) ) { #>
    	<source src="{{ data.model.mp3 }}" type="{{ wp.media.view.settings.embedMimes[ 'mp3' ] }}" />
    	<# } #>
    	<# if ( ! _.isEmpty( data.model.ogg ) ) { #>
    	<source src="{{ data.model.ogg }}" type="{{ wp.media.view.settings.embedMimes[ 'ogg' ] }}" />
    	<# } #>
    	<# if ( ! _.isEmpty( data.model.m4a ) ) { #>
    	<source src="{{ data.model.m4a }}" type="{{ wp.media.view.settings.embedMimes[ 'm4a' ] }}" />
    	<# } #>
    	<# if ( ! _.isEmpty( data.model.wav ) ) { #>
    	<source src="{{ data.model.wav }}" type="{{ wp.media.view.settings.embedMimes[ 'wav' ] }}" />
    	<# } #>
    	</audio>
    
    				<# if ( ! _.isEmpty( data.model.src ) ) {
    					ext = data.model.src.split('.').pop();
    					if ( html5types[ ext ] ) {
    						delete html5types[ ext ];
    					}
    				#>
    				<label class="setting">
    					<span>SRC</span>
    					<input type="text" disabled="disabled" data-setting="src" value="{{ data.model.src }}" />
    					<button type="button" class="button-link remove-setting">Ses kaynağını kaldır</button>
    				</label>
    				<# } #>
    				<# if ( ! _.isEmpty( data.model.mp3 ) ) {
    					if ( ! _.isUndefined( html5types.mp3 ) ) {
    						delete html5types.mp3;
    					}
    				#>
    				<label class="setting">
    					<span>MP3</span>
    					<input type="text" disabled="disabled" data-setting="mp3" value="{{ data.model.mp3 }}" />
    					<button type="button" class="button-link remove-setting">Ses kaynağını kaldır</button>
    				</label>
    				<# } #>
    				<# if ( ! _.isEmpty( data.model.ogg ) ) {
    					if ( ! _.isUndefined( html5types.ogg ) ) {
    						delete html5types.ogg;
    					}
    				#>
    				<label class="setting">
    					<span>OGG</span>
    					<input type="text" disabled="disabled" data-setting="ogg" value="{{ data.model.ogg }}" />
    					<button type="button" class="button-link remove-setting">Ses kaynağını kaldır</button>
    				</label>
    				<# } #>
    				<# if ( ! _.isEmpty( data.model.m4a ) ) {
    					if ( ! _.isUndefined( html5types.m4a ) ) {
    						delete html5types.m4a;
    					}
    				#>
    				<label class="setting">
    					<span>M4A</span>
    					<input type="text" disabled="disabled" data-setting="m4a" value="{{ data.model.m4a }}" />
    					<button type="button" class="button-link remove-setting">Ses kaynağını kaldır</button>
    				</label>
    				<# } #>
    				<# if ( ! _.isEmpty( data.model.wav ) ) {
    					if ( ! _.isUndefined( html5types.wav ) ) {
    						delete html5types.wav;
    					}
    				#>
    				<label class="setting">
    					<span>WAV</span>
    					<input type="text" disabled="disabled" data-setting="wav" value="{{ data.model.wav }}" />
    					<button type="button" class="button-link remove-setting">Ses kaynağını kaldır</button>
    				</label>
    				<# } #>
    				
    				<# if ( ! _.isEmpty( html5types ) ) { #>
    				<div class="setting">
    					<span>En üst düzeyde HTML5 oynatma için alternatif kaynaklar ekleyin:</span>
    					<div class="button-large">
    					<# _.each( html5types, function (mime, type) { #>
    					<button class="button add-media-source" data-mime="{{ mime }}">{{ type }}</button>
    					<# } ) #>
    					</div>
    				</div>
    				<# } #>
    
    				<div class="setting preload">
    					<span>Ön yükleme</span>
    					<div class="button-group button-large" data-setting="preload">
    						<button class="button" value="auto">Otomatik</button>
    						<button class="button" value="metadata">Meta bilgileri</button>
    						<button class="button active" value="none">Hiçbiri</button>
    					</div>
    				</div>
    
    				<label class="setting checkbox-setting autoplay">
    					<input type="checkbox" data-setting="autoplay" />
    					<span>Otomatik oynat</span>
    				</label>
    
    				<label class="setting checkbox-setting">
    					<input type="checkbox" data-setting="loop" />
    					<span>Döngü</span>
    				</label>
    			</div>
    		</div>
    	</script>
    
    	<script type="text/html" id="tmpl-video-details">
    		<# var ext, html5types = {
    			mp4: wp.media.view.settings.embedMimes.mp4,
    			ogv: wp.media.view.settings.embedMimes.ogv,
    			webm: wp.media.view.settings.embedMimes.webm
    		}; #>
    
    				<div class="media-embed media-embed-details">
    			<div class="embed-media-settings embed-video-settings">
    				<div class="wp-video-holder">
    				<#
    				var w = ! data.model.width || data.model.width > 640 ? 640 : data.model.width,
    					h = ! data.model.height ? 360 : data.model.height;
    
    				if ( data.model.width && w !== data.model.width ) {
    					h = Math.ceil( ( h * w ) / data.model.width );
    				}
    				#>
    
    				<#  var w_rule = '', classes = [],
    		w, h, settings = wp.media.view.settings,
    		isYouTube = isVimeo = false;
    
    	if ( ! _.isEmpty( data.model.src ) ) {
    		isYouTube = data.model.src.match(/youtube|youtu\.be/);
    		isVimeo = -1 !== data.model.src.indexOf('vimeo');
    	}
    
    	if ( settings.contentWidth && data.model.width >= settings.contentWidth ) {
    		w = settings.contentWidth;
    	} else {
    		w = data.model.width;
    	}
    
    	if ( w !== data.model.width ) {
    		h = Math.ceil( ( data.model.height * w ) / data.model.width );
    	} else {
    		h = data.model.height;
     	}
    
    	if ( w ) {
    		w_rule = 'width: ' + w + 'px; ';
    	}
    
    	if ( isYouTube ) {
    		classes.push( 'youtube-video' );
    	}
    
    	if ( isVimeo ) {
    		classes.push( 'vimeo-video' );
    	}
    
    #>
    <div style="{{ w_rule }}" class="wp-video">
    <video controls
    	class="wp-video-shortcode {{ classes.join( ' ' ) }}"
    	<# if ( w ) { #>width="{{ w }}"<# } #>
    	<# if ( h ) { #>height="{{ h }}"<# } #>
    	<#
    		if ( ! _.isUndefined( data.model.poster ) && data.model.poster ) {
    			#> poster="{{ data.model.poster }}"<#
    		} #>
    		preload="{{ _.isUndefined( data.model.preload ) ? 'metadata' : data.model.preload }}"<#
    	 if ( ! _.isUndefined( data.model.autoplay ) && data.model.autoplay ) {
    		#> autoplay<#
    	}
    	 if ( ! _.isUndefined( data.model.loop ) && data.model.loop ) {
    		#> loop<#
    	}
    	#>
    >
    	<# if ( ! _.isEmpty( data.model.src ) ) {
    		if ( isYouTube ) { #>
    		<source src="{{ data.model.src }}" type="video/youtube" />
    		<# } else if ( isVimeo ) { #>
    		<source src="{{ data.model.src }}" type="video/vimeo" />
    		<# } else { #>
    		<source src="{{ data.model.src }}" type="{{ settings.embedMimes[ data.model.src.split('.').pop() ] }}" />
    		<# }
    	} #>
    
    	<# if ( data.model.mp4 ) { #>
    	<source src="{{ data.model.mp4 }}" type="{{ settings.embedMimes[ 'mp4' ] }}" />
    	<# } #>
    	<# if ( data.model.m4v ) { #>
    	<source src="{{ data.model.m4v }}" type="{{ settings.embedMimes[ 'm4v' ] }}" />
    	<# } #>
    	<# if ( data.model.webm ) { #>
    	<source src="{{ data.model.webm }}" type="{{ settings.embedMimes[ 'webm' ] }}" />
    	<# } #>
    	<# if ( data.model.ogv ) { #>
    	<source src="{{ data.model.ogv }}" type="{{ settings.embedMimes[ 'ogv' ] }}" />
    	<# } #>
    	<# if ( data.model.flv ) { #>
    	<source src="{{ data.model.flv }}" type="{{ settings.embedMimes[ 'flv' ] }}" />
    	<# } #>
    		{{{ data.model.content }}}
    </video>
    </div>
    
    				<# if ( ! _.isEmpty( data.model.src ) ) {
    					ext = data.model.src.split('.').pop();
    					if ( html5types[ ext ] ) {
    						delete html5types[ ext ];
    					}
    				#>
    				<label class="setting">
    					<span>SRC</span>
    					<input type="text" disabled="disabled" data-setting="src" value="{{ data.model.src }}" />
    					<button type="button" class="button-link remove-setting">Video kaynağını kaldır</button>
    				</label>
    				<# } #>
    				<# if ( ! _.isEmpty( data.model.mp4 ) ) {
    					if ( ! _.isUndefined( html5types.mp4 ) ) {
    						delete html5types.mp4;
    					}
    				#>
    				<label class="setting">
    					<span>MP4</span>
    					<input type="text" disabled="disabled" data-setting="mp4" value="{{ data.model.mp4 }}" />
    					<button type="button" class="button-link remove-setting">Video kaynağını kaldır</button>
    				</label>
    				<# } #>
    				<# if ( ! _.isEmpty( data.model.m4v ) ) {
    					if ( ! _.isUndefined( html5types.m4v ) ) {
    						delete html5types.m4v;
    					}
    				#>
    				<label class="setting">
    					<span>M4V</span>
    					<input type="text" disabled="disabled" data-setting="m4v" value="{{ data.model.m4v }}" />
    					<button type="button" class="button-link remove-setting">Video kaynağını kaldır</button>
    				</label>
    				<# } #>
    				<# if ( ! _.isEmpty( data.model.webm ) ) {
    					if ( ! _.isUndefined( html5types.webm ) ) {
    						delete html5types.webm;
    					}
    				#>
    				<label class="setting">
    					<span>WEBM</span>
    					<input type="text" disabled="disabled" data-setting="webm" value="{{ data.model.webm }}" />
    					<button type="button" class="button-link remove-setting">Video kaynağını kaldır</button>
    				</label>
    				<# } #>
    				<# if ( ! _.isEmpty( data.model.ogv ) ) {
    					if ( ! _.isUndefined( html5types.ogv ) ) {
    						delete html5types.ogv;
    					}
    				#>
    				<label class="setting">
    					<span>OGV</span>
    					<input type="text" disabled="disabled" data-setting="ogv" value="{{ data.model.ogv }}" />
    					<button type="button" class="button-link remove-setting">Video kaynağını kaldır</button>
    				</label>
    				<# } #>
    				<# if ( ! _.isEmpty( data.model.flv ) ) {
    					if ( ! _.isUndefined( html5types.flv ) ) {
    						delete html5types.flv;
    					}
    				#>
    				<label class="setting">
    					<span>FLV</span>
    					<input type="text" disabled="disabled" data-setting="flv" value="{{ data.model.flv }}" />
    					<button type="button" class="button-link remove-setting">Video kaynağını kaldır</button>
    				</label>
    				<# } #>
    								</div>
    
    				<# if ( ! _.isEmpty( html5types ) ) { #>
    				<div class="setting">
    					<span>En üst düzeyde HTML5 oynatma için alternatif kaynaklar ekleyin:</span>
    					<div class="button-large">
    					<# _.each( html5types, function (mime, type) { #>
    					<button class="button add-media-source" data-mime="{{ mime }}">{{ type }}</button>
    					<# } ) #>
    					</div>
    				</div>
    				<# } #>
    
    				<# if ( ! _.isEmpty( data.model.poster ) ) { #>
    				<label class="setting">
    					<span>Poster görseli</span>
    					<input type="text" disabled="disabled" data-setting="poster" value="{{ data.model.poster }}" />
    					<button type="button" class="button-link remove-setting">Poster görselini kaldır</button>
    				</label>
    				<# } #>
    				<div class="setting preload">
    					<span>Ön yükleme</span>
    					<div class="button-group button-large" data-setting="preload">
    						<button class="button" value="auto">Otomatik</button>
    						<button class="button" value="metadata">Meta bilgileri</button>
    						<button class="button active" value="none">Hiçbiri</button>
    					</div>
    				</div>
    
    				<label class="setting checkbox-setting autoplay">
    					<input type="checkbox" data-setting="autoplay" />
    					<span>Otomatik oynat</span>
    				</label>
    
    				<label class="setting checkbox-setting">
    					<input type="checkbox" data-setting="loop" />
    					<span>Döngü</span>
    				</label>
    
    				<label class="setting" data-setting="content">
    					<span>İzler (altyazı, başlık, açıklama, bölüm ve bilgiler)</span>
    					<#
    					var content = '';
    					if ( ! _.isEmpty( data.model.content ) ) {
    						var tracks = jQuery( data.model.content ).filter( 'track' );
    						_.each( tracks.toArray(), function (track) {
    							content += track.outerHTML; #>
    						<p>
    							<input class="content-track" type="text" value="{{ track.outerHTML }}" />
    							<button type="button" class="button-link remove-setting remove-track">Video izini kaldır</button>
    						</p>
    						<# } ); #>
    					<# } else { #>
    					<em>İlişkili altyazı yok.</em>
    					<# } #>
    					<textarea class="hidden content-setting">{{ content }}</textarea>
    				</label>
    			</div>
    		</div>
    	</script>
    
    	<script type="text/html" id="tmpl-editor-gallery">
    		<# if ( data.attachments.length ) { #>
    			<div class="gallery gallery-columns-{{ data.columns }}">
    				<# _.each( data.attachments, function( attachment, index ) { #>
    					<dl class="gallery-item">
    						<dt class="gallery-icon">
    							<# if ( attachment.thumbnail ) { #>
    								<img src="{{ attachment.thumbnail.url }}" width="{{ attachment.thumbnail.width }}" height="{{ attachment.thumbnail.height }}" alt="" />
    							<# } else { #>
    								<img src="{{ attachment.url }}" alt="" />
    							<# } #>
    						</dt>
    						<# if ( attachment.caption ) { #>
    							<dd class="wp-caption-text gallery-caption">
    								{{{ data.verifyHTML( attachment.caption ) }}}
    							</dd>
    						<# } #>
    					</dl>
    					<# if ( index % data.columns === data.columns - 1 ) { #>
    						<br style="clear: both;">
    					<# } #>
    				<# } ); #>
    			</div>
    		<# } else { #>
    			<div class="wpview-error">
    				<div class="dashicons dashicons-format-gallery"></div><p>Herhangi bir öğe bulunamadı.</p>
    			</div>
    		<# } #>
    	</script>
    
    	<script type="text/html" id="tmpl-crop-content">
    		<img class="crop-image" src="{{ data.url }}" alt="GÖrsel kırpma alanı önizleme. Fare etkileşimi gerektirir.">
    		<div class="upload-errors"></div>
    	</script>
    
    	<script type="text/html" id="tmpl-site-icon-preview">
    		<h2>Önizleme</h2>
    		<strong aria-hidden="true">Tarayıcı ikonu olarak</strong>
    		<div class="favicon-preview">
    			<img src="http://www.rentalkalkan.com/wp-admin/images/browser.png" class="browser-preview" width="182" height="" alt="" />
    
    			<div class="favicon">
    				<img id="preview-favicon" src="{{ data.url }}" alt="Tarayıcı ikonu olarak önizleme"/>
    			</div>
    			<span class="browser-title" aria-hidden="true">Rental Kalkan</span>
    		</div>
    
    		<strong aria-hidden="true">Uygulama ikonu olarak</strong>
    		<div class="app-icon-preview">
    			<img id="preview-app-icon" src="{{ data.url }}" alt="Uygulama ikonu olarak önizleme"/>
    		</div>
    	</script>
    #3316

    Hello

    I can not understand about your question about the code.

    Please description more details so i can help you check it.

    Thanks

Viewing 2 posts - 1 through 2 (of 2 total)

The forum ‘Traveler’ is closed to new topics and replies.