From 78df1f97d366e5f9e4115c658ad91fab70717f29 Mon Sep 17 00:00:00 2001 From: gweltas Date: Thu, 19 Feb 2004 00:31:09 +0000 Subject: Split of langage files git-svn-id: http://piwigo.org/svn/trunk@364 68402e56-0260-453c-a942-63ccdbb3a9ee --- template/default/htmlfunctions.inc.php | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) (limited to 'template/default/htmlfunctions.inc.php') diff --git a/template/default/htmlfunctions.inc.php b/template/default/htmlfunctions.inc.php index cd4df188a..170defc46 100644 --- a/template/default/htmlfunctions.inc.php +++ b/template/default/htmlfunctions.inc.php @@ -232,4 +232,34 @@ function display_category( $category, $indent ) } } } + +function make_jumpbox($value, $selected, $usekeys=false) +{ + $boxstring = ''; + $nb = sizeof( $value); + $keys = ($usekeys?array_keys($value):$value); + $value = ($usekeys?array_values($value):$value); + for ( $i = 0; $i < $nb; $i++ ) + { + $boxstring .= '