aboutsummaryrefslogtreecommitdiff
path: root/engine/lib/elgglib.php
AgeCommit message (Collapse)Author
2010-05-28Refs #2115: Added elgg_is_valid_view_type(). Currently calculated at each ↵brettp
load but will want to cache like view paths. Cleaned up autoregister_views() and load_plugins() code. Added spaces between function params in numerous places. C'mon guys...spaces are free. git-svn-id: http://code.elgg.org/elgg/trunk@6274 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-05-25Updated documentation for register_plugin_hook().brettp
git-svn-id: http://code.elgg.org/elgg/trunk@6212 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-05-25Updated documentation and cleaned up code for trigger_plugin_hook().brettp
git-svn-id: http://code.elgg.org/elgg/trunk@6210 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-05-25Walled Garden login page is no longer tied to the default page shell.nickw
git-svn-id: http://code.elgg.org/elgg/trunk@6209 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-05-18Ensuring the Walled Garden hook properly exits before plugins can continue ↵nickw
to extend view. git-svn-id: http://code.elgg.org/elgg/trunk@6087 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-05-14Merged 5928-6908 from 1.7 branch to trunk.brettp
git-svn-id: http://code.elgg.org/elgg/trunk@6059 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-05-14merge -r5898:5928 (not excluding riverdashboard, notifications, and ↵brettp
messageboard) from 1.7 to trunk. git-svn-id: http://code.elgg.org/elgg/trunk@6058 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-05-14merge -r5832:5898 from 1.7 to trunk.brettp
git-svn-id: http://code.elgg.org/elgg/trunk@6055 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-05-13To detect if a submenu item is selected, using output from full_url() ↵brettp
instead of $_SERVER['REQUEST_URI'] because the host isn't set in REQUEST_URI. git-svn-id: http://code.elgg.org/elgg/trunk@6033 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-05-12Creating a hook for plugin authors to register Walled Garden public sites.nickw
git-svn-id: http://code.elgg.org/elgg/trunk@6016 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-05-11Do not display site pages when in Walled Garden mode, excepting ↵nickw
system-defined whitelist. git-svn-id: http://code.elgg.org/elgg/trunk@6004 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-05-11Fix admin area for overview and appearance.brettp
git-svn-id: http://code.elgg.org/elgg/trunk@5997 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-05-10Admin area now uses standard submenu tools.brettp
git-svn-id: http://code.elgg.org/elgg/trunk@5992 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-05-08Not setting $item->selected on a submenu item acts the same as setting it to ↵brettp
NULL for selected state guessing. Removed unused code in submenu system. git-svn-id: http://code.elgg.org/elgg/trunk@5983 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-05-08Added new submenu system.brettp
Added elgg_http_url_is_identical(). Moved canvas_header/submenu* to navigation/submenu*. Added UI test for submenu. git-svn-id: http://code.elgg.org/elgg/trunk@5982 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-04-21cleaning up [5822] - putting elgg_format_url() in the same location in ↵cash
elgglib.php git-svn-id: http://code.elgg.org/elgg/trunk@5824 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-04-20Merge previous to trunk.brettp
git-svn-id: http://code.elgg.org/elgg/trunk@5816 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-04-16Merged [5623]:head from 1.7 to trunk.brettp
git-svn-id: http://code.elgg.org/elgg/trunk@5760 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-04-13Added granular view hook view:$view_name instead of a monolithic ↵brettp
display:view hook. git-svn-id: http://code.elgg.org/elgg/trunk@5724 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-04-07Added optional html_encode parameter to elgg_add_action_tokens_to_url() so ↵brettp
it can be used in ajax calls. git-svn-id: http://code.elgg.org/elgg/trunk@5651 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-04-06Sanitise int on the offset.brettp
git-svn-id: http://code.elgg.org/elgg/trunk@5634 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-04-05Refs #1947: Do not require views to explicitly pass in the offset.nickw
git-svn-id: http://code.elgg.org/elgg/trunk@5624 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-04-05Merged 5530:5604 from 1.7 to trunk.brettp
git-svn-id: http://code.elgg.org/elgg/trunk@5622 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-04-03Fixes #1184 - added elgg_format_url() for handling ampersands in urlscash
git-svn-id: http://code.elgg.org/elgg/trunk@5603 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-03-25Cleaned up the likes interface a bit.brettp
git-svn-id: http://code.elgg.org/elgg/trunk@5508 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-03-24Added ability to make arbitrary links for the menu items.brettp
git-svn-id: http://code.elgg.org/elgg/trunk@5498 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-03-23Added missing merge from Merge Monday.brettp
git-svn-id: http://code.elgg.org/elgg/trunk@5487 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-03-22Merged 1.7 bugfixes back into core. (5376:HEAD).brettp
git-svn-id: http://code.elgg.org/elgg/trunk@5471 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-03-21generic like this functionality addeddave
git-svn-id: http://code.elgg.org/elgg/trunk@5456 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-03-20Moved toolbar dropdown menu to main nav.brettp
Added CSS for main nav dropdown. Emptied navigation/topbar_tools view. git-svn-id: http://code.elgg.org/elgg/trunk@5455 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-03-20Removed ui_page_setup() to fix installation. Gave engine/start.php a bit of ↵brettp
love. git-svn-id: http://code.elgg.org/elgg/trunk@5453 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-03-19Namespaces sticky forms. Requires more testing.brettp
git-svn-id: http://code.elgg.org/elgg/trunk@5446 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-03-17Added config options for tabs and menu items.brettp
git-svn-id: http://code.elgg.org/elgg/trunk@5431 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-03-12Merged Cash's bugfixes from the 1.7 branch (3288:5377).brettp
git-svn-id: http://code.elgg.org/elgg/trunk@5378 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-03-11Implemented sticky forms.brettp
git-svn-id: http://code.elgg.org/elgg/trunk@5368 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-03-11Added breadcrumb support and updated the mods with old-style breadcrumbs.brettp
git-svn-id: http://code.elgg.org/elgg/trunk@5366 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-03-10Added elgg_instanceof().brettp
git-svn-id: http://code.elgg.org/elgg/trunk@5353 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-03-03Pulled in missing interface modifications for the engine dir.brettp
git-svn-id: http://code.elgg.org/elgg/trunk@5259 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-03-01Fixes #1558: Applied Cash's patch. Added unit tests to test for regressions ↵brettp
for any bugs fixed in trac. git-svn-id: http://code.elgg.org/elgg/trunk@3979 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-02-22Fixes #1531: Correctly implemented dates for friendly times. No more coding ↵brettp
while watching the Olympics! git-svn-id: http://code.elgg.org/elgg/trunk@3965 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-02-21Deprecated elgg_validate_action_url() by elgg_add_action_tokens_to_url(). ↵brettp
Updated elgg_deprecated_notice() to include the file & line of the caller. Updated core to use elgg_add_action_tokens_to_url(). git-svn-id: http://code.elgg.org/elgg/trunk@3962 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-02-20Refs #1531: Added full time and dates to friendly time stamptes via acronym ↵brettp
tags. git-svn-id: http://code.elgg.org/elgg/trunk@3957 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-02-17Refs #1523: elgg_get_entities() uses the constants for defaults and ↵brettp
conditionals. Added some tests to check for no subtypes. Updated the documentation. git-svn-id: http://code.elgg.org/elgg/trunk@3946 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-02-16Removing embed extended view from core.brettp
git-svn-id: http://code.elgg.org/elgg/trunk@3939 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-02-12Can't type hint for strings.brettp
git-svn-id: http://code.elgg.org/elgg/trunk@3937 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-02-12Fixes #1510: Added elgg_get_file_list(). get_library_files() wraps to this ↵brettp
function with a deprecation notice for any plugin authors using it to auto-load files. git-svn-id: http://code.elgg.org/elgg/trunk@3935 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-02-12Fixes #1512: Using a helper function for mb_parse_str() instead of wrapping ↵brettp
it exactly. git-svn-id: http://code.elgg.org/elgg/trunk@3934 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-02-11Fixes #1501: Setting ini for mbstring.internal_encoding to utf8 to work ↵brettp
around a PHP bug. Replaced calls to parse_str() with elgg_parse_str(). git-svn-id: http://code.elgg.org/elgg/trunk@3932 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-02-09Fixes #1503, fixes #1474: Library files are loaded using a hard-coded list ↵brettp
to better deal with removed files. Also, ~4% performance increase per page load on my server! git-svn-id: http://code.elgg.org/elgg/trunk@3927 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-02-06fixes #1486 - elgg_dump now works when sending to server error logcash
git-svn-id: http://code.elgg.org/elgg/trunk@3909 36083f99-b078-4883-b0ff-0f9b5a30f544