Changeset 207485
- Timestamp:
- 02/18/2010 04:39:14 AM (16 years ago)
- Location:
- turkce-konus/trunk
- Files:
-
- 14 added
- 2 edited
-
images/deniz (added)
-
images/deniz/hb.gif (added)
-
images/deniz/hl.gif (added)
-
images/deniz/hr.gif (added)
-
images/deniz/vb.gif (added)
-
images/deniz/vl.gif (added)
-
images/deniz/vr.gif (added)
-
images/yaprak (added)
-
images/yaprak/hb.gif (added)
-
images/yaprak/hl.gif (added)
-
images/yaprak/hr.gif (added)
-
images/yaprak/vb.gif (added)
-
images/yaprak/vl.gif (added)
-
images/yaprak/vr.gif (added)
-
readme.txt (modified) (1 diff)
-
turkce-konus.php (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
turkce-konus/trunk/readme.txt
r195586 r207485 14 14 2. Eklentiler sayfasından eklentiyi etkinleştiriniz. 15 15 3. Görünüm/Bileşenler sayfasından temanıza ekleyip bir tema seçiniz. 16 * Dilerseniz Tema ve Yön seçerek eklnetiyi sitenize daha uyumlu hale getirebilirsiniz. 16 17 17 18 == Changelog == 19 20 = 2.2 = 21 * 18.02.2010 - Temalar değişti ve yön seçeneği eklendi. 18 22 19 23 = 2.1 = -
turkce-konus/trunk/turkce-konus.php
r195586 r207485 4 4 Plugin URI: http://wordpress.org/extend/plugins/turkce-konus 5 5 Description: Toplumda sıkça kullanılan İngilizce kökenli kelimeler yerine kullanabileceğimiz Türkçe kelimeleri hatırlatır. 6 Version: 2. 16 Version: 2.2 7 7 Author: Süleyman ÜSTÜN 8 8 Author URI: http://www.suleymanustun.com … … 17 17 function widget($args, $instance) { 18 18 extract( $args ); 19 $tema = apply_filters('widget_title', $instance['tema']); 19 $theme = apply_filters('widget_title', $instance['theme']); 20 $dir = apply_filters('widget_title', $instance['dir']); 20 21 include('lutfen.inc'); 21 22 $i = 1; … … 23 24 foreach ($kelimeler as $eng=>$trk){ 24 25 if ($i==$at){ 25 if ($t ema==''){26 if ($theme=='' OR $theme=='Bayrak'){ 26 27 ?> 27 <table width="100%" cellpadding="0" cellspacing="0"> 28 <tr> 29 <td width="5"><img src="<?=bloginfo("url");?>/wp-content/plugins/turkce-konus/images/bayrak/sol.gif"></td> 30 <td style="background:url(<?=bloginfo("url");?>/wp-content/plugins/turkce-konus/images/bayrak/arka.gif);"> 31 <div style="height:72px; background:url(<?=bloginfo("url");?>/wp-content/plugins/turkce-konus/images/bayrak/bayrak.gif) no-repeat center right;"> 32 <div style="padding-top:5px; font: 20px Georgia, Times,Sans-Serif; color:#FFFFFF;"><strong>Türkçe Konuş</strong></div> 33 <div style="font-family:Trebuchet MS; font-size:10pt; line-height:14px; color:#FFFFFF;">Lütfen <?=$eng;?> yerine <?=$trk;?> kelimesini kullanın.</div> 34 </div> 35 </td> 36 <td width="5"><img src="<?=bloginfo("url");?>/wp-content/plugins/turkce-konus/images/bayrak/sag.gif"></td> 37 </tr> 38 </table> 39 <?php }elseif ($tema=='Bayrak'){ ?> 40 <table width="100%" cellpadding="0" cellspacing="0"> 41 <tr> 42 <td width="5"><img src="<?=bloginfo("url");?>/wp-content/plugins/turkce-konus/images/bayrak/sol.gif"></td> 43 <td style="background:url(<?=bloginfo("url");?>/wp-content/plugins/turkce-konus/images/bayrak/arka.gif);"> 44 <div style="height:72px; background:url(<?=bloginfo("url");?>/wp-content/plugins/turkce-konus/images/bayrak/bayrak.gif) no-repeat center right;"> 45 <div style="padding-top:5px; font: 20px Georgia, Times,Sans-Serif; color:#FFFFFF;"><strong>Türkçe Konuş</strong></div> 46 <div style="font-family:Trebuchet MS; font-size:10pt; line-height:14px; color:#FFFFFF;">Lütfen <?=$eng;?> yerine <?=$trk;?> kelimesini kullanın.</div> 47 </div> 48 </td> 49 <td width="5"><img src="<?=bloginfo("url");?>/wp-content/plugins/turkce-konus/images/bayrak/sag.gif"></td> 50 </tr> 51 </table> 52 <?php }elseif ($tema=='Wordpress'){ ?> 53 <table width="100%" cellpadding="0" cellspacing="0"> 54 <tr> 55 <td width="5"><img src="<?=bloginfo("url");?>/wp-content/plugins/turkce-konus/images/wordpress/sol.gif"></td> 56 <td style="background:url(<?=bloginfo("url");?>/wp-content/plugins/turkce-konus/images/wordpress/arka.gif);"> 57 <div style="height:72px; background:url(<?=bloginfo("url");?>/wp-content/plugins/turkce-konus/images/wordpress/bayrak.gif) no-repeat center right;"> 58 <div style="padding-top:5px; font: 20px Georgia, Times,Sans-Serif; color:#F90;"><strong>Türkçe Konuş</strong></div> 59 <div style="font-family:Trebuchet MS; font-size:10pt; line-height:14px; color:#CCC;">Lütfen <?=$eng;?> yerine <?=$trk;?> kelimesini kullanın.</div> 60 </div> 61 </td> 62 <td width="5"><img src="<?=bloginfo("url");?>/wp-content/plugins/turkce-konus/images/wordpress/sag.gif"></td> 63 </tr> 64 </table> 28 29 <?php if($dir=='' OR $dir=='Yatay'):?> 30 <div style="height:72px; padding-left:5px; background:url(<?=bloginfo("url");?>/wp-content/plugins/turkce-konus/images/bayrak/hl.gif) no-repeat;"> 31 <div style="background:url(<?=bloginfo("url");?>/wp-content/plugins/turkce-konus/images/bayrak/hr.gif) no-repeat right;"> 32 <div style="height:72px; margin-right:5px; background:url(<?=bloginfo("url");?>/wp-content/plugins/turkce-konus/images/bayrak/hb.gif);"> 33 <div style="padding-top:5px; font: 20px Georgia, Times,Sans-Serif; color:#FFFFFF;"><strong>Türkçe Konuş</strong></div> 34 <div style="font-family:Trebuchet MS; font-size:10pt; font-weight:bold; line-height:20px; color:#000000;">Lütfen <?=$eng;?> yerine <?=$trk;?> kelimesini kullanın.</div> 35 </div> 36 </div> 37 </div> 38 <?php elseif($dir=='Dikey'):?> 39 <div style="height:202px; padding-left:5px; background:url(<?=bloginfo("url");?>/wp-content/plugins/turkce-konus/images/bayrak/vl.gif) no-repeat;"> 40 <div style="background:url(<?=bloginfo("url");?>/wp-content/plugins/turkce-konus/images/bayrak/vr.gif) no-repeat right;"> 41 <div style="height:202px; margin-right:5px; background:url(<?=bloginfo("url");?>/wp-content/plugins/turkce-konus/images/bayrak/vb.gif);"> 42 <div style="padding-top:5px; font: 20px Georgia, Times,Sans-Serif; text-align:center; color:#FFFFFF;"><strong>Türkçe<br/>Konuş</strong></div> 43 <div style="font-family:Trebuchet MS; font-size:10pt; text-align:center; font-weight:bold; line-height:24px; color:#000000;">Lütfen<br/><?=$eng;?><br/>yerine<br/><?=$trk;?><br/>kelimesini<br/>kullanın.</div> 44 </div> 45 </div> 46 </div> 47 <?php endif;?> 48 49 <?php }elseif ($theme=='Deniz'){ ?> 50 <?php if($dir=='' OR $dir=='Yatay'):?> 51 <div style="height:72px; padding-left:5px; background:url(<?=bloginfo("url");?>/wp-content/plugins/turkce-konus/images/deniz/hl.gif) no-repeat;"> 52 <div style="background:url(<?=bloginfo("url");?>/wp-content/plugins/turkce-konus/images/deniz/hr.gif) no-repeat right;"> 53 <div style="height:72px; margin-right:5px; background:url(<?=bloginfo("url");?>/wp-content/plugins/turkce-konus/images/deniz/hb.gif);"> 54 <div style="padding-top:5px; font: 20px Georgia, Times,Sans-Serif; color:#FFFFFF;"><strong>Türkçe Konuş</strong></div> 55 <div style="font-family:Trebuchet MS; font-size:10pt; font-weight:bold; line-height:20px; color:#000000;">Lütfen <?=$eng;?> yerine <?=$trk;?> kelimesini kullanın.</div> 56 </div> 57 </div> 58 </div> 59 <?php elseif($dir=='Dikey'):?> 60 <div style="height:202px; padding-left:5px; background:url(<?=bloginfo("url");?>/wp-content/plugins/turkce-konus/images/deniz/vl.gif) no-repeat;"> 61 <div style="background:url(<?=bloginfo("url");?>/wp-content/plugins/turkce-konus/images/deniz/vr.gif) no-repeat right;"> 62 <div style="height:202px; margin-right:5px; background:url(<?=bloginfo("url");?>/wp-content/plugins/turkce-konus/images/deniz/vb.gif);"> 63 <div style="padding-top:5px; font: 20px Georgia, Times,Sans-Serif; text-align:center; color:#FFFFFF;"><strong>Türkçe<br/>Konuş</strong></div> 64 <div style="font-family:Trebuchet MS; font-size:10pt; text-align:center; font-weight:bold; line-height:24px; color:#000000;">Lütfen<br/><?=$eng;?><br/>yerine<br/><?=$trk;?><br/>kelimesini<br/>kullanın.</div> 65 </div> 66 </div> 67 </div> 68 <?php endif;?> 69 70 <?php }elseif ($theme=='Yaprak'){ ?> 71 <?php if($dir=='' OR $dir=='Yatay'):?> 72 <div style="height:72px; padding-left:5px; background:url(<?=bloginfo("url");?>/wp-content/plugins/turkce-konus/images/yaprak/hl.gif) no-repeat;"> 73 <div style="background:url(<?=bloginfo("url");?>/wp-content/plugins/turkce-konus/images/yaprak/hr.gif) no-repeat right;"> 74 <div style="height:72px; margin-right:5px; background:url(<?=bloginfo("url");?>/wp-content/plugins/turkce-konus/images/yaprak/hb.gif);"> 75 <div style="padding-top:5px; font: 20px Georgia, Times,Sans-Serif; color:#FFFFFF;"><strong>Türkçe Konuş</strong></div> 76 <div style="font-family:Trebuchet MS; font-size:10pt; font-weight:bold; line-height:20px; color:#000000;">Lütfen <?=$eng;?> yerine <?=$trk;?> kelimesini kullanın.</div> 77 </div> 78 </div> 79 </div> 80 <?php elseif($dir=='Dikey'):?> 81 <div style="height:202px; padding-left:5px; background:url(<?=bloginfo("url");?>/wp-content/plugins/turkce-konus/images/yaprak/vl.gif) no-repeat;"> 82 <div style="background:url(<?=bloginfo("url");?>/wp-content/plugins/turkce-konus/images/yaprak/vr.gif) no-repeat right;"> 83 <div style="height:202px; margin-right:5px; background:url(<?=bloginfo("url");?>/wp-content/plugins/turkce-konus/images/yaprak/vb.gif);"> 84 <div style="padding-top:5px; font: 20px Georgia, Times,Sans-Serif; text-align:center; color:#FFFFFF;"><strong>Türkçe<br/>Konuş</strong></div> 85 <div style="font-family:Trebuchet MS; font-size:10pt; text-align:center; font-weight:bold; line-height:24px; color:#000000;">Lütfen<br/><?=$eng;?><br/>yerine<br/><?=$trk;?><br/>kelimesini<br/>kullanın.</div> 86 </div> 87 </div> 88 </div> 89 <?php endif;?> 90 65 91 <?php 66 92 } … … 75 101 76 102 function form($instance) { 77 $tema = esc_attr($instance['tema']); 103 $theme = esc_attr($instance['theme']); 104 $dir = esc_attr($instance['dir']); 78 105 ?> 79 <p><label for="<?php echo $this->get_field_id('t ema'); ?>"><?php _e('Tema:'); ?>80 <select id="<?php echo $this->get_field_id('t ema'); ?>" name="<?php echo $this->get_field_name('tema'); ?>" class="widefat">81 <option><?php echo $t ema; ?></option>106 <p><label for="<?php echo $this->get_field_id('theme'); ?>"><?php _e('Tema:'); ?> 107 <select id="<?php echo $this->get_field_id('theme'); ?>" name="<?php echo $this->get_field_name('theme'); ?>" class="widefat"> 108 <option><?php echo $theme; ?></option> 82 109 <option>Bayrak</option> 83 <option>Wordpress</option> 110 <option>Deniz</option> 111 <option>Yaprak</option> 112 </select> 113 </label></p> 114 <p><label for="<?php echo $this->get_field_id('dir'); ?>"><?php _e('Yön:'); ?> 115 <select id="<?php echo $this->get_field_id('dir'); ?>" name="<?php echo $this->get_field_name('dir'); ?>" class="widefat"> 116 <option><?php echo $dir; ?></option> 117 <option>Yatay</option> 118 <option>Dikey</option> 84 119 </select> 85 120 </label></p>
Note: See TracChangeset
for help on using the changeset viewer.