-
Notifications
You must be signed in to change notification settings - Fork 0
/
ding_panels_content_library_location.tpl.php
54 lines (44 loc) · 1.41 KB
/
ding_panels_content_library_location.tpl.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
<?php
// $Id$
/**
* @file ding_panels_content_libary_location.tpl.php
* Library location, map, etc.
*/
/**
* The address, etc. are marked up to conform to the hCard microformat.
* http://microformats.org/wiki/hcard for more information.
*/
?>
<!--
Hva gider du ikke lige at blive overskrevet?
ding_panels_content_libary_location.tpl.php
-->
<div class="library-info">
<div class="library-map">
<div class="library-map-inner">
<?php print $library_map; ?>
</div>
</div>
<div class="library-info-inner">
<div class="vcard">
<span class="fn org"><?php print $node->title; ?></span>
<div class="adr">
<div class="street-address"><?php print $node->location['street']; ?></div>
<span class="postal-code"><?php print $node->location['postal_code']; ?></span>
<span class="locality"><?php print $node->location['city']; ?></span>
<div class="country-name"><?php print $node->location['country_name']; ?></div>
</div>
<?php if($node->location['phone']){ ?>
<div class="tel">
<span class="type"><?php print t('Phone'); ?></span> <?php print $node->location['phone']; ?>
</div>
<?php } ?>
<?php if($node->location['fax']){ ?>
<div class="tel">
<span class="type"><?php print t('Fax'); ?></span> <?php print $node->location['fax']; ?>
</div>
<?php } ?>
</div>
<?php print $library_links; ?>
</div>
</div>