Now avatars!!! both on full node view and teaser.
[estigi.git] / core / form / form.boot
blob2d6f18ae92c32f4b9e8df3f128532ae762df7659
1 <?php
2 /**
3  * @file forms.boot
4  * Forms boot file
5  * For the booting process of the module
6  */
8 /**
9  * Implementation of booting function
10  */
11 function forms_isityou(){
13         global $x, $xx, $user;
15         switch ($x){
17                 case 'forms/delete/confirm':
18                         //Add go_to if user already logged in
19                         if($user['uid'] == 0){
20                                 path_redirect('user/login');
21                         }
22                         else{
23                                 return 'Work in progress';
24                         }
25         }