i18n standard entries
Dieser Commit ist enthalten in:
		
							Ursprung
							
								
									d68581e0f3
								
							
						
					
					
						Commit
						ebd8b29827
					
				
					 1 geänderte Dateien mit 97 neuen und 97 gelöschten Zeilen
				
			
		| 
						 | 
				
			
			@ -46,37 +46,37 @@
 | 
			
		|||
*/
 | 
			
		||||
 | 
			
		||||
if(!current_user_can('manage_statz')) {
 | 
			
		||||
	die('Zugriff verweigert');
 | 
			
		||||
    die(semr_i18n("Restricted Area"));
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
### ANZEIGE LOG
 | 
			
		||||
 | 
			
		||||
global $wpdb;
 | 
			
		||||
		
 | 
			
		||||
$sem_options = get_option('semmelstatzR_options'); ### optionsarray auslesen
 | 
			
		||||
$limit = $sem_options["statz_datarecs_limit"]; $mask = $sem_options["statz_mask_referer"];
 | 
			
		||||
        $completerecords =
 | 
			
		||||
			$wpdb->get_results("SELECT id, ip, time, referer, page, username FROM ".$wpdb->statz." ORDER BY time DESC LIMIT 0, ".$limit);
 | 
			
		||||
$completerecords = $wpdb->get_results("SELECT id, ip, time, referer, page, username FROM ".
 | 
			
		||||
        $wpdb->statz." ORDER BY time DESC LIMIT 0, ".$limit);
 | 
			
		||||
        
 | 
			
		||||
print "<div class='wrap'>";
 | 
			
		||||
print "<div id='icon-semmelstatzR' class='icon32'><br /></div>";
 | 
			
		||||
        print "<h2>SemmelstatzR › Log</h2>";
 | 
			
		||||
        print "<div class='statz'>Die neuesten ".$limit." Datensätze</div>";
 | 
			
		||||
print "<h2>SemmelstatzR > ".semr_i18n("Log")."</h2>";
 | 
			
		||||
print "<div class='statz'>";
 | 
			
		||||
printf(semr_i18n("The %s newest records"), $limit);
 | 
			
		||||
print "</div>";
 | 
			
		||||
 | 
			
		||||
if ($completerecords == NULL) {
 | 
			
		||||
            print "<small>... noch keine Einträge</small>";
 | 
			
		||||
    print '<small>... '.  semr_i18n("no entries at all").'</small>';
 | 
			
		||||
    return;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
print "<table cellpadding='5' style='text-align:center; width:100%;'>";
 | 
			
		||||
print "<thead>";
 | 
			
		||||
print "<tr>";
 | 
			
		||||
        print "<th style='text-align:center;width:110px;'><small>Datum</small></th>";
 | 
			
		||||
        print "<th style='text-align:center;width:80px;'><small>TCP/IP</small></th>";
 | 
			
		||||
        print "<th style='text-align:left;'><small>Referer</small></th>";
 | 
			
		||||
        print "<th style='text-align:left;'><small>Suchbegriff</small></th>";
 | 
			
		||||
        print "<th style='text-align:left;'><small>Post/Page</small></th>";
 | 
			
		||||
        print "<th style='text-align:left;'><small>Username</small></th>";
 | 
			
		||||
print "<th style='text-align:center;width:110px;'><small>".semr_i18n("Date")."</small></th>";
 | 
			
		||||
print "<th style='text-align:center;width:80px;'><small>".semr_i18n("TCP/IP")."</small></th>";
 | 
			
		||||
print "<th style='text-align:left;'><small>".semr_i18n("Referrer")."</small></th>";
 | 
			
		||||
print "<th style='text-align:left;'><small>".semr_i18n("Search term")."</small></th>";
 | 
			
		||||
print "<th style='text-align:left;'><small>".semr_i18n("Post/Page")."</small></th>";
 | 
			
		||||
print "<th style='text-align:left;'><small>".semr_i18n("Username")."</small></th>";
 | 
			
		||||
print "</tr>";
 | 
			
		||||
print "</thead>";
 | 
			
		||||
print "<tbody>";
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Laden …
	
	Tabelle hinzufügen
		
		In neuem Issue referenzieren