summaryrefslogtreecommitdiffstats
path: root/smarty/templates/rpmphp/all.tpl
diff options
context:
space:
mode:
Diffstat (limited to 'smarty/templates/rpmphp/all.tpl')
-rw-r--r--smarty/templates/rpmphp/all.tpl6
1 files changed, 3 insertions, 3 deletions
diff --git a/smarty/templates/rpmphp/all.tpl b/smarty/templates/rpmphp/all.tpl
index 8d9c20a..9b84373 100644
--- a/smarty/templates/rpmphp/all.tpl
+++ b/smarty/templates/rpmphp/all.tpl
@@ -22,7 +22,7 @@
<div id="filter">
<form action="all.php" method="get">
<fieldset>
- <legend>Filter {$type|upper} packages</legend>
+ <legend>Filter{if isset($type)} {$type|upper}{/if} packages</legend>
<label for="what">Criteria: </label>
<select name="what" id="what">
<optgroup label="Pakages">
@@ -45,7 +45,7 @@
</form>
</div><!-- /filter -->
-{if $error}
+{if isset($error)}
<p id="error"><strong>Ooops, an error occured:</strong><br/>{$error}</p>
{/if}
@@ -79,7 +79,7 @@
{/foreach}
</td>
{foreach from=$p.versions key=k item=version}
- <td{if $version.class} class="{$version.class}"{/if}>
+ <td{if isset($version.class)} class="{$version.class}"{/if}>
{$version.display}
</td>
{/foreach}