Adrian Lang
c0db74dcfb
Another undefined object member.
2009-03-11 10:39:06 +01:00
Adrian Lang
00c14d22de
Remove comparison with member variable of null variable, cleaned code a bit.
2009-03-11 10:38:58 +01:00
Adrian Lang
fbe794e44d
Improve handling of null values in profile parameters.
...
This commit fixes two issues:
- Allowing remote users to clear profile parameters via OMB.
- Improved handling of profile parameters which evaluate to
false ('0' for example)
2009-03-09 08:06:31 +01:00
Leslie Michael Orchard
17a6e66030
PROFILES_PER_PAGE already defined in lib/common.php
2009-02-20 16:37:39 -05:00
Sarven Capadisli
fc293545be
Minor. Changed from @class location to label
2009-02-11 16:50:07 +00:00
Evan Prodromou
343cd6f205
Move common_avatar_* functions to Avatar
...
Moved the common_avatar_* functions to the Avatar class. Typically
either as methods on the object or as static methods. Replaced all the
uses of the functions in other modules.
2009-02-06 03:55:48 -05:00
Evan Prodromou
69e7811d01
Add some more useless HTML
2009-01-26 17:30:32 +01:00
Evan Prodromou
91e63866fb
move block form
2009-01-26 17:14:08 +01:00
Evan Prodromou
d6879bfe0c
Debug some of the subscriptions+tags problems
2009-01-22 22:38:10 +00:00
Evan Prodromou
b8887ef4f6
reformat profilelist code
2009-01-22 17:06:06 +01:00
sarven
a57f12b06c
selector name cleanup
2009-01-22 00:04:13 +00:00
sarven
d72706ce9d
Changed to @class entity_profile from @id user_profile.
2009-01-21 23:33:52 +00:00
sarven
f51984175a
Matching markup for tags
2009-01-21 01:22:08 +00:00
sarven
96e40e0649
profilelist markup and styles
2009-01-21 01:10:11 +00:00
sarven
1ab0de3ddd
If user has fn, then it will not link to their own profile with @class
...
'fn'. Only put @class 'fn' on the anchor if there is no fn.
2009-01-20 23:50:52 +00:00
sarven
77790ab768
Featuerd profile list markup
...
Minor class change to (un)subscribeform.php
2009-01-19 21:56:55 +00:00
Evan Prodromou
ccf5f58608
Extra whitespace in profilelist
2009-01-19 18:09:34 +00:00
Evan Prodromou
b39474935a
Update profile list for new framework
2009-01-19 17:48:53 +00:00
Evan Prodromou
b264c03d32
move opening brace of class declaration to next line
...
Another gigantor PEAR coding standards patch. Here, I've moved the
opening curly bracket on a class statement to the following line.
darcs-hash:20081223194923-84dde-77a93de314caadbcb5b70bf346a4648be77a864e.gz
2008-12-23 14:49:23 -05:00
Evan Prodromou
04ef1ba8ee
change function headers to K&R style
...
Another huge change, for PEAR code standards compliance. Function
headers have to be in K&R style (opening brace on its own line),
instead of having the opening brace on the same line as the function
and parameters. So, a little perl magic found all the function
definitions and move the opening brace to the next line (properly
indented... usually).
darcs-hash:20081223193323-84dde-a28e36ecc66672c783c2842d12fc11043c13ab28.gz
2008-12-23 14:33:23 -05:00
Evan Prodromou
eb2f9c98ac
replace NULL with null
...
Another global search-and-replace update. Here, I've replaced the PHP
keyword 'NULL' with its lowercase version. This is another PEAR code
standards change.
darcs-hash:20081223192129-84dde-4a0182e0ec16a01ad88745ad3e08f7cb501aee0b.gz
2008-12-23 14:21:29 -05:00
Evan Prodromou
edbc0c665c
replace all tabs with four spaces
...
The PEAR coding standards decree: no tabs, but indent by four spaces.
I've done a global search-and-replace on all tabs, replacing them by
four spaces. This is a huge change, but it will go a long way to
getting us towards phpcs-compliance. And that means better code
readability, and that means more participation.
darcs-hash:20081223191907-84dde-21e8efe210e6d5d54e935a22d0cee5c7bbfc007d.gz
2008-12-23 14:19:07 -05:00
Evan Prodromou
d8c933cd54
pass profile correctly to show_owner_controls
...
darcs-hash:20081208201351-5ed1f-e74df1c59589816c24a0ccd867cbae714cd7daec.gz
2008-12-08 15:13:51 -05:00
Evan Prodromou
9b4df5056f
add block form to subscribers list and profile page
...
I added a small form for blocking users to profiles in the profile
list, and also to the profile page.
I also added an action to handle the results of blocking someone.
This required some changes to the profile list class (so I could
add the block form), so I made them. And the gallery class lets its
subclasses return a subclass of ProfileList for their profile list.
darcs-hash:20081208055511-5ed1f-e2e09986bd3b9cbb6a00a0c6b94f49ea78b7bdab.gz
2008-12-08 00:55:11 -05:00
Evan Prodromou
71b682453d
remove unused code from profile list
...
darcs-hash:20081208033132-5ed1f-ee93e5b26353c097ee1bdb8d3e4cedad5763548e.gz
2008-12-07 22:31:32 -05:00
csarven
079b88a688
include action in tags
...
darcs-hash:20081124025308-eefa4-b4523d386c1dd36d4856949abba1dc8bd8099da0.gz
2008-11-23 21:53:08 -05:00
Evan Prodromou
64d2709bcd
better tag handling for profile lists
...
darcs-hash:20081124024434-84dde-e68f54652c2d0dfb802b1abcafba53556c1f057a.gz
2008-11-23 21:44:34 -05:00
csarven
aeaf70a472
Fixing bio alignment
...
darcs-hash:20081121161645-eefa4-6e4af82adb69e89ada3fdd5eee8f02bc3aefeed1.gz
2008-11-21 11:16:45 -05:00
csarven
3c8632bada
Removing empty element no longer in use
...
darcs-hash:20081121160208-eefa4-33005f2d8c3e5e668c928f7c8425ac2731ed153b.gz
2008-11-21 11:02:08 -05:00
csarven
ef3cb75271
rel-bookmark not required because hAtom is not present
...
darcs-hash:20081121153517-eefa4-66e38c8b447da35b616db156d73cdbb24871823d.gz
2008-11-21 10:35:17 -05:00
csarven
2918a217ee
Linking directly from Your tags instead of Tag user
...
darcs-hash:20081121031811-eefa4-80ec886c93a3357baffe332a5bf19214e8b64e93.gz
2008-11-20 22:18:11 -05:00
csarven
ca8f45fc6e
Tag markup and styling for tag_self, tag_user, form#tag_user
...
darcs-hash:20081121023827-eefa4-ed91f63cac35c078dc385546a69209cbef2a0d5e.gz
2008-11-20 21:38:27 -05:00
Evan Prodromou
e69f16d4b6
show tags that the owner added, not that the current user added
...
darcs-hash:20081121005631-84dde-2dbb716ef054bba7dfbdda3d0374c30718affd29.gz
2008-11-20 19:56:31 -05:00
Evan Prodromou
491172638e
only show tags if there's a logged-in user
...
darcs-hash:20081121004336-84dde-8fc36b38b9f35d9058118efebd509098f6ce8230.gz
2008-11-20 19:43:36 -05:00
Evan Prodromou
909b0d9311
fix some stuff with tagother link
...
darcs-hash:20081121003338-84dde-45745ca353eb5a68627335115d2993fd15a38498.gz
2008-11-20 19:33:38 -05:00
Evan Prodromou
d17d279872
fix link to tagother
...
darcs-hash:20081121003108-84dde-d305637fa58f6e7edb8bb79dfb7c721a16f8aeed.gz
2008-11-20 19:31:08 -05:00
Evan Prodromou
a6d63eb499
fix $profile in profilelist
...
darcs-hash:20081121002402-84dde-867316d44fdc6ab363045540174b69297ea2f183.gz
2008-11-20 19:24:02 -05:00
Evan Prodromou
6dac9870bb
tag other users
...
darcs-hash:20081121002038-84dde-2d9800f8c0ad3d22d13ca7b497f2914c9d9719fd.gz
2008-11-20 19:20:38 -05:00
Evan Prodromou
2977443534
show self-tags in profile list
...
darcs-hash:20081120225917-84dde-f9813a891a6547264817ed289b9899382abd8c60.gz
2008-11-20 17:59:17 -05:00
Evan Prodromou
dc5d227f77
don't show sub/unsub on your own record!
...
darcs-hash:20081120204725-84dde-1b126328b7c5a62b59146824139dfff4914879cb.gz
2008-11-20 15:47:25 -05:00
Evan Prodromou
8bec9e06f8
fixup this pointer
...
darcs-hash:20081120204347-84dde-5efd1a69aaecfa8c5cbde17b60017922a6888839.gz
2008-11-20 15:43:47 -05:00
Evan Prodromou
297f13aed3
float subscribe button right in profile list
...
darcs-hash:20081120204022-84dde-c238f7b51e43e81ce267ec65112f006f928676bf.gz
2008-11-20 15:40:22 -05:00
Evan Prodromou
168693b103
common_(un)subscribe_form
...
darcs-hash:20081120203528-84dde-2b8d14a491ea4d44bebfdd4e4a3041dde3b375c1.gz
2008-11-20 15:35:28 -05:00
Evan Prodromou
c10a2e3fe2
stop trying to get count from query
...
darcs-hash:20081120123146-84dde-299808e2ed7a793a8240ab1c54e71b27f51307c4.gz
2008-11-20 07:31:46 -05:00
Evan Prodromou
bec59ef504
increase PROFILES_PER_PAGE from 10 to 20
...
darcs-hash:20081120114156-84dde-90c360afbf3812d27262ac5c3e921bbc8e550627.gz
2008-11-20 06:41:56 -05:00
Evan Prodromou
383e740920
better looping in profile list
...
darcs-hash:20081120105726-84dde-bc863f49370dca492d46a5f46c65f46d01862acb.gz
2008-11-20 05:57:26 -05:00
Evan Prodromou
d1361c6e27
abstract people lists from search results
...
darcs-hash:20081120105027-84dde-e1c0faace07d9f2439d3a51a42cfe83464da5319.gz
2008-11-20 05:50:27 -05:00