2014-07-06 17:32:06 +02:00
this [ "JST" ] = this [ "JST" ] || { } ;
this [ "JST" ] [ "action" ] = function ( obj ) {
obj || ( obj = { } ) ;
var _ _t , _ _p = '' , _ _e = _ . escape ;
with ( obj ) {
_ _p += '<div class="chat-message ' +
( ( _ _t = ( extra _classes ) ) == null ? '' : _ _t ) +
'">\n <span class="chat-message-' +
( ( _ _t = ( sender ) ) == null ? '' : _ _t ) +
'">' +
( ( _ _t = ( time ) ) == null ? '' : _ _t ) +
' **' +
( ( _ _t = ( username ) ) == null ? '' : _ _t ) +
' </span>\n <span class="chat-message-content">' +
( ( _ _t = ( message ) ) == null ? '' : _ _t ) +
'</span>\n</div>\n' ;
}
return _ _p
} ;
this [ "JST" ] [ "add_contact_dropdown" ] = function ( obj ) {
obj || ( obj = { } ) ;
var _ _t , _ _p = '' , _ _e = _ . escape ;
with ( obj ) {
_ _p += '<dl class="add-converse-contact dropdown">\n <dt id="xmpp-contact-search" class="fancy-dropdown">\n <a class="toggle-xmpp-contact-form" href="#"\n title="' +
( ( _ _t = ( label _click _to _chat ) ) == null ? '' : _ _t ) +
'">\n <span class="icon-plus"></span>' +
( ( _ _t = ( label _add _contact ) ) == null ? '' : _ _t ) +
'</a>\n </dt>\n <dd class="search-xmpp" style="display:none"><ul></ul></dd>\n</dl>\n' ;
}
return _ _p
} ;
this [ "JST" ] [ "add_contact_form" ] = function ( obj ) {
obj || ( obj = { } ) ;
var _ _t , _ _p = '' , _ _e = _ . escape ;
with ( obj ) {
_ _p += '<li>\n <form class="add-xmpp-contact">\n <input type="text"\n name="identifier"\n class="username"\n placeholder="' +
( ( _ _t = ( label _contact _username ) ) == null ? '' : _ _t ) +
'"/>\n <button type="submit">' +
( ( _ _t = ( label _add ) ) == null ? '' : _ _t ) +
2014-10-28 18:21:36 +01:00
'</button>\n </form>\n</li>\n' ;
2014-07-06 17:32:06 +02:00
}
return _ _p
} ;
this [ "JST" ] [ "change_status_message" ] = function ( obj ) {
obj || ( obj = { } ) ;
var _ _t , _ _p = '' , _ _e = _ . escape ;
with ( obj ) {
_ _p += '<form id="set-custom-xmpp-status">\n <input type="text" class="custom-xmpp-status" ' +
( ( _ _t = ( status _message ) ) == null ? '' : _ _t ) +
'\n placeholder="' +
( ( _ _t = ( label _custom _status ) ) == null ? '' : _ _t ) +
'"/>\n <button type="submit">' +
( ( _ _t = ( label _save ) ) == null ? '' : _ _t ) +
'</button>\n</form>\n' ;
}
return _ _p
} ;
this [ "JST" ] [ "chat_status" ] = function ( obj ) {
obj || ( obj = { } ) ;
var _ _t , _ _p = '' , _ _e = _ . escape ;
with ( obj ) {
_ _p += '<div class="xmpp-status">\n <a class="choose-xmpp-status ' +
( ( _ _t = ( chat _status ) ) == null ? '' : _ _t ) +
'"\n data-value="' +
( ( _ _t = ( status _message ) ) == null ? '' : _ _t ) +
'"\n href="#" title="' +
( ( _ _t = ( desc _change _status ) ) == null ? '' : _ _t ) +
'">\n\n <span class="icon-' +
( ( _ _t = ( chat _status ) ) == null ? '' : _ _t ) +
'"></span>' +
( ( _ _t = ( status _message ) ) == null ? '' : _ _t ) +
'\n </a>\n <a class="change-xmpp-status-message icon-pencil"\n href="#"\n title="' +
( ( _ _t = ( desc _custom _status ) ) == null ? '' : _ _t ) +
'"></a>\n</div>\n' ;
}
return _ _p
} ;
this [ "JST" ] [ "chatarea" ] = function ( obj ) {
obj || ( obj = { } ) ;
var _ _t , _ _p = '' , _ _e = _ . escape , _ _j = Array . prototype . join ;
function print ( ) { _ _p += _ _j . call ( arguments , '' ) }
with ( obj ) {
_ _p += '<div class="chat-area">\n <div class="chat-content"></div>\n <form class="sendXMPPMessage" action="" method="post">\n ' ;
if ( show _toolbar ) { ;
_ _p += '\n <ul class="chat-toolbar no-text-select"></ul>\n ' ;
} ;
_ _p += '\n <textarea type="text" class="chat-textarea" \n placeholder="' +
( ( _ _t = ( label _message ) ) == null ? '' : _ _t ) +
2014-09-22 16:05:40 +02:00
'"/>\n </form>\n</div>\n' ;
2014-07-06 17:32:06 +02:00
}
return _ _p
} ;
this [ "JST" ] [ "chatbox" ] = function ( obj ) {
obj || ( obj = { } ) ;
var _ _t , _ _p = '' , _ _e = _ . escape , _ _j = Array . prototype . join ;
function print ( ) { _ _p += _ _j . call ( arguments , '' ) }
with ( obj ) {
_ _p += '<div class="box-flyout" style="height: ' +
( ( _ _t = ( height ) ) == null ? '' : _ _t ) +
'px">\n <div class="dragresize dragresize-tm"></div>\n <div class="chat-head chat-head-chatbox">\n <a class="close-chatbox-button icon-close"></a>\n <a class="toggle-chatbox-button icon-minus"></a>\n <div class="chat-title">\n ' ;
if ( url ) { ;
_ _p += '\n <a href="' +
( ( _ _t = ( url ) ) == null ? '' : _ _t ) +
'" target="_blank" class="user">\n ' ;
} ;
_ _p += '\n ' +
( ( _ _t = ( fullname ) ) == null ? '' : _ _t ) +
'\n ' ;
if ( url ) { ;
_ _p += '\n </a>\n ' ;
} ;
_ _p += '\n </div>\n <p class="user-custom-message"><p/>\n </div>\n <div class="chat-body">\n <div class="chat-content"></div>\n <form class="sendXMPPMessage" action="" method="post">\n ' ;
if ( show _toolbar ) { ;
_ _p += '\n <ul class="chat-toolbar no-text-select"></ul>\n ' ;
} ;
_ _p += '\n <textarea\n type="text"\n class="chat-textarea"\n placeholder="' +
( ( _ _t = ( label _personal _message ) ) == null ? '' : _ _t ) +
'"/>\n </form>\n </div>\n</div>\n' ;
}
return _ _p
} ;
this [ "JST" ] [ "chatroom" ] = function ( obj ) {
obj || ( obj = { } ) ;
var _ _t , _ _p = '' , _ _e = _ . escape , _ _j = Array . prototype . join ;
function print ( ) { _ _p += _ _j . call ( arguments , '' ) }
with ( obj ) {
_ _p += '<div class="box-flyout" style="height: ' +
( ( _ _t = ( height ) ) == null ? '' : _ _t ) +
'px"\n ' ;
if ( minimized ) { ;
_ _p += ' style="display:none" ' ;
} ;
_ _p += '>\n <div class="dragresize dragresize-tm"></div>\n <div class="chat-head chat-head-chatroom">\n <a class="close-chatbox-button icon-close"></a>\n <a class="toggle-chatbox-button icon-minus"></a>\n <a class="configure-chatroom-button icon-wrench" style="display:none"></a>\n <div class="chat-title"> ' +
( ( _ _t = ( name ) ) == null ? '' : _ _t ) +
' </div>\n <p class="chatroom-topic"><p/>\n </div>\n <div class="chat-body"><span class="spinner centered"/></div>\n</div>\n' ;
}
return _ _p
} ;
2014-09-22 16:05:40 +02:00
this [ "JST" ] [ "chatroom_password_form" ] = function ( obj ) {
2014-07-06 17:32:06 +02:00
obj || ( obj = { } ) ;
var _ _t , _ _p = '' , _ _e = _ . escape ;
with ( obj ) {
2014-09-22 16:05:40 +02:00
_ _p += '<div class="chatroom-form-container">\n <form class="chatroom-form">\n <legend>' +
( ( _ _t = ( heading ) ) == null ? '' : _ _t ) +
'</legend>\n <label>' +
( ( _ _t = ( label _password ) ) == null ? '' : _ _t ) +
'<input type="password" name="password"/></label>\n <input type="submit" value="' +
( ( _ _t = ( label _submit ) ) == null ? '' : _ _t ) +
'"/>\n </form>\n</div>\n' ;
2014-07-06 17:32:06 +02:00
}
return _ _p
} ;
2014-09-22 16:05:40 +02:00
this [ "JST" ] [ "chatroom_sidebar" ] = function ( obj ) {
2014-07-06 17:32:06 +02:00
obj || ( obj = { } ) ;
var _ _t , _ _p = '' , _ _e = _ . escape ;
with ( obj ) {
2014-09-22 16:05:40 +02:00
_ _p += '<!-- <div class="participants"> -->\n<form class="room-invite">\n <input class="invited-contact" placeholder="' +
( ( _ _t = ( label _invitation ) ) == null ? '' : _ _t ) +
'" type="text"/>\n</form>\n<label>' +
( ( _ _t = ( label _occupants ) ) == null ? '' : _ _t ) +
':</label>\n<ul class="participant-list"></ul>\n<!-- </div> -->\n' ;
2014-07-06 17:32:06 +02:00
}
return _ _p
} ;
2014-09-22 16:05:40 +02:00
this [ "JST" ] [ "chatrooms_tab" ] = function ( obj ) {
2014-07-06 17:32:06 +02:00
obj || ( obj = { } ) ;
var _ _t , _ _p = '' , _ _e = _ . escape ;
with ( obj ) {
2014-09-22 16:05:40 +02:00
_ _p += '<li><a class="s" href="#chatrooms">' +
( ( _ _t = ( label _rooms ) ) == null ? '' : _ _t ) +
'</a></li>\n' ;
}
return _ _p
} ;
this [ "JST" ] [ "chats_panel" ] = function ( obj ) {
obj || ( obj = { } ) ;
var _ _t , _ _p = '' , _ _e = _ . escape ;
with ( obj ) {
_ _p += '<div id="minimized-chats">\n <a id="toggle-minimized-chats" href="#"></a>\n <div class="minimized-chats-flyout"></div>\n</div>\n' ;
2014-07-06 17:32:06 +02:00
}
return _ _p
} ;
2014-09-22 16:05:40 +02:00
this [ "JST" ] [ "choose_status" ] = function ( obj ) {
2014-07-06 17:32:06 +02:00
obj || ( obj = { } ) ;
var _ _t , _ _p = '' , _ _e = _ . escape ;
with ( obj ) {
2014-09-22 16:05:40 +02:00
_ _p += '<dl id="target" class="dropdown">\n <dt id="fancy-xmpp-status-select" class="fancy-dropdown"></dt>\n <dd><ul class="xmpp-status-menu"></ul></dd>\n</dl>\n' ;
2014-07-06 17:32:06 +02:00
}
return _ _p
} ;
this [ "JST" ] [ "contacts_panel" ] = function ( obj ) {
obj || ( obj = { } ) ;
2014-09-22 16:05:40 +02:00
var _ _t , _ _p = '' , _ _e = _ . escape , _ _j = Array . prototype . join ;
function print ( ) { _ _p += _ _j . call ( arguments , '' ) }
2014-07-06 17:32:06 +02:00
with ( obj ) {
_ _p += '<form class="set-xmpp-status" action="" method="post">\n <span id="xmpp-status-holder">\n <select id="select-xmpp-status" style="display:none">\n <option value="online">' +
( ( _ _t = ( label _online ) ) == null ? '' : _ _t ) +
'</option>\n <option value="dnd">' +
( ( _ _t = ( label _busy ) ) == null ? '' : _ _t ) +
'</option>\n <option value="away">' +
( ( _ _t = ( label _away ) ) == null ? '' : _ _t ) +
'</option>\n <option value="offline">' +
( ( _ _t = ( label _offline ) ) == null ? '' : _ _t ) +
2014-09-22 16:05:40 +02:00
'</option>\n ' ;
if ( allow _logout ) { ;
_ _p += '\n <option value="logout">' +
( ( _ _t = ( label _logout ) ) == null ? '' : _ _t ) +
'</option>\n ' ;
} ;
_ _p += '\n </select>\n </span>\n</form>\n' ;
2014-07-06 17:32:06 +02:00
}
return _ _p
} ;
this [ "JST" ] [ "contacts_tab" ] = function ( obj ) {
obj || ( obj = { } ) ;
var _ _t , _ _p = '' , _ _e = _ . escape ;
with ( obj ) {
_ _p += '<li><a class="s current" href="#users">' +
( ( _ _t = ( label _contacts ) ) == null ? '' : _ _t ) +
'</a></li>\n' ;
}
return _ _p
} ;
this [ "JST" ] [ "controlbox" ] = function ( obj ) {
obj || ( obj = { } ) ;
var _ _t , _ _p = '' , _ _e = _ . escape ;
with ( obj ) {
_ _p += '<div class="box-flyout" style="height: ' +
( ( _ _t = ( height ) ) == null ? '' : _ _t ) +
'px">\n <div class="dragresize dragresize-tm"></div>\n <div class="chat-head controlbox-head">\n <ul id="controlbox-tabs"></ul>\n <a class="close-chatbox-button icon-close"></a>\n </div>\n <div class="controlbox-panes"></div>\n</div>\n' ;
}
return _ _p
} ;
this [ "JST" ] [ "controlbox_toggle" ] = function ( obj ) {
obj || ( obj = { } ) ;
var _ _t , _ _p = '' , _ _e = _ . escape ;
with ( obj ) {
_ _p += '<span class="conn-feedback">' +
( ( _ _t = ( label _toggle ) ) == null ? '' : _ _t ) +
'</span>\n<span style="display: none" id="online-count">(0)</span>\n' ;
}
return _ _p
} ;
this [ "JST" ] [ "field" ] = function ( obj ) {
obj || ( obj = { } ) ;
2014-11-15 16:40:34 +01:00
var _ _t , _ _p = '' , _ _e = _ . escape , _ _j = Array . prototype . join ;
function print ( ) { _ _p += _ _j . call ( arguments , '' ) }
2014-07-06 17:32:06 +02:00
with ( obj ) {
_ _p += '<field var="' +
( ( _ _t = ( name ) ) == null ? '' : _ _t ) +
2014-11-15 16:40:34 +01:00
'">' ;
if ( _ . isArray ( value ) ) { ;
_ _p += '\n ' ;
_ . each ( value , function ( arrayValue ) { ;
_ _p += '<value>' +
( ( _ _t = ( arrayValue ) ) == null ? '' : _ _t ) +
'</value>' ;
} ) ; ;
_ _p += '\n' ;
} else { ;
_ _p += '\n <value>' +
2014-07-06 17:32:06 +02:00
( ( _ _t = ( value ) ) == null ? '' : _ _t ) +
2014-11-15 16:40:34 +01:00
'</value>\n' ;
} ;
_ _p += '</field>\n' ;
2014-07-06 17:32:06 +02:00
}
return _ _p
} ;
2014-12-01 20:49:50 +01:00
this [ "JST" ] [ "form_captcha" ] = function ( obj ) {
obj || ( obj = { } ) ;
var _ _t , _ _p = '' , _ _e = _ . escape , _ _j = Array . prototype . join ;
function print ( ) { _ _p += _ _j . call ( arguments , '' ) }
with ( obj ) {
if ( label ) { ;
_ _p += '\n<label>\n ' +
( ( _ _t = ( label ) ) == null ? '' : _ _t ) +
'\n</label>\n' ;
} ;
_ _p += '\n<img src="data:' +
( ( _ _t = ( type ) ) == null ? '' : _ _t ) +
';base64,' +
( ( _ _t = ( data ) ) == null ? '' : _ _t ) +
'">\n<input name="' +
( ( _ _t = ( name ) ) == null ? '' : _ _t ) +
'" type="text" ' ;
if ( required ) { ;
_ _p += ' class="required" ' ;
} ;
_ _p += ' >\n\n\n' ;
}
return _ _p
} ;
2014-07-06 17:32:06 +02:00
this [ "JST" ] [ "form_checkbox" ] = function ( obj ) {
obj || ( obj = { } ) ;
var _ _t , _ _p = '' , _ _e = _ . escape ;
with ( obj ) {
_ _p += '<label>' +
( ( _ _t = ( label ) ) == null ? '' : _ _t ) +
2014-12-01 20:49:50 +01:00
'</label>\n<input name="' +
2014-07-06 17:32:06 +02:00
( ( _ _t = ( name ) ) == null ? '' : _ _t ) +
'" type="' +
( ( _ _t = ( type ) ) == null ? '' : _ _t ) +
'" ' +
( ( _ _t = ( checked ) ) == null ? '' : _ _t ) +
2014-12-01 20:49:50 +01:00
'>\n' ;
2014-07-06 17:32:06 +02:00
}
return _ _p
} ;
this [ "JST" ] [ "form_input" ] = function ( obj ) {
obj || ( obj = { } ) ;
2014-12-01 20:49:50 +01:00
var _ _t , _ _p = '' , _ _e = _ . escape , _ _j = Array . prototype . join ;
function print ( ) { _ _p += _ _j . call ( arguments , '' ) }
2014-07-06 17:32:06 +02:00
with ( obj ) {
2014-12-01 20:49:50 +01:00
if ( label ) { ;
_ _p += '\n<label>\n ' +
2014-07-06 17:32:06 +02:00
( ( _ _t = ( label ) ) == null ? '' : _ _t ) +
2014-12-01 20:49:50 +01:00
'\n</label>\n' ;
} ;
_ _p += '\n<input name="' +
2014-07-06 17:32:06 +02:00
( ( _ _t = ( name ) ) == null ? '' : _ _t ) +
'" type="' +
( ( _ _t = ( type ) ) == null ? '' : _ _t ) +
2014-12-01 20:49:50 +01:00
'" \n ' ;
if ( value ) { ;
_ _p += ' value="' +
2014-07-06 17:32:06 +02:00
( ( _ _t = ( value ) ) == null ? '' : _ _t ) +
2014-12-01 20:49:50 +01:00
'" ' ;
} ;
_ _p += '\n ' ;
if ( required ) { ;
_ _p += ' class="required" ' ;
} ;
_ _p += ' >\n' ;
2014-07-06 17:32:06 +02:00
}
return _ _p
} ;
this [ "JST" ] [ "form_select" ] = function ( obj ) {
obj || ( obj = { } ) ;
2014-11-15 16:40:34 +01:00
var _ _t , _ _p = '' , _ _e = _ . escape , _ _j = Array . prototype . join ;
function print ( ) { _ _p += _ _j . call ( arguments , '' ) }
2014-07-06 17:32:06 +02:00
with ( obj ) {
_ _p += '<label>' +
( ( _ _t = ( label ) ) == null ? '' : _ _t ) +
2014-12-01 20:49:50 +01:00
'</label>\n<select name="' +
2014-07-06 17:32:06 +02:00
( ( _ _t = ( name ) ) == null ? '' : _ _t ) +
2014-11-15 16:40:34 +01:00
'" ' ;
if ( multiple ) { ;
_ _p += ' multiple="multiple" ' ;
} ;
_ _p += '>' +
2014-07-06 17:32:06 +02:00
( ( _ _t = ( options ) ) == null ? '' : _ _t ) +
2014-12-01 20:49:50 +01:00
'</select>\n' ;
2014-07-06 17:32:06 +02:00
}
return _ _p
} ;
2014-11-15 16:40:34 +01:00
this [ "JST" ] [ "form_textarea" ] = function ( obj ) {
obj || ( obj = { } ) ;
var _ _t , _ _p = '' , _ _e = _ . escape ;
with ( obj ) {
_ _p += '<label class="label-ta">' +
( ( _ _t = ( label ) ) == null ? '' : _ _t ) +
2014-12-01 20:49:50 +01:00
'</label>\n<textarea name="' +
2014-11-15 16:40:34 +01:00
( ( _ _t = ( name ) ) == null ? '' : _ _t ) +
'">' +
( ( _ _t = ( value ) ) == null ? '' : _ _t ) +
2014-12-01 20:49:50 +01:00
'</textarea>\n' ;
}
return _ _p
} ;
this [ "JST" ] [ "form_username" ] = function ( obj ) {
obj || ( obj = { } ) ;
var _ _t , _ _p = '' , _ _e = _ . escape , _ _j = Array . prototype . join ;
function print ( ) { _ _p += _ _j . call ( arguments , '' ) }
with ( obj ) {
if ( label ) { ;
_ _p += '\n<label>\n ' +
( ( _ _t = ( label ) ) == null ? '' : _ _t ) +
'\n</label>\n' ;
} ;
_ _p += '\n<div class="input-group">\n <input name="' +
( ( _ _t = ( name ) ) == null ? '' : _ _t ) +
'" type="' +
( ( _ _t = ( type ) ) == null ? '' : _ _t ) +
'" \n ' ;
if ( value ) { ;
_ _p += ' value="' +
( ( _ _t = ( value ) ) == null ? '' : _ _t ) +
'" ' ;
} ;
_ _p += '\n ' ;
if ( required ) { ;
_ _p += ' class="required" ' ;
} ;
_ _p += ' />\n <span>' +
( ( _ _t = ( domain ) ) == null ? '' : _ _t ) +
'</span>\n</div>\n' ;
2014-11-15 16:40:34 +01:00
}
return _ _p
} ;
2014-09-22 16:05:40 +02:00
this [ "JST" ] [ "group_header" ] = function ( obj ) {
obj || ( obj = { } ) ;
var _ _t , _ _p = '' , _ _e = _ . escape ;
with ( obj ) {
_ _p += '<a href="#" class="group-toggle icon-' +
( ( _ _t = ( toggle _state ) ) == null ? '' : _ _t ) +
'" title="' +
( ( _ _t = ( desc _group _toggle ) ) == null ? '' : _ _t ) +
'">' +
( ( _ _t = ( label _group ) ) == null ? '' : _ _t ) +
'</a>\n' ;
}
return _ _p
} ;
2014-07-06 17:32:06 +02:00
this [ "JST" ] [ "info" ] = function ( obj ) {
obj || ( obj = { } ) ;
var _ _t , _ _p = '' , _ _e = _ . escape ;
with ( obj ) {
_ _p += '<div class="chat-info">' +
( ( _ _t = ( message ) ) == null ? '' : _ _t ) +
'</div>\n' ;
}
return _ _p
} ;
this [ "JST" ] [ "login_panel" ] = function ( obj ) {
obj || ( obj = { } ) ;
var _ _t , _ _p = '' , _ _e = _ . escape ;
with ( obj ) {
2014-09-22 16:05:40 +02:00
_ _p += '<form id="converse-login" method="post">\n <label>' +
2014-07-06 17:32:06 +02:00
( ( _ _t = ( label _username ) ) == null ? '' : _ _t ) +
2014-12-01 20:49:50 +01:00
'</label>\n <input type="username" name="jid" placeholder="user@server">\n <label>' +
2014-07-06 17:32:06 +02:00
( ( _ _t = ( label _password ) ) == null ? '' : _ _t ) +
2014-12-01 20:49:50 +01:00
'</label>\n <input type="password" name="password" placeholder="password">\n <input class="submit" type="submit" value="' +
2014-07-06 17:32:06 +02:00
( ( _ _t = ( label _login ) ) == null ? '' : _ _t ) +
2014-10-28 18:21:36 +01:00
'">\n <span class="conn-feedback"></span>\n</form>\n' ;
2014-07-06 17:32:06 +02:00
}
return _ _p
} ;
this [ "JST" ] [ "login_tab" ] = function ( obj ) {
obj || ( obj = { } ) ;
var _ _t , _ _p = '' , _ _e = _ . escape ;
with ( obj ) {
2014-12-01 20:49:50 +01:00
_ _p += '<li><a class="current" href="#login-dialog">' +
2014-07-06 17:32:06 +02:00
( ( _ _t = ( label _sign _in ) ) == null ? '' : _ _t ) +
'</a></li>\n' ;
}
return _ _p
} ;
this [ "JST" ] [ "message" ] = function ( obj ) {
obj || ( obj = { } ) ;
var _ _t , _ _p = '' , _ _e = _ . escape ;
with ( obj ) {
_ _p += '<div class="chat-message ' +
( ( _ _t = ( extra _classes ) ) == null ? '' : _ _t ) +
'">\n <span class="chat-message-' +
( ( _ _t = ( sender ) ) == null ? '' : _ _t ) +
'">' +
( ( _ _t = ( time ) ) == null ? '' : _ _t ) +
' ' +
( ( _ _t = ( username ) ) == null ? '' : _ _t ) +
': </span>\n <span class="chat-message-content">' +
( ( _ _t = ( message ) ) == null ? '' : _ _t ) +
'</span>\n</div>\n' ;
}
return _ _p
} ;
this [ "JST" ] [ "new_day" ] = function ( obj ) {
obj || ( obj = { } ) ;
var _ _t , _ _p = '' , _ _e = _ . escape ;
with ( obj ) {
_ _p += '<time class="chat-date" datetime="' +
( ( _ _t = ( isodate ) ) == null ? '' : _ _t ) +
'">' +
( ( _ _t = ( datestring ) ) == null ? '' : _ _t ) +
'</time>\n' ;
}
return _ _p
} ;
this [ "JST" ] [ "occupant" ] = function ( obj ) {
obj || ( obj = { } ) ;
var _ _t , _ _p = '' , _ _e = _ . escape , _ _j = Array . prototype . join ;
function print ( ) { _ _p += _ _j . call ( arguments , '' ) }
with ( obj ) {
_ _p += '<li class="' +
( ( _ _t = ( role ) ) == null ? '' : _ _t ) +
'"\n ' ;
if ( role === "moderator" ) { ;
_ _p += '\n title="' +
( ( _ _t = ( desc _moderator ) ) == null ? '' : _ _t ) +
'"\n ' ;
} ;
_ _p += '\n ' ;
if ( role === "participant" ) { ;
_ _p += '\n title="' +
( ( _ _t = ( desc _participant ) ) == null ? '' : _ _t ) +
'"\n ' ;
} ;
_ _p += '\n ' ;
if ( role === "visitor" ) { ;
_ _p += '\n title="' +
( ( _ _t = ( desc _visitor ) ) == null ? '' : _ _t ) +
'"\n ' ;
} ;
_ _p += '\n>' +
( ( _ _t = ( nick ) ) == null ? '' : _ _t ) +
'</li>\n' ;
}
return _ _p
} ;
this [ "JST" ] [ "pending_contact" ] = function ( obj ) {
obj || ( obj = { } ) ;
var _ _t , _ _p = '' , _ _e = _ . escape ;
with ( obj ) {
2014-09-22 16:05:40 +02:00
_ _p += '<span class="pending-contact-name">' +
2014-07-06 17:32:06 +02:00
( ( _ _t = ( fullname ) ) == null ? '' : _ _t ) +
'</span> <a class="remove-xmpp-contact icon-remove" title="' +
( ( _ _t = ( desc _remove ) ) == null ? '' : _ _t ) +
'" href="#"></a>\n' ;
}
return _ _p
} ;
this [ "JST" ] [ "pending_contacts" ] = function ( obj ) {
obj || ( obj = { } ) ;
var _ _t , _ _p = '' , _ _e = _ . escape ;
with ( obj ) {
2014-09-22 16:05:40 +02:00
_ _p += '<dt id="pending-xmpp-contacts"><a href="#" class="group-toggle icon-' +
( ( _ _t = ( toggle _state ) ) == null ? '' : _ _t ) +
'" title="' +
( ( _ _t = ( desc _group _toggle ) ) == null ? '' : _ _t ) +
'">' +
2014-07-06 17:32:06 +02:00
( ( _ _t = ( label _pending _contacts ) ) == null ? '' : _ _t ) +
2014-09-22 16:05:40 +02:00
'</a></dt>\n' ;
2014-07-06 17:32:06 +02:00
}
return _ _p
} ;
2014-12-01 20:49:50 +01:00
this [ "JST" ] [ "register_panel" ] = function ( obj ) {
obj || ( obj = { } ) ;
var _ _t , _ _p = '' , _ _e = _ . escape ;
with ( obj ) {
_ _p += '<form id="converse-register">\n <span class="reg-feedback"></span>\n <label>' +
( ( _ _t = ( label _domain ) ) == null ? '' : _ _t ) +
'</label>\n <input type="text" name="domain" placeholder=" e.g. conversejs.org">\n <p class="form-help">Tip: A list of public XMPP providers is available <a href="https://xmpp.net/directory.php" class="url" target="_blank">here</a>.</p>\n <input class="submit" type="submit" value="' +
( ( _ _t = ( label _register ) ) == null ? '' : _ _t ) +
'">\n</form>\n' ;
}
return _ _p
} ;
this [ "JST" ] [ "register_tab" ] = function ( obj ) {
obj || ( obj = { } ) ;
var _ _t , _ _p = '' , _ _e = _ . escape ;
with ( obj ) {
_ _p += '<li><a class="s" href="#register">' +
( ( _ _t = ( label _register ) ) == null ? '' : _ _t ) +
'</a></li>\n' ;
}
return _ _p
} ;
this [ "JST" ] [ "registration_form" ] = function ( obj ) {
obj || ( obj = { } ) ;
var _ _t , _ _p = '' , _ _e = _ . escape ;
with ( obj ) {
_ _p += '<p class="provider-title">' +
( ( _ _t = ( domain ) ) == null ? '' : _ _t ) +
'</p>\n<a href=\'https://xmpp.net/result.php?domain=' +
( ( _ _t = ( domain ) ) == null ? '' : _ _t ) +
'&type=client\'>\n <img class="provider-score" src=\'https://xmpp.net/badge.php?domain=' +
( ( _ _t = ( domain ) ) == null ? '' : _ _t ) +
'\' alt=\'xmpp.net score\' />\n</a>\n<p class="title">' +
( ( _ _t = ( title ) ) == null ? '' : _ _t ) +
'</p>\n<p class="instructions">' +
( ( _ _t = ( instructions ) ) == null ? '' : _ _t ) +
'</p>\n' ;
}
return _ _p
} ;
this [ "JST" ] [ "registration_request" ] = function ( obj ) {
obj || ( obj = { } ) ;
var _ _t , _ _p = '' , _ _e = _ . escape ;
with ( obj ) {
_ _p += '<span class="spinner login-submit"/>\n<p class="info">' +
( ( _ _t = ( info _message ) ) == null ? '' : _ _t ) +
'</p>\n<button class="cancel hor_centered">' +
( ( _ _t = ( cancel ) ) == null ? '' : _ _t ) +
'</button>\n' ;
}
return _ _p
} ;
2014-07-06 17:32:06 +02:00
this [ "JST" ] [ "requesting_contact" ] = function ( obj ) {
obj || ( obj = { } ) ;
var _ _t , _ _p = '' , _ _e = _ . escape ;
with ( obj ) {
2014-09-22 16:05:40 +02:00
_ _p += '<span class="req-contact-name">' +
2014-07-06 17:32:06 +02:00
( ( _ _t = ( fullname ) ) == null ? '' : _ _t ) +
2014-09-22 16:05:40 +02:00
'</span>\n<span class="request-actions">\n <a class="accept-xmpp-request icon-checkmark" title="' +
( ( _ _t = ( desc _accept ) ) == null ? '' : _ _t ) +
'" href="#"></a>\n <a class="decline-xmpp-request icon-close" title="' +
( ( _ _t = ( desc _decline ) ) == null ? '' : _ _t ) +
'" href="#"></a>\n</span>\n' ;
2014-07-06 17:32:06 +02:00
}
return _ _p
} ;
this [ "JST" ] [ "requesting_contacts" ] = function ( obj ) {
obj || ( obj = { } ) ;
var _ _t , _ _p = '' , _ _e = _ . escape ;
with ( obj ) {
2014-09-22 16:05:40 +02:00
_ _p += '<dt id="xmpp-contact-requests"><a href="#" class="group-toggle icon-' +
( ( _ _t = ( toggle _state ) ) == null ? '' : _ _t ) +
'" title="' +
( ( _ _t = ( desc _group _toggle ) ) == null ? '' : _ _t ) +
'">' +
2014-07-06 17:32:06 +02:00
( ( _ _t = ( label _contact _requests ) ) == null ? '' : _ _t ) +
2014-09-22 16:05:40 +02:00
'</a></dt>\n' ;
2014-07-06 17:32:06 +02:00
}
return _ _p
} ;
this [ "JST" ] [ "room_description" ] = function ( obj ) {
obj || ( obj = { } ) ;
var _ _t , _ _p = '' , _ _e = _ . escape , _ _j = Array . prototype . join ;
function print ( ) { _ _p += _ _j . call ( arguments , '' ) }
with ( obj ) {
_ _p += '<!-- FIXME: check markup in mockup -->\n<div class="room-info">\n<p class="room-info"><strong>' +
( ( _ _t = ( label _desc ) ) == null ? '' : _ _t ) +
'</strong> ' +
( ( _ _t = ( desc ) ) == null ? '' : _ _t ) +
'</p>\n<p class="room-info"><strong>' +
( ( _ _t = ( label _occ ) ) == null ? '' : _ _t ) +
'</strong> ' +
( ( _ _t = ( occ ) ) == null ? '' : _ _t ) +
'</p>\n<p class="room-info"><strong>' +
( ( _ _t = ( label _features ) ) == null ? '' : _ _t ) +
'</strong>\n <ul>\n ' ;
if ( passwordprotected ) { ;
_ _p += '\n <li class="room-info locked">' +
( ( _ _t = ( label _requires _auth ) ) == null ? '' : _ _t ) +
'</li>\n ' ;
} ;
_ _p += '\n ' ;
if ( hidden ) { ;
_ _p += '\n <li class="room-info">' +
( ( _ _t = ( label _hidden ) ) == null ? '' : _ _t ) +
'</li>\n ' ;
} ;
_ _p += '\n ' ;
if ( membersonly ) { ;
_ _p += '\n <li class="room-info">' +
( ( _ _t = ( label _requires _invite ) ) == null ? '' : _ _t ) +
'</li>\n ' ;
} ;
_ _p += '\n ' ;
if ( moderated ) { ;
_ _p += '\n <li class="room-info">' +
( ( _ _t = ( label _moderated ) ) == null ? '' : _ _t ) +
'</li>\n ' ;
} ;
_ _p += '\n ' ;
if ( nonanonymous ) { ;
_ _p += '\n <li class="room-info">' +
( ( _ _t = ( label _non _anon ) ) == null ? '' : _ _t ) +
'</li>\n ' ;
} ;
_ _p += '\n ' ;
if ( open ) { ;
_ _p += '\n <li class="room-info">' +
( ( _ _t = ( label _open _room ) ) == null ? '' : _ _t ) +
'</li>\n ' ;
} ;
_ _p += '\n ' ;
if ( persistent ) { ;
_ _p += '\n <li class="room-info">' +
( ( _ _t = ( label _permanent _room ) ) == null ? '' : _ _t ) +
'</li>\n ' ;
} ;
_ _p += '\n ' ;
if ( publicroom ) { ;
_ _p += '\n <li class="room-info">' +
( ( _ _t = ( label _public ) ) == null ? '' : _ _t ) +
'</li>\n ' ;
} ;
_ _p += '\n ' ;
if ( semianonymous ) { ;
_ _p += '\n <li class="room-info">' +
( ( _ _t = ( label _semi _anon ) ) == null ? '' : _ _t ) +
'</li>\n ' ;
} ;
_ _p += '\n ' ;
if ( temporary ) { ;
_ _p += '\n <li class="room-info">' +
( ( _ _t = ( label _temp _room ) ) == null ? '' : _ _t ) +
'</li>\n ' ;
} ;
_ _p += '\n ' ;
if ( unmoderated ) { ;
_ _p += '\n <li class="room-info">' +
( ( _ _t = ( label _unmoderated ) ) == null ? '' : _ _t ) +
'</li>\n ' ;
} ;
_ _p += '\n </ul>\n</p>\n</div>\n' ;
}
return _ _p
} ;
this [ "JST" ] [ "room_item" ] = function ( obj ) {
obj || ( obj = { } ) ;
var _ _t , _ _p = '' , _ _e = _ . escape ;
with ( obj ) {
_ _p += '<dd class="available-chatroom">\n<a class="open-room" data-room-jid="' +
( ( _ _t = ( jid ) ) == null ? '' : _ _t ) +
'"\n title="' +
( ( _ _t = ( open _title ) ) == null ? '' : _ _t ) +
'" href="#">' +
( ( _ _t = ( name ) ) == null ? '' : _ _t ) +
'</a>\n<a class="room-info icon-room-info" data-room-jid="' +
( ( _ _t = ( jid ) ) == null ? '' : _ _t ) +
'"\n title="' +
( ( _ _t = ( info _title ) ) == null ? '' : _ _t ) +
'" href="#"> </a>\n</dd>\n' ;
}
return _ _p
} ;
this [ "JST" ] [ "room_panel" ] = function ( obj ) {
obj || ( obj = { } ) ;
var _ _t , _ _p = '' , _ _e = _ . escape ;
with ( obj ) {
_ _p += '<form class="add-chatroom" action="" method="post">\n <input type="text" name="chatroom" class="new-chatroom-name"\n placeholder="' +
( ( _ _t = ( label _room _name ) ) == null ? '' : _ _t ) +
'"/>\n <input type="text" name="nick" class="new-chatroom-nick"\n placeholder="' +
( ( _ _t = ( label _nickname ) ) == null ? '' : _ _t ) +
'"/>\n <input type="' +
( ( _ _t = ( server _input _type ) ) == null ? '' : _ _t ) +
'" name="server" class="new-chatroom-server"\n placeholder="' +
( ( _ _t = ( label _server ) ) == null ? '' : _ _t ) +
'"/>\n <input type="submit" name="join" value="' +
( ( _ _t = ( label _join ) ) == null ? '' : _ _t ) +
'"/>\n <input type="button" name="show" id="show-rooms" value="' +
( ( _ _t = ( label _show _rooms ) ) == null ? '' : _ _t ) +
'"/>\n</form>\n<dl id="available-chatrooms"></dl>\n' ;
}
return _ _p
} ;
2014-09-22 16:05:40 +02:00
this [ "JST" ] [ "roster" ] = function ( obj ) {
obj || ( obj = { } ) ;
var _ _t , _ _p = '' , _ _e = _ . escape ;
with ( obj ) {
2014-10-28 18:21:36 +01:00
_ _p += '<input style="display: none;" class="roster-filter" placeholder="' +
2014-09-22 16:05:40 +02:00
( ( _ _t = ( placeholder ) ) == null ? '' : _ _t ) +
2014-10-28 18:21:36 +01:00
'">\n<select style="display: none;" class="filter-type">\n <option value="contacts">' +
2014-09-22 16:05:40 +02:00
( ( _ _t = ( label _contacts ) ) == null ? '' : _ _t ) +
'</option>\n <option value="groups">' +
( ( _ _t = ( label _groups ) ) == null ? '' : _ _t ) +
2014-10-28 18:21:36 +01:00
'</option>\n</select>\n' ;
2014-09-22 16:05:40 +02:00
}
return _ _p
} ;
2014-07-06 17:32:06 +02:00
this [ "JST" ] [ "roster_item" ] = function ( obj ) {
obj || ( obj = { } ) ;
var _ _t , _ _p = '' , _ _e = _ . escape ;
with ( obj ) {
_ _p += '<a class="open-chat" title="' +
( ( _ _t = ( desc _chat ) ) == null ? '' : _ _t ) +
'" href="#"><span class="icon-' +
( ( _ _t = ( chat _status ) ) == null ? '' : _ _t ) +
'" title="' +
( ( _ _t = ( desc _status ) ) == null ? '' : _ _t ) +
'"></span>' +
( ( _ _t = ( fullname ) ) == null ? '' : _ _t ) +
'</a>\n<a class="remove-xmpp-contact icon-remove" title="' +
( ( _ _t = ( desc _remove ) ) == null ? '' : _ _t ) +
'" href="#"></a>\n' ;
}
return _ _p
} ;
this [ "JST" ] [ "search_contact" ] = function ( obj ) {
obj || ( obj = { } ) ;
var _ _t , _ _p = '' , _ _e = _ . escape ;
with ( obj ) {
_ _p += '<li>\n <form class="search-xmpp-contact">\n <input type="text"\n name="identifier"\n class="username"\n placeholder="' +
( ( _ _t = ( label _contact _name ) ) == null ? '' : _ _t ) +
'"/>\n <button type="submit">' +
( ( _ _t = ( label _search ) ) == null ? '' : _ _t ) +
2014-10-28 18:21:36 +01:00
'</button>\n </form>\n</li>\n' ;
2014-07-06 17:32:06 +02:00
}
return _ _p
} ;
this [ "JST" ] [ "select_option" ] = function ( obj ) {
obj || ( obj = { } ) ;
2014-11-15 16:40:34 +01:00
var _ _t , _ _p = '' , _ _e = _ . escape , _ _j = Array . prototype . join ;
function print ( ) { _ _p += _ _j . call ( arguments , '' ) }
2014-07-06 17:32:06 +02:00
with ( obj ) {
_ _p += '<option value="' +
( ( _ _t = ( value ) ) == null ? '' : _ _t ) +
2014-11-15 16:40:34 +01:00
'" ' ;
if ( selected ) { ;
_ _p += ' selected="selected" ' ;
} ;
_ _p += ' >' +
2014-07-06 17:32:06 +02:00
( ( _ _t = ( label ) ) == null ? '' : _ _t ) +
'</option>\n' ;
}
return _ _p
} ;
this [ "JST" ] [ "status_option" ] = function ( obj ) {
obj || ( obj = { } ) ;
var _ _t , _ _p = '' , _ _e = _ . escape ;
with ( obj ) {
_ _p += '<li>\n <a href="#" class="' +
( ( _ _t = ( value ) ) == null ? '' : _ _t ) +
'" data-value="' +
( ( _ _t = ( value ) ) == null ? '' : _ _t ) +
'">\n <span class="icon-' +
( ( _ _t = ( value ) ) == null ? '' : _ _t ) +
'"></span>\n ' +
( ( _ _t = ( text ) ) == null ? '' : _ _t ) +
'\n </a>\n</li>\n' ;
}
return _ _p
} ;
this [ "JST" ] [ "toggle_chats" ] = function ( obj ) {
obj || ( obj = { } ) ;
var _ _t , _ _p = '' , _ _e = _ . escape , _ _j = Array . prototype . join ;
function print ( ) { _ _p += _ _j . call ( arguments , '' ) }
with ( obj ) {
_ _p +=
( ( _ _t = ( Minimized ) ) == null ? '' : _ _t ) +
' <span id="minimized-count">(' +
( ( _ _t = ( num _minimized ) ) == null ? '' : _ _t ) +
')</span>\n<span class="unread-message-count"\n ' ;
if ( ! num _unread ) { ;
_ _p += ' style="display: none" ' ;
} ;
_ _p += '\n href="#">' +
( ( _ _t = ( num _unread ) ) == null ? '' : _ _t ) +
'</span>\n' ;
}
return _ _p
} ;
this [ "JST" ] [ "toolbar" ] = function ( obj ) {
obj || ( obj = { } ) ;
var _ _t , _ _p = '' , _ _e = _ . escape , _ _j = Array . prototype . join ;
function print ( ) { _ _p += _ _j . call ( arguments , '' ) }
with ( obj ) {
if ( show _emoticons ) { ;
_ _p += '\n <li class="toggle-smiley icon-happy" title="Insert a smilery">\n <ul>\n <li><a class="icon-smiley" href="#" data-emoticon=":)"></a></li>\n <li><a class="icon-wink" href="#" data-emoticon=";)"></a></li>\n <li><a class="icon-grin" href="#" data-emoticon=":D"></a></li>\n <li><a class="icon-tongue" href="#" data-emoticon=":P"></a></li>\n <li><a class="icon-cool" href="#" data-emoticon="8)"></a></li>\n <li><a class="icon-evil" href="#" data-emoticon=">:)"></a></li>\n <li><a class="icon-confused" href="#" data-emoticon=":S"></a></li>\n <li><a class="icon-wondering" href="#" data-emoticon=":\\"></a></li>\n <li><a class="icon-angry" href="#" data-emoticon=">:("></a></li>\n <li><a class="icon-sad" href="#" data-emoticon=":("></a></li>\n <li><a class="icon-shocked" href="#" data-emoticon=":O"></a></li>\n <li><a class="icon-thumbs-up" href="#" data-emoticon="(^.^)b"></a></li>\n <li><a class="icon-heart" href="#" data-emoticon="<3"></a></li>\n </ul>\n </li>\n' ;
} ;
_ _p += '\n' ;
if ( show _call _button ) { ;
2014-09-22 16:05:40 +02:00
_ _p += '\n<li class="toggle-call"><a class="icon-phone" title="' +
( ( _ _t = ( label _start _call ) ) == null ? '' : _ _t ) +
'"></a></li>\n' ;
} ;
_ _p += '\n' ;
if ( show _participants _toggle ) { ;
_ _p += '\n<li class="toggle-participants"><a class="icon-hide-users" title="' +
( ( _ _t = ( label _hide _participants ) ) == null ? '' : _ _t ) +
'"></a></li>\n' ;
2014-07-06 17:32:06 +02:00
} ;
_ _p += '\n' ;
if ( show _clear _button ) { ;
2014-09-22 16:05:40 +02:00
_ _p += '\n<li class="toggle-clear"><a class="icon-remove" title="' +
( ( _ _t = ( label _clear ) ) == null ? '' : _ _t ) +
'"></a></li>\n' ;
2014-07-06 17:32:06 +02:00
} ;
_ _p += '\n' ;
if ( allow _otr ) { ;
_ _p += '\n <li class="toggle-otr ' +
( ( _ _t = ( otr _status _class ) ) == null ? '' : _ _t ) +
'" title="' +
( ( _ _t = ( otr _tooltip ) ) == null ? '' : _ _t ) +
'">\n <span class="chat-toolbar-text">' +
( ( _ _t = ( otr _translated _status ) ) == null ? '' : _ _t ) +
'</span>\n ' ;
if ( otr _status == UNENCRYPTED ) { ;
_ _p += '\n <span class="icon-unlocked"></span>\n ' ;
} ;
_ _p += '\n ' ;
if ( otr _status == UNVERIFIED ) { ;
_ _p += '\n <span class="icon-lock"></span>\n ' ;
} ;
_ _p += '\n ' ;
if ( otr _status == VERIFIED ) { ;
_ _p += '\n <span class="icon-lock"></span>\n ' ;
} ;
_ _p += '\n ' ;
if ( otr _status == FINISHED ) { ;
_ _p += '\n <span class="icon-unlocked"></span>\n ' ;
} ;
_ _p += '\n <ul>\n ' ;
if ( otr _status == UNENCRYPTED ) { ;
_ _p += '\n <li><a class="start-otr" href="#">' +
( ( _ _t = ( label _start _encrypted _conversation ) ) == null ? '' : _ _t ) +
'</a></li>\n ' ;
} ;
_ _p += '\n ' ;
if ( otr _status != UNENCRYPTED ) { ;
_ _p += '\n <li><a class="start-otr" href="#">' +
( ( _ _t = ( label _refresh _encrypted _conversation ) ) == null ? '' : _ _t ) +
'</a></li>\n <li><a class="end-otr" href="#">' +
( ( _ _t = ( label _end _encrypted _conversation ) ) == null ? '' : _ _t ) +
'</a></li>\n <li><a class="auth-otr" data-scheme="smp" href="#">' +
( ( _ _t = ( label _verify _with _smp ) ) == null ? '' : _ _t ) +
'</a></li>\n ' ;
} ;
_ _p += '\n ' ;
if ( otr _status == UNVERIFIED ) { ;
_ _p += '\n <li><a class="auth-otr" data-scheme="fingerprint" href="#">' +
( ( _ _t = ( label _verify _with _fingerprints ) ) == null ? '' : _ _t ) +
'</a></li>\n ' ;
} ;
_ _p += '\n <li><a href="http://www.cypherpunks.ca/otr/help/3.2.0/levels.php" target="_blank">' +
( ( _ _t = ( label _whats _this ) ) == null ? '' : _ _t ) +
'</a></li>\n </ul>\n </li>\n' ;
} ;
_ _p += '\n' ;
}
return _ _p
} ;
this [ "JST" ] [ "trimmed_chat" ] = function ( obj ) {
obj || ( obj = { } ) ;
var _ _t , _ _p = '' , _ _e = _ . escape , _ _j = Array . prototype . join ;
function print ( ) { _ _p += _ _j . call ( arguments , '' ) }
with ( obj ) {
_ _p += '<a class="close-chatbox-button icon-close"></a>\n<a class="chat-head-message-count" \n ' ;
if ( ! num _unread ) { ;
_ _p += ' style="display: none" ' ;
} ;
_ _p += '\n href="#">' +
( ( _ _t = ( num _unread ) ) == null ? '' : _ _t ) +
'</a>\n<a href="#" class="restore-chat" title="' +
( ( _ _t = ( tooltip ) ) == null ? '' : _ _t ) +
'">\n ' +
( ( _ _t = ( title ) ) == null ? '' : _ _t ) +
'\n</a>\n' ;
}
return _ _p
2014-09-22 17:24:58 +02:00
} ;