From 07ddbb0f4c76253b1d888ceab555bdf26992fd01 Mon Sep 17 00:00:00 2001 From: msquare Date: Thu, 29 Sep 2016 12:45:06 +0200 Subject: make short variable names longer --- includes/sys_template.php | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) (limited to 'includes/sys_template.php') diff --git a/includes/sys_template.php b/includes/sys_template.php index 23f4b77b..43ca66f2 100644 --- a/includes/sys_template.php +++ b/includes/sys_template.php @@ -41,9 +41,9 @@ function glyph_bool($boolean) { return '' . glyph($boolean ? 'ok' : 'remove') . ''; } -function div($class, $content = array(), $id = "") { - $id = $id != '' ? ' id="' . $id . '"' : ''; - return '' . join("\n", $content) . ''; +function div($class, $content = array(), $dom_id = "") { + $dom_id = $dom_id != '' ? ' id="' . $dom_id . '"' : ''; + return '' . join("\n", $content) . ''; } function heading($content, $number = 1) { @@ -84,12 +84,12 @@ function toolbar_dropdown($glyphicon, $label, $submenu, $class = '') { } function toolbar_popover($glyphicon, $label, $content, $class = '') { - $id = md5(microtime() . $glyphicon . $label); + $dom_id = md5(microtime() . $glyphicon . $label); return '