/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: a11emmjo
  • Date: 2013-05-24 14:24:18 UTC
  • mto: This revision was merged to the branch mainline in revision 103.
  • Revision ID: a11emmjo@student.his.se-20130524142418-vyvd1ccmfira2cr9
Fixed some redirect-links.

Bug #1183407 Part of this: Fixed click-function for the usermenubutton/loginbutton.

Show diffs side-by-side

added added

removed removed

Lines of Context:
19
19
                }
20
20
                
21
21
                /*
 
22
                 *      This function return TRUE if the user is logged in and FALSE otherwise.
 
23
                 */
 
24
                public function isLoggedIn() {
 
25
                        if ($this->user->isLoggedIn()) {
 
26
                                echo 'yes';
 
27
                        }
 
28
                        else {
 
29
                                echo 'no';
 
30
                        }
 
31
                }
 
32
                
 
33
                /*
22
34
                 *      This function outputs data: user password hint.
23
35
                 */
24
36
                public function pwdhint() {