Permalink
Browse files

Optimises Admin_MonitoringUserAgentChecker module to be parsed by Dox…

…ygen.
  • Loading branch information...
JB Lebrun
JB Lebrun committed Nov 19, 2018
1 parent d5c4792 commit 6d95fca79e2a023071f8539616e76b2c3acb049b

Large diffs are not rendered by default.

Oops, something went wrong.
@@ -1,49 +1,55 @@
<?php
/*
* CaMykS Engine
* Developed by : camyks.net
* Author : CaMykS Team <camyks.contact@gmail.com>
* CaMykS Version : 1.0b
* Object Version : 1.0
* Object Type : Plugin / Module Layout
* Creation Date : Dec 2014
* Last Modif Date : Apr 2018
*
* Admin_MonitoringUserAgentChecker Module Admin Layout : main
/**
* @brief Admin_MonitoringUserAgentChecker Module admin main layout.
* @details Plugin / Module layout
* @file plugin/module/Admin_MonitoringUserAgentChecker/html/admin.html.inc
* @author CaMykS Team <camyks.contact@gmail.com>
* @version 1.0.1
* @date Creation: Dec 2014
* @date Modification: Nov 2018
* @copyright 2014 - 2018 CaMykS Team
* @note This program is distributed as is - WITHOUT ANY WARRANTY;
* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
* @cond Exclude
*/
global $camyks;
?>
<?=$this->theme->get_boxHeader(array('class'=>'adminEditorModule'));?>
<?=$this->theme->get_boxTitleBar($this->title) ?>
<?=$this->theme->get_boxTabsBar($this->tabBuilder->tabs, $this->tabBuilder->jsParams);?>
<?=$this->theme->get_boxContent2Header( )?>
<div id="itemRecords" style="display:<?=$this->tabBuilder->get_tabDisplay('Records')?>;" class="adminContentPanel">
<?=$this->recordList->display('head');?>
<?=$this->recordList->display('list');?>
<?= $this->theme->get_boxHeader(array('class'=>'adminEditorModule')); ?>
<?= $this->theme->get_boxTitleBar($this->title) ?>
<?= $this->theme->get_boxTabsBar($this->tabBuilder->tabs, $this->tabBuilder->jsParams); ?>
<?= $this->theme->get_boxContent2Header( ); ?>
<div id="itemRecords" style="display:<?= $this->tabBuilder->get_tabDisplay('Records'); ?>;" class="adminContentPanel">
<?= $this->recordList->display('head'); ?>
<?= $this->recordList->display('list'); ?>
</div>

<div id="admin_genericuseragentmanager_addpopup" class="adminPopupFrame" style="display:none; width:500px; position:absolute; z-index:10001">
<?=$this->addform->display_header();?>
<?=$this->addform->display_hiddens();?>
<?=$camyks->theme->get_boxHeader()?>
<?=$camyks->theme->get_boxTitleBar($this->get_translation('addpopuptitle'))?>
<?=$camyks->theme->get_boxContent1Header()?>
<?= $this->addform->display_header(); ?>
<?= $this->addform->display_hiddens(); ?>
<?= $camyks->theme->get_boxHeader(); ?>
<?= $camyks->theme->get_boxTitleBar($this->get_translation('addpopuptitle')); ?>
<?= $camyks->theme->get_boxContent1Header(); ?>
<div class="eContent2">
<?=$this->get_translation('addpopupname')?>
<?= $this->get_translation('addpopupname'); ?>
</div>
<div class="eContent1">
<?=$this->addform->display_textAreaInput(array('name'=>'user_agent', 'class'=>'vlinputs')); ?>
</div>
<?=$camyks->theme->get_boxContent1Footer()?>
<?=$camyks->theme->get_boxButtonsBar($this->popupbuttons)?>
<?=$camyks->theme->get_boxFooter()?>
<?=$this->addform->display_footer();?>
<?= $this->addform->display_textAreaInput(array('name'=>'user_agent', 'class'=>'vlinputs')); ?>
</div>
<?= $camyks->theme->get_boxContent1Footer(); ?>
<?= $camyks->theme->get_boxButtonsBar($this->popupbuttons); ?>
<?= $camyks->theme->get_boxFooter(); ?>
<?= $this->addform->display_footer(); ?>
</div>

<div id="admin_genericuseragentmanager_viewpopup" class="adminPopupFrame" style="display:none;width:300px;position:absolute;z-index:10001">

