43 lines
1.6 KiB
Plaintext
43 lines
1.6 KiB
Plaintext
# Icon name / icon
|
|
lappend plugins(icons) "detectads"
|
|
lappend plugins(icons) [_addicon "/plugin/detectads/img/detectads.png" "Ad Detection"]
|
|
|
|
lappend plugins(icons) "nodetectads"
|
|
lappend plugins(icons) [_addicon "/plugin/detectads/img/nodetectads.png" "No Ad Detection"]
|
|
|
|
# File list column - see jqGrid documentation for column options
|
|
lappend plugins(flcolumn) {
|
|
{ name:'Addetection',
|
|
hidden:false, width:22,
|
|
stype: 'select',
|
|
searchoptions: {value: {1:"Ad Detection",0:"No Ad Detection",'':"- All"}, searchOperMenu: false, clearSearch: false},
|
|
label: icons.detectads + ' Ad Detection',
|
|
formatter: fmtIcon, formatoptions: {img: icons.detectads}
|
|
},
|
|
}
|
|
|
|
# Directory tree column - see jqGrid documentation for column options
|
|
lappend plugins(dircolumn) {
|
|
{ name:'autodetectads',
|
|
hidden:false, width:22,
|
|
stype: 'select',
|
|
searchoptions: {value: {1:"Auto DetectAds",0:"No Auto DetectAds",'':"- All"}, searchOperMenu: false, clearSearch: false},
|
|
label: icons.detectads + ' Auto DetectAds',
|
|
formatter: fmtIcon, formatoptions: {img: icons.detectads}
|
|
},
|
|
}
|
|
|
|
lappend plugins(dircolumn) {
|
|
{ name:'autonodetectads',
|
|
hidden:false, width:22,
|
|
stype: 'select',
|
|
searchoptions: {value: {1:"No-DetectAds",0:"No No-DetectAds",'':"- All"}, searchOperMenu: false, clearSearch: false},
|
|
label: icons.nodetectads + ' No DetectAds',
|
|
formatter: fmtIcon, formatoptions: {img: icons.nodetectads}
|
|
},
|
|
}
|
|
|
|
# Map browse context menu attributes to flexview column
|
|
lappend plugins(dmenuattr) "autodetectads" "autodetectads"
|
|
lappend plugins(dmenuattr) "autonodetectads" "autonodetectads"
|