Mercurial > hg > drupalISMI
annotate openmindattribute/templates/openmindattribute_PERSON.tpl.php @ 60:1b520696760a default tip
new ismixml_splitter.py that splits openmind-data.xml into separate files per entity type.
author | casties |
---|---|
date | Tue, 19 Jun 2018 21:46:49 +0200 |
parents | cf772424f725 |
children |
rev | line source |
---|---|
0 | 1 <h3 class="openmindattribute-header">Details</h3> |
7
f651752ee9ad
add relations to openmindattribute template variables. use relations for person template.
casties
parents:
0
diff
changeset
|
2 |
0 | 3 <table class="openmindattribute-table" > |
4 <tr class="openmindattribute-row"> | |
5 <td class="openmindattribute-cell openmindattribute-name">Name</td> | |
7
f651752ee9ad
add relations to openmindattribute template variables. use relations for person template.
casties
parents:
0
diff
changeset
|
6 <td class="openmindattribute-cell"><?php print $attributes['name']['ov'] ?><br/> |
f651752ee9ad
add relations to openmindattribute template variables. use relations for person template.
casties
parents:
0
diff
changeset
|
7 <?php print $attributes['name_translit']['romanization']?></td> |
0 | 8 </tr> |
9 | |
9
cf772424f725
changed representation of relations in template. relations have source and target now.
casties
parents:
7
diff
changeset
|
10 <?php if (isset($attributes['birth_date_text']['ov'])): ?> |
7
f651752ee9ad
add relations to openmindattribute template variables. use relations for person template.
casties
parents:
0
diff
changeset
|
11 <tr class="openmindattribute-row"> |
f651752ee9ad
add relations to openmindattribute template variables. use relations for person template.
casties
parents:
0
diff
changeset
|
12 <td class="openmindattribute-cell openmindattribute-name">Birth Date</td> |
f651752ee9ad
add relations to openmindattribute template variables. use relations for person template.
casties
parents:
0
diff
changeset
|
13 <td class="openmindattribute-cell"><?php print $attributes['birth_date_text']['ov'] ?></td> |
f651752ee9ad
add relations to openmindattribute template variables. use relations for person template.
casties
parents:
0
diff
changeset
|
14 </tr> |
f651752ee9ad
add relations to openmindattribute template variables. use relations for person template.
casties
parents:
0
diff
changeset
|
15 <?php endif; ?> |
0 | 16 |
7
f651752ee9ad
add relations to openmindattribute template variables. use relations for person template.
casties
parents:
0
diff
changeset
|
17 <?php if (isset($relations['was_born_in'])): ?> |
0 | 18 <tr class="openmindattribute-row"> |
7
f651752ee9ad
add relations to openmindattribute template variables. use relations for person template.
casties
parents:
0
diff
changeset
|
19 <td class="openmindattribute-cell openmindattribute-name">Place of Birth</td> |
9
cf772424f725
changed representation of relations in template. relations have source and target now.
casties
parents:
7
diff
changeset
|
20 <td class="openmindattribute-cell"><?php print $relations['was_born_in'][0]['target']->title ?></td> |
0 | 21 </tr> |
7
f651752ee9ad
add relations to openmindattribute template variables. use relations for person template.
casties
parents:
0
diff
changeset
|
22 <?php endif; ?> |
0 | 23 |
9
cf772424f725
changed representation of relations in template. relations have source and target now.
casties
parents:
7
diff
changeset
|
24 <?php if (isset($attributes['death_date_text']['ov'])): ?> |
7
f651752ee9ad
add relations to openmindattribute template variables. use relations for person template.
casties
parents:
0
diff
changeset
|
25 <tr class="openmindattribute-row"> |
f651752ee9ad
add relations to openmindattribute template variables. use relations for person template.
casties
parents:
0
diff
changeset
|
26 <td class="openmindattribute-cell openmindattribute-name">Death Date</td> |
f651752ee9ad
add relations to openmindattribute template variables. use relations for person template.
casties
parents:
0
diff
changeset
|
27 <td class="openmindattribute-cell"><?php print $attributes['death_date_text']['ov'] ?></td> |
f651752ee9ad
add relations to openmindattribute template variables. use relations for person template.
casties
parents:
0
diff
changeset
|
28 </tr> |
f651752ee9ad
add relations to openmindattribute template variables. use relations for person template.
casties
parents:
0
diff
changeset
|
29 <?php endif; ?> |
f651752ee9ad
add relations to openmindattribute template variables. use relations for person template.
casties
parents:
0
diff
changeset
|
30 |
f651752ee9ad
add relations to openmindattribute template variables. use relations for person template.
casties
parents:
0
diff
changeset
|
31 <?php if (isset($relations['died_in'])): ?> |
f651752ee9ad
add relations to openmindattribute template variables. use relations for person template.
casties
parents:
0
diff
changeset
|
32 <tr class="openmindattribute-row"> |
f651752ee9ad
add relations to openmindattribute template variables. use relations for person template.
casties
parents:
0
diff
changeset
|
33 <td class="openmindattribute-cell openmindattribute-name">Place of Death</td> |
9
cf772424f725
changed representation of relations in template. relations have source and target now.
casties
parents:
7
diff
changeset
|
34 <td class="openmindattribute-cell"><?php print $relations['died_in'][0]['target']->title ?></td> |
cf772424f725
changed representation of relations in template. relations have source and target now.
casties
parents:
7
diff
changeset
|
35 </tr> |
cf772424f725
changed representation of relations in template. relations have source and target now.
casties
parents:
7
diff
changeset
|
36 <?php endif; ?> |
cf772424f725
changed representation of relations in template. relations have source and target now.
casties
parents:
7
diff
changeset
|
37 |
cf772424f725
changed representation of relations in template. relations have source and target now.
casties
parents:
7
diff
changeset
|
38 <?php if (isset($relations['was_student_of'])): ?> |
cf772424f725
changed representation of relations in template. relations have source and target now.
casties
parents:
7
diff
changeset
|
39 <tr class="openmindattribute-row"> |
cf772424f725
changed representation of relations in template. relations have source and target now.
casties
parents:
7
diff
changeset
|
40 <td class="openmindattribute-cell openmindattribute-name">Teachers</td> |
cf772424f725
changed representation of relations in template. relations have source and target now.
casties
parents:
7
diff
changeset
|
41 <td class="openmindattribute-cell"><?php print $relations['was_student_of'][0]['target']->title ?></td> |
cf772424f725
changed representation of relations in template. relations have source and target now.
casties
parents:
7
diff
changeset
|
42 </tr> |
cf772424f725
changed representation of relations in template. relations have source and target now.
casties
parents:
7
diff
changeset
|
43 <?php endif; ?> |
cf772424f725
changed representation of relations in template. relations have source and target now.
casties
parents:
7
diff
changeset
|
44 |
cf772424f725
changed representation of relations in template. relations have source and target now.
casties
parents:
7
diff
changeset
|
45 <?php if (isset($attributes['notes']['ov'])): ?> |
cf772424f725
changed representation of relations in template. relations have source and target now.
casties
parents:
7
diff
changeset
|
46 <tr class="openmindattribute-row"> |
cf772424f725
changed representation of relations in template. relations have source and target now.
casties
parents:
7
diff
changeset
|
47 <td class="openmindattribute-cell openmindattribute-name">Notes</td> |
cf772424f725
changed representation of relations in template. relations have source and target now.
casties
parents:
7
diff
changeset
|
48 <td class="openmindattribute-cell"><?php print $attributes['notes']['ov'] ?></td> |
7
f651752ee9ad
add relations to openmindattribute template variables. use relations for person template.
casties
parents:
0
diff
changeset
|
49 </tr> |
f651752ee9ad
add relations to openmindattribute template variables. use relations for person template.
casties
parents:
0
diff
changeset
|
50 <?php endif; ?> |
0 | 51 |
52 </table> |