added alert classes and supporting functions

This commit is contained in:
James Richie
2026-02-23 19:55:25 -05:00
parent 6195ca4709
commit 187d3b3522
29 changed files with 2035 additions and 359 deletions
+3 -1
View File
@@ -577,9 +577,11 @@ class Subscriptions extends Base {
public function userSubscriptions() {
$subscriptions = $this->getUsersActiveSubscriptions($this->current_user_serial);
$alerts = (new Alerts())->getActiveAlerts();
$popovers = (new Popovers())->getPopovers();
$XML = $this->mergeXML($subscriptions, "<XML/>");
$XML = $this->mergeXML($alerts, $XML);
$XML = $this->mergeXML($popovers, $XML);
$content = $this->applyXSL($XML, $this->getXSL("userSubscriptions"));
@@ -602,7 +604,7 @@ class Subscriptions extends Base {
return $this->getTable("usersubscriptions", $SQL);
}
// ============================
// Return a Users Subscriptions
// ============================