diff --git a/lang_de.php b/lang_de.php index bd92384..61ef928 100644 --- a/lang_de.php +++ b/lang_de.php @@ -45,11 +45,10 @@ $T=[ 'searchresult' => 'Suche nach "%1$s", %2$d Ergebnisse gefunden:', 'link' => 'Onion Link', 'description' => 'Beschreibung', - 'editdesc' => 'Beschreibung bearbeiten', 'lasttested' => 'Zuletzt getested', 'lastup' => 'Zuletzt online', 'timeadded' => 'Hinzgefügt am', - 'testnow' => 'Jetzt testen', + 'actions' => 'Aktionen', 'edit' => 'Bearbeiten', 'test' => 'Testen', 'never' => 'Nie', diff --git a/lang_en.php b/lang_en.php index f618e23..55d48f3 100644 --- a/lang_en.php +++ b/lang_en.php @@ -45,11 +45,10 @@ $I=[ 'searchresult' => 'Searching for "%1$s", %2$d results found:', 'link' => 'Onion link', 'description' => 'Description', - 'editdesc' => 'Edit description', 'lasttested' => 'Last tested', 'lastup' => 'Last seen', 'timeadded' => 'Added at', - 'testnow' => 'Test now', + 'actions' => 'Actions', 'edit' => 'Edit', 'test' => 'Test', 'never' => 'Never', diff --git a/onions.php b/onions.php index 1c1de3e..844c5f7 100644 --- a/onions.php +++ b/onions.php @@ -258,7 +258,7 @@ function get_table(PDOStatement $stmt, &$numrows=0, $promoted=false){ global $I, $db, $language; $time=time(); ob_start(); - echo ""; + echo "
$I[link]$I[description]$I[editdesc]$I[lasttested]$I[lastup]$I[timeadded]$I[testnow]
"; if($promoted){//print promoted links at the top $time=time(); $promo=$db->prepare('SELECT address, lasttest, lastup, timeadded, description, locked, special FROM ' . PREFIX . "onions WHERE special>? AND address!='' AND id NOT IN (SELECT onion_id FROM " . PREFIX . 'phishing) AND timediff<604800 ORDER BY address;'); @@ -309,7 +309,7 @@ function get_table(PDOStatement $stmt, &$numrows=0, $promoted=false){ }else{ $edit=""; } - echo ""; + echo ""; ++$numrows; } echo '
$I[link]$I[description]$I[lasttested]$I[lastup]$I[timeadded]$I[actions]
$link[address].onion$link[description]$edit$lasttest$lastup$timeadded
$link[address].onion$link[description]$lasttest$lastup$timeadded$edit
';