HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   Developers' Forum (http://www.howtoforge.com/forums/forumdisplay.php?f=33)
-   -   .lng usage (http://www.howtoforge.com/forums/showthread.php?t=60235)

mare 16th January 2013 16:07

.lng usage
 
Hello,

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.

tnx.

till 16th January 2013 16: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 16:45

Ok, tnx. I got it working.


All times are GMT +2. The time now is 17:56.

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