Remove Delete Control on Voicemail Page

Discussion in 'General' started by ktpoitm, May 18, 2010.

  1. ktpoitm

    Joined:
    Mar 19, 2010
    Messages:
    9
    Likes Received:
    0
    I want to remove the "delete" control on the Voicemails display page for users assigned to the "extensions" group. Can this be done?
     
  2. haamed

    Joined:
    Jul 23, 2007
    Messages:
    251
    Likes Received:
    0
    Hi,
    To delete the "Delete" button do these steps.

    1. open file: /var/www/html/modules/voicemail/index.php

    2. change line 305 & 306 from A to B:

    Code:
    A: "columns" => array(0 => array("name" => "<input type='submit' onClick=\"return confirmSubmit('{$arrLang["Are you sure you wish to delete voicemails?"]}');\" name='submit_eliminar' value='{$arrLang["Delete"]}' class='button' />","property1" => ""),
    Code:
    B: "columns" => array(0 => array(),
     
  3. ktpoitm

    Joined:
    Mar 19, 2010
    Messages:
    9
    Likes Received:
    0
    Perfect. Thank you very much!!!!

    System is up and fully functional and now somewhat user-proof from accidental deletions. Instead of the 15K to upgrade the Call Manager for unified messaging for just one department I used a $300 Atom processor mini-PC and a $200 TDM card.
     

Share This Page