Merge branch 'main' into allthebookmarks-com

This commit is contained in:
Joey Kimsey
2024-12-14 06:16:50 -05:00
44 changed files with 463 additions and 387 deletions

View File

@ -1,8 +1,8 @@
<?php
/**
* app/controllers/admin/contact.php
* app/controllers/admin/send_mail.php
*
* This is the admin contact controller. The only real use is to send out emails to the various lists.
* This is the admin email controller. The only real use is to send out emails to the various lists.
*
* @version 3.0
* @author Joey Kimsey <Joey@thetempusproject.com>
@ -19,13 +19,13 @@ use TheTempusProject\Houdini\Classes\Views;
use TheTempusProject\Models\User;
use TheTempusProject\Models\Subscribe;
class Contact extends AdminController {
class SendMail extends AdminController {
public static $user;
public static $subscribe;
public function __construct() {
parent::__construct();
self::$title = 'Admin - Contact';
self::$title = 'Admin - Send Mail';
self::$user = new User;
self::$subscribe = new Subscribe;
}

View File

@ -86,7 +86,7 @@ class Home extends Controller {
self::$title = 'Terms and Conditions - {SITENAME}';
self::$pageDescription = '{SITENAME} Terms and Conditions of use. Please use {SITENAME} safely.';
Components::set( 'TERMS', Views::simpleView( 'terms' ) );
Views::raw( '<div class="terms-page col-lg-8 mx-auto">{TERMS}</div>' );
Views::view( 'termsPage' );
}
public function about() {