From b87744534a5250e9f839997f8eceb5b86b8c0e5c Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Tue, 11 Aug 2015 23:28:41 +0300 Subject: add plugin-based filter actions (see example plugin in attic) bump schema --- include/functions.php | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) (limited to 'include/functions.php') diff --git a/include/functions.php b/include/functions.php index d90855ea6..6d183abaa 100644 --- a/include/functions.php +++ b/include/functions.php @@ -1,6 +1,6 @@ "; + function print_select($id, $default, $values, $attributes = "", $name = "") { + if (!$name) $name = $id; + + print ""; } - function print_select_hash($id, $default, $values, $attributes = "") { - print ""; foreach (array_keys($values) as $v) { if ($v == $default) $sel = 'selected="selected"'; -- cgit v1.2.3