summaryrefslogtreecommitdiffstats
path: root/smarty
diff options
context:
space:
mode:
Diffstat (limited to 'smarty')
-rw-r--r--smarty/templates/rpmphp/zoom.tpl9
1 files changed, 9 insertions, 0 deletions
diff --git a/smarty/templates/rpmphp/zoom.tpl b/smarty/templates/rpmphp/zoom.tpl
index 898ddce..6d13dda 100644
--- a/smarty/templates/rpmphp/zoom.tpl
+++ b/smarty/templates/rpmphp/zoom.tpl
@@ -1,3 +1,12 @@
+{if $error}
+ {if $error eq 'missing_name'}
+ <h1>Missing package name</h1>
+ <form action="?" method="get">
+ <p>You have not specified any package name.</p>
+ <p><label for="rpm">Please enter one package name: </label><input type="text" name="rpm" id="rpm"/> <input type="submit"/></p>
+ </form>
+ {/if}
+{/if}
{if $pkgdb}
<p id="pkgdb-link"><a href="?rpm={$name}">Hide pkgdb informations</a></p>
{else}