/** * Display the rule-switch in the "all rules" list (no options, only a * function to activate/deactivate the rule) * * @since 1.0.0 */ public static function _admin_rule_list($popup) { foreach (self::$rules as $prio => $list) { foreach ($list as $key => $rule) { $rule->obj->_admin_rule_list($key, $rule, $popup); } } } } IncPopupRules::init(); /*===============================*\ =================================== == == == RULE BASE == == == =================================== \*===============================*/ /** * Base class for PopUp conditions */ abstract class IncPopupRule { /** * Name of the file (set by the child class) * @var string