Warning: session_start(): open(/var/lib/php/sessions/sess_tu73r2vkv2ihbcqtpfmtb9108t, O_RDWR) failed: No space left on device (28) in /var/www/tb-usercake/models/config.php on line 51
Warning: session_start(): Failed to read session data: files (path: /var/lib/php/sessions) in /var/www/tb-usercake/models/config.php on line 51
!7
sclass UsersMailAddress extends DynModule {
S address;
bool allowedToLookAtMails;
JComponent visualize() {
ret jSection("Your E-Mail Address",
centerAndSouth(centerBoldLabel(jLiveValueLabel(dm_fieldLiveValue(this, 'address))),
jcenteredbuttons("Change...", r {
final JTextField tf = jtextfield(address);
showFormTitled("Set your e-mail address",
"Address", tf, disableButtonWhileCalcing(func -> bool {
S s = getTextTrim(tf);
if (empty(s) || isValidEmailAddress(s)) {
setField(address := s);
true;
}
infoBox("Not a valid mail address");
false;
}));
})));
}
}