Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!DOCTYPE html>
- <html dir="ltr">
- <head>
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
- <script language="JavaScript" type="text/JavaScript" src="/showhide.js"></script>
- <script src="http://code.jquery.com/jquery-1.5.js"></script>
- <script type="text/javascript">
- $(document).ready(function(){
- $form = $('form');
- $form.submit(function(){
- $.post($form.attr('action'), $form.serialize(), function(response){
- // do something here on success
- },'json');
- return false;
- });
- });
- </script>
- <link rel="stylesheet" type="text/css" href="/index.css" media="all">
- <title>
- <TMPL_IF NAME> <TMPL_VAR NAME> </TMPL_IF>
- </title>
- </head>
- <body>
- <div class="page-body">
- <div class="pref-links">
- <a href="" class="create-link">Active Users</a> |
- <a href="">Disabled users</a> |
- <a href="">Activity</a>
- </div>
- <table class="alerts" cellspacing="0">
- <tbody>
- <tr class="header">
- <th>CWIS</th>
- <th>First Name</th>
- <th>Last Name</th>
- <th>Initials</th>
- <th>Signed</th>
- <th></th>
- </tr>
- <TMPL_LOOP NAME=ROW>
- <form action="/cgi-bin/receiver.pl" method="post">
- <input name="anchor" value="<TMPL_VAR CWIS>" type="hidden">
- <tr>
- <td><TMPL_VAR CWIS></td>
- <td><TMPL_VAR FN></td>
- <td><TMPL_VAR LN></td>
- <td><TMPL_VAR IN></td>
- <td class="checkbox"> <input name="signed" type="checkbox"> </td>
- <td class="edit-column"><a href="javascript:showhide('<TMPL_VAR CWIS>');">Details</a> <input value="Save" type="submit"></td>
- </tr>
- <tr id="<TMPL_VAR CWIS>" class="edit-row" style="display: none;">
- <td>
- ad_displayname
- </td>
- <td>
- ad_dn
- </td>
- <td>
- ad_sameaccountname
- </td>
- <td>
- </td>
- <td class="checkbox">
- </td>
- <td class="edit-column">
- </td>
- </tr>
- </form>
- </TMPL_LOOP>
- </tbody>
- </table>
- </div>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement