value ?? '', ENT_QUOTES, 'UTF-8'); $id = $this->id; if (empty($this->value)) { return '
Token will be generated automatically on first save.
'; } $pin = strtoupper(substr($this->value, 0, 4) . '-' . substr($this->value, 4, 4)); $token = Session::getFormToken(); $ajaxUrl = 'index.php?option=com_mokosuite&task=display.sendHeartbeat&format=json'; return <<
MOKO-{$pin} Support verification PIN — ask your provider for this code to verify your identity.
HTML; } }