detectads/webif/plugin/detectads/diriconset.hook

11 lines
336 B
Plaintext

if {[file exists "$dir/.autodetectads"]} {
lappend icons [_addicon "/plugin/detectads/img/detectads.png" "Auto DetectAds"]
lappend attrs "autodetectads=1"
}
if {[file exists "$dir/.autonodetectads"]} {
lappend icons [_addicon "/plugin/detectads/img/nodetectads.png" "No DetectAds"]
lappend attrs "autonodetectads=1"
}