Software: Apache/2.2.8 (Ubuntu) PHP/5.2.4-2ubuntu5.12 with Suhosin-Patch mod_ssl/2.2.8 OpenSSL/0.9.8g. PHP/5.2.4-2ubuntu5.12 uname -a: Linux forum.circlefusion.com 2.6.24-19-server #1 SMP Wed Jun 18 15:18:00 UTC 2008 i686 uid=33(www-data) gid=33(www-data) groups=33(www-data) Safe-mode: OFF (not secure) /home/doku/axrepos/axess/js/ drwxr-xr-x |
Viewing file: axess.js (5.49 KB) -rw-r--r-- Select action/file-type: (+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) | $(document).ready(function() { //$('#regName').alphanumeric({allow:"-_ \"'"}); $("#postsForm").validate({ rules: { topic: "required" // simple rule, converted to {required: true} }, messages: { topic: "!" } }); $("#usernameSearchForm").validate({ rules: { searchname: "required" // simple rule, converted to {required: true} }, messages: { searchname: "!" } }); $("#emailSearchForm").validate({ rules: { searchemail: "required" // simple rule, converted to {required: true} }, messages: { searchemail: "!" } }); $("#profileSearchForm").validate({ rules: { searchprofile: "required" // simple rule, converted to {required: true} }, messages: { searchprofile: "!" } }); $("#postsIpForm").validate({ rules: { ipaddress: "required" // simple rule, converted to {required: true} }, messages: { ipaddress: "!" } }); $("#topicTitleSearchForm").validate({ rules: { searchtopictitle: "required" // simple rule, converted to {required: true} }, messages: { searchtopictitle: "!" } }); $("#topicIdSearchForm").validate({ rules: { searchtopicid: "required" // simple rule, converted to {required: true} }, messages: { searchtopicid: "!" } }); $("#topicUser1SearchForm").validate({ rules: { searchtopicuser1: "required" // simple rule, converted to {required: true} }, messages: { searchtopicuser1: "!" } }); $("#topicUser2SearchForm").validate({ rules: { searchtopicuser2: "required" // simple rule, converted to {required: true} }, messages: { searchtopicuser2: "!" } }); function checkBoxes() { if ($('td.col1 input:checked').size() > 0) { return true; } return false; } $('#logout a').click( function() { var answer = confirm("Are you sure you want to logout of Axess?"); if (answer) { return true; } return false; }); $('#editButton').click( function() { if (checkBoxes()) { return true; } else { alert('No records are selected'); } return false; }); $('#deleteButton').click( function() { if (checkBoxes()) { var answer = confirm("You want to delete selected records?"); if (answer) { return true; } } else { alert('No records are selected'); } return false; }); $('#approveButton').click( function() { if (checkBoxes()) { var answer = confirm("You want to approve selected records?"); if (answer) { return true; } } else { alert('No records are selected'); } return false; }); $('#onholdButton').click( function() { if (checkBoxes()) { var answer = confirm("You want to place selected records on hold?"); if (answer) { return true; } } else { alert('No records are selected'); } return false; }); $('#rejectButton').click( function() { if (checkBoxes()) { var answer = confirm("You want to reject selected records?"); if (answer) { return true; } } else { alert('No records are selected'); } return false; }); $('#enableButton').click( function() { if (checkBoxes()) { var answer = confirm("You want to enable selected records?"); if (answer) { return true; } } else { alert('No records are selected'); } return false; }); $('#disableButton').click( function() { if (checkBoxes()) { var answer = confirm("You want to disable selected records?"); if (answer) { return true; } } else { alert('No records are selected'); } return false; }); $('#expireButton').click( function() { if (checkBoxes()) { var answer = confirm("You want to expire selected records?"); if (answer) { return true; } } else { alert('No records are selected'); } return false; }); $('#reparentButton').click( function() { if (checkBoxes()) { if ($('#reparentNewTopic').val().length == 0) { alert('Enter a topic number'); $('#reparentNewTopic').focus(); return false; } var answer = confirm("You want to reparent selected records to another topic?"); if (answer) { return true; } } else { alert('No records are selected'); } return false; }); $('#sendInfoButton').click( function() { if (checkBoxes()) { var answer = confirm("You want to send account info for selected records?"); if (answer) { return true; } } else { alert('No records are selected'); } return false; }); }); |
:: Command execute :: | |
--[ c99shell v.2.1 [PHP 7 Update] [1.12.2019] maintained by KaizenLouie and updated by cermmik | C99Shell Github (MySQL update) | Generation time: 0.0047 ]-- |