~ubuntu-branches/ubuntu/natty/jwchat/natty

« back to all changes in this revision

Viewing changes to userhist_collections_iframe.html.vi_VN

  • Committer: Bazaar Package Importer
  • Author(s): Lincoln de Sousa, Lincoln de Sousa, Marcelo Jorge Vieira
  • Date: 2010-09-16 11:42:28 UTC
  • mfrom: (1.1.3 upstream)
  • Revision ID: james.westby@ubuntu.com-20100916114228-5s5ne28n1w6wrfbl
Tags: 1.0+dfsg-1
[Lincoln de Sousa]

* Switch to dpkg-source 3.0 (quilt) format
* Migrating package from cdbs to debhelper 7.0.50~
* Changing the rule get-orig-source to generate a dfsg compatible
  package striping swf files from the orig (Closes: #591962)
* Updated Standards-Version to 3.9.1
* Removing po-debconf from the Build-Depends-Indep list.

[Marcelo Jorge Vieira]

* Fixing the default backend
* Fixing Debugger dependency
* Changing information about packaging from old maintainers to
  Debian XMPP Team.
* Removing sound support.
* Setting a port for apache VirtualHost.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2
 
<html>
3
 
  <head>
4
 
    <title>JWChat - Collections</title>
5
 
    <meta http-equiv="content-type" content="text/html; charset=utf-8">
6
 
    <script src="switchStyle.js"></script>
7
 
    <script src="jsjac.js"></script>
8
 
                <script>
9
 
 
10
 
var ie5 = document.all&&document.getElementById;
11
 
 
12
 
function init() {
13
 
  var myTable = document.getElementById('myTable');
14
 
  
15
 
  if (parent.top.srcW.is.ie) {
16
 
    myTable.cellSpacing = 0;
17
 
    myTable.cellPadding = 0;
18
 
    myTable.border = 0;
19
 
    myTable.width = '100%';     
20
 
  }
21
 
 
22
 
  var rows = myTable.getElementsByTagName("TBODY").item(0).childNodes;
23
 
  for (var i=0; i<rows.length; i++) {
24
 
    rows[i].onmouseover = highlightRow;
25
 
    rows[i].onmouseout = unhighlightRow;
26
 
    rows[i].onclick = rowClicked;
27
 
    rows[i].title = "click to select collection";
28
 
  }
29
 
}
30
 
function highlightRow(e) {
31
 
  var row = ie5 ? event.srcElement.parentNode : e.target.parentNode;
32
 
  row.className = 'highlighted';
33
 
}
34
 
function unhighlightRow(e) {
35
 
  var row = ie5 ? event.srcElement.parentNode : e.target.parentNode;
36
 
  if (row != selectedRow)
37
 
    row.className = '';
38
 
}
39
 
 
40
 
var selectedRow;
41
 
function rowClicked(e) {
42
 
  if (selectedRow)
43
 
    selectedRow.className = '';
44
 
  selectedRow = ie5 ? event.srcElement.parentNode : e.target.parentNode;
45
 
  selectedRow.className = 'highlighted';
46
 
  
47
 
  srcW = parent.srcW;
48
 
 
49
 
  // get collection
50
 
  var aIQ = new JSJaCIQ();
51
 
  aIQ.setType('get');
52
 
  aIQ.setTo(srcW.loghost);
53
 
  var aNode = 
54
 
        aIQ.appendNode(
55
 
          'retrieve', 
56
 
          {'xmlns': 'http://jabber.org/protocol/archive',
57
 
           'with': parent.jid,
58
 
           'start': selectedRow.getAttribute('start')});
59
 
 
60
 
  srcW.Debug.log(aIQ.xml(),2);
61
 
  
62
 
  target = parent;
63
 
 
64
 
  srcW.con.send(aIQ,target.handleCollGet);
65
 
}
66
 
                </script>
67
 
 
68
 
                <style type="text/css">
69
 
                        body { background-color: white; }
70
 
                        th { 
71
 
                        font-size: 0.8em; 
72
 
                        border-bottom: 1px solid black;
73
 
                        padding: 2px;
74
 
                        }
75
 
                        td {
76
 
                        border-bottom: 1px solid black;
77
 
                        padding: 2px;
78
 
                        cursor: default;
79
 
                        }
80
 
                        tr.highlighted {
81
 
                        color: highlighttext;
82
 
                        background-color: highlight;
83
 
                        }
84
 
                </style>
85
 
  </head>
86
 
  <body>
87
 
  </body>
88
 
</html>