addCssFile('modules/WecomCenter/assets/l2topology/style.css?v=202611052255'); $base = '/modules/WecomCenter/assets/l2topology/'; $snapJson = (string) ($data['snap_json'] ?? 'null'); $cfgJson = (string) ($data['cfg_json'] ?? '{}'); $snapSafe = str_replace(''.htmlspecialchars(I18n::t('l2.time_live')).''; $timeOpts = ''; foreach ($byDay as $day => $items) { $dateOpts .= ''; if ($day === $usedDay) { $timeOpts = ''; foreach ($items as $h) { $sel = ($usedTs === (int) $h['ts']) ? ' selected' : ''; $timeOpts .= ''; } } } $refreshSec = (int) ($data['cfg_refresh'] ?? 300); if (!function_exists('l2e')) { function l2e($v) { return htmlspecialchars((string) $v, ENT_QUOTES, 'UTF-8'); } } ?>
0
0
0