aboutsummaryrefslogtreecommitdiffstats
path: root/template/yoga/xml/default.tpl
blob: 618780c71fbd2c988f3e01c98530c0c2ff5d64eb (plain)
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
<?xml version="1.0" encoding="UTF-8" ?> 

<!-- Just a sample right now -->

<group>
  <title>PhpWebGallery - Web Service</title>
  <text>default.tpl: To be customized.</text>

  <!-- BEGIN row -->
  <picture id="{row.ID}">
    <caption>{row.CAPTION}</caption>
    <date>{row.DATE}</date>
    <text>{row.COMMENT}</text>
    <!-- BEGIN High -->
    <full-image width="{row.High.WIDTH}" height="{row.High.HEIGHT}">{row.High.URL}</full-image>
    <!-- END High -->
    <!-- BEGIN Normal -->
    <image width="{row.Normal.WIDTH}" height="{row.Normal.HEIGHT}">{row.Normal.URL}</image>
    <!-- END Normal -->
    <!-- BEGIN Thumbnail -->
    <small-image width="{row.Thumbnail.WIDTH}" height="{row.Thumbnail.HEIGHT}">{row.Thumbnail.URL}</small-image>
    <!-- END Thumbnail -->
  </picture>
  <!-- END row -->
<group>