diff options
author | vincent-peugnet <v.peugnet@free.fr> | 2020-04-07 19:43:58 +0200 |
---|---|---|
committer | vincent-peugnet <v.peugnet@free.fr> | 2020-04-07 19:43:58 +0200 |
commit | b49830232096951202688bd775193424880bbd11 (patch) | |
tree | b41d9b23fd853b45ece6c3f9b9e255e0da364ca7 /app/view/templates/homemenu.php | |
parent | 7c9ceb23b415eb6863c51ac1eb1fab8d50e2aa99 (diff) | |
download | wcms-b49830232096951202688bd775193424880bbd11.tar.gz wcms-b49830232096951202688bd775193424880bbd11.zip |
refactor LIST fix #74
Diffstat (limited to 'app/view/templates/homemenu.php')
-rw-r--r-- | app/view/templates/homemenu.php | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/app/view/templates/homemenu.php b/app/view/templates/homemenu.php index 5f484a1..9d28ffa 100644 --- a/app/view/templates/homemenu.php +++ b/app/view/templates/homemenu.php @@ -227,8 +227,7 @@ <label for="list_author">Show author(s)</label> </br> <select name="style" id="list_style"> - <option value="0">list</option> - <option value="1" <?= !empty($optlist) && $optlist->style() == 1 ? 'selected' : '' ?>>div</option> + <?= options(Wcms\Model::LIST_STYLES , !empty($optlist) ? $optlist->style() : null) ?> </select> <input type="submit" value="generate"> </form> |