update to bootstrap 5.2.3 continued
This commit is contained in:
@ -60,15 +60,15 @@ class TheTempusProject extends Bedrock {
|
||||
public $info_footer_links = [
|
||||
[
|
||||
'text' => 'FAQs',
|
||||
'url' => '{ROOT_URL}home/terms',
|
||||
'url' => '{ROOT_URL}home/faq',
|
||||
],
|
||||
[
|
||||
'text' => 'About',
|
||||
'url' => '{ROOT_URL}home/terms',
|
||||
'url' => '{ROOT_URL}home/about',
|
||||
],
|
||||
[
|
||||
'text' => 'Privacy Policy',
|
||||
'url' => '{ROOT_URL}home/terms',
|
||||
'url' => '{ROOT_URL}home/privacy',
|
||||
],
|
||||
[
|
||||
'text' => 'Terms of Service',
|
||||
@ -478,6 +478,13 @@ class TheTempusProject extends Bedrock {
|
||||
'enabled' => true,
|
||||
'example' => '{LOGGEDIN}Only visible to users who are logged-in{LOGGEDIN}',
|
||||
];
|
||||
$this->filters[] = [
|
||||
'name' => 'notloggedin',
|
||||
'find' => '#{NOTLOGGEDIN}(.*?){/NOTLOGGEDIN}#is',
|
||||
'replace' => ( self::$isLoggedIn ? '' : '$1' ),
|
||||
'enabled' => true,
|
||||
'example' => '{NOTLOGGEDIN}Only visible to users who are logged-in{NOTLOGGEDIN}',
|
||||
];
|
||||
$this->filters[] = [
|
||||
'name' => 'dtc',
|
||||
'find' => '#{DTC(.*?)}(.*?){/DTC}#is',
|
||||
@ -510,8 +517,8 @@ class TheTempusProject extends Bedrock {
|
||||
|
||||
public function load( $url = '' ) {
|
||||
$routes = new RoutesModel;
|
||||
if (empty($url)) {
|
||||
$url = trim(Input::get('url'), '/');
|
||||
if ( empty( $url ) ) {
|
||||
$url = trim( Input::get( 'url' ), '/' );
|
||||
$url = str_ireplace( '.php', '', $url );
|
||||
}
|
||||
$route = $routes->findByOriginalUrl($url);
|
||||
|
Reference in New Issue
Block a user