xref: /plugin/openlayersmap/icons/index.php (revision 3aeb057754e75fa018531c217bef2590b847cba8)
1<?php
2/*
3 * Copyright (c) 2008, 2009 Mark C. Prins <mc.prins@gmail.com>
4 *
5 * Permission to use, copy, modify, and distribute this software for any
6 * purpose with or without fee is hereby granted, provided that the above
7 * copyright notice and this permission notice appear in all copies.
8 *
9 * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
10 * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
11 * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
12 * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
13 * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
14 * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
15 * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
16 */
17
18/**
19 * OL maps plugin, show available icons.
20 *
21 * @author Mark C. Prins
22 */
23
24?>
25
26<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
27<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="nl" lang="nl"
28	dir="ltr">
29<head>
30<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
31<title></title>
32<style type="text/css">
33.box {
34	width: 200px;
35	float: left;
36	padding: 0.5em;
37	margin: 0;
38	background-color: #FFFFFF;
39}
40</style>
41</head>
42<body>
43<div class="box"><?php
44foreach (glob('*.png') as $img) {
45	echo '<img src="'.$img.'" alt="'.$img.'" title="'.$img.'" /> ';
46}
47?></div>
48</body>
49</html>
50