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

Changeset 1192


Ignore:
Timestamp:
Dec 15, 2006, 11:42:24 AM (14 years ago)
Author:
takanashi
Message:

メッセージ全削除用チェックボタン

File:
1 edited

Legend:

Unmodified
Added
Removed
  • OpenPNE/branches/takanashi/prj_takanashi4/webapp/modules/pc/templates/h_message_box.tpl

    r1081 r1192  
    11({ext_include file="inc_header.tpl"})
    22({ext_include file="inc_layoutcolumn_top_175px.tpl"})
     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>
    325({********************************})
    426({**ここから:メインコンテンツ(左)**})
     
    427449({*********})
    428450
    429 ({t_form m=pc a=do_h_message_box_delete_message})
     451<form action="./" method="post" name="h_message_box_delete_message">
     452<input type="hidden" name="m" value="pc">
     453<input type="hidden" name="a" value="do_h_message_box_delete_message">
    430454<input type="hidden" name="sessid" value="({$PHPSESSID})">
    431455
     
    471495<td style="width:100%;" class="bg_05" align="left">
    472496
     497<br>
     498&nbsp;<a href="#" onClick="return checkAll();" onKeyPress="return checkAll();">全てをチェック</a> / <a href="#" onClick="return clearAll();" onKeyPress="return clearAll();">全てのチェックをはずす</a>
     499
    473500<div class="padding_s">
    474501<input type="hidden" name="box" value="({$box})">
    475502<input type="submit" class="submit" value="削 除">
    476503</form>
    477 
    478504</div>
    479505
     
    597623({*********})
    598624
    599 ({t_form m=pc a=do_h_message_box_delete_message})
     625<form action="./" method="post" name="h_message_box_delete_message">
     626<input type="hidden" name="m" value="pc">
     627<input type="hidden" name="a" value="do_h_message_box_delete_message">
    600628<input type="hidden" name="sessid" value="({$PHPSESSID})">
    601629
     
    641669<td style="width:100%;" class="bg_05" align="left">
    642670
     671<br>
     672&nbsp;<a href="#" onClick="return checkAll();" onKeyPress="return checkAll();">全てをチェック</a> / <a href="#" onClick="return clearAll();" onKeyPress="return clearAll();">全てのチェックをはずす</a>
     673
    643674<div class="padding_s">
    644675<input type="hidden" name="box" value="({$box})">
     
    727758({*********})
    728759
    729 ({t_form m=pc a=do_h_message_box_delete_message})
     760<form action="./" method="post" name="h_message_box_delete_message">
     761<input type="hidden" name="m" value="pc">
     762<input type="hidden" name="a" value="do_h_message_box_delete_message">
    730763<input type="hidden" name="sessid" value="({$PHPSESSID})">
    731764
     
    769802({*********})
    770803<tr>
     804
    771805<td style="width:100%;" class="bg_05" align="left">
     806<br>
     807&nbsp;<a href="#" onClick="return checkAll();" onKeyPress="return checkAll();">全てをチェック</a> / <a href="#" onClick="return clearAll();" onKeyPress="return clearAll();">全てのチェックをはずす</a>
    772808
    773809<div class="padding_s">
     
    864900({*********})
    865901
    866 ({t_form m=pc a=do_h_message_box_delete_message})
     902<form action="./" method="post" name="h_message_box_delete_message">
     903<input type="hidden" name="m" value="pc">
     904<input type="hidden" name="a" value="do_h_message_box_delete_message">
    867905<input type="hidden" name="sessid" value="({$PHPSESSID})">
    868906
     
    919957<tr>
    920958<td style="width:100%;" class="bg_05" align="left">
     959
     960<br>
     961&nbsp;<a href="#" onClick="return checkAll();" onKeyPress="return checkAll();">全てをチェック</a> / <a href="#" onClick="return clearAll();" onKeyPress="return clearAll();">全てのチェックをはずす</a>
    921962
    922963<div class="padding_s">
Note: See TracChangeset for help on using the changeset viewer.