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/zoom.tpl | |
parent | 44bc0673599b56977f97370976d92f5d05ca720e (diff) |
Some adaptations required for Smarty3
Diffstat (limited to 'smarty/templates/rpmphp/zoom.tpl')
-rw-r--r-- | smarty/templates/rpmphp/zoom.tpl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/smarty/templates/rpmphp/zoom.tpl b/smarty/templates/rpmphp/zoom.tpl index 4dcd7a2..09eb98f 100644 --- a/smarty/templates/rpmphp/zoom.tpl +++ b/smarty/templates/rpmphp/zoom.tpl @@ -19,7 +19,7 @@ * along with rpmphp. If not, see <http://www.gnu.org/licenses/>. *} -{if $error} +{if isset($error)} {if $error eq 'missing_name'} <h1>Missing package name</h1> <form action="?" method="get"> @@ -30,7 +30,7 @@ <p id="error"><strong>Ooops, an error occured:</strong><br/>{$error}</p> {/if} {/if} -{if $pkgdb} +{if isset($pkgdb)} <p id="pkgdb-link"><a href="?rpm={$name}">Hide pkgdb informations</a></p> {else} <p id="pkgdb-link"><a href="?rpm={$name}&pkgdb=1">Show more informations from pkgdb</a></p> |