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

« back to all changes in this revision

Viewing changes to modules/fotokasten/templates/FotokastenSiteAdmin.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.1 $
 
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> {g->text text="Fotokasten Settings"} </h2>
 
9
</div>
 
10
 
 
11
{if isset($status.saved)}
 
12
<div class="gbBlock"><h2 class="giSuccess">
 
13
  {g->text text="Settings saved successfully"}
 
14
</h2></div>
 
15
{/if}
 
16
 
 
17
<div class="gbBlock">
 
18
  <p class="giDescription">
 
19
    {g->text text="Enter affiliate settings."}
 
20
  </p>
 
21
  <table class="gbDataTable">
 
22
    <tr><td>
 
23
      <label for="affiliateId">
 
24
        {g->text text="Affiliate Id:"}
 
25
      </label>
 
26
    </td><td>
 
27
      <input type="text" id="affiliateId" size="6"
 
28
       name="{g->formVar var="form[affiliateId]"}" value="{$form.affiliateId}"/>
 
29
 
 
30
      {if isset($form.error.affiliateId)}
 
31
        <span class="giError"> {g->text text="Enter a numeric id"} </span>
 
32
      {/if}
 
33
    </td></tr><tr><td>
 
34
      <label for="affiliateIdPass">
 
35
        {g->text text="Affiliate Password:"}
 
36
      </label>
 
37
    </td><td>
 
38
      <input type="text" id="affiliateIdPass" size="34"
 
39
       name="{g->formVar var="form[affiliateIdPass]"}" value="{$form.affiliateIdPass}"/>
 
40
 
 
41
      {if isset($form.error.affiliateIdPass)}
 
42
        <span class="giError"> {g->text text="Missing value"} </span>
 
43
      {/if}
 
44
    </td></tr>
 
45
  </table>
 
46
</div>
 
47
 
 
48
<div class="gbBlock gcBackground1">
 
49
  <input type="submit" class="inputTypeSubmit"
 
50
   name="{g->formVar var="form[action][save]"}" value="{g->text text="Save"}"/>
 
51
  <input type="submit" class="inputTypeSubmit"
 
52
   name="{g->formVar var="form[action][reset]"}" value="{g->text text="Reset"}"/>
 
53
  <input type="button" class="inputTypeButton" value="{g->text text="Use Defaults"}"
 
54
   onclick="document.getElementById('affiliateId').value='1927';document.getElementById('affiliateIdPass').value='f12a65d90445f95b90e5fd30c75ee74e'"/>
 
55
</div>