summaryrefslogtreecommitdiffstats
path: root/smarty
diff options
context:
space:
mode:
authorJohan "Papa" Cwiklinski <trasher@odysseus.(none)>2010-05-29 22:41:03 +0200
committerJohan "Papa" Cwiklinski <trasher@odysseus.(none)>2010-05-29 22:41:03 +0200
commit4fded33567be2378d9ed9ac3e9265fa377b0d4eb (patch)
tree3680dcabac58751e6de3158b1299b09f115d8631 /smarty
parent1cd1f3d10813c6ef6c24b7158179f728e55f73c7 (diff)
A flag to know if we're from a page that require a name ; refs #47
Diffstat (limited to 'smarty')
-rw-r--r--smarty/templates/rpmphp/main.tpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/smarty/templates/rpmphp/main.tpl b/smarty/templates/rpmphp/main.tpl
index 7456773..6f12fdf 100644
--- a/smarty/templates/rpmphp/main.tpl
+++ b/smarty/templates/rpmphp/main.tpl
@@ -44,7 +44,7 @@
{/foreach}
</ul>
</div><!-- /ariane -->
-{if not $name}
+{if $name_required and not $name}
<h1>Missing package name</h1>
<form action="?" method="get">
<p>You have not specified any package name.</p>