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

« back to all changes in this revision

Viewing changes to modules/rewrite/templates/PathInfoTestResults.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.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
<div class="gbBlock">
 
8
  <table><tr>
 
9
    <td>
 
10
      <h3> {g->text text="PHP Path Info Support"} </h3>
 
11
 
 
12
      <p class="giDescription">
 
13
        {g->text text="Testing if the server supports PHP Path Info."}
 
14
      </p>
 
15
    </td>
 
16
    <td style="float: right; vertical-align: top;">
 
17
      {if $TestResults.pathInfo == REWRITE_STATUS_OK}
 
18
        <h2 class="giSuccess"> {g->text text="Success"} </h2>
 
19
      {else}
 
20
        <h2 class="giError"> {g->text text="Error"} </h2>
 
21
      {/if}
 
22
    </td>
 
23
  {if $TestResults.pathInfo != $TestResults.truePathInfo}
 
24
  </tr><tr>
 
25
    <td colspan="2">
 
26
      <p class="giDescription giWarning">
 
27
        {g->text text="The current status may not be accurate, you have forced the test to pass."}
 
28
      </p>
 
29
    </td>
 
30
  {/if}
 
31
  {if $TestResults.pathInfo != REWRITE_STATUS_OK}
 
32
  </tr><tr>
 
33
    <td colspan="2">
 
34
      <div class="gbBlock">
 
35
        <h3> {g->text text="Test Path Info Manually"} </h3>
 
36
 
 
37
        <p class="giDescription">
 
38
          {g->text text="Gallery did not detect Path Info, please run this thest yourself to verify."}
 
39
        </p>
 
40
 
 
41
        <table class="gbDataTable"><tr>
 
42
          <th> {g->text text="Force"} </th>
 
43
          <th> {g->text text="Test"} </th>
 
44
        </tr><tr>
 
45
          <td style="text-align: center;">
 
46
            <input type="checkbox" name="{g->formVar var="form[force][test]"}"/>
 
47
          </td>
 
48
          <td>
 
49
            <a href="{$TestResults.hrefTest}">{g->text text="PHP Path Info Test"}</a>
 
50
          </td>
 
51
        </tr></table>
 
52
 
 
53
        <p class="giDescription">
 
54
          {g->text text="If the test gives you a page that says PASS_PATH_INFO you are good to go."}
 
55
        </p>
 
56
 
 
57
      </div>
 
58
    </td>
 
59
  {/if}
 
60
  </tr></table>
 
61
</div>
 
62