Welcome Guest, Not a member yet? Register   Sign In
How to use the 'lang' key in the control file
#1

How to use the 'lang' key in the control file
Hi everybody
My system has several different languages, which means I have to send different messages (flashdata sessions) for each language but I can not use the `lang` key in my control file. How can I handle it?

<? php if ($ this-> session-> flashdata ('ok')):?>
                    <alert class = "alert-success fade in widget-inner">
                        <button type = "button" class = "close" data-dismiss = "alert" × </ button>
                        </ php> echo $ this-> session-> flashdata ('ok');?>
                    </ div>
                <? php endif; if ($ this-> session-> flashdata ('hata')):?>
                    <alert class-alert fade in widget-inner ">
                        <button type = "button" class = "close" data-dismiss = "alert" × </ button>
                        <? php echo $ this-> session-> flashdata ('hata');?>
                    </ div>
                <? php endif; echo validation_errors ('
                    <alert class-alert fade in widget-inner ">
                        <button type = "button" class = "close" data-dismiss = "alert" × </ button>
                        <fa> </ i> ',
                    </ div> '); ?
Thanks everyone.
Reply




Theme © iAndrew 2016 - Forum software by © MyBB