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 | |
parent | 7c9ceb23b415eb6863c51ac1eb1fab8d50e2aa99 (diff) | |
download | wcms-b49830232096951202688bd775193424880bbd11.tar.gz wcms-b49830232096951202688bd775193424880bbd11.zip |
refactor LIST fix #74
Diffstat (limited to 'app/view/templates')
-rw-r--r-- | app/view/templates/homemenu.php | 3 | ||||
-rw-r--r-- | app/view/templates/info.php | 4 |
2 files changed, 4 insertions, 3 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> diff --git a/app/view/templates/info.php b/app/view/templates/info.php index a5a5213..0e722a6 100644 --- a/app/view/templates/info.php +++ b/app/view/templates/info.php @@ -53,7 +53,9 @@ <li><a href="https://github.com/jamesmoss/flywheel" target="_blank">🎡 James Moss's Flywheel Database</a> <i>as json noSQL flatfile database engine</i></li> <li><a href="https://github.com/michelf/php-markdown" target="_blank">📝 Michel Fortin's Markdown Extra</a> <i>markdown library</i></li> <li><a href="https://github.com/thephpleague/plates" target="_blank">🎨 Plates</a> <i>as templating engine</i></li> - <li><a href="https://github.com/dannyvankooten/AltoRouter">🐶 Alto Router</a> <i>as router engine</i></li> + <li><a href="https://github.com/dannyvankooten/AltoRouter" target="_blank">🐶 Alto Router</a> <i>as router engine</i></li> + <li><a href="https://codemirror.net/" target="_blank">🐒 Code mirror</a> <i>as rich text editor</i></li> + <li><a href="https://js.cytoscape.org/" target="_blank">⚛️ Cytoscape.js</a> <i>as graph tool</i></li> </ul> <h3>Special thanks to :</h3> |