Changeset 224825
- Timestamp:
- 04/03/2010 03:32:38 PM (16 years ago)
- Location:
- wordpress-popular-posts
- Files:
-
- 2 edited
-
tags/2.0.3/stats.php (modified) (1 diff)
-
trunk/stats.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
wordpress-popular-posts/tags/2.0.3/stats.php
r224824 r224825 109 109 </div> 110 110 </div> 111 <?php 112 if ( class_exists('SitePress') ) { 113 global $sitepress; 114 $apply_filters = 1; 115 116 $langs = icl_get_languages('skip_missing=0'); 117 118 if ($langs) { 119 foreach ($langs as $l) { 120 if (!$l['active']) $ol[] = '<a href="index.php?page=wpp-stats-display&lang='.$l['language_code'].'" title="'.$l['native_name'].'">'.$l['native_name'].'</a> <a href="index.php?page=wpp-stats-display&lang='.$l['language_code'].'" title="'.$l['native_name'].'"><img src="'.$l['country_flag_url'].'" width="18" height="12" alt="" border="0" align="middle" /></a>'; 121 } 122 echo "<p id='wpp-langs'>".__('See statistics also in', 'wordpress-popular-posts').": ".join(', ', $ol)."</p>"; 123 } 124 } 111 <?php 125 112 ?> 126 113 </div> -
wordpress-popular-posts/trunk/stats.php
r224824 r224825 109 109 </div> 110 110 </div> 111 <?php 112 if ( class_exists('SitePress') ) { 113 global $sitepress; 114 $apply_filters = 1; 115 116 $langs = icl_get_languages('skip_missing=0'); 117 118 if ($langs) { 119 foreach ($langs as $l) { 120 if (!$l['active']) $ol[] = '<a href="index.php?page=wpp-stats-display&lang='.$l['language_code'].'" title="'.$l['native_name'].'">'.$l['native_name'].'</a> <a href="index.php?page=wpp-stats-display&lang='.$l['language_code'].'" title="'.$l['native_name'].'"><img src="'.$l['country_flag_url'].'" width="18" height="12" alt="" border="0" align="middle" /></a>'; 121 } 122 echo "<p id='wpp-langs'>".__('See statistics also in', 'wordpress-popular-posts').": ".join(', ', $ol)."</p>"; 123 } 124 } 111 <?php 125 112 ?> 126 113 </div>
Note: See TracChangeset
for help on using the changeset viewer.