Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Normalises files format, indents more nicely the code and makes the T…
…inyMCEv3 input, ready to be parsed by Doxygen.
- Loading branch information
JB Lebrun
committed
Jul 31, 2018
1 parent
7ef379c
commit 3d85dc0
Showing
12 changed files
with
590 additions
and
577 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,26 @@ | ||
<?php | ||
/* | ||
* CaMykS Engine | ||
* Developed by : camyks.net | ||
* Author : CaMykS Team | ||
* CaMykS Version : 1.0a | ||
* Object Version : 1.0 | ||
* Object Type : Plugin / Input Layout | ||
* Creation Date : Mar 2007 | ||
* Last Modif Date : Mar 2007 | ||
* | ||
* TinyMCE input : TinyMCE WebEditor Integration html file | ||
/** | ||
* @brief TinyMCEv3 Input layout | ||
* @details Plugin / Input layout | ||
* @file plugin/input/TinyMCE/html/input.html.inc | ||
* @author CaMykS Team <camyks.contact@gmail.com> | ||
* @version 1.0 | ||
* @date Creation: Jul 2008 | ||
* @date Modification: Jul 2018 | ||
* @copyright 2007 - 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 | ||
*/ | ||
?> | ||
<textarea name="<?=$this->ta_name;?>" id="<?=$this->ta_name;?>" <?=$this->contentLg!=''?'language="'.$this->contentLg.'" ':'';?>style="width:<?=$this->ta_sizex?>;height:<?=$this->ta_sizey?>;" cols="40" rows="8"><?php if ( $this->contentType=='text') : ?> | ||
<?=$this->contentValue?> | ||
<?php elseif ( $this->contentType=='file' and file_exists( $this->contentValue ) ) : ?> | ||
<textarea name="<?= $this->ta_name; ?>" id="<?= $this->ta_name; ?>" <?=$this->contentLg!=''?'language="'.$this->contentLg.'" ':'';?>style="width:<?= $this->ta_sizex; ?>;height:<?= $this->ta_sizey; ?>;" cols="40" rows="8"><?php if ($this->contentType=='text') : ?> | ||
<?= $this->contentValue; ?> | ||
<?php elseif ($this->contentType=='file' and file_exists($this->contentValue)) : ?> | ||
<?php require_once $this->contentValue; ?> | ||
<?php endif; ?> | ||
</textarea> | ||
</textarea> | ||
<?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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,51 +1,50 @@ | ||
/* | ||
* CaMykS Engine | ||
* Developed by : camyks.net | ||
* Author : CaMykS Team <camyks.contact@gmail.com> | ||
* CaMykS Version : 1.0b1 | ||
* Object Version : 1.0 | ||
* Object Type : Plugin / Input Javascript | ||
* Creation Date : Jul 2008 | ||
* Last Modif Date : Mar 2011 | ||
* | ||
* TinyMCEv3 input : TinyMCE 3 WebEditor Integration config file | ||
/** | ||
* @brief TinyMCEv3 Input advanced configuration scripts | ||
* @details Plugin / Input Javascripts | ||
* @file plugin/input/TinyMCEv3/js/configs/advanced.js | ||
* @author CaMykS Team | ||
* @version 1.0 | ||
* @date Creation: Jul 2008 | ||
* @date Modification: Jul 2018 | ||
* @copyright 2008 - 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. | ||
*/ | ||
|
||
tinyMCE.init({ | ||
mode : "textareas", | ||
mode : "textareas", | ||
theme : "advanced", | ||
|
||
/* enabled plugins */ | ||
plugins : "safari,inlinepopups,style,layer,table,advimage,advhr,preview,media,searchreplace,print,paste,directionality,fullscreen,noneditable,visualchars,nonbreaking,xhtmlxtras,pagebreak,camykslink,camyksemaillink,camyksloremipsum,camykscontextmenu" + camyks_ext_plugins, | ||
|
||
/* buttons lists */ | ||
theme_advanced_buttons1 : "newdocument,camyksloremipsum,fullscreen,preview,print,code,help,|,bold,italic,underline,strikethrough", | ||
theme_advanced_buttons1_add : ",|,justifyleft,justifycenter,justifyright,justifyfull,|,formatselect,styleselect,|,removeformat,", | ||
theme_advanced_buttons2 : "pastetext,pasteword,|,search,replace,|,undo,redo,|,ltr,rtl,visualchars,pagebreak", | ||
theme_advanced_buttons2_add : ",|,bullist,numlist,|,outdent,indent,|,sub,sup,|,image,media,|,link,camyksemaillink,anchor,unlink", | ||
theme_advanced_buttons3 : "advhr,|,tablecontrols,separator,insertlayer,moveforward,movebackward,absolute,|,cite,acronym,abbr,attribs,|,charmap,|,cleanup", | ||
theme_advanced_buttons4 : "" + camyks_ext_buttons, | ||
|
||
/* editor UI */ | ||
theme_advanced_toolbar_location : "top", | ||
theme_advanced_toolbar_align : "left", | ||
theme_advanced_statusbar_location : "bottom", | ||
theme_advanced_resizing : false, | ||
apply_source_formatting : true, | ||
|
||
/* blocks list */ | ||
theme_advanced_blockformats : "p,div,blockquote,address,pre,h1,h2,h3,h4", | ||
|
||
/* camyks params */ | ||
editor_deselector : "mceNoEditor", | ||
|
||
/* camyks plugins */ | ||
file_browser_callback : "image_callback", | ||
page_browser_callback : "page_callback", | ||
|
||
/* camyks information */ | ||
language : camyks_language, | ||
content_css : camyks_css_file, | ||
relative_urls : camyks_relative_urls, | ||
remove_script_host : camyks_remove_host, | ||
}); | ||
}); |
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
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,48 +1,47 @@ | ||
/* | ||
* 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 Javascript | ||
* Creation Date : Jul 2008 | ||
* Last Modif Date : Jan 2011 | ||
* | ||
* TinyMCEv3 input : TinyMCE 3 WebEditor Integration config file | ||
/** | ||
* @brief TinyMCEv3 Input flash configuration scripts | ||
* @details Plugin / Input Javascripts | ||
* @file plugin/input/TinyMCEv3/js/configs/flash.js | ||
* @author CaMykS Team | ||
* @version 1.0 | ||
* @date Creation: Jul 2008 | ||
* @date Modification: Jul 2018 | ||
* @copyright 2008 - 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. | ||
*/ | ||
|
||
tinyMCE.init({ | ||
mode : "textareas", | ||
mode : "textareas", | ||
theme : "advanced", | ||
|
||
/* enabled plugins */ | ||
plugins : "safari,inlinepopups,style,camykslink,camyksemaillink", | ||
|
||
/* buttons lists */ | ||
theme_advanced_buttons1 : "newdocument,cleanup,|,undo,redo,|,bold,italic,underline", | ||
theme_advanced_buttons1_add : ",|,styleselect,|,link,unlink,|,charmap", | ||
theme_advanced_buttons2 : "", | ||
theme_advanced_buttons3 : "", | ||
|
||
/* editor UI */ | ||
theme_advanced_toolbar_location : "top", | ||
theme_advanced_toolbar_align : "left", | ||
theme_advanced_statusbar_location : "bottom", | ||
theme_advanced_resizing : false, | ||
apply_source_formatting : true, | ||
|
||
/* valid html tags */ | ||
valid_elements : "+a[href|target|class],#p[class|align],#span[class],br,-b,-i,-u,-div[align|class]", | ||
|
||
/* camyks params */ | ||
editor_deselector : "mceNoEditor", | ||
|
||
/* camyks plugins */ | ||
page_browser_callback : "page_callback", | ||
|
||
/* camyks information */ | ||
language : camyks_language, | ||
content_css : camyks_css_file, | ||
relative_urls : camyks_relative_urls, | ||
remove_script_host : camyks_remove_host, | ||
}); | ||
}); |
Oops, something went wrong.