Warning: session_start(): open(/var/lib/php/sessions/sess_quu501igskpciqhkappv8kvon0, 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
cmodule2 Pays5 > GazelleExamples {
switchable long favIconID;
void init {
super.init();
botName = heading = adminName = "PAYS5";
templateID = #1030430;
set enableVars;
}
Set hiddenCrudClasses() { ret litset(); }
L botCmdClasses() {
ret dynNewBot2_botCmdClasses();
}
S authFormHeading() {
ret h3("pays5.com");
}
void makeFramer(Req req) {
super.makeFramer(req);
req.framer.renderTitle = () -> h1(ahref(baseLink + "/", "Pays5.com")
+ " " + htmlEncode2(req.framer.title));
}
O serveFavIcon() {
if (favIconID == 0) ret super.serveFavIcon();
UploadedFile f = getConcept UploadedFile(favIconID);
if (f != null)
ret serveFile(f.theFile(), faviconMimeType());
ret serve404();
}
S calcVar(Conversation conv, S var) {
if (eqic(var, "hasUserName"))
ret nempty(calcVar(conv, "userName"));
ret super.calcVar(var);
}
}
!include early #1029913 // gazelle.rocks