forked from techjoomla/TJ-Notifications
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Issue techjoomla#48 chore: Log Email details in DB table - Tj Notific…
…ation
- Loading branch information
1 parent
f077d79
commit ef61de7
Showing
7 changed files
with
84 additions
and
55 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
<?php | ||
/** | ||
* @package Com_Tjnotifications | ||
* @copyright Copyright (c) 2009-2019 TechJoomla. All rights reserved. | ||
* @license GNU General Public License version 2 or later. | ||
*/ | ||
|
||
// No direct access to this file | ||
defined('_JEXEC') or die; | ||
|
||
use Joomla\CMS\Table\Table; | ||
use Joomla\CMS\Factory; | ||
|
||
$jinput = Factory::getApplication()->input; | ||
$logId = $jinput->get('id', 0, 'INT'); | ||
|
||
if($logId) | ||
{ | ||
Table::addIncludePath(JPATH_ADMINISTRATOR . '/components/com_tjnotifications/tables'); | ||
$logTable = Table::getInstance('Log', 'TjnotificationsTable'); | ||
$logTable->load(array('id' => $logId)); | ||
} | ||
?> | ||
<div> | ||
<h4 class="modal-title"><?php echo | ||
JText::_("COM_TJNOTIFICATIONS_FIELD_EMAIL_BODY_LABEL"); | ||
?></h4> | ||
</div> | ||
<div class="col-xs-12"> | ||
<p><?php echo $logTable->body; ?> | ||
</p> | ||
</div> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
<?php | ||
/** | ||
* @package Com_Tjnotifications | ||
* @copyright Copyright (c) 2009-2019 TechJoomla. All rights reserved. | ||
* @license GNU General Public License version 2 or later. | ||
*/ | ||
|
||
// No direct access to this file | ||
defined('_JEXEC') or die; | ||
|
||
use Joomla\CMS\Table\Table; | ||
use Joomla\CMS\Factory; | ||
|
||
$jinput = Factory::getApplication()->input; | ||
$logId = $jinput->get('id', 0, 'INT'); | ||
|
||
if($logId) | ||
{ | ||
Table::addIncludePath(JPATH_ADMINISTRATOR . '/components/com_tjnotifications/tables'); | ||
$logTable = Table::getInstance('Log', 'TjnotificationsTable'); | ||
$logTable->load(array('id' => $logId)); | ||
} | ||
?> | ||
<div> | ||
<h4 class="modal-title"><?php echo | ||
JText::_("COM_TJNOTIFICATIONS_VIEW_PARAMS_POPUP"); | ||
?></h4> | ||
</div> | ||
<div class="col-xs-12"> | ||
<p><?php echo $logTable->params; ?> | ||
</p> | ||
</div> | ||
</div> |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters