root/xmpp/templates/chat.tpl @ 1495

Revision 1495, 1.9 kB (checked in by Torben Brodt, 22 months ago)

update xmpp chat with lots of configuration

Line 
1{include file="documentHeader"}
2<head>
3        <title>{lang}wcf.header.menu.chat{/lang} - {lang}{PAGE_TITLE}{/lang}</title>
4        <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.6.1/jquery.min.js"></script>
5        <script type="text/javascript">jQuery.noConflict();</script>
6        {include file='headInclude' sandbox=false}
7
8        <link rel="stylesheet" type="text/css" href="{@RELATIVE_WCF_DIR}images/candy/default.css" />
9        <script type="text/javascript" src="{@RELATIVE_WCF_DIR}js/3rdParty/candy.libs.bundle.js"></script>
10        <script type="text/javascript" src="{@RELATIVE_WCF_DIR}js/3rdParty/candy.min.js"></script>
11        <script type="text/javascript">
12        //<![CDATA[
13                onloadEvents.push(function(){
14                        Candy.init('{$xmpp_http}', {
15                                core: {
16                                        debug: false
17                                        {if $autojoin_str},autojoin: [{@$autojoin_str}]{/if}
18                                },
19                                view: {
20                                        resources: '{@RELATIVE_WCF_DIR}images/candy/',
21                                        language: '{$xmpp_lang}'
22                                }
23                        });
24                        Candy.Core.connect({if $xmpp_username}'{$xmpp_username}'{/if}{if $xmpp_password}, '{$xmpp_password}'{/if});
25                });
26        //]]>
27        </script>
28</head>
29<body{if $templateName|isset} id="tpl{$templateName|ucfirst}"{/if}>
30{include file='header' sandbox=false}
31
32<div id="main">
33       
34        <ul class="breadCrumbs">
35                <li><a href="index.php?page=Index{@SID_ARG_2ND}"><img src="{icon}indexS.png{/icon}" alt="" /> <span>{lang}{PAGE_TITLE}{/lang}</span></a> &raquo;</li>
36        </ul>
37        <div class="mainHeadline">
38                <img src="{icon}chatL.png{/icon}" alt="" />
39                <div class="headlineContainer">
40                        <h2>{lang}wcf.header.menu.chat{/lang}</h2>
41                </div>
42        </div>
43
44        {if $userMessages|isset}{@$userMessages}{/if}
45
46        <p class="info">Die Chat Integration in das Forum befindet sich noch im Aufbau. Mehr unter : <a href="http://www.easy-coding.de/easy-coding-xmpp-server-talk-easy-coding-de-t7173.html">easy-coding XMPP Server - talk.easy-coding.de</a></p>
47
48        <div style="position:relative"><div id="candy"></div></div>
49</div>
50
51{include file='footer' sandbox=false}
52</body>
53</html>
Note: See TracBrowser for help on using the browser.