ここの情報は古いです。ご理解頂いた上でお取り扱いください。

Changeset 1126


Ignore:
Timestamp:
Dec 11, 2006, 10:13:20 PM (14 years ago)
Author:
ishida
Message:

#325
メッセージ削除の際に全選択ボタンを使える用にした

File:
1 edited

Legend:

Unmodified
Added
Removed
  • OpenPNE/branches/ishida/prj_dev26/webapp/modules/pc/templates/h_message_box.tpl

    r911 r1126  
    11({$inc_html_header|smarty:nodefaults})
     2
     3<script type="text/javascript">
     4<!--
     5function checkAll() {
     6    var sm = document.h_message_box_delete_message;
     7    var len = sm.elements.length;
     8    for (var i = 0; i < len; i++) {
     9        sm.elements[i].checked = true;
     10    }
     11    return false;
     12}
     13
     14function clearAll() {
     15    var sm = document.h_message_box_delete_message;
     16    var len = sm.elements.length;
     17    for (var i = 0; i < len; i++) {
     18        sm.elements[i].checked = false;
     19    }
     20    return false;
     21}
     22
     23//-->
     24</script>
     25
    226<body>
    327({ext_include file="inc_extension_pagelayout_top.tpl"})
     
    447471({*********})
    448472
    449 ({t_form m=pc a=do_h_message_box_delete_message})
     473<form action="./" method="post" name="h_message_box_delete_message">
     474<input type="hidden" name="m" value="pc">
     475<input type="hidden" name="a" value="do_h_message_box_delete_message">
    450476<input type="hidden" name="sessid" value="({$PHPSESSID})">
    451477
     
    491517<td style="width:100%;" class="bg_05" align="left">
    492518
     519<br>
     520&nbsp;<a href="#" onClick="return checkAll();" onKeyPress="return checkAll();">全てをチェック</a> / <a href="#" onClick="return clearAll();" onKeyPress="return clearAll();">全てのチェックをはずす</a>
     521
    493522<div class="padding_s">
    494523<input type="hidden" name="box" value="({$box})">
    495524<input type="submit" class="submit" value="削 除">
    496525</form>
    497 
    498526</div>
    499527
     
    617645({*********})
    618646
    619 ({t_form m=pc a=do_h_message_box_delete_message})
     647<form action="./" method="post" name="h_message_box_delete_message">
     648<input type="hidden" name="m" value="pc">
     649<input type="hidden" name="a" value="do_h_message_box_delete_message">
    620650<input type="hidden" name="sessid" value="({$PHPSESSID})">
    621651
     
    661691<td style="width:100%;" class="bg_05" align="left">
    662692
     693<br>
     694&nbsp;<a href="#" onClick="return checkAll();" onKeyPress="return checkAll();">全てをチェック</a> / <a href="#" onClick="return clearAll();" onKeyPress="return clearAll();">全てのチェックをはずす</a>
     695
    663696<div class="padding_s">
    664697<input type="hidden" name="box" value="({$box})">
     
    747780({*********})
    748781
    749 ({t_form m=pc a=do_h_message_box_delete_message})
     782<form action="./" method="post" name="h_message_box_delete_message">
     783<input type="hidden" name="m" value="pc">
     784<input type="hidden" name="a" value="do_h_message_box_delete_message">
    750785<input type="hidden" name="sessid" value="({$PHPSESSID})">
    751786
     
    789824({*********})
    790825<tr>
     826
    791827<td style="width:100%;" class="bg_05" align="left">
     828<br>
     829&nbsp;<a href="#" onClick="return checkAll();" onKeyPress="return checkAll();">全てをチェック</a> / <a href="#" onClick="return clearAll();" onKeyPress="return clearAll();">全てのチェックをはずす</a>
    792830
    793831<div class="padding_s">
     
    884922({*********})
    885923
    886 ({t_form m=pc a=do_h_message_box_delete_message})
     924<form action="./" method="post" name="h_message_box_delete_message">
     925<input type="hidden" name="m" value="pc">
     926<input type="hidden" name="a" value="do_h_message_box_delete_message">
    887927<input type="hidden" name="sessid" value="({$PHPSESSID})">
    888928
     
    939979<tr>
    940980<td style="width:100%;" class="bg_05" align="left">
     981
     982<br>
     983&nbsp;<a href="#" onClick="return checkAll();" onKeyPress="return checkAll();">全てをチェック</a> / <a href="#" onClick="return clearAll();" onKeyPress="return clearAll();">全てのチェックをはずす</a>
    941984
    942985<div class="padding_s">
Note: See TracChangeset for help on using the changeset viewer.