update to bootstrap 5.2.3 continued
This commit is contained in:
@ -32,7 +32,7 @@ class Blog extends Plugin {
|
||||
'url' => '{ROOT_URL}admin/blog',
|
||||
],
|
||||
];
|
||||
public $footer_links = [
|
||||
public $info_footer_links = [
|
||||
[
|
||||
'text' => 'Blog',
|
||||
'url' => '{ROOT_URL}blog/index',
|
||||
|
@ -49,7 +49,7 @@ class Bugreport extends Plugin {
|
||||
'default' => false,
|
||||
],
|
||||
];
|
||||
public $footer_links = [
|
||||
public $contact_footer_links = [
|
||||
[
|
||||
'text' => 'Bug Report',
|
||||
'url' => '{ROOT_URL}bugreport',
|
||||
|
@ -45,7 +45,7 @@ class Feedback extends Plugin {
|
||||
'default' => false,
|
||||
],
|
||||
];
|
||||
public $footer_links = [
|
||||
public $contact_footer_links = [
|
||||
[
|
||||
'text' => 'Feedback',
|
||||
'url' => '{ROOT_URL}feedback',
|
||||
|
@ -48,9 +48,8 @@ class Messages extends Plugin {
|
||||
} else {
|
||||
Components::set( 'RECENT_MESSAGES', '' );
|
||||
}
|
||||
|
||||
App::$topNavRight .= '{RECENT_MESSAGES}';
|
||||
App::$topNavRightDropdown .= '<li><a href="{ROOT_URL}messages"><i class="fa fa-fw fa-envelope"></i> Inbox {MBADGE}</a></li>';
|
||||
App::$topNavRightDropdown .= '<li><a href="{ROOT_URL}messages" class="dropdown-item"><i class="fa fa-fw fa-envelope"></i> Inbox {MBADGE}</a></li>';
|
||||
self::$loaded = true;
|
||||
}
|
||||
parent::__construct();
|
||||
|
@ -1,15 +1,14 @@
|
||||
<li class="dropdown nav-item">
|
||||
<div class="dropdown nav-item mx-2">
|
||||
<a
|
||||
href="#"
|
||||
class="nav-link dropdown-toggle"
|
||||
class="d-block dropdown-toggle nav-link"
|
||||
id="messagesDropdown"
|
||||
|
||||
data-bs-toggle="dropdown"
|
||||
aria-haspopup="true"
|
||||
aria-expanded="false">
|
||||
<i class="fa fa-fw fa-envelope"></i>{MBADGE}
|
||||
<i class="fa fa-fw fa-envelope"></i><span class="ml-3">{MBADGE}</span>
|
||||
</a>
|
||||
<ul class="dropdown-menu dropdown-menu-end" aria-labelledby="messagesDropdown">
|
||||
<ul class="dropdown-menu text-small" aria-labelledby="messagesDropdown">
|
||||
<li class="message-header">
|
||||
<div class="media">
|
||||
<div class="media-body text-center" style="padding-bottom: 10px; padding-top: 10px">
|
||||
@ -44,7 +43,7 @@
|
||||
</li>
|
||||
{/ALT}
|
||||
<li class="message-footer text-center">
|
||||
<a href="{ROOT_URL}messages">Read All New Messages</a>
|
||||
<a href="{ROOT_URL}messages" class="dropdown-item">Read All New Messages</a>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</div>
|
@ -56,7 +56,7 @@ class Notifications extends Plugin {
|
||||
Components::set( 'recentNotifications', '' );
|
||||
}
|
||||
App::$topNavRight .= '{recentNotifications}';
|
||||
App::$topNavRightDropdown .= '<li><a href="{ROOT_URL}notifications"><i class="fa fa-fw fa-bell"></i> Notifications {NBADGE}</a></li>';
|
||||
App::$topNavRightDropdown .= '<li><a href="{ROOT_URL}notifications" class="dropdown-item"><i class="fa fa-fw fa-bell"></i> Notifications {NBADGE}</a></li>';
|
||||
self::$loaded = true;
|
||||
}
|
||||
}
|
||||
|
@ -1,14 +1,14 @@
|
||||
<li class="dropdown nav-item">
|
||||
<div class="dropdown nav-item mx-2">
|
||||
<a
|
||||
href="#"
|
||||
class="nav-link dropdown-toggle"
|
||||
class="d-block dropdown-toggle nav-link"
|
||||
id="notiificationsDropdown"
|
||||
data-bs-toggle="dropdown"
|
||||
aria-haspopup="true"
|
||||
aria-expanded="false">
|
||||
<i class="fa fa-fw fa-bell"></i>{NBADGE}
|
||||
<i class="fa fa-fw fa-bell"></i><span class="ml-3">{MBADGE}</span>
|
||||
</a>
|
||||
<ul class="dropdown-menu dropdown-menu-end message-dropdown" aria-labelledby="notiificationsDropdown">
|
||||
<ul class="dropdown-menu text-small" aria-labelledby="notiificationsDropdown">
|
||||
{LOOP}
|
||||
<li class="message-preview">
|
||||
<a href="{ROOT_URL}notifications">
|
||||
@ -31,7 +31,7 @@
|
||||
</li>
|
||||
{/ALT}
|
||||
<li class="message-footer text-center">
|
||||
<a href="{ROOT_URL}notifications">See All Notifications</a>
|
||||
<a href="{ROOT_URL}notifications" class="dropdown-item">See All Notifications</a>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</div>
|
@ -21,6 +21,7 @@ use TheTempusProject\Houdini\Classes\Views;
|
||||
use TheTempusProject\TheTempusProject as App;
|
||||
|
||||
class Subscribe extends Plugin {
|
||||
private static $loaded = false;
|
||||
public $pluginName = 'TP Subscribe';
|
||||
public $pluginAuthor = 'JoeyK';
|
||||
public $pluginWebsite = 'https://TheTempusProject.com';
|
||||
@ -36,6 +37,9 @@ class Subscribe extends Plugin {
|
||||
|
||||
public function __construct( $load = false ) {
|
||||
parent::__construct( $load );
|
||||
Components::set( 'FOOTER_RIGHT', Views::simpleView( 'subscribe.footer.right') );
|
||||
if ( ! self::$loaded ) {
|
||||
Components::append( 'FOOTER_RIGHT', Views::simpleView( 'subscribe.footer.right') );
|
||||
self::$loaded = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -1,18 +1,13 @@
|
||||
<div class="col-lg-3 text-center">
|
||||
<h3>Subscribe</h3>
|
||||
<ul>
|
||||
<li>
|
||||
<div class="input-append newsletter-box">
|
||||
<form action="{ROOT_URL}subscribe/home" method="post" class="form-horizontal">
|
||||
<input type="email" class="full form-control" placeholder="Email" id="email" name="email" autocomplete="email" style="margin-bottom: 15px;">
|
||||
<input type="hidden" name="token" value="{TOKEN}">
|
||||
<button name="submit" value="submit" type="submit" class="btn btn-lg btn-primary center-block">Subscribe</button>
|
||||
</form>
|
||||
</div>
|
||||
</li>
|
||||
</ul>
|
||||
<div class="material-switch" style="margin-top: 25px; margin-bottom: 25px;">
|
||||
<input name="dark-mode-toggle" type="checkbox" id="dark-mode-toggle" style="margin-top: 25px; margin-bottom: 25px; text-align:left;"/>
|
||||
<label for="dark-mode-toggle" class="label-default" style="text-align:left;"></label>
|
||||
</div>
|
||||
<div class="col-md-5 offset-md-1 mb-3">
|
||||
<form>
|
||||
<h5>Subscribe to our newsletter</h5>
|
||||
<div class="d-flex flex-column flex-sm-row w-100 gap-2">
|
||||
<form action="{ROOT_URL}subscribe/home" method="post" class="form-horizontal"></form>
|
||||
<label for="newsletter1" class="visually-hidden">Email address</label>
|
||||
<input name="email" id="email" type="email" class="form-control" placeholder="Email address" autocomplete="email">
|
||||
<input type="hidden" name="token" value="{TOKEN}">
|
||||
<button class="btn btn-primary" name="submit" value="submit" type="submit">Subscribe</button>
|
||||
</form>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
Reference in New Issue
Block a user