Plugin Directory

Changeset 599656


Ignore:
Timestamp:
09/16/2012 02:43:22 PM (14 years ago)
Author:
milat
Message:
 
Location:
milat-jquery-automatic-popup/trunk
Files:
13 added
13 edited

Legend:

Unmodified
Added
Removed
  • milat-jquery-automatic-popup/trunk/admin.init.php

    r497845 r599656  
    33 * Bismillahirrahmanirrahim
    44 * @jQuery Popup
    5  * @since 1.2.0
     5 * @since 1.3.0
    66*/                             
    77if(preg_match('#' . basename(__FILE__) . '#', $_SERVER['PHP_SELF'])) { die('Lütfen Olmuyor Böyle'); }
    8 include_once MILAT_INC_URL . '/admin.common.php'; // Common Functions
     8include_once 'lib/includes/admin.common.php'; // Common Functions
    99
    1010
  • milat-jquery-automatic-popup/trunk/init.php

    r497845 r599656  
    33 * Bismillahirrahmanirrahim
    44 * @jQuery Popup
    5  * @since 1.2.0
     5 * @since 1.3.0
    66*/                                 
    77if(preg_match('#' . basename(__FILE__) . '#', $_SERVER['PHP_SELF'])) { die('Lütfen Olmuyor Böyle'); }
    8 include_once MILAT_INC_URL . '/common.php';
     8include_once 'lib/includes/common.php';
    99
    1010add_action('init', 'milatInit');
  • milat-jquery-automatic-popup/trunk/lib/admin/js/milat.admin.js

    r497845 r599656  
    6868          var genislik      = $("#milat_genislik").val();
    6969          var ykseklik      = $("#milat_yukseklik").val();
     70          var esctur        = $("input[name='esckapat']:checked").val();
     71          var bgturu        = $("input[name='arkaplan']:checked").val();
    7072          var border        = $("#colorpickerField2").val();
    7173          var border_genis  = $("#milat_border_genislik").val();
    7274          var tur           = $("input[name='milat_tur']:checked").val();       
    7375          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
    7581          var id = '#pencere';
    7682
     
    8490               
    8591                    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+';');                     
    8794                        $('#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);
    8996                    }
    9097
     
    9299                        $('#pencere').attr('style','height:'+ykseklik+'px; width:'+genislik+'px;  border:'+border_genis+'px solid #'+border+';');
    93100                            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+'"  />');
    95102                            }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>');
    97104                            }
    98105                    }
     
    101108                        if(tur_icerik=="youtube"){
    102109                            $('#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>');
    104111                        }
    105112                       
    106113                        if(tur_icerik=="daily"){
    107114                            $('#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>');
    109116                        }
    110117
    111118                        if(tur_icerik=="vimeo"){
    112119                            $('#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&amp;byline=0&amp;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&amp;byline=0&amp;portrait=0" width="'+genislik+'" height="'+ykseklik+'" frameborder="0" webkitAllowFullScreen mozallowfullscreen allowFullScreen></iframe>');                       
    114121                        }
    115122
    116123                        if(tur_icerik=="swf"){
    117124                            $('#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>');                     
    119126                        }                       
    120127                    }
     
    138145            $('.window .close').click(function (e) {
    139146                //Cancel the link behavior
    140                 e.preventDefault();
     147                e.preventDefault();             
    141148                $('#karartma').fadeOut();
    142149                $('.window').slideUp();
    143 
    144             });
    145 
     150            });       
     151           
    146152            //if karartma is clicked
    147153            $('#karartma').click(function () {
    148                 $(this).fadeOut();
     154                $('#karartma').fadeOut();
    149155                $('.window').slideUp();
    150 
    151 
    152156            });
     157       
    153158    });
    154159});
     160
    155161    $('#colorpickerField1,#colorpickerField2').ColorPicker({
    156162
  • milat-jquery-automatic-popup/trunk/lib/css/style.css

    r497845 r599656  
    55    position: fixed;
    66    top: 0;
    7     z-index: 9998;
     7    z-index: 99998 !important;
    88}
    99#kutu .window {
     
    1313    display: none;
    1414    position: fixed;
    15     z-index: 9999;
     15    z-index: 99999 !important;
    1616}
    1717
     
    2020}
    2121#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;
    2323    cursor: pointer;
    2424    height: 50px;
     
    2727    right: -39px;
    2828    top: -39px;
    29     z-index: 9999;
     29    z-index: 99999 ;
    3030}
    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  
    33 * Bismillahirrahmanirrahim
    44 * @jQuery Popup
    5  * @since 1.2.0
     5 * @since 1.3.0
    66*/
    77if(preg_match('#' . basename(__FILE__) . '#', $_SERVER['PHP_SELF'])) { die('Lütfen Olmuyor Böyle'); }
    88function milatAyarSayfa() {
    9     add_options_page( 'jQuery Sayfa Popup Ayarları', 'Milat jQuery Popup', 'manage_options', 'milat-jquery-automatic-popup', 'milatAyarSayfaGetir');
     9    add_options_page( 'Milat jQuery Popup', 'Milat Popup', 'manage_options', 'milat-jquery-automatic-popup', 'milatAyarSayfaGetir');
    1010}
    1111
    1212function milatAyarSayfaGetir() {
    13     include MILAT_INC_URL . '/milat-ayar.php';
     13    include 'milat-ayar.php';
    1414}
    1515
    1616function 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
    2718    wp_enqueue_style('thickbox');
    2819    wp_enqueue_script('thickbox');
     
    3425    $js = <<<JS
    3526    <script type="text/javascript">
    36 
    3727function toggleVisibility(id) {
    3828       var e = document.getElementById(id);
     
    4232          e.style.display = 'block';
    4333    }
    44 
    4534</script>
    4635JS;
  • milat-jquery-automatic-popup/trunk/lib/includes/admin.install.php

    r497845 r599656  
    44 * Ana Kurulum Fonksiyonu
    55 * @name milat Kurulum
    6  * @since 1.2.0
     6 * @since 1.3.0
    77*/                   
    88 if(preg_match('#' . basename(__FILE__) . '#', $_SERVER['PHP_SELF'])) { die('Lütfen Olmuyor Böyle'); }
    99
    1010    // Kurulum bölümü
    11     if(get_option('milat-kurulum') != '1') {
     11    if(get_option('milat_kurulum') != '1') {
    1212       $ayarlar = array(
    1313        'milat_kurulum' => '1',
     
    2121        'milat_swf' => '',
    2222        'milat_resim' => '',
    23         'milat_border_genislik' => '20',
     23        'milat_border_genislik' => '5',
    2424        'milat_border' => 'dddddd',
     25        'milat_buton_stil' => 'white',
    2526        'milat_resim_link' => '',
    2627        'milat_anasayfa' => 'yes',
     
    2930        'milat_genislik' => '325',
    3031        'milat_yukseklik' => '200',
    31         'milat_arkaplan' => '000000'
     32        'milat_arkaplan' => '000000',
     33 //      'milat_arkakapat' => '',
     34 //       'milat_esckapat' => ''
    3235        );
    3336
  • milat-jquery-automatic-popup/trunk/lib/includes/admin.options.php

    r497845 r599656  
    33 * Bismillahirrahmanirrahim
    44 * @jQuery Popup
    5  * @since 1.2.0
    6 */ 
     5 * @since 1.3.0
     6*/
    77
    88if(preg_match('#' . basename(__FILE__) . '#', $_SERVER['PHP_SELF'])) { die('Lütfen Olmuyor Böyle'); }
     
    1111        if($_POST['gonder'] == 'milat_ayarlari_guncelle') {
    1212            update_option('milat_baslik', $_POST['milat_baslik']);
    13             update_option('milat_yazi', $_POST['milat_yazi']);         
     13            update_option('milat_yazi', $_POST['milat_yazi']);
    1414            update_option('milat_tur', $_POST['milat_tur']);
    1515            update_option('milat_tur_icerik', $_POST['milat_tur_icerik']);
     
    1818            update_option('milat_vimeo', $_POST['milat_vimeo']);
    1919            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']);
    2222            update_option('milat_anasayfa', $_POST['milat_anasayfa']);
    2323            update_option('milat_heryer', $_POST['milat_heryer']);
     24            update_option('milat_buton_stil', $_POST['milat_buton_stil']);
    2425            update_option('milat_cookie_saat', $_POST['milat_cookie_saat']);
    2526            update_option('milat_genislik', $_POST['milat_genislik']);
    2627            update_option('milat_yukseklik', $_POST['milat_yukseklik']);
    2728            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']);
    3033        }
    3134    }
     
    3639function milatTinyMCE() {
    3740
    38     add_filter('wp_default_editor', create_function('', 'return "html";'));                     
     41  add_filter('wp_default_editor', create_function('', 'return "html";'));
    3942
    4043    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";'));
    4245         echo '<div id="poststuff"><div id="postdivrich" class="postarea">';
    4346             the_editor(stripcslashes(get_option('milat_yazi')), "milat_yazi",false,false);
     
    4649    }
    4750     else if (get_bloginfo('version') < "3.3") {
    48            
     51
    4952         echo '<div id="poststuff"><div id="postdivrich" class="postarea">';
    5053             the_editor(stripcslashes(get_option('milat_yazi')), "milat_yazi",false,false);
     
    7578    function milatMesajSonuc() {
    7679        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>';
    7883        }
    79     }   
     84    }
    8085
    8186    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;
    8590        }
    86    
     91
    8792    }
    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  
    33 * Bismillahirrahmanirrahim
    44 * @jQuery Popup
    5  * @since 1.2.0
     5 * @since 1.3.0
    66*/
    77if(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
    109 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 }
    1614
    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');
    2017 }
    2118
     
    2623   
    2724        if($milat_tur=='html'){
    28             $icerik = stripcslashes(get_option('milat_yazi'));
     25            $icerik = do_shortcode(stripcslashes(get_option('milat_yazi')));
    2926            $baslik = stripcslashes(get_option('milat_baslik'));
    3027            if(!empty($baslik)){
    31                 $icerik = " <h2>$baslik</h2>".
     28                $icerik = '<div id="baslik"><h2>'.$baslik.'</h2></div>'.
    3229                $icerik;
    3330            }
     
    7774    $yukseklik  = get_option('milat_yukseklik');
    7875    $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); }";
    7983    $arkaplan  = "#karartma {   background-color: #".get_option('milat_arkaplan')."; }";
    8084    $border    = "#kutu .window { border:".get_option('milat_border_genislik')."px solid #".get_option('milat_border')."; }";
     
    8892    $js = <<<JS
    8993    <style type="text/css">
    90         $arkaplan
    91         $genislik
    92         $yukseklik
    93         $border 
     94      $baslikcss
     95      $arkaplan
     96      $genislik
     97      $yukseklik
     98      $border
     99      $buton
    94100    </style>
    95101    <script type="text/javascript">
    96       j.cookie('milat', {expires: $zaman});
     102     $zaman
    97103    </script>
    98104JS;
  • milat-jquery-automatic-popup/trunk/lib/includes/milat-ayar.php

    r497845 r599656  
    33 * Bismillahirrahmanirrahim
    44 * @jQuery Popup
    5  * @since 1.2.0
    6 */ 
    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
     8if(preg_match('#' . basename(__FILE__) . '#', $_SERVER['PHP_SELF'])) { die('Lütfen Olmuyor Böyle'); }
     9include_once 'admin.options.php';
    1010milatAyarGuncelle();
    1111?>
    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>     
    1621<div class="wrap">
    1722    <table width="100%">
    1823        <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>
    2025            <td width="17%">
    2126                <form action="https://www.paypal.com/cgi-bin/webscr" method="post">
     
    3237    </table>
    3338    <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">
    3742            <div class="milat_slide_container">
    3843                <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>
    4247                </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' />
    5358                    </div>
    5459                    <table class="widefat fixed" cellspacing="0" />
     
    5661                        <tr>
    5762                            <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>
    6166                            </th>
    6267                            <td>
     
    6671                          <tr valign="top">
    6772                            <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>
    7075                            </th>
    7176                            <td>
     
    7580                       </tbody>
    7681                       </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' />
    8691                    </div>
    8792                     <table class="widefat fixed" cellspacing="0" />
    88                         <tbody>                 
     93                        <tbody>
    8994                            <tr valign="top">
    9095                                <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>
    9398                                </th>
    9499                                <td>
     
    96101                                        <input id="milat_resim" type="text" size="76" name="milat_resim" value="<?php _e(get_option('milat_resim'));?>" />
    97102                                        <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>
    99104                                    </label>
    100105                                </td>
     
    102107                            <tr valign="top">
    103108                                <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>
    106111                                </th>
    107112                                <td>
     
    116121                    </div>
    117122                </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'); ?>">
    120125                    <div class="text">
    121126                     <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'); ?> />
    125130                    </div>
    126131                        <div id="milat_yatay" class="milat_yatay">
     
    131136
    132137                <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>
    137142                </ul>
    138143
     
    146151            <div class="milat_yatay_view">
    147152
    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' />
    157162                    </div>
    158163                         <table class="widefat fixed" cellspacing="0" />
    159                             <tbody>                 
     164                            <tbody>
    160165                               <tr valign="top">
    161166                                    <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>
    164169                                    </th>
    165170                                    <td>
     
    171176                                </tr>
    172177                           </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' />
    187192                    </div>
    188193                        <table class="widefat fixed" cellspacing="0" />
    189                             <tbody>                 
     194                            <tbody>
    190195                               <tr valign="top">
    191196                                    <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>
    194199                                    </th>
    195200                                    <td>
     
    201206                                </tr>
    202207                           </tbody>
    203                        </table> 
     208                       </table>
    204209
    205210                    </div>
    206211                </div>
    207212
    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' />
    218223                    </div>
    219224                         <table class="widefat fixed" cellspacing="0" />
    220                             <tbody>                 
     225                            <tbody>
    221226                               <tr valign="top">
    222227                                    <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>
    225230                                    </th>
    226231                                    <td>
    227                                         <label for="vimeo">
     232                                        <label for='vimeo'>
    228233                                            <input id="milat_vimeo" type="text" size="26" name="milat_vimeo" value="<?php _e(get_option('milat_vimeo'));?>" />
    229234                                        </label>
     
    232237                                </tr>
    233238                           </tbody>
    234                        </table>                         
     239                       </table>
    235240                    </div>
    236241                </div>
    237242
    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'); ?> />
    247252                    </div>
    248253                         <table class="widefat fixed" cellspacing="0" />
    249                             <tbody>                 
     254                            <tbody>
    250255                               <tr valign="top">
    251256                                    <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>
    254259                                    </th>
    255260                                    <td>
     
    261266                                </tr>
    262267                           </tbody>
    263                        </table> 
     268                       </table>
    264269
    265270                    </div>
     
    277282    </div> <!-- /#st_vertical -->
    278283                    </div>
    279                    
    280                 </div>
    281                 </div>
    282             </div> <!-- /.milat_view -->         
     284
     285                </div>
     286                </div>
     287            </div> <!-- /.milat_view -->
    283288        </div> <!-- /.milat_view_container -->
    284      
     289
    285290
    286291    <table class="widefat fixed" cellspacing="0" />
     
    288293            <tr>
    289294                <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>
    291296            </tr>
    292297        </thead>
     
    294299          <tr valign="top">
    295300            <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) ?>
    301306              </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) ?>
    303308                </b>
    304309            </td>
     
    306311          <tr>
    307312            <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) ?>
    313318              </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) ?>
    315320                </b>
    316321            </td>
     
    318323          <tr>
    319324            <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>
    322352            </th>
    323353            <td>
    324354               <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>
    332363            </th>
    333364            <td>
     
    338369          <tr valign="top">
    339370            <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>
    342373            </th>
    343374            <td>
     
    349380          <tr valign="top">
    350381            <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>
    353384            </th>
    354385            <td>
     
    358389          <tr valign="top">
    359390            <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>
    362393            </th>
    363394            <td>
     
    367398          <tr valign="top">
    368399            <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>
    371402            </th>
    372403            <td>
     
    377408          <th></th>
    378409          <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) ?>" />
    380411          </td>
    381412
    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>
    386418    <div id="kutu">
    387419        <div style="display:none;" id="pencere" style="" class="window">
    388             <a href="#" class="close"></a>
     420            <a href="#" class="close"></a>
    389421        </div>
    390422        <div id="karartma"></div>
    391423    </div>
     424  <input type="hidden" id="adres" value="<?php _e(MILAT_PLUGIN_URL) ?>" />
    392425</div>
    393426    <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) {
     1var jmil = jQuery.noConflict();
     2jmil.cookie = function(name, value, options) {
    33    if (typeof value != 'undefined') { // name and value given, set cookie
    44        options = options || {};
     
    3030            var cookies = document.cookie.split(';');
    3131            for (var i = 0; i < cookies.length; i++) {
    32                 var cookie = j.trim(cookies[i]);
     32                var cookie = jmil.trim(cookies[i]);
    3333                // Does this cookie string begin with the name we want?
    3434                if (cookie.substring(0, name.length + 1) == (name + '=')) {
     
    4242};
    4343
    44 if((j.cookie('milat') == 0 )|| (j.cookie('milat') == null) )
     44if((jmil.cookie('milat') == 0 )|| (jmil.cookie('milat') == null) )
    4545    {
    46         j(document).ready(function() {   
     46        jmil(document).ready(function() {   
    4747
    4848                var id = '#pencere';
    4949           
    5050                //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();
    5353           
    5454                //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});
    5656               
    5757                //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);   
    6060           
    6161                //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();
    6464                     
    6565                //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);
    6868           
    6969                //transition effect
    70                 j(id).show(1000);     
     70                jmil(id).show(1000);     
    7171           
    7272            //if close button is clicked
    73             j('.window .close').click(function (e) {
     73            jmil('.window .close').click(function (e) {
    7474                //Cancel the link behavior
    7575                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 );
    7881            });       
    7982           
    8083            //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 */
    86102        });
    87103    }   
  • milat-jquery-automatic-popup/trunk/milat-jquery-popup.php

    r497845 r599656  
    77 * Plugin URI: http://www.milat.org/wordpress-otomatik-popup-eklentisi/
    88 * Description: jQuery ile Sayfa Yüklendikten Sonra Otomatik Açılan Popup
    9  * Version: 1.2.0
     9 * Version: 1.3.0
    1010 * Author: MiLaT
    1111 * Author URI: http://www.milat.org/
    1212 */
    13 error_reporting(0);
     13
    1414if(preg_match('#' . basename(__FILE__) . '#', $_SERVER['PHP_SELF'])) { die('Lütfen Olmuyor Böyle'); }
    1515
    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');
     16define ( 'MILAT_PLUGIN_URL', WP_PLUGIN_URL . '/' . dirname( plugin_basename( __FILE__ ) )  .'/');
     17define ( 'MILAT_MILAT', 'milat_milat');
    2418
    2519
    2620include_once 'milat-load.php';
    27 
     21    load_plugin_textdomain( 'milat_milat', false, dirname( plugin_basename(__FILE__) ) . '/lang' );
    2822/* Kurulum */
    29 include_once MILAT_INC_URL . '/admin.install.php';
     23include_once 'lib/includes/admin.install.php';
    3024?>
  • milat-jquery-automatic-popup/trunk/milat-load.php

    r497845 r599656  
    33 * Bismillahirrahmanirrahim
    44 * @jQuery Popup
    5  * @since 1.2.0
     5 * @since 1.3.0
    66*/
    77
  • milat-jquery-automatic-popup/trunk/readme.txt

    r497865 r599656  
    55Requires at least: 3.0
    66Tested up to: 3.3.1
    7 Stable tag: 1.2.0
     7Stable tag: 1.3.0
    88
    9 Creates unblockable, dynamic and fully configurable popups for your blog.
     9Creates unblockable, dynamic and fully configurable popup for your blog.
    1010
    1111== Description ==
     
    1717= Visual Text Editor =
    1818
    19 Now, no more clunky HTML code to deal with on your popups. Using the WordPress built-in WYSIWYG editor, you can now just worry about what you want to say, and not how to display it.
     19Now, 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.
    2020
    2121= Stop Bugging Return Visitors =
     
    2525work right every time.
    2626
    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 paylasabilirsiniz
    39 
    40 Popup icin baslik belirleyebilirsiniz.
    41 
    42 Popup kisminda gorsel veya html olarak duzenleme yapabilirsiniz
    43 
    44 Sadece anasayfada gosterim yapabilirsiniz.
    45 
    46 Sadece tekil yazi gosterimi ve sabit sayfalarda kullanabilirsiniz.
    47 
    48 Cookie cerez suresini belirleyebilirsiniz.
    4927
    5028http://www.milat.org/
     
    7553[youtube http://www.youtube.com/watch?v=3ogC1F4P7MA&hd=1]
    7654
     551. Admin Pege
     56
     572. Preview
     58
    7759
    7860== 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/ )
    7970
    8071= 1.2.0 =
Note: See TracChangeset for help on using the changeset viewer.