Files
server/opt/psa/admin/cp/public/javascript/app/eula.js
2026-01-07 20:52:11 +01:00

2 lines
812 B
JavaScript

"use strict";(globalThis.webpackChunkPlesk=globalThis.webpackChunkPlesk||[]).push([["app/eula"],{3e3:(e,p,l)=>{l.r(p),l.d(p,{default:()=>a});var t=l(90);const a=({isUpdate:e,license:p})=>{const l=t.Locale.getSection("admin.controllers.index.eula");new t.Popup({popupCls:"popup-panel popup-panel-lg",id:"eula-update-popup",hideOnBgClick:!1,title:e?l.lmsg("updatePopupTitle"):l.lmsg("popupTitle"),content:`<h4>${e?l.lmsg("updatePopupDescription"):l.lmsg("popupDescription")}</h4><div class="eula">${p}</div>`,buttons:[{id:"eula-update-accept",title:l.lmsg("buttonAccept"),handler(e,p){t.api.post("/admin/index/accept-eula"),p.hide()}},{id:"eula-update-decline",title:l.lmsg("buttonDecline"),handler(e,p){document.location.href="/logout.php",p.hide()}}]})}}}]);
//# sourceMappingURL=eula.js.map?72acfe7f5320ae0d8673