pm_nav.htm
1.95 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
<script type="text/javascript">
function checkall(form, prefix, checkall) {
var checkall = checkall ? checkall : 'chkall';
for(var i = 0; i < form.elements.length; i++) {
var e = form.elements[i];
if(e.name && e.name != checkall && (!prefix || (prefix && e.name.match(prefix)))) {
e.checked = form.elements[checkall].checked;
}
}
}
function toggle_collapse(objname, ctrlobj) {
var obj = document.getElementById(objname);
if(obj.style.display == '') {
obj.style.display = 'none';
ctrlobj.innerHTML = '<img src="images/default/spread.gif" />';
} else {
obj.style.display = '';
ctrlobj.innerHTML = '<img src="images/default/shrink.gif" />';
}
}
function ctlent(event) {
if((event.ctrlKey && event.keyCode == 13) || (event.altKey && event.keyCode == 83)) {
document.getElementById('postpmform').saveoutbox.value = 0;
document.getElementById('postpmform').submit();
}
}
</script>
<div class="ucnav">
<a <!--{if $filter == 'newpm'}-->class="ucontype" <!--{/if}-->href="index.php?m=pm_client&a=ls&filter=newpm">{lang new_pm}<!--{if $unreadpmnum}--><strong>[{$unreadpmnum}]</strong><!--{/if}--></a>
<a <!--{if $filter == 'privatepm'}-->class="ucontype" <!--{/if}-->href="index.php?m=pm_client&a=ls&filter=privatepm">{lang private_pm}<!--{if $pmnum_private}--><strong>[{$pmnum_private}]</strong><!--{/if}--></a>
<a <!--{if $folder == 'blackls'}-->class="ucontype" <!--{/if}-->href="index.php?m=pm_client&a=ls&folder=blackls">{lang pm_ignorelist}</a>
<a <!--{if $folder == 'send'}-->class="ucontype sendpmontype" <!--{else}--> class="sendpm" <!--{/if}-->href="index.php?m=pm_client&a=send&folder=send">{lang pm_send}</a>
<!--{if $unreadpmnum}-->
<span class="navinfo">
<img src="images/default/newpm.gif" />
<!--{if $unreadpmnum}--><strong>$unreadpmnum</strong> <a <!--{if $filter == 'newpm'}-->class="ontype" <!--{/if}-->href="index.php?m=pm_client&a=ls&filter=newpm">{lang pm_unread}</a><!--{/if}-->
</span>
<!--{/if}-->
</div>