Permalink
Browse files

Normalises files format, indents more nicely the code and makes all i…

…ncluded themes, ready to be parsed by Doxygen.
  • Loading branch information...
JB Lebrun
JB Lebrun committed Aug 1, 2018
1 parent 5f14cab commit 1f4615ba031d1f622f743aa3666c034dc32a1254
Showing with 1,256 additions and 1,224 deletions.
  1. +68 −66 plugin/theme/Basic/Basic.php.inc
  2. +15 −15 plugin/theme/Basic/editor.css
  3. +16 −16 plugin/theme/Basic/parts.css
  4. +12 −15 plugin/theme/Basic/parts.php.inc
  5. +15 −15 plugin/theme/Basic/style.css
  6. +63 −59 plugin/theme/BlueBoxStyle/BlueBoxStyle.php.inc
  7. +18 −18 plugin/theme/BlueBoxStyle/editor.css
  8. +12 −13 plugin/theme/BlueBoxStyle/editor_ie.css
  9. +15 −15 plugin/theme/BlueBoxStyle/parts.css
  10. +12 −12 plugin/theme/BlueBoxStyle/parts.php.inc
  11. +13 −13 plugin/theme/BlueBoxStyle/parts_ie.css
  12. +12 −12 plugin/theme/BlueBoxStyle/style.css
  13. +141 −119 plugin/theme/GreyStyle/GreyStyle.php.inc
  14. +14 −14 plugin/theme/GreyStyle/editor.css
  15. +21 −21 plugin/theme/GreyStyle/parts.css
  16. +13 −13 plugin/theme/GreyStyle/parts.php.inc
  17. +24 −27 plugin/theme/GreyStyle/style.css
  18. +41 −34 plugin/theme/IndigoFlatStyle/IndigoFlatStyle.php.inc
  19. +20 −20 plugin/theme/IndigoFlatStyle/css/admin.css
  20. +14 −14 plugin/theme/IndigoFlatStyle/css/editor.css
  21. +16 −16 plugin/theme/IndigoFlatStyle/css/parts.css
  22. +15 −1 plugin/theme/IndigoFlatStyle/css/popup.css
  23. +0 −31 plugin/theme/IndigoFlatStyle/css/print.css
  24. +76 −76 plugin/theme/IndigoFlatStyle/css/style.css
  25. +13 −16 plugin/theme/IndigoFlatStyle/parts.php.inc
  26. +49 −38 plugin/theme/MacOS7Style/MacOS7Style.php.inc
  27. +16 −16 plugin/theme/MacOS7Style/editor.css
  28. +17 −17 plugin/theme/MacOS7Style/parts.css
  29. +13 −13 plugin/theme/MacOS7Style/parts.php.inc
  30. +14 −14 plugin/theme/MacOS7Style/style.css
  31. +51 −46 plugin/theme/MassiveGreenStyle/MassiveGreenStyle.php.inc
  32. +16 −16 plugin/theme/MassiveGreenStyle/editor.css
  33. +15 −15 plugin/theme/MassiveGreenStyle/parts.css
  34. +12 −12 plugin/theme/MassiveGreenStyle/parts.php.inc
  35. +13 −13 plugin/theme/MassiveGreenStyle/parts_ie.css
  36. +14 −14 plugin/theme/MassiveGreenStyle/style.css
  37. +35 −32 plugin/theme/PsionicStormStyle/PsionicStormStyle.php.inc
  38. +18 −18 plugin/theme/PsionicStormStyle/editor.css
  39. +18 −18 plugin/theme/PsionicStormStyle/parts.css
  40. +12 −13 plugin/theme/PsionicStormStyle/parts.php.inc
  41. +19 −19 plugin/theme/PsionicStormStyle/style.css
  42. +63 −59 plugin/theme/RedBoxStyle/RedBoxStyle.php.inc
  43. +17 −17 plugin/theme/RedBoxStyle/editor.css
  44. +12 −13 plugin/theme/RedBoxStyle/editor_ie.css
  45. +15 −15 plugin/theme/RedBoxStyle/parts.css
  46. +12 −12 plugin/theme/RedBoxStyle/parts.php.inc
  47. +13 −13 plugin/theme/RedBoxStyle/parts_ie.css
  48. +12 −12 plugin/theme/RedBoxStyle/style.css
  49. +35 −32 plugin/theme/SunnyBlocksStyle/SunnyBlocksStyle.php.inc
  50. +17 −17 plugin/theme/SunnyBlocksStyle/editor.css
  51. +18 −18 plugin/theme/SunnyBlocksStyle/parts.css
  52. +12 −12 plugin/theme/SunnyBlocksStyle/parts.php.inc
  53. +19 −19 plugin/theme/SunnyBlocksStyle/style.css
@@ -1,73 +1,75 @@
<?php
/*
* CaMykS Engine
* Developed : camyks.net
* Author : CaMykS Team <camyks.contact@gmail.com>
* CaMykS Version : 1.0a
* Object Version : 1.0
* Object Type : Plugin / Theme
* Create Date : Sep 2005
* Last Modif Date : Jul 2008
* History :
* * 05-09-xx : Initial File
* * 08-01-07 : Rebuild theme as an object
* * 08-07-02 : Update to suit new Theme specifications
*
* Theme Information : Basic
/**
* @brief Basic Theme.
* <br /> Very simple theme.
* @details Plugin / Theme Engine
* @file plugin/theme/Basic/Basic.php.inc
* @author CaMykS Team <camyks.contact@gmail.com>
* @version 1.0
* @date Creation: Sep 2005
* @date Modification: Aug 2018
* @copyright 2005 - 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.
*/
class Basic extends Theme {
/*
* constructor
* @param string $path_type
*/
function Basic( $path_type ) {
parent::Theme('Basic', $path_type);
/* set theme title */
$this->title = 'Basic';
/* set plugin version */
$this->version = '1.0';
/* set plugin package */
$this->plugin_package = 'Default';
/* set plugin author */
$this->author_name = 'CaMykS Team';
$this->author_mail = 'camyks.contact@gmail.com';
$this->author_group = 'camyks.net';
}
/**
* Basic Theme class.
*/
final class Basic extends Theme {
/**
* Class constructor.
* @param string $path_type.
* @return void
*/
public function __construct($path_type) {
parent::__construct('Basic', $path_type);
/*
* overwrite box buttons bar
* @params array $buttons
* @return string
* @public private
*/
function get_boxButtonsBar ($buttons=array()) {
/* get min button value */
$min = 2;
/* update button size */
if ( $sized ) {
$cols = max( $min, count($buttons));
$colw = 'width:'.intval(100/$cols).'%;';
} else {
$colw = '';
}
$str = '';
$str .= $this->get_part('boxButtonsBarHeader');
foreach ( $buttons as $b ) {
if ( isset($b['link']) and $b['link']!= '') {
$str .= $this->get_part('boxButtonWithLink', array( $colw, $b['link'], $b['title']));
} else {
$str .= $this->get_part('boxButtonWithoutLink', array( $colw, $b['title']));
}
/* overwrite Plugin information */
$this->title = 'Basic';
$this->version = '1.0';
$this->plugin_package = 'Default';
/* author information */
$this->author_name = 'CaMykS Team';
$this->author_mail = 'camyks.contact@gmail.com';
$this->author_group = 'camyks.net';
}
/* simulate a "min" cols bar */
for( $i=count($buttons); $i < $min; $i++ ) {
$str .= $this->get_part('boxButtonWithoutLink', array( $colw, '&nbsp;'));
/* overwrite Theme methods */
/**
* Overwrite box buttons bar.
* @param array $buttons
* @return string
*/
public function get_boxButtonsBar($buttons=array()) {
/* get min button value */
$min = 2;
/* update button size */
if ( $sized ) {
$cols = max( $min, count($buttons));
$colw = 'width:'.intval(100/$cols).'%;';
} else {
$colw = '';
}
$str = '';
$str .= $this->get_part('boxButtonsBarHeader');
foreach ( $buttons as $b ) {
if ( isset($b['link']) and $b['link']!= '') {
$str .= $this->get_part('boxButtonWithLink', array( $colw, $b['link'], $b['title']));
} else {
$str .= $this->get_part('boxButtonWithoutLink', array( $colw, $b['title']));
}
}
/* simulate a "min" cols bar */
for( $i=count($buttons); $i < $min; $i++ ) {
$str .= $this->get_part('boxButtonWithoutLink', array( $colw, '&nbsp;'));
}
$str .= $this->get_part('boxButtonsBarFooter');
return $str;
}
$str .= $this->get_part('boxButtonsBarFooter');
return $str;
}
}
?>
?>
@@ -1,15 +1,15 @@
/*
* CaMykS Engine
* Developed by : camyks.net
* Author : CaMykS Team <camyks.contact@gmail.com>
* CaMykS Version : 1.0a
* Object Version : 1.0
* Object Type : Plugin / Theme Editor CSS styles
* Creation Date : Jun 2007
* Last Modif Date : Jun 2007
*
* Editor CSS styles for Basic Theme
*/
/**
* @brief Basic Theme editor CSS styles
* @details Plugin / Theme CSS styles
* @file plugin/theme/Basic/editor.css
* @author CaMykS Team
* @version 1.0
* @date Creation: Jun 2007
* @date Modification: Aug 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.
*/

/* generic styles */
.eTitle1 {
@@ -34,7 +34,7 @@
color:#9B9F84;
}

.eTitle4 {
.eTitle4 {
font-size:12px;
font-style:italic;
color:#444444;
@@ -60,7 +60,7 @@
padding: 2px;
}

.eContent4 {
.eContent4 {
font-size: 10px;
text-align: justify;
font-style: italic;
@@ -71,7 +71,7 @@ a.eLink1 { color:#9B9F84; text-decoration:underline; }

a.eLink2 { font-weight:bold; color:#9B9F84; text-decoration:underline; }

th.eTableHeader, td.eTableHeader {
th.eTableHeader, td.eTableHeader {
background:#888888;
padding:4px;
font-weight:bold;
@@ -1,24 +1,24 @@
/*
* CaMykS Engine
* Developed : camyks.net
* Author : CaMykS Team <camyks.contact@gmail.com>
* CaMykS Version : 1.0a
* Object Version : 1.0
* Object Type : Plugin / Theme Parts CSS styles
* Create Date : Sep 2005
* Last Modif Date : Jan 2008
*
* Parts CSS styles for Basic Theme
*/
/**
* @brief Basic Theme parts CSS styles
* @details Plugin / Theme CSS styles
* @file plugin/theme/Basic/parts.css
* @author CaMykS Team
* @version 1.0
* @date Creation: Jun 2007
* @date Modification: Aug 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.
*/

/* bar */
div.basicBar {
div.basicBar {
border:solid 1px #9B9F84;
background-color:#EAECE2;
}

/* box */
div.basicBox {
div.basicBox {
border:solid 1px #9B9F84;
}

@@ -30,7 +30,7 @@ div.basicTitleBar {
height:18px;
}

div.basicBoxContent1 {
div.basicBoxContent1 {
padding:4px;
}

@@ -89,4 +89,4 @@ div.basicLayeredMenuItemIcon{
padding:2px 4px;
margin-right:4px;
height:14px;
}
}
@@ -1,15 +1,15 @@
<?php
/*
* CaMykS Engine
* Developed by : camyks.net
* Author : CaMykS Team <camyks.contact@gmail.com>
* CaMykS Version : 1.0a
* Object Version : 1.0
* Object Type : Plugin / Theme HTML Parts
* Create Date : Sep 2005
* Last Modif Date : Jan 2008
*
* HTML Parts for Basic Theme
/**
* @brief Basic Theme parts.
* @details Plugin / Theme Parts
* @file plugin/theme/Basic/parts.php.inc
* @author CaMykS Team <camyks.contact@gmail.com>
* @version 1.0
* @date Creation: Sep 2005
* @date Modification: Aug 2018
* @copyright 2005 - 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.
*/
/* bar parts */
@@ -78,7 +78,6 @@ $this->parts['lightBoxFooter'] = '
</div>
';
/* button part */
$this->parts['button'] = '
<table cellspacing="0">
@@ -92,8 +91,6 @@ onmouseout="this.className=\'basicButton\';">
</table>
';
/* layered menu */
$this->parts['layeredMenuHeader'] = '
<div id="%1$s" class="basicLayeredMenuHeader"
@@ -119,4 +116,4 @@ $this->parts['layeredMenuLinkItem'] = '
$this->parts['layeredMenuFooter'] = '
</div>';
?>
?>
@@ -1,15 +1,15 @@
/*
* CaMykS Engine
* Developed by : camyks.net
* Author : CaMykS Team
* CaMykS Version : 1.0a
* Object Version : 1.0
* Object Type : Plugin / Theme Main CSS styles
* Create Date : Sep 2005
* Last Modif Date : Jan 2008
*
* Main CSS styles for Basic Theme
*/
/**
* @brief Basic Theme main CSS styles
* @details Plugin / Theme CSS styles
* @file plugin/theme/Basic/style.css
* @author CaMykS Team
* @version 1.0
* @date Creation: Jun 2007
* @date Modification: Apr 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.
*/

/* global */
body {
@@ -58,7 +58,7 @@ img.icon {float:left; margin-right:4px;}
color:#9B9F84;
}

.title4 {
.title4 {
font-size:12px;
font-style:italic;
color:#444444;
@@ -85,7 +85,7 @@ img.icon {float:left; margin-right:4px;}

.link2 { font-weight:bold; color:#9B9F84; text-decoration:underline; }

.error {
.error {
font-size:12px;
font-weight:bold;
color:#CC3333;
@@ -101,4 +101,4 @@ img.icon {float:left; margin-right:4px;}
.list1 {
background:#CCCCCC;
padding:4px;
}
}
Oops, something went wrong.

0 comments on commit 1f4615b

Please sign in to comment.