Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Optimises Admin_MonitoringUserAgentChecker module to be parsed by Dox…
…ygen.
- Loading branch information
JB Lebrun
committed
Nov 19, 2018
1 parent
d5c4792
commit 6d95fca
Showing
12 changed files
with
382 additions
and
361 deletions.
There are no files selected for viewing
209 changes: 98 additions & 111 deletions
209
plugin/module/Admin_MonitoringUserAgentChecker/Admin_MonitoringUserAgentChecker.php.inc
Large diffs are not rendered by default.
Oops, something went wrong.
72 changes: 39 additions & 33 deletions
72
plugin/module/Admin_MonitoringUserAgentChecker/html/admin.html.inc
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 |
---|---|---|
@@ -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 | ||
*/ | ||
?> |
56 changes: 31 additions & 25 deletions
56
plugin/module/Admin_MonitoringUserAgentChecker/html/admin_edit_user_agent.html.inc
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 |
---|---|---|
@@ -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')); ?> | ||
| ||
</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 | ||
*/ | ||
?> |
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
50 changes: 28 additions & 22 deletions
50
...n/module/Admin_MonitoringUserAgentChecker/html/admin_view_user_agent_bot_details.html.inc
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 |
---|---|---|
@@ -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.