mirror of
https://github.com/vrana/adminer.git
synced 2025-08-08 15:47:00 +02:00
Highlight current links
git-svn-id: https://adminer.svn.sourceforge.net/svnroot/adminer/trunk@1253 7c3ca157-0c34-0410-bff1-cbf682f78f5c
This commit is contained in:
@@ -526,3 +526,12 @@ function is_url($string) {
|
||||
function print_fieldset($id, $legend, $visible = false) {
|
||||
echo "<fieldset><legend><a href='#fieldset-$id' onclick=\"return !toggle('fieldset-$id');\">$legend</a></legend><div id='fieldset-$id'" . ($visible ? "" : " class='hidden'") . ">\n";
|
||||
}
|
||||
|
||||
/** Enclose $string to <b> if $bold is true
|
||||
* @param string
|
||||
* @param bool
|
||||
* @return string
|
||||
*/
|
||||
function bold($string, $bold) {
|
||||
return ($bold ? "<b>$string</b>" : $string);
|
||||
}
|
||||
|
Reference in New Issue
Block a user