|
@@ -2,7 +2,7 @@
|
|
|
/**
|
|
/**
|
|
|
* HSDN Recursive Table Generator
|
|
* HSDN Recursive Table Generator
|
|
|
*
|
|
*
|
|
|
- * @version 0.07.0b
|
|
|
|
|
|
|
+ * @version 0.08.0b
|
|
|
* @author HSDN Team
|
|
* @author HSDN Team
|
|
|
* @copyright Copyright (c) 2015-2017, Information Networks Ltd.
|
|
* @copyright Copyright (c) 2015-2017, Information Networks Ltd.
|
|
|
* @link http://www.hsdn.org
|
|
* @link http://www.hsdn.org
|
|
@@ -28,7 +28,7 @@ class RTG
|
|
|
*/
|
|
*/
|
|
|
private static $settings = array
|
|
private static $settings = array
|
|
|
(
|
|
(
|
|
|
- 'table' => '100%',
|
|
|
|
|
|
|
+ 'width' => '100%',
|
|
|
'color' => '#ccffcc',
|
|
'color' => '#ccffcc',
|
|
|
'color_raw' => '#ccccff',
|
|
'color_raw' => '#ccccff',
|
|
|
'color_null' => '#ffcccc',
|
|
'color_null' => '#ffcccc',
|
|
@@ -75,7 +75,7 @@ class RTG
|
|
|
*/
|
|
*/
|
|
|
public static function table($content, $print = FALSE, $settings = array())
|
|
public static function table($content, $print = FALSE, $settings = array())
|
|
|
{
|
|
{
|
|
|
- self::$settings = array_merge($settings, self::$settings);
|
|
|
|
|
|
|
+ self::$settings = array_merge(self::$settings, $settings);
|
|
|
|
|
|
|
|
$table = self::build_table($content);
|
|
$table = self::build_table($content);
|
|
|
|
|
|