/lenasys/trunk

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/lenasys/trunk

« back to all changes in this revision

Viewing changes to codeigniter/application/controllers/ajax.php

  • Committer: Gustav Hatvigsson
  • Date: 2013-05-24 14:31:28 UTC
  • mfrom: (90.1.8 lenasys2)
  • Revision ID: gustav.hartvigsson@gmail.com-20130524143128-66hnjkl0cy1rgkgr
Merged Jonsson:s changes so you can display the login box.

Show diffs side-by-side

added added

removed removed

Lines of Context:
36
36
                }
37
37
                
38
38
                /*
 
39
                 *      This function return TRUE if the user is logged in and FALSE otherwise.
 
40
                 */
 
41
                public function isLoggedIn() {
 
42
                        if ($this->user->isLoggedIn()) {
 
43
                                echo 'yes';
 
44
                        }
 
45
                        else {
 
46
                                echo 'no';
 
47
                        }
 
48
                }
 
49
                
 
50
                /*
39
51
                 *      This function outputs data: user password hint.
40
52
                 */
41
53
                public function pwdhint() {