diff options
author | Johan Cwiklinski <johan@x-tnd.be> | 2012-09-29 10:23:09 +0200 |
---|---|---|
committer | Remi Collet <fedora@famillecollet.com> | 2012-09-29 10:30:40 +0200 |
commit | 5e3a1a62043cc4602f5fc4fb871d09da65b5a277 (patch) | |
tree | 6cf5eeb2270f3ff3107a094b172e61e131656fd9 /smarty/templates/rpmphp/all.tpl | |
parent | 44bc0673599b56977f97370976d92f5d05ca720e (diff) |
Some adaptations required for Smarty3
Diffstat (limited to 'smarty/templates/rpmphp/all.tpl')
-rw-r--r-- | smarty/templates/rpmphp/all.tpl | 6 |
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} |