Accept row for function h2 and h1
This commit is contained in:
parent
f6268eee46
commit
168cee87d4
1 changed files with 3 additions and 3 deletions
|
|
@ -63,11 +63,11 @@ function h2info($p_string)
|
|||
return '<h2 class="info">' . htmlspecialchars($p_string) . '</h2>';
|
||||
}
|
||||
|
||||
function h2($p_string, $p_class)
|
||||
function h2($p_string, $p_class="",$raw="")
|
||||
{
|
||||
return '<h2 ' . $p_class . '>' . htmlspecialchars($p_string) . '</h2>';
|
||||
return '<h2 ' . $p_class . '>' . $raw.htmlspecialchars($p_string) . '</h2>';
|
||||
}
|
||||
function h1($p_string, $p_class)
|
||||
function h1($p_string, $p_class="")
|
||||
{
|
||||
return '<h1 ' . $p_class . '>' . htmlspecialchars($p_string) . '</h1>';
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue