#1  
Old 16th January 2013, 16:07
mare mare is offline
Junior Member
 
Join Date: Mar 2011
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
Default .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.
Reply With Quote
Sponsored Links
  #2  
Old 16th January 2013, 16:37
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,083
Thanks: 826
Thanked 5,396 Times in 4,240 Posts
Default

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.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 16th January 2013, 16:45
mare mare is offline
Junior Member
 
Join Date: Mar 2011
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
 
Default

Ok, tnx. I got it working.
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
High load and high cpu kernel usage enid Server Operation 3 20th September 2010 10:46
Massive memory usage voltron81 General 27 16th July 2010 14:49
Swap usage issue MrM General 23 7th October 2009 10:52
Kernel memory Usage ascetic angel Kernel Questions 0 12th September 2008 09:24
Squid Proxy Caching on Linux obzerver Installation/Configuration 4 13th August 2008 19:51


All times are GMT +2. The time now is 18:54.


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