Kawai Wiki

Compare Revisions

Ignore whitespace Rev 158 → Rev 159

/trunk/src/main/webapp/show_page.jsp
349,7 → 349,7
$('#editPageLang').val(data.page.lang);
 
myDialog = $('#editPageDialog');
myDialog = prepareEditPageDialog(myDialog, 'Editing <i><font color="darkblue">' + pageName + "</font></i> in <i>" + data.page.language + "<i>...");
myDialog = prepareEditPageDialog(myDialog, 'Editing <i><font color="darkblue">' + pageName + "</font></i> in <i>" + data.page.language.name + "<i>...");
myDialog.dialog('open');
});
390,7 → 390,7
}
$('#showPageTextArea').val(data.page.body);
 
theTitle = 'Showing <i><font color="darkblue">' + pageName + "</font></i> in <i>" + data.page.language + "<i>...";
theTitle = 'Showing <i><font color="darkblue">' + pageName + "</font></i> in <i>" + data.page.language.name + "<i>...";
if (revision > 0) {
theTitle += ' (Revision #' + revision + ')';
}
430,7 → 430,7
$('#editPageLang').val(data.page.lang);
 
myDialog = $('#editPageDialog');
myDialog = prepareEditPageDialog(myDialog, 'Editing <i><font color="darkblue">' + pageName + "</font></i> in <i>" + data.page.language + "<i>...");
myDialog = prepareEditPageDialog(myDialog, 'Editing <i><font color="darkblue">' + pageName + "</font></i> in <i>" + data.page.language.name + "<i>...");
myDialog.dialog('open');
});
511,7 → 511,7
}
}
 
viewRevisionsCell = '<a title="View Revisions" class="revisionLink" tabindex="-1" href="#" onclick="return showListRevisionsDialog(\'' + page.name + '\',\'' + page.lang + '\',\'' + page.language + '\', true);"><img src="<mtw:contextPath/>/images/folder.png" height="24" height="20" border="0" /></a>';
viewRevisionsCell = '<a title="View Revisions" class="revisionLink" tabindex="-1" href="#" onclick="return showListRevisionsDialog(\'' + page.name + '\',\'' + page.lang + '\',\'' + page.language.name + '\', true);"><img src="<mtw:contextPath/>/images/folder.png" height="24" height="20" border="0" /></a>';
nameTitle = '';
if (page.title != null && page.title != '') {
521,7 → 521,7
tableData += '<tr>';
if (isAdmin) tableData += '<td>' + radioCell + '</td>';
tableData += '<td' + nameTitle + '>' + pageName + '</td>';
tableData += '<td align="center">' + page.language + '</td>';
tableData += '<td align="center">' + page.language.name + '</td>';
tableData += '<td align="center"' + createdOnTitle + '>' + page.createdBy.username + '</td>';
tableData += '<td align="center"' + modifiedOnTitle + '>' + modifiedBy + '</td>';
tableData += '<td align="center">' + viewCell + '</td>';