.lng usage

Discussion in 'Developers' Forum' started by mare, Jan 16, 2013.

  1. mare

    mare New Member


    I would like to add a questions while deleting a record.
    if i understsand right i had to modify the OnDelete function like done in client/client_del.php

    So i create a new mytable_del.htm to display the question.

    Everything works but the translations are not loadad from lag/del_mytable.lng.

    Can you tell my which function trigger the var replacement in the template.

  2. till

    till Super Moderator Staff Member ISPConfig Developer

    As there is normally no such page (your page is manually generated), you have to apply the language variables in your code with the setVar function of the templating library.
  3. mare

    mare New Member

    Ok, tnx. I got it working.

Share This Page