// handle success
if ($data.step == 'success') {
var $id = WCF.getRandomID();
- $('#packageInstallationInnerContent').append('<div class="formSubmit"><input type="button" id="' + $id + '" value="{lang}wcf.global.button.next{/lang}" /></div>');
+ $('#packageInstallationInnerContent').append('<div class="formSubmit"><input type="button" id="' + $id + '" value="' + WCF.Language.get('wcf.global.button.next') + '" /></div>');
$('#' + $id).click($.proxy(function() {
window.location.href = "index.php?page=PackageList" + SID_ARG_2ND;
// create button to handle next step
if ($data.step && $data.node) {
var $id = WCF.getRandomID();
- $('#packageInstallationInnerContent').append('<div class="formSubmit"><input type="button" id="' + $id + '" value="{lang}wcf.global.button.next{/lang}" /></div>');
+ $('#packageInstallationInnerContent').append('<div class="formSubmit"><input type="button" id="' + $id + '" value="' + WCF.Language.get('wcf.global.button.next') + '" /></div>');
$('#' + $id).click($.proxy(function() {
// collect form values
this._dialog.wcfDialog('redraw');
}
}
-};
\ No newline at end of file
+};
{/if}
WCF.Language.addObject({
+ 'wcf.global.button.next': '{lang}wcf.global.button.next{/lang}',
'wcf.global.loading': '{lang}wcf.global.loading{/lang}',
'wcf.global.date.relative.minutes': '{capture assign=relativeMinutes}{lang}wcf.global.date.relative.minutes{/lang}{/capture}{@$relativeMinutes|encodeJS}',
'wcf.global.date.relative.hours': '{capture assign=relativeHours}{lang}wcf.global.date.relative.hours{/lang}{/capture}{@$relativeHours|encodeJS}',
<!-- CONTENT -->
<section id="content" class="content">
-
\ No newline at end of file
+