Add a checkbox to don't show the paste on the main page

This commit is contained in:
Némunaire 2012-11-05 20:04:26 +01:00
commit 8bb7bbb519
4 changed files with 21 additions and 16 deletions

View file

@ -37,10 +37,10 @@ if ($dh = opendir(DESTINATION))
if ($i > 23)
{
$GT = $GA = $GL = "";
if (!empty($srch_title)) $GR = "&title=".$srch;
if (!empty($srch_author)) $GR = "&author=".$srch;
if (!empty($srch_lang)) $GR = "&lang=".$srch;
print '<li><a href="./?s='.(intval($_GET["s"])+23).$GR.'#list">Plus anciens ...</a></li>';
if (!empty($srch_title)) $GT = "&amp;title=".$srch;
if (!empty($srch_author)) $GA = "&amp;author=".$srch;
if (!empty($srch_lang)) $GL = "&amp;lang=".$srch;
print '<li><a href="./?s='.(intval($_GET["s"])+23).$GT.$GA.$GL.'#list">Plus anciens ...</a></li>';
break;
}