</div>

<?=$this->theme->get_boxContent2Footer(); ?>
<?=$this->theme->get_boxButtonsBar($this->buttons); ?>
<?=$this->theme->get_boxFooter(); ?>
<?= $this->theme->get_boxContent2Footer(); ?>
<?= $this->theme->get_boxButtonsBar($this->buttons); ?>
<?= $this->theme->get_boxFooter(); ?>
<?php
/**
* @endcond Exclude
*/
?>
@@ -1,38 +1,44 @@
<?php
/*
* CaMykS Engine
* Developed by : camyks.net
* Author : CaMykS Team <camyks.contact@gmail.com>
* CaMykS Version : 1.0
* Object Version : 1.0
* Object Type : Plugin / Module Layout
* Creation Date : Dec 2014
* Last Modif Date : Mar 2018
*
* Admin_MonitoringUserAgentChecker Module Admin Layout : edit record
*/
/**
* @brief Admin_MonitoringUserAgentChecker Module admin edit user agent layout.
* @details Plugin / Module layout
* @file plugin/module/Admin_MonitoringUserAgentChecker/html/admin_edit_user_agent.html.inc
* @author CaMykS Team <camyks.contact@gmail.com>
* @version 1.0.1
* @date Creation: Dec 2014
* @date Modification: Nov 2018
* @copyright 2014 - 2018 CaMykS Team
* @note This program is distributed as is - WITHOUT ANY WARRANTY;
* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
* @cond Exclude
*/
global $camyks;
?>
<?=$this->theme->get_boxHeader(array('class'=>'adminEditorModule'));?>
<?=$this->theme->get_boxTitleBar($this->adminTitle);?>
<?=$this->theme->get_boxTabsBar($this->tabBuilder->tabs, $this->tabBuilder->jsParams);?>
<?=$this->theme->get_boxContent2Header();?>
<?=$this->editform->display_header();?>
<?=$this->editform->display_hiddens();?>
<div id="itemProperties" style="display:<?=$this->tabBuilder->get_tabDisplay('Properties')?>;" class="adminContentPanel">
<?= $this->theme->get_boxHeader(array('class'=>'adminEditorModule')); ?>
<?= $this->theme->get_boxTitleBar($this->adminTitle); ?>
<?= $this->theme->get_boxTabsBar($this->tabBuilder->tabs, $this->tabBuilder->jsParams); ?>
<?= $this->theme->get_boxContent2Header(); ?>
<?= $this->editform->display_header(); ?>
<?= $this->editform->display_hiddens(); ?>
<div id="itemProperties" style="display:<?= $this->tabBuilder->get_tabDisplay('Properties'); ?>;" class="adminContentPanel">
<table cellspacing="0" cellpadding="0" border="0" style="width:100%;">
<tr>
<td class="eTableLine0 eContent2">
<?=$this->get_translation('user_agent')?>
<?= $this->get_translation('user_agent'); ?>
</td>
<td class="eTableLine0 eContent1">
<?=$this->editform->display_textAreaInput(array('name'=>'user_agent', 'class'=>'vlinputs')); ?>
<?= $this->editform->display_textAreaInput(array('name'=>'user_agent', 'class'=>'vlinputs')); ?>
&nbsp;
</td>
</tr>
</table>
</div>
<?=$this->editform->display_footer();?>
<?=$this->theme->get_boxContent2Footer();?>
<?=$this->theme->get_boxButtonsBar($this->buttons);?>
<?=$this->theme->get_boxFooter();?>
<?= $this->editform->display_footer(); ?>
<?= $this->theme->get_boxContent2Footer(); ?>
<?= $this->theme->get_boxButtonsBar($this->buttons); ?>
<?= $this->theme->get_boxFooter(); ?>
<?php
/**
* @endcond Exclude
*/
?>
@@ -1,33 +1,34 @@
<?php
/*
* CaMykS Engine
* Developed by : camyks.net
* Author : CaMykS Team <camyks.contact@gmail.com>
* CaMykS Version : 1.0
* Object Version : 1.0
* Object Type : Plugin / Module Layout
* Creation Date : Dec 2014
* Last Modif Date : Dec 2014
*
* Admin_MonitoringUserAgentChecker Module Admin Layout : view record
*/
/**
* @brief Admin_MonitoringUserAgentChecker Module admin view user agent layout.
* @details Plugin / Module layout
* @file plugin/module/Admin_MonitoringUserAgentChecker/html/admin_view_user_agent.html.inc
* @author CaMykS Team <camyks.contact@gmail.com>
* @version 1.0.1
* @date Creation: Dec 2014
* @date Modification: Nov 2018
* @copyright 2014 - 2018 CaMykS Team
* @note This program is distributed as is - WITHOUT ANY WARRANTY;
* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
* @cond Exclude
*/
global $camyks;
?>
<?=$this->theme->get_boxHeader(array('class'=>'adminEditorModule'));?>
<?=$this->theme->get_boxTitleBar($this->adminTitle);?>
<?=$this->theme->get_boxTabsBar($this->tabBuilder->tabs, $this->tabBuilder->jsParams);?>
<?=$this->theme->get_boxContent2Header();?>
<?= $this->theme->get_boxHeader(array('class'=>'adminEditorModule')); ?>
<?= $this->theme->get_boxTitleBar($this->adminTitle); ?>
<?= $this->theme->get_boxTabsBar($this->tabBuilder->tabs, $this->tabBuilder->jsParams); ?>
<?= $this->theme->get_boxContent2Header(); ?>

