aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/functions_module.php
Commit message (Collapse)AuthorAgeFilesLines
* [ticket/9556] Drop php closing tags, add trailing newlineIgor Wiedler2010-11-111-2/+0
| | | | | | | | | | | | Closing tags converted using Oleg's script. remove-php-end-tags.py -a . Trailing newlines added using the following where $ext is file extension. find . -type f -name "*.$ext" -print | xargs printf "e %s\nw\n" | ed -s; Extensions: php, css, html, js, xml. PHPBB3-9556
* [feature/request-class] Convert any direct access to $_* to use $requestIgor Wiedler2010-09-251-1/+2
| | | | PHPBB3-9716
* Copy 3.0.x branch to trunkMeik Sievertsen2009-10-041-0/+883
| | | | git-svn-id: file:///svn/phpbb/trunk@10211 89ea8834-ac86-4346-8a33-228a782c2dd0
* Move trunk/phpBB to old_trunk/phpBB Meik Sievertsen2009-10-041-849/+0
| | | | git-svn-id: file:///svn/phpbb/trunk@10210 89ea8834-ac86-4346-8a33-228a782c2dd0
* Adjust some files to support new methods...Meik Sievertsen2009-01-191-17/+2
| | | | git-svn-id: file:///svn/phpbb/trunk@9279 89ea8834-ac86-4346-8a33-228a782c2dd0
* modified some files to get the admin index page working, as well as index ↵Meik Sievertsen2009-01-161-35/+19
| | | | | | | | page in logged in state and not logged in state additionally prepare for a working installation git-svn-id: file:///svn/phpbb/trunk@9272 89ea8834-ac86-4346-8a33-228a782c2dd0
* $config to phpbb::$configMeik Sievertsen2008-12-281-3/+3
| | | | git-svn-id: file:///svn/phpbb/trunk@9242 89ea8834-ac86-4346-8a33-228a782c2dd0
* implement new phpbb::$acm object, replacing $cache globalMeik Sievertsen2008-12-281-3/+3
| | | | git-svn-id: file:///svn/phpbb/trunk@9240 89ea8834-ac86-4346-8a33-228a782c2dd0
* add nils' request and super globals classMeik Sievertsen2008-12-251-1/+1
| | | | | | rename request:: to phpbb_request:: git-svn-id: file:///svn/phpbb/trunk@9230 89ea8834-ac86-4346-8a33-228a782c2dd0
* - updated all code to use the request class instead of any direct access toNils Adermann2008-11-241-1/+1
| | | | | | | | | super globals - disabled super globals in common.php. See commit r9101 for more information - cleaned up/simplified a few lines along the way. git-svn-id: file:///svn/phpbb/trunk@9102 89ea8834-ac86-4346-8a33-228a782c2dd0
* [Change] Alllow applications to set custom module inclusion path (idea by HoL)Meik Sievertsen2008-11-231-1/+35
| | | | git-svn-id: file:///svn/phpbb/trunk@9096 89ea8834-ac86-4346-8a33-228a782c2dd0
* Merge of the language-specific custom path change Revision #r8782Meik Sievertsen2008-08-241-2/+2
| | | | git-svn-id: file:///svn/phpbb/trunk@8786 89ea8834-ac86-4346-8a33-228a782c2dd0
* ok... i hope i haven't messed too much with the code and everything is still ↵Meik Sievertsen2008-05-291-13/+12
| | | | | | | | | | working. Changes: - Ascraeus now uses constants for the phpbb root path and the php extension. This ensures more security for external applications and modifications (no more overwriting of root path and extension possible through insecure mods and register globals enabled) as well as no more globalizing needed. - A second change implemented here is an additional short-hand-notation for append_sid(). It is allowed to omit the root path and extension now (for example calling append_sid('memberlist')) - in this case the root path and extension get added automatically. The hook is called after these are added. git-svn-id: file:///svn/phpbb/trunk@8572 89ea8834-ac86-4346-8a33-228a782c2dd0
* merge with revision #r8350Meik Sievertsen2008-01-301-3/+3
| | | | git-svn-id: file:///svn/phpbb/trunk@8351 89ea8834-ac86-4346-8a33-228a782c2dd0
* Merging revisions #r8346, #r8347 and #r8348Meik Sievertsen2008-01-291-7/+7
| | | | git-svn-id: file:///svn/phpbb/trunk@8349 89ea8834-ac86-4346-8a33-228a782c2dd0
* dumdidum... sorry. ;)Meik Sievertsen2007-10-051-3/+11
| | | | git-svn-id: file:///svn/phpbb/trunk@8146 89ea8834-ac86-4346-8a33-228a782c2dd0
* this addition was only a test...Meik Sievertsen2007-08-131-1/+0
| | | | git-svn-id: file:///svn/phpbb/trunk@8026 89ea8834-ac86-4346-8a33-228a782c2dd0
* Some changes... non-invasive...Meik Sievertsen2007-08-131-0/+1
| | | | git-svn-id: file:///svn/phpbb/trunk@8025 89ea8834-ac86-4346-8a33-228a782c2dd0
* + some fixesMeik Sievertsen2007-07-241-23/+33
| | | | git-svn-id: file:///svn/phpbb/trunk@7938 89ea8834-ac86-4346-8a33-228a782c2dd0
* it has been decided amongst the team that using glob() is bad practice, ↵Meik Sievertsen2007-07-171-18/+7
| | | | | | after determining the overall usage among projects as well as the security history of the function. git-svn-id: file:///svn/phpbb/trunk@7900 89ea8834-ac86-4346-8a33-228a782c2dd0
* more failsafe "glob()" method.Meik Sievertsen2007-07-101-2/+18
| | | | git-svn-id: file:///svn/phpbb/trunk@7863 89ea8834-ac86-4346-8a33-228a782c2dd0
* - do not include if there are no files fetched with glob()Meik Sievertsen2007-07-091-2/+6
| | | | | | | - allow options for merged files on update (merge, new file, old file) git-svn-id: file:///svn/phpbb/trunk@7848 89ea8834-ac86-4346-8a33-228a782c2dd0
* allow mod authors to plug in info_ language files for population within the ↵Meik Sievertsen2007-07-011-0/+16
| | | | | | menu. git-svn-id: file:///svn/phpbb/trunk@7819 89ea8834-ac86-4346-8a33-228a782c2dd0
* "Ghost" topics in active topics list when shadow topics and corresponding ↵Meik Sievertsen2007-04-301-2/+2
| | | | | | | | | | | | | topic in same resultset [#10313] Find a member supporting hidden groups for those able to see them [#10305] Display hidden groups for all those able to see them across the board (composing messages, viewonline) Fix space for sending PM's to groups Let the permissions_phpbb file be included the same way as all other permission files [#10301] Add request_a-z+ handling within modules_auth suggested by Pyramide. This will allow modders to directly show/hide their module in addition to !empty() $_REQUEST variables. [#10297] git-svn-id: file:///svn/phpbb/trunk@7433 89ea8834-ac86-4346-8a33-228a782c2dd0
* #10005, #10003, #10001, #9999, #9945, #9965, #9909, #9906, #9877, #9861, ↵Meik Sievertsen2007-04-221-0/+27
| | | | | | | | | | | | | | | | | | #9831, #9830, #9815, #9665, #9624 prosilver adjustments for important announcements in ucp - #9995 MCP fixes for user notes/warnings - #9981 Preserving imageset values on save/edit find a member link for Mass PM's - #9925 syndicate window.onload events where necessary - #9878 Duplicate topics in forums with announcements - #9840 Email template for forced re-activation - #9808 Topic pagination adjustment - #9763 Changed compose message layout in UCP - #9706, #9702 Fixed inline attachment font size (hopefully) git-svn-id: file:///svn/phpbb/trunk@7384 89ea8834-ac86-4346-8a33-228a782c2dd0
* some tiny bugfixes and changed is_active() a bit...Meik Sievertsen2007-03-261-25/+7
| | | | git-svn-id: file:///svn/phpbb/trunk@7232 89ea8834-ac86-4346-8a33-228a782c2dd0
* #5280David M2007-03-241-0/+38
| | | | git-svn-id: file:///svn/phpbb/trunk@7229 89ea8834-ac86-4346-8a33-228a782c2dd0
* - added confirm box to ucp zebra (adding fried/foe)Meik Sievertsen2007-01-241-1/+1
| | | | | | | | | - permission fixes for conversions - use more appropiate error message within convertor if source tables could not be found - other tiny fixes git-svn-id: file:///svn/phpbb/trunk@6925 89ea8834-ac86-4346-8a33-228a782c2dd0
* fixing mcp bugs by introducing a new feature to check for loaded/accessible ↵Meik Sievertsen2007-01-221-0/+58
| | | | | | modules/modes. If the MCP module "logs" get disabled the quick mod tools on viewtopic still show a link to the logs, this will then lead to an error message. This is not fixable. The logs should be accessible to all moderators by default. git-svn-id: file:///svn/phpbb/trunk@6920 89ea8834-ac86-4346-8a33-228a782c2dd0
* some fixes todayMeik Sievertsen2006-12-241-3/+8
| | | | | | | - most important change is the consolidation of the display attachment functions; merging them together to have one function we need to call. git-svn-id: file:///svn/phpbb/trunk@6803 89ea8834-ac86-4346-8a33-228a782c2dd0
* - some fixesMeik Sievertsen2006-12-211-3/+5
| | | | | | | - important bugfix for the mcp and determining allowed ids in general (if global announcements are included) git-svn-id: file:///svn/phpbb/trunk@6787 89ea8834-ac86-4346-8a33-228a782c2dd0
* hmm, this was for debugging. :)Meik Sievertsen2006-11-211-3/+1
| | | | git-svn-id: file:///svn/phpbb/trunk@6630 89ea8834-ac86-4346-8a33-228a782c2dd0
* - fixing a bunch of bugsMeik Sievertsen2006-11-211-3/+7
| | | | | | | | - moved the install trigger error to sessions and also disabled it for those having DEBUG_EXTRA enabled. i hope not having introduced too many new bugs. git-svn-id: file:///svn/phpbb/trunk@6628 89ea8834-ac86-4346-8a33-228a782c2dd0
* fix for bug #5490Meik Sievertsen2006-11-201-0/+5
| | | | | | | - make sure bots are catched by the posting auth too. git-svn-id: file:///svn/phpbb/trunk@6619 89ea8834-ac86-4346-8a33-228a782c2dd0
* some tiny fixes.Meik Sievertsen2006-11-191-2/+31
| | | | git-svn-id: file:///svn/phpbb/trunk@6614 89ea8834-ac86-4346-8a33-228a782c2dd0
* Revised attachment categories a bitMeik Sievertsen2006-10-191-2/+2
| | | | | | | | | | | | | | | | | | | | | | Fixes for the following bugs: #4830 #4818 #4816 #4810 #4808 #4798 #4796 #4772 #4662 #4646 #4546 #4524 #4270 I hope not having introduced additional severe errors :) git-svn-id: file:///svn/phpbb/trunk@6511 89ea8834-ac86-4346-8a33-228a782c2dd0
* fix some bugs - hopefully not breaking anything...Meik Sievertsen2006-09-011-2/+2
| | | | git-svn-id: file:///svn/phpbb/trunk@6342 89ea8834-ac86-4346-8a33-228a782c2dd0
* - renamed the following columns:Meik Sievertsen2006-07-131-10/+10
| | | | | | | | | | | | | | | comment -> attach_comment new, forwarded, unread, marked, deleted -> pm_new, pm_forwarded, pm_unread, pm_marked, pm_deleted module_name -> module_basename value -> lang_value - every column is now NOT NULL - every column is now having a DEFAULT value - hopefully mostly consistent across every db schema - untested schemas: sqlite, oracle, firebird git-svn-id: file:///svn/phpbb/trunk@6177 89ea8834-ac86-4346-8a33-228a782c2dd0
* - add additional auth check to the permission roles modulesMeik Sievertsen2006-07-011-36/+46
| | | | | | | | | | | | - added new function to return globally used expressions (get_preg_expression($mode)). This should be very helpful in getting wide spread similar checks (regular expressions) to one place reducing the risk of forgetting to change every location if you fix one. ;) We will add additional ones later, at the moment only the email check is retrieved... - added "active module" var to the module class returning the current active module - changed call to image magick - add administrator to global moderators group by default - extend auth_option column a little bit - other bugfixes git-svn-id: file:///svn/phpbb/trunk@6135 89ea8834-ac86-4346-8a33-228a782c2dd0
* - get swatch converted into new acp formatMeik Sievertsen2006-06-121-2/+2
| | | | | | | | | - add page title to ucp pages - add ability to supress getting the who is online list in page_header() (saves us ideally 1-2 queries on ucp/mcp pages) - fixing pm rules a bit as well as now having complete author memberships for author_in_group (sender -> is in usergroup -> xxx) git-svn-id: file:///svn/phpbb/trunk@6054 89ea8834-ac86-4346-8a33-228a782c2dd0
* ok, this one is rather large... the most important change:Meik Sievertsen2006-06-061-21/+9
| | | | | | | | | re-introduce append_sid: old style continues to work, not a performance hog as it was in 2.0.x -> structure is different apart from this, code cleanage, bug fixing, etc. git-svn-id: file:///svn/phpbb/trunk@6015 89ea8834-ac86-4346-8a33-228a782c2dd0
* ok, try this one. :) Hopefully not breaking anything.Meik Sievertsen2006-06-061-1/+42
| | | | git-svn-id: file:///svn/phpbb/trunk@6013 89ea8834-ac86-4346-8a33-228a782c2dd0
* ah, damn, revert this change. If we check here, hidden modules are no longer ↵Meik Sievertsen2006-06-061-2/+2
| | | | | | able to be called. git-svn-id: file:///svn/phpbb/trunk@6012 89ea8834-ac86-4346-8a33-228a782c2dd0
* correctly hide categories with only hidden modulesMeik Sievertsen2006-06-061-2/+2
| | | | git-svn-id: file:///svn/phpbb/trunk@6011 89ea8834-ac86-4346-8a33-228a782c2dd0
* i see the reports arise...Meik Sievertsen2006-06-021-1/+1
| | | | git-svn-id: file:///svn/phpbb/trunk@5997 89ea8834-ac86-4346-8a33-228a782c2dd0
* - create forums by defaultMeik Sievertsen2006-06-011-8/+29
| | | | | | | | | | - hide prune options if not enabled - fixed module management enable/disable switch if in module itself - fixed some schema errors - adjusted $user->page array generation for developers calling scripts outside of phpBB root git-svn-id: file:///svn/phpbb/trunk@5995 89ea8834-ac86-4346-8a33-228a782c2dd0
* fixing bug #1860Meik Sievertsen2006-05-171-1/+1
| | | | git-svn-id: file:///svn/phpbb/trunk@5920 89ea8834-ac86-4346-8a33-228a782c2dd0
* - changed _module_*_url to only use the main module name but the mode as ↵Meik Sievertsen2006-04-081-4/+18
| | | | | | | | | | | | parameter - custom module lang function now suffixed by _lang - added general custom function with mode and module_row parameter - do not display friends/foes if zebra has been disabled git-svn-id: file:///svn/phpbb/trunk@5767 89ea8834-ac86-4346-8a33-228a782c2dd0
* - adding ability to assign moderator specific ban optionsMeik Sievertsen2006-03-151-3/+10
| | | | | | | | | - fixing destroying of sql caches - fixing referencing of sql cached queries if more than one are active on one page - other fixes git-svn-id: file:///svn/phpbb/trunk@5633 89ea8834-ac86-4346-8a33-228a782c2dd0
* - fix cookie shorteningMeik Sievertsen2006-03-091-28/+7
| | | | | | | | - let the acm handle the module cache - call $cache->save() after destroying data if necessary git-svn-id: file:///svn/phpbb/trunk@5612 89ea8834-ac86-4346-8a33-228a782c2dd0