/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: a11andoh
  • Date: 2013-05-27 11:25:41 UTC
  • mfrom: (105 lenasys_b)
  • mto: This revision was merged to the branch mainline in revision 106.
  • Revision ID: a11andoh@student.his.se-20130527112541-gut7vg5nu8mxvgmn
blurp

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() {