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/main.tpl | |
parent | 44bc0673599b56977f97370976d92f5d05ca720e (diff) |
Some adaptations required for Smarty3
Diffstat (limited to 'smarty/templates/rpmphp/main.tpl')
-rw-r--r-- | smarty/templates/rpmphp/main.tpl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/smarty/templates/rpmphp/main.tpl b/smarty/templates/rpmphp/main.tpl index a19f862..b0cae4b 100644 --- a/smarty/templates/rpmphp/main.tpl +++ b/smarty/templates/rpmphp/main.tpl @@ -28,7 +28,7 @@ <script type="text/javascript" src="scripts/jquery-1.4.2.min.js"></script> <script type="text/javascript" src="scripts/jquery.autocomplete.pack.js"></script> <script type="text/javascript" src="scripts/rpmphp.js"></script> -{if $name} +{if isset($name)} <script type="text/javascript"> // <![CDATA[ $(function(){ldelim} @@ -65,7 +65,7 @@ {/foreach} </ul> </div><!-- /ariane --> -{if $name_required and not $name} +{if isset($name_required) and !isset($name)} <h1>Missing package name</h1> <form action="?" method="get"> <p>You have not specified any package name.</p> |