diff --git a/common.inc.php b/common.inc.php index 3bba873..c801f47 100644 --- a/common.inc.php +++ b/common.inc.php @@ -19,6 +19,15 @@ while($r=mysql_fetch_object($q)) $config[$r->var]=$r->val; } +//detect the browser first, so we know what icons to use - we store this in the config array as well +//even though its not configurable by the fair +if(stristr($_SERVER['HTTP_USER_AGENT'],"MSIE")) + $config['icon_extension']="gif"; +else + $config['icon_extension']="png"; + + + //now get the languages, and make sure we have at least one active language $q=mysql_query("SELECT * FROM languages WHERE active='Y' ORDER BY langname"); if(mysql_num_rows($q)==0) diff --git a/images/16/button_cancel.gif b/images/16/button_cancel.gif new file mode 100644 index 0000000..fd47e6a Binary files /dev/null and b/images/16/button_cancel.gif differ diff --git a/images/16/button_cancel.png b/images/16/button_cancel.png new file mode 100644 index 0000000..6b990a2 Binary files /dev/null and b/images/16/button_cancel.png differ diff --git a/images/16/edit.gif b/images/16/edit.gif new file mode 100644 index 0000000..b127e77 Binary files /dev/null and b/images/16/edit.gif differ diff --git a/images/16/edit.png b/images/16/edit.png new file mode 100644 index 0000000..fc9884b Binary files /dev/null and b/images/16/edit.png differ