Browse Source

add Protected to visibility options

pull/122/head
Aaron Parecki 5 years ago
parent
commit
37d315575f
No known key found for this signature in database GPG Key ID: 276C2817346D6056
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      views/new-post.php

+ 1
- 1
views/new-post.php View File

@ -84,7 +84,7 @@
<label for="visibility">Visibility</label> <label for="visibility">Visibility</label>
<select class="form-control" id="visibility"> <select class="form-control" id="visibility">
<?php <?php
foreach(['Public','Unlisted','Private'] as $v):
foreach(['Public','Unlisted','Protected','Private'] as $v):
if(in_array(strtolower($v), $this->supported_visibility)): if(in_array(strtolower($v), $this->supported_visibility)):
echo '<option value="'.strtolower($v).'">'.$v.'</option>'; echo '<option value="'.strtolower($v).'">'.$v.'</option>';
endif; endif;

Loading…
Cancel
Save