<div id="itemProperties" style="display:<?=$this->tabBuilder->get_tabDisplay('Properties')?>;" class="adminContentPanel">
<div id="itemProperties" style="display:<?= $this->tabBuilder->get_tabDisplay('Properties'); ?>;" class="adminContentPanel">
<table cellspacing="0" cellpadding="0" border="0" style="width:100%; table-layout: fixed;">

<tr>
<td class="eTableLine0 eContent2" style="width:150px">
<?=$this->get_translation('formitem_user_agent')?>
<?= $this->get_translation('formitem_user_agent'); ?>
</td>
<td class="">
<div style="overflow:auto; padding:8px; max-width:100%;">
<?=$this->recordItem->get_adminValue();?>
<?= $this->recordItem->get_adminValue(); ?>
</div>
</td>
</tr>
@@ -40,18 +41,18 @@ global $camyks;

<tr>
<td class="eTableHeader" colspan="2">
<?=$this->get_translation('formtitle_details'); ?>
<?= $this->get_translation('formtitle_details'); ?>
</td>
</tr>

<tr>
<td class="eTableLine0 eContent2">
<?=$this->get_translation('formitem_platform_type')?>
<?= $this->get_translation('formitem_platform_type'); ?>
</td>
<td class="eTableLine0 eContent1">
<?= $this->get_translation('platform_type_' . $this->recordItem->vars['platform_type']); ?>
<?php if ($this->uaInfos['platform_type'] != '' and $this->recordItem->vars['platform_type'] != $this->uaInfos['platform_type']) : ?>
(<?=$this->get_translation('platform_type_' . $this->uaInfos['platform_type']);?> *)
(<?= $this->get_translation('platform_type_' . $this->uaInfos['platform_type']); ?> *)
<?php endif; ?>
</td>
</tr>
@@ -74,40 +75,45 @@ switch($this->recordItem->vars['platform_type']) {

<tr>
<td class="eTableHeader" colspan="2">
<?=$this->get_translation('formtitle_infos'); ?>
<?= $this->get_translation('formtitle_infos'); ?>
</td>
</tr>

<tr>
<td class="eTableLine0 eContent2">
<?=$this->get_translation('formitem_nvisit')?>
<?= $this->get_translation('formitem_nvisit'); ?>
</td>
<td class="eTableLine0 eContent1">
<?=$this->recordItem->vars['nvisit']; ?>
<?= $this->recordItem->vars['nvisit']; ?>
</td>
</tr>

<tr>
<td class="eTableLine1 eContent2">
<?=$this->get_translation('formitem_fvisit')?>
<?= $this->get_translation('formitem_fvisit'); ?>
</td>
<td class="eTableLine1 eContent1">
<?=date_displayNumericDateHour($this->recordItem->vars['fvisit']); ?>
<?= date_displayNumericDateHour($this->recordItem->vars['fvisit']); ?>
</td>
</tr>

<tr>
<td class="eTableLine0 eContent2">
<?=$this->get_translation('formitem_lvisit')?>
<?= $this->get_translation('formitem_lvisit'); ?>
</td>
<td class="eTableLine0 eContent1">
<?=date_displayNumericDateHour($this->recordItem->vars['lvisit']); ?>
<?= date_displayNumericDateHour($this->recordItem->vars['lvisit']); ?>
</td>
</tr>

</table>
</div>

<?=$this->theme->get_boxContent2Footer();?>
<?=$this->theme->get_boxButtonsBar($this->buttons);?>
<?=$this->theme->get_boxFooter();?>
<?= $this->theme->get_boxContent2Footer(); ?>
<?= $this->theme->get_boxButtonsBar($this->buttons); ?>
<?= $this->theme->get_boxFooter(); ?>
<?php
/**
* @endcond Exclude
*/
?>
@@ -1,58 +1,64 @@
<?php
/*
* CaMykS Engine
* Developed by : camyks.net
* Author : CaMykS Team <camyks.contact@gmail.com>
* CaMykS Version : 1.0
* Object Version : 1.0
* Object Type : Plugin / Module Layout
* Creation Date : Dec 2014
* Last Modif Date : Mar 2018
*
* Admin_MonitoringUserAgentChecker Module Admin Layout : view bot details
*/
/**
* @brief Admin_MonitoringUserAgentChecker Module admin view user agent, bot details, layout.
* @details Plugin / Module layout
* @file plugin/module/Admin_MonitoringUserAgentChecker/html/admin_view_user_agent_bot_details.html.inc
* @author CaMykS Team <camyks.contact@gmail.com>
* @version 1.0.1
* @date Creation: Dec 2014
* @date Modification: Nov 2018
* @copyright 2014 - 2018 CaMykS Team
* @note This program is distributed as is - WITHOUT ANY WARRANTY;
* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
* @cond Exclude
*/
?>
<tr>
<td class="eTableLine1 eContent2">
<?=$this->get_translation('formitem_platform_format')?>
<?= $this->get_translation('formitem_platform_format'); ?>
</td>
<td class="eTableLine1 eContent1">
<?= array_key_exists('platform_format', $this->uaInfos) ? $this->recordPlatformFormats[$this->uaInfos['platform_format']] : '';?>
<?= array_key_exists('platform_format', $this->uaInfos) ? $this->recordPlatformFormats[$this->uaInfos['platform_format']] : ''; ?>
</td>
</tr>

<tr>
<td class="eTableLine0 eContent2">
<?=$this->get_translation('formitem_bot_title')?>
<?= $this->get_translation('formitem_bot_title'); ?>
</td>
<td class="eTableLine0 eContent1">
<?= array_key_exists('bot_title', $this->uaInfos) ? $this->uaInfos['bot_title'] : '';?>
<?= array_key_exists('bot_title', $this->uaInfos) ? $this->uaInfos['bot_title'] : ''; ?>
</td>
</tr>

<tr>
<td class="eTableLine1 eContent2">
<?=$this->get_translation('formitem_bot_url')?>
<?= $this->get_translation('formitem_bot_url'); ?>
</td>
<td class="eTableLine1 eContent1">
<?= array_key_exists('bot_url', $this->uaInfos) ? $this->uaInfos['bot_url'] : '';?>
<?= array_key_exists('bot_url', $this->uaInfos) ? $this->uaInfos['bot_url'] : ''; ?>
</td>
</tr>

<tr>
<td class="eTableLine0 eContent2">
<?=$this->get_translation('formitem_engine_title')?>
<?= $this->get_translation('formitem_engine_title'); ?>
</td>
<td class="eTableLine0 eContent1">
<?= array_key_exists('engine_title', $this->uaInfos) ? $this->uaInfos['engine_title'] : '';?>
<?= array_key_exists('engine_title', $this->uaInfos) ? $this->uaInfos['engine_title'] : ''; ?>
</td>
</tr>

<tr>
<td class="eTableLine1 eContent2">
<?=$this->get_translation('formitem_engine_url')?>
<?= $this->get_translation('formitem_engine_url'); ?>
</td>
<td class="eTableLine1 eContent1">
<?= array_key_exists('engine_url', $this->uaInfos) ? $this->uaInfos['engine_url'] : '';?>
<?= array_key_exists('engine_url', $this->uaInfos) ? $this->uaInfos['engine_url'] : ''; ?>
</td>
</tr>
<?php
/**
* @endcond Exclude
*/
?>
Oops, something went wrong.

0 comments on commit 6d95fca

Please sign in to comment.