Changeset 1563

Show
Ignore:
Timestamp:
03/13/08 10:14:33 (7 months ago)
Author:
misja
Message:

Misja Hoebe <misja@curverider.co.uk> Closes #318

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • devel/profile/profile.class.php

    r1531 r1563  
    867867     
    868868        // Initialisation for the search function 
    869         $function['search:init'][] = path . "units/profile/function_init.php"; 
    870         $function['search:init'][] = path . "units/profile/function_editfield_defaults.php"; 
    871         $function['search:all:tagtypes'][] = path . "units/profile/function_search_all_tagtypes.php"; 
    872         $function['search:all:tagtypes:rss'][] = path . "units/profile/function_search_all_tagtypes_rss.php"; 
     869        $function['search:init'][] = path . "mod/profile/lib/function_init.php"; 
     870        $function['search:init'][] = path . "mod/profile/lib/function_editfield_defaults.php"; 
     871        $function['search:all:tagtypes'][] = path . "mod/profile/lib/function_search_all_tagtypes.php"; 
     872        $function['search:all:tagtypes:rss'][] = path . "mod/profile/lib/function_search_all_tagtypes_rss.php"; 
    873873         
    874874        // Function to search through profiles 
    875         $function['search:display_results'][] = path . "units/profile/function_search.php"; 
    876         $function['search:display_results:rss'][] = path . "units/profile/function_search_rss.php"; 
     875        $function['search:display_results'][] = path . "mod/profile/lib/function_search.php"; 
     876        $function['search:display_results:rss'][] = path . "mod/profile/lib/function_search_rss.php"; 
    877877         
    878878        // Functions to view and edit individual profile fields         
    879         $function['profile:editfield:display'][] = path . "units/profile/function_editfield_display.php"; 
    880         $function['profile:field:display'][] = path . "units/profile/function_field_display.php"; 
     879        $function['profile:editfield:display'][] = path . "mod/profile/lib/function_editfield_display.php"; 
     880        $function['profile:field:display'][] = path . "mod/profile/lib/function_field_display.php"; 
    881881     
    882882        // Function to view all profile fields 
    883         $function['profile:view'][] = path . "units/profile/function_view.php"; 
     883        $function['profile:view'][] = path . "mod/profile/lib/function_view.php"; 
    884884         
    885885        // Function to display user's name 
    886         $function['profile:display:name'][] = path . "units/profile/function_display_name.php"; 
    887          
    888         $function['profile:user:info'][] = path . "units/profile/profile_user_info.php"; 
     886        $function['profile:display:name'][] = path . "mod/profile/lib/function_display_name.php"; 
     887         
     888        $function['profile:user:info'][] = path . "mod/profile/lib/profile_user_info.php"; 
    889889     
    890890        // Descriptive text 
    891         $function['content:profile:edit'][] = path . "units/profile/content_edit.php"; 
     891        $function['content:profile:edit'][] = path . "mod/profile/lib/content_edit.php"; 
    892892 
    893893        // Establish permissions 
    894         $function['permissions:check'][] = path . "units/profile/permissions_check.php"; 
     894        $function['permissions:check'][] = path . "mod/profile/lib/permissions_check.php"; 
    895895         
    896896        // FOAF 
    897         $function['foaf:generate:fields'][] = path . "units/profile/generate_foaf_fields.php"; 
    898         $function['vcard:generate:fields:adr'][] = path . "units/profile/generate_vcard_adr_fields.php"; 
     897        $function['foaf:generate:fields'][] = path . "mod/profile/lib/generate_foaf_fields.php"; 
     898        $function['vcard:generate:fields:adr'][] = path . "mod/profile/lib/generate_vcard_adr_fields.php"; 
    899899                 
    900900        // Actions to perform when an access group is deleted 
    901         $function['groups:delete'][] = path . "units/profile/groups_delete.php"; 
     901        $function['groups:delete'][] = path . "mod/profile/lib/groups_delete.php"; 
    902902         
    903903    }