Skip to content

Commit

Permalink
Normalises files format, indents more nicely the code and makes the G…
Browse files Browse the repository at this point in the history
…enericMediaPopup input, ready to be parsed by Doxygen.
  • Loading branch information
JB Lebrun committed Apr 26, 2018
1 parent bc0edbb commit dde5041
Show file tree
Hide file tree
Showing 10 changed files with 1,757 additions and 1,743 deletions.
534 changes: 270 additions & 264 deletions plugin/input/GenericMediaPopup/GenericMediaPopup.php.inc

Large diffs are not rendered by default.

23 changes: 11 additions & 12 deletions plugin/input/GenericMediaPopup/css/mediapopup.css
Original file line number Diff line number Diff line change
@@ -1,15 +1,14 @@
/*
* CaMykS Engine
* Developed by : camyks.net
* Author : CaMykS Team <camyks.contact@gmail.com>
* CaMykS Version : 1.0b
* Object Version : 1.0
* Object Type : Plugin / Input Engine
* Creation Date : Oct 2011
* Last Modif Date : Oct 2011
*
* GenericMediaPopup CSS style file
*
/**
* @brief GenericMediaPopup Input default CSS styles
* @details Plugin / Input CSS styles
* @file plugin/input/GenericMediaPopup/css/mediapopup.css
* @author CaMykS Team
* @version 1.0
* @date Creation: Oct 2011
* @date Modification: Apr 2018
* @copyright 2011 - 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.
*/

/* background */
Expand Down
335 changes: 170 additions & 165 deletions plugin/input/GenericMediaPopup/html/configuration/edit.html.inc
Original file line number Diff line number Diff line change
@@ -1,165 +1,170 @@
<?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 / Input Layout
* Creation Date : Mar 2018
* Last Modif Date : Mar 2018
*
* GenericMediaPopupConfig special layout : edit configuration
*/
global $camyks;
?>
<?=$camyks->theme->get_boxContent2Header();?>
<div class="adminContentPanel">
<table cellspacing="2" cellpadding="0" border="0" style="width:100%;">
<tr>
<td class="eTableLine0 eContent2" style="width:170px;">
<?=$this->get_translation('formitem_insertion');?>
</td>
<td class="eTableLine0 eContent1">
<?=$this->form->display_selectInput(array('name'=>'insertion', 'values'=>$this->config->get_insertionList())); ?>
</td>
</tr>

<tr>
<td class="eTableLine1 eContent2">
<?=$this->get_translation('formitem_stylesource');?>
</td>
<td class="eTableLine1 eContent1">
<?=$this->form->display_selectInput(array('name'=>'styleSource', 'values'=>$this->config->get_styleSourceList())); ?>
</td>
</tr>

<tr>
<td class="eTableLine0" colspan="2">
&nbsp;
</td>
</tr>

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

<tr>
<td class="eTableLine0 eContent2">
<?=$this->get_translation('formitem_clickbkgdtoclose');?>
</td>
<td class="eTableLine0">
<?=$this->form->display_booleanSelectInput('clickBkgdToClose'); ?>
</td>
</tr>

<tr>
<td class="eTableLine1 eContent2">
<?=$this->get_translation('formitem_enableclosebutton');?>
</td>
<td class="eTableLine1">
<?=$this->form->display_booleanSelectInput('enableCloseButton'); ?>
</td>
</tr>

<tr>
<td class="eTableLine0 eContent2">
<?=$this->get_translation('formitem_enablekeyboard');?>
</td>
<td class="eTableLine0">
<?=$this->form->display_booleanSelectInput('enableKeyboard'); ?>
</td>
</tr>

<tr>
<td class="eTableLine1 eContent2">
<?=$this->get_translation('formitem_maxwidth');?>
</td>
<td class="eTableLine1">
<?=$this->form->display_textInput(array('name'=>'maxWidth', 'class'=>'vsinputs')); ?> px
</td>
</tr>

<tr>
<td class="eTableLine0" colspan="2">
&nbsp;
</td>
</tr>

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

<tr>
<td class="eTableLine0 eContent2">
<?=$this->get_translation('formitem_enablediaporama');?>
</td>
<td class="eTableLine0">
<?=$this->form->display_booleanSelectInput('enableDiaporama'); ?>
</td>
</tr>

<tr>
<td class="eTableLine1 eContent2">
<?=$this->get_translation('formitem_diaporamabuttonsshift');?>
</td>
<td class="eTableLine1">
<?=$this->form->display_textInput(array('name'=>'diaporamaButtonsShift', 'class'=>'vsinputs')); ?> px
</td>
</tr>

<tr>
<td class="eTableLine0" colspan="2">
&nbsp;
</td>
</tr>

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

<tr>
<td class="eTableLine0 eContent2">
<?=$this->get_translation('formitem_enableflash');?>
</td>
<td class="eTableLine0">
<?=$this->form->display_booleanSelectInput('enableFlash'); ?>
</td>
</tr>

<tr>
<td class="eTableLine1 eContent2">
<?=$this->get_translation('formitem_flvcontrolercolor');?>
</td>
<td class="eTableLine1">
#<?=$this->form->display_textInput(array('name'=>'flvControlerColor', 'class'=>'vsinputs')); ?>
</td>
</tr>

<tr>
<td class="eTableLine0 eContent2">
<?=$this->get_translation('formitem_flvcontroleralpha');?>
</td>
<td class="eTableLine0">
<?=$this->form->display_textInput(array('name'=>'flvControlerAlpha', 'class'=>'vsinputs')); ?>
</td>
</tr>

<tr>
<td class="eTableLine1 eContent2">
<?=$this->get_translation('formitem_flvcontrolerheight');?>
</td>
<td class="eTableLine1">
<?=$this->form->display_textInput(array('name'=>'flvControlerHeight', 'class'=>'vsinputs')); ?> px
</td>
</tr>

</table>
</div>
<?=$camyks->theme->get_boxContent2Footer();?>
<?php
/**
* @brief GenericMediaPopup Input configuration edit layout
* @details Plugin / Input layout
* @file plugin/input/GenericMediaPopup/html/configuration/edit.html.inc
* @author CaMykS Team <camyks.contact@gmail.com>
* @version 1.0
* @date Creation: Mar 2018
* @date Modification: Apr 2018
* @copyright 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;
?>
<?=$camyks->theme->get_boxContent2Header();?>
<div class="adminContentPanel">
<table cellspacing="2" cellpadding="0" border="0" style="width:100%;">
<tr>
<td class="eTableLine0 eContent2" style="width:170px;">
<?=$this->get_translation('formitem_insertion');?>
</td>
<td class="eTableLine0 eContent1">
<?=$this->form->display_selectInput(array('name'=>'insertion', 'values'=>$this->config->get_insertionList())); ?>
</td>
</tr>

<tr>
<td class="eTableLine1 eContent2">
<?=$this->get_translation('formitem_stylesource');?>
</td>
<td class="eTableLine1 eContent1">
<?=$this->form->display_selectInput(array('name'=>'styleSource', 'values'=>$this->config->get_styleSourceList())); ?>
</td>
</tr>

<tr>
<td class="eTableLine0" colspan="2">
&nbsp;
</td>
</tr>

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

<tr>
<td class="eTableLine0 eContent2">
<?=$this->get_translation('formitem_clickbkgdtoclose');?>
</td>
<td class="eTableLine0">
<?=$this->form->display_booleanSelectInput('clickBkgdToClose'); ?>
</td>
</tr>

<tr>
<td class="eTableLine1 eContent2">
<?=$this->get_translation('formitem_enableclosebutton');?>
</td>
<td class="eTableLine1">
<?=$this->form->display_booleanSelectInput('enableCloseButton'); ?>
</td>
</tr>

<tr>
<td class="eTableLine0 eContent2">
<?=$this->get_translation('formitem_enablekeyboard');?>
</td>
<td class="eTableLine0">
<?=$this->form->display_booleanSelectInput('enableKeyboard'); ?>
</td>
</tr>

<tr>
<td class="eTableLine1 eContent2">
<?=$this->get_translation('formitem_maxwidth');?>
</td>
<td class="eTableLine1">
<?=$this->form->display_textInput(array('name'=>'maxWidth', 'class'=>'vsinputs')); ?> px
</td>
</tr>

<tr>
<td class="eTableLine0" colspan="2">
&nbsp;
</td>
</tr>

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

<tr>
<td class="eTableLine0 eContent2">
<?=$this->get_translation('formitem_enablediaporama');?>
</td>
<td class="eTableLine0">
<?=$this->form->display_booleanSelectInput('enableDiaporama'); ?>
</td>
</tr>

<tr>
<td class="eTableLine1 eContent2">
<?=$this->get_translation('formitem_diaporamabuttonsshift');?>
</td>
<td class="eTableLine1">
<?=$this->form->display_textInput(array('name'=>'diaporamaButtonsShift', 'class'=>'vsinputs')); ?> px
</td>
</tr>

<tr>
<td class="eTableLine0" colspan="2">
&nbsp;
</td>
</tr>

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

<tr>
<td class="eTableLine0 eContent2">
<?=$this->get_translation('formitem_enableflash');?>
</td>
<td class="eTableLine0">
<?=$this->form->display_booleanSelectInput('enableFlash'); ?>
</td>
</tr>

<tr>
<td class="eTableLine1 eContent2">
<?=$this->get_translation('formitem_flvcontrolercolor');?>
</td>
<td class="eTableLine1">
#<?=$this->form->display_textInput(array('name'=>'flvControlerColor', 'class'=>'vsinputs')); ?>
</td>
</tr>

<tr>
<td class="eTableLine0 eContent2">
<?=$this->get_translation('formitem_flvcontroleralpha');?>
</td>
<td class="eTableLine0">
<?=$this->form->display_textInput(array('name'=>'flvControlerAlpha', 'class'=>'vsinputs')); ?>
</td>
</tr>

<tr>
<td class="eTableLine1 eContent2">
<?=$this->get_translation('formitem_flvcontrolerheight');?>
</td>
<td class="eTableLine1">
<?=$this->form->display_textInput(array('name'=>'flvControlerHeight', 'class'=>'vsinputs')); ?> px
</td>
</tr>
</table>
</div>
<?=$camyks->theme->get_boxContent2Footer();?>
<?php
/**
* @endcond Exclude
*/
?>
Loading

0 comments on commit dde5041

Please sign in to comment.