~ubuntu-branches/ubuntu/quantal/gallery2/quantal

« back to all changes in this revision

Viewing changes to themes/tile/templates/edit.tpl

  • Committer: Bazaar Package Importer
  • Author(s): Michael C. Schultheiss
  • Date: 2005-11-29 15:50:12 UTC
  • Revision ID: james.westby@ubuntu.com-20051129155012-wtophp03lu01kdgl
Tags: upstream-2.0.2
ImportĀ upstreamĀ versionĀ 2.0.2

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
{*
 
2
 * $Revision: 1.2 $
 
3
 * If you want to customize this file, do not edit it directly since future upgrades
 
4
 * may overwrite it.  Instead, copy it into a new directory called "local" and edit that
 
5
 * version.  Gallery will look for that file first and use it if it exists.
 
6
 *}
 
7
<p class="giDescription" style="margin-top: 1em">
 
8
  {g->text text="A tile display consists of a background image shown as a grid of tiles with thumbnails for other images placed in any tile position over the background.  Set the size and number of tiles, select the background image and assign thumbnail positions below.  Row 1, Column 1 is the upper left corner."}
 
9
</p>
 
10
 
 
11
<table class="gbDataTable"><tr>
 
12
  <td>
 
13
    {g->text text="Rows"}
 
14
  </td><td>
 
15
    <input type="text" size="4"
 
16
     name="{g->formVar var="form[rows]"}" value="{$theme.param.rows}"/>
 
17
  </td>
 
18
</tr><tr>
 
19
  <td>
 
20
    {g->text text="Columns"}
 
21
  </td><td>
 
22
    <input type="text" size="4"
 
23
     name="{g->formVar var="form[cols]"}" value="{$theme.param.cols}"/>
 
24
  </td>
 
25
</tr><tr>
 
26
  <td>
 
27
    {g->text text="Cell Width"}
 
28
  </td><td>
 
29
    <input type="text" size="4"
 
30
     name="{g->formVar var="form[cellWidth]"}" value="{$theme.param.cellWidth}"/>
 
31
  </td>
 
32
</tr><tr>
 
33
  <td>
 
34
    {g->text text="Cell Height"}
 
35
  </td><td>
 
36
    <input type="text" size="4"
 
37
     name="{g->formVar var="form[cellHeight]"}" value="{$theme.param.cellHeight}"/>
 
38
  </td>
 
39
</tr></table>
 
40
 
 
41
<table class="gbDataTable" style="margin-top: 1em"><tr>
 
42
  <th colspan="2" style="text-align:right"> {g->text text="Background"} </th>
 
43
  <th> {g->text text="Title"} </th>
 
44
  <th> {g->text text="Row"} </th>
 
45
  <th> {g->text text="Column"} </th>
 
46
</tr>
 
47
{foreach from=$theme.children key=i item=it}
 
48
{if isset($it.image)}
 
49
  <tr><td>
 
50
    {if isset($it.thumbnail)}
 
51
      {g->image item=$it image=$it.thumbnail maxSize=100 class="giThumbnail"}
 
52
    {else}
 
53
      {g->text text="no thumbnail"}
 
54
    {/if}
 
55
  </td><td>
 
56
    <input type="radio"{if $theme.param.backgroundId==$it.image.id} checked="checked"{/if}
 
57
     name="{g->formVar var="form[backgroundId]"}" value="{$it.image.id}"/>
 
58
  </td><td>
 
59
    <span class="giTitle">{$it.title|markup}</span>
 
60
  </td><td>
 
61
    {assign var="key" value="row_`$it.id`"}
 
62
    <input type="text" size="3"
 
63
     name="{g->formVar var="form[row_`$it.id`]"}" value="{$theme.param[$key]|default:''}"/>
 
64
  </td><td>
 
65
    {assign var="key" value="col_`$it.id`"}
 
66
    <input type="text" size="3"
 
67
     name="{g->formVar var="form[col_`$it.id`]"}" value="{$theme.param[$key]|default:''}"/>
 
68
  </td></tr>
 
69
  {/if}
 
70
{/foreach}
 
71
</table>