• R/O
  • SSH
  • HTTPS

researchclip: Commit


Commit MetaInfo

Revision39 (tree)
Time2009-04-05 08:04:56
Authorwalgbart

Log Message

modules/profiles/profiles_init.php:
modules/profiles/templates/profile_extend.tpl:
実装が不十分でuser.php,profile.phpの表示が崩れる不具合を修正

Change Summary

Incremental Difference

--- pligg/trunk/pligg/modules/profiles/profiles_init.php (revision 38)
+++ pligg/trunk/pligg/modules/profiles/profiles_init.php (revision 39)
@@ -5,17 +5,19 @@
55 // tell pligg what pages this modules should be included in
66 // pages are <script name> minus .php
77 // index.php becomes 'index' and upcoming.php becomes 'upcoming'
8- $include_in_pages = array('user', 'profile');
8+ $include_in_pages = array('user');
99 $do_not_include_in_pages = array();
1010
1111 if( do_we_load_module() ) {
12- // execute the function that retreives extra profile data
13- module_add_action('index_top', 'profiles_retrieve', '');
14-
1512 module_add_action_tpl('tpl_pligg_profile_info_middle', profiles_tpl_path . 'profile_extend.tpl');
16- include_once(mnmmodules . 'profiles/profiles_main.php');
13+ //include_once(mnmmodules . 'profiles/profiles_main.php');
14+ }
1715
18- include_once(mnmmodules . 'profiles/profiles_main.php');
16+ $include_in_pages = array('profile');
17+ if( do_we_load_module() ) {
18+ // execute the function that retreives extra profile data
19+ //module_add_action('index_top', 'profiles_retrieve', '');
20+ //include_once(mnmmodules . 'profiles/profiles_main.php');
1921 }
2022 }
2123 ?>
\ No newline at end of file
Show on old repository browser