Changeset 599656
- Timestamp:
- 09/16/2012 02:43:22 PM (14 years ago)
- Location:
- milat-jquery-automatic-popup/trunk
- Files:
-
- 13 added
- 13 edited
-
admin.init.php (modified) (1 diff)
-
init.php (modified) (1 diff)
-
lang (added)
-
lang/milat_milat-tr_TR.mo (added)
-
lang/milat_milat-tr_TR.po (added)
-
lang/milat_milat.mo (added)
-
lang/milat_milat.po (added)
-
lib/admin/css/image/ques.png (added)
-
lib/admin/js/milat.admin.js (modified) (5 diffs)
-
lib/css/button_black_close.png (added)
-
lib/css/button_blue_close.png (added)
-
lib/css/button_brown_close.png (added)
-
lib/css/button_grey_close.png (added)
-
lib/css/button_red_close.png (added)
-
lib/css/button_white_close.png (added)
-
lib/css/style.css (modified) (4 diffs)
-
lib/includes/admin.common.php (modified) (3 diffs)
-
lib/includes/admin.install.php (modified) (3 diffs)
-
lib/includes/admin.options.php (modified) (6 diffs)
-
lib/includes/common.php (modified) (4 diffs)
-
lib/includes/milat-ayar.php (modified) (24 diffs)
-
lib/js/jquery-milat.js (modified) (3 diffs)
-
lib/js/jquery.1.7.1.js (added)
-
milat-jquery-popup.php (modified) (1 diff)
-
milat-load.php (modified) (1 diff)
-
readme.txt (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
milat-jquery-automatic-popup/trunk/admin.init.php
r497845 r599656 3 3 * Bismillahirrahmanirrahim 4 4 * @jQuery Popup 5 * @since 1. 2.05 * @since 1.3.0 6 6 */ 7 7 if(preg_match('#' . basename(__FILE__) . '#', $_SERVER['PHP_SELF'])) { die('Lütfen Olmuyor Böyle'); } 8 include_once MILAT_INC_URL . '/admin.common.php'; // Common Functions8 include_once 'lib/includes/admin.common.php'; // Common Functions 9 9 10 10 -
milat-jquery-automatic-popup/trunk/init.php
r497845 r599656 3 3 * Bismillahirrahmanirrahim 4 4 * @jQuery Popup 5 * @since 1. 2.05 * @since 1.3.0 6 6 */ 7 7 if(preg_match('#' . basename(__FILE__) . '#', $_SERVER['PHP_SELF'])) { die('Lütfen Olmuyor Böyle'); } 8 include_once MILAT_INC_URL . '/common.php';8 include_once 'lib/includes/common.php'; 9 9 10 10 add_action('init', 'milatInit'); -
milat-jquery-automatic-popup/trunk/lib/admin/js/milat.admin.js
r497845 r599656 68 68 var genislik = $("#milat_genislik").val(); 69 69 var ykseklik = $("#milat_yukseklik").val(); 70 var esctur = $("input[name='esckapat']:checked").val(); 71 var bgturu = $("input[name='arkaplan']:checked").val(); 70 72 var border = $("#colorpickerField2").val(); 71 73 var border_genis = $("#milat_border_genislik").val(); 72 74 var tur = $("input[name='milat_tur']:checked").val(); 73 75 var tur_icerik = $("input[name='milat_tur_icerik']:checked").val(); 74 76 var milat_buton = $("input[name='milat_buton_stil']:checked").val(); 77 var adres = $("#adres").val(); 78 // var text = tinyMCE.get('milat_yazi').getContent(); görsel içeriði alýyor 79 80 75 81 var id = '#pencere'; 76 82 … … 84 90 85 91 if(tur=="html"){ 86 if(baslik!==""){ var icerik = '<h2>'+baslik+'</h2>'+icerik}; 92 if(baslik!==""){ var icerik = '<div id="baslik" style="background-color:#'+border+'; margin: -'+border_genis+'px -'+border_genis+'px 0px -'+border_genis+'px; border-bottom: #'+border+'";" ><h2>'+baslik+'</h2></div>'+icerik}; 93 $('#baslik').attr('style','border:'+border_genis+'px solid #'+border+';'); 87 94 $('#pencere').attr('style','height:'+ykseklik+'px; width:'+genislik+'px; border:'+border_genis+'px solid #'+border+';'); 88 $('#pencere').html('<a href="#" class="close"></a>'+icerik);95 $('#pencere').html('<a href="#" style="background: url('+adres+'lib/css/button_'+milat_buton+'_close.png)" class="close"></a>'+icerik); 89 96 } 90 97 … … 92 99 $('#pencere').attr('style','height:'+ykseklik+'px; width:'+genislik+'px; border:'+border_genis+'px solid #'+border+';'); 93 100 if(milat_rlink==""){ 94 $('#pencere').html('<a href="#" class="close"></a><img src="'+milat_resim+'" width="'+genislik+'" height="'+ykseklik+'" />');101 $('#pencere').html('<a href="#" style="background: url('+adres+'lib/css/button_'+milat_buton+'_close.png)" class="close"></a><img src="'+milat_resim+'" width="'+genislik+'" height="'+ykseklik+'" />'); 95 102 }else{ 96 $('#pencere').html('<a href="#" class="close"></a><a href="'+milat_rlink+'"><img src="'+milat_resim+'" width="'+genislik+'" height="'+ykseklik+'" /></a>');103 $('#pencere').html('<a href="#" style="background: url('+adres+'lib/css/button_'+milat_buton+'_close.png)" class="close"></a><a href="'+milat_rlink+'"><img src="'+milat_resim+'" width="'+genislik+'" height="'+ykseklik+'" /></a>'); 97 104 } 98 105 } … … 101 108 if(tur_icerik=="youtube"){ 102 109 $('#pencere').attr('style','height:'+ykseklik+'px; width:'+genislik+'px; border:'+border_genis+'px solid #'+border+';'); 103 $('#pencere').html('<a href="#" class="close"></a><iframe width="'+genislik+'" height="'+ykseklik+'" src="http://www.youtube.com/embed/'+milat_youtu+'" frameborder="0" allowfullscreen></iframe>');110 $('#pencere').html('<a href="#" style="background: url('+adres+'lib/css/button_'+milat_buton+'_close.png)" class="close"></a><iframe width="'+genislik+'" height="'+ykseklik+'" src="http://www.youtube.com/embed/'+milat_youtu+'" frameborder="0" allowfullscreen></iframe>'); 104 111 } 105 112 106 113 if(tur_icerik=="daily"){ 107 114 $('#pencere').attr('style','height:'+ykseklik+'px; width:'+genislik+'px; border:'+border_genis+'px solid #'+border+';'); 108 $('#pencere').html('<a href="#" class="close"></a><iframe frameborder="0" width="'+genislik+'" height="'+ykseklik+'" src="http://www.dailymotion.com/embed/video/'+milat_daily+'"></iframe>');115 $('#pencere').html('<a href="#" style="background: url('+adres+'lib/css/button_'+milat_buton+'_close.png)" class="close"></a><iframe frameborder="0" width="'+genislik+'" height="'+ykseklik+'" src="http://www.dailymotion.com/embed/video/'+milat_daily+'"></iframe>'); 109 116 } 110 117 111 118 if(tur_icerik=="vimeo"){ 112 119 $('#pencere').attr('style','height:'+ykseklik+'px; width:'+genislik+'px; border:'+border_genis+'px solid #'+border+';'); 113 $('#pencere').html('<a href="#" class="close"></a><iframe src="http://player.vimeo.com/video/'+milat_vimeo+'?title=0&byline=0&portrait=0" width="'+genislik+'" height="'+ykseklik+'" frameborder="0" webkitAllowFullScreen mozallowfullscreen allowFullScreen></iframe>');120 $('#pencere').html('<a href="#" style="background: url('+adres+'lib/css/button_'+milat_buton+'_close.png)" class="close"></a><iframe src="http://player.vimeo.com/video/'+milat_vimeo+'?title=0&byline=0&portrait=0" width="'+genislik+'" height="'+ykseklik+'" frameborder="0" webkitAllowFullScreen mozallowfullscreen allowFullScreen></iframe>'); 114 121 } 115 122 116 123 if(tur_icerik=="swf"){ 117 124 $('#pencere').attr('style','height:'+ykseklik+'px; width:'+genislik+'px; border:'+border_genis+'px solid #'+border+';'); 118 $('#pencere').html('<a href="#" class="close"></a><embed quality="high" height="'+ykseklik+'" width="'+genislik+'" src="'+milat_swf+'" pluginspage="http://www.macromedia.com/go/getflashplayer"></embed>');125 $('#pencere').html('<a href="#" style="background: url('+adres+'lib/css/button_'+milat_buton+'_close.png)" class="close"></a><embed quality="high" height="'+ykseklik+'" width="'+genislik+'" src="'+milat_swf+'" pluginspage="http://www.macromedia.com/go/getflashplayer"></embed>'); 119 126 } 120 127 } … … 138 145 $('.window .close').click(function (e) { 139 146 //Cancel the link behavior 140 e.preventDefault(); 147 e.preventDefault(); 141 148 $('#karartma').fadeOut(); 142 149 $('.window').slideUp(); 143 144 }); 145 150 }); 151 146 152 //if karartma is clicked 147 153 $('#karartma').click(function () { 148 $( this).fadeOut();154 $('#karartma').fadeOut(); 149 155 $('.window').slideUp(); 150 151 152 156 }); 157 153 158 }); 154 159 }); 160 155 161 $('#colorpickerField1,#colorpickerField2').ColorPicker({ 156 162 -
milat-jquery-automatic-popup/trunk/lib/css/style.css
r497845 r599656 5 5 position: fixed; 6 6 top: 0; 7 z-index: 999 8;7 z-index: 99998 !important; 8 8 } 9 9 #kutu .window { … … 13 13 display: none; 14 14 position: fixed; 15 z-index: 9999 ;15 z-index: 99999 !important; 16 16 } 17 17 … … 20 20 } 21 21 #kutu .close { 22 background: url(" close_pop.png") no-repeat scroll 0 0 transparent;22 background: url("button_grey_close.png") no-repeat scroll 0 0 transparent; 23 23 cursor: pointer; 24 24 height: 50px; … … 27 27 right: -39px; 28 28 top: -39px; 29 z-index: 9999 ;29 z-index: 99999 ; 30 30 } 31 # kutu h2{32 text-align: center; 33 } 31 #baslik { background-color:#dddddd; margin: -5px -5px 0px -5px; border-bottom: 1px solid #dddddd; border-top-left-radius: 5px; -moz-border-radius-topleft: 5px; -webkit-border-top-left-radius: 5px; border-top-right-radius: 5px; -moz-border-radius-topright: 5px; -webkit-border-top-right-radius: 5px; } 32 #baslik h2 { color: #444; font-size: 2em; font-weight: 700; margin-bottom: 3px; text-shadow: 1px 1px 0 rgba(255, 255, 255, 0.5); text-align: center;} 33 -
milat-jquery-automatic-popup/trunk/lib/includes/admin.common.php
r497845 r599656 3 3 * Bismillahirrahmanirrahim 4 4 * @jQuery Popup 5 * @since 1. 2.05 * @since 1.3.0 6 6 */ 7 7 if(preg_match('#' . basename(__FILE__) . '#', $_SERVER['PHP_SELF'])) { die('Lütfen Olmuyor Böyle'); } 8 8 function milatAyarSayfa() { 9 add_options_page( ' jQuery Sayfa Popup Ayarları', 'Milat jQueryPopup', 'manage_options', 'milat-jquery-automatic-popup', 'milatAyarSayfaGetir');9 add_options_page( 'Milat jQuery Popup', 'Milat Popup', 'manage_options', 'milat-jquery-automatic-popup', 'milatAyarSayfaGetir'); 10 10 } 11 11 12 12 function milatAyarSayfaGetir() { 13 include MILAT_INC_URL . '/milat-ayar.php';13 include 'milat-ayar.php'; 14 14 } 15 15 16 16 function milatAdminJS() { 17 wp_register_style('milat', '/' . PLUGINDIR . '/milat-jquery-automatic-popup/lib/admin/css/stil.css'); 18 wp_register_style('milats', '/' . PLUGINDIR . '/milat-jquery-automatic-popup/lib/css/style.css'); 19 wp_register_script('admin', '/' . PLUGINDIR . '/milat-jquery-automatic-popup/lib/admin/js/colorpicker.js'); 20 wp_register_script('eye', '/' . PLUGINDIR . '/milat-jquery-automatic-popup/lib/admin/js/eye.js'); 21 wp_register_script('lay', '/' . PLUGINDIR . '/milat-jquery-automatic-popup/lib/admin/js/layout.js'); 22 wp_enqueue_style('milat'); 23 wp_enqueue_style('milats'); 24 wp_enqueue_script('admin'); 25 wp_enqueue_script('eye'); 26 wp_enqueue_script('lay'); 17 27 18 wp_enqueue_style('thickbox'); 28 19 wp_enqueue_script('thickbox'); … … 34 25 $js = <<<JS 35 26 <script type="text/javascript"> 36 37 27 function toggleVisibility(id) { 38 28 var e = document.getElementById(id); … … 42 32 e.style.display = 'block'; 43 33 } 44 45 34 </script> 46 35 JS; -
milat-jquery-automatic-popup/trunk/lib/includes/admin.install.php
r497845 r599656 4 4 * Ana Kurulum Fonksiyonu 5 5 * @name milat Kurulum 6 * @since 1. 2.06 * @since 1.3.0 7 7 */ 8 8 if(preg_match('#' . basename(__FILE__) . '#', $_SERVER['PHP_SELF'])) { die('Lütfen Olmuyor Böyle'); } 9 9 10 10 // Kurulum bölümü 11 if(get_option('milat -kurulum') != '1') {11 if(get_option('milat_kurulum') != '1') { 12 12 $ayarlar = array( 13 13 'milat_kurulum' => '1', … … 21 21 'milat_swf' => '', 22 22 'milat_resim' => '', 23 'milat_border_genislik' => ' 20',23 'milat_border_genislik' => '5', 24 24 'milat_border' => 'dddddd', 25 'milat_buton_stil' => 'white', 25 26 'milat_resim_link' => '', 26 27 'milat_anasayfa' => 'yes', … … 29 30 'milat_genislik' => '325', 30 31 'milat_yukseklik' => '200', 31 'milat_arkaplan' => '000000' 32 'milat_arkaplan' => '000000', 33 // 'milat_arkakapat' => '', 34 // 'milat_esckapat' => '' 32 35 ); 33 36 -
milat-jquery-automatic-popup/trunk/lib/includes/admin.options.php
r497845 r599656 3 3 * Bismillahirrahmanirrahim 4 4 * @jQuery Popup 5 * @since 1. 2.06 */ 5 * @since 1.3.0 6 */ 7 7 8 8 if(preg_match('#' . basename(__FILE__) . '#', $_SERVER['PHP_SELF'])) { die('Lütfen Olmuyor Böyle'); } … … 11 11 if($_POST['gonder'] == 'milat_ayarlari_guncelle') { 12 12 update_option('milat_baslik', $_POST['milat_baslik']); 13 update_option('milat_yazi', $_POST['milat_yazi']); 13 update_option('milat_yazi', $_POST['milat_yazi']); 14 14 update_option('milat_tur', $_POST['milat_tur']); 15 15 update_option('milat_tur_icerik', $_POST['milat_tur_icerik']); … … 18 18 update_option('milat_vimeo', $_POST['milat_vimeo']); 19 19 update_option('milat_swf', $_POST['milat_swf']); 20 update_option('milat_resim', $_POST['milat_resim']); 21 update_option('milat_resim_link', $_POST['milat_resim_link']); 20 update_option('milat_resim', $_POST['milat_resim']); 21 update_option('milat_resim_link', $_POST['milat_resim_link']); 22 22 update_option('milat_anasayfa', $_POST['milat_anasayfa']); 23 23 update_option('milat_heryer', $_POST['milat_heryer']); 24 update_option('milat_buton_stil', $_POST['milat_buton_stil']); 24 25 update_option('milat_cookie_saat', $_POST['milat_cookie_saat']); 25 26 update_option('milat_genislik', $_POST['milat_genislik']); 26 27 update_option('milat_yukseklik', $_POST['milat_yukseklik']); 27 28 update_option('milat_arkaplan', $_POST['milat_arkaplan']); 28 update_option('milat_border', $_POST['milat_border']); 29 update_option('milat_border_genislik', $_POST['milat_border_genislik']); 29 update_option('milat_border', $_POST['milat_border']); 30 update_option('milat_border_genislik', $_POST['milat_border_genislik']); 31 // update_option('milat_arkakapat', $_POST['arkaplan']); 32 // update_option('milat_esckapat', $_POST['esckapat']); 30 33 } 31 34 } … … 36 39 function milatTinyMCE() { 37 40 38 add_filter('wp_default_editor', create_function('', 'return "html";')); 41 add_filter('wp_default_editor', create_function('', 'return "html";')); 39 42 40 43 if (get_bloginfo('version') < "3.2") { 41 add_filter('wp_default_editor', create_function('', 'return "html";'));44 add_filter('wp_default_editor', create_function('', 'return "html";')); 42 45 echo '<div id="poststuff"><div id="postdivrich" class="postarea">'; 43 46 the_editor(stripcslashes(get_option('milat_yazi')), "milat_yazi",false,false); … … 46 49 } 47 50 else if (get_bloginfo('version') < "3.3") { 48 51 49 52 echo '<div id="poststuff"><div id="postdivrich" class="postarea">'; 50 53 the_editor(stripcslashes(get_option('milat_yazi')), "milat_yazi",false,false); … … 75 78 function milatMesajSonuc() { 76 79 if(isset($_POST['gonder'])) { 77 echo '<div class="guncel"><p align="center"><font color="#FF0000" size="4"><b>'.MILAT_POPUP_GUNCELLE.'</b></font></p></div>'; 80 echo '<div class="guncel"><p align="center"><font color="#FF0000" size="4"><b>'; 81 _e("Updated",MILAT_MILAT); 82 echo'</b></font></p></div>'; 78 83 } 79 } 84 } 80 85 81 86 function aktif($secim,$tur,$yazdir){ 82 83 if(get_option( "$secim")=="$tur"){84 echo "$yazdir";87 88 if(get_option($secim)==$tur){ 89 echo $yazdir; 85 90 } 86 91 87 92 } 88 89 if(get_locale() == "tr_TR" ){90 include_once MILAT_INC_URL . '/lang/tr_TR.php';91 }else{92 include_once MILAT_INC_URL . '/lang/en_EN.php';93 } -
milat-jquery-automatic-popup/trunk/lib/includes/common.php
r497845 r599656 3 3 * Bismillahirrahmanirrahim 4 4 * @jQuery Popup 5 * @since 1. 2.05 * @since 1.3.0 6 6 */ 7 7 if(preg_match('#' . basename(__FILE__) . '#', $_SERVER['PHP_SELF'])) { die('Lütfen Olmuyor Böyle'); } 8 $genislik = get_option('milat_genislik'); 9 $yukseklik = get_option('milat_yukseklik'); 8 10 9 function MilatJS() { 11 wp_register_script('milat', '/' . MILAT_LIB_URL . '/js/jquery-milat.js'); 12 wp_register_script('js142', '/' . MILAT_LIB_URL . '/js/jquery.1.4.2.js'); 13 wp_enqueue_script('js142'); 14 wp_enqueue_script('milat'); 15 } 10 // wp_deregister_script('jquery'); 11 wp_enqueue_script('jquery1.7.1',MILAT_PLUGIN_URL . 'lib/js/jquery.1.7.1.js'); 12 wp_enqueue_script('milat', MILAT_PLUGIN_URL . 'lib/js/jquery-milat.js'); 13 } 16 14 17 function MilatCSS() { 18 wp_register_style('milat', '/' . MILAT_LIB_URL . '/css/style.css'); 19 wp_enqueue_style('milat'); 15 function MilatCSS() { 16 wp_enqueue_style('milat', MILAT_PLUGIN_URL . 'lib/css/style.css'); 20 17 } 21 18 … … 26 23 27 24 if($milat_tur=='html'){ 28 $icerik = stripcslashes(get_option('milat_yazi'));25 $icerik = do_shortcode(stripcslashes(get_option('milat_yazi'))); 29 26 $baslik = stripcslashes(get_option('milat_baslik')); 30 27 if(!empty($baslik)){ 31 $icerik = " <h2>$baslik</h2>".28 $icerik = '<div id="baslik"><h2>'.$baslik.'</h2></div>'. 32 29 $icerik; 33 30 } … … 77 74 $yukseklik = get_option('milat_yukseklik'); 78 75 $zaman = get_option('milat_cookie_saat'); 76 if($zaman=="0"){ 77 $zaman = "jmil.cookie('milat', null, {expires: -1});"; 78 }else{ 79 $zaman = "jmil.cookie('milat', {expires: $zaman});"; 80 } 81 $baslikcss = "#baslik{ background-color:#".get_option('milat_border')."; margin: -".get_option('milat_border_genislik')."px -".get_option('milat_border_genislik')."px 0px -".get_option('milat_border_genislik')."px; border-bottom: #".get_option('milat_border')."; }"; 82 $buton = "#kutu .close { background: url(".MILAT_PLUGIN_URL."lib/css/button_".get_option('milat_buton_stil')."_close.png); }"; 79 83 $arkaplan = "#karartma { background-color: #".get_option('milat_arkaplan')."; }"; 80 84 $border = "#kutu .window { border:".get_option('milat_border_genislik')."px solid #".get_option('milat_border')."; }"; … … 88 92 $js = <<<JS 89 93 <style type="text/css"> 90 $arkaplan 91 $genislik 92 $yukseklik 93 $border 94 $baslikcss 95 $arkaplan 96 $genislik 97 $yukseklik 98 $border 99 $buton 94 100 </style> 95 101 <script type="text/javascript"> 96 j.cookie('milat', {expires: $zaman});102 $zaman 97 103 </script> 98 104 JS; -
milat-jquery-automatic-popup/trunk/lib/includes/milat-ayar.php
r497845 r599656 3 3 * Bismillahirrahmanirrahim 4 4 * @jQuery Popup 5 * @since 1. 2.06 */ 7 8 if(preg_match('#' . basename(__FILE__) . '#', $_SERVER['PHP_SELF'])) { die('Lütfen Olmuyor Böyle'); } 9 include_once MILAT_INC_URL . '/admin.options.php';5 * @since 1.3.0 6 */ 7 8 if(preg_match('#' . basename(__FILE__) . '#', $_SERVER['PHP_SELF'])) { die('Lütfen Olmuyor Böyle'); } 9 include_once 'admin.options.php'; 10 10 milatAyarGuncelle(); 11 11 ?> 12 <link rel="stylesheet" href="<?php _e(MILAT_PLUGIN_URL) ?>/lib/admin/css/colorpicker.css" type="text/css" /> 13 <script src="<?php _e(MILAT_PLUGIN_URL) ?>/lib/admin/js/jquery.js"></script> 14 <script src="<?php _e(MILAT_PLUGIN_URL) ?>/lib/admin/js/milat.admin.js"></script> 15 <script src="<?php _e(MILAT_PLUGIN_URL) ?>/lib/admin/js/range.js"></script> 12 <link rel="stylesheet" href="<?php _e(MILAT_PLUGIN_URL) ?>lib/admin/css/colorpicker.css" type="text/css" /> 13 <link rel="stylesheet" href="<?php _e(MILAT_PLUGIN_URL) ?>lib/admin/css/stil.css" type="text/css" /> 14 <link rel="stylesheet" href="<?php _e(MILAT_PLUGIN_URL) ?>lib/css/style.css" type="text/css" /> 15 <script src="<?php _e(MILAT_PLUGIN_URL) ?>lib/admin/js/colorpicker.js"></script> 16 <script src="<?php _e(MILAT_PLUGIN_URL) ?>lib/admin/js/eye.js"></script> 17 <script src="<?php _e(MILAT_PLUGIN_URL) ?>lib/admin/js/layout.js"></script> 18 <script src="<?php _e(MILAT_PLUGIN_URL) ?>lib/admin/js/jquery.js"></script> 19 <script src="<?php _e(MILAT_PLUGIN_URL) ?>lib/admin/js/milat.admin.js"></script> 20 <script src="<?php _e(MILAT_PLUGIN_URL) ?>lib/admin/js/range.js"></script> 16 21 <div class="wrap"> 17 22 <table width="100%"> 18 23 <tr> 19 <td width="80%"><div id="icon-options-general" class="icon32"></div><h2><?php _e( MILAT_EKLENTI_ISIM) ?></h2></td>24 <td width="80%"><div id="icon-options-general" class="icon32"></div><h2><?php _e("jQuery Popup Settings",MILAT_MILAT) ?></h2></td> 20 25 <td width="17%"> 21 26 <form action="https://www.paypal.com/cgi-bin/webscr" method="post"> … … 32 37 </table> 33 38 <br class="clear"/> 34 <form action="<?php echo $_SERVER['REQUEST_URI'];?>" id="milat" method="POST"> 35 <div id="milat_menu" class="milat_menu"> 36 <div class="milat_tabs_container"> 39 <form action="<?php echo $_SERVER['REQUEST_URI'];?>" id="milat" method="POST"> 40 <div id="milat_menu" class="milat_menu"> 41 <div class="milat_tabs_container"> 37 42 <div class="milat_slide_container"> 38 43 <ul class="milat_tabs"> 39 <li><a href="milat_icerik_1" rel="tab_1" class="milat_tab milat_firmilat_tab <?php aktif( "milat_tur","html","milat_tab_active"); ?>"><?php _e(MILAT_TUR_HTML) ?></a></li>40 <li><a href="milat_icerik_2" rel="tab_2" class="milat_tab <?php aktif( "milat_tur","resim","milat_tab_active"); ?>"><?php _e(MILAT_TUR_RESİM) ?></a></li>41 <li><a href="milat_icerik_3" rel="tab_3" class="milat_tab <?php aktif( "milat_tur","video","milat_tab_active"); ?>"><?php _e(MILAT_TUR_VİDEO) ?></a></li>44 <li><a href="milat_icerik_1" rel="tab_1" class="milat_tab milat_firmilat_tab <?php aktif('milat_tur','html','milat_tab_active'); ?>"><?php _e("Html & Text",MILAT_MILAT) ?></a></li> 45 <li><a href="milat_icerik_2" rel="tab_2" class="milat_tab <?php aktif('milat_tur','resim','milat_tab_active'); ?>"><?php _e("Image",MILAT_MILAT) ?></a></li> 46 <li><a href="milat_icerik_3" rel="tab_3" class="milat_tab <?php aktif('milat_tur','video','milat_tab_active'); ?>"><?php _e("Video",MILAT_MILAT) ?></a></li> 42 47 </ul> 43 </div> <!-- /.milat_slide_container --> 44 </div> <!-- /.milat_tabs_container --> 45 <div class="milat_view_container"> 46 <div class="milat_view"> 47 <div id="milat_icerik_1" class="milat_tab_view <?php aktif( "milat_tur","html","milat_firmilat_tab_view"); ?>">48 <div class="text"> 49 <div style="display:none;"> 50 <input type="radio" name= "milat_tur" value="html" id="html" <?php aktif("milat_tur","html","checked"); ?> />51 <input type="radio" name= "milat_tur" value="resim" id="resim"/>52 <input type="radio" name= "milat_tur" value="video" id="video"/>48 </div> <!-- /.milat_slide_container --> 49 </div> <!-- /.milat_tabs_container --> 50 <div class="milat_view_container"> 51 <div class="milat_view"> 52 <div id="milat_icerik_1" class="milat_tab_view <?php aktif('milat_tur','html','milat_firmilat_tab_view'); ?>"> 53 <div class="text"> 54 <div style="display:none;"> 55 <input type="radio" name='milat_tur' value='html' id='html' <?php aktif('milat_tur','html','checked'); ?> /> 56 <input type="radio" name='milat_tur' value='resim' id='resim' /> 57 <input type="radio" name='milat_tur' value='video' id='video' /> 53 58 </div> 54 59 <table class="widefat fixed" cellspacing="0" /> … … 56 61 <tr> 57 62 <th scope="col" width="270px"> 58 <a style="cursor:pointer;" title="<?php _e( MILAT_POPUP_YARDIM) ?>" onclick="toggleVisibility('baslik');">59 <?php _e( MILAT_POPUP_BASLIK) ?></a>60 <div style="text-align:left; display:none" id="baslik "><?php _e(MILAT_POPUP_BASLIK_ACIKLAMA) ?></div>63 <a style="cursor:pointer;" title="<?php _e("Click for Help!",MILAT_MILAT) ?>" onclick="toggleVisibility('basliks');"> 64 <?php _e("Title",MILAT_MILAT) ?></a> 65 <div style="text-align:left; display:none" id="basliks"><?php _e("Optional",MILAT_MILAT) ?></div> 61 66 </th> 62 67 <td> … … 66 71 <tr valign="top"> 67 72 <th scope="col" width="270px"> 68 <a style="cursor:pointer;" title="<?php _e( MILAT_POPUP_YARDIM) ?>" onclick="toggleVisibility('yazi');"><?php _e(MILAT_POPUP_YAZI) ?></a>69 <div style="text-align:left; display:none" id="yazi"><?php _e( MILAT_POPUP_YAZI_ACIKLAMA) ?></div>73 <a style="cursor:pointer;" title="<?php _e("Click for Help!",MILAT_MILAT) ?>" onclick="toggleVisibility('yazi');"><?php _e("Text",MILAT_MILAT) ?></a> 74 <div style="text-align:left; display:none" id="yazi"><?php _e("Edit the visual or HTML. (Required)",MILAT_MILAT) ?></div> 70 75 </th> 71 76 <td> … … 75 80 </tbody> 76 81 </table> 77 </div> 78 </div> 79 80 <div id="milat_icerik_2" class="milat_tab_view <?php aktif( "milat_tur","resim","milat_firmilat_tab_view"); ?>">81 <div class="text"> 82 <div style="display:none;"> 83 <input type="radio" name= "milat_tur" value="html" id="html"/>84 <input type="radio" name= "milat_tur" value="resim" id="resim" <?php aktif("milat_tur","resim","checked"); ?> />85 <input type="radio" name= "milat_tur" value="video" id="video"/>82 </div> 83 </div> 84 85 <div id="milat_icerik_2" class="milat_tab_view <?php aktif('milat_tur','resim','milat_firmilat_tab_view'); ?>"> 86 <div class="text"> 87 <div style="display:none;"> 88 <input type="radio" name='milat_tur' value='html' id='html' /> 89 <input type="radio" name='milat_tur' value='resim' id='resim' <?php aktif('milat_tur','resim','checked'); ?> /> 90 <input type="radio" name='milat_tur' value='video' id='video' /> 86 91 </div> 87 92 <table class="widefat fixed" cellspacing="0" /> 88 <tbody> 93 <tbody> 89 94 <tr valign="top"> 90 95 <th scope="row" width="270px"> 91 <a style="cursor:pointer;" title="<?php _e( MILAT_POPUP_YARDIM) ?>" onclick="toggleVisibility('resim_up');"><?php _e(MILAT_TUR_RESİM_UPLOAD) ?></a>92 <div style="text-align:left; display:none" id="resim_up"><?php _e( MILAT_TUR_RESİM_UPLOAD_ACIKLAMA) ?></div>96 <a style="cursor:pointer;" title="<?php _e("Click for Help!",MILAT_MILAT) ?>" onclick="toggleVisibility('resim_up');"><?php _e("Upload Image",MILAT_MILAT) ?></a> 97 <div style="text-align:left; display:none" id="resim_up"><?php _e("To any size file you have opened the homepage",MILAT_MILAT) ?></div> 93 98 </th> 94 99 <td> … … 96 101 <input id="milat_resim" type="text" size="76" name="milat_resim" value="<?php _e(get_option('milat_resim'));?>" /> 97 102 <input id="milat_resim_button" type="button" value="Upload Image" /> 98 <br /><span><?php _e( MILAT_TUR_RESİM_UPLOAD_ACIKLA) ?></span>103 <br /><span><?php _e("Enter an URL or upload an image for the banner.",MILAT_MILAT) ?></span> 99 104 </label> 100 105 </td> … … 102 107 <tr valign="top"> 103 108 <th scope="row" width="270px"> 104 <a style="cursor:pointer;" title="<?php _e( MILAT_POPUP_YARDIM) ?>" onclick="toggleVisibility('resim_lin');"><?php _e(MILAT_TUR_RESİM_LINK) ?></a>105 <div style="text-align:left; display:none" id="resim_lin"><?php _e( MILAT_TUR_RESİM_LINK_ACIKLAMA) ?></div>109 <a style="cursor:pointer;" title="<?php _e("Click for Help!",MILAT_MILAT) ?>" onclick="toggleVisibility('resim_lin');"><?php _e("Image go to url",MILAT_MILAT) ?></a> 110 <div style="text-align:left; display:none" id="resim_lin"><?php _e("Image clicked goes to the address you want to *Optional",MILAT_MILAT) ?></div> 106 111 </th> 107 112 <td> … … 116 121 </div> 117 122 </div> 118 119 <div id="milat_icerik_3" class="milat_tab_view <?php aktif( "milat_tur","video","milat_firmilat_tab_view"); ?>">123 124 <div id="milat_icerik_3" class="milat_tab_view <?php aktif('milat_tur','video','milat_firmilat_tab_view'); ?>"> 120 125 <div class="text"> 121 126 <div style="display:none;"> 122 <input type="radio" name= "milat_tur" value="html" id="html"/>123 <input type="radio" name= "milat_tur" value="resim" id="resim"/>124 <input type="radio" name= "milat_tur" value="video" id="video" <?php aktif("milat_tur","video","checked"); ?> />127 <input type="radio" name='milat_tur' value='html' id='html' /> 128 <input type="radio" name='milat_tur' value='resim' id='resim' /> 129 <input type="radio" name='milat_tur' value='video' id='video' <?php aktif('milat_tur','video','checked'); ?> /> 125 130 </div> 126 131 <div id="milat_yatay" class="milat_yatay"> … … 131 136 132 137 <ul class="milat_yatay_tabs"> 133 <li><a href="#milat_ic_duzen_1" rel="v_tab_1" class="milat_yatay_tab <?php aktif( "milat_tur_icerik","youtube","milat_yatay_tab_active"); ?>">Youtube<span>Youtube Video</span></a></li>134 <li><a href="#milat_ic_duzen_2" rel="v_tab_2" class="milat_yatay_tab <?php aktif( "milat_tur_icerik","daily","milat_yatay_tab_active"); ?>" >Dailymotion<span>Dailymotion Video</span></a></li>135 <li><a href="#milat_ic_duzen_3" rel="v_tab_3" class="milat_yatay_tab <?php aktif( "milat_tur_icerik","vimeo","milat_yatay_tab_active"); ?>">Vimeo<span>Vimeo Video</span></a></li>136 <li><a href="#milat_ic_duzen_4" rel="v_tab_4" class="milat_yatay_tab <?php aktif( "milat_tur_icerik","swf","milat_yatay_tab_active"); ?>">Swf<span>Swf Player</span></a></li>138 <li><a href="#milat_ic_duzen_1" rel="v_tab_1" class="milat_yatay_tab <?php aktif('milat_tur_icerik','youtube','milat_yatay_tab_active'); ?>">Youtube<span>Youtube Video</span></a></li> 139 <li><a href="#milat_ic_duzen_2" rel="v_tab_2" class="milat_yatay_tab <?php aktif('milat_tur_icerik','daily','milat_yatay_tab_active'); ?>" >Dailymotion<span>Dailymotion Video</span></a></li> 140 <li><a href="#milat_ic_duzen_3" rel="v_tab_3" class="milat_yatay_tab <?php aktif('milat_tur_icerik','vimeo','milat_yatay_tab_active'); ?>">Vimeo<span>Vimeo Video</span></a></li> 141 <li><a href="#milat_ic_duzen_4" rel="v_tab_4" class="milat_yatay_tab <?php aktif('milat_tur_icerik','swf','milat_yatay_tab_active'); ?>">Swf<span>Swf Player</span></a></li> 137 142 </ul> 138 143 … … 146 151 <div class="milat_yatay_view"> 147 152 148 <div id="milat_ic_duzen_1" class="milat_yatay_tab_view <?php aktif( "milat_tur_icerik","youtube","milat_yatay_first_tab_view"); ?>">149 <h2><?php _e( MILAT_POPUP_YOUTUBE) ?></h2>150 151 <div class="text"> 152 <div style="display:none;"> 153 <input type="radio" name= "milat_tur_icerik" value="youtube" id="youtube" <?php aktif("milat_tur_icerik","youtube","checked"); ?> />154 <input type="radio" name= "milat_tur_icerik" value="daily" id="daily"/>155 <input type="radio" name= "milat_tur_icerik" value="vimeo" id="vimeo"/>156 <input type="radio" name= "milat_tur_icerik" value="swf" id="swf"/>153 <div id="milat_ic_duzen_1" class="milat_yatay_tab_view <?php aktif('milat_tur_icerik','youtube','milat_yatay_first_tab_view'); ?>"> 154 <h2><?php _e("YOUTUBE VIDEOS OPENS A POPUP",MILAT_MILAT) ?></h2> 155 156 <div class="text"> 157 <div style="display:none;"> 158 <input type="radio" name='milat_tur_icerik' value='youtube' id='youtube' <?php aktif('milat_tur_icerik','youtube','checked'); ?> /> 159 <input type="radio" name='milat_tur_icerik' value='daily' id='daily' /> 160 <input type="radio" name='milat_tur_icerik' value='vimeo' id='vimeo' /> 161 <input type="radio" name='milat_tur_icerik' value='swf' id='swf' /> 157 162 </div> 158 163 <table class="widefat fixed" cellspacing="0" /> 159 <tbody> 164 <tbody> 160 165 <tr valign="top"> 161 166 <th scope="row" width="270px"> 162 <a style="cursor:pointer;" title="<?php _e( MILAT_POPUP_YARDIM) ?>" onclick="toggleVisibility('vid_you');">Youtube</a>163 <div style="text-align:left; display:none" id="vid_you"><?php _e( MILAT_POPUP_YOUTUBE_ACIKLAMA) ?></div>167 <a style="cursor:pointer;" title="<?php _e("Click for Help!",MILAT_MILAT) ?>" onclick="toggleVisibility('vid_you');">Youtube</a> 168 <div style="text-align:left; display:none" id="vid_you"><?php _e("Please only video id",MILAT_MILAT) ?></div> 164 169 </th> 165 170 <td> … … 171 176 </tr> 172 177 </tbody> 173 </table> 174 </div> 175 </div> 176 177 <div id="milat_ic_duzen_2" class="milat_yatay_tab_view <?php aktif( "milat_tur_icerik","daily","milat_yatay_first_tab_view"); ?>">178 <h2><?php _e( MILAT_POPUP_DAILY) ?></h2>179 180 181 <div class="text"> 182 <div style="display:none;"> 183 <input type="radio" name= "milat_tur_icerik" value="youtube" id="youtube"/>184 <input type="radio" name= "milat_tur_icerik" value="daily" id="daily" <?php aktif("milat_tur_icerik","daily","checked"); ?> />185 <input type="radio" name= "milat_tur_icerik" value="vimeo" id="vimeo"/>186 <input type="radio" name= "milat_tur_icerik" value="swf" id="swf"/>178 </table> 179 </div> 180 </div> 181 182 <div id="milat_ic_duzen_2" class="milat_yatay_tab_view <?php aktif('milat_tur_icerik','daily','milat_yatay_first_tab_view'); ?>"> 183 <h2><?php _e("DAILYMOTION VIDEOS OPENS A POPUP",MILAT_MILAT) ?></h2> 184 185 186 <div class="text"> 187 <div style="display:none;"> 188 <input type="radio" name='milat_tur_icerik' value='youtube' id='youtube' /> 189 <input type="radio" name='milat_tur_icerik' value='daily' id='daily' <?php aktif('milat_tur_icerik','daily','checked'); ?> /> 190 <input type="radio" name='milat_tur_icerik' value='vimeo' id='vimeo' /> 191 <input type="radio" name='milat_tur_icerik' value='swf' id='swf' /> 187 192 </div> 188 193 <table class="widefat fixed" cellspacing="0" /> 189 <tbody> 194 <tbody> 190 195 <tr valign="top"> 191 196 <th scope="row" width="270px"> 192 <a style="cursor:pointer;" title="<?php _e( MILAT_POPUP_YARDIM) ?>" onclick="toggleVisibility('vid_dai');">Dailymotion</a>193 <div style="text-align:left; display:none" id="vid_dai"><?php _e( MILAT_POPUP_DAILY_ACIKLAMA) ?></div>197 <a style="cursor:pointer;" title="<?php _e("Click for Help!",MILAT_MILAT) ?>" onclick="toggleVisibility('vid_dai');">Dailymotion</a> 198 <div style="text-align:left; display:none" id="vid_dai"><?php _e("Please only video id",MILAT_MILAT) ?></div> 194 199 </th> 195 200 <td> … … 201 206 </tr> 202 207 </tbody> 203 </table> 208 </table> 204 209 205 210 </div> 206 211 </div> 207 212 208 <div id="milat_ic_duzen_3" class="milat_yatay_tab_view <?php aktif( "milat_tur_icerik","vimeo","milat_yatay_first_tab_view"); ?>">209 210 <h2><?php _e( MILAT_POPUP_VIMEO) ?></h2>211 212 <div class="text"> 213 <div style="display:none;"> 214 <input type="radio" name= "milat_tur_icerik" value="youtube" id="youtube"/>215 <input type="radio" name= "milat_tur_icerik" value="daily" id="daily"/>216 <input type="radio" name= "milat_tur_icerik" value="vimeo" id="vimeo" <?php aktif("milat_tur_icerik","vimeo","checked"); ?> />217 <input type="radio" name= "milat_tur_icerik" value="swf" id="swf"/>213 <div id="milat_ic_duzen_3" class="milat_yatay_tab_view <?php aktif('milat_tur_icerik','vimeo','milat_yatay_first_tab_view'); ?>"> 214 215 <h2><?php _e("VIMEO VIDEOS OPENS A POPUP",MILAT_MILAT) ?></h2> 216 217 <div class="text"> 218 <div style="display:none;"> 219 <input type="radio" name='milat_tur_icerik' value='youtube' id='youtube' /> 220 <input type="radio" name='milat_tur_icerik' value='daily' id='daily' /> 221 <input type="radio" name='milat_tur_icerik' value='vimeo' id='vimeo' <?php aktif('milat_tur_icerik','vimeo','checked'); ?> /> 222 <input type="radio" name='milat_tur_icerik' value='swf' id='swf' /> 218 223 </div> 219 224 <table class="widefat fixed" cellspacing="0" /> 220 <tbody> 225 <tbody> 221 226 <tr valign="top"> 222 227 <th scope="row" width="270px"> 223 <a style="cursor:pointer;" title="<?php _e( MILAT_POPUP_YARDIM) ?>" onclick="toggleVisibility('vid_vim');">Vimeo</a>224 <div style="text-align:left; display:none" id="vid_vim"><?php _e( MILAT_POPUP_VIMEO_ACIKLAMA) ?></div>228 <a style="cursor:pointer;" title="<?php _e("Click for Help!",MILAT_MILAT) ?>" onclick="toggleVisibility('vid_vim');">Vimeo</a> 229 <div style="text-align:left; display:none" id="vid_vim"><?php _e("Please only video id",MILAT_MILAT) ?></div> 225 230 </th> 226 231 <td> 227 <label for= "vimeo">232 <label for='vimeo'> 228 233 <input id="milat_vimeo" type="text" size="26" name="milat_vimeo" value="<?php _e(get_option('milat_vimeo'));?>" /> 229 234 </label> … … 232 237 </tr> 233 238 </tbody> 234 </table> 239 </table> 235 240 </div> 236 241 </div> 237 242 238 <div id="milat_ic_duzen_4" class="milat_yatay_tab_view <?php aktif( "milat_tur_icerik","swf","milat_yatay_first_tab_view"); ?>">239 <h2><?php _e( MILAT_POPUP_SWF) ?></h2>240 241 <div class="text"> 242 <div style="display:none;"> 243 <input type="radio" name= "milat_tur_icerik" value="youtube" id="youtube"/>244 <input type="radio" name= "milat_tur_icerik" value="daily" id="daily"/>245 <input type="radio" name= "milat_tur_icerik" value="vimeo" id="vimeo"/>246 <input type="radio" name= "milat_tur_icerik" value="swf" id="swf" <?php aktif("milat_tur_icerik","swf","checked"); ?> />243 <div id="milat_ic_duzen_4" class="milat_yatay_tab_view <?php aktif('milat_tur_icerik','swf','milat_yatay_first_tab_view'); ?>"> 244 <h2><?php _e("SWF FILES IN THE PUBLICATION EMBED CODE",MILAT_MILAT) ?></h2> 245 246 <div class="text"> 247 <div style="display:none;"> 248 <input type="radio" name='milat_tur_icerik' value='youtube' id='youtube' /> 249 <input type="radio" name='milat_tur_icerik' value='daily' id='daily' /> 250 <input type="radio" name='milat_tur_icerik' value='vimeo' id='vimeo' /> 251 <input type="radio" name='milat_tur_icerik' value='swf' id='swf' <?php aktif('milat_tur_icerik','swf','checked'); ?> /> 247 252 </div> 248 253 <table class="widefat fixed" cellspacing="0" /> 249 <tbody> 254 <tbody> 250 255 <tr valign="top"> 251 256 <th scope="row" width="270px"> 252 <a style="cursor:pointer;" title="<?php _e( MILAT_POPUP_YARDIM) ?>" onclick="toggleVisibility('vid_swf');">Swf</a>253 <div style="text-align:left; display:none" id="vid_swf"><?php _e( MILAT_POPUP_SWF_ACIKLAMA) ?></div>257 <a style="cursor:pointer;" title="<?php _e("Click for Help!",MILAT_MILAT) ?>" onclick="toggleVisibility('vid_swf');">Swf</a> 258 <div style="text-align:left; display:none" id="vid_swf"><?php _e("Please .swf file url",MILAT_MILAT) ?></div> 254 259 </th> 255 260 <td> … … 261 266 </tr> 262 267 </tbody> 263 </table> 268 </table> 264 269 265 270 </div> … … 277 282 </div> <!-- /#st_vertical --> 278 283 </div> 279 280 </div> 281 </div> 282 </div> <!-- /.milat_view --> 284 285 </div> 286 </div> 287 </div> <!-- /.milat_view --> 283 288 </div> <!-- /.milat_view_container --> 284 289 285 290 286 291 <table class="widefat fixed" cellspacing="0" /> … … 288 293 <tr> 289 294 <th scope="col" width="270px"></th> 290 <th scope="col"><?php _e( MILAT_POPUP_GENEL) ?></th>295 <th scope="col"><?php _e("General Settings",MILAT_MILAT) ?></th> 291 296 </tr> 292 297 </thead> … … 294 299 <tr valign="top"> 295 300 <th> 296 <a style="cursor:pointer;" title="<?php _e( MILAT_POPUP_YARDIM) ?>" onclick="toggleVisibility('anasayfa');"><?php _e(MILAT_POPUP_ANASAYFA) ?></a>297 <div style="text-align:left; display:none" id="anasayfa"><?php _e( MILAT_POPUP_ANASAYFA_ACIKLAMA) ?></div>298 </th> 299 <td> 300 <input type="radio" name="milat_anasayfa" value="yes" <?php echo _r(get_option('milat_anasayfa'), 'yes');?> /><b><?php _e( MILAT_POPUP_EVET) ?>301 <a style="cursor:pointer;" title="<?php _e("Click for Help!",MILAT_MILAT) ?>" onclick="toggleVisibility('anasayfa');"><?php _e("Homepage View ?",MILAT_MILAT) ?></a> 302 <div style="text-align:left; display:none" id="anasayfa"><?php _e("If you select No Popup will not open the Homepage",MILAT_MILAT) ?></div> 303 </th> 304 <td> 305 <input type="radio" name="milat_anasayfa" value="yes" <?php echo _r(get_option('milat_anasayfa'), 'yes');?> /><b><?php _e("Yes",MILAT_MILAT) ?> 301 306 </b><br /> 302 <input type="radio" name="milat_anasayfa" value="no" <?php echo _r(get_option('milat_anasayfa'), 'no');?> /><b><?php _e( MILAT_POPUP_HAYIR) ?>307 <input type="radio" name="milat_anasayfa" value="no" <?php echo _r(get_option('milat_anasayfa'), 'no');?> /><b><?php _e("No",MILAT_MILAT) ?> 303 308 </b> 304 309 </td> … … 306 311 <tr> 307 312 <th> 308 <a style="cursor:pointer;" title="<?php _e( MILAT_POPUP_YARDIM) ?>" onclick="toggleVisibility('sayfalar');"><?php _e(MILAT_POPUP_HERYER) ?></a>309 <div style="text-align:left; display:none" id="sayfalar"><?php _e( MILAT_POPUP_HERYER_ACIKLAMA) ?></div>310 </th> 311 <td> 312 <input type="radio" name="milat_heryer" value="yes" <?php echo _r(get_option('milat_heryer'), 'yes');?> /><b><?php _e( MILAT_POPUP_EVET) ?>313 <a style="cursor:pointer;" title="<?php _e("Click for Help!",MILAT_MILAT) ?>" onclick="toggleVisibility('sayfalar');"><?php _e("Get all the pages to Active ?",MILAT_MILAT) ?></a> 314 <div style="text-align:left; display:none" id="sayfalar"><?php _e("If they yes, Writings, and other Pages Display",MILAT_MILAT) ?></div> 315 </th> 316 <td> 317 <input type="radio" name="milat_heryer" value="yes" <?php echo _r(get_option('milat_heryer'), 'yes');?> /><b><?php _e("Yes",MILAT_MILAT) ?> 313 318 </b> <br /> 314 <input type="radio" name="milat_heryer" value="no" <?php echo _r(get_option('milat_heryer'), 'no');?> /><b><?php _e( MILAT_POPUP_HAYIR) ?>319 <input type="radio" name="milat_heryer" value="no" <?php echo _r(get_option('milat_heryer'), 'no');?> /><b><?php _e("No",MILAT_MILAT) ?> 315 320 </b> 316 321 </td> … … 318 323 <tr> 319 324 <th> 320 <a style="cursor:pointer;" title="<?php _e(MILAT_POPUP_YARDIM) ?>" onclick="toggleVisibility('cerez');"><?php _e(MILAT_POPUP_CEREZ) ?></a> 321 <div style="text-align:left; display:none" id="cerez"><?php _e(MILAT_POPUP_CEREZ_ACIKLAMA) ?></div> 325 <a style="cursor:pointer;" title="<?php _e("Click for Help!",MILAT_MILAT) ?>" onclick="toggleVisibility('kapat');"><?php _e("Button Style",MILAT_MILAT) ?></a> 326 <div style="text-align:left; display:none" id="kapat"><?php _e("Click on whichever you want to get the shutdown button",MILAT_MILAT) ?></div> 327 </th> 328 <td> 329 <label><img src="<?php _e(MILAT_PLUGIN_URL) ?>lib/css/button_black_close.png" /> <div style="display:none;"><input type="radio" name="milat_buton_stil" id="black" value="black" <?php echo _r(get_option('milat_buton_stil'), 'black');?> /></div></label> 330 <label><div style="display:inline;margin-left:20px;"><img src="<?php _e(MILAT_PLUGIN_URL) ?>lib/css/button_grey_close.png" /></div> <div style="display:none;"><input type="radio" name="milat_buton_stil" id="grey" value="grey" <?php echo _r(get_option('milat_buton_stil'), 'grey');?> /></div></label> 331 <label><div style="display:inline;margin-left:20px;"><img src="<?php _e(MILAT_PLUGIN_URL) ?>lib/css/button_white_close.png" /></div> <div style="display:none;"><input type="radio" name="milat_buton_stil" id="white" value="white" <?php echo _r(get_option('milat_buton_stil'), 'white');?> /></div></label> 332 <label><div style="display:inline;margin-left:20px;"><img src="<?php _e(MILAT_PLUGIN_URL) ?>lib/css/button_red_close.png" /></div> <div style="display:none;"><input type="radio" name="milat_buton_stil" id="red" value="red" <?php echo _r(get_option('milat_buton_stil'), 'red');?> /></div></label> 333 <label><div style="display:inline;margin-left:20px;"><img src="<?php _e(MILAT_PLUGIN_URL) ?>lib/css/button_blue_close.png" /></div> <div style="display:none;"><input type="radio" name="milat_buton_stil" id="blue" value="blue" <?php echo _r(get_option('milat_buton_stil'), 'blue');?> /></div></label> 334 <label><div style="display:inline;margin-left:20px;"><img src="<?php _e(MILAT_PLUGIN_URL) ?>lib/css/button_brown_close.png" /></div> <div style="display:none;"><input type="radio" name="milat_buton_stil" id="brown" value="brown" <?php echo _r(get_option('milat_buton_stil'), 'brown');?> /></div></label> 335 336 </td> 337 </tr> 338 <!-- <tr valign="top"> 339 <th> 340 <a style="cursor:pointer;" title="<?php _e("Click for Help!",MILAT_MILAT) ?>" onclick="toggleVisibility('stil');"><?php _e("Close Type",MILAT_MILAT) ?></a> 341 <div style="text-align:left; display:none" id="stil"><?php _e("aciklahuseyin.",MILAT_MILAT) ?></div> 342 </th> 343 <td> 344 <label><input type="checkbox" name="esckapat" id="esckapat" value="aktif" <?php echo _r(get_option('milat_esckapat'), 'aktif');?> /><b> <?php _e("esc close",MILAT_MILAT) ?> </b></label><br /> 345 <label><input type="checkbox" name="arkaplan" id="arkaplan" value="aktif" <?php echo _r(get_option('milat_arkakapat'), 'aktif');?> /><b> <?php _e("arka plan",MILAT_MILAT) ?></b></label> 346 </td> 347 </tr>--> 348 <tr> 349 <th> 350 <a style="cursor:pointer;" title="<?php _e("Click for Help!",MILAT_MILAT) ?>" onclick="toggleVisibility('cerez');"><?php _e("Cookie Storage Time",MILAT_MILAT) ?></a> 351 <div style="text-align:left; display:none" id="cerez"><?php _e("How many hours open to visitors Popup.",MILAT_MILAT) ?></div> 322 352 </th> 323 353 <td> 324 354 <input type="text" name="milat_cookie_saat" size="3" value="<?php echo get_option('milat_cookie_saat');?>" /> 325 <b><?php _e(MILAT_POPUP_SAAT) ?></b> 326 </td> 327 </tr> 328 <tr valign="top"> 329 <th> 330 <a style="cursor:pointer;" title="<?php _e(MILAT_POPUP_YARDIM) ?>" onclick="toggleVisibility('genislik');"><?php _e(MILAT_POPUP_GENISLIK) ?></a> 331 <div style="text-align:left; display:none" id="genislik"><?php _e(MILAT_POPUP_GENISLIK_ACIKLAMA) ?></div> 355 <b><?php _e("Hours of",MILAT_MILAT) ?></b> <a style="cursor:pointer;" title="<?php _e("Always want to open (0)",MILAT_MILAT) ?>"><img src="<?php _e(MILAT_PLUGIN_URL) ?>lib/admin/css/image/ques.png" /></a> 356 357 </td> 358 </tr> 359 <tr valign="top"> 360 <th> 361 <a style="cursor:pointer;" title="<?php _e("Click for Help!",MILAT_MILAT) ?>" onclick="toggleVisibility('genislik');"><?php _e("Popup Weight",MILAT_MILAT) ?></a> 362 <div style="text-align:left; display:none" id="genislik"><?php _e("Popup Weight 200px to 900px.",MILAT_MILAT) ?></div> 332 363 </th> 333 364 <td> … … 338 369 <tr valign="top"> 339 370 <th> 340 <a style="cursor:pointer;" title="<?php _e( MILAT_POPUP_YARDIM) ?>" onclick="toggleVisibility('yukseklik');"><?php _e(MILAT_POPUP_YUKSEKLIK) ?></a>341 <div style="text-align:left; display:none" id="yukseklik"><?php _e( MILAT_POPUP_YUKSEKLIK_ACIKLAMA) ?></div>371 <a style="cursor:pointer;" title="<?php _e("Click for Help!",MILAT_MILAT) ?>" onclick="toggleVisibility('yukseklik');"><?php _e("Popup Height",MILAT_MILAT) ?></a> 372 <div style="text-align:left; display:none" id="yukseklik"><?php _e("Popup Height 100px to 500px",MILAT_MILAT) ?></div> 342 373 </th> 343 374 <td> … … 349 380 <tr valign="top"> 350 381 <th> 351 <a style="cursor:pointer;" title="<?php _e( MILAT_POPUP_YARDIM) ?>" onclick="toggleVisibility('arkaplan');"><?php _e(MILAT_POPUP_ARKAPLAN) ?></a>352 <div style="text-align:left; display:none" id="arkaplan"><?php _e( MILAT_POPUP_ARKAPLAN_ACIKLAMA) ?></div>382 <a style="cursor:pointer;" title="<?php _e("Click for Help!",MILAT_MILAT) ?>" onclick="toggleVisibility('arkaplan');"><?php _e("Popup background color",MILAT_MILAT) ?></a> 383 <div style="text-align:left; display:none" id="arkaplan"><?php _e("You can change the background color of popup",MILAT_MILAT) ?></div> 353 384 </th> 354 385 <td> … … 358 389 <tr valign="top"> 359 390 <th> 360 <a style="cursor:pointer;" title="<?php _e( MILAT_POPUP_YARDIM) ?>" onclick="toggleVisibility('border');"><?php _e(MILAT_POPUP_BORDER) ?></a>361 <div style="text-align:left; display:none" id="border"><?php _e( MILAT_POPUP_BORDER_ACIKLAMA) ?></div>391 <a style="cursor:pointer;" title="<?php _e("Click for Help!",MILAT_MILAT) ?>" onclick="toggleVisibility('border');"><?php _e("Border Color",MILAT_MILAT) ?></a> 392 <div style="text-align:left; display:none" id="border"><?php _e("Border Color optional choose",MILAT_MILAT) ?></div> 362 393 </th> 363 394 <td> … … 367 398 <tr valign="top"> 368 399 <th> 369 <a style="cursor:pointer;" title="<?php _e( MILAT_POPUP_YARDIM) ?>" onclick="toggleVisibility('border_gen');"><?php _e(MILAT_POPUP_BORDER_GENISLIK) ?></a>370 <div style="text-align:left; display:none" id="border_gen"><?php _e( MILAT_POPUP_BORDER_GENISLIK_ACIKLAMA) ?></div>400 <a style="cursor:pointer;" title="<?php _e("Click for Help!",MILAT_MILAT) ?>" onclick="toggleVisibility('border_gen');"><?php _e("Border Width",MILAT_MILAT) ?></a> 401 <div style="text-align:left; display:none" id="border_gen"><?php _e("Border width 1px to 20px",MILAT_MILAT) ?></div> 371 402 </th> 372 403 <td> … … 377 408 <th></th> 378 409 <td> 379 <input type="submit" class="button-primary" value="<?php _e( MILAT_POPUP_KAYIT) ?>" /> <input type="button" rel="preview" class="button-primary" value="<?php _e(MILAT_POPUP_IZLEME) ?>" />410 <input type="submit" class="button-primary" value="<?php _e("Save",MILAT_MILAT) ?>" /> <input type="button" rel="preview" class="button-primary" value="<?php _e("Live Preview",MILAT_MILAT) ?>" /> 380 411 </td> 381 412 382 <input type="hidden" name="gonder" value="milat_ayarlari_guncelle" /> 383 </form> 384 </tbody> 385 </table> 413 <input type="hidden" name="gonder" value="milat_ayarlari_guncelle" /> 414 415 </tbody> 416 </table> 417 </form> 386 418 <div id="kutu"> 387 419 <div style="display:none;" id="pencere" style="" class="window"> 388 <a href="#" class="close"></a>420 <a href="#" class="close"></a> 389 421 </div> 390 422 <div id="karartma"></div> 391 423 </div> 424 <input type="hidden" id="adres" value="<?php _e(MILAT_PLUGIN_URL) ?>" /> 392 425 </div> 393 426 <script> -
milat-jquery-automatic-popup/trunk/lib/js/jquery-milat.js
r476409 r599656 1 var j = jQuery.noConflict();2 j .cookie = function(name, value, options) {1 var jmil = jQuery.noConflict(); 2 jmil.cookie = function(name, value, options) { 3 3 if (typeof value != 'undefined') { // name and value given, set cookie 4 4 options = options || {}; … … 30 30 var cookies = document.cookie.split(';'); 31 31 for (var i = 0; i < cookies.length; i++) { 32 var cookie = j .trim(cookies[i]);32 var cookie = jmil.trim(cookies[i]); 33 33 // Does this cookie string begin with the name we want? 34 34 if (cookie.substring(0, name.length + 1) == (name + '=')) { … … 42 42 }; 43 43 44 if((j .cookie('milat') == 0 )|| (j.cookie('milat') == null) )44 if((jmil.cookie('milat') == 0 )|| (jmil.cookie('milat') == null) ) 45 45 { 46 j (document).ready(function() {46 jmil(document).ready(function() { 47 47 48 48 var id = '#pencere'; 49 49 50 50 //Get the screen height and width 51 var karartmaHeight = j (document).height();52 var karartmaWidth = j (window).width();51 var karartmaHeight = jmil(document).height(); 52 var karartmaWidth = jmil(window).width(); 53 53 54 54 //Set heigth and width to karartma to fill up the whole screen 55 j ('#karartma').css({'width':karartmaWidth,'height':karartmaHeight});55 jmil('#karartma').css({'width':karartmaWidth,'height':karartmaHeight}); 56 56 57 57 //transition effect 58 j ('#karartma').fadeIn(1000);59 j ('#karartma').fadeTo("slow",0.8);58 jmil('#karartma').fadeIn(1000); 59 jmil('#karartma').fadeTo("slow",0.8); 60 60 61 61 //Get the window height and width 62 var winH = j (window).height();63 var winW = j (window).width();62 var winH = jmil(window).height(); 63 var winW = jmil(window).width(); 64 64 65 65 //Set the popup window to center 66 j (id).css('top', winH/2-j(id).height()/2);67 j (id).css('left', winW/2-j(id).width()/2);66 jmil(id).css('top', winH/2-jmil(id).height()/2); 67 jmil(id).css('left', winW/2-jmil(id).width()/2); 68 68 69 69 //transition effect 70 j (id).show(1000);70 jmil(id).show(1000); 71 71 72 72 //if close button is clicked 73 j ('.window .close').click(function (e) {73 jmil('.window .close').click(function (e) { 74 74 //Cancel the link behavior 75 75 e.preventDefault(); 76 j('#karartma').fadeOut(); 77 j('.window').slideUp(); 76 jmil('#karartma').fadeOut(); 77 jmil('.window').slideUp(); 78 setTimeout( function() { 79 jmil('#kutu').remove(); 80 }, 1000 ); 78 81 }); 79 82 80 83 //if karartma is clicked 81 j('#karartma').click(function () { 82 j(this).fadeOut(); 83 j('.window').slideUp(); 84 }); 85 84 jmil('#karartma').click(function (e) { 85 jmil('#karartma').fadeOut(); 86 jmil('.window').slideUp(); 87 setTimeout( function() { 88 jmil('#kutu').remove(); 89 }, 1000 ); 90 }); 91 /* If you want to delete the line 87 with the closing session if the esc 92 jmil(document).bind('keydown', function(e) { 93 if (e.which == 27) { 94 jmil('#karartma').fadeOut(); 95 jmil('.window').slideUp(); 96 setTimeout( function() { 97 jmil('#kutu').remove(); 98 }, 1000 ); 99 } 100 }); 101 If you want to delete the line 95 with the closing session if the esc */ 86 102 }); 87 103 } -
milat-jquery-automatic-popup/trunk/milat-jquery-popup.php
r497845 r599656 7 7 * Plugin URI: http://www.milat.org/wordpress-otomatik-popup-eklentisi/ 8 8 * Description: jQuery ile Sayfa Yüklendikten Sonra Otomatik Açılan Popup 9 * Version: 1. 2.09 * Version: 1.3.0 10 10 * Author: MiLaT 11 11 * Author URI: http://www.milat.org/ 12 12 */ 13 error_reporting(0); 13 14 14 if(preg_match('#' . basename(__FILE__) . '#', $_SERVER['PHP_SELF'])) { die('Lütfen Olmuyor Böyle'); } 15 15 16 if (is_admin ()) { 17 define ( 'MILAT_PLUGIN_URL', '../' . PLUGINDIR . '/milat-jquery-automatic-popup' ); 18 } else { 19 define ( 'MILAT_PLUGIN_URL', PLUGINDIR . '/milat-jquery-automatic-popup' ); 20 } 21 22 define('MILAT_LIB_URL', MILAT_PLUGIN_URL. '/lib'); 23 define('MILAT_INC_URL', MILAT_LIB_URL . '/includes'); 16 define ( 'MILAT_PLUGIN_URL', WP_PLUGIN_URL . '/' . dirname( plugin_basename( __FILE__ ) ) .'/'); 17 define ( 'MILAT_MILAT', 'milat_milat'); 24 18 25 19 26 20 include_once 'milat-load.php'; 27 21 load_plugin_textdomain( 'milat_milat', false, dirname( plugin_basename(__FILE__) ) . '/lang' ); 28 22 /* Kurulum */ 29 include_once MILAT_INC_URL . '/admin.install.php';23 include_once 'lib/includes/admin.install.php'; 30 24 ?> -
milat-jquery-automatic-popup/trunk/milat-load.php
r497845 r599656 3 3 * Bismillahirrahmanirrahim 4 4 * @jQuery Popup 5 * @since 1. 2.05 * @since 1.3.0 6 6 */ 7 7 -
milat-jquery-automatic-popup/trunk/readme.txt
r497865 r599656 5 5 Requires at least: 3.0 6 6 Tested up to: 3.3.1 7 Stable tag: 1. 2.07 Stable tag: 1.3.0 8 8 9 Creates unblockable, dynamic and fully configurable popup sfor your blog.9 Creates unblockable, dynamic and fully configurable popup for your blog. 10 10 11 11 == Description == … … 17 17 = Visual Text Editor = 18 18 19 Now, no more clunky HTML code to deal with on your popup s. Using the WordPress built-in WYSIWYG editor, you can now just worry about what you want to say, and not how to display it.19 Now, no more clunky HTML code to deal with on your popup. Using the WordPress built-in WYSIWYG editor, you can now just worry about what you want to say, and not how to display it. 20 20 21 21 = Stop Bugging Return Visitors = … … 25 25 work right every time. 26 26 27 = Bu eklentiyle neler yapabilirsiniz =28 29 WordPress Milat Popup eklentisi ile blogunuza girince istediginiz ozelliklerde acilir pencere acilmasini saglayabilirsiniz.30 31 32 Popup alaninda facebook , twitter begen butonlari koyabilirsiniz.33 34 Resim koyabilirsiniz.35 36 Html kod koyabilirsiniz.37 38 Reklam Kodlarinizi paylasabilirsiniz39 40 Popup icin baslik belirleyebilirsiniz.41 42 Popup kisminda gorsel veya html olarak duzenleme yapabilirsiniz43 44 Sadece anasayfada gosterim yapabilirsiniz.45 46 Sadece tekil yazi gosterimi ve sabit sayfalarda kullanabilirsiniz.47 48 Cookie cerez suresini belirleyebilirsiniz.49 27 50 28 http://www.milat.org/ … … 75 53 [youtube http://www.youtube.com/watch?v=3ogC1F4P7MA&hd=1] 76 54 55 1. Admin Pege 56 57 2. Preview 58 77 59 78 60 == Changelog == 61 62 = 1.3.0 = 63 64 * Close Button Style ( Optional ) 65 * jQuery New Version Thanks ( http://wordpress.org/support/profile/metacomcreative ) 66 * Always open ( Optional ) 67 * Video Bug 68 * Added to the language file ( contact [email protected] ) 69 * Added do_shortcode Thansk( http://cheatsheet.davidprog.hu/milat-jquery-automatic-popup-javitas/ ) 79 70 80 71 = 1.2.0 =
Note: See TracChangeset
for help on using the changeset viewer.