- Update: Removed Table border from the reference container
- Update: Set a max width to the first column of the reference container table (contains the footnote index) git-svn-id: https://plugins.svn.wordpress.org/footnotes/trunk@997889 b8457f37-d9ea-0310-8a92-e5e31aec5664
This commit is contained in:
parent
cac292a85a
commit
f536f582b7
3 changed files with 36 additions and 3 deletions
|
@ -177,4 +177,37 @@ class MCI_Footnotes_Convert {
|
|||
// return a single arrow
|
||||
return $l_arr_Arrows[$p_int_Index];
|
||||
}
|
||||
|
||||
/**
|
||||
* Displays a Variable.
|
||||
*
|
||||
* @author Stefan Herndler
|
||||
* @since 1.5.0
|
||||
* @param mixed $p_mixed_Value
|
||||
*/
|
||||
public static function debug($p_mixed_Value) {
|
||||
if (empty($p_mixed_Value)) {
|
||||
var_dump($p_mixed_Value);
|
||||
|
||||
} else if (is_array($p_mixed_Value)) {
|
||||
printf("<pre>");
|
||||
print_r($p_mixed_Value);
|
||||
printf("</pre>");
|
||||
|
||||
} else if (is_object($p_mixed_Value)) {
|
||||
printf("<pre>");
|
||||
print_r($p_mixed_Value);
|
||||
printf("</pre>");
|
||||
|
||||
} else if (is_numeric($p_mixed_Value) || is_int($p_mixed_Value)) {
|
||||
echo $p_mixed_Value;
|
||||
|
||||
} else if (is_date($p_mixed_Value)) {
|
||||
echo $p_mixed_Value;
|
||||
|
||||
} else {
|
||||
echo $p_mixed_Value;
|
||||
}
|
||||
echo "<br/>";
|
||||
}
|
||||
}
|
Reference in a new issue