@ -7,6 +7,7 @@ define([
], function (Config, h, Msg, Pages, LocalStore) {
return function () {
document.title = Msg.contact;
var developerEmail = "contact@cryptpad.fr";
var adminEmail = Config.adminEmail && [
'i.did.not.read.my.config@cryptpad.fr',
@ -12,6 +12,7 @@ define([
var accounts = Pages.accounts;
document.title = Msg.features;
Msg.features_f_apps_note = AppConfig.availablePadTypes.map(function (app) {
if (AppConfig.registeredOnlyTypes.indexOf(app) !== -1) { return; }
if (AppConfig.premiumTypes && AppConfig.premiumTypes.includes(app)) { return; }
@ -6,6 +6,7 @@ define([
'/api/config',
], function (h, UI, Msg, Pages, Config) {
document.title = Msg.login_login;
return [h('div#cp-main', [
Pages.infopageTopbar(),
h('div.container.cp-container', [
'/customize/pages.js'
], function (Config, $, h, UI, Msg, Pages) {
document.title = Msg.register_header;
var urlArgs = Config.requireConf.urlArgs;
var tos = $(UI.createCheckbox('accept-terms')).find('.cp-checkmark-label').append(Msg.register_acceptTerms).parent()[0];
@ -4,6 +4,7 @@ define([
], function (h, Msg, Pages) {
document.title = Msg.footer_tos;
return h('div#cp-main', [
@ -55,17 +55,8 @@ define([
APP.toolbar.$rightside.hide();
MessengerUI.create($(appElement), common);
common.setTabTitle(Messages.contacts);
UI.removeLoadingScreen();
/*
sFrameChan.query('Q_HEY_BUDDY', null, function (err, data) {
if (!data) { return; }
if (data.error) {
UI.warn(data.error);
} else {
UI.log(data.response);
}
});*/
});
@ -607,6 +607,7 @@ define([
APP.origin = privateData.origin;
APP.readOnly = privateData.readOnly;
common.setTabTitle(Messages.profileButton);
// If not logged in, you can only view other users's profile
if (!privateData.readOnly && !common.isLoggedIn()) {
@ -1811,6 +1811,7 @@ define([
createLeftside();
createUsageButton();
common.setTabTitle(Messages.settings_title);