Implemented an extended user profile based on a patch from Jethro Carr (issue 510).
Changes with respect to the original patch: - use Gconf instead of separate table / data scheme - better form validation for URLs and emails - no htmlentity-encoded contents in the database (pluf automatically safe-encodes stuff before it writes out contents into templates) - add visual separators in the form views to have a distinct view of basic (important) data and other data which are only displayed in the public profile - give a hint about the maximum display size of 60x60 px^2 and use max-width and max-height in the templates to avoid nasty distortions by the browser - use target=_blank and rel=nofollow on the twitter and website links in the profile - some whitespace / formatting / code style fixes
This commit is contained in:
@@ -279,6 +279,7 @@ class IDF_Views_Issue
|
||||
$form = new IDF_Form_IssueUpdate(null, $params);
|
||||
}
|
||||
}
|
||||
|
||||
$arrays = self::autoCompleteArrays($prj);
|
||||
return Pluf_Shortcuts_RenderToResponse('idf/issues/view.html',
|
||||
array_merge(
|
||||
@@ -290,7 +291,7 @@ class IDF_Views_Issue
|
||||
'page_title' => $title,
|
||||
'closed' => $closed,
|
||||
'preview' => $preview,
|
||||
'interested' =>$interested->count(),
|
||||
'interested' => $interested->count(),
|
||||
),
|
||||
$arrays),
|
||||
$request);
|
||||
|
Reference in New Issue
Block a user