HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (
-   Developers' Forum (
-   -   .lng usage (

mare 16th January 2013 17:07

.lng usage

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.


till 16th January 2013 17:37

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.

mare 16th January 2013 17:45

Ok, tnx. I got it working.

All times are GMT +2. The time now is 23:10.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.