~ubuntu-branches/debian/squeeze/movabletype-opensource/squeeze

« back to all changes in this revision

Viewing changes to tmpl/wizard/complete.tmpl

  • Committer: Bazaar Package Importer
  • Author(s): Dominic Hargreaves
  • Date: 2008-07-23 22:56:37 UTC
  • mfrom: (1.1.3 upstream)
  • Revision ID: james.westby@ubuntu.com-20080723225637-zsorczl9nhy0t8ap
Tags: 4.2~rc4-1
* New upstream release
* Include SendMailPath explicitly as in some cases it seems
  to be required (closes: #491618)
* Add versioned Depends on libclass-trigger-perl (>= 0.13-1)
  as the version in etch is not compatible with MT.

Show diffs side-by-side

added added

removed removed

Lines of Context:
11
11
 
12
12
function toggleConfig() {
13
13
    var manually = getByID('manually');
14
 
    var retry = getByID('retry');
15
 
    var automatic = getByID('automatic');
 
14
    var retry = getByID('retry-buttons');
 
15
    var automatic = getByID('automatic-buttons');
16
16
    if (manually) {
17
17
        if (manually.checked == true) {
 
18
            retry.style.display = 'none';
 
19
            automatic.style.display = 'block';
 
20
        } else {
18
21
            retry.style.display = 'block';
19
22
            automatic.style.display = 'none';
20
 
        } else {
21
 
            retry.style.display = 'none';
22
 
            automatic.style.display = 'block';
23
23
        }
24
24
    }
25
25
}
73
73
 
74
74
<mt:unless name="config_created">
75
75
<p>
76
 
    <input id="manually" class="cb" type="checkbox" name="manually" value="1" onclick="toggleConfig()" <mt:if name="manually">checked="checked"</mt:if>> <label for="manually"><__trans phrase="I will create the mt-config.cgi file manually."></label>
 
76
    <input id="manually" class="cb" type="checkbox" name="manually" value="1" onclick="toggleConfig()" <mt:if name="manually">checked="checked"</mt:if>> <label for="manually"><__trans phrase="The mt-config.cgi file has been created manually."></label>
77
77
</p>
78
78
</mt:unless>
79
79
 
80
 
<p>
81
 
    <div id="automatic" <mt:if name="FILE_NOT_FOUND">style="display:none;"</mt:if>>
82
 
        <div class="left">
83
 
            <input type="submit" class="sb" value="<__trans phrase="Back">" onclick="go('previous_step')" />
84
 
        </div>
85
 
        <div class="right">
86
 
<mt:unless name=CONFIG_CREATED>
87
 
            <input name="retry" type="submit" class="sb" value="<__trans phrase="Retry">" onclick="go('retry')" />
 
80
<div id="retry-buttons" class="action-buttons" <mt:if name="file_not_found">style="display:none;"</mt:if>>
 
81
    <div class="left">
 
82
        <input type="submit" class="sb" value="<__trans phrase="Back">" onclick="go('previous_step')" />
 
83
    </div>
 
84
    <div class="right">
 
85
<mt:unless name="config_created">
 
86
        <input name="retry" type="submit" class="sb" value="<__trans phrase="Retry">" onclick="go('retry')" />
88
87
<mt:else>
89
 
            <input name="continue" type="submit" class="sb" value="<__trans phrase="Continue">" onclick="document.location.href='<mt:var name="mt_script">'; return false" />
 
88
        <input name="continue" type="submit" class="sb" value="<__trans phrase="Continue">" onclick="document.location.href='<mt:var name="mt_script">'; return false" />
90
89
</mt:unless>
91
 
        </div>
92
 
    </div>
93
 
    <div id="retry" <mt:unless name="file_not_found">style="display:none;"</mt:unless>>
94
 
        <div class="left">
95
 
            <input type="submit" class="sb" value="<__trans phrase="Back">" onclick="go('retry')" />
96
 
        </div>
97
 
        <div class="right">
98
 
            <input name="retry" type="submit" class="sb" value="<__trans phrase="Continue">" onclick="go('retry')" />
99
 
        </div>
100
 
    </div>
101
 
</p>
 
90
    </div>
 
91
</div>
 
92
<div id="automatic-buttons" class="action-buttons" <mt:unless name="file_not_found">style="display:none;"</mt:unless>>
 
93
    <div class="left">
 
94
        <input type="submit" class="sb" value="<__trans phrase="Back">" onclick="go('retry')" />
 
95
    </div>
 
96
    <div class="right">
 
97
        <input name="retry" type="submit" class="sb" value="<__trans phrase="Continue">" onclick="go('retry')" />
 
98
    </div>
 
99
</div>
102
100
 
103
101
</form>
104
102