Commit Graph

6581 Commits

Author SHA1 Message Date
Evan Prodromou
b7e2e3fd2b Restructure theme.php to define a class Theme
For various reasons, it's nicer to have a class for theme-file paths
and such. So, I've rewritten the code for determining the locations of
theme files to be more OOPy.

I changed all the uses of the two functions in the module (theme_file
and theme_path) to use Theme::file and Theme::path respectively.

I've also removed the code in common.php that require's the module;
using a class means we can autoload it instead.
2009-11-08 17:04:46 -05:00
Siebrand Mazeland
da444f8a15 Remove unused message 2009-11-08 22:46:30 +01:00
Siebrand Mazeland
43132eb55e Several updates to UI messages 2009-11-08 22:45:18 +01:00
Siebrand Mazeland
c10e390395 Remove unused message 2009-11-08 22:41:11 +01:00
Siebrand Mazeland
99ebb56529 !. => ! 2009-11-08 22:39:02 +01:00
Siebrand Mazeland
1872d07602 More specifics on 'address' 2009-11-08 22:37:09 +01:00
Siebrand Mazeland
6483fbd8fa More precise field label 2009-11-08 22:34:52 +01:00
Siebrand Mazeland
99a3c3abd2 Remove unused message from pot 2009-11-08 22:29:09 +01:00
Evan Prodromou
7ee9737ef6 incorrectly saving wrong values in siteadminpanel 2009-11-08 16:27:19 -05:00
Siebrand Mazeland
81b4a381d9 * check usage of 'people' in UI and change it to 'users' or something else in most places
* change some contractions to full text in UI messages
2009-11-08 22:26:13 +01:00
Sarven Capadisli
9f9ae8c10b entity_action responses look more inactive now 2009-11-08 20:53:11 +00:00
Evan Prodromou
2f770cecf9 add some more fields to site admin panel 2009-11-08 15:48:05 -05:00
Sarven Capadisli
2a8b6c49a1 Minor alignment 2009-11-08 20:47:24 +00:00
Sarven Capadisli
cb1013fa59 Fixed Flagged for review view 2009-11-08 20:31:53 +00:00
Sarven Capadisli
dc6b2d3ac8 Fixed subscribe button styles 2009-11-08 20:31:29 +00:00
Sarven Capadisli
c2e6673b17 Changed icons file to gif because of colour correction. Reduced file
size also
2009-11-08 20:18:39 +00:00
Sarven Capadisli
2542305b2f Removed entity_actions response style (i.e., doesn't look like a button) 2009-11-08 19:13:31 +00:00
Sarven Capadisli
1b902bcc45 Fixed alignment for entity action anchors and responses 2009-11-08 19:05:07 +00:00
Sarven Capadisli
91784c0dfc Fixed alignment for new entity_action buttons 2009-11-08 20:02:14 +01:00
Sarven Capadisli
0d008ddab9 Removed some unnecessary styles 2009-11-08 19:55:40 +01:00
Sarven Capadisli
a5d624f9a0 Using fixed width for entity_actions 2009-11-08 19:43:10 +01:00
Sarven Capadisli
bbfe29b9de Updated nudge styles 2009-11-08 19:40:54 +01:00
Sarven Capadisli
a580689d40 Updated subscribe/unsubscribe button styles 2009-11-08 19:34:52 +01:00
Sarven Capadisli
613078e467 Updated pagination styles and removed notice option input roundness 2009-11-08 19:19:42 +01:00
Sarven Capadisli
3b4fe44d95 Merge branch '0.9.x' of git@gitorious.org:statusnet/mainline into 0.9.x 2009-11-08 18:43:01 +01:00
Sarven Capadisli
0f55135b52 Updated the styles for action icons 2009-11-08 18:41:03 +01:00
Sarven Capadisli
6687346dd0 Updated entity actions, notice options button styles 2009-11-08 16:41:38 +01:00
Brion Vibber
8d44b6a5a2 Fix bug 1962: deleteuser.php regression when OpenID plugin not enabled
The User_openid data object was explicitly listed as a related field to delete from in User::delete(); this class doesn't exist anymore by default since OpenID was broken out to a plugin.
Added UserDeleteRelated event for plugins to add related tables to delete from at user delete time.
2009-11-08 14:40:30 +01:00
Siebrand Mazeland
5c428f8adf Localisation updates from translatewiki.net
* found some duplication in the large "Commands:" messages. Manually removed from the pot file, and then updated. Have to ask someone if I can just rebuild the complete pot from scratch, or if --join-existing is always needed (and if so, why). File appears to contain at least some dirt.
2009-11-08 13:03:48 +01:00
Brion Vibber
52ab4472b5 Fix typo in doc/badge (bug 1958) 2009-11-08 11:38:33 +01:00
Evan Prodromou
d0466da80b add site admin panel 2009-11-07 23:17:52 -05:00
Evan Prodromou
408510f527 pkeyGet() and save() methods for Config 2009-11-07 23:16:59 -05:00
Evan Prodromou
dd9fa0e683 only load user once, reload settings in admin panel 2009-11-07 23:16:34 -05:00
Evan Prodromou
144f817109 add a break to switch in hasRight() 2009-11-07 23:15:59 -05:00
Evan Prodromou
9d026600a9 Merge branch '0.9.x' into adminpanel 2009-11-07 22:35:52 -05:00
Evan Prodromou
321ac38884 script for granting/revoking user roles 2009-11-07 22:35:35 -05:00
Evan Prodromou
46cd7b9636 Merge branch '0.9.x' into adminpanel 2009-11-07 22:26:14 -05:00
Evan Prodromou
1de9496c7f fix constant for deleteothersnotice 2009-11-07 22:26:03 -05:00
Shashi
ca7aaeaccd Updated documentation of UserProfile widget events 2009-11-08 08:22:21 +05:30
Evan Prodromou
ee99a8ef50 superclass for adminpanel actions 2009-11-07 19:18:22 -05:00
Evan Prodromou
38833af6f1 use upper-case constants for roles and rights in hasRight() 2009-11-07 19:16:54 -05:00
Evan Prodromou
eaec5b03f5 add constants for user roles 2009-11-07 19:16:33 -05:00
Evan Prodromou
589185ce87 uppercase right constants 2009-11-07 19:16:15 -05:00
Evan Prodromou
31bbdacbf3 add a method to Action to check session token 2009-11-07 18:51:57 -05:00
Siebrand Mazeland
c67772badc Localisation updates from translatewiki.net (2009-11-07) 2009-11-08 00:12:18 +01:00
Evan Prodromou
5cd385fe4f fixup key definition for User_flag_profile 2009-11-07 13:39:55 -05:00
Evan Prodromou
0668520a8d fixup database interface and correct the flagged notice 2009-11-07 13:39:26 -05:00
Evan Prodromou
509109a71a make sure FlagprofileAction without Profile_flag 2009-11-07 13:22:07 -05:00
Evan Prodromou
285745d2fd make sure UserFlagPlugin works without Profile_flag 2009-11-07 13:21:40 -05:00
Evan Prodromou
7a8723e6b4 Merge branch '0.9.x' into userflag 2009-11-07 13:18:17 -05:00