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

« back to all changes in this revision

Viewing changes to modules/imagemagick/templates/AdminImageMagick.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
1
{*
2
 
 * $Revision: 1.33 $
 
2
 * $Revision: 1.37 $
3
3
 * If you want to customize this file, do not edit it directly since future upgrades
4
4
 * may overwrite it.  Instead, copy it into a new directory called "local" and edit that
5
5
 * version.  Gallery will look for that file first and use it if it exists.
27
27
       name="{g->formVar var="form[path]"}" value="{$form.path}"/>
28
28
      {g->autoComplete element="giFormPath"}
29
29
        {g->url arg1="view=core.SimpleCallback" arg2="command=lookupDirectories"
30
 
                arg3="prefix=__VALUE__" forJavascript="true"}
 
30
                arg3="prefix=__VALUE__" htmlEntities=false}
31
31
      {/g->autoComplete}
32
32
 
33
33
      {if isset($form.error.path.missing)}
62
62
    </td>
63
63
  {if $form.cmykSupport!="none"}
64
64
  </tr><tr>
 
65
    <td colspan=2>
 
66
      {g->text text="ImageMagick can detect non-webviewable color spaces like CMYK and create a webviewable copy of such images. Only activate this option if you actually add CMYK based JPEG or TIFF images since the color space detection slows down the add item process a little bit."}
 
67
    </td>
 
68
  </tr><tr>
65
69
    <td>
66
 
      {g->text text="CMYK JPEG Support:"}
 
70
      {g->text text="CMYK Support:"}
67
71
    </td><td>
68
72
      <input type="checkbox"{if $form.cmykSupport=="on"} checked="checked"{/if}
69
73
       onclick="document.getElementById('cmykSupport').value = this.checked ? 'on' : 'off'"/>
124
128
  {/foreach}
125
129
  </table>
126
130
</div>
 
131
{/if}
127
132
 
128
 
{if $AdminImageMagick.mimeTypes}
 
133
{if $AdminImageMagick.mimeTypes || !empty($form.error.version.vulnerable)}
129
134
<div class="gbBlock">
130
 
  <div class="giTitle"> {g->text text="Version"} </div>
 
135
  <h3> {g->text text="Version"} </h3>
131
136
  <p class="giDescription">
132
137
    {$AdminImageMagick.version.0} {$AdminImageMagick.version.1}
133
138
  </p>
 
139
  {if !empty($form.error.version.vulnerable)}
 
140
  <p class="giWarning">
 
141
    {g->text text="Warning: This version of %s has a %sknown vulnerability%s that can be exploited to cause infinite loops. You may wish to upgrade. This determination may be inaccurate for %sDebian%s." arg1=$AdminImageMagick.version.0 arg2="<a href=\"http://nvd.nist.gov/nvd.cfm?cvename=CVE-2005-1739\">" arg3="</a>" arg4="<a href=\"http://packages.debian.org/stable/graphics/imagemagick\">" arg5="</a>"}
 
142
  </p>
 
143
  <input type="checkbox" id="cbForceSave" name="{g->formVar var="form[forceSave]"}"/>
 
144
  <label for="cbForceSave">
 
145
    {g->text text="Use this version anyway"}
 
146
  </label>
 
147
  {/if}
134
148
 
135
 
  <div class="giTitle"> {g->text text="Supported MIME Types"} </div>
 
149
  {if $AdminImageMagick.mimeTypes}
 
150
  <h4> {g->text text="Supported MIME Types"} </h4>
136
151
  <p class="giDescription">
137
152
    {g->text text="The ImageMagick module can support files with the following MIME types:"}
138
153
  </p>
141
156
    {$mimeType}<br />
142
157
  {/foreach}
143
158
  </p>
 
159
  {/if}
144
160
</div>
145
161
{/if}
146
162
 
162
178
  </pre>
163
179
</div>
164
180
{/if}
165
 
{/if}