diff options
author | vincent-peugnet <v.peugnet@free.fr> | 2018-12-24 13:15:26 +0100 |
---|---|---|
committer | vincent-peugnet <v.peugnet@free.fr> | 2018-12-24 13:15:26 +0100 |
commit | 1181795d8fa682571bd7e970eeefd43ed90aa30b (patch) | |
tree | a90b5149b772103a7f0d1dcd7dc42242062e105d /app/view/templates/editleftbar.php | |
parent | 452f5801b62b191123f9ded6c02844275ab62259 (diff) | |
download | wcms-1181795d8fa682571bd7e970eeefd43ed90aa30b.tar.gz wcms-1181795d8fa682571bd7e970eeefd43ed90aa30b.zip |
user level
Diffstat (limited to 'app/view/templates/editleftbar.php')
-rw-r--r-- | app/view/templates/editleftbar.php | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/app/view/templates/editleftbar.php b/app/view/templates/editleftbar.php index fd39ba7..8cd6509 100644 --- a/app/view/templates/editleftbar.php +++ b/app/view/templates/editleftbar.php @@ -13,10 +13,9 @@ <input type="text" name="tag" id="tag" value="<?= $art->tag('string'); ?>"> <label for="secure">Privacy level :</label> <select name="secure" id="secure"> - <option value="0" <?= $art->secure() == 0 ? 'selected' : '' ?>>0</option> - <option value="1" <?= $art->secure() == 1 ? 'selected' : '' ?>>1</option> - <option value="2" <?= $art->secure() == 2 ? 'selected' : '' ?>>2</option> - <option value="3" <?= $art->secure() == 3 ? 'selected' : '' ?>>3</option> + <option value="0" <?= $art->secure() == 0 ? 'selected' : '' ?>>public</option> + <option value="1" <?= $art->secure() == 1 ? 'selected' : '' ?>>private</option> + <option value="2" <?= $art->secure() == 2 ? 'selected' : '' ?>>not published</option> </select> <label for="date">Date</label> <input type="date" name="pdate" value="<?= $art->date('pdate') ?>" id="date"> |