feat: implement admin dashboard UI and utility functions for plugin management
This commit is contained in:
@@ -11,6 +11,8 @@ use Illuminate\Support\Facades\Auth;
|
||||
use Illuminate\Support\Facades\Hash;
|
||||
use Illuminate\Support\Facades\Mail;
|
||||
use Illuminate\Support\Facades\App;
|
||||
use App\Fields;
|
||||
|
||||
|
||||
|
||||
function differentValues($dizi)
|
||||
@@ -1529,12 +1531,13 @@ function diger_ayarlar()
|
||||
|
||||
}
|
||||
|
||||
function fields()
|
||||
function fields($content_type = [])
|
||||
{
|
||||
$fields = Fields::get();
|
||||
$fields = json_decode($fields, true);
|
||||
$fields2 = array();
|
||||
foreach (@$fields as $r) {
|
||||
|
||||
if (in_array($r['title'], $content_type)) {
|
||||
$fields2[$r['title']] = array(
|
||||
"values" => explode(",", $r['values']),
|
||||
|
||||
Reference in New Issue
Block a user