function RecentPage::lay_view_nav() : string
{
var string return;
if ($.nav.forward_url != "" or $.nav.backward_url != "") {
$return = $return + " | ";
if ($.nav.backward_url != "") {
$return = $return + """<a href="$.nav.backward_url">Previous Page</a>""";
}
if ($.nav.forward_url != "" and $.nav.backward_url != "") { $return = $return + " | "; }
if ($.nav.forward_url != "") {
$return = $return + """<a href="$.nav.forward_url">Next Page</a>""";
}
}
return $return;
}
(Ņem vērā, ka parasti neviens neizvēlas atbildēt uz pilnīgi anonīmiem komentāriem!)