Changed “Back to search” to “Go to search”; minor changes

This commit is contained in:
pezcurrel 2023-01-18 08:38:32 +01:00
parent 0816b28ed8
commit c85d8916a3

View file

@ -67,7 +67,7 @@ echo('</nav>
<section class="sectcontm">'.N);
if ($single) {
echo('<p><a href="instances/'.$dlang.'">← '._('Back to search').'</a></p>'.N);
echo('<p><a href="'.$conf['instpath'].'/instances/'.$dlang.'">↑ '._('Go to search').'</a></p>'.N);
$p=1;
$que='SELECT * FROM Instances WHERE ID='.$_GET['id'];
} else {
@ -391,7 +391,7 @@ mysqli_data_seek($res,$if);
while ($if<$il && $row=mysqli_fetch_assoc($res)) {
$if++;
$out='<div class="ihead"><a href="https://'.hspech($row['URI']).'" title="'._('Go to instance').'">'.hspech($row['URI']).'</a>';
if (!$single) $out.=' <a href="'.$conf['baseurl'].'/instances?id='.$row['ID'].'" title="'._('Direct link to this instances card').'">('.$if.'/'.$itot.')</a>';
if (!$single) $out.=' <a href="'.$conf['instpath'].'/instances?id='.$row['ID'].'" title="'._('Direct link to this instances card').'">('.$if.'/'.$itot.')</a>';
$out.='</div>'.N.'<div class="ibody">'.N;
$qbt=microtime(true);
$rres=tquery('SELECT CONCAT(Languages.Name'.$dlanguc.'," (",Languages.Code,")") AS Lang FROM InstOurLangs LEFT JOIN Languages ON Languages.ID=InstOurLangs.OurLangID WHERE InstOurLangs.InstID='.$row['ID'].' ORDER BY InstOurLangs.Pos ASC',__LINE__);