~ubuntu-branches/ubuntu/hardy/gallery2/hardy-security

« back to all changes in this revision

Viewing changes to modules/core/templates/AdminRepositoryDownload.tpl

  • Committer: Bazaar Package Importer
  • Author(s): Michael C. Schultheiss
  • Date: 2006-04-16 16:42:35 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20060416164235-8uy0u4bfjdxpge2o
Tags: 2.1.1-1
* New upstream release (Closes: #362936)
  + Bugfixes for Postgres7 (Closes: #359000, #362152)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
{*
 
2
 * $Revision: 1.36 $
 
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
<div class="gbBlock gcBackground1">
 
8
  <h2> {$actionText} {$pluginName} </h2>
 
9
</div>
 
10
 
 
11
{if isset($form.packages.empty)}
 
12
<div class="giError">
 
13
  {g->text text="No packages have been selected."}
 
14
</div>
 
15
{/if}
 
16
 
 
17
{if isset($upgradeData.isBaseDownloadable)}
 
18
<div class="gbBlock">
 
19
  <h3>{g->text text="Base Files"}</h3>
 
20
  <p class="giDescription">
 
21
    {g->text text="The base files required for the theme to work and the English (US) translation will be downloaded."}
 
22
    <input type="hidden" name="{g->formVar var="form[downloadBaseFiles]"}" value="true" />
 
23
  </p>
 
24
</div>
 
25
{/if}
 
26
 
 
27
{if isset($upgradeData.isBaseUpgradeable)}
 
28
<div class="gbBlock">
 
29
  <h3>{g->text text="Upgrade Base Files"}</h3>
 
30
  <p class="giDescription">
 
31
    {g->text text="You can upgrade the base module files."}
 
32
  </p>
 
33
  <p>
 
34
    <input type="checkbox" name="{g->formVar var="form[upgradeBaseFiles]"}" />{g->text text="Upgrade base files"}
 
35
    {if isset($upgradeData.upgradeablePackages.test)}
 
36
    <input type="hidden" name="{g->formVar var="form[downloadTest]"}" value="true" />
 
37
    {/if}
 
38
  </p>
 
39
</div>
 
40
{/if}
 
41
 
 
42
{if !$upgradeData.isBaseDownloadable && !$upgradeData.isBaseUpgradeable}
 
43
<div class="gbBlock">
 
44
  <h3>{g->text text="Base Files Up-To-Date"}</h3>
 
45
  <p class="giDescription">
 
46
    {g->text text="This plugin's base files are up-to-date."}
 
47
  </p>
 
48
</div>
 
49
{/if}
 
50
 
 
51
{if isset($upgradeData.upgradeableLanguages)}
 
52
<div class="gbBlock">
 
53
  <h3>{g->text text="Updated Translations"}</h3>
 
54
  <p class="giDescription">
 
55
    {g->text text="Below is a list of translations that have been updated since they were last downloaded. Select the ones you want to download."}
 
56
  </p>
 
57
  <p>
 
58
    {capture name="formVariableName"}{g->formVar var="form[upgradeLanguages]"}{/capture} 
 
59
    {html_checkboxes name="`$smarty.capture.formVariableName`" separator="<br />"
 
60
      values=$upgradeData.upgradeableLanguages.codes
 
61
      output=$upgradeData.upgradeableLanguages.names}
 
62
  </p>
 
63
</div>
 
64
{/if}
 
65
 
 
66
{if isset($upgradeData.downloadableLanguages)}
 
67
<div class="gbBlock">
 
68
  <h3>{g->text text="Additional Languages"}</h3>
 
69
  <p class="giDescription">
 
70
    {g->text text="Below is a list of languages this plugin has been translated to. Select the ones you want included in addition to the ones already downloaded."}
 
71
  </p>
 
72
  <p>
 
73
    {capture name="formVariableName"}{g->formVar var="form[downloadLanguages]"}{/capture} 
 
74
    {html_checkboxes name="`$smarty.capture.formVariableName`" separator="<br />"
 
75
      values=$upgradeData.downloadableLanguages.codes
 
76
      output=$upgradeData.downloadableLanguages.names}
 
77
  </p>
 
78
</div>
 
79
{/if}
 
80
 
 
81
{if isset($upgradeData.downloadablePackages.test)}
 
82
<div class="gbBlock">
 
83
  <h3>{g->text text="Unit Tests"}</h3>
 
84
  <p class="giDescription">
 
85
    {g->text text="This plugin has unit tests available for download, which are useful for Gallery developers. All of the module's features are available without the tests."}
 
86
  </p>
 
87
  <p>
 
88
    <input type="checkbox" name="{g->formVar var="form[downloadTest]"}" value="true" />{g->text text="Download unit tests"}
 
89
  </p>
 
90
</div>
 
91
{/if}
 
92
 
 
93
<div class="gbBlock gcBackground1">
 
94
  <input type="submit" name="{g->formVar var="form[action][download]"}" value="{$actionText}"/>
 
95
  <input type="submit" name="{g->formVar var="form[action][cancel]"}" value="{g->text text="Cancel"}"/>
 
96
  <input type="hidden" name="{g->formVar var="form[pluginType]"}" value="{$pluginType}" />
 
97
  <input type="hidden" name="{g->formVar var="form[pluginId]"}" value="{$pluginId}" />
 
98
  <input type="hidden" name="{g->formVar var="mode"}" value="download" />
 
99
</div>
 
 
b'\\ No newline at end of file'