Carousel fix + fiixes

This commit is contained in:
Joey Kimsey
2024-12-02 18:04:44 -05:00
parent b1b0da0c08
commit d7d8fc4b5e
5 changed files with 6 additions and 18 deletions

View File

@ -1,8 +1,8 @@
<?php <?php
/** /**
* app/classes/admin_controller.php * app/classes/api_controller.php
* *
* This is the base admin controller. Every other admin controller should * This is the base api controller. Every other api controller should
* extend this class. * extend this class.
* *
* @version 3.0 * @version 3.0

View File

@ -1,12 +1,12 @@
<?php <?php
/** /**
* classes/config.php * app/classes/config.php
* *
* This class handles all the hard-coded configurations. * This class handles all the hard-coded configurations.
* *
* @version 3.0 * @version 3.0
* @author Joey Kimsey <Joey@thetempusproject.com> * @author Joey Kimsey <Joey@thetempusproject.com>
* @link https://TheTempusProject.com/Core * @link https://TheTempusProject.com
* @license https://opensource.org/licenses/MIT [MIT LICENSE] * @license https://opensource.org/licenses/MIT [MIT LICENSE]
*/ */
namespace TheTempusProject\Classes; namespace TheTempusProject\Classes;

View File

@ -30,7 +30,7 @@ class Users extends ApiController {
$response = 'No user found.'; $response = 'No user found.';
} else { } else {
$responseType = 'data'; $responseType = 'data';
$response = $user; $response = $user->ID;
} }
Views::view( 'api.response', ['response' => json_encode( [ $responseType => $response ], true )]); Views::view( 'api.response', ['response' => json_encode( [ $responseType => $response ], true )]);
} }

View File

@ -1,6 +1,6 @@
<?php <?php
/** /**
* app/plugins/notification/models/notification.php * app/plugins/notifications/models/notification.php
* *
* This class is used for the manipulation of the notifications database table. * This class is used for the manipulation of the notifications database table.
* *

View File

@ -45,18 +45,6 @@
</div> </div>
</div> </div>
</div> </div>
<div class="panel-body">
<div class="row">
<div class="col-lg-12 ">
<ul class="nav nav-tabs">
<li class="active"><a href="#">Home</a></li>
<li><a href="#">Profile</a></li>
<li><a href="#">Messages</a></li>
</ul>
here
</div>
</div>
</div>
<div class="panel-footer"> <div class="panel-footer">
<a href="{ROOT_URL}messages/create?prepopuser={USERNAME}" data-original-title="Broadcast Message" data-toggle="tooltip" type="button" class="btn btn-sm btn-primary"><i class="glyphicon glyphicon-envelope"></i></a> <a href="{ROOT_URL}messages/create?prepopuser={USERNAME}" data-original-title="Broadcast Message" data-toggle="tooltip" type="button" class="btn btn-sm btn-primary"><i class="glyphicon glyphicon-envelope"></i></a>
{ADMIN} {ADMIN}