SCDNG PELER
Server IP : 144.76.124.212  /  Your IP : 216.73.216.138
Web Server : LiteSpeed
System : Linux l4cp.vnetindia.com 4.18.0-553.40.1.lve.el8.x86_64 #1 SMP Wed Feb 12 18:54:57 UTC 2025 x86_64
User : rakcha ( 1356)
PHP Version : 7.4.33
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home5/rakcha/www/user/js/pages/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME ]     

Current File : /home5/rakcha/www/user/js/pages/mailbox.js
//[mailbox Javascript]



//Project:	Maximum Admin - Responsive Admin Template

//Version:	1.1.0

//Last change:	11/09/2017

//Primary use:   Used only for the  mailbox





$(function () {

    "use strict";



    //Enable iCheck plugin for checkboxes

    //iCheck for checkbox and radio inputs

    $('.mailbox-messages input[type="checkbox"]').iCheck({

      checkboxClass: 'icheckbox_flat-blue',

      radioClass: 'iradio_flat-blue'

    });



    //Enable check and uncheck all functionality

    $(".checkbox-toggle").click(function () {

      var clicks = $(this).data('clicks');

      if (clicks) {

        //Uncheck all checkboxes

        $(".mailbox-messages input[type='checkbox']").iCheck("uncheck");

        $(".ion", this).removeClass("ion-android-checkbox-outline").addClass('ion-android-checkbox-outline-blank');

      } else {

        //Check all checkboxes

        $(".mailbox-messages input[type='checkbox']").iCheck("check");

        $(".ion", this).removeClass("ion-android-checkbox-outline-blank").addClass('ion-android-checkbox-outline');

      }

      $(this).data("clicks", !clicks);

    });



    //Handle starring for glyphicon and font awesome

    $(".mailbox-star").click(function (e) {

      e.preventDefault();

      //detect type

      var $this = $(this).find("a > i");

      var glyph = $this.hasClass("glyphicon");

      var fa = $this.hasClass("fa");



      //Switch states

      if (glyph) {

        $this.toggleClass("glyphicon-star");

        $this.toggleClass("glyphicon-star-empty");

      }



      if (fa) {

        $this.toggleClass("fa-star");

        $this.toggleClass("fa-star-o");

      }

    });

	

  }); // End of use strict

Anon7 - 2022
SCDN GOK