[dokuwiki] Re: btn_html and lang definition

  • From: Michael Klier <chi@xxxxxxxxxxx>
  • To: dokuwiki@xxxxxxxxxxxxx
  • Date: Thu, 26 Feb 2009 09:10:28 +0100

On Wed, Feb 25, 2009 at 09:51:36PM +0000, Anika Henke wrote:
> Anika Henke wrote:
> >    print html_btn('back',$backID,'',array());
> 
> Oh, I just realised, that was the worse of the two examples from my 
> template, because 'btn_back' is already in the main 
> inc/lang/<lang>/lang.php and not in the template's lang.php.
> The better example:
>     print html_btn('discussion',$discussNS.$ID,'',array());
> And I have $lang['btn_discussion'] = 'Discussion'; in my template's many 
> lang.php files.

Ah, I see, seems I was a little hasty with my last comment.

Thanks for the clarification :).

Michael

-- 
Michael Klier

www:    http://www.chimeric.de
jabber: chi@xxxxxxxxxxxxxxxxxx
key:    http://downloads.chimeric.de/chi.asc
key-id: 0x8308F551

Other related posts: