]> git.sur5r.net Git - bacula/bacula/commitdiff
bacula-web: Improved smarty code in header for catalog selection
authorDavide Franco <bacula-dev@dflc.ch>
Mon, 27 Jun 2011 12:30:48 +0000 (14:30 +0200)
committerKern Sibbald <kern@sibbald.com>
Sat, 20 Apr 2013 12:49:17 +0000 (14:49 +0200)
 - Selected catalog in the list is now correct

gui/bacula-web/templates/header.tpl

index 61c986f1ee765ecd39d749242370313e12faf66c..d4b833545e86b6b6ddea2417349f0109b610870e 100644 (file)
@@ -14,7 +14,7 @@
                <form method="post" action="index.php">
                        Catalog&nbsp;
                        <select name="catalog_id" OnChange="submit()">
-                               {html_options options=$catalogs} 
+                               {html_options options=$catalogs selected=$smarty.post.catalog_id
                        </select>
                </form>
        </li>