e107inc/e107

View on GitHub
e107_plugins/featurebox/admin_config.php

Summary

Maintainability
A
0 mins
Test Coverage
F
31%

Assigning array<string></string> to property but \fb_main_ui->prefs is array{menu_category:array{title:'Featurebox Menu Category',type:'dropdown',help:'Category to use for the featurebox menu'}}
Open

        $this->prefs['menu_category']['readParms']['optArray']         = $menuCat;

Assigning array<string></string> to property but \fb_main_ui->fields is array{checkboxes:array{title:'',type:null,width:'5%',forced:true,thclass:'center first',class:'center'},fb_id:array{title:'ID',type:'number',data:'int',width:'5%',forced:true},fb_category:array{title:'Category',type:'dropdown',inline:true,data:'int',width:'10%',filter:true,batch:true},fb_title:array{title:'Title',type:'text',inline:true,width:'auto',thclass:'left'},fb_image:array{title:'Image/Video',type:'image',width:'100px',readParms:'thumb=60&thumb_urlraw=0&thumb_aw=60',writeParms:'size=xxlarge&media=featurebox&video=1'},fb_text:array{title:'Message text',type:'bbarea',width:'30%',readParms:'expand=...&truncate=50&bb=1',writeParms:'template=admin'},fb_template:array{title:'Template',type:'layouts',inline:true,data:'str',width:'auto',writeParms:'plugin=featurebox&merge=true',filter:true,batch:true},fb_imageurl:array{title:'Image Link',type:'url',width:'auto',writeParms:'size=xxlarge'},fb_class:array{title:'Visibility',type:'userclass',data:'int',inline:true,width:'auto',filter:true,batch:true},fb_order:array{title:'Order',type:'number',data:'int',width:'5%'},options:array{title:'Options',type:null,forced:true,width:'10%',thclass:'center last',class:'center',readParms:'sort=1'}}
Open

        $this->fields['fb_category']['readParms']         = $categories;

Call to deprecated function \getperms() defined at /code/class2.php:1322
Open

if (!getperms("P") || !e107::isInstalled('featurebox')) 

Assigning array<string></string> to property but \fb_main_ui->prefs is array{menu_category:array{title:'Featurebox Menu Category',type:'dropdown',help:'Category to use for the featurebox menu'}}
Open

        $this->prefs['menu_category']['writeParms']['optArray']     = $menuCat;

Assigning array<string></string> to property but \fb_main_ui->fields is array{checkboxes:array{title:'',type:null,width:'5%',forced:true,thclass:'center first',class:'center'},fb_id:array{title:'ID',type:'number',data:'int',width:'5%',forced:true},fb_category:array{title:'Category',type:'dropdown',inline:true,data:'int',width:'10%',filter:true,batch:true},fb_title:array{title:'Title',type:'text',inline:true,width:'auto',thclass:'left'},fb_image:array{title:'Image/Video',type:'image',width:'100px',readParms:'thumb=60&thumb_urlraw=0&thumb_aw=60',writeParms:'size=xxlarge&media=featurebox&video=1'},fb_text:array{title:'Message text',type:'bbarea',width:'30%',readParms:'expand=...&truncate=50&bb=1',writeParms:'template=admin'},fb_template:array{title:'Template',type:'layouts',inline:true,data:'str',width:'auto',writeParms:'plugin=featurebox&merge=true',filter:true,batch:true},fb_imageurl:array{title:'Image Link',type:'url',width:'auto',writeParms:'size=xxlarge'},fb_class:array{title:'Visibility',type:'userclass',data:'int',inline:true,width:'auto',filter:true,batch:true},fb_order:array{title:'Order',type:'number',data:'int',width:'5%'},options:array{title:'Options',type:null,forced:true,width:'10%',thclass:'center last',class:'center',readParms:'sort=1'}}
Open

        $this->fields['fb_category']['writeParms']         = $categories;    

There are no issues that match your filters.

Category
Status