projects
/
platal.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'xorg/maint' into xorg/master
[platal.git]
/
modules
/
profile.php
diff --git
a/modules/profile.php
b/modules/profile.php
index
6714c4e
..
1832e35
100644
(file)
--- a/
modules/profile.php
+++ b/
modules/profile.php
@@
-358,7
+358,7
@@
class ProfileModule extends PLModule
function handler_education_js($page)
{
function handler_education_js($page)
{
- pl_cached_
content_headers("text/javascript", "utf-8"
);
+ pl_cached_
dynamic_content_headers('text/javascript', 'utf-8'
);
$page->changeTpl('profile/education.js.tpl', NO_SKIN);
require_once 'education.func.inc.php';
}
$page->changeTpl('profile/education.js.tpl', NO_SKIN);
require_once 'education.func.inc.php';
}
@@
-516,6
+516,11
@@
class ProfileModule extends PLModule
return PL_NOT_FOUND;
}
return PL_NOT_FOUND;
}
+ // Referent view are logged.
+ if (S::logged()) {
+ S::logger()->log('view_referent', $pf->hrid());
+ }
+
$page->assign_by_ref('profile', $pf);
// Retrieves referents' countries.
$page->assign_by_ref('profile', $pf);
// Retrieves referents' countries.