wip
This commit is contained in:
@ -2,7 +2,7 @@
|
||||
/**
|
||||
* app/plugins/bookmarks/controllers/bookmarks.php
|
||||
*
|
||||
* This is the bug reports controller.
|
||||
* This is the bookmarks controller.
|
||||
*
|
||||
* @package TP Bookmarks
|
||||
* @version 3.0
|
||||
@ -70,22 +70,6 @@ class Bookmarks extends Controller {
|
||||
$this->setPrefToggles();
|
||||
}
|
||||
|
||||
public function tutorials( $browser = '', $tutorial = '' ) {
|
||||
self::$title = 'Tutorials - {SITENAME}';
|
||||
if ( empty( $browser ) && empty( $tutorial ) ) {
|
||||
return Views::view( 'bookmarks.tutorials.list' );
|
||||
}
|
||||
if ( ! in_array( $browser, ['chrome','brave','firefox','edge','safari','opera'] ) ) {
|
||||
Issues::add( 'error', 'Unknown browser' );
|
||||
return Views::view( 'bookmarks.tutorials.list' );
|
||||
}
|
||||
if ( ! in_array( $tutorial, ['pin','settings','import','export'] ) ) {
|
||||
Issues::add( 'error', 'Unknown tutorial' );
|
||||
return Views::view( 'bookmarks.tutorials.list' );
|
||||
}
|
||||
return Views::view( 'bookmarks.tutorials.' . $browser . '.' . $tutorial );
|
||||
}
|
||||
|
||||
public function index() {
|
||||
self::$title = 'Manage Bookmarks - {SITENAME}';
|
||||
if ( Input::exists('submit') ) {
|
||||
@ -936,7 +920,7 @@ class Bookmarks extends Controller {
|
||||
$out .= '<div class="mb-3 row">';
|
||||
$out .= '<label for="folder_id" class="col-lg-5 col-form-label text-end">Folder</label>';
|
||||
$out .= '<div class="col-lg-3">';
|
||||
$out .= '<select name="folder_id" id="folder_id" class="form-select">';
|
||||
$out .= '<select name="folder_id" id="folder_id" class="form-control">';
|
||||
if ( isset( $options[0] ) ) {
|
||||
$assocOptions = [];
|
||||
foreach ( $options as $key => $value ) {
|
||||
|
Reference in New Issue
Block a user