made compose button when on articles view.
This commit is contained in:
@@ -67,4 +67,12 @@ if (isset($_POST['form_id'])) {
|
||||
}
|
||||
}
|
||||
|
||||
if (($view == 'list' || $view == 'sort') && (isset($_COOKIE['role_id']) && $_COOKIE['role_id'] <= 3)) {
|
||||
echo '
|
||||
<div id="floating_compose">
|
||||
<a href="articles.php?view=compose"><i class="nf nf-md-note_plus"></i></a>
|
||||
</div>
|
||||
';
|
||||
}
|
||||
|
||||
include_once 'components/foot.php';
|
||||
|
||||
Reference in New Issue
Block a user