1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-09-08 07:10:51 +02:00

Compare commits

...

3050 Commits

Author SHA1 Message Date
(no author)
108312d52a This commit was manufactured by cvs2svn to create tag
'release_3_0_B2'.

git-svn-id: file:///svn/phpbb/tags/release_3_0_B2@6288 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-08-12 20:24:25 +00:00
Graham Eames
dced943db5 Revert a deletion made earlier today
git-svn-id: file:///svn/phpbb/trunk@6287 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-08-12 20:24:25 +00:00
Meik Sievertsen
5b164b086b make sure we do not have empty select fields
git-svn-id: file:///svn/phpbb/trunk@6286 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-08-12 19:36:36 +00:00
Graham Eames
5c0b8186a0 Hide forums you can't move posts to from within the mcp
git-svn-id: file:///svn/phpbb/trunk@6285 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-08-12 19:06:09 +00:00
Nils Adermann
3675b8fcd6 - set default_style when the old default style is being deleted
- Do not search for moved topics in the premade searches (new/active/unanswered) and if one occurs for whatever reason, at least display it properly [Bug #3756]


git-svn-id: file:///svn/phpbb/trunk@6284 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-08-12 18:46:47 +00:00
David M
31cf21e3c2 radius += 2
git-svn-id: file:///svn/phpbb/trunk@6283 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-08-12 18:46:06 +00:00
David M
38397c58fa *** empty log message ***
git-svn-id: file:///svn/phpbb/trunk@6282 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-08-12 18:26:54 +00:00
David M
edb40a59aa *** empty log message ***
git-svn-id: file:///svn/phpbb/trunk@6281 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-08-12 17:56:33 +00:00
David M
e85b5d9f6e forgot this :P
git-svn-id: file:///svn/phpbb/trunk@6280 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-08-12 17:08:26 +00:00
Meik Sievertsen
2ab9ebad06 firebird :P
git-svn-id: file:///svn/phpbb/trunk@6279 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-08-12 17:06:38 +00:00
David M
974347b35a Firebird :P
git-svn-id: file:///svn/phpbb/trunk@6278 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-08-12 16:50:13 +00:00
Graham Eames
22dd6ccc5d Missing lang strings
git-svn-id: file:///svn/phpbb/trunk@6277 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-08-12 15:56:17 +00:00
Graham Eames
560c570823 Allow ACP access if install/ is present and display the generic board disabled message otherwise so that a user does not know the reason for it being disabled
git-svn-id: file:///svn/phpbb/trunk@6276 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-08-12 15:37:28 +00:00
Meik Sievertsen
f5cabf864c bugfixes
git-svn-id: file:///svn/phpbb/trunk@6275 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-08-12 15:10:43 +00:00
Nils Adermann
ef71892edd - casting to int so this won't throw any unwanted errors
git-svn-id: file:///svn/phpbb/trunk@6274 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-08-12 15:02:04 +00:00
Nils Adermann
b3b09186fe m_approve_fid should be negated
git-svn-id: file:///svn/phpbb/trunk@6273 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-08-12 14:58:02 +00:00
Nils Adermann
e9a14eebf6 - removed some more useless language strings [Bug #3648]
- removed hard to translate words "by" and "on"


git-svn-id: file:///svn/phpbb/trunk@6272 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-08-12 13:55:01 +00:00
Meik Sievertsen
8405f0d324 sql_in_set changes
git-svn-id: file:///svn/phpbb/trunk@6271 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-08-12 13:14:39 +00:00
Meik Sievertsen
0c6bfcf4c7 update schema for oracle
git-svn-id: file:///svn/phpbb/trunk@6270 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-08-12 12:54:16 +00:00
Graham Eames
5431815b0a Language variable for consistancy with the other mcp modules
git-svn-id: file:///svn/phpbb/trunk@6269 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-08-12 11:04:33 +00:00
Graham Eames
a4c580e8f8 Check the prefix length to ensure that the key names are within the maximum for that DBMS
git-svn-id: file:///svn/phpbb/trunk@6268 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-08-12 07:00:26 +00:00
David M
ca2a672d20 - New color generation system, please report any images that have issues.
git-svn-id: file:///svn/phpbb/trunk@6267 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-08-12 02:09:41 +00:00
Nils Adermann
b1ef984526 - auto sync attachment topic flag [Bug #2949]
- corrected paths for templates stored in the db and filenames displayed in the template editor [Bug #3662]
- removed some useless language strings [Bug #3648]
- corrected escaping of usernames and passwords in auth modules [Bug #3696], added ldap_escape


git-svn-id: file:///svn/phpbb/trunk@6266 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-08-12 01:58:58 +00:00
David M
b5a6291fa5 - oops
git-svn-id: file:///svn/phpbb/trunk@6265 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-08-12 01:38:00 +00:00
David M
a8c49875f7 heh
git-svn-id: file:///svn/phpbb/trunk@6264 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-08-11 22:06:54 +00:00
David M
86f3d738a0 so.... what does this thing do?
well, the super fast, ultra efficient, massively huge BBCode handling system was implemented differently on each DBMS. Although this provided the best performance, the solution was a bit hacky.

So what does this new thing do? We use base64 encoding to make everything nice and shiny, it turns into nice, safe characters that we can just jam into varchars on essentially any database. This has two implications: we must decode every bitfield we get AND we have slightly fewer IDs to work with. It goes down from 2040 BBCodes to 1512. We lose like a quarter of them :P

P.S. I hope nothing broke :P


git-svn-id: file:///svn/phpbb/trunk@6263 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-08-11 21:52:46 +00:00
Nils Adermann
9086adad3c Oops, I forgot the negate bit in sql_in_set()
git-svn-id: file:///svn/phpbb/trunk@6262 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-08-11 18:21:59 +00:00
Nils Adermann
d8af8223cd Adding the sql_in_set function which should give us a bit of a performance improvement for queries using IN with just one value
git-svn-id: file:///svn/phpbb/trunk@6261 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-08-11 17:43:03 +00:00
Meik Sievertsen
7508b00978 submit some attachment changes/fixes as well as fixing the language pack download for zip files.
git-svn-id: file:///svn/phpbb/trunk@6260 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-08-11 13:21:51 +00:00
Meik Sievertsen
b70a0369af fixing bug #3702
git-svn-id: file:///svn/phpbb/trunk@6259 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-08-11 10:24:37 +00:00
Meik Sievertsen
09dc825079 - include missing files in language pack download
- add mods directory, else we most likely forget that language files within the mods directory are automatically editable (to support seperating mod language files).


git-svn-id: file:///svn/phpbb/trunk@6258 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-08-11 10:09:54 +00:00
Nils Adermann
83e6dcb1ce - removed a useless line [Bug #3656]
- do not reuse session ids [Bug #3626]
- Bug #3684
- added refresh imageset option


git-svn-id: file:///svn/phpbb/trunk@6257 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-08-10 13:33:06 +00:00
Meik Sievertsen
53085a4c78 - load tracking updates. Need to be tested on a clean installation too - at the moment only tiny quirks are noticed at area51.
- reported bugs fixed


git-svn-id: file:///svn/phpbb/trunk@6256 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-08-09 21:03:46 +00:00
David M
b470f34807 Nobody found this bug so i guess nobody has such an old DB :P
MySQL < 4.1.2 has a broken varbinary. TINYBLOB is (2**8)-1 characters = 255. This means we can let older DBs use our stuff without any fear.


git-svn-id: file:///svn/phpbb/trunk@6255 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-08-09 15:53:10 +00:00
Nils Adermann
c69a6f7acd - fixed some problems with themes
- added support for {IMG_NAME_SRC}, {IMG_NAME_WIDTH} and {IMG_NAME_HEIGHT}
- fulltext_native has to use group by in a few more quries


git-svn-id: file:///svn/phpbb/trunk@6254 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-08-08 19:02:44 +00:00
Graham Eames
2ed25800c5 Add a missing image, thanks dhn :)
git-svn-id: file:///svn/phpbb/trunk@6253 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-08-07 19:44:17 +00:00
David M
285ffad3c1 This is kinda nice.. Before MySQL 5.0.3, traling spaces were removed when values were stored. This means that some BBCodes might not have worked. A bad thing. So, I cleverly stick a \0 at the end if this is the case. The \0 does not really modify the bitfield at all, it simply represents that there are no BBCodes in that range of eight. Idealy, we should do a version check to see if this is needed but this is just a nice fix for now...
git-svn-id: file:///svn/phpbb/trunk@6252 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-08-07 18:43:30 +00:00
Meik Sievertsen
46d7df8772 ups
git-svn-id: file:///svn/phpbb/trunk@6251 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-08-07 13:25:56 +00:00
Meik Sievertsen
19db55e8f3 updated schema files. Also added a new load setting and some missing keys.
git-svn-id: file:///svn/phpbb/trunk@6250 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-08-07 13:22:42 +00:00
Meik Sievertsen
644c4bd046 also make sure users not allowing cookies are retained on the first visit ;)
git-svn-id: file:///svn/phpbb/trunk@6249 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-08-07 10:45:05 +00:00
Meik Sievertsen
9193878c05 Fix session id assignment for bots (previously this bug related in bots creating a new session for every view, now bots are assigned one session like normal users - still no rotation).
If cookie is there but having an empty session try to get it through the url - but also resetting the user


git-svn-id: file:///svn/phpbb/trunk@6248 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-08-07 10:42:22 +00:00
David M
b789628c57 *** empty log message ***
git-svn-id: file:///svn/phpbb/trunk@6247 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-08-07 03:21:28 +00:00
David M
cbd65ca2c9 Databases that gain cool points:
MSSQL
Firebird
SQLite
Oracle

Databases that lose cool points:
MySQL
PostgreSQL

MySQL recently-ish gained character set features. PostgreSQL has zero, none; one must create the database as unicode. The only way I can think of getting PostgreSQL to do what I want it to do would require something rather crazy...


git-svn-id: file:///svn/phpbb/trunk@6246 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-08-06 19:20:35 +00:00
Nils Adermann
7c01c5ceb9 Backup files are now named backup_[timestamp].sql.*
git-svn-id: file:///svn/phpbb/trunk@6245 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-08-06 18:47:11 +00:00
David M
ed69b27cb6 *** empty log message ***
git-svn-id: file:///svn/phpbb/trunk@6244 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-08-06 18:18:02 +00:00
David M
5541765c4a - Bug
git-svn-id: file:///svn/phpbb/trunk@6243 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-08-06 18:06:00 +00:00
Graham Eames
34a8d610c0 Fix a minor typo
git-svn-id: file:///svn/phpbb/trunk@6242 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-08-06 17:43:39 +00:00
Nils Adermann
8b079894f3 - finally making the age calculation work [Bug #3582]
- replacing all occurances of L_NONE with a more specific string [Bug #3494]
- a few corrections to html id attributes in the installer
- using correct permission in mcp_report [Bug #2471]
- allow deleting the avatar, when no upload method is enabled and hide the delete button if no avatar is set


git-svn-id: file:///svn/phpbb/trunk@6241 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-08-06 17:25:29 +00:00
Graham Eames
4af44652ac Fix a couple of hard-coded strings in the templates
git-svn-id: file:///svn/phpbb/trunk@6240 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-08-06 14:18:05 +00:00
David M
f8c6379915 *** empty log message ***
git-svn-id: file:///svn/phpbb/trunk@6239 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-08-06 06:06:00 +00:00
David M
2f901a5203 This should end some issues we have been having regarding the proper binary encoding of stuff. :D
Acyd Burn: quit breaking the schema :P


git-svn-id: file:///svn/phpbb/trunk@6238 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-08-06 05:52:41 +00:00
Meik Sievertsen
b4b901b825 - fixed some bugs
- made imageset naming more consistent
- updated every schema to be consistent and also fixed it (every db should install fine now)
-


git-svn-id: file:///svn/phpbb/trunk@6237 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-08-05 15:49:28 +00:00
Graham Eames
0a007bd5d7 Deal with incorrect keys in the config file
git-svn-id: file:///svn/phpbb/trunk@6236 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-08-03 21:00:51 +00:00
Graham Eames
6742bcece7 Hide smilies if disabled
git-svn-id: file:///svn/phpbb/trunk@6235 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-08-03 20:24:56 +00:00
Graham Eames
a4f35f045e Min ranks
git-svn-id: file:///svn/phpbb/trunk@6234 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-08-03 19:52:48 +00:00
Graham Eames
957a3bcda1 Assorted minor language changes
git-svn-id: file:///svn/phpbb/trunk@6233 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-08-03 19:10:39 +00:00
Meik Sievertsen
82f42bb5fa - custom profile field fixed
- fixing sql_fetchfield from cache
- changing the quote parser. In my tests i have not seen changed behaviour - but i might have broken something with this change.


git-svn-id: file:///svn/phpbb/trunk@6232 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-08-03 15:23:34 +00:00
Graham Eames
650007a5f1 Fix a speeling error ;-)
git-svn-id: file:///svn/phpbb/trunk@6231 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-08-02 17:55:34 +00:00
Meik Sievertsen
a7225f2952 ok, but this time...
git-svn-id: file:///svn/phpbb/trunk@6230 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-08-02 17:38:48 +00:00
Meik Sievertsen
a07193a22a this change should let firebird work again correctly... or not.
git-svn-id: file:///svn/phpbb/trunk@6229 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-08-02 17:18:23 +00:00
Meik Sievertsen
b15a3111be - fixing some bugs
- removed file_exists calls for auth plugins since they need to be there once set up


git-svn-id: file:///svn/phpbb/trunk@6228 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-08-02 15:53:19 +00:00
Nils Adermann
48a48aa86d fixing a typo ;-)
git-svn-id: file:///svn/phpbb/trunk@6227 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-08-02 09:36:31 +00:00
Nils Adermann
63322c5a0e mysqli results are objects, not resources
git-svn-id: file:///svn/phpbb/trunk@6226 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-08-02 09:13:39 +00:00
Nils Adermann
09081e410f - acm_file uses an index pointer to the current row instead of shifting the result array now [Bug #2451]
- all dbals adjusted to use the cache in sql_fetchfield, sql_rowseek, sql_numrows and sql_freeresult [Bug #2451]
- use include_once for dbal.php to at least theoretically allow connections to multiple databases at once
- added a space to an SQL query [Bug #3506]
- detailed information on adding friends/foes [Bugs #2509, #2499]
- e modifier stands for evil, so I removed it ;-)
- corrected progress_bar image filename in imageset.cfg [Bug #3374]


git-svn-id: file:///svn/phpbb/trunk@6225 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-08-01 16:14:14 +00:00
Meik Sievertsen
ced8624b8e - fixing some bugs
- shortening some db columns to meet the requirements
- correctly increase/decrease user post counts
- fix the topic title length bug(s)


git-svn-id: file:///svn/phpbb/trunk@6224 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-08-01 15:29:47 +00:00
David M
541dbf8af0 - BBCode helpline is now customizable
git-svn-id: file:///svn/phpbb/trunk@6223 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-08-01 05:06:33 +00:00
David M
3c69c8f00a - Captcha ACP
- BBCode stuff


git-svn-id: file:///svn/phpbb/trunk@6222 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-08-01 04:23:13 +00:00
David M
85e049dd66 eh
git-svn-id: file:///svn/phpbb/trunk@6221 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-08-01 04:01:35 +00:00
David M
3fb98a7598 - Something, something, something
git-svn-id: file:///svn/phpbb/trunk@6220 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-08-01 03:56:36 +00:00
David M
1527407654 me === idiot
git-svn-id: file:///svn/phpbb/trunk@6219 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-08-01 03:45:40 +00:00
David M
936b1d2586 Who is an idiot? I AM
git-svn-id: file:///svn/phpbb/trunk@6218 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-07-30 18:21:02 +00:00
Graham Eames
8b14bdc73d Adding the new warning image to the appropriate places
Thanks to dhn for the image


git-svn-id: file:///svn/phpbb/trunk@6217 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-07-30 14:20:12 +00:00
Nils Adermann
0815df3c58 - removed an accidentaly pasted line [Bug #3227]
- added missing images to acp_styles [Bug #2623] and added a new image btn_warn
- use the style name when exporting a style instead of the non existant path [Bug #2343]
- fixed an incorrect call of acp_styles::install_style() [Bug #2325]
- always define $search_query in fulltext_mysql [Bug #3476]


git-svn-id: file:///svn/phpbb/trunk@6216 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-07-30 14:09:52 +00:00
Graham Eames
7bff8d1096 Correct some of the sort options
git-svn-id: file:///svn/phpbb/trunk@6215 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-07-29 11:35:32 +00:00
Graham Eames
f3610a934c Fix list indentation
git-svn-id: file:///svn/phpbb/trunk@6214 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-07-29 10:59:56 +00:00
David M
b8076c575c - Bugs
git-svn-id: file:///svn/phpbb/trunk@6213 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-07-28 03:45:32 +00:00
David M
22d778fcff - Fix Oracle
- Make MySQL schema a little different than the others...
- Fix MCP_TOPIC


git-svn-id: file:///svn/phpbb/trunk@6212 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-07-28 02:56:02 +00:00
Nils Adermann
007f4f6987 - fixed the age calculation (note: turn on your brain before commiting something like this the next time) [Bug #3337]
- removed the split_words array, introduced an enforced search_query
- the forum used for global topics in the search is now a forum, and no longer a category [Bug #2561]
- Bug #3404
- allow accessing reports by report_id, in contrast to mcp_queue this cannot just use the post id, since there can be multiple closed reports per post, so closed reports have to be accessed by report id, open reports, can optionally be accessed by report id or post id [Bug #3149]
- only attempt to unflag reported topics on closing a report when there are any without other reported posts [Bug #3057]
- updated fulltext_mysql to use the the search_query string
- overwrote the old fulltext_native with our improved version since it consumes too much time to maintain boths and we would switch to the improved version later anyway
- always show a link to search a user's posts even if the postcount is zero since he  might only have posted in forums which do not count posts [Bug #3267]


git-svn-id: file:///svn/phpbb/trunk@6211 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-07-27 19:02:47 +00:00
David M
412cf50689 oops :P
git-svn-id: file:///svn/phpbb/trunk@6210 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-07-25 11:58:11 +00:00
David M
9532514c2a OK...
This commit should increase the total number of BBCodes from 31 to 2040. Some things to watch out for:

Each database likes to deal with binary data in its own, special way. They are, quite frankly, too cool for school.

MySQL, MSSQL and Oracle all allow me to send in a default value for their binary column using a hex number. However, MSSQL forces me to send the specific data as a hex number and thus we must CAST it.

PostgreSQL allows me to set a binary column, but with a twist. It demands that the default be in _octal_ and its datatype allows somewhere around a gigabyte's worth of BBCodes ( PGSQL users, we shut you down to 2040 for your own good! )

Firebird has no decent mechanism for allowing me to shuttle in binary data so I must force my way in. By virtue of triggers and a UDF, we ram in our default values.

SQLite is the most bizarre of them all. They have no mechanism for turning an ASCII code into a ASCII character. Because of this, we have a trigger and a UDF (just like Firebird!) but with a twist! The UDF is defined on the PHP side of things instead of SQL. SQLite also demands that it's data be encoded before being sent off.

Other notes:
- SQLite installs again :D
- Firebird nearly installs again :P
- Database backup is not screwed up :P

P.S.
I hope nothing broke :D


git-svn-id: file:///svn/phpbb/trunk@6209 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-07-24 10:08:36 +00:00
Ludovic Arnaud
48b2dc1277 Fixed: bug #3243
git-svn-id: file:///svn/phpbb/trunk@6208 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-07-24 07:53:35 +00:00
Ludovic Arnaud
b7b8bf3857 Fixed: oops, forgot ASP-like tags
Fixed: <?! was not escaped, despite being valid PHP
(cvstats++)


git-svn-id: file:///svn/phpbb/trunk@6207 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-07-23 22:38:27 +00:00
Ludovic Arnaud
ed69875649 Fixed: bug #3352 (function token_get_all() is missing)
git-svn-id: file:///svn/phpbb/trunk@6206 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-07-23 22:16:05 +00:00
Ludovic Arnaud
afad755f93 Fixed: a double slash appears in the installer URL if you go to the board and config.php is missing
git-svn-id: file:///svn/phpbb/trunk@6205 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-07-23 21:26:53 +00:00
Ludovic Arnaud
185702fd5d Fixed: if phpBB isn't installed, it redirects to http://host.tld\/install/index.php on my Windows dev server
Changed: instead of undoubling double slashes, we replace any number of consecutive backslashes and forward slashes with a single slash


git-svn-id: file:///svn/phpbb/trunk@6204 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-07-23 20:59:41 +00:00
Graham Eames
4680dfce39 Include a link to the post by default when issuing a warning
git-svn-id: file:///svn/phpbb/trunk@6203 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-07-23 20:59:08 +00:00
Graham Eames
5e7f9e1a0d Silly copy and paste error :(
git-svn-id: file:///svn/phpbb/trunk@6202 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-07-23 18:52:56 +00:00
Graham Eames
ba5d555669 Make sure that the language does get passed between all modules
git-svn-id: file:///svn/phpbb/trunk@6201 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-07-23 17:43:48 +00:00
Graham Eames
4cf863dcb3 Changes to the language handling during the install
git-svn-id: file:///svn/phpbb/trunk@6200 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-07-23 16:04:51 +00:00
Graham Eames
5879c1c5c1 * Error handling on bans
* Missing language strings
* Grammatical correction in viewtopic (singular vs plural)


git-svn-id: file:///svn/phpbb/trunk@6199 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-07-21 20:44:27 +00:00
Meik Sievertsen
73ac6b1423 - some bugfixes
- set ip_check to A.B.C. by default
- display postings in other encodings by default and present link to force the encoding as usual.


git-svn-id: file:///svn/phpbb/trunk@6198 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-07-20 21:45:24 +00:00
Ludovic Arnaud
3f3db8cdaa Changed: add a space both before AND after Hangul and CJK characters so that they are never part of another word
git-svn-id: file:///svn/phpbb/trunk@6197 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-07-20 21:26:54 +00:00
Graham Eames
d20997f5bc * Missing image in imageset editing
* Sort the list of images
* Enforce default username limits on install


git-svn-id: file:///svn/phpbb/trunk@6196 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-07-20 20:27:23 +00:00
Meik Sievertsen
191a21d461 could have been a copy&paste error, but the expression is also removing the </script> tag from valid script blocks (javascript for example). :)
git-svn-id: file:///svn/phpbb/trunk@6195 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-07-20 18:39:00 +00:00
Meik Sievertsen
13bf07d275 another expression for grabbing php code in templates provided by david
also included "the ultimate solution" provided by ludovic (only added a check for T_OPEN_TAG_WITH_ECHO


git-svn-id: file:///svn/phpbb/trunk@6194 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-07-20 17:57:56 +00:00
Meik Sievertsen
b4d834ed09 revert a change i made (we already adjust line endings to be rfc-compliant and use \n for the php mail function as suggested by the manual)
git-svn-id: file:///svn/phpbb/trunk@6193 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-07-20 17:55:36 +00:00
Graham Eames
1984ab5af5 Efficiency improvement to the log viewing code
+ reverting what appears to be an accidental change to the report viewing code


git-svn-id: file:///svn/phpbb/trunk@6192 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-07-18 20:34:26 +00:00
Graham Eames
ec3bcb4a82 Absolutely no changes whatsoever......I'm just fixing some broken line-endings which have crept in so that they match the coding standards
git-svn-id: file:///svn/phpbb/trunk@6191 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-07-18 19:47:54 +00:00
Meik Sievertsen
99a7ce5bbe fix the schema files as well as other tiny bugs.
git-svn-id: file:///svn/phpbb/trunk@6190 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-07-17 15:32:46 +00:00
Meik Sievertsen
1a5e4f446a - fix bug within php code removal expression. Thanks to BenP for reporting it to our security tracker.
git-svn-id: file:///svn/phpbb/trunk@6189 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-07-17 15:06:11 +00:00
David M
fa205b922d hmm... This commit does not increase the number of BBCodes. However, this does other things that we need to do first. This splits the usage of allow_* from the BBCode bitfield in forum descriptions, forum rules and group descriptions. This also fixes a tiny, tiny severe issue that nobody found :D I hope it works :P
git-svn-id: file:///svn/phpbb/trunk@6188 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-07-17 03:23:31 +00:00
Ludovic Arnaud
29d92430c5 Changed: moved functions that encode/decode NCRs from and to UTF-8 to utf_tools.php
git-svn-id: file:///svn/phpbb/trunk@6187 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-07-15 17:01:59 +00:00
Ludovic Arnaud
7b8f0da356 Fixed: missing file
git-svn-id: file:///svn/phpbb/trunk@6186 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-07-15 17:01:09 +00:00
Ludovic Arnaud
791bf27040 Updated UTF files
git-svn-id: file:///svn/phpbb/trunk@6185 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-07-15 16:58:22 +00:00
Graham Eames
c2390e18a8 Improved i18n support within log messages
git-svn-id: file:///svn/phpbb/trunk@6184 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-07-15 16:21:23 +00:00
Ludovic Arnaud
603e6cf590 Fixed: no need to pad CJK and Hangul anymore
git-svn-id: file:///svn/phpbb/trunk@6183 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-07-15 15:46:56 +00:00
Ludovic Arnaud
5f88af1a75 Added: support for CJK and Hangul into the search engine
git-svn-id: file:///svn/phpbb/trunk@6182 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-07-15 15:44:54 +00:00
Ludovic Arnaud
3b4944a476 Fixed: better SQL escaping
Removed: extended inserts on mssql and sqlite, were they really worth it?


git-svn-id: file:///svn/phpbb/trunk@6181 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-07-15 14:23:26 +00:00
David M
0bc61ae76c - Some profile stuff :D
- Some DB stuff :D


git-svn-id: file:///svn/phpbb/trunk@6180 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-07-15 10:31:51 +00:00
Nils Adermann
3a883600e8 fixing a typo in postgres dbal
git-svn-id: file:///svn/phpbb/trunk@6179 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-07-14 22:23:44 +00:00
Meik Sievertsen
d10e5bfc1a add not applied sql_escape in memberlist
git-svn-id: file:///svn/phpbb/trunk@6178 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-07-14 12:59:55 +00:00
Meik Sievertsen
c4f2430645 - renamed the following columns:
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
2006-07-13 12:51:56 +00:00
Ludovic Arnaud
4cd73bf7e5 Fixed: unescaped SQL strings make Bertie cry
git-svn-id: file:///svn/phpbb/trunk@6176 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-07-12 23:41:34 +00:00
Nils Adermann
5bf6bc1880 - it's \r\n not \n\r [Bug #3121]
- a few little search bugfixes
- drop in the improved version of the native search based on UTF-8 (still needs some work before it can replace the current native search)
  Thanks Ashe :)


git-svn-id: file:///svn/phpbb/trunk@6175 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-07-12 23:21:57 +00:00
Ludovic Arnaud
44b78d7c8d Added: UTF-8 tools. Both functions are used by the "improved" search engine. We'll need utf8_strlen() if we go with UTF-8 in 3.2
TODO: native recoding engine, written in PHP


git-svn-id: file:///svn/phpbb/trunk@6174 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-07-12 22:56:04 +00:00
Meik Sievertsen
7768d67e22 this little file should help us in creating/editing all schema files. This file already includes the proposed NULL/NOT NULL/DEFAULT changes.
The resulting schema needs to be tested - postgresql schema lacks it's CHECK values and UNSIGNED has been added. MSSQL no longer uses alter stable statements to create defaults.


git-svn-id: file:///svn/phpbb/trunk@6173 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-07-12 16:39:15 +00:00
Ludovic Arnaud
2cc2509473 Changed: split the tables used by the search indexer in order to load them on a need-to-use basis and preserve memory
git-svn-id: file:///svn/phpbb/trunk@6172 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-07-12 16:29:42 +00:00
Meik Sievertsen
9c844b15ce - also check for registered users since i do not think guests and bots want to change their password.
git-svn-id: file:///svn/phpbb/trunk@6171 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-07-12 06:20:50 +00:00
Meik Sievertsen
f62ac3a32f #2487 Ok, this one is finally fixed. :) Thanks to Dark Soul for letting me test this at his server. :)
and now i am going into my corner crying out loud.


git-svn-id: file:///svn/phpbb/trunk@6170 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-07-11 22:09:56 +00:00
Ludovic Arnaud
5aed89a8a1 Fixed: forgot to remove some debug code :(
git-svn-id: file:///svn/phpbb/trunk@6169 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-07-11 00:37:44 +00:00
Ludovic Arnaud
7167adb2cf Fixed: bug #3191 take two. That one should work as expected.
git-svn-id: file:///svn/phpbb/trunk@6168 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-07-11 00:04:02 +00:00
Ludovic Arnaud
d2e81e8bee Fixed: bug #3191 as per NeoThermic's patch
git-svn-id: file:///svn/phpbb/trunk@6167 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-07-10 23:55:08 +00:00
Graham Eames
eb9548f465 A few miscelaneous tweaks
git-svn-id: file:///svn/phpbb/trunk@6166 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-07-10 19:16:47 +00:00
Meik Sievertsen
4f7c52e9e3 fix some bugs... again. :)
git-svn-id: file:///svn/phpbb/trunk@6165 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-07-10 15:55:10 +00:00
Ludovic Arnaud
0fa9103a0c Changed: being anal with the notation of Unicode codepoints
Fixed: moved some constants out of the if construct because they're needed by other classes, even if the utfnormal extension exists


git-svn-id: file:///svn/phpbb/trunk@6164 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-07-10 03:05:27 +00:00
Ludovic Arnaud
0521ffa7d8 Added: UTF-8 normalizer along with all the data files required
git-svn-id: file:///svn/phpbb/trunk@6163 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-07-10 01:53:30 +00:00
Ludovic Arnaud
8c5b957228 Added: finished UTF normalization conformance tests
Added: now generate_utf_files.php also generates the files needed by the search indexer


git-svn-id: file:///svn/phpbb/trunk@6162 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-07-10 01:40:59 +00:00
Meik Sievertsen
46af817cb0 - tackle some usability issues
- fix bug #3147
- added the lock-images made by SHS`
- fixed MSSQL errors (adding the correct ESCAPE sequence)


git-svn-id: file:///svn/phpbb/trunk@6161 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-07-09 16:23:57 +00:00
David M
455add06f2 Realized that we never needed to CAST() in the first place after i remembered why i chose a DOMAIN implementation over a TYPE implementation...
DOMAINs are simpler and thus the system is capable of determining what is _really_ going on (which is why it handles indexing for us :D)


git-svn-id: file:///svn/phpbb/trunk@6160 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-07-09 05:13:36 +00:00
David M
0424200ac6 Short story: Oracle does not like sub queries that contain columns that have the same name
Long story: Expanding the implicitly defined columns to explicitly defined columns lets us determine which columns we are actually grabbing. This lets us avoid the problem of having two columns having the same name even though one is implicit and the other is explicit.

What does this mean? It means that when doing a limit on Oracle with an implicit column and a bunch of explicit columns, the explicit columns are the ones that "win".


git-svn-id: file:///svn/phpbb/trunk@6159 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-07-09 05:09:37 +00:00
Ludovic Arnaud
9ab98d0d79 Added: that script will run the UTF normalizer through a serie of conformance tests designed by the Unicode consortium for that purpose. Only the first part of the tests has been implemented yet
TODO: test for invariants


git-svn-id: file:///svn/phpbb/trunk@6158 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-07-09 01:54:39 +00:00
Ludovic Arnaud
17cad8f11f Added: that file will generate the files needed for Unicode normalization. The actual files will be added to CVS once we decide where to store them
git-svn-id: file:///svn/phpbb/trunk@6157 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-07-09 01:49:01 +00:00
Graham Eames
811b63baab Fix installation and user registration bugs
git-svn-id: file:///svn/phpbb/trunk@6156 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-07-08 16:53:42 +00:00
Graham Eames
62230baffd Appears that the redirect in common.php didn't work on all setups we tried, so swapping it for some new code which does
git-svn-id: file:///svn/phpbb/trunk@6155 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-07-07 21:50:24 +00:00
Graham Eames
63dbf43693 Change redirection logic to match the RFC better in those cases before redirect() is available to us
git-svn-id: file:///svn/phpbb/trunk@6154 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-07-07 20:47:25 +00:00
Nils Adermann
97cd5b1c3d - fix a stupid bug in style.php
- and we'd also like the post encoding :D


git-svn-id: file:///svn/phpbb/trunk@6153 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-07-07 20:38:04 +00:00
Nils Adermann
c6227ad5b0 - fixed a parse error (oops)
- pass forum_ids to search indexing functions
- fixed a bug in fulltext_native's cache destroying


git-svn-id: file:///svn/phpbb/trunk@6152 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-07-07 18:43:52 +00:00
Nils Adermann
a5c23243c7 - display age in user profile and make it available on viewtopic
- various tiny bugfixes including [Bug #2351] [Bug #2549] [Bug #2681] [Bug #3015]
- strip first, then change newlines [Bug #2403]
- added support for creating user profiles to the login function (makes use of user_add), triggered by LOGIN_SUCCESS_CREATE_PROFILE constant
- moved newest user updating from ucp_register to user_add function
- renamed the admin_ auth module function to acp_
- added initialisation code to auth_apache which checks whether it will work
- added user_add support to both auth_ldap and auth_apache
- some auth_ldap tweaks, should work with users deeper in the organisation structure too now
- adjusted global topics in mcp_report to work like mcp_queue


git-svn-id: file:///svn/phpbb/trunk@6151 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-07-07 12:36:44 +00:00
Graham Eames
8c128de642 Change meta handling, we can use existing functions for what we need and remove the redundant code
git-svn-id: file:///svn/phpbb/trunk@6150 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-07-06 17:07:01 +00:00
Meik Sievertsen
462dc69b8e some bugfixes
git-svn-id: file:///svn/phpbb/trunk@6149 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-07-06 16:46:53 +00:00
Meik Sievertsen
2b531a279f fix for a bug spotted by ToonArmy within bug #3000 (thanks to him for providing a sample patch too)
git-svn-id: file:///svn/phpbb/trunk@6148 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-07-06 15:00:31 +00:00
Meik Sievertsen
0050879825 re-check cookie_secure value within generate_board_url() for those users having it enabled but not running on a SSL connection (which of course results in server errors). This should (hopefully) further minimize support requests. ;)
Thanks again to aninhill for giving me full access to his board to be able to spot this error.


git-svn-id: file:///svn/phpbb/trunk@6147 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-07-05 15:48:43 +00:00
Ludovic Arnaud
bfb26c8a4a Changed: moved the thing that compares the amount of matches to the amount of terms from outside the query (in PHP) to inside of it, thanks to a well-placed HAVING clause
git-svn-id: file:///svn/phpbb/trunk@6146 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-07-04 15:16:57 +00:00
David M
291ab6216e - Make sure that the table is empty before we start cramming things inside :D
git-svn-id: file:///svn/phpbb/trunk@6145 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-07-04 04:08:30 +00:00
David M
6a1f1f5721 - CAPTCHA: removed the extra slash
More backup stuff

- Made some things nicer for some of the DBs
- Made postgreSQL work on non empty databases
- Made SQLite ultra fast on restore

- Properly escaped (as far as I know) the profile data fields so that one may now use reserved words as column names


git-svn-id: file:///svn/phpbb/trunk@6144 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-07-04 03:54:41 +00:00
Ludovic Arnaud
5ccfc08d09 Fixed: PHP notices appear when a post uses an icon that does not exist anymore
PS: that's my first CVS commit in a while, my fingers are crossed


git-svn-id: file:///svn/phpbb/trunk@6143 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-07-04 01:51:27 +00:00
Graham Eames
9118c5ad83 Missing language string
git-svn-id: file:///svn/phpbb/trunk@6142 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-07-03 19:41:55 +00:00
David M
1b48afeb30 - Database: eh? meh.
- CAPTCHA: A little easier to see which options map to which controls


git-svn-id: file:///svn/phpbb/trunk@6141 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-07-03 00:53:54 +00:00
David M
662e12d466 - Dramatic speed-up in SQLite backup code
- Wrote *another* patch around SQLite
- SQLite has a lack of (among other things) solid definition of their tables. e.g. "foo" and foo are both valid col names... Database backup and profile creation are now both aware of such "features"

meh, i hope this all works...


git-svn-id: file:///svn/phpbb/trunk@6140 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-07-03 00:21:40 +00:00
Meik Sievertsen
98fc394eb3 - fixed language pack management a bit (supporting backslashes)
- fixed ftp_fsock, also fixing a reported bug in there


git-svn-id: file:///svn/phpbb/trunk@6139 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-07-02 21:42:54 +00:00
Graham Eames
fdd82e4c12 Force the database connection to use to avoid a couple of problems seen in internal testing
git-svn-id: file:///svn/phpbb/trunk@6137 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-07-02 19:33:28 +00:00
Graham Eames
4c457ecc92 Prevent sqlite databases within the forum directory
git-svn-id: file:///svn/phpbb/trunk@6136 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-07-01 21:45:35 +00:00
Meik Sievertsen
6df6eb0e60 - add additional auth check to the permission roles modules
- 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
2006-07-01 19:11:52 +00:00
Graham Eames
7ad5db1856 These needed to be #p for proper compliance
git-svn-id: file:///svn/phpbb/trunk@6134 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-07-01 15:00:50 +00:00
David M
3efe7ffb1f bugs? bugs.
git-svn-id: file:///svn/phpbb/trunk@6133 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-07-01 06:30:49 +00:00
Graham Eames
30563df345 SOme changes to handle special characters in the database password
git-svn-id: file:///svn/phpbb/trunk@6132 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-06-30 20:17:55 +00:00
Graham Eames
ee8a9a6135 New template variables in the mcp (not used by subsilver)
git-svn-id: file:///svn/phpbb/trunk@6131 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-06-29 19:57:06 +00:00
Graham Eames
66f5db4cec Nothing interesting, just a couple of slight language alterations
git-svn-id: file:///svn/phpbb/trunk@6130 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-06-28 20:26:45 +00:00
David M
c748c31fe5 ketchup? catcher? catheter? no. CAPTCHA
- New CAPTCHA ACP, only lets you enable what you can actually use :D
- CAPTCHA ACP also has a nifty demo link that lets you preview a CAPTCHA with the current settings that you enable.

I hope it all works...


git-svn-id: file:///svn/phpbb/trunk@6129 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-06-28 02:43:44 +00:00
Graham Eames
b451ced10e Try and protect against people trying to select an inappropriate DBAL
git-svn-id: file:///svn/phpbb/trunk@6128 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-06-26 21:05:49 +00:00
Graham Eames
c476382934 Split the final step of the install into 2 steps
This should help to avoid any timeouts on slow servers with the amount being done


git-svn-id: file:///svn/phpbb/trunk@6127 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-06-26 20:13:07 +00:00
Graham Eames
2cc905b28e Some changes to the way folder images are handled for "special" topics
git-svn-id: file:///svn/phpbb/trunk@6126 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-06-25 15:23:01 +00:00
Graham Eames
43fd5901ae The ability to view hidden users should not be part of the standard or restricted user roles
git-svn-id: file:///svn/phpbb/trunk@6125 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-06-24 21:20:43 +00:00
Graham Eames
737dea1370 Show message to those browsing whilst board is disabled
git-svn-id: file:///svn/phpbb/trunk@6124 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-06-24 15:52:17 +00:00
Graham Eames
097769fd07 Apply load_onlinetrack to view profile as well
git-svn-id: file:///svn/phpbb/trunk@6123 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-06-24 13:37:23 +00:00
Meik Sievertsen
3439d0f96e ok, first attempt at solving some compatibility issues.
- dropping in replacement for realpath


git-svn-id: file:///svn/phpbb/trunk@6122 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-06-24 13:27:04 +00:00
Graham Eames
1042800c28 Correct info image name
git-svn-id: file:///svn/phpbb/trunk@6121 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-06-24 13:15:32 +00:00
Graham Eames
03956bca97 Try to at least give very old PHP versions a reason why they can't do anything
We might review this again later to try and find the reason they were getting a blank page, but given the age of 4.2.x, there hopefully won't be too many people still running it


git-svn-id: file:///svn/phpbb/trunk@6120 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-06-23 20:48:30 +00:00
Graham Eames
a27ce549bd - Extra error handling to deal with a user not specifying a database name
- Re-add the move of the manage users module


git-svn-id: file:///svn/phpbb/trunk@6119 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-06-23 20:02:16 +00:00
Meik Sievertsen
16a40387f1 forgot some changes for post_time
git-svn-id: file:///svn/phpbb/trunk@6118 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-06-23 14:25:21 +00:00
Meik Sievertsen
9c31a05b1c make sure set_config is called with the correct is_dynamic value
git-svn-id: file:///svn/phpbb/trunk@6117 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-06-23 14:04:41 +00:00
Nils Adermann
e6c3b97999 - improve newposts search performance
git-svn-id: file:///svn/phpbb/trunk@6116 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-06-23 12:19:27 +00:00
Meik Sievertsen
8b1555c15b change ACL_NO to ACL_NEVER and ACL_UNSET to ACL_NO to let our users get what is meant on the first look.
the downside is that the information is no more accurate (permissions are still unset, defaulting to no) - someone might to overlook all explanations. :)


git-svn-id: file:///svn/phpbb/trunk@6115 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-06-22 16:49:04 +00:00
Meik Sievertsen
725b21f2d2 time to squash some bugs
git-svn-id: file:///svn/phpbb/trunk@6114 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-06-22 15:14:03 +00:00
Graham Eames
daa0435614 Improve i18n by installing all available language packs on install
+ unb0rk the mysql schema ;)


git-svn-id: file:///svn/phpbb/trunk@6113 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-06-21 20:18:02 +00:00
Meik Sievertsen
8dbef23cea show error if template path could not be determined
git-svn-id: file:///svn/phpbb/trunk@6112 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-06-21 16:52:10 +00:00
Meik Sievertsen
d8137406e2 disable recalculating the binary tree - this function might have a severe problem. :D And additionally it should not be needed anymore.
git-svn-id: file:///svn/phpbb/trunk@6111 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-06-21 16:42:24 +00:00
David M
0346b9da37 schema! hooray!
git-svn-id: file:///svn/phpbb/trunk@6110 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-06-21 05:16:08 +00:00
Graham Eames
73c7f34176 mysqli error + email hash
git-svn-id: file:///svn/phpbb/trunk@6109 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-06-20 20:46:01 +00:00
Graham Eames
0cc3aff18d Prevent warning self
git-svn-id: file:///svn/phpbb/trunk@6108 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-06-20 20:32:53 +00:00
Nils Adermann
4448249a44 - correctly display subcategories
- use L_TRANSLATION_INFO [Bug #2357]
- always begin with ACL_UNSET in permission trace
- allow copy permissions when editing a forum
- default to parent forum for copying permissions
- no duplication of the breadcrumps on registration [Bug #2307]


git-svn-id: file:///svn/phpbb/trunk@6107 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-06-20 19:00:30 +00:00
David M
c125ae1276 oops?
git-svn-id: file:///svn/phpbb/trunk@6106 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-06-20 00:21:16 +00:00
David M
9b0d2143bb what? yeah...
- turns out the backup issue was not a backup issue but a schema issue
- let there be color


git-svn-id: file:///svn/phpbb/trunk@6105 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-06-20 00:09:45 +00:00
Meik Sievertsen
52045ff263 some bugfixes
git-svn-id: file:///svn/phpbb/trunk@6104 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-06-19 21:30:32 +00:00
Graham Eames
cbfcf07af3 A few changes to the doc links for the beta process
git-svn-id: file:///svn/phpbb/trunk@6103 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-06-19 21:02:44 +00:00
Graham Eames
790f4dcc02 Prevent direct access to these files
git-svn-id: file:///svn/phpbb/trunk@6102 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-06-19 20:52:01 +00:00
Graham Eames
aa443a868d Deleting logs
git-svn-id: file:///svn/phpbb/trunk@6101 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-06-19 20:40:29 +00:00
David M
ac3f3b1ae9 SQL!
git-svn-id: file:///svn/phpbb/trunk@6100 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-06-18 15:50:00 +00:00
David M
5735c5176e fixes...
git-svn-id: file:///svn/phpbb/trunk@6099 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-06-18 15:35:32 +00:00
David M
ef9b725379 dumbness++
git-svn-id: file:///svn/phpbb/trunk@6098 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-06-18 15:21:31 +00:00
Graham Eames
bd3c8c50c0 This fixes a consistancy issue re the ISO language code on install, but there's still a bigger issue related to thsi to look at
git-svn-id: file:///svn/phpbb/trunk@6097 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-06-18 14:56:17 +00:00
Graham Eames
d3b8612402 Begone damn typo's
git-svn-id: file:///svn/phpbb/trunk@6096 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-06-18 14:41:40 +00:00
Graham Eames
f9f10be464 Misc installation bugs
git-svn-id: file:///svn/phpbb/trunk@6095 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-06-18 11:55:45 +00:00
Meik Sievertsen
6cf4180bb7 I missed the version change. Anyone knows what is with the private checkin list? I seem to get no mails - it used to be fast.
git-svn-id: file:///svn/phpbb/trunk@6093 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-06-17 20:30:41 +00:00
Meik Sievertsen
2043827f52 hey dev team mates, here are the brand new beta checkins (as promised). Please ensure this stays in our private cvs until the 23rd June, except the bug fixes.
git-svn-id: file:///svn/phpbb/trunk@6092 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-06-17 20:28:39 +00:00
Nils Adermann
20a27095bd - correctly display user forum permissions if all forums are selected [Bug #2285]
- correctly display user forum permissions if multiple users are selected


git-svn-id: file:///svn/phpbb/trunk@6091 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-06-17 18:39:34 +00:00
David M
4b1af3e32c SQLite does not support certain usage of COUNT(DISTINCT *), thus we must emulate it
git-svn-id: file:///svn/phpbb/trunk@6090 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-06-17 18:05:25 +00:00
Graham Eames
1c02e24333 BBCode parsing when warning
git-svn-id: file:///svn/phpbb/trunk@6089 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-06-17 17:16:03 +00:00
Graham Eames
3aafcffec0 #2277
git-svn-id: file:///svn/phpbb/trunk@6088 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-06-17 13:40:58 +00:00
Meik Sievertsen
3735ecdb16 hopefully not making things worse...
git-svn-id: file:///svn/phpbb/trunk@6087 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-06-17 13:16:51 +00:00
Nils Adermann
add20b4a92 - remove last karma leftovers
git-svn-id: file:///svn/phpbb/trunk@6086 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-06-17 12:16:56 +00:00
Meik Sievertsen
dc53e86bf9 fix bug #2267 (inline quotes are not having bbcodes correctly applied)
git-svn-id: file:///svn/phpbb/trunk@6085 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-06-17 11:54:42 +00:00
Graham Eames
505e08d59d And back to 6 :)
git-svn-id: file:///svn/phpbb/trunk@6084 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-06-17 11:51:57 +00:00
Graham Eames
7be12661b5 Use correct ISO coutry code - default language files are en_GB
git-svn-id: file:///svn/phpbb/trunk@6083 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-06-17 11:43:19 +00:00
David M
751a154af0 - SQLite handling in custom profiles
- Removed an extra ';'
- Install works with SQLite again


git-svn-id: file:///svn/phpbb/trunk@6082 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-06-17 11:32:07 +00:00
Meik Sievertsen
10846d462a fix bugs #2271 and #2273
git-svn-id: file:///svn/phpbb/trunk@6081 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-06-17 11:28:21 +00:00
Nils Adermann
f04a3349e6 - fix some bugs in imageset editing, includes [Bug #2269]
git-svn-id: file:///svn/phpbb/trunk@6080 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-06-17 09:30:59 +00:00
Graham Eames
3562bc5580 Language updates for consistancy
git-svn-id: file:///svn/phpbb/trunk@6079 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-06-17 08:05:14 +00:00
Graham Eames
e5bc3d88b6 Change the test so that sqlite is happy a well
git-svn-id: file:///svn/phpbb/trunk@6078 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-06-17 07:33:23 +00:00
David M
1cc7445017 - Some fixes
git-svn-id: file:///svn/phpbb/trunk@6077 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-06-17 06:50:58 +00:00
Meik Sievertsen
a32c084507 anyone want to buy a C?
git-svn-id: file:///svn/phpbb/trunk@6076 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-06-16 23:20:32 +00:00
Nils Adermann
d4a2bec8d3 - proper redirect after deleting a report [Bug #2260]
- sql_escape words before fulltext update
- correct language string for "search facilities" in acp_search


git-svn-id: file:///svn/phpbb/trunk@6075 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-06-16 18:31:51 +00:00
Meik Sievertsen
010e453b45 fix bug #2258
git-svn-id: file:///svn/phpbb/trunk@6074 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-06-16 17:31:00 +00:00
Meik Sievertsen
b0c3e39582 - removed db cache (might re-appear, but for now we do not see the need for it)
- all changes to styles/subsilver/template are purely cosmetic (no functional changes)
- cosmetics
- bugfixes
- add index to modules table
- use modules ordering code for forums too


git-svn-id: file:///svn/phpbb/trunk@6073 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-06-16 16:54:51 +00:00
Meik Sievertsen
a3c9182e0f use move_modules_by function Ashe did for us. Now everyone, thank him. :)
git-svn-id: file:///svn/phpbb/trunk@6072 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-06-15 23:06:41 +00:00
Meik Sievertsen
e9110c666e re-allow moving modules around
git-svn-id: file:///svn/phpbb/trunk@6071 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-06-15 21:39:44 +00:00
Meik Sievertsen
86cc481f1c check for correct entered date for date profile field
git-svn-id: file:///svn/phpbb/trunk@6070 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-06-15 15:16:33 +00:00
Meik Sievertsen
a161503f2a fix for checking required field on booleans
git-svn-id: file:///svn/phpbb/trunk@6069 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-06-15 15:12:55 +00:00
Meik Sievertsen
832faaa6c8 fix a small mistake (bug #2238)
git-svn-id: file:///svn/phpbb/trunk@6068 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-06-15 14:59:14 +00:00
Meik Sievertsen
75b3410e83 erm, ok, my fault. :/
git-svn-id: file:///svn/phpbb/trunk@6067 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-06-14 22:09:09 +00:00
Graham Eames
1409df5205 Improved i18n of default date format on new installs
+ misc bug fixes


git-svn-id: file:///svn/phpbb/trunk@6066 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-06-14 21:04:04 +00:00
Graham Eames
fc5e04b669 Fix the changes to bot creation
git-svn-id: file:///svn/phpbb/trunk@6065 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-06-14 20:14:18 +00:00
Nils Adermann
7b8a5f99b1 - forgot to actually move the cache file :@
git-svn-id: file:///svn/phpbb/trunk@6064 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-06-14 19:01:10 +00:00
Nils Adermann
c9e971759d - automatically sync topic_reported when deleting a post [Bug #2152]
- retrieve forum information in report.php
- don't update deleted topics
- proper permission check for "admin or moderator"
- allow changing poster while ip dropdown contains a different user [Bug #2190]
- fixed a typo in acp_styles [Bug #2188]
- allow inserting BBCode at the first position of the textarea [Bug #2078]
- allow the style name to be different than the style path


git-svn-id: file:///svn/phpbb/trunk@6063 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-06-14 18:59:12 +00:00
Meik Sievertsen
771d9f21cb haha, this is clearly needed. :D
git-svn-id: file:///svn/phpbb/trunk@6062 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-06-14 17:50:13 +00:00
Meik Sievertsen
7159120b25 - store error result in dbal for later retrieving
- use method for moving modules up/down (will be extended later to not only support an amount of 1)
- utilize the module methods in installation


git-svn-id: file:///svn/phpbb/trunk@6061 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-06-14 17:45:06 +00:00
Meik Sievertsen
90b7ac2dbf adjust the naming for add/edit/remove permissions
git-svn-id: file:///svn/phpbb/trunk@6060 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-06-14 08:55:13 +00:00
David M
76a475f107 Another one bites the dust
git-svn-id: file:///svn/phpbb/trunk@6059 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-06-13 22:39:04 +00:00
Meik Sievertsen
1aac08acc0 make sure custom profile fields are created correctly on registration (#2225)
git-svn-id: file:///svn/phpbb/trunk@6058 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-06-13 21:06:29 +00:00
Graham Eames
b0b7963817 Only create a session if on doesn't exist. In theory, checking for the presence of a sid should be enough to determine this.....
git-svn-id: file:///svn/phpbb/trunk@6057 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-06-13 18:50:21 +00:00
Meik Sievertsen
81d7bbff36 use user_add function for bot adding
git-svn-id: file:///svn/phpbb/trunk@6056 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-06-13 18:32:48 +00:00
Meik Sievertsen
e1437d7a21 - added class="radio" to all radio- and checkboxes
- make sure the database gets closed correctly in cron.php
- bugfixes


git-svn-id: file:///svn/phpbb/trunk@6055 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-06-13 15:06:32 +00:00
Meik Sievertsen
298d3c0c50 - get swatch converted into new acp format
- 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
2006-06-12 22:16:27 +00:00
David M
4a0ddb9dfb assorted backup fixes
git-svn-id: file:///svn/phpbb/trunk@6053 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-06-12 21:55:30 +00:00
Graham Eames
fdaba4d67e Fix no avatar image - it shouldn't be set in the code but via the template
git-svn-id: file:///svn/phpbb/trunk@6052 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-06-12 20:27:58 +00:00
Meik Sievertsen
6da1354976 removed the ability to parse after closing brackets, since this seems to create a bunch of new problems
added a space after quotes for correctly parsing urls/smilies
instead of splitting the url just compare with strpos
david: please review once you get home. :)


git-svn-id: file:///svn/phpbb/trunk@6051 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-06-12 16:09:55 +00:00
Meik Sievertsen
896e552dde re-allow registration. ;)
git-svn-id: file:///svn/phpbb/trunk@6050 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-06-12 08:21:43 +00:00
Graham Eames
c7d2dfb164 UI change to default date format
git-svn-id: file:///svn/phpbb/trunk@6049 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-06-11 19:32:17 +00:00
Meik Sievertsen
01b4145381 - fixed a few bugs
- added user_add() function
- check posted images ([img]) for same domain/scipt and php files
- auth_api.html updated to the coding guidelines look&feel
- introduced ability to force non page-updates (cron is using it)
- correctly resend coppa email


git-svn-id: file:///svn/phpbb/trunk@6048 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-06-11 18:13:52 +00:00
David M
ce3b07eee7 ;-)
git-svn-id: file:///svn/phpbb/trunk@6047 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-06-11 05:06:48 +00:00
Nils Adermann
72bb508210 - allow searching for post_count = 0 [Bug #2154]
- better permission check for user search by ip
- permissions for max attachments adjusted


git-svn-id: file:///svn/phpbb/trunk@6046 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-06-10 23:53:20 +00:00
Nils Adermann
1c169ed089 - forgot to commit common.php
- cleaning up a few more mcp permissions
- adjust some links
- make global topics work properly in MCP


git-svn-id: file:///svn/phpbb/trunk@6045 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-06-10 23:11:03 +00:00
Graham Eames
8b40e7fe33 Try and protect against users being silly and trying to go direct to a later page
git-svn-id: file:///svn/phpbb/trunk@6044 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-06-10 21:08:01 +00:00
Meik Sievertsen
c102bec023 try to prevent re-parsing of parsed bbcode content
git-svn-id: file:///svn/phpbb/trunk@6043 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-06-10 20:16:02 +00:00
David M
4613de6f87 - BBCode bugs
- PostgreSQL now gives us database info (if you are running 8.1 or have the dbsize contrib module installed)


git-svn-id: file:///svn/phpbb/trunk@6042 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-06-10 16:51:24 +00:00
Graham Eames
6bbeda9450 Fix img_imagick handling
git-svn-id: file:///svn/phpbb/trunk@6041 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-06-10 16:16:38 +00:00
Nils Adermann
349518c11f - check whether config.php exists
- add <p> to installation dialogue
- forgot to commit an mcp info file


git-svn-id: file:///svn/phpbb/trunk@6040 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-06-10 16:09:46 +00:00
Graham Eames
7e917eb5d2 Hide search links if you are not allowed to use them
(if we're not sure, then they are displayed just to be safe)


git-svn-id: file:///svn/phpbb/trunk@6039 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-06-10 14:56:39 +00:00
Graham Eames
6bd06a709e Broken link in FAQ (the rest of this still needs updating)
git-svn-id: file:///svn/phpbb/trunk@6038 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-06-10 14:30:48 +00:00
Graham Eames
90c514188a Group ordering on legend
git-svn-id: file:///svn/phpbb/trunk@6037 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-06-10 14:20:55 +00:00
Graham Eames
a3570cd048 Warn user links #2153
git-svn-id: file:///svn/phpbb/trunk@6036 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-06-10 11:51:10 +00:00
Graham Eames
793d9b8c53 Fix a slight typo
git-svn-id: file:///svn/phpbb/trunk@6035 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-06-10 10:40:25 +00:00
Nils Adermann
ace2ee4eec This looks a bit like an ugly hack, I know :(
But hopefully it will solve most of our encoding problems with jabber [Bug #1585]


git-svn-id: file:///svn/phpbb/trunk@6034 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-06-09 23:46:39 +00:00
Graham Eames
06981cb97b Check permissions on avatar upload folder
git-svn-id: file:///svn/phpbb/trunk@6033 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-06-09 20:34:09 +00:00
David M
3152110bea Another bug bites the dust
git-svn-id: file:///svn/phpbb/trunk@6032 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-06-09 19:51:18 +00:00
Nils Adermann
74673ae06e - a few adjustments to permissions, specifically with regard to global topics
- forgot to change a line in permission trace [Bug #2100]
- syntax highlighting for php5
- [Bug #2093]


git-svn-id: file:///svn/phpbb/trunk@6031 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-06-09 19:49:24 +00:00
Graham Eames
0cf31f0e2a Fix the ability to report/view reports and warn in global announcements
git-svn-id: file:///svn/phpbb/trunk@6030 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-06-09 19:37:47 +00:00
David M
898decd6cc - Language download works again
git-svn-id: file:///svn/phpbb/trunk@6029 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-06-09 19:27:08 +00:00
Nils Adermann
753994810a - a few adjustments to permissions, specifically with regard to global topics
- forgot to change a line in permission trace [Bug #2100]
- syntax highlighting for php5
- [Bug #2093]


git-svn-id: file:///svn/phpbb/trunk@6028 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-06-09 19:20:51 +00:00
David M
adc6d2a0c1 - Fixed a bug
- PGSQL got updated, we now backup created domains


git-svn-id: file:///svn/phpbb/trunk@6027 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-06-09 19:20:32 +00:00
Graham Eames
68a8052434 - Change groups listed on index by default
- Change addition of bots on install


git-svn-id: file:///svn/phpbb/trunk@6026 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-06-09 09:20:51 +00:00
Meik Sievertsen
ef08df5675 - bugfix roll
- fixed sql_query_limit on mssql/mssql_odbc


git-svn-id: file:///svn/phpbb/trunk@6024 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-06-08 20:26:03 +00:00
Meik Sievertsen
580a318d16 add title to "no role"
git-svn-id: file:///svn/phpbb/trunk@6023 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-06-08 13:46:03 +00:00
Meik Sievertsen
4306d4d083 - fix some smaller bugs
- removed custom profiles preview field from acp


git-svn-id: file:///svn/phpbb/trunk@6022 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-06-08 10:59:36 +00:00
Meik Sievertsen
0e7adebad6 ok, sorry for this. :/
- cleaned up table names/constants


git-svn-id: file:///svn/phpbb/trunk@6021 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-06-07 19:32:23 +00:00
Meik Sievertsen
13b9021ae4 correctly decode message on quotepost (#2099)
git-svn-id: file:///svn/phpbb/trunk@6020 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-06-07 18:22:51 +00:00
Meik Sievertsen
e1cf8fd13c fix bug #2086
remove cached sql results for moderator cache table if re-applying moderators


git-svn-id: file:///svn/phpbb/trunk@6019 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-06-07 18:12:38 +00:00
Meik Sievertsen
5232ded67e dumdidum
git-svn-id: file:///svn/phpbb/trunk@6018 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-06-07 10:10:53 +00:00
Meik Sievertsen
5f34b5d150 #2109
git-svn-id: file:///svn/phpbb/trunk@6017 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-06-07 08:44:12 +00:00
Meik Sievertsen
c307c5021a check if supported gd image type matches the uploaded image type - if not, thumbnails are not created.
git-svn-id: file:///svn/phpbb/trunk@6016 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-06-07 08:35:13 +00:00
Meik Sievertsen
dd9ad539fd ok, this one is rather large... the most important change:
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
2006-06-06 20:53:46 +00:00
Meik Sievertsen
2c8afb820e make sure we check the attachment status for the correct user ;)
git-svn-id: file:///svn/phpbb/trunk@6014 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-06-06 10:54:51 +00:00
Meik Sievertsen
2ab88e7c56 ok, try this one. :) Hopefully not breaking anything.
git-svn-id: file:///svn/phpbb/trunk@6013 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-06-06 10:45:43 +00:00
Meik Sievertsen
69f132fec8 ah, damn, revert this change. If we check here, hidden modules are no longer able to be called.
git-svn-id: file:///svn/phpbb/trunk@6012 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-06-06 10:38:14 +00:00
Meik Sievertsen
f8440e370f correctly hide categories with only hidden modules
git-svn-id: file:///svn/phpbb/trunk@6011 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-06-06 10:36:07 +00:00
Graham Eames
d404c70552 Some extra template variables *_EXPLAIN which some might wish to use
git-svn-id: file:///svn/phpbb/trunk@6010 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-06-04 18:49:19 +00:00
Nils Adermann
5c181bc528 - permission trace correctly uses language variables now
- updated documentation for the auth class
- use cache for "SELECT forum_name FROM phpbb_forums WHERE forum_id = X" queries everywhere and not only in functions_display
- updated the permission trace to include information about global settings overwriting local ones
- take global permissions into account for local permission results on the view permission pages for users
- only allow to change the post author with m_chgposter


git-svn-id: file:///svn/phpbb/trunk@6009 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-06-04 16:30:58 +00:00
Graham Eames
f3499d1251 Assign page titles within the mcp
git-svn-id: file:///svn/phpbb/trunk@6008 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-06-04 15:01:35 +00:00
Nils Adermann
6ba50e34d6 - removed useless code from style.php
- added a view template cache mode to acp_styles
- syntax highlighting for the acp css
- completed refresh actions for themes and templates
- fixed theme and template installation
- use a function for generating database theme data
- removed useless code from mcp_queue.php

we might need to do some more tests of acp_styles with safe_mode on


git-svn-id: file:///svn/phpbb/trunk@6007 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-06-03 22:19:41 +00:00
David M
9aa9cb4bb6 DB stuff, nothing cool at all unless you use Oracle.
git-svn-id: file:///svn/phpbb/trunk@6006 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-06-03 20:34:40 +00:00
Graham Eames
d198979747 We are gathered here today to say goodbye to install/install.php
She has served us well through the last few years, but it is now time to retire


git-svn-id: file:///svn/phpbb/trunk@6005 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-06-03 20:24:38 +00:00
Graham Eames
5f97852459 Sync error reporting
git-svn-id: file:///svn/phpbb/trunk@6004 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-06-03 19:50:16 +00:00
Graham Eames
8f55adbedb Watch me juggle with the tree!
git-svn-id: file:///svn/phpbb/trunk@6003 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-06-03 13:57:53 +00:00
Meik Sievertsen
7d264396df some adjustments
nils: please have a look at the @todo comment in mcp_queue.php


git-svn-id: file:///svn/phpbb/trunk@6002 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-06-02 13:26:27 +00:00
Meik Sievertsen
b087e60113 do not allow users to resign from their default group if they are not allowed to change their default group
git-svn-id: file:///svn/phpbb/trunk@6001 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-06-02 13:16:50 +00:00
Meik Sievertsen
718f97325f correctly re-init auth array on login/logout (bug #2055 is related to it)
git-svn-id: file:///svn/phpbb/trunk@6000 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-06-02 10:35:53 +00:00
Meik Sievertsen
b9355bc16d #2059
git-svn-id: file:///svn/phpbb/trunk@5999 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-06-02 10:29:41 +00:00
Meik Sievertsen
6bce606202 do not overwrite avatars from users if changing/uploading group avatar and changing/uploading avatar in ACP user panel (#1880)
git-svn-id: file:///svn/phpbb/trunk@5998 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-06-02 10:26:38 +00:00
Meik Sievertsen
148fab6579 i see the reports arise...
git-svn-id: file:///svn/phpbb/trunk@5997 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-06-02 09:35:56 +00:00
Meik Sievertsen
35e750fc19 outch, had some debug code in...
git-svn-id: file:///svn/phpbb/trunk@5996 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-06-01 20:51:19 +00:00
Meik Sievertsen
721a9dd4a1 - create forums by default
- 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
2006-06-01 13:47:42 +00:00
Graham Eames
4354cda6dc Misc module ordering stuff/missing modules.
There's still 1 minor bit to fix up....


git-svn-id: file:///svn/phpbb/trunk@5994 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-05-31 20:26:48 +00:00
Nils Adermann
91a35359ed - add support for min/max of numerical search backend settings
- change word_text maximum length
- don't update search settings if nothing was changed


git-svn-id: file:///svn/phpbb/trunk@5993 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-05-30 21:46:12 +00:00
Meik Sievertsen
64e7df76a6 do not irretate users on install :D
git-svn-id: file:///svn/phpbb/trunk@5989 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-05-30 17:00:08 +00:00
Meik Sievertsen
99a6e79d9b language changes by SHS` [en-GB (OED)] - our thanks to him!
git-svn-id: file:///svn/phpbb/trunk@5988 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-05-30 16:50:06 +00:00
Meik Sievertsen
eaeaf5bfb6 hopefully fixing bug #2022 with this
git-svn-id: file:///svn/phpbb/trunk@5987 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-05-30 16:40:16 +00:00
Nils Adermann
ea04b3bcbc - various corrections related to permissions in the mcp, including [Bug #1994] and [Bug #1924]
- fixed some quickmod bugs [#1994] and [Bug #1898]
- browse reports/unapproved posts by topic id
- correctly hide approval details
- added return message to mcp_ban [Bug #1851]
- adjusted some links, including [Bug #1855]
- added some missing language variables, including [Bug #1824], [Bug #1841], [Bug #1852] and [Bug #1864]
- always show all options in mcp_topic [Bug #1938]


git-svn-id: file:///svn/phpbb/trunk@5986 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-05-30 12:24:07 +00:00
David M
74799e168d - We are now at _seven_ different policies, not counting the non-GD version. We must remove something...
- Made the CAPTCHA system idiot proof, disabling all the policies still lets an image get created.
- We handle the case of a user having GD but no TTF. Thankfully, we have CAPTCHAs that don't need TTF!
- Fixed that stupid language string...
- Renamed Occlude to Overlap
- Shape is now only enabled if TTF support is detected


git-svn-id: file:///svn/phpbb/trunk@5985 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-05-30 04:27:14 +00:00
Graham Eames
5465ceb507 Fix a typo I'd introduced previously
git-svn-id: file:///svn/phpbb/trunk@5984 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-05-29 15:11:50 +00:00
Nils Adermann
3752616bb6 - making user_last_search a NULL column so MSSQL won't hate us
- making ignore_words and synonyms optional for language packs


git-svn-id: file:///svn/phpbb/trunk@5983 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-05-28 19:24:13 +00:00
Meik Sievertsen
19a36ed364 - adjusted coding guidelines
- fixed custom bbcode {TEXT} token
- added unapproved item/info for unapproved posts in a topic


git-svn-id: file:///svn/phpbb/trunk@5982 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-05-28 19:15:24 +00:00
Nils Adermann
ebf4f4ec8e - added search by author_id to solve problems with looking up posts of users with a name containing wildcards
- user based flood control (seperate limits for users and guests) [Bug #1357]
- inform the user about ignored words if he receives a "no words specified" message
- solve problems with the number of entries per page [Bug #1973]
- different height for popup window ["Bug" #1814]
- speed improvements for posting and search reindexing in fulltext_native
 -> use php files for ignore words and synonyms


git-svn-id: file:///svn/phpbb/trunk@5981 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-05-28 19:06:21 +00:00
Meik Sievertsen
b84ebb999d hmm, still not giving the expected results
git-svn-id: file:///svn/phpbb/trunk@5980 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-05-28 17:18:47 +00:00
Meik Sievertsen
2f4c3ea0be counting on primary key should be slightly faster...
git-svn-id: file:///svn/phpbb/trunk@5979 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-05-28 16:06:58 +00:00
Meik Sievertsen
d794557825 - fix nasty error in functions_admin generating a fatal error on inclusion
- adjusted error reporting level to get those errors instead of just the script halting.


git-svn-id: file:///svn/phpbb/trunk@5978 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-05-28 16:00:53 +00:00
Meik Sievertsen
d5b6b9cf85 - get every bbcode tpl block defined within bbcode.html. ;) (#1889)
git-svn-id: file:///svn/phpbb/trunk@5977 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-05-28 15:42:06 +00:00
Graham Eames
1526ae1fc8 The template for the convertor/upgrade script so that we've got all the template files in
You'll have to wait for the code that goes with it :)


git-svn-id: file:///svn/phpbb/trunk@5976 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-05-28 15:11:19 +00:00
Meik Sievertsen
a50e901f29 - do not allow pruning founders
- do not display full path to installation in error message text (only occurence would be "header already sent" warnings)


git-svn-id: file:///svn/phpbb/trunk@5975 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-05-28 14:58:59 +00:00
David M
77deaf754b meh, old versions of MySQL are not cool...
git-svn-id: file:///svn/phpbb/trunk@5974 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-05-28 03:44:18 +00:00
Meik Sievertsen
ce4445f74a - remove description from profile fields
- added disclaimer about DEBUG_EXTRA to the ACP (i think this is needed - some idiots might think it is wise to have this enabled on a production board. :) We *may* let it there for the Betas though, but it will be removed during the RC's)
- some bugfixes


git-svn-id: file:///svn/phpbb/trunk@5973 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-05-27 16:24:21 +00:00
David M
b51b978854 - force a default charset
- better highlight code in search


git-svn-id: file:///svn/phpbb/trunk@5972 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-05-27 13:25:27 +00:00
David M
6d072d8fc7 New data type for PostgreSQL users!
varchar_ci allows for case insensitive recall of data. Works with all sorts of operations and sorts. This implementation was chosen over a user defined data type because we can easily avoid having to create our own operator class, an action that can only be done by a 'superuser'. Extending the varchar data type lets us use the internal indexing voodoo while still working on J. Random Admin's privileges.

I hope it works, please post up any problems via the proper methods.


git-svn-id: file:///svn/phpbb/trunk@5971 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-05-27 06:22:38 +00:00
Meik Sievertsen
82e7e7cfc3 forgot this file...
git-svn-id: file:///svn/phpbb/trunk@5968 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-05-26 16:11:18 +00:00
Meik Sievertsen
9fca29eae3 some tiny changes...
git-svn-id: file:///svn/phpbb/trunk@5967 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-05-26 15:04:27 +00:00
David M
8dc9fc089b ...
git-svn-id: file:///svn/phpbb/trunk@5966 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-05-25 19:21:50 +00:00
Meik Sievertsen
fec41273a4 first round of custom profile changes
git-svn-id: file:///svn/phpbb/trunk@5965 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-05-25 19:15:04 +00:00
Graham Eames
a59f59de21 Fix a rather silly bug in the module install code.
Quick access works now :)


git-svn-id: file:///svn/phpbb/trunk@5964 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-05-24 18:49:39 +00:00
David M
28a306ae00 - Bug #1947
git-svn-id: file:///svn/phpbb/trunk@5961 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-05-22 19:58:53 +00:00
David M
484ecb9188 - Bug 1893
git-svn-id: file:///svn/phpbb/trunk@5960 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-05-22 05:42:49 +00:00
Meik Sievertsen
aa2da96774 dumdidum
git-svn-id: file:///svn/phpbb/trunk@5959 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-05-21 17:02:33 +00:00
Meik Sievertsen
ece0598027 no longer needed because we handle shadow topics as "always read" (not to be misreaded as "original topic")
git-svn-id: file:///svn/phpbb/trunk@5958 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-05-21 16:57:35 +00:00
Meik Sievertsen
530b7e94c5 - fixing a few smaller bugs/glitches
- init user session in cron.php (else it can produce errors if functions expect the user object being set)
- fix sql escaping for mssql/mssql_odbc


git-svn-id: file:///svn/phpbb/trunk@5957 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-05-21 16:54:19 +00:00
Nils Adermann
2ddac10375 - solve duplication of text [Bug #1229]
- fixed [*] BBcode [Bug #1625]


git-svn-id: file:///svn/phpbb/trunk@5956 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-05-21 13:22:51 +00:00
Nils Adermann
80168f9260 - fix some bugs in the theme editor
git-svn-id: file:///svn/phpbb/trunk@5955 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-05-21 01:24:56 +00:00
Nils Adermann
205c3245a5 - fix some bugs in the theme editor
git-svn-id: file:///svn/phpbb/trunk@5954 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-05-21 01:08:31 +00:00
Nils Adermann
5fb416fc26 - added a theme editor
- some adjustments in acp_styles.php
- fixed storing themes in db (needs revisiting)


git-svn-id: file:///svn/phpbb/trunk@5953 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-05-20 23:56:12 +00:00
Meik Sievertsen
5029170afb - fixed a few smaller things
git-svn-id: file:///svn/phpbb/trunk@5952 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-05-20 18:39:35 +00:00
David M
037f0bf4da - Lets make stuff wider
- Firebird, second class citizen no more! (at least till something else breaks)


git-svn-id: file:///svn/phpbb/trunk@5951 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-05-20 17:32:07 +00:00
Nils Adermann
25d6fbed2a - fix a nasty bug in search indexing
git-svn-id: file:///svn/phpbb/trunk@5950 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-05-20 16:50:57 +00:00
Meik Sievertsen
e4ac133954 #1871
git-svn-id: file:///svn/phpbb/trunk@5949 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-05-20 16:23:25 +00:00
Graham Eames
91282dde1b A few top level changes to the module structure.
More will follow since the quick access section is currently broken


git-svn-id: file:///svn/phpbb/trunk@5948 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-05-20 15:12:32 +00:00
Meik Sievertsen
badcfdd1ed character class... character class... character class...
git-svn-id: file:///svn/phpbb/trunk@5947 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-05-20 14:49:38 +00:00
Meik Sievertsen
08a223c4d6 - allow commenting out on one line:
<!-- <!-- IF WHATEVER --><br /><b>{WHATEVER}:</b><!-- ENDIF --> -->
bug #1869

(i hope i did not break something :o)


git-svn-id: file:///svn/phpbb/trunk@5946 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-05-20 14:41:53 +00:00
Meik Sievertsen
7c6db75ac0 we might have a look at NULL values if we use them within request_var() as default value (due to the type assignment)
git-svn-id: file:///svn/phpbb/trunk@5945 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-05-20 14:31:03 +00:00
Meik Sievertsen
dbb6b3f6cf - actually let the user import smilies/icons paks. ;)
- fix TRUNCATE TABLE syntax (mssql does not understand TRUNCATE alone)


git-svn-id: file:///svn/phpbb/trunk@5944 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-05-20 14:20:12 +00:00
Graham Eames
f77c0f0541 Banning makes more sense with usernames listed first, then IP then email as this is the most likely order of use
git-svn-id: file:///svn/phpbb/trunk@5943 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-05-20 14:11:01 +00:00
Meik Sievertsen
781adf5ff4 no ip listing for googlebot because the ip changes from time to time
git-svn-id: file:///svn/phpbb/trunk@5941 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-05-20 13:54:27 +00:00
Meik Sievertsen
0115e94cfd - seperate queries and cached queries
- display correct read/unread information while displaying active topics
- fix for SELECT DISTINCT in mssql using sql_query_limit
- fix for forum updating in ACP using mssql (and probably other dbal having problems with primary keys in updates)


git-svn-id: file:///svn/phpbb/trunk@5940 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-05-20 13:20:38 +00:00
Meik Sievertsen
c81a44ea30 - fix #1715
git-svn-id: file:///svn/phpbb/trunk@5939 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-05-20 11:41:27 +00:00
Graham Eames
86f5226025 Fix a couple of issues in mcp_main
git-svn-id: file:///svn/phpbb/trunk@5938 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-05-20 11:22:30 +00:00
Graham Eames
4ca6f06df1 Missing page title
git-svn-id: file:///svn/phpbb/trunk@5937 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-05-20 11:17:41 +00:00
David M
c63af4e75a eh? meh.
git-svn-id: file:///svn/phpbb/trunk@5936 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-05-20 02:14:50 +00:00
David M
808094d1f5 eh? meh.
git-svn-id: file:///svn/phpbb/trunk@5935 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-05-20 01:03:56 +00:00
David M
917eeebc1a a few changes ;-)
git-svn-id: file:///svn/phpbb/trunk@5934 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-05-19 22:50:25 +00:00
Meik Sievertsen
8e800e333c - fixed dotted topics on some occassions being wrong
- fixed post author change
- fixed moving topics (they should not count into read tracking now) - think about having only one column for shadow topics/similar to forum links
- moved a function from functions.php to functions_display.php (this function is only used by viewtopic and viewforum which already include this file)
- some rather tiny fixes for mssql


git-svn-id: file:///svn/phpbb/trunk@5933 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-05-19 21:08:48 +00:00
Graham Eames
c0e3a86ebb Fix a slightly odd naming that we just spotted
git-svn-id: file:///svn/phpbb/trunk@5932 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-05-19 19:33:44 +00:00
Meik Sievertsen
3c02d5f2df - fixing a few tiny bugs
- added new function to (re)apply sids where needed (login and mcp quickmod) - #1829


git-svn-id: file:///svn/phpbb/trunk@5931 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-05-18 21:03:56 +00:00
Meik Sievertsen
7e25c8d9cc - added a few missing log variables
- include acp/common.php language file if displaying logs (LOG_ variables should be stored there only now)
- added check to cron.php
- added database_gc config variable
- recalculate binary trees every once a week ;)


git-svn-id: file:///svn/phpbb/trunk@5929 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-05-18 18:18:32 +00:00
David M
f15d6862ae eh? meh.
git-svn-id: file:///svn/phpbb/trunk@5928 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-05-17 23:19:33 +00:00
David M
bcdb8c2659 This is a screwy world! Screwy I tell you!
git-svn-id: file:///svn/phpbb/trunk@5927 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-05-17 21:37:05 +00:00
David M
a0600f06be This is a screwy world! Screwy I tell you!
git-svn-id: file:///svn/phpbb/trunk@5926 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-05-17 19:48:47 +00:00
Graham Eames
14e3edffc2 Fix the module insertion for UCP and MCP (the changes for the ACP had meant it was going in backwards!)
git-svn-id: file:///svn/phpbb/trunk@5925 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-05-17 19:44:28 +00:00
David M
5e1d4527e8 This is a screwy world! Screwy I tell you!
git-svn-id: file:///svn/phpbb/trunk@5924 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-05-17 19:29:20 +00:00
Meik Sievertsen
545bf57cb3 #1843
git-svn-id: file:///svn/phpbb/trunk@5923 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-05-17 17:32:46 +00:00
Meik Sievertsen
760d0a66d4 fix bug #1857
git-svn-id: file:///svn/phpbb/trunk@5922 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-05-17 16:58:56 +00:00
Meik Sievertsen
4ea4f1d1da nils... maybe let the template editor save with unix linefeeds by default (or inherit them from the file)? :)
git-svn-id: file:///svn/phpbb/trunk@5921 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-05-17 16:41:04 +00:00
Meik Sievertsen
7ba89a0b2d fixing bug #1860
git-svn-id: file:///svn/phpbb/trunk@5920 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-05-17 16:26:54 +00:00
David M
6a1591f2be - Significant speed increase, MySQL can't ORDER BY arbitrary statements anyway
git-svn-id: file:///svn/phpbb/trunk@5919 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-05-17 11:24:34 +00:00
David M
68e374067b Firebird!
git-svn-id: file:///svn/phpbb/trunk@5918 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-05-16 22:14:59 +00:00
Meik Sievertsen
d52e31a489 some changes before i forget...
git-svn-id: file:///svn/phpbb/trunk@5916 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-05-16 17:46:47 +00:00
David M
501aa7bde7 non MySQL Databases are people too!
git-svn-id: file:///svn/phpbb/trunk@5915 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-05-15 00:27:11 +00:00
David M
badac963ac SQL!
git-svn-id: file:///svn/phpbb/trunk@5914 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-05-14 23:48:52 +00:00
Graham Eames
c385986201 Display bans in order of username not user_id so that you stand a chance of finding someone in a long list :)
git-svn-id: file:///svn/phpbb/trunk@5913 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-05-14 15:07:43 +00:00
Graham Eames
81be4479ab Assigning to the wrong variable - the whole message should now be visible
git-svn-id: file:///svn/phpbb/trunk@5912 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-05-14 11:34:59 +00:00
David M
2499d92c83 - captcha stuff
- unique_id


git-svn-id: file:///svn/phpbb/trunk@5911 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-05-13 17:48:21 +00:00
Meik Sievertsen
c652f7a4a7 HA - classical
git-svn-id: file:///svn/phpbb/trunk@5910 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-05-13 11:08:49 +00:00
Graham Eames
0cf613a31c Remove some unneeded debug code
git-svn-id: file:///svn/phpbb/trunk@5909 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-05-13 10:59:58 +00:00
Meik Sievertsen
d1c418b9e2 - david: copy&paste error? ;)
git-svn-id: file:///svn/phpbb/trunk@5908 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-05-13 10:59:16 +00:00
David M
fd609f28ba - Firebird is people too
git-svn-id: file:///svn/phpbb/trunk@5907 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-05-13 02:14:59 +00:00
David M
d5fc1c29f2 - Split the viewtopic query into two pieces. We gain speed by avoiding the need to GROUP BY/ORDER BY the selected elements. We also gain cross-DB compliance. Yay!
git-svn-id: file:///svn/phpbb/trunk@5906 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-05-13 00:57:13 +00:00
Meik Sievertsen
8b88ffe996 using another approach
git-svn-id: file:///svn/phpbb/trunk@5905 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-05-13 00:24:54 +00:00
Nils Adermann
215693d897 - adding a file which displays duplicate language keys
- removed a few duplicates with equal contents [Bug #1193]


git-svn-id: file:///svn/phpbb/trunk@5904 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-05-12 23:45:27 +00:00
David M
08e708f76b - Cleaner math
git-svn-id: file:///svn/phpbb/trunk@5903 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-05-12 22:02:07 +00:00
Meik Sievertsen
a8d99f2228 - introduce new function build_url to easily build a valid url from the user->page object as well as optionally removing certain keys
- changed attachment config to utilize the config build methods
- cleaned up posting.php
- the submit/delete_post functions are now usable (functions_posting.php)
- adjusted header icons (transparency)
- a bunch of fixes for mssql
- bug fixes


git-svn-id: file:///svn/phpbb/trunk@5902 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-05-12 20:52:58 +00:00
Graham Eames
7dd067bf5a Dealing with some duplicate language strings.
I'll leave the rest of the files to you Nils ;-)


git-svn-id: file:///svn/phpbb/trunk@5901 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-05-12 20:01:21 +00:00
Graham Eames
8a37c7572c Fix the module insertion
git-svn-id: file:///svn/phpbb/trunk@5900 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-05-12 19:44:28 +00:00
Graham Eames
aa42a83b9e Some altered error handling - there was still hard-coded output hanging over from before
git-svn-id: file:///svn/phpbb/trunk@5899 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-05-12 19:43:25 +00:00
Graham Eames
22ada4e282 A new template for fatal database errors
git-svn-id: file:///svn/phpbb/trunk@5898 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-05-12 19:42:33 +00:00
Meik Sievertsen
4b247a5054 ok, maybe now?
test new sf infrastructure again, now using the syncmail script in out cvsroot directory


git-svn-id: file:///svn/phpbb/trunk@5896 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-05-12 16:20:47 +00:00
Meik Sievertsen
e18efcf810 test new sf cvs with tiny bugfix
git-svn-id: file:///svn/phpbb/trunk@5895 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-05-12 16:05:07 +00:00
Nils Adermann
f83b7e1581 - added the template editor (doesn't use a hardcoded list of template filenames for categorisation anymore)
- fix some bugs related to storing template files in the database
- allow templates stored in subfolders of the /styles/name/template/ folder


git-svn-id: file:///svn/phpbb/trunk@5894 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-05-07 21:44:23 +00:00
David M
870cb6efd0 - eh? meh.
git-svn-id: file:///svn/phpbb/trunk@5893 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-05-07 02:54:13 +00:00
Graham Eames
75db599274 A minor change to the default icon_id, so that there is no icon if someone directly inserts into the db without specifying one
git-svn-id: file:///svn/phpbb/trunk@5892 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-05-06 21:00:08 +00:00
David M
6d3a8bd107 - Make it impossible to open/delete/download files that don't exist :P
git-svn-id: file:///svn/phpbb/trunk@5891 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-05-06 20:35:30 +00:00
Graham Eames
830f1fdab7 A small missing change from the reformatting earlier to make it clearer
git-svn-id: file:///svn/phpbb/trunk@5890 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-05-06 20:02:37 +00:00
Graham Eames
1200082de6 - Some slight style changes to the installer to make the explanation more visibly different from the label
- Added a brief explanation of register_globals to the requirements page
 - A few other odds and ends of language strings that aren't used yet but will be later (it was easier to leave them in than remove before committing :D)


git-svn-id: file:///svn/phpbb/trunk@5889 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-05-06 15:50:59 +00:00
Nils Adermann
2ee2701eb1 - introduce LA_, UA_ and A_ template variables (they allow styles to use template variables used for javascript in subSilver outside javascript in their own template while they won't break our javascript if they contain quotes) also fixes [Bug #1116]
- corrected page title for search indexing progress bar [Bug #1695]
- correct poster name for the anonymous user in mcp_queue and mcp_reports


git-svn-id: file:///svn/phpbb/trunk@5888 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-05-06 15:15:40 +00:00
Graham Eames
3640410cc0 Remove references to max_warnings as we are not using the value
More advanced handling of warnings (ie ability to automatically ban at a threshold is likely to follow in 3.2 instead)


git-svn-id: file:///svn/phpbb/trunk@5887 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-05-06 14:57:10 +00:00
David M
3d2a45ab04 I hope nothing broke!
- Added a query builder, it is currently only used for complex queries that involve a FROM clause with two tables and a left join
- Changed some function calls in the DBAL
- Made the viewtopic queries nicer


git-svn-id: file:///svn/phpbb/trunk@5885 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-05-05 22:06:17 +00:00
Graham Eames
b6ffae82b9 A couple of minor slips of the finger
git-svn-id: file:///svn/phpbb/trunk@5884 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-05-05 18:28:58 +00:00
Meik Sievertsen
e25b2c5f35 - some adjustements for phpdocumentor
git-svn-id: file:///svn/phpbb/trunk@5883 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-05-05 17:56:33 +00:00
Meik Sievertsen
8f765e50a3 - put the error reporting check into another location (since we do want to display our notices. ;))
- default error reporting in common.php
- E_ALL being set if DEBUG_EXTRA defined


git-svn-id: file:///svn/phpbb/trunk@5882 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-05-05 12:28:38 +00:00
Meik Sievertsen
b5608afe03 - fix bug #1727 (need to be watched - problems could arise by this change)
- added a note about login_box() to the coding guidelines


git-svn-id: file:///svn/phpbb/trunk@5881 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-05-04 18:25:01 +00:00
Meik Sievertsen
3a38f80168 fix bug #1736
git-svn-id: file:///svn/phpbb/trunk@5880 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-05-04 17:20:54 +00:00
Meik Sievertsen
839d2b6e2c hmm, hopefully this is working a bit better.
git-svn-id: file:///svn/phpbb/trunk@5879 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-05-04 16:56:30 +00:00
Meik Sievertsen
16ed174ba2 hmm, maybe i should not comment this statement, eh?
git-svn-id: file:///svn/phpbb/trunk@5878 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-05-04 16:00:58 +00:00
Meik Sievertsen
e11da225e0 - slightly adjusted the DEBUG/DEBUG_EXTRA requirements
- changed error_reporting to E_ALL
- our error handler now takes the error_reporting value into account allowing us to correctly supress notices


git-svn-id: file:///svn/phpbb/trunk@5877 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-05-04 15:49:22 +00:00
David M
b131931edb eh? meh.
git-svn-id: file:///svn/phpbb/trunk@5876 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-05-04 14:45:06 +00:00
Meik Sievertsen
9a9a9ff6f3 - fixed ul/li margin
- fixed [code=php] tag (tags got mangled on edit)
- fixed a tiny issue within the ban function


git-svn-id: file:///svn/phpbb/trunk@5875 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-05-04 06:54:43 +00:00
David M
9a0ad16272 - Bug #1709
git-svn-id: file:///svn/phpbb/trunk@5874 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-05-02 17:59:51 +00:00
Graham Eames
14adf393c2 Remove the module entries from the schema data file and generate the list instead
This should be the last major item with hard-coded id values in it


git-svn-id: file:///svn/phpbb/trunk@5873 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-05-01 19:45:42 +00:00
Meik Sievertsen
6724e1bab6 - added standard/default roles + default roles assigned to users/groups
git-svn-id: file:///svn/phpbb/trunk@5872 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-05-01 12:44:28 +00:00
Graham Eames
9918f8ee93 We want to use this code in the install system as well
git-svn-id: file:///svn/phpbb/trunk@5871 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-04-30 14:45:46 +00:00
Meik Sievertsen
3536a60e10 - changed SUPER_MODERATORS to GLOBAL_MODERATORS
- do not cache moderators having no allowed auth settings
- added fsock method to transfer class (this has been made by wGEric for us)


git-svn-id: file:///svn/phpbb/trunk@5870 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-04-30 14:09:13 +00:00
Meik Sievertsen
e69278b5cd some adjusted defaults. ;)
git-svn-id: file:///svn/phpbb/trunk@5869 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-04-30 13:06:40 +00:00
Meik Sievertsen
3826df9760 give location for missing email files for better support
git-svn-id: file:///svn/phpbb/trunk@5868 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-04-30 12:57:37 +00:00
Meik Sievertsen
9751cf71e9 empty is only accepting vars
git-svn-id: file:///svn/phpbb/trunk@5867 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-04-30 12:50:43 +00:00
Meik Sievertsen
28fe12956d - use php_uname('n') instead of posix_uname and HTTP_HOST
- updated the authors file a bit


git-svn-id: file:///svn/phpbb/trunk@5866 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-04-30 12:19:11 +00:00
Meik Sievertsen
076a235bb0 introduce LA_ for addslashing language variables for use in js vars (idea by naderman)
git-svn-id: file:///svn/phpbb/trunk@5865 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-04-29 17:19:24 +00:00
David M
f1de99ff9a - Case
git-svn-id: file:///svn/phpbb/trunk@5864 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-04-29 17:02:24 +00:00
David M
92719715b1 - ___ is not nice to people who use FTP, font files are thus renamed
git-svn-id: file:///svn/phpbb/trunk@5863 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-04-29 16:38:01 +00:00
David M
63c9b5d663 - CAPTCHA!
Xore and NeoThermic are very cool, you must thank them!


git-svn-id: file:///svn/phpbb/trunk@5862 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-04-29 16:30:56 +00:00
Meik Sievertsen
a94222ee5a fix bug #1549
git-svn-id: file:///svn/phpbb/trunk@5861 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-04-29 14:48:23 +00:00
Meik Sievertsen
b011b84060 blah
git-svn-id: file:///svn/phpbb/trunk@5860 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-04-29 13:31:32 +00:00
Meik Sievertsen
859902ea24 reverting changes to the installer
do not introduce a function we never call outside of common.php


git-svn-id: file:///svn/phpbb/trunk@5859 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-04-29 13:14:33 +00:00
Meik Sievertsen
7bc05c5e24 - fixing some bugs, containing fixes for anonymous username displays, eaccelerator issue, permission trace and a few smaller bugs.
git-svn-id: file:///svn/phpbb/trunk@5858 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-04-29 01:18:57 +00:00
David M
656274cd57 - Added some missing lang strings
git-svn-id: file:///svn/phpbb/trunk@5857 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-04-28 16:37:12 +00:00
David M
14ed732bff - fixed gen_rand_string
git-svn-id: file:///svn/phpbb/trunk@5856 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-04-28 15:58:57 +00:00
Meik Sievertsen
34fcc7dbe1 graham, sorry for this but i had to... ;)
- utilize common.php in installer (we only need to change one location then)
- use $user->lang instead of $lang to be able to use language template vars and having consistant namings


git-svn-id: file:///svn/phpbb/trunk@5855 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-04-28 12:49:44 +00:00
David M
1b065fb74a Viewtopic:
- PGSQL friendly

New Install:
- file_get_contents

New/Old Install:
- remove remarks for PGSQL, some versions don't like 'em
- fixed the regex in remove_remarks
- rewrote split_sql_file

Schema:
- removed explicit inserts, replaced with implicit inserts. This is more friendly to our non auto incrementing friends. (One set of data is not fixed yet, the modules table)
- removed all those SELECT SETVAL statements, they were not needed.


git-svn-id: file:///svn/phpbb/trunk@5854 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-04-28 02:18:17 +00:00
Nils Adermann
5994371c0a - allow searches for multibyte characters in fulltext_native
- use preg_quote safely


git-svn-id: file:///svn/phpbb/trunk@5853 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-04-27 14:20:43 +00:00
Nils Adermann
5f503ddabf oops
git-svn-id: file:///svn/phpbb/trunk@5852 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-04-26 21:29:54 +00:00
Graham Eames
fcb8d86cb2 Fix a broken explain link
git-svn-id: file:///svn/phpbb/trunk@5851 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-04-26 20:02:35 +00:00
Graham Eames
3148470919 Renaming fulltext_phpbb to fulltext_native for clarity and changing a few variables
git-svn-id: file:///svn/phpbb/trunk@5850 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-04-26 19:13:46 +00:00
Nils Adermann
9bc05019a6 - safer globals deregistration
git-svn-id: file:///svn/phpbb/trunk@5849 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-04-26 18:22:28 +00:00
Meik Sievertsen
01ad065ae5 - adding user logs (displaying all users instead of limited to the user if viewing user notes)
- fixed a tiny set of bugs...


git-svn-id: file:///svn/phpbb/trunk@5848 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-04-26 18:10:57 +00:00
Meik Sievertsen
db56792e91 - use varchar2 in favor of clob for some columns...
git-svn-id: file:///svn/phpbb/trunk@5847 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-04-26 12:06:21 +00:00
David M
31947017c4 - Use specfic keys
- Unborked mysqli :D
- PGSQL now supports sequences! woo!
- adsrc is not cool anymore, adbin is where it's all at...


git-svn-id: file:///svn/phpbb/trunk@5846 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-04-26 06:30:09 +00:00
Graham Eames
cb053afc47 Rename some of the config variables to eliminate issues caused by them containing phpbb_
git-svn-id: file:///svn/phpbb/trunk@5845 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-04-25 19:20:01 +00:00
David M
91925b93d8 - Bug #1237
git-svn-id: file:///svn/phpbb/trunk@5844 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-04-25 03:28:10 +00:00
David M
c57ebe71a9 - Bug #1285
git-svn-id: file:///svn/phpbb/trunk@5843 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-04-25 03:17:21 +00:00
David M
a279978718 - Tuples? Nah,
- Install works w/ Oracle
- Got the queries in the database acp to conform to the CS
- profile acp now creates the proper alter column statement depending on the dbal


git-svn-id: file:///svn/phpbb/trunk@5842 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-04-24 22:13:52 +00:00
Graham Eames
b622c0f31a Add a measure to stop people using this file as a preparatory step to removing it completely
(I haven't killed it totally yet since there are still a couple of internal uses for it)


git-svn-id: file:///svn/phpbb/trunk@5841 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-04-23 19:25:15 +00:00
David M
d03e541179 - Query explain now works for MSSQL, MSSQL-ODBC and PostgreSQL
- MSSQL schema now properly includes prefixes inside of all constraints


git-svn-id: file:///svn/phpbb/trunk@5839 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-04-23 17:28:06 +00:00
Meik Sievertsen
de4299c81c - build explain links a bit different...
- fix btn_ip reference (it is btn_info now)
- removed sql_report.css (we use the acp css)
- updated the sql report layout


git-svn-id: file:///svn/phpbb/trunk@5838 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-04-23 14:23:22 +00:00
Nils Adermann
d6af193b53 - properly check the Comment column on older MySQL versions [Bug #1637]
git-svn-id: file:///svn/phpbb/trunk@5837 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-04-23 13:10:34 +00:00
Nils Adermann
d9576fd70b - allow user A to have user B as a friend if A is a foe of B
- don't allow users to have the Anonymous user on their foe/friend list [Bug #1205]
- properly hide users on the online/offline friend list in ucp [Bug #1206]


git-svn-id: file:///svn/phpbb/trunk@5836 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-04-23 13:08:48 +00:00
David M
a58fa3a9f2 - eh? meh.
git-svn-id: file:///svn/phpbb/trunk@5834 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-04-22 20:21:22 +00:00
David M
9404dfe2fb - Bug #1210
git-svn-id: file:///svn/phpbb/trunk@5832 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-04-22 18:54:41 +00:00
David M
67c580e148 - Bug #1185
git-svn-id: file:///svn/phpbb/trunk@5831 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-04-22 18:42:27 +00:00
David M
2b23fb6a1f - Bug #1257
git-svn-id: file:///svn/phpbb/trunk@5830 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-04-22 18:37:19 +00:00
David M
171a535dd5 - this works on other DBs now too :D
git-svn-id: file:///svn/phpbb/trunk@5829 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-04-22 18:34:13 +00:00
David M
756aaf1005 - Bug #1259... again
git-svn-id: file:///svn/phpbb/trunk@5828 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-04-22 18:27:43 +00:00
David M
0a0976d6e7 - Bug #1261
git-svn-id: file:///svn/phpbb/trunk@5827 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-04-22 18:27:00 +00:00
David M
f878d0cf95 - Bug 1260
git-svn-id: file:///svn/phpbb/trunk@5826 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-04-22 18:23:09 +00:00
David M
118516b982 - Bug #1259
git-svn-id: file:///svn/phpbb/trunk@5825 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-04-22 18:09:58 +00:00
Meik Sievertsen
856650861f - removed group settings from roles
- added forum icon in front of forums in permissions acp
- added trace permissions in permission masks (thanks naderman for writing the first code and for the idea... :))
- some bugfixes
- PHP6 fix


git-svn-id: file:///svn/phpbb/trunk@5824 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-04-22 16:18:40 +00:00
Graham Eames
68c349fdc1 Harden the check slightly in case someone does something really silly and has a file of that name instead of a directory
git-svn-id: file:///svn/phpbb/trunk@5823 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-04-22 15:06:05 +00:00
David M
086ea06191 - Bug #1453
git-svn-id: file:///svn/phpbb/trunk@5822 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-04-22 14:40:04 +00:00
Graham Eames
ebae19ff71 The return of the option to download the config file if it could not be written
git-svn-id: file:///svn/phpbb/trunk@5821 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-04-22 13:59:46 +00:00
Meik Sievertsen
832ac398c4 @tom: this needs to be replaced by the correct image later
git-svn-id: file:///svn/phpbb/trunk@5820 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-04-22 13:58:22 +00:00
Graham Eames
cf214949b6 OK< so it did break it - copy and paste error
git-svn-id: file:///svn/phpbb/trunk@5819 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-04-22 13:50:17 +00:00
Graham Eames
e6a85132f6 - Added a constant to indicate where we are for use in other functions
- Slight changes to writing of the config file, more to come


git-svn-id: file:///svn/phpbb/trunk@5818 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-04-22 11:59:37 +00:00
David M
0bad52c9a5 i can't seem to not commit this debug code :-(
git-svn-id: file:///svn/phpbb/trunk@5817 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-04-22 03:53:03 +00:00
David M
c016f4593e - extrapolation is uncool, lets get the _real_name instead of guessing
- fixed some bugs :P


git-svn-id: file:///svn/phpbb/trunk@5816 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-04-22 03:52:07 +00:00
Nils Adermann
478ab68a7e - added login error constant for various external auth failures
- completed auth plugin interface (init_method, login_method, autologin_method, validate_session_method, logout_method)
- updated ldap and apache auth plugins to return an info array
- added apache autologin


git-svn-id: file:///svn/phpbb/trunk@5815 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-04-21 22:41:05 +00:00
Graham Eames
09073c368f It helps to add new config variables to the schema...
git-svn-id: file:///svn/phpbb/trunk@5814 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-04-21 21:19:25 +00:00
Graham Eames
6f4c1b1a22 Porting the random number generator code over
Fingers crossed that this doesn't break anything.... ;-)


git-svn-id: file:///svn/phpbb/trunk@5813 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-04-21 20:42:10 +00:00
David M
10e8b6130d - Olympus can now _install_ every database, more work to come on getting the rest of the board to work
git-svn-id: file:///svn/phpbb/trunk@5811 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-04-21 01:09:04 +00:00
Graham Eames
fee3ec305c Fix a couple of references to the old error handler
git-svn-id: file:///svn/phpbb/trunk@5809 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-04-20 15:10:27 +00:00
Graham Eames
32e738031d Log the install to the admin log
git-svn-id: file:///svn/phpbb/trunk@5807 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-04-20 11:37:58 +00:00
Graham Eames
b3a6c67d55 Fix some warnings when selecting a user
TODO: Need to look at where else this information is displayed and see about abstracting it


git-svn-id: file:///svn/phpbb/trunk@5806 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-04-20 11:07:11 +00:00
David M
7695b94f76 Firebird changes
- fixed sql_nextid()
- sql_affectedrows fixed for PHP 5+
- sql_affectedrows modified so that it works for PHP 4 ( don't expect a valid numeric answer! )


git-svn-id: file:///svn/phpbb/trunk@5805 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-04-19 05:20:18 +00:00
David M
fae28007b6 - d'oh!
git-svn-id: file:///svn/phpbb/trunk@5804 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-04-19 04:50:25 +00:00
David M
cc48830e02 - Firebird support for backing up
- some bug fixes :P


git-svn-id: file:///svn/phpbb/trunk@5803 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-04-19 04:48:58 +00:00
David M
8893d6f5b3 - oopse
git-svn-id: file:///svn/phpbb/trunk@5802 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-04-19 04:46:55 +00:00
David M
3e67fe55cb - make freeresult work as it should
git-svn-id: file:///svn/phpbb/trunk@5801 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-04-18 21:38:01 +00:00
David M
a8e11e2264 - Forgot to remove a lang string
- Firebird!
- Fixes for mssql and mssql-odbc


git-svn-id: file:///svn/phpbb/trunk@5800 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-04-18 21:06:00 +00:00
David M
fcd3d18fb3 - CS
git-svn-id: file:///svn/phpbb/trunk@5799 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-04-18 16:22:32 +00:00
David M
a231834a4d - More bugfixes (Sorry!)
- ODBC support


git-svn-id: file:///svn/phpbb/trunk@5798 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-04-18 15:21:15 +00:00
David M
d2461c2fd2 - Nobody wants my debug code :D
git-svn-id: file:///svn/phpbb/trunk@5797 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-04-18 15:14:16 +00:00
David M
01fdcf2d83 - An index can have multiple columns :P
git-svn-id: file:///svn/phpbb/trunk@5796 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-04-18 15:13:33 +00:00
David M
8e18b11e34 - firebird returns an error code (if you are on php 5)
git-svn-id: file:///svn/phpbb/trunk@5795 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-04-18 04:17:53 +00:00
David M
1149fd2ca8 - oopsie
git-svn-id: file:///svn/phpbb/trunk@5794 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-04-18 03:56:26 +00:00
David M
03b9af1f28 - Olympus now properly works with MS SQL
- DB backup system handles MS SQL
- A few bug fixes to the backup system ;)


git-svn-id: file:///svn/phpbb/trunk@5793 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-04-18 02:41:59 +00:00
Meik Sievertsen
5b3d732456 its late
git-svn-id: file:///svn/phpbb/trunk@5792 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-04-17 22:40:49 +00:00
Meik Sievertsen
8d456a0fd7 say hello to role descriptions, role ordering and tooltips on role selects
git-svn-id: file:///svn/phpbb/trunk@5791 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-04-17 22:36:43 +00:00
Meik Sievertsen
a0f8e1323a - clean up marklist calls (global function)
- added new feature: test out others permissions (admin permissions will not be copied)
- changed attachment processing by directly using the template engine
- fixed some attachment related bugs
- additional tiny fixes


git-svn-id: file:///svn/phpbb/trunk@5790 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-04-17 13:09:50 +00:00
David M
8c2f02ca00 - Store and Download is now takes advantage of on-the-fly stuff correctly
- Download and deletion of stored backups now allowed


git-svn-id: file:///svn/phpbb/trunk@5789 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-04-16 17:31:02 +00:00
Meik Sievertsen
b0aa0e6050 hmm, das hat hoffentlich keiner gesehen... :P
git-svn-id: file:///svn/phpbb/trunk@5788 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-04-15 18:54:35 +00:00
Meik Sievertsen
72c4282f9a slightly modified general tab layout to remove the confusion between board defaults and board settings.
git-svn-id: file:///svn/phpbb/trunk@5787 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-04-15 18:51:00 +00:00
David M
ea71c3046d - Some archivers are worthless in this world
git-svn-id: file:///svn/phpbb/trunk@5786 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-04-15 18:00:34 +00:00
Meik Sievertsen
164b55b394 i do not think i need this any longer. ;)
git-svn-id: file:///svn/phpbb/trunk@5785 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-04-15 14:55:33 +00:00
Meik Sievertsen
84738055a2 - fixed some bugs
- made sql schemas consistent
- added correct sequences and generators to sql schemas
- extended some rows to hold more data. This solves issues with multibyte characters and too short topic titles, names, etc.
- allow multibyte characters in usernames


git-svn-id: file:///svn/phpbb/trunk@5784 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-04-15 14:48:36 +00:00
Meik Sievertsen
0562395c27 fixing a bug within the installer (displaying notices) and making sure the installer is using the error handler.
git-svn-id: file:///svn/phpbb/trunk@5783 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-04-14 15:10:51 +00:00
Graham Eames
8017db012b Fix an issue affecting eaccelerator users
git-svn-id: file:///svn/phpbb/trunk@5780 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-04-10 20:12:30 +00:00
Nils Adermann
fc394d6302 - check m_ permission for quickmod [Bug #1317]
- don't sync the global forum (id 0) [Bug #1383]
- corrections to available time zones [Bug #1306]
- only display open reports on mcp_front
- added whois information to mcp_post [Bug #1400]
- copy "dot" when copying a topic [Bug #1321]
- some language corrections [Bugs #1324, #1255, #1317]
- mozWrap scrolls back to previous position now [Bug #1190]
- some style related corrections [Bugs #1322, #1454, #1316]
- corrected copyrights [Bug #1468]
- fixed links on search results page [Bug #1469]


git-svn-id: file:///svn/phpbb/trunk@5779 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-04-09 21:20:24 +00:00
Graham Eames
5b24c3a7fb Check the password set in the install against the default rules
git-svn-id: file:///svn/phpbb/trunk@5776 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-04-08 18:34:13 +00:00
Meik Sievertsen
3db7073415 added/changed language strings
git-svn-id: file:///svn/phpbb/trunk@5775 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-04-08 17:48:54 +00:00
Meik Sievertsen
a2ac7a6cc6 - fix for a php bug (not able to connect on custom ports if the server is localhost - though 127.0.0.1 works) -> #1444
git-svn-id: file:///svn/phpbb/trunk@5774 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-04-08 17:34:04 +00:00
Graham Eames
1e0ee65aed Fix a broken tree
git-svn-id: file:///svn/phpbb/trunk@5773 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-04-08 15:52:06 +00:00
Graham Eames
ec78e241b7 Set the cookie domain by default on installs which don't have a server_name set
git-svn-id: file:///svn/phpbb/trunk@5772 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-04-08 14:46:32 +00:00
Nils Adermann
c5b203b485 - allow reporting posts that have a closed report
- show multiple reports for one post correctly
- Bug #1389


git-svn-id: file:///svn/phpbb/trunk@5771 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-04-08 14:30:46 +00:00
Meik Sievertsen
fc167b2e42 - fix moving up/down for smilies and icons
- display number of total topics in viewforum for forums having active topics set to to true


git-svn-id: file:///svn/phpbb/trunk@5770 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-04-08 14:16:31 +00:00
Meik Sievertsen
fecdf14358 extending the encoding fields a bit (11 chars seem to be not enough)
git-svn-id: file:///svn/phpbb/trunk@5769 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-04-08 13:12:27 +00:00
Meik Sievertsen
b62ffc0bb0 groupcp.php no longer exist (#1442)
git-svn-id: file:///svn/phpbb/trunk@5768 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-04-08 13:06:13 +00:00
Meik Sievertsen
96afdb5168 - changed _module_*_url to only use the main module name but the mode as 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
2006-04-08 13:01:04 +00:00
Meik Sievertsen
4801f813cd - fix the template error (no headers displayed, wrong ! assignment, wrong check for .loop)
git-svn-id: file:///svn/phpbb/trunk@5766 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-04-08 10:56:08 +00:00
Meik Sievertsen
431e494ae4 To all people having their bug status set to fixed: SF pserver CVS access is currently down, therefore the snapshots are still out of date.
- fix a bunch of bugs
- <!-- $Id$ --> is no longer allowed in template (.html) files
- changed layout of private message screens (folders are menu items)
- removed unread mode for private messages
- added new feature to template engine - "jump out of loop" or "loop another loop within my loop" :D (will be documented within the coding guidelines)
- added autologin field to sessions
- check session length checks
- added add_log statement to sessions to track session valid to invalid changes if ip/browser change depending on config settings (only debug)
- added multibyte support for various variables (exception at the moment is usernames which needs some discussion)
- hopefully not broke something. :/


git-svn-id: file:///svn/phpbb/trunk@5765 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-04-06 17:15:45 +00:00
Graham Eames
3933f0bab3 This now gives a full path through the new install system.
New features:
 - Rearranged config items
 - Added advanced config page for optional settings
 - Email admin on install
NOTE: This only works if config.php is writable, if it is unwritable, you must fallback to the old method, edit install_install.php where the redirect is commented out in the database settings to do this


git-svn-id: file:///svn/phpbb/trunk@5764 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-04-05 12:53:27 +00:00
Graham Eames
3f5f4d9818 Fix the vanishing menu item
git-svn-id: file:///svn/phpbb/trunk@5763 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-04-05 12:47:19 +00:00
David M
09d9cd6e24 - This should work! :D
git-svn-id: file:///svn/phpbb/trunk@5760 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-04-05 01:17:05 +00:00
Meik Sievertsen
0293556bc9 fix layout for internet explorer (needs further tweaks, the permissions screens are looking "horrible" in ie, fine in ff though. ;))
git-svn-id: file:///svn/phpbb/trunk@5759 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-03-29 18:23:26 +00:00
Meik Sievertsen
f388c2d96e #1362 - Url shortening error on local URL's
git-svn-id: file:///svn/phpbb/trunk@5758 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-03-29 17:56:03 +00:00
Meik Sievertsen
cf9617bdb5 erm, yes, this one was easy. :)
git-svn-id: file:///svn/phpbb/trunk@5757 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-03-29 17:50:08 +00:00
Meik Sievertsen
c6cf57a138 #1382
git-svn-id: file:///svn/phpbb/trunk@5756 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-03-29 17:46:17 +00:00
Meik Sievertsen
5b253228d7 use correct entity
git-svn-id: file:///svn/phpbb/trunk@5755 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-03-29 17:38:09 +00:00
Meik Sievertsen
86ed5e5828 Do not display adding friend/foe for anonymous and users own profile
git-svn-id: file:///svn/phpbb/trunk@5754 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-03-29 08:45:42 +00:00
Meik Sievertsen
dd1e25e830 #1340
git-svn-id: file:///svn/phpbb/trunk@5753 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-03-29 08:37:33 +00:00
Nils Adermann
112a0e8761 - don't show too old reports/queue entries
git-svn-id: file:///svn/phpbb/trunk@5752 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-03-28 18:59:00 +00:00
Meik Sievertsen
a22c4b96bf #1297 - only check username length if name change is allowed
git-svn-id: file:///svn/phpbb/trunk@5751 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-03-28 18:09:55 +00:00
Nils Adermann
2372c30785 - did I mention I don't like mcp_sorting()? ;-)
git-svn-id: file:///svn/phpbb/trunk@5750 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-03-28 18:07:38 +00:00
Meik Sievertsen
ceb03a3804 (hopefully) fixed the error display for uploading avatars (if avatar is too big)
git-svn-id: file:///svn/phpbb/trunk@5749 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-03-28 18:01:15 +00:00
Meik Sievertsen
1aed382e52 fix additional group related thingy (correctly display memberships)
git-svn-id: file:///svn/phpbb/trunk@5748 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-03-28 17:52:03 +00:00
Meik Sievertsen
59921266fb add some language items... 😁
git-svn-id: file:///svn/phpbb/trunk@5747 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-03-28 17:36:57 +00:00
Meik Sievertsen
4c2275e1fa sorry david. :/
git-svn-id: file:///svn/phpbb/trunk@5746 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-03-28 17:25:27 +00:00
Meik Sievertsen
9adbf3726a #1264 - fix redirecting if page dir is empty
git-svn-id: file:///svn/phpbb/trunk@5745 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-03-28 17:23:23 +00:00
Meik Sievertsen
7e47a8ddb0 added ability to hide coppa groups (mainly applied to permission screens)
git-svn-id: file:///svn/phpbb/trunk@5744 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-03-28 17:10:07 +00:00
David M
fe9590cf5a - Bug 1301
git-svn-id: file:///svn/phpbb/trunk@5743 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-03-28 16:46:49 +00:00
Meik Sievertsen
20e6dbb389 fixing some bugs
git-svn-id: file:///svn/phpbb/trunk@5742 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-03-28 14:04:55 +00:00
Meik Sievertsen
8936be1628 correct user management link
git-svn-id: file:///svn/phpbb/trunk@5741 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-03-28 13:49:23 +00:00
Meik Sievertsen
b6b43a7580 add group_legend to group management
git-svn-id: file:///svn/phpbb/trunk@5740 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-03-28 13:47:16 +00:00
David M
f52ef0a6ec - Visual Confirmation for guest posting
git-svn-id: file:///svn/phpbb/trunk@5739 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-03-28 12:44:27 +00:00
Meik Sievertsen
3ad9c2f089 #1304, #1335, #1336
git-svn-id: file:///svn/phpbb/trunk@5738 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-03-27 21:42:47 +00:00
Meik Sievertsen
056aa160f9 #1327
git-svn-id: file:///svn/phpbb/trunk@5737 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-03-27 21:32:08 +00:00
Graham Eames
253c2fadcd Adding admin settings to the new system (not used yet)
git-svn-id: file:///svn/phpbb/trunk@5736 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-03-27 19:30:44 +00:00
Nils Adermann
f430f01634 - use radio class for radio buttons
- use lower case anchor in FAQ
- add a lang key for ACP_SEARCH


git-svn-id: file:///svn/phpbb/trunk@5735 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-03-27 19:30:37 +00:00
Nils Adermann
397fff57f2 - redirection should properly work now
- align jumpbox properly


git-svn-id: file:///svn/phpbb/trunk@5734 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-03-27 18:45:18 +00:00
Nils Adermann
e7140d658d - add missing pagination to queue/reports
- hide the close button on closed reports page
- fix a JS bug in mcp/acp ban view


git-svn-id: file:///svn/phpbb/trunk@5733 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-03-27 12:48:29 +00:00
Graham Eames
19b5f17ff8 Fix a minor typo [#1346]
git-svn-id: file:///svn/phpbb/trunk@5732 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-03-26 21:17:09 +00:00
Graham Eames
84c01baff3 The logs indicate a large aquatic creature in the future if this gets removed by mistake again ;-)
git-svn-id: file:///svn/phpbb/trunk@5731 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-03-26 18:49:46 +00:00
Nils Adermann
c4ebef7f27 - some JS magic to make color bbcode work properly with selected text [Bug #1118]
git-svn-id: file:///svn/phpbb/trunk@5730 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-03-26 16:12:54 +00:00
Meik Sievertsen
1e895071d4 ok, this should work now (multi-table deletion syntax changed between mysql 4.0 and mysql 4.1)
git-svn-id: file:///svn/phpbb/trunk@5728 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-03-26 11:36:54 +00:00
Nils Adermann
8a32e0de74 - correctly use DISTINCT and GROUP BY in search related SQL [Bug #1256]
- always display views and replies in search results [Bug #1223]
- display error messages occuring during search index creation/deletion [Bug #1274]
- correctly align the ACP link on the search results page [Bug #1160]
- fixed the search forum box [Bug #1300] and added a search topic box (subBlue: can you please position this a little more visible, didn't want to mess with the CSS ;-))
- correctly check and use show_results on the search page


git-svn-id: file:///svn/phpbb/trunk@5727 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-03-26 01:36:26 +00:00
Graham Eames
ed32b4d8dc A small change to the ordering to try and ensure that the mysql module with the most functionality is listed first so that people are not using the old mysql3 one if they don't check the list.
This will probably get looked at again later


git-svn-id: file:///svn/phpbb/trunk@5726 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-03-25 19:53:53 +00:00
Meik Sievertsen
1a8c91b0d4 ok, thought about this now for too long. I think the best solution circumventing memory consumption and not introducing "hacks" is to seperate module information (and probably more in 3.2 for installation/uninstallation) from the main code.
git-svn-id: file:///svn/phpbb/trunk@5725 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-03-25 19:14:55 +00:00
Meik Sievertsen
64fbadf3d6 changed the way re-authentication is handled, basically hardening the process.
- also forbid re-authenticating as another user.

needs further testing.


git-svn-id: file:///svn/phpbb/trunk@5724 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-03-25 17:21:32 +00:00
Meik Sievertsen
1096b13c7e make sure sql ary is filled before executing the query
git-svn-id: file:///svn/phpbb/trunk@5723 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-03-25 17:00:53 +00:00
Meik Sievertsen
c92e1c12a0 save graham temporarly some headaches. ;)
git-svn-id: file:///svn/phpbb/trunk@5722 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-03-25 16:19:20 +00:00
Meik Sievertsen
30a0cf29fb do not ask why i put the pm table there instead of the polls. :o
- remove forum description from title tag (now it's able to hold bbcode etc. resulting in broken layout)


git-svn-id: file:///svn/phpbb/trunk@5721 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-03-25 16:10:57 +00:00
Graham Eames
80e28a2db7 BBCode parser needs instantiating [#1241]
git-svn-id: file:///svn/phpbb/trunk@5720 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-03-25 16:05:03 +00:00
Meik Sievertsen
5d2bba8e70 #1232
git-svn-id: file:///svn/phpbb/trunk@5719 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-03-25 15:46:20 +00:00
Graham Eames
384e434fca UI changes to the database settings section of the installer
Note: To prevent issues with incorrect database settings, it is now no longer possible to pass this point without the settings having been tested to make sure they work


git-svn-id: file:///svn/phpbb/trunk@5718 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-03-25 15:44:35 +00:00
Meik Sievertsen
852dcd3127 #1251
git-svn-id: file:///svn/phpbb/trunk@5717 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-03-25 15:39:29 +00:00
Meik Sievertsen
b2e44f5ba1 bug #1271
git-svn-id: file:///svn/phpbb/trunk@5716 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-03-25 15:35:20 +00:00
Meik Sievertsen
844aad7ff7 fix "copy permissions" as well as shortening the $acl_url for redirecting to the permissions screen.
git-svn-id: file:///svn/phpbb/trunk@5715 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-03-25 15:32:52 +00:00
Graham Eames
791b580f43 Get user lookups working [#1281, #1282]
git-svn-id: file:///svn/phpbb/trunk@5714 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-03-25 15:30:57 +00:00
Meik Sievertsen
d1676cb6bf my attempt to fix custom profile fields
- added the load settings for custom profile fields
- re-added our famous make_clickable function
- removed group_by clauses (due to the lang id selection the group by clause is no more needed)

I hope that i have not just created new bugs. ;)


git-svn-id: file:///svn/phpbb/trunk@5712 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-03-25 14:16:17 +00:00
Meik Sievertsen
7f497764e1 fixed tiny bugs
git-svn-id: file:///svn/phpbb/trunk@5711 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-03-25 13:05:28 +00:00
Meik Sievertsen
f49a8147b7 fix #1213
git-svn-id: file:///svn/phpbb/trunk@5710 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-03-25 12:35:23 +00:00
Meik Sievertsen
5de37a5c0a - extended session_page and user_lastpage to hold a maximum of 200 chars (instead of 100) - session_page gets truncated to 200 chars
- streamlined the process of generating text with bbcode/smilies/urls (forum rules, forum descriptions, group descriptions at the moment)
- a bunch of schema changes for the bbcode-enabled text and the session page change (sorry for this)
- if decode_message is used there is no need to include functions_posting.php anymore (should fix the search.php bug too)


git-svn-id: file:///svn/phpbb/trunk@5709 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-03-25 12:07:13 +00:00
David M
529aabd46d - We do On-the-fly file writting for everything in backups, should speed things up
- Removed the ability to make archives for backups... Its one sql file, no need to use some heavy archive to store it...
- Made it easier to use the restore feature
- Flushed the data buffer at the end of every insert statement, this should make large tables (like posts and topics) faster to backup
- Some bug fixes :D


git-svn-id: file:///svn/phpbb/trunk@5708 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-03-25 01:03:17 +00:00
Meik Sievertsen
e8e4d92d01 ahhh, there we have it... related to several reports about code blocks and bbcode parsing (#1302)
git-svn-id: file:///svn/phpbb/trunk@5707 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-03-24 18:05:47 +00:00
Nils Adermann
56a70484ef - some adjustments for search related config options
- one year is 365 days long (52 * 7 = 364, but we have one more day each year ;-)) [Bug #1181]
- fixed search own posts link in UCP [Bug #1163]
- corrections to timezone selection [Bug #1148]
- fix quickmod tools on post details page [Bug #1188]


git-svn-id: file:///svn/phpbb/trunk@5705 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-03-23 19:23:52 +00:00
David M
cccada69c0 - Bug 1245
git-svn-id: file:///svn/phpbb/trunk@5704 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-03-23 01:59:14 +00:00
David M
09d5c596eb - Improved Backup ACP UI, more work to come...
git-svn-id: file:///svn/phpbb/trunk@5703 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-03-23 01:48:49 +00:00
Graham Eames
58f723374b Adding in the next page of the installer
Note that this still falls back to the old code part-way through the install


git-svn-id: file:///svn/phpbb/trunk@5702 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-03-22 21:03:47 +00:00
Meik Sievertsen
22063e974a - hopefully fixed inactive create forum input field + button for safari 2.0.2 (floating issue?)
- updated format_date calls (fixed ancient calls)
- fixed newest username setting for activating users through the admin panel


git-svn-id: file:///svn/phpbb/trunk@5701 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-03-22 18:48:46 +00:00
Meik Sievertsen
654a35c653 strange... must've been my editor not reloading between updates.
git-svn-id: file:///svn/phpbb/trunk@5700 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-03-22 17:38:46 +00:00
Meik Sievertsen
1e2ed1bc9f adjusting sql_freeresult a bit as well as our error handler (it now prints out if it is because of DEBUG_EXTRA being defined - which is not enabled within the betas/rc's and stable releases).
git-svn-id: file:///svn/phpbb/trunk@5699 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-03-22 17:30:20 +00:00
Meik Sievertsen
02239880a5 make sure we check the array we use before we use it. ;)
git-svn-id: file:///svn/phpbb/trunk@5698 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-03-22 17:04:59 +00:00
Meik Sievertsen
d73353cdae ok, this will fix various permission discrepances. :) What happened is that the static permission cache and the static acl forum ids were used... globally (of course). But this led to users inheriting permissions from previously called user permission setups resulting in users seeing private forums in profiles as well as other areas i could imagine being "wrong". Thanks to Yawner for letting me login with his username. :D
git-svn-id: file:///svn/phpbb/trunk@5697 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-03-22 13:36:58 +00:00
Meik Sievertsen
267e4d4616 fix pruning of users
git-svn-id: file:///svn/phpbb/trunk@5696 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-03-22 11:13:33 +00:00
Meik Sievertsen
6e166aa889 added some language strings as well as fixing the activity listing (Yawner, could you please test it again at area51?)
git-svn-id: file:///svn/phpbb/trunk@5695 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-03-22 10:33:30 +00:00
Meik Sievertsen
b206d63c51 do not validate username when disallowing it. ;) - #1220
git-svn-id: file:///svn/phpbb/trunk@5694 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-03-22 10:17:48 +00:00
Meik Sievertsen
95e7b12706 Use another color for special group seperation (makes it easier to distinct between special groups and selected groups) - #1147
git-svn-id: file:///svn/phpbb/trunk@5693 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-03-22 10:10:36 +00:00
David M
aba2d59c88 - Needless regular expressions
git-svn-id: file:///svn/phpbb/trunk@5692 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-03-22 06:23:37 +00:00
David M
0f32198272 - Bug 1200
git-svn-id: file:///svn/phpbb/trunk@5691 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-03-22 02:28:41 +00:00
David M
b2f24f965c - Bug 1201
git-svn-id: file:///svn/phpbb/trunk@5690 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-03-22 02:20:59 +00:00
David M
2b24cdb40f - Bug 1192
git-svn-id: file:///svn/phpbb/trunk@5689 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-03-22 02:17:34 +00:00
David M
64e72f98d4 - Bug 1202
git-svn-id: file:///svn/phpbb/trunk@5688 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-03-22 02:10:33 +00:00
David M
58466c2a9d - Bug 1197
git-svn-id: file:///svn/phpbb/trunk@5687 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-03-22 01:49:32 +00:00
David M
3e1ca2ab65 - Bug 1194
git-svn-id: file:///svn/phpbb/trunk@5686 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-03-22 01:36:28 +00:00
David M
77167195c7 - Bug 1183
git-svn-id: file:///svn/phpbb/trunk@5685 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-03-22 00:48:43 +00:00
David M
a52cff70d2 - Bug 1144
- Bug 1199
- We can't free a result that was already free()'d!


git-svn-id: file:///svn/phpbb/trunk@5684 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-03-22 00:45:58 +00:00
David M
c5a7c26693 - Fixed my fix :D
git-svn-id: file:///svn/phpbb/trunk@5683 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-03-21 23:45:59 +00:00
David M
6950059475 - Bug 1100
git-svn-id: file:///svn/phpbb/trunk@5682 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-03-21 23:40:37 +00:00
David M
0818b471e6 - Bug 1177
git-svn-id: file:///svn/phpbb/trunk@5681 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-03-21 23:29:54 +00:00
Meik Sievertsen
6e80318f89 ability to set all role options to UNSET
git-svn-id: file:///svn/phpbb/trunk@5680 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-03-21 21:39:16 +00:00
Graham Eames
295a463e99 Retrieve user_warning count in case a template designer wishes to display it on this page
git-svn-id: file:///svn/phpbb/trunk@5679 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-03-21 19:23:45 +00:00
Meik Sievertsen
21de871aff - a bunch of bugfixes. :P
git-svn-id: file:///svn/phpbb/trunk@5678 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-03-21 19:23:34 +00:00
Graham Eames
44c60cff4d A small typo that I didn't commit last night
git-svn-id: file:///svn/phpbb/trunk@5677 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-03-21 18:00:48 +00:00
Graham Eames
41d2a2052c Change the handling of language detection to avoid errors if the language header is either not sent by the browser or there is no matching language available.
Also added support for forcing a language via the URL for now, this may or may not remain


git-svn-id: file:///svn/phpbb/trunk@5676 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-03-20 21:03:51 +00:00
Graham Eames
c01c69e63f Missing language strings in warning system [Bug #1156]
git-svn-id: file:///svn/phpbb/trunk@5675 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-03-20 20:42:48 +00:00
Nils Adermann
cbbc1d2a45 - Bug 1104: fixed a typo ($necoding => $encoding)
- Bug 1139: active_topics now has a button to submit the "Display posts from previous <time>" form
- active_topics doesn't return NULL rows anymore
- fix a padding bug in the search forum listing


git-svn-id: file:///svn/phpbb/trunk@5674 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-03-19 22:25:43 +00:00
Graham Eames
7dda2cd9bf Move the $Id tag to prevent output errors
git-svn-id: file:///svn/phpbb/trunk@5673 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-03-19 18:47:56 +00:00
Meik Sievertsen
c272b05969 - bbcode ids need to be greater than NUM_CORE_BBCODES
git-svn-id: file:///svn/phpbb/trunk@5672 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-03-19 14:58:34 +00:00
Nils Adermann
5f6473fd54 Two little changes to language files:
- Bug 1093
- Bug 1087


git-svn-id: file:///svn/phpbb/trunk@5671 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-03-19 14:49:59 +00:00
Meik Sievertsen
b4c9cd7590 - add our beloved in_phpbb check
git-svn-id: file:///svn/phpbb/trunk@5670 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-03-19 14:23:21 +00:00
Meik Sievertsen
2aa4d3ab07 do not check forum acl for dropdown menus in permission screens
git-svn-id: file:///svn/phpbb/trunk@5668 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-03-19 12:24:10 +00:00
Meik Sievertsen
34d855faa9 temporarily updated authors file
git-svn-id: file:///svn/phpbb/trunk@5667 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-03-19 11:33:32 +00:00
Meik Sievertsen
fe8958258c - ok, we should try to write the sql data as early as possible (to prevent extensive memory consumption). What needs to be done now? Trying to compress in realtime if specified and it would be also nice if the filenames had a more meaningful naming. :)
git-svn-id: file:///svn/phpbb/trunk@5666 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-03-19 11:17:47 +00:00
David M
04a228ecbc - Free some results!
- Nicer MySQLhandling (still needs work)


git-svn-id: file:///svn/phpbb/trunk@5665 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-03-19 05:35:11 +00:00
Graham Eames
b20106ee28 We'll extend the idea to the sessions themselves as well on reflection
git-svn-id: file:///svn/phpbb/trunk@5663 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-03-18 23:08:30 +00:00
Meik Sievertsen
273f1a79eb - ok, now the correct ones. :/
git-svn-id: file:///svn/phpbb/trunk@5662 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-03-18 22:53:14 +00:00
Nils Adermann
cfffababd0 And the typo-of-the-day-award goes to:
Maintenance aka Maintenence aka Maintanence

Who knows what it will turn out to look like next? (maybe Maitanance?)


hmm .... so many commits today!


git-svn-id: file:///svn/phpbb/trunk@5661 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-03-18 22:13:54 +00:00
Graham Eames
9d5b427032 Cross-port a patch from 2.0.20 into the 3.0 branch
git-svn-id: file:///svn/phpbb/trunk@5660 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-03-18 22:05:08 +00:00
Graham Eames
af2036427a And of course, this is going to be 3.0 and not 2.2.....
git-svn-id: file:///svn/phpbb/trunk@5659 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-03-18 19:46:02 +00:00
Nils Adermann
8c2dddf0b7 - fixed a little bug in the (old) installer
git-svn-id: file:///svn/phpbb/trunk@5658 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-03-18 19:35:36 +00:00
Graham Eames
1d26f77f8b I got attacked by a dictinary..... :P
git-svn-id: file:///svn/phpbb/trunk@5657 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-03-18 19:35:07 +00:00
Graham Eames
178de75e65 Small typo :)
git-svn-id: file:///svn/phpbb/trunk@5656 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-03-18 19:24:05 +00:00
Nils Adermann
f44be10957 *** empty log message ***
git-svn-id: file:///svn/phpbb/trunk@5655 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-03-18 16:45:29 +00:00
Graham Eames
de9418db2f Replacing the first part of the installer ready for some testing
This will bounce you back to the previous installer part way through


git-svn-id: file:///svn/phpbb/trunk@5654 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-03-18 16:39:05 +00:00
Nils Adermann
957502a28b - Added init_{$auth_plugin} function which can be used to test a connection to the authentication system before actually saving the new configuration. This will hopefully stop people from locking themselves out by using an authentication system that they cannot connect to.
git-svn-id: file:///svn/phpbb/trunk@5653 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-03-18 16:19:18 +00:00
Nils Adermann
9f7bc93125 - Lesson learned: If you rename something rename it in all places and not just in a few :)
(min_search_chars/max_search_chars/load_search_upd now prefixed with fulltext_phpbb)
- search_indexing_state should not be dynamic
- a topic link should link to a topic ;-)


git-svn-id: file:///svn/phpbb/trunk@5652 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-03-18 14:30:47 +00:00
Meik Sievertsen
d9c48b494c thanks to SHS` for writing an updated version of the terms and the privacy policy.
git-svn-id: file:///svn/phpbb/trunk@5650 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-03-18 12:17:22 +00:00
Nils Adermann
9cd89343a2 - replaced mcp reports system with a simplified version
- fixed links to mcp_reports


git-svn-id: file:///svn/phpbb/trunk@5649 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-03-18 10:54:14 +00:00
David M
ca1e11dc2a :P
git-svn-id: file:///svn/phpbb/trunk@5648 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-03-18 06:41:08 +00:00
David M
593ab697a0 - Cleaned up some compress stuff
- Replaced deprecated functions in the PostrgreSQL DBAL
- Added an undefined constant during install
- Oh, and we now have backups :D We currently work with all the MySQL flavors, PostgreSQL and SQLite...


git-svn-id: file:///svn/phpbb/trunk@5647 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-03-18 06:39:47 +00:00
Graham Eames
f2cc5c093d Warning changes for the other schema files
git-svn-id: file:///svn/phpbb/trunk@5646 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-03-17 21:02:32 +00:00
Meik Sievertsen
fb999487bc remove the echo...
git-svn-id: file:///svn/phpbb/trunk@5644 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-03-17 12:55:47 +00:00
Meik Sievertsen
4962db5f67 - fix some bugs...
git-svn-id: file:///svn/phpbb/trunk@5643 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-03-17 12:51:32 +00:00
David M
59ba11f18f - Postgre installs now work... kinda...
git-svn-id: file:///svn/phpbb/trunk@5642 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-03-17 05:30:44 +00:00
David M
6c08fa7c26 - Fixing some borked stuff in the schema ( it is _still_ borked tho )
git-svn-id: file:///svn/phpbb/trunk@5641 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-03-17 05:29:16 +00:00
Nils Adermann
06d87affde Give us our old ACP design back :o
git-svn-id: file:///svn/phpbb/trunk@5640 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-03-16 16:26:14 +00:00
Nils Adermann
f11d5dd02b - use a_search permission
- check for MyISAM in fulltext_mysql


git-svn-id: file:///svn/phpbb/trunk@5639 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-03-16 16:22:32 +00:00
David M
bfd169e7ac - SQLite is now usable; we died on certain queries as well as a schema issue (I took the liberty of applying some RegEx-Fu to the parser :D)
git-svn-id: file:///svn/phpbb/trunk@5638 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-03-16 00:09:43 +00:00
Nils Adermann
7afd25bbd8 oops, wrong place
git-svn-id: file:///svn/phpbb/trunk@5637 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-03-15 23:27:17 +00:00
Nils Adermann
7fd17b8251 - removed search settings from load page
- no need to retrieve mysql information on every page => removed (fulltext_mysql)
- added init() method to search plugins which is called when the search backend is changed
- optional create/delete index functions for methods which don't need to loop through all posts (like fulltext_mysql)
- index statistic functions for search plugins, displayed on acp search index page
- only remove words above 60% (fulltext_phpbb)
- added acp method to search plugins so they can display config options specific to a certain search backend
- renamed fulltext_phpbb specific options to make clear that they are a part of the plugin
- reordered lang entries for the load settings section

added acp_search.php:
- settings: general options / search backend / backend specific options
- index: statistics / delete index / create index (progress popup while processing)


git-svn-id: file:///svn/phpbb/trunk@5636 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-03-15 23:20:04 +00:00
Graham Eames
e221b03b95 Some slight alterations for another forthcoming feature.
Tom: If you want to clean up my CSS changes for this or change the colour for completed stages, feel free ;-)


git-svn-id: file:///svn/phpbb/trunk@5635 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-03-15 21:52:48 +00:00
Meik Sievertsen
5b2abb82f5 hmm, forgot this one.
git-svn-id: file:///svn/phpbb/trunk@5634 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-03-15 13:11:10 +00:00
Meik Sievertsen
d907d066f2 - adding ability to assign moderator specific ban options
- 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
2006-03-15 13:03:57 +00:00
Graham Eames
8c3f94f9ae We now return the log_id of newly created logs. This is used by the warnings code and may prove to be of use elsewhere or in MODs
git-svn-id: file:///svn/phpbb/trunk@5631 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-03-14 20:35:19 +00:00
Graham Eames
5f0f004a0f *** empty log message ***
git-svn-id: file:///svn/phpbb/trunk@5630 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-03-14 20:32:18 +00:00
Graham Eames
9df616d18a Base report reasons
git-svn-id: file:///svn/phpbb/trunk@5629 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-03-14 20:30:55 +00:00
Graham Eames
d3aa085f74 A q should be followed by a u ;-)
git-svn-id: file:///svn/phpbb/trunk@5628 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-03-14 20:13:42 +00:00
Meik Sievertsen
fa6de92e6b erm... actually remove the debugging thingy... holla
git-svn-id: file:///svn/phpbb/trunk@5627 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-03-14 13:32:48 +00:00
Meik Sievertsen
0572b6efbf slightly different redirect function (now hopefully able to handle all sorts of uris)
git-svn-id: file:///svn/phpbb/trunk@5626 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-03-14 13:29:12 +00:00
David M
148f259bde - empty() expects a variable, not a function :D
git-svn-id: file:///svn/phpbb/trunk@5625 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-03-13 20:50:56 +00:00
Meik Sievertsen
d85c4e73ed - added users activity load setting
git-svn-id: file:///svn/phpbb/trunk@5624 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-03-13 18:05:12 +00:00
Meik Sievertsen
939b9c28ba blah... not needed
git-svn-id: file:///svn/phpbb/trunk@5623 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-03-12 23:30:44 +00:00
Meik Sievertsen
9988679d56 - streamlined reports to consist of the feature set we decided upon (Nils, your turn now)
- use getenv instead of $_ENV (with $_ENV the case could be wrong)
- permission fixes (there was a bug arising with getting permission flags - re-added them and handled roles deletion differently)
- implemented max login attempts
- changed the expected return parameters for logins/sessions
- added acp page for editing report/denial reasons
- other fixes here and there


git-svn-id: file:///svn/phpbb/trunk@5622 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-03-12 23:19:55 +00:00
Graham Eames
f4cfd3665f Building the foundations for some later changes to the installer
This code doesn't actually do anything yet ;-)


git-svn-id: file:///svn/phpbb/trunk@5620 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-03-12 15:52:10 +00:00
David M
1adfb39cba - Moved the image loading outside the big loop. This brings fewer comparisons and allows us to unload the image data sooner.
- Used a more appropriate method to break the images into chunks.


git-svn-id: file:///svn/phpbb/trunk@5619 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-03-11 01:52:25 +00:00
David M
2fb1507670 - ord() always returns a unsigned integer, no need to force it positive
git-svn-id: file:///svn/phpbb/trunk@5618 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-03-10 05:35:23 +00:00
David M
678ea04497 We all make mistakes :D
git-svn-id: file:///svn/phpbb/trunk@5617 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-03-10 00:24:46 +00:00
Graham Eames
f02a98c71b Efficiency change
git-svn-id: file:///svn/phpbb/trunk@5615 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-03-09 19:57:47 +00:00
Meik Sievertsen
b36c02f320 - fix cookie shortening
- 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
2006-03-09 18:32:50 +00:00
David M
b8834051eb - By default, new installations of magick add itself to PATH and not to a variable that it creates.
git-svn-id: file:///svn/phpbb/trunk@5611 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-03-09 02:43:35 +00:00
Graham Eames
891c3d2a60 Add the mcp log viewer to the initial module data
git-svn-id: file:///svn/phpbb/trunk@5610 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-03-08 20:59:49 +00:00
Nils Adermann
38176447a8 - log entries for deleted topics don't provide a link to the topic or to the topic logs, do we need to change handling of this else where?
- added select all/deselect all to mcp_forum
- realigned mcp_forum.html
- don't display announcements on all pages in mcp_forum => easier use of "select all" + delete/other function


git-svn-id: file:///svn/phpbb/trunk@5609 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-03-08 17:56:24 +00:00
David M
91720e826f Weee! My turn to bug things up :D
- A moved topic has _two_ forum_ids, we must update the tracking info on the "fake" forum and the "real" forum.
- Welcome back to register_globals! :P


git-svn-id: file:///svn/phpbb/trunk@5608 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-03-06 23:45:21 +00:00
Nils Adermann
21f3fbc4be Me, me, me!
- only search unapproved posts/topics in forums where the user got the m_approve permission
- resize the search cache when it grows too huge (drop distant pages)
- added unread link to search results page
- streamlined search results and viewforum html code for displaying topics

so we're waiting for David now :)


git-svn-id: file:///svn/phpbb/trunk@5607 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-03-06 18:21:54 +00:00
Graham Eames
2246c8d600 Broken images begone!
Who wants to go next?


git-svn-id: file:///svn/phpbb/trunk@5606 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-03-06 17:30:29 +00:00
Graham Eames
3eb7f4ec28 Configure the warning expiry
git-svn-id: file:///svn/phpbb/trunk@5605 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-03-06 17:29:48 +00:00
Meik Sievertsen
c01597499c - added "display_on_posting" setting to custom bbcodes (creates a button with the bbcode tag)
- fixed forum editing and parent id selection
- completely removed HTML support (it only creates security problems)
- changed cache_moderators() to reflect permission changes


git-svn-id: file:///svn/phpbb/trunk@5603 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-03-06 14:03:56 +00:00
Graham Eames
14b6714c93 Expire issued warnings after and admin configurable time
TODO: Add config option for this value to the ACP


git-svn-id: file:///svn/phpbb/trunk@5602 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-03-04 17:34:04 +00:00
Bart van Bragt
70b20a98f7 Reporting system revised. Needs some major cleanup and is missig some functionality (assign report, some overviews, decent notifications) but the basics are there. More after the weekend :)
git-svn-id: file:///svn/phpbb/trunk@5601 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-03-04 13:50:52 +00:00
Meik Sievertsen
0525406c3b show links to topic/log/forum...
git-svn-id: file:///svn/phpbb/trunk@5599 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-03-03 09:21:33 +00:00
David M
491ae83539 - refactored code
- nicer XML output


git-svn-id: file:///svn/phpbb/trunk@5598 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-03-02 04:39:48 +00:00
David M
2c7f177b1d - The sha1 hash is a standard part of PHP, mhash is not needed for Jabber :D
git-svn-id: file:///svn/phpbb/trunk@5597 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-03-02 01:09:55 +00:00
David M
9313494e68 This should work.. maybe... :P
git-svn-id: file:///svn/phpbb/trunk@5596 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-03-02 01:05:32 +00:00
Meik Sievertsen
f9a451cce2 - some bugfixes
- committed coding guidelines as they are at area51
- removed script_path (needs a close inspection later)
- removed the need for server_name and server_port
- able to define server port/name/protocol and force the user-defined server vars (very handy for proxy setups)


git-svn-id: file:///svn/phpbb/trunk@5595 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-03-01 21:48:02 +00:00
David M
cbfe138cdc - Proper iteration of files
git-svn-id: file:///svn/phpbb/trunk@5594 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-03-01 00:02:31 +00:00
Nils Adermann
0e8e0b6504 CVS commit mail test
git-svn-id: file:///svn/phpbb/trunk@5593 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-02-28 18:15:38 +00:00
Tom Beddard
073f4824ac Fixed undefined poll and topic_attachment variables when editing posts.
git-svn-id: file:///svn/phpbb/trunk@5588 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-02-26 08:38:27 +00:00
Meik Sievertsen
cfec27c968 checkin for providing cvs commandline list.
git-svn-id: file:///svn/phpbb/trunk@5587 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-02-25 20:46:44 +00:00
Nils Adermann
597b1ebced just remove a little error message that came up in a very seldom situation
git-svn-id: file:///svn/phpbb/trunk@5586 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-02-25 20:25:05 +00:00
Meik Sievertsen
4bca9f448e test new syncmail version...
git-svn-id: file:///svn/phpbb/trunk@5585 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-02-25 20:19:42 +00:00
Nils Adermann
4bcfafdc64 - allow local moderators to properly use the mcp for more than one forum (mcp)
- automatically get a forum id for global topics if needed (mcp)
- allow linking to unapproved topics via a post id (viewtopic)
- use #p[post_id] anchor (mcp_post)
- use actions where appropriate (mcp_queue)
- added approve_details mode (mcp_queue)
- use new post details page (mcp_queue)
- adding missing lang keys for (dis)approval of topics/posts (mcp_queue)
- return to topic link (mcp_topic)
- some changes to follow the coding guidelines


git-svn-id: file:///svn/phpbb/trunk@5584 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-02-25 12:46:31 +00:00
David M
f95e730adf Another one bites the dust :D
- Nicer way of cleaning junk in PM export
- Added various signature and posting controls :P


git-svn-id: file:///svn/phpbb/trunk@5583 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-02-25 05:46:52 +00:00
David M
73a2c56104 - We only write to the archive ONCE for every file and folder when working with tar files
- Checksum is faster, uses some precomputation to speed things up
- We only needed to pad the end of the archive with 512 nulls, not 1024 :D
- Added some comments regarding the other fields ;-)


git-svn-id: file:///svn/phpbb/trunk@5581 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-02-24 18:27:56 +00:00
Meik Sievertsen
724b37ae97 - blabla, additional bugfixing permissions...
git-svn-id: file:///svn/phpbb/trunk@5580 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-02-24 17:33:42 +00:00
David M
37e0e0a4da - fseek -> rewind
- fewer read commands, less ugly array stuff :D
- much cleaner way to deal with the version flag, stored files are now differently labeled than deflated files ( we follow the zip spec better than 7-Zip :D )


git-svn-id: file:///svn/phpbb/trunk@5579 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-02-24 05:30:25 +00:00
David M
835c9835d0 Appending to the string is faster than copying it. Additionally, str_repeat is optimized for strings like "\0". This issue only came up with really, really large files to compress ( 150 MB + !)
git-svn-id: file:///svn/phpbb/trunk@5578 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-02-23 23:54:34 +00:00
Meik Sievertsen
718a2bf4cd hehe, unsigned varchar, yep, of course...
git-svn-id: file:///svn/phpbb/trunk@5577 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-02-23 21:53:43 +00:00
Meik Sievertsen
c941b1863a ok, slap me once..... but hard. (all acl entries got removed while setting permissions... you want users having more than one permisions, don't you?)
git-svn-id: file:///svn/phpbb/trunk@5576 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-02-23 21:06:15 +00:00
David M
ac011448ab - Remove the BBCode UIDs from the output
- Faster generation of CAPTCHA images


git-svn-id: file:///svn/phpbb/trunk@5575 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-02-22 22:17:36 +00:00
Meik Sievertsen
6b13f94be9 implementing permission roles
- copy permissions (adding groups)
- copy permissions (adding forums)
- checking proper groupadd/del settings
- added intro page to permissions (to give an overview and quick links)
- able to select forums + subforums, single forum, all groups, all users (permission screens)
- able to reset permissions (only reset input field)
- fix forum deletion bug


git-svn-id: file:///svn/phpbb/trunk@5574 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-02-22 21:42:26 +00:00
David M
19d5dddaeb This is what I get for fixing CS issues...
git-svn-id: file:///svn/phpbb/trunk@5572 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-02-22 14:41:41 +00:00
David M
2d8700239f Just some CS stuff :p
git-svn-id: file:///svn/phpbb/trunk@5571 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-02-22 14:25:10 +00:00
Nils Adermann
3da86bb615 - properly hide items
git-svn-id: file:///svn/phpbb/trunk@5570 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-02-22 11:39:27 +00:00
David M
1a96cc09c1 No functional change, just making it look nicer...
git-svn-id: file:///svn/phpbb/trunk@5569 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-02-21 21:12:17 +00:00
Graham Eames
5cffb39239 Fix a minor bug with deletions
git-svn-id: file:///svn/phpbb/trunk@5568 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-02-21 20:48:31 +00:00
David M
d6c8a4a1ae - You can now export an entire folder as either CSV or XML :D
git-svn-id: file:///svn/phpbb/trunk@5567 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-02-21 19:49:35 +00:00
Meik Sievertsen
cddf792dea - implementing David's proposed expression changes (some of them already noted within the events CCP)
git-svn-id: file:///svn/phpbb/trunk@5566 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-02-21 10:32:19 +00:00
Meik Sievertsen
22b9a9d886 what a single character can influence actually... "leo-magic" -> gotcha
git-svn-id: file:///svn/phpbb/trunk@5565 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-02-20 14:23:12 +00:00
David M
e9c5d6d26d Movin' a lang var, removin' a useless var
git-svn-id: file:///svn/phpbb/trunk@5564 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-02-19 15:13:26 +00:00
David M
6e2f8a1226 Er... You didn't see this, right?
git-svn-id: file:///svn/phpbb/trunk@5563 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-02-19 14:21:05 +00:00
David M
ef8b25cb13 - Uploading changed language files in the language ACP panel :-)
git-svn-id: file:///svn/phpbb/trunk@5562 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-02-19 14:17:12 +00:00
Meik Sievertsen
26a6d215d0 - fix some tiny bugs
- fix module system (sometimes the layout is broken due to falsly deactivated categories)
- auth updates (setting permissions)
- fix "category jumping" bug in acp
- u_action is defined by the module itself


git-svn-id: file:///svn/phpbb/trunk@5558 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-02-18 13:54:12 +00:00
Meik Sievertsen
f2f0dc7892 - only minor adjustements (we are now able to use other functions due to the increased php requirements)
git-svn-id: file:///svn/phpbb/trunk@5557 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-02-16 10:26:52 +00:00
Meik Sievertsen
2ec9c9c82c display complete backtrace. ;)
git-svn-id: file:///svn/phpbb/trunk@5556 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-02-15 15:50:14 +00:00
David M
ff9df321ee - Usage of short tags that did not use short tag features is useless..
git-svn-id: file:///svn/phpbb/trunk@5555 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-02-14 03:26:30 +00:00
David M
476f271aa4 - Fixes a weird bug regarding SQL parsing..
git-svn-id: file:///svn/phpbb/trunk@5554 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-02-12 21:03:18 +00:00
Meik Sievertsen
81f78690db my turn to break things... harharhar
- checking in permission settings and permission masks
- permission presets and documentation not finished yet
- added backtrace function to determine file/line for sql errors
- fixed marlist for orphan attachments/groups/logs/users
- able to change anonymous user settings/permissions now
- re-arranged admin permissions a bit (added some and removed some)
- setting forum permissions after creating/editing forum now selects every default group (copy permisson/dropdown to be added for adding forums)
- finished user permissions in users acp

note: the layout for permissions might change
devs: please empty the user_permissions in phpbb_users. Also, first change your auth_options table, remove all cache files and then re-set admin permissions. After having set the admin permissions you can update your modules table (else you will not see the permission tabs) - or empty the auth setting within the modules table to be able to see the permission modules (they rely on newly added permission options)


git-svn-id: file:///svn/phpbb/trunk@5553 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-02-12 19:21:00 +00:00
Nils Adermann
3f323153b5 - new default result mode: posts
- make use of f_search permission


git-svn-id: file:///svn/phpbb/trunk@5552 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-02-12 18:35:16 +00:00
Meik Sievertsen
107297f1e6 - only a slight change...
- re-set forum_style too


git-svn-id: file:///svn/phpbb/trunk@5551 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-02-12 17:46:39 +00:00
David M
43e7ac547c - The working directory can't be trusted, we give the path explictly instead
git-svn-id: file:///svn/phpbb/trunk@5550 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-02-12 17:17:08 +00:00
Nils Adermann
ddf61cbaef *** empty log message ***
git-svn-id: file:///svn/phpbb/trunk@5548 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-02-12 15:45:50 +00:00
Nils Adermann
6c1f403b8e - make acl_getf_global() availible to module auth checks
git-svn-id: file:///svn/phpbb/trunk@5547 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-02-12 15:07:44 +00:00
Nils Adermann
626d837db8 tiny fix so the board won't throw an error if it doesn't have any forums
git-svn-id: file:///svn/phpbb/trunk@5546 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-02-12 14:48:07 +00:00
Meik Sievertsen
17fdaa0678 - new acl method -> acl_getf_global()
usage example: acl_getf_global('m_approve'); returns true if user has m_approve permission in one or more forums, else false


git-svn-id: file:///svn/phpbb/trunk@5545 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-02-12 14:11:30 +00:00
David M
89feef3ddc - A MUCH better UI to editting an imageset :-)
git-svn-id: file:///svn/phpbb/trunk@5544 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-02-11 02:00:03 +00:00
Tom Beddard
9f99285149 Moved topic_review string into the common so it is available for the MCP
git-svn-id: file:///svn/phpbb/trunk@5543 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-02-10 22:48:12 +00:00
David M
677f9aedbf - It turns out that a very fast Adler-32 implementation exists, this removes the bulk of my runtime fears and allows me to make the script a little more readable.
- Found a neat way to express the size of the image computationally instead of counting the length
- Removed pointless iteration variables, they removed readability


git-svn-id: file:///svn/phpbb/trunk@5538 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-02-09 07:02:50 +00:00
David M
9d95b33c2c /me shoots himself
- Finally fixed that *@&$ bug!


git-svn-id: file:///svn/phpbb/trunk@5537 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-02-08 22:11:40 +00:00
David M
94cafb8b7f - A bug fix ( never noticed that the unset() touched the wrong var ) and a few minor (super minor) speed improvements
+ When from post inc to pre inc because pre is SLIGHTLY faster
+ The [] operations are very slow, it is easy enough to feed the array an index to insert at


git-svn-id: file:///svn/phpbb/trunk@5536 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-02-08 04:18:40 +00:00
Tom Beddard
4a595d458b Fixed an an undefined index issue when a topic was bumped by someone who hadn't posted in the topic (like an admin). Still not ideal as it won't state who bumped the topic in this case.
git-svn-id: file:///svn/phpbb/trunk@5534 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-02-07 17:51:42 +00:00
Meik Sievertsen
0942c1563c - fix typo... thanks tom. :)
git-svn-id: file:///svn/phpbb/trunk@5533 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-02-07 10:50:50 +00:00
Tom Beddard
ff0d7f45d7 Little MCP bug fixes
git-svn-id: file:///svn/phpbb/trunk@5531 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-02-06 21:28:39 +00:00
Graham Eames
b356ad1765 "was this used ever?" No, so off it goes to be recycled into something new... :P
git-svn-id: file:///svn/phpbb/trunk@5529 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-02-05 16:18:10 +00:00
Meik Sievertsen
ddecabbec7 - fix "Adding attachment extension fails"
git-svn-id: file:///svn/phpbb/trunk@5527 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-02-05 14:28:52 +00:00
Nils Adermann
db145d79b3 - removed unnecessary urlencode of highlight words
various mcp_main updates:
- generally make all the tools work again (mode/action changes)
- tidy up urls
- restructured quickmod code to use actions (we don't want too many module entries)


git-svn-id: file:///svn/phpbb/trunk@5526 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-02-05 01:40:45 +00:00
David M
b09c5f6a25 - Removes those silly errors during email check.
git-svn-id: file:///svn/phpbb/trunk@5525 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-02-05 00:02:10 +00:00
David M
fb0410903a - Please don't hurt me :p
git-svn-id: file:///svn/phpbb/trunk@5524 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-02-04 23:59:45 +00:00
Tom Beddard
05235d3452 Changed url target method for BBcode help links and fixed undefined index bug
git-svn-id: file:///svn/phpbb/trunk@5523 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-02-04 23:02:38 +00:00
Tom Beddard
0e0e36a86f Changed url target method for BBcode help links
git-svn-id: file:///svn/phpbb/trunk@5522 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-02-04 23:01:07 +00:00
David M
e64bee53ff - Tar extraction and compression has changed to be more efficent by making fewer read/write commands.
git-svn-id: file:///svn/phpbb/trunk@5521 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-02-04 22:29:57 +00:00
David M
db48dd0588 - This is some scary stuff!
The PNG spec allows for only one method of compression inside of IDAT chunks: inflate/deflate (Zlib). However, Zlib lets us do some crazy things as long as we make it happy by giving it an Adler hash and spawning some other needed data thus emulating a part of the Zlib spec :-) I just hope this works as I think it does :P


git-svn-id: file:///svn/phpbb/trunk@5518 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-02-04 17:59:25 +00:00
Meik Sievertsen
bd30d226a5 - ability to change anonymous user settings more easily
- fix serious bugs in permissions (always allowing if permissions explicitly set and getting wrong permission options from bitfield)
- added option for returning an array to make_forum_select
- again fixing bugs in module system (one for a very query consuming part and one for correctly filling the cache)


git-svn-id: file:///svn/phpbb/trunk@5517 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-02-03 20:59:39 +00:00
Meik Sievertsen
dd865bb517 - fix bug in getting memberships (now memberships are obtained for groups)
git-svn-id: file:///svn/phpbb/trunk@5516 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-02-03 12:29:20 +00:00
Tom Beddard
24daa6b21f Fixed layout in IE7. Still some fieldset legend issues remaining, but will get fixed once the browser becomes more stable.
git-svn-id: file:///svn/phpbb/trunk@5515 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-02-02 21:06:30 +00:00
Tom Beddard
de75ce31a4 updated the simple header styling & footers
git-svn-id: file:///svn/phpbb/trunk@5514 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-02-02 20:25:21 +00:00
Bart van Bragt
8f3483b986 Inconsistent password length
git-svn-id: file:///svn/phpbb/trunk@5513 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-02-01 19:04:14 +00:00
David M
1e25c5bece - We don't use the extra info because we can extrapolate the only thing of use (attributes) by using logic. Thus, we can skip large amounts of the file without missing any information.
git-svn-id: file:///svn/phpbb/trunk@5511 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-01-30 01:14:21 +00:00
Nils Adermann
db672ef596 just some tiny changes to meet the coding guidelines
git-svn-id: file:///svn/phpbb/trunk@5499 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-01-27 18:49:02 +00:00
David M
e78c215eba - More loose definition regarding what gets to be a folder and what does not (More accurate, we lost folders before...)
- Changed some fread()s to fseek()s
- Much faster, single loop ( This might eat up more mem! Please report findings! )


git-svn-id: file:///svn/phpbb/trunk@5498 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-01-27 06:51:52 +00:00
David M
e77bc7e936 - Tar extraction is MUCH faster, we parse the archive ONCE and create the directories on the spot instead of reading it twice and playing magic with file pointers. Also removed a potential leak.
- Zip extraction needs a small shot in the arm, files and archive must be handled a little better.


git-svn-id: file:///svn/phpbb/trunk@5497 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-01-27 04:20:12 +00:00
David M
5922903264 Fixes in both CAPTCHA and Compress
Compress:
- The "crc bug" is not a bug, it is actually a feature (the function returns an Adler hash, not a crc hash. This is more usefull for PNG files..) and was "fixed" by using the proper function instead of munging a substring
- Zip files that are BZip2'd are now supported for extraction :-)

CAPTCHA:
- PNG generation now returns positive numbers for CRC, length, height and width!
- We generate a variable number of images


git-svn-id: file:///svn/phpbb/trunk@5496 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-01-26 21:39:23 +00:00
Meik Sievertsen
90385cd79a - moved add_log out of functions_admin (this file should only be included in admin/admin-related pages)
- fixed cookie based topic tracking
- added missing config variables
- other minor things


git-svn-id: file:///svn/phpbb/trunk@5494 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-01-25 21:01:52 +00:00
Graham Eames
964615eb07 I'm removing the HEADER_INC check from the error handler to resolve incomplete output in some cases.
If this causes a problem in a specific case, please let me know the details


git-svn-id: file:///svn/phpbb/trunk@5491 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-01-23 19:43:39 +00:00
Meik Sievertsen
c0214e35e1 - fix minor bugs
git-svn-id: file:///svn/phpbb/trunk@5490 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-01-23 18:47:10 +00:00
Nils Adermann
4b08c14417 - added fulltext_mysql
- sort search results by topic author, not topic author id
- topic tracking on search results page
- dotted topics on search results page
- links to global announcements fixed


git-svn-id: file:///svn/phpbb/trunk@5488 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-01-22 19:13:12 +00:00
Meik Sievertsen
ec959d0001 - size select fix
- introduced function for building group options (acp)
- fixed acl_getf if negated option needs to be retrieved
- only using one function for updating post informations
- fixing module display if module is disabled
- if user is having a non-existent style do not print out error message, instead fix the users value and load the default style


git-svn-id: file:///svn/phpbb/trunk@5486 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-01-22 13:06:13 +00:00
Graham Eames
0650bd4d0d A few missing redirection changes
git-svn-id: file:///svn/phpbb/trunk@5485 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-01-22 12:41:04 +00:00
David M
f30bf5c9c8 D'oh!
git-svn-id: file:///svn/phpbb/trunk@5484 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-01-22 05:43:04 +00:00
David M
c10f287751 - Imagesets can now be edited! Hooray! ( Might need to add something.. )
git-svn-id: file:///svn/phpbb/trunk@5483 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-01-22 05:33:09 +00:00
Nils Adermann
7de53b46ec - search deals with global topics
- fixed some other search related bugs


git-svn-id: file:///svn/phpbb/trunk@5482 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-01-21 22:57:42 +00:00
Tom Beddard
133ce52d3b Further tweaks to the font sizes - looks nice on Windows and the Mac, IE and Firefox (the current area51 font settings are different from the CVS version). Note: Globally resetting the padding and margins is by far the easiest approach for cross browser & platform consistency. Also split each post pane on the viewtopic page to prevent a single wide non-wrapping post from spoiling the other posts.
git-svn-id: file:///svn/phpbb/trunk@5477 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-01-19 23:50:58 +00:00
Nils Adermann
93960a1b8e looks like I forgot to commit these two files :o
git-svn-id: file:///svn/phpbb/trunk@5476 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-01-19 16:38:00 +00:00
Meik Sievertsen
38a63d94be - fixing list display in post. i am not sure if i like resetting browsers default margin, padding and font sizes. :/
- still problems with the style and display on a PC (fonts are screwed up in postbody, not very well readable, letter spacing issues all over the place...) - might be that my system fonts are screwed of course and i am the only one having this problem. :)


git-svn-id: file:///svn/phpbb/trunk@5475 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-01-19 10:33:18 +00:00
Meik Sievertsen
120b965e14 at least update the config variable if nothing is done. :)
git-svn-id: file:///svn/phpbb/trunk@5472 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-01-18 19:26:04 +00:00
Meik Sievertsen
f8a3f05afd - fix two very annoying bugs
(1) mark topic read behaving incorrectly if editing posts (the topic gets marked unread)
(2) jump to wrong page number (viewtopic with post id) if descending post ordering is set


git-svn-id: file:///svn/phpbb/trunk@5471 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-01-18 18:06:40 +00:00
Meik Sievertsen
086d4dceac - change it a bit. ;)
git-svn-id: file:///svn/phpbb/trunk@5470 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-01-17 18:14:37 +00:00
Meik Sievertsen
247a7a8182 move around - better not call create_function in a loop
git-svn-id: file:///svn/phpbb/trunk@5469 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-01-17 18:09:00 +00:00
Meik Sievertsen
4d4eab9c32 just preparing...
git-svn-id: file:///svn/phpbb/trunk@5468 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-01-17 18:03:15 +00:00
Meik Sievertsen
4cab619758 With this font the textarea is stretched over the complete screen rendering nearly all forms "unreadable"
git-svn-id: file:///svn/phpbb/trunk@5467 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-01-17 17:47:11 +00:00
Graham Eames
f08b229ca0 The curse of cut&paste strikes once more...
git-svn-id: file:///svn/phpbb/trunk@5466 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-01-16 21:20:40 +00:00
David M
8c4b5f9a79 Got my can of bug spray recharged at my local fire department :-)
- Fixed weird bug in Groups ACP


git-svn-id: file:///svn/phpbb/trunk@5465 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-01-16 18:26:47 +00:00
David M
de526b2705 Sleeping at the wheel ;-)
git-svn-id: file:///svn/phpbb/trunk@5464 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-01-15 20:35:41 +00:00
David M
2c18c4756b - You can now see leaders in the UCP but can't touch 'em
git-svn-id: file:///svn/phpbb/trunk@5463 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-01-15 20:10:58 +00:00
Graham Eames
c3edbfa6f0 Initial implementation of a log viewer into the MCP
git-svn-id: file:///svn/phpbb/trunk@5460 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-01-14 22:57:19 +00:00
David M
49b29c03ce Rats! Out of Bug Spray... Still have a handy can of Superfluous Function-call Be-gone!
// TODO: Pick up more Bug Spray!


git-svn-id: file:///svn/phpbb/trunk@5459 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-01-14 20:35:52 +00:00
Meik Sievertsen
d4c38d09b5 let the swatch and marking work
git-svn-id: file:///svn/phpbb/trunk@5458 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-01-14 18:00:57 +00:00
David M
112ea5d602 I couldn't get it perfect on the first shot, eh?
git-svn-id: file:///svn/phpbb/trunk@5457 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-01-14 17:19:46 +00:00
David M
98fca7dea4 - Manage Groups now works! Hooray!
git-svn-id: file:///svn/phpbb/trunk@5456 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-01-14 17:17:38 +00:00
Graham Eames
887aa75aa2 A couple of minor bug fixes for note deletion
git-svn-id: file:///svn/phpbb/trunk@5455 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-01-14 17:00:15 +00:00
Meik Sievertsen
287992ea29 forgot one
git-svn-id: file:///svn/phpbb/trunk@5452 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-01-14 14:36:16 +00:00
Meik Sievertsen
0c03b4e45e - assign user rank
- only a few very tiny bugfixes


git-svn-id: file:///svn/phpbb/trunk@5451 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-01-14 14:34:46 +00:00
David M
5ae050ccd2 - InnoDB would not calculate the total size of a table.. this is now fixed..
- Applied regex majic to the stuff that checks MySQL version. Faster regex and easier to manage.


git-svn-id: file:///svn/phpbb/trunk@5450 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-01-14 04:52:41 +00:00
David M
538f06f849 - Special Groups became.. screwed up if they were editted.. discovered while working on other groups shtuff..
git-svn-id: file:///svn/phpbb/trunk@5449 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-01-14 02:51:53 +00:00
Graham Eames
4266570145 A small fix to allow unread messages to be viewed from the screen linked to in the header instead of disappearing to the inbox :-)
git-svn-id: file:///svn/phpbb/trunk@5448 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-01-13 21:31:11 +00:00
Tom Beddard
1e494c6d7e Little layout fix for FF 1.0x browsers
git-svn-id: file:///svn/phpbb/trunk@5444 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-01-11 21:58:16 +00:00
Nils Adermann
09edf1e1a5 somehow I knew this had to happen :(
(just two very tiny changes to the previous commit)


git-svn-id: file:///svn/phpbb/trunk@5443 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-01-11 21:52:41 +00:00
Nils Adermann
0e0b1120fb - overhauled search system
- updated structure for search backend plugins
  - better result caching using ACM
  - search results no longer session restricted => link to them by copying the URL :)
  - in-topic search
  - indexing posts now uses search backend plugins
  - develop/search_fill.php working again
  - fulltext_mysql not working yet
- tiny bugfixes to ACM


git-svn-id: file:///svn/phpbb/trunk@5441 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-01-11 18:56:07 +00:00
David M
9ea5fa1768 - CSS fix
- Validation fix

This is just a warm-up for a bigger commit ;-)


git-svn-id: file:///svn/phpbb/trunk@5440 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-01-11 02:19:05 +00:00
Graham Eames
6ef34f7961 A few changes to the installer as a result of changes elsewhere
git-svn-id: file:///svn/phpbb/trunk@5439 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-01-08 19:43:37 +00:00
Graham Eames
61e8278797 Auth changes for these modules as per the schema from before
git-svn-id: file:///svn/phpbb/trunk@5438 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-01-08 18:30:00 +00:00
Nils Adermann
ea96595e4f - array_combine replacement for PHP4
- properly send the charset


git-svn-id: file:///svn/phpbb/trunk@5437 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-01-07 17:07:36 +00:00
Tom Beddard
ffa49ca9ca Refresh of the subSilver style sheet. Fonts are now defined in ems and stylesheet reformatted for readability during development.
git-svn-id: file:///svn/phpbb/trunk@5436 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-01-07 01:10:42 +00:00
Tom Beddard
df3faf5e20 Fix for SQL error when the $forum_ary array is empty when there are no global announcements to view
git-svn-id: file:///svn/phpbb/trunk@5435 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-01-07 01:07:07 +00:00
Tom Beddard
9187d51a4b Added grouping by user_id to the team leader list query
git-svn-id: file:///svn/phpbb/trunk@5434 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-01-07 01:04:53 +00:00
Graham Eames
87ab0632d8 Removing an unused table from the schema
git-svn-id: file:///svn/phpbb/trunk@5433 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-01-06 22:50:14 +00:00
Graham Eames
0dfa526665 Fixing a permissions issue where a user only has local moderator rights.
David - please test to make sure it works for you as well
NB: There is still an outstanding issue on the queue module to be looked at later


git-svn-id: file:///svn/phpbb/trunk@5432 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-01-06 22:38:18 +00:00
Meik Sievertsen
a05d3c14d2 making sure coding guidelines are met... ;)
git-svn-id: file:///svn/phpbb/trunk@5431 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-01-06 07:48:51 +00:00
Tom Beddard
ff86c423cf Updated the General Error page
git-svn-id: file:///svn/phpbb/trunk@5430 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-01-05 22:47:44 +00:00
Tom Beddard
7d8b57811f when logging out or clearing cookies the session_id is cleared, but this broke style.php since it needs a sid. Added a line to create the new guest session before finishing these actions.
git-svn-id: file:///svn/phpbb/trunk@5429 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-01-05 21:24:22 +00:00
Tom Beddard
bfa6f1d18a Prevents an occasional error where the $this->data['session_time'] is undefined.
git-svn-id: file:///svn/phpbb/trunk@5428 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-01-05 21:22:44 +00:00
Graham Eames
d864074bdd L10n of warning messages sent to the user
git-svn-id: file:///svn/phpbb/trunk@5427 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-01-05 20:35:43 +00:00
Graham Eames
479f95661e Fix 2 minor errors:
1. Set user_style on registration to the board default
2. Do not try to use the template when throwing an error about a missing style


git-svn-id: file:///svn/phpbb/trunk@5426 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-01-05 20:28:29 +00:00
Nils Adermann
7174244446 - acm::exists() is considered private now and was renamed to acm::_exists()
git-svn-id: file:///svn/phpbb/trunk@5425 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-01-05 12:10:31 +00:00
Tom Beddard
636ab0f5ea Updated references to posts to be #p[post_id] rather than #[post_id] since it is against the W3C spec to have the id="" attribute starting with a number
git-svn-id: file:///svn/phpbb/trunk@5424 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-01-04 20:57:34 +00:00
Meik Sievertsen
d23a07dc7d - sperate permissions from sessions
- added some comments to the auth class for better understanding
- revised some permission functions
- added option to negate permission check by prefixing option with a ! (for example checking for !f_read returns true if user is not able to read forum)
- used the new option for testing in ucp front


git-svn-id: file:///svn/phpbb/trunk@5423 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-01-04 07:51:04 +00:00
David M
17dc26e19b - file_get_contents instead of imploding file()s or fread()ing till the maximum filesize
- language and style properly use compression
- language now prompts user for methods
- functions_compress does not need to eval() to get a hex date, instead calls pack()
- A writing method is defined at the end of tar operations only if data has been sent to the archive
- BBCode parser does not have to eval(), it instead uses the regex to loop around the matches

Hopefully nothing broke :-)


git-svn-id: file:///svn/phpbb/trunk@5422 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-01-04 06:37:17 +00:00
Graham Eames
6583da5bf0 And as if by magoc they are hidden (a minor change I missed commiting before Christmas)
git-svn-id: file:///svn/phpbb/trunk@5421 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-01-03 15:10:13 +00:00
Tom Beddard
3cfaa92631 First update of the new admin style to being it in line with the new frontend style. Note - this is still based on subsilver, the final admin will use the much nicer style of the new frontend - but that is secret until the final release ;)
git-svn-id: file:///svn/phpbb/trunk@5420 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-01-03 13:44:47 +00:00
Tom Beddard
3c7837801e Added class="radio" to the hardcoded radio button input strings to prevent <input /> styling problems
git-svn-id: file:///svn/phpbb/trunk@5419 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-01-03 13:33:51 +00:00
Meik Sievertsen
413d4f9277 - ability to create new style
git-svn-id: file:///svn/phpbb/trunk@5418 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-01-03 13:33:32 +00:00
Meik Sievertsen
70ae63f448 - updated imageset cfg
git-svn-id: file:///svn/phpbb/trunk@5417 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-01-02 18:13:20 +00:00
Meik Sievertsen
2faf2639ee - install style and style elements
- refresh template and style cache


git-svn-id: file:///svn/phpbb/trunk@5416 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-01-02 17:30:59 +00:00
David M
e68d442f52 - Added a freeresult
git-svn-id: file:///svn/phpbb/trunk@5415 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-01-01 21:48:03 +00:00
David M
8185cef8ab - Defined some DBAL class vars
git-svn-id: file:///svn/phpbb/trunk@5414 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-01-01 21:43:00 +00:00
David M
89c88ba944 - 18446744073709551615 becomes a float. This causes MySQL to read it as 1. Having it as a string works better.
git-svn-id: file:///svn/phpbb/trunk@5413 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-01-01 21:23:33 +00:00
David M
cfb03db151 - Polls work! Hooray for polls!
git-svn-id: file:///svn/phpbb/trunk@5412 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-01-01 21:21:28 +00:00
Tom Beddard
369d6b7303 Fixed new PM link and added online status flag
git-svn-id: file:///svn/phpbb/trunk@5410 89ea8834-ac86-4346-8a33-228a782c2dd0
2005-12-30 21:04:47 +00:00
Tom Beddard
82aed60ac0 Registered group list query was showing duplicate groups.
git-svn-id: file:///svn/phpbb/trunk@5409 89ea8834-ac86-4346-8a33-228a782c2dd0
2005-12-30 21:03:05 +00:00
Meik Sievertsen
1324d64c9d - fix a very nasty error: If there is a tree of more than one category but with no module in there there is no module to activate (module not found error). We have to go through the tree to make sure we are not displaying categories with no modules - took a bit to find this bug. :/
git-svn-id: file:///svn/phpbb/trunk@5408 89ea8834-ac86-4346-8a33-228a782c2dd0
2005-12-30 17:56:28 +00:00
Meik Sievertsen
3bf7635b3c - fix query for obtaining usernames beginning with a character and additionally searching for other criterias (produced a join not very healthy to the database - not the correct where statement is used)
git-svn-id: file:///svn/phpbb/trunk@5407 89ea8834-ac86-4346-8a33-228a782c2dd0
2005-12-30 16:52:29 +00:00
Tom Beddard
0ef491f3b9 Changed ONLINE_STATUS flag to S_ONLINE for consistancy
git-svn-id: file:///svn/phpbb/trunk@5406 89ea8834-ac86-4346-8a33-228a782c2dd0
2005-12-30 12:54:07 +00:00
Tom Beddard
e5951ad72a Added some missing UCP explaination text
git-svn-id: file:///svn/phpbb/trunk@5405 89ea8834-ac86-4346-8a33-228a782c2dd0
2005-12-30 12:52:49 +00:00
Tom Beddard
24462a3e4e Preliminary folder icon display for bookmarked topics
git-svn-id: file:///svn/phpbb/trunk@5404 89ea8834-ac86-4346-8a33-228a782c2dd0
2005-12-30 12:52:18 +00:00
Nils Adermann
c4bf44e579 - mt_srand in unique_id working properly (swapped usec and sec)
- mt_srand in digest_md5 removed


git-svn-id: file:///svn/phpbb/trunk@5403 89ea8834-ac86-4346-8a33-228a782c2dd0
2005-12-30 11:09:16 +00:00
Tom Beddard
a63687d13f Changes to fix instant message popup errors
git-svn-id: file:///svn/phpbb/trunk@5400 89ea8834-ac86-4346-8a33-228a782c2dd0
2005-12-30 01:46:40 +00:00
Tom Beddard
d28e3a69ab Added topic folder image source and user profile link for posts results page
git-svn-id: file:///svn/phpbb/trunk@5399 89ea8834-ac86-4346-8a33-228a782c2dd0
2005-12-30 00:16:43 +00:00
Tom Beddard
c31a6d1946 Little tweaks for the members listing/profile page
git-svn-id: file:///svn/phpbb/trunk@5398 89ea8834-ac86-4346-8a33-228a782c2dd0
2005-12-30 00:13:56 +00:00
David M
1cadb39b87 - Buh? Incorrect lang index...
git-svn-id: file:///svn/phpbb/trunk@5397 89ea8834-ac86-4346-8a33-228a782c2dd0
2005-12-29 22:36:17 +00:00
David M
a5d438756d // TODO: Buy more bug spray
- Somebody forgot a global variable...


git-svn-id: file:///svn/phpbb/trunk@5396 89ea8834-ac86-4346-8a33-228a782c2dd0
2005-12-29 22:27:23 +00:00
Nils Adermann
85f502a52b This was causing trouble on ppc, I kept getting the same random string (probably the passed value was too big). And "As of PHP 4.2.0, there is no need to seed the random number generator with srand() or mt_srand() as this is now done automatically." so I removed it completely.
git-svn-id: file:///svn/phpbb/trunk@5395 89ea8834-ac86-4346-8a33-228a782c2dd0
2005-12-29 18:13:24 +00:00
David M
72b3d6ca78 Bug Spray!
- No longer asks a user to login to a passworded forum even though his auth is not high enough, it just rejects the user now.


git-svn-id: file:///svn/phpbb/trunk@5394 89ea8834-ac86-4346-8a33-228a782c2dd0
2005-12-29 16:57:56 +00:00
Tom Beddard
e7acc9c82c Search related strings
git-svn-id: file:///svn/phpbb/trunk@5391 89ea8834-ac86-4346-8a33-228a782c2dd0
2005-12-29 01:47:18 +00:00
Tom Beddard
844da81dfa A few fixes and a new online_status template variable
git-svn-id: file:///svn/phpbb/trunk@5390 89ea8834-ac86-4346-8a33-228a782c2dd0
2005-12-29 01:46:51 +00:00
Tom Beddard
2753d3310c Added the topic icon src variable to bring in line with viewtopic and viewforum
git-svn-id: file:///svn/phpbb/trunk@5389 89ea8834-ac86-4346-8a33-228a782c2dd0
2005-12-29 01:46:05 +00:00
Meik Sievertsen
0334d42477 - some changes to browser checking (was the reason for not working logins)
- partly working style acp
- other tiny changes here and there


git-svn-id: file:///svn/phpbb/trunk@5388 89ea8834-ac86-4346-8a33-228a782c2dd0
2005-12-28 17:35:20 +00:00
Tom Beddard
761598e1b7 Moved text to language file
git-svn-id: file:///svn/phpbb/trunk@5387 89ea8834-ac86-4346-8a33-228a782c2dd0
2005-12-28 01:00:48 +00:00
Tom Beddard
f95262d9b9 SQL error fix for subscribed list
git-svn-id: file:///svn/phpbb/trunk@5386 89ea8834-ac86-4346-8a33-228a782c2dd0
2005-12-28 00:57:08 +00:00
David M
8ad9a36d08 - I forgot that we can add and remove prefixes :D
- A small style fix :D


git-svn-id: file:///svn/phpbb/trunk@5385 89ea8834-ac86-4346-8a33-228a782c2dd0
2005-12-27 17:21:01 +00:00
David M
12839c7d47 - Buh? Postgre!
git-svn-id: file:///svn/phpbb/trunk@5384 89ea8834-ac86-4346-8a33-228a782c2dd0
2005-12-27 14:15:49 +00:00
David M
7eea0d3529 - Forgot to repair a function ;-)
git-svn-id: file:///svn/phpbb/trunk@5383 89ea8834-ac86-4346-8a33-228a782c2dd0
2005-12-27 14:13:38 +00:00
David M
31b94c8cf1 - Removed a variable that has been left unused for three and a half years...
git-svn-id: file:///svn/phpbb/trunk@5382 89ea8834-ac86-4346-8a33-228a782c2dd0
2005-12-27 14:09:44 +00:00
David M
5bf738d345 - Replaced the old 2.0.x highlight code with much nicer code :-)
git-svn-id: file:///svn/phpbb/trunk@5381 89ea8834-ac86-4346-8a33-228a782c2dd0
2005-12-27 13:59:15 +00:00
David M
eb45360c02 - Post/Topic icon text selection is fixed
git-svn-id: file:///svn/phpbb/trunk@5380 89ea8834-ac86-4346-8a33-228a782c2dd0
2005-12-27 13:44:17 +00:00
Meik Sievertsen
d02f498745 - fixing alter_block_array function as suggested by david.
git-svn-id: file:///svn/phpbb/trunk@5379 89ea8834-ac86-4346-8a33-228a782c2dd0
2005-12-27 08:50:42 +00:00
Tom Beddard
95e8f761ce Language related updates. Removed escaped double-quotes from single quote FAQ language strings - was causing mal-formed html. Also changed the quicklink numbers to be prefixed by 'f' since standards dicate name and id attributes have to start with a non-numeric character.
git-svn-id: file:///svn/phpbb/trunk@5378 89ea8834-ac86-4346-8a33-228a782c2dd0
2005-12-26 21:02:39 +00:00
Meik Sievertsen
4373cf2f30 *** empty log message ***
git-svn-id: file:///svn/phpbb/trunk@5377 89ea8834-ac86-4346-8a33-228a782c2dd0
2005-12-25 11:12:03 +00:00
Meik Sievertsen
b9b70c9ceb - only include modules with the correct extension. ;)
- fix evaluating if module is enabled or disabled (now disables all childs if parent/category is disabled)


git-svn-id: file:///svn/phpbb/trunk@5376 89ea8834-ac86-4346-8a33-228a782c2dd0
2005-12-25 11:10:06 +00:00
Meik Sievertsen
2c25e0f233 - transfer class
- current transfer available: ftp
- original ftp class from EasyMod, olympus-compatible file done by wGEric


git-svn-id: file:///svn/phpbb/trunk@5375 89ea8834-ac86-4346-8a33-228a782c2dd0
2005-12-23 11:57:01 +00:00
Tom Beddard
0e34bb6c35 Another small tweak to allow empty theme.cfg values to overwrite the default, e.g. using an empty string for the pagination separator instead of a comma
git-svn-id: file:///svn/phpbb/trunk@5374 89ea8834-ac86-4346-8a33-228a782c2dd0
2005-12-22 22:25:04 +00:00
Tom Beddard
3f832e1543 Little tweak to enable the $parsed_items array to be properly built.
git-svn-id: file:///svn/phpbb/trunk@5373 89ea8834-ac86-4346-8a33-228a782c2dd0
2005-12-22 22:19:56 +00:00
Meik Sievertsen
60d218245c - ok, get away with the secondary style approach (styles can be mixed together easily with the acp)
- introduce a more generic approach of defining some additional variables through cfg files as well as the name, copyright and version fields
- please note that at the moment this is in flux. I added it now for Tom because he needs the theme parameters.


git-svn-id: file:///svn/phpbb/trunk@5372 89ea8834-ac86-4346-8a33-228a782c2dd0
2005-12-22 16:28:27 +00:00
Tom Beddard
088ed2c414 Oops, naming convention better now.
git-svn-id: file:///svn/phpbb/trunk@5368 89ea8834-ac86-4346-8a33-228a782c2dd0
2005-12-22 00:12:18 +00:00
Tom Beddard
7bf8321e1d A few additions required by the new style
git-svn-id: file:///svn/phpbb/trunk@5367 89ea8834-ac86-4346-8a33-228a782c2dd0
2005-12-22 00:03:17 +00:00
Meik Sievertsen
1ec71c78b6 - and finally, user groups. :)
git-svn-id: file:///svn/phpbb/trunk@5366 89ea8834-ac86-4346-8a33-228a782c2dd0
2005-12-21 19:18:42 +00:00
Meik Sievertsen
f4f2ab3a35 - user avatar, user signature, user attachments
git-svn-id: file:///svn/phpbb/trunk@5365 89ea8834-ac86-4346-8a33-228a782c2dd0
2005-12-21 18:18:12 +00:00
Graham Eames
1ba4064f20 Initial instance of the install language file to allow me to install for testing
(yes the installer looks a bit messy atm, but I will be changing that in the future)


git-svn-id: file:///svn/phpbb/trunk@5361 89ea8834-ac86-4346-8a33-228a782c2dd0
2005-12-20 22:03:26 +00:00
Graham Eames
304d942033 MCP schema data as per the request last night ;-)
git-svn-id: file:///svn/phpbb/trunk@5360 89ea8834-ac86-4346-8a33-228a782c2dd0
2005-12-20 21:30:23 +00:00
Tom Beddard
59652f27fe Added rank_image_src template variable so it can be used with CSS. Also fixed some undeclared variables.
git-svn-id: file:///svn/phpbb/trunk@5358 89ea8834-ac86-4346-8a33-228a782c2dd0
2005-12-19 22:06:50 +00:00
Meik Sievertsen
1855c017e9 - drop in the new administration panel
- not finished yet: some user related items, style admin, database admin and permissions
- Graham: Please add your MCP schema data to the schema data file. ;)


git-svn-id: file:///svn/phpbb/trunk@5357 89ea8834-ac86-4346-8a33-228a782c2dd0
2005-12-19 18:55:52 +00:00
Graham Eames
738bf09f92 Third time around, it turns out that the code where I made that mistake initially is completely unneeded since you won't get to this point if the user is anonymous (or a bot) anyway
git-svn-id: file:///svn/phpbb/trunk@5355 89ea8834-ac86-4346-8a33-228a782c2dd0
2005-12-18 19:58:58 +00:00
Meik Sievertsen
42509c6c59 poster_id does not exist (anonymous should be not present too)
git-svn-id: file:///svn/phpbb/trunk@5354 89ea8834-ac86-4346-8a33-228a782c2dd0
2005-12-18 19:14:26 +00:00
David M
46a8ebfe47 This code works. All of it works. At least, it should.
Extraction of TAR files:
 - It now works!
 - If it could work before (which it couldn't) , it would create nasty issues with spaces. This is resolved
 - If it could work before (which it couldn't) , it would try to create folders in such a way where some (all) folders could not be created. This is resolved.

Creation of TAR files:
 - It now works!
 - Before, it created malformed TAR files. This is resolved.

Now, the really really cool code...

Extraction of ZIP files:
 - Totally new code
 - Fault tolerant
 - Very efficient

Need sleep... *mumbles the TAR file header*


git-svn-id: file:///svn/phpbb/trunk@5351 89ea8834-ac86-4346-8a33-228a782c2dd0
2005-12-18 04:35:51 +00:00
Graham Eames
731f67872b Fix an issue with hidden users showing up on the online list if their
global setting was yes but they had hidden for this session


git-svn-id: file:///svn/phpbb/trunk@5350 89ea8834-ac86-4346-8a33-228a782c2dd0
2005-12-17 22:38:18 +00:00
David M
cd1a39111b - Better handling of invalid email functions
git-svn-id: file:///svn/phpbb/trunk@5349 89ea8834-ac86-4346-8a33-228a782c2dd0
2005-12-17 22:16:37 +00:00
Nils Adermann
f80bf5bf1e I was told I also had to commit something today ;-)
Hexadecimal should be in double quotes.


git-svn-id: file:///svn/phpbb/trunk@5348 89ea8834-ac86-4346-8a33-228a782c2dd0
2005-12-17 22:09:33 +00:00
Graham Eames
1595f7a8d3 Adding the ability to change send_encoding needs a slight tweak to the
code which tests it since it will now always be set


git-svn-id: file:///svn/phpbb/trunk@5347 89ea8834-ac86-4346-8a33-228a782c2dd0
2005-12-17 21:34:33 +00:00
David M
ab99455e7c - send_encoding is now configurable
git-svn-id: file:///svn/phpbb/trunk@5346 89ea8834-ac86-4346-8a33-228a782c2dd0
2005-12-17 21:16:21 +00:00
Graham Eames
e7565d31d0 Expose the warning level and user notes in appropriate places (assuming
the user has the correct permissions)


git-svn-id: file:///svn/phpbb/trunk@5345 89ea8834-ac86-4346-8a33-228a782c2dd0
2005-12-17 20:41:23 +00:00
Tom Beddard
791b1bbe73 Tweak - $forum_id not needed for the make_jumpbox() func on this page
git-svn-id: file:///svn/phpbb/trunk@5344 89ea8834-ac86-4346-8a33-228a782c2dd0
2005-12-17 12:20:03 +00:00
Tom Beddard
7a354f9858 Tweaked so that css files included via @include file("file.css"); are brought into the main stylesheet.css before variable replacement. This greatly improves style organisation by enabling different stylesheets for the main sections of the forum
git-svn-id: file:///svn/phpbb/trunk@5343 89ea8834-ac86-4346-8a33-228a782c2dd0
2005-12-17 12:05:20 +00:00
Meik Sievertsen
ab49ea4cae :D
git-svn-id: file:///svn/phpbb/trunk@5342 89ea8834-ac86-4346-8a33-228a782c2dd0
2005-12-17 09:51:51 +00:00
Graham Eames
b163711146 A few minor bug fixes to the view profile page
git-svn-id: file:///svn/phpbb/trunk@5341 89ea8834-ac86-4346-8a33-228a782c2dd0
2005-12-16 22:14:22 +00:00
Nils Adermann
7342652804 - Apache auth plugin is working again
- LDAP auth plugin now supports OpenLDAP
- fixed Authentication settings in ACP
- preparatory ACP changes for the search


git-svn-id: file:///svn/phpbb/trunk@5340 89ea8834-ac86-4346-8a33-228a782c2dd0
2005-12-16 19:05:51 +00:00
Meik Sievertsen
67dfce31a9 - fix autologin issues :)
git-svn-id: file:///svn/phpbb/trunk@5339 89ea8834-ac86-4346-8a33-228a782c2dd0
2005-12-15 18:25:01 +00:00
Meik Sievertsen
d160126086 - show complete sql error message + path to administrators only (idea from post to bugtraq about SMF)
git-svn-id: file:///svn/phpbb/trunk@5338 89ea8834-ac86-4346-8a33-228a782c2dd0
2005-12-15 13:52:27 +00:00
Meik Sievertsen
7657767590 - and add missing settings for autologin
git-svn-id: file:///svn/phpbb/trunk@5337 89ea8834-ac86-4346-8a33-228a782c2dd0
2005-12-15 13:07:56 +00:00
Meik Sievertsen
92509ad655 - wrong variable used for obtaining current configuration
git-svn-id: file:///svn/phpbb/trunk@5336 89ea8834-ac86-4346-8a33-228a782c2dd0
2005-12-15 12:59:20 +00:00
David M
ceb10e1b2f - Now creates vaild ZIP archives, "Data Descriptor" is not needed and breaks things.
git-svn-id: file:///svn/phpbb/trunk@5335 89ea8834-ac86-4346-8a33-228a782c2dd0
2005-12-15 12:42:23 +00:00
Graham Eames
a7dcdb0760 Adding the ability to get a list of all users with outstanding warnings
git-svn-id: file:///svn/phpbb/trunk@5333 89ea8834-ac86-4346-8a33-228a782c2dd0
2005-12-14 20:54:54 +00:00
Graham Eames
9acd80748c Add sorting to user notes template
git-svn-id: file:///svn/phpbb/trunk@5332 89ea8834-ac86-4346-8a33-228a782c2dd0
2005-12-13 21:50:57 +00:00
Graham Eames
9298082dde Some fixes to the template code
- this handles the case where file caching is used and no cached
version exists


git-svn-id: file:///svn/phpbb/trunk@5331 89ea8834-ac86-4346-8a33-228a782c2dd0
2005-12-13 20:58:28 +00:00
Meik Sievertsen
e4defede57 - forum administration (now working and modified for easier handling the different forum types [UI])
- Changed += for arrays into array_merge. We do not want to append, we want to merge. ;)


git-svn-id: file:///svn/phpbb/trunk@5330 89ea8834-ac86-4346-8a33-228a782c2dd0
2005-12-12 23:17:30 +00:00
Graham Eames
c12fd5d434 Clean up and abstract the code for listing warned users
git-svn-id: file:///svn/phpbb/trunk@5329 89ea8834-ac86-4346-8a33-228a782c2dd0
2005-12-12 21:58:14 +00:00
Tom Beddard
ca40260131 theme_name field missing from the query getting the database style content
git-svn-id: file:///svn/phpbb/trunk@5328 89ea8834-ac86-4346-8a33-228a782c2dd0
2005-12-11 22:14:39 +00:00
Graham Eames
85b55fa701 Schema changes for the warning code committed last night
Note: MySQL only at this point in time until the code is finalised


git-svn-id: file:///svn/phpbb/trunk@5327 89ea8834-ac86-4346-8a33-228a782c2dd0
2005-12-11 21:10:41 +00:00
Meik Sievertsen
b41525229b - custom profile fields
- prune users
- prune forums


git-svn-id: file:///svn/phpbb/trunk@5325 89ea8834-ac86-4346-8a33-228a782c2dd0
2005-12-10 23:20:21 +00:00
Graham Eames
85fdeda51c Initial commit of files related to the warning system
As the comments suggest, it's not finished but I'm getting it in before
I do things to my machine


git-svn-id: file:///svn/phpbb/trunk@5324 89ea8834-ac86-4346-8a33-228a782c2dd0
2005-12-10 23:08:02 +00:00
Meik Sievertsen
877d71528d - banning, disallow usernames and ranks
git-svn-id: file:///svn/phpbb/trunk@5323 89ea8834-ac86-4346-8a33-228a782c2dd0
2005-12-09 18:09:43 +00:00
Graham Eames
28661d6106 A couple of minor changes
git-svn-id: file:///svn/phpbb/trunk@5322 89ea8834-ac86-4346-8a33-228a782c2dd0
2005-12-08 20:53:49 +00:00
Meik Sievertsen
5c64235b6f - mass email
git-svn-id: file:///svn/phpbb/trunk@5321 89ea8834-ac86-4346-8a33-228a782c2dd0
2005-12-05 18:52:23 +00:00
Meik Sievertsen
5953bd635b ;)
git-svn-id: file:///svn/phpbb/trunk@5320 89ea8834-ac86-4346-8a33-228a782c2dd0
2005-12-04 21:16:12 +00:00
Meik Sievertsen
2fd418fc21 - some bugfixes
- checking if page_header has been called already
- call correct page footer function
- rewrote avatar gallery
- seperated compilation of template and template functions (new file: functions_template.php)
- added assign_display function to template
- added group management (acp)
- removed admin_groups


git-svn-id: file:///svn/phpbb/trunk@5319 89ea8834-ac86-4346-8a33-228a782c2dd0
2005-12-04 20:25:51 +00:00
Graham Eames
d6785155ad Some slight cleanup of the mcp notes code - adding pagination support
and missing language entries


git-svn-id: file:///svn/phpbb/trunk@5317 89ea8834-ac86-4346-8a33-228a782c2dd0
2005-11-30 18:55:15 +00:00
Meik Sievertsen
417b6f5f0a - decreasing my linecount a bit. ;)
- please note that you are no longer able to administrate your board correctly if you are updating your cvs copy.


git-svn-id: file:///svn/phpbb/trunk@5316 89ea8834-ac86-4346-8a33-228a782c2dd0
2005-11-30 17:54:42 +00:00
Meik Sievertsen
1bf18e23ed - added acp_language (language pack management)
- minor adjustments to cope with PHP5.x


git-svn-id: file:///svn/phpbb/trunk@5315 89ea8834-ac86-4346-8a33-228a782c2dd0
2005-11-30 17:48:06 +00:00
Graham Eames
ba6f40ce25 Initial commit of user note support for the mcp
git-svn-id: file:///svn/phpbb/trunk@5314 89ea8834-ac86-4346-8a33-228a782c2dd0
2005-11-28 21:01:40 +00:00
Meik Sievertsen
6d101df7dc - some SQL:2003 changes (basicly joins, mysql5 is sql:2003 compliant in strict mode now) - postgresql not supporting this standard. :/
- acp changes


git-svn-id: file:///svn/phpbb/trunk@5313 89ea8834-ac86-4346-8a33-228a782c2dd0
2005-11-28 18:38:49 +00:00
Bart van Bragt
0dc59b9e0d Small bugfix for checking disallowed names
git-svn-id: file:///svn/phpbb/trunk@5312 89ea8834-ac86-4346-8a33-228a782c2dd0
2005-11-28 10:19:57 +00:00
Meik Sievertsen
ee4d02132f change total from -1 to max value
git-svn-id: file:///svn/phpbb/trunk@5311 89ea8834-ac86-4346-8a33-228a782c2dd0
2005-11-21 09:24:58 +00:00
Meik Sievertsen
0202eb8a66 - more acp additions and changes...
git-svn-id: file:///svn/phpbb/trunk@5310 89ea8834-ac86-4346-8a33-228a782c2dd0
2005-11-20 18:58:34 +00:00
Graham Eames
9f1f945d5d Fix a minor typo
git-svn-id: file:///svn/phpbb/trunk@5308 89ea8834-ac86-4346-8a33-228a782c2dd0
2005-11-19 20:57:16 +00:00
Meik Sievertsen
318e561cb2 - use acl_m_ instead of acl_m
- some reference fixes


git-svn-id: file:///svn/phpbb/trunk@5307 89ea8834-ac86-4346-8a33-228a782c2dd0
2005-11-19 16:16:52 +00:00
Graham Eames
68e80ad2df Module information, exactly what it says on the tin
git-svn-id: file:///svn/phpbb/trunk@5306 89ea8834-ac86-4346-8a33-228a782c2dd0
2005-11-18 22:16:59 +00:00
Graham Eames
d6b2182c7e In keeping with tradition I remove yet more code....
(abstraction of functionality used by the mcp to allow it to be used
elsewhere)


git-svn-id: file:///svn/phpbb/trunk@5305 89ea8834-ac86-4346-8a33-228a782c2dd0
2005-11-17 21:54:11 +00:00
Meik Sievertsen
5e606fc6b5 *** empty log message ***
git-svn-id: file:///svn/phpbb/trunk@5304 89ea8834-ac86-4346-8a33-228a782c2dd0
2005-11-17 18:19:12 +00:00
Meik Sievertsen
5c6f71cdb9 HOLLA! Whats this shit...
These gets commited now because i want to be sure no one is changing an admin file corresponding the ones listed within includes/acp


git-svn-id: file:///svn/phpbb/trunk@5303 89ea8834-ac86-4346-8a33-228a782c2dd0
2005-11-17 18:06:11 +00:00
Meik Sievertsen
e21245f2ee - some ucp changes (added the module info too)
git-svn-id: file:///svn/phpbb/trunk@5302 89ea8834-ac86-4346-8a33-228a782c2dd0
2005-11-17 17:32:25 +00:00
Graham Eames
3676222231 I'll save you having to calculate this by hand Bart ;-)
(new module table entries for the mcp)


git-svn-id: file:///svn/phpbb/trunk@5301 89ea8834-ac86-4346-8a33-228a782c2dd0
2005-11-13 14:31:11 +00:00
Graham Eames
ed8edf3b8f The MCP strikes back.... :-)
git-svn-id: file:///svn/phpbb/trunk@5300 89ea8834-ac86-4346-8a33-228a782c2dd0
2005-11-12 19:03:31 +00:00
Graham Eames
2b96a90d44 MCP again, forgot these two earlier :-)
git-svn-id: file:///svn/phpbb/trunk@5299 89ea8834-ac86-4346-8a33-228a782c2dd0
2005-11-09 21:32:42 +00:00
Graham Eames
ace13c86a5 A couple of initial changes for the new module system with the mcp
(further changes are needed elsewhere for these to actually be
useful....)


git-svn-id: file:///svn/phpbb/trunk@5298 89ea8834-ac86-4346-8a33-228a782c2dd0
2005-11-09 20:36:04 +00:00
Meik Sievertsen
81ab6d83b8 re-remove (:D) open queries array due to the result being an object.
git-svn-id: file:///svn/phpbb/trunk@5297 89ea8834-ac86-4346-8a33-228a782c2dd0
2005-11-08 19:41:12 +00:00
Meik Sievertsen
a484161be2 - tiny bugfixes. ;)
git-svn-id: file:///svn/phpbb/trunk@5296 89ea8834-ac86-4346-8a33-228a782c2dd0
2005-11-08 19:29:20 +00:00
Meik Sievertsen
8a965db7aa - add module_display to modules table (for modes executed but not displayed)
- correctly assign $id variable for modules (name for modules and id for categories)


git-svn-id: file:///svn/phpbb/trunk@5295 89ea8834-ac86-4346-8a33-228a782c2dd0
2005-11-08 19:24:19 +00:00
Bart van Bragt
183e968ce7 Oops, left some debugging stuff
git-svn-id: file:///svn/phpbb/trunk@5294 89ea8834-ac86-4346-8a33-228a782c2dd0
2005-11-07 10:24:11 +00:00
Bart van Bragt
87a11d3ecd Fixed banning of usernames
git-svn-id: file:///svn/phpbb/trunk@5293 89ea8834-ac86-4346-8a33-228a782c2dd0
2005-11-07 10:10:32 +00:00
Graham Eames
0d8c6b3332 Ooopsie
git-svn-id: file:///svn/phpbb/trunk@5291 89ea8834-ac86-4346-8a33-228a782c2dd0
2005-11-06 19:35:25 +00:00
Graham Eames
24efdfcd88 I'm merging a few changes that we made to the session code in 2.0 into
this code stream as well. This should work, but equally it might break
the autologin :-)


git-svn-id: file:///svn/phpbb/trunk@5288 89ea8834-ac86-4346-8a33-228a782c2dd0
2005-11-03 20:53:47 +00:00
Bart van Bragt
759e33f759 Fix paging in folderview for PMs. Would be nice if I would do all this in one checkin :)
git-svn-id: file:///svn/phpbb/trunk@5282 89ea8834-ac86-4346-8a33-228a782c2dd0
2005-10-26 20:22:40 +00:00
Bart van Bragt
88b4c7ac88 Fix small problem with PM-ing replies to board messages
git-svn-id: file:///svn/phpbb/trunk@5281 89ea8834-ac86-4346-8a33-228a782c2dd0
2005-10-26 13:54:17 +00:00
Bart van Bragt
a052a9a8d4 Some more PM fixes. Also got rid of an evil extract() call. Testing of Bcc/attachements is appreciated :)
git-svn-id: file:///svn/phpbb/trunk@5280 89ea8834-ac86-4346-8a33-228a782c2dd0
2005-10-26 10:15:09 +00:00
Bart van Bragt
400f14ebb3 Some more PM fixes
git-svn-id: file:///svn/phpbb/trunk@5279 89ea8834-ac86-4346-8a33-228a782c2dd0
2005-10-25 20:07:07 +00:00
Bart van Bragt
aee876ebf4 Fix PM sending
git-svn-id: file:///svn/phpbb/trunk@5278 89ea8834-ac86-4346-8a33-228a782c2dd0
2005-10-25 16:33:52 +00:00
Bart van Bragt
7c14ced8ca Banning of emails wasn't checked correctly during registration
git-svn-id: file:///svn/phpbb/trunk@5277 89ea8834-ac86-4346-8a33-228a782c2dd0
2005-10-23 14:16:44 +00:00
Bart van Bragt
042aaba879 Some refactoring/fixing of user_ban()
git-svn-id: file:///svn/phpbb/trunk@5276 89ea8834-ac86-4346-8a33-228a782c2dd0
2005-10-23 13:17:43 +00:00
Meik Sievertsen
9209c975af small fix for redirecting to wrong post because of non-existant post id anchor (if first unread anchor is set) - blablabla - ok, just a small fix, just that.
git-svn-id: file:///svn/phpbb/trunk@5274 89ea8834-ac86-4346-8a33-228a782c2dd0
2005-10-22 15:49:10 +00:00
Bart van Bragt
307999321d admin_users.php should be at least sort of usable again.
git-svn-id: file:///svn/phpbb/trunk@5273 89ea8834-ac86-4346-8a33-228a782c2dd0
2005-10-21 20:29:09 +00:00
Meik Sievertsen
b873b37607 - updated topic tracking code
- additional changes (mostly bugfixes)
- bart, if you update your user table with the user_lastmark field, set it to the user_lastvisit value ;)
- and last but not least, introducing some bugs in ucp main front (regarding topic tracking)


git-svn-id: file:///svn/phpbb/trunk@5272 89ea8834-ac86-4346-8a33-228a782c2dd0
2005-10-19 18:00:10 +00:00
Meik Sievertsen
719763dec2 allow checking for loops with IF .block_var
git-svn-id: file:///svn/phpbb/trunk@5271 89ea8834-ac86-4346-8a33-228a782c2dd0
2005-10-19 17:57:14 +00:00
Meik Sievertsen
0513ef4d17 - added new query type to dbal's sql_build_array
- allow setting custom template path
- adjusted module class to correctly parse trees with more than one category
- added caching to module class


git-svn-id: file:///svn/phpbb/trunk@5268 89ea8834-ac86-4346-8a33-228a782c2dd0
2005-10-09 17:59:27 +00:00
Graham Eames
9732b0deb2 Updated for new acm structure
git-svn-id: file:///svn/phpbb/trunk@5267 89ea8834-ac86-4346-8a33-228a782c2dd0
2005-10-08 21:04:56 +00:00
Meik Sievertsen
adcf8be902 - only minor changes
git-svn-id: file:///svn/phpbb/trunk@5264 89ea8834-ac86-4346-8a33-228a782c2dd0
2005-10-08 10:56:56 +00:00
Meik Sievertsen
913c38768a - another try to break things. :)
- adjusted the dbal a little bit
- removed db2 support


git-svn-id: file:///svn/phpbb/trunk@5263 89ea8834-ac86-4346-8a33-228a782c2dd0
2005-10-07 23:00:41 +00:00
Graham Eames
8d72671cc1 Hello Olympus, pleased to meet you :)
(removing a couple of duplicated entries)


git-svn-id: file:///svn/phpbb/trunk@5259 89ea8834-ac86-4346-8a33-228a782c2dd0
2005-10-05 10:43:47 +00:00
Meik Sievertsen
45e1aa45c7 dumdidum
git-svn-id: file:///svn/phpbb/trunk@5257 89ea8834-ac86-4346-8a33-228a782c2dd0
2005-10-04 21:47:20 +00:00
Meik Sievertsen
1981196e99 - some bugfixes
git-svn-id: file:///svn/phpbb/trunk@5255 89ea8834-ac86-4346-8a33-228a782c2dd0
2005-10-04 21:39:47 +00:00
Meik Sievertsen
5449c591a9 - changed ucp classes to work with the new module system
- mcp is no longer working, i know.


git-svn-id: file:///svn/phpbb/trunk@5254 89ea8834-ac86-4346-8a33-228a782c2dd0
2005-10-04 21:31:35 +00:00
Meik Sievertsen
95ff1f3b64 - the schema/data changes needed for the new module class
git-svn-id: file:///svn/phpbb/trunk@5253 89ea8834-ac86-4346-8a33-228a782c2dd0
2005-10-04 21:26:04 +00:00
Meik Sievertsen
5082f5eb73 - Pauls (psoTFX) new module class
git-svn-id: file:///svn/phpbb/trunk@5252 89ea8834-ac86-4346-8a33-228a782c2dd0
2005-10-04 21:24:51 +00:00
Meik Sievertsen
9f6864cd0c okok, maybe assigning a default ordering is not that bad. harhar
git-svn-id: file:///svn/phpbb/trunk@5251 89ea8834-ac86-4346-8a33-228a782c2dd0
2005-10-03 21:52:56 +00:00
Meik Sievertsen
9439a3f49a blabla
git-svn-id: file:///svn/phpbb/trunk@5250 89ea8834-ac86-4346-8a33-228a782c2dd0
2005-10-03 15:44:41 +00:00
Meik Sievertsen
ed9bac63e5 fix tiny bug. ;)
git-svn-id: file:///svn/phpbb/trunk@5249 89ea8834-ac86-4346-8a33-228a782c2dd0
2005-10-03 15:21:00 +00:00
Meik Sievertsen
72e93472b0 damn line endings. :/
git-svn-id: file:///svn/phpbb/trunk@5248 89ea8834-ac86-4346-8a33-228a782c2dd0
2005-10-02 18:51:32 +00:00
Meik Sievertsen
a2bafd86f8 - session changes
git-svn-id: file:///svn/phpbb/trunk@5247 89ea8834-ac86-4346-8a33-228a782c2dd0
2005-10-02 18:47:06 +00:00
Meik Sievertsen
9f8bb469f1 - use the changes. ;)
git-svn-id: file:///svn/phpbb/trunk@5246 89ea8834-ac86-4346-8a33-228a782c2dd0
2005-10-02 18:43:11 +00:00
Meik Sievertsen
90d901057e *** empty log message ***
git-svn-id: file:///svn/phpbb/trunk@5245 89ea8834-ac86-4346-8a33-228a782c2dd0
2005-10-02 18:42:04 +00:00
Meik Sievertsen
7aa5aef8a3 - use session_begin
- fix permission presets to be at least usable


git-svn-id: file:///svn/phpbb/trunk@5244 89ea8834-ac86-4346-8a33-228a782c2dd0
2005-10-02 18:25:30 +00:00
Meik Sievertsen
2a75587153 - some additional changes
- fixing pm history bug (quote post)


git-svn-id: file:///svn/phpbb/trunk@5243 89ea8834-ac86-4346-8a33-228a782c2dd0
2005-10-02 18:22:59 +00:00
Meik Sievertsen
1d688c6b8d - add building multi insert to dbal
- fix sql explain in mysql4 layer


git-svn-id: file:///svn/phpbb/trunk@5242 89ea8834-ac86-4346-8a33-228a782c2dd0
2005-10-02 18:18:52 +00:00
Meik Sievertsen
1a18e36684 - add even more bugs to the codebase
- changed submit_pm to carry on the from userdata


git-svn-id: file:///svn/phpbb/trunk@5241 89ea8834-ac86-4346-8a33-228a782c2dd0
2005-10-02 18:17:06 +00:00
Meik Sievertsen
58d146cac6 - move some functions from global functions file to functions_display (those only needed in posting and viewtopic/forum)
git-svn-id: file:///svn/phpbb/trunk@5240 89ea8834-ac86-4346-8a33-228a782c2dd0
2005-10-02 18:15:12 +00:00
Meik Sievertsen
b6e154f494 - re-add constants.php for easier modding
git-svn-id: file:///svn/phpbb/trunk@5239 89ea8834-ac86-4346-8a33-228a782c2dd0
2005-10-02 18:12:48 +00:00
Meik Sievertsen
83b43444a2 - some bugfixes
- allow template variables in defines


git-svn-id: file:///svn/phpbb/trunk@5238 89ea8834-ac86-4346-8a33-228a782c2dd0
2005-10-02 17:49:16 +00:00
Meik Sievertsen
2aad9c15cc - session changes (this checkin is producing a lot of errors and render the cvs useless. Those following cvs should be able to grasp what to do, others... please wait for other changes being checked in)
git-svn-id: file:///svn/phpbb/trunk@5237 89ea8834-ac86-4346-8a33-228a782c2dd0
2005-10-02 16:57:33 +00:00
Meik Sievertsen
f379e089e4 - checking in pauls (psoTFX) search changes (with tiny adjustments from me)
git-svn-id: file:///svn/phpbb/trunk@5236 89ea8834-ac86-4346-8a33-228a782c2dd0
2005-10-02 16:48:17 +00:00
Meik Sievertsen
1224110694 acm_main file for grouping cache-related functions.
git-svn-id: file:///svn/phpbb/trunk@5229 89ea8834-ac86-4346-8a33-228a782c2dd0
2005-09-25 14:48:11 +00:00
Meik Sievertsen
db5eb3acef - adjusting group functions a little bit
git-svn-id: file:///svn/phpbb/trunk@5228 89ea8834-ac86-4346-8a33-228a782c2dd0
2005-09-25 14:33:07 +00:00
Meik Sievertsen
b4fb715531 fix bbcode in bbcode problem
git-svn-id: file:///svn/phpbb/trunk@5227 89ea8834-ac86-4346-8a33-228a782c2dd0
2005-09-25 14:29:05 +00:00
Bart van Bragt
d7b12970d7 Reverted checking. Missed the variable nr of arguments for group_user_add()
git-svn-id: file:///svn/phpbb/trunk@5226 89ea8834-ac86-4346-8a33-228a782c2dd0
2005-09-24 09:33:12 +00:00
Bart van Bragt
8760367611 Mismatch between expected and sent arguments to group_add_users()
git-svn-id: file:///svn/phpbb/trunk@5223 89ea8834-ac86-4346-8a33-228a782c2dd0
2005-09-22 21:40:22 +00:00
Bart van Bragt
357f6a725f Some missing config values and one auth setting
git-svn-id: file:///svn/phpbb/trunk@5222 89ea8834-ac86-4346-8a33-228a782c2dd0
2005-09-21 22:09:18 +00:00
Bart van Bragt
8e0d23487d Use cookie_domain when setting session cookies
git-svn-id: file:///svn/phpbb/trunk@5220 89ea8834-ac86-4346-8a33-228a782c2dd0
2005-09-21 18:54:40 +00:00
Bart van Bragt
de432e88d1 Logout banned users, they are unable to use the normal logout link
git-svn-id: file:///svn/phpbb/trunk@5219 89ea8834-ac86-4346-8a33-228a782c2dd0
2005-09-21 12:12:58 +00:00
Bart van Bragt
95a323733f Fix for bug 73, invalid link under PM icon in memberlist/leaders
git-svn-id: file:///svn/phpbb/trunk@5218 89ea8834-ac86-4346-8a33-228a782c2dd0
2005-09-21 11:50:54 +00:00
Bart van Bragt
8a728e1014 System always showed 'you are banned permanently' even for temporary bans
git-svn-id: file:///svn/phpbb/trunk@5217 89ea8834-ac86-4346-8a33-228a782c2dd0
2005-09-21 11:07:20 +00:00
Bart van Bragt
d7fe796fd9 Small bug in template, some fields not shown if user posts first message in forum where postcount is not increased
git-svn-id: file:///svn/phpbb/trunk@5216 89ea8834-ac86-4346-8a33-228a782c2dd0
2005-09-20 19:00:10 +00:00
Bart van Bragt
da6bbc5851 Small bug in template, some fields not shown if user posts first message in forum where postcount is not increased
git-svn-id: file:///svn/phpbb/trunk@5215 89ea8834-ac86-4346-8a33-228a782c2dd0
2005-09-20 18:52:37 +00:00
Meik Sievertsen
269421a22f - fixing some minor bugs...
git-svn-id: file:///svn/phpbb/trunk@5203 89ea8834-ac86-4346-8a33-228a782c2dd0
2005-08-19 16:39:46 +00:00
Meik Sievertsen
4b9215bd14 ucp -> groups -> memberships
git-svn-id: file:///svn/phpbb/trunk@5202 89ea8834-ac86-4346-8a33-228a782c2dd0
2005-08-19 10:56:46 +00:00
Meik Sievertsen
9d825c0e20 hidden fields adjustments
git-svn-id: file:///svn/phpbb/trunk@5201 89ea8834-ac86-4346-8a33-228a782c2dd0
2005-08-19 10:55:30 +00:00
Meik Sievertsen
bcc1eb1c0e - only bugfixes
- use usergroup function to activate users at admin index


git-svn-id: file:///svn/phpbb/trunk@5200 89ea8834-ac86-4346-8a33-228a782c2dd0
2005-08-19 10:52:06 +00:00
Meik Sievertsen
f71d1a2a00 - add ability to limit search to groups
git-svn-id: file:///svn/phpbb/trunk@5199 89ea8834-ac86-4346-8a33-228a782c2dd0
2005-08-19 10:48:39 +00:00
Meik Sievertsen
1b331f3dd6 no longer needed here. ;)
git-svn-id: file:///svn/phpbb/trunk@5198 89ea8834-ac86-4346-8a33-228a782c2dd0
2005-08-19 10:37:07 +00:00
Meik Sievertsen
a7459cbe08 - fix some tiny glitches
git-svn-id: file:///svn/phpbb/trunk@5197 89ea8834-ac86-4346-8a33-228a782c2dd0
2005-08-18 12:58:23 +00:00
Meik Sievertsen
2ffe78b4ac - fixed some bugs in group functions
git-svn-id: file:///svn/phpbb/trunk@5196 89ea8834-ac86-4346-8a33-228a782c2dd0
2005-08-18 12:50:29 +00:00
Meik Sievertsen
c95fef802f - added function for easily building hidden fields
- extended confirm_box function (ability to use custom urls, ability to use custom confirm message)


git-svn-id: file:///svn/phpbb/trunk@5195 89ea8834-ac86-4346-8a33-228a782c2dd0
2005-08-18 12:48:39 +00:00
Meik Sievertsen
42126c23ec - fixing annoying queue bug
git-svn-id: file:///svn/phpbb/trunk@5194 89ea8834-ac86-4346-8a33-228a782c2dd0
2005-08-18 12:44:24 +00:00
Meik Sievertsen
4740e7dece - changed dbal class layout
git-svn-id: file:///svn/phpbb/trunk@5193 89ea8834-ac86-4346-8a33-228a782c2dd0
2005-08-17 15:57:50 +00:00
Meik Sievertsen
1694af43aa changed name of mssql-odbc file
git-svn-id: file:///svn/phpbb/trunk@5192 89ea8834-ac86-4346-8a33-228a782c2dd0
2005-08-17 14:29:05 +00:00
Meik Sievertsen
80f2e7dd4b do not use php5 function
git-svn-id: file:///svn/phpbb/trunk@5189 89ea8834-ac86-4346-8a33-228a782c2dd0
2005-07-28 18:16:15 +00:00
Paul S. Owen
54bb90ca60 Does this work any better ... let's see ...
git-svn-id: file:///svn/phpbb/trunk@5188 89ea8834-ac86-4346-8a33-228a782c2dd0
2005-07-28 11:50:27 +00:00
Paul S. Owen
540ef9d5b6 Minor updates
git-svn-id: file:///svn/phpbb/trunk@5186 89ea8834-ac86-4346-8a33-228a782c2dd0
2005-07-17 14:51:57 +00:00
Bart van Bragt
7520a51ea6 Simplified the DB switch for adding a user a bit
git-svn-id: file:///svn/phpbb/trunk@5185 89ea8834-ac86-4346-8a33-228a782c2dd0
2005-07-10 20:38:03 +00:00
Bart van Bragt
6f4dd17d01 the poll tables use the topic_id, not the post_id
git-svn-id: file:///svn/phpbb/trunk@5184 89ea8834-ac86-4346-8a33-228a782c2dd0
2005-07-10 20:15:01 +00:00
Paul S. Owen
8b7be7c1ec Delete u and k cookies
git-svn-id: file:///svn/phpbb/trunk@5183 89ea8834-ac86-4346-8a33-228a782c2dd0
2005-07-08 12:29:45 +00:00
Paul S. Owen
352b8536de Tidy up var assignment, cast integers in queries
git-svn-id: file:///svn/phpbb/trunk@5182 89ea8834-ac86-4346-8a33-228a782c2dd0
2005-07-05 14:43:58 +00:00
Paul S. Owen
a9c3b672d8 oops, apparently I didn't commit this
git-svn-id: file:///svn/phpbb/trunk@5181 89ea8834-ac86-4346-8a33-228a782c2dd0
2005-07-05 11:29:56 +00:00
Paul S. Owen
6f21f3102c Bye bye
git-svn-id: file:///svn/phpbb/trunk@5180 89ea8834-ac86-4346-8a33-228a782c2dd0
2005-07-05 11:29:13 +00:00
Paul S. Owen
54e379ffe3 sigh
git-svn-id: file:///svn/phpbb/trunk@5179 89ea8834-ac86-4346-8a33-228a782c2dd0
2005-07-05 01:53:34 +00:00
Paul S. Owen
cfa87f2407 Delete login key upon logout ... knew I forgot something from my original code
git-svn-id: file:///svn/phpbb/trunk@5178 89ea8834-ac86-4346-8a33-228a782c2dd0
2005-07-05 01:26:23 +00:00
Paul S. Owen
7146a6bc41 Remove use of serialize for session cookie data, no need for it anymore ... at least I can't think of one.
git-svn-id: file:///svn/phpbb/trunk@5177 89ea8834-ac86-4346-8a33-228a782c2dd0
2005-07-05 01:01:31 +00:00
Paul S. Owen
fad1f39abe Wanted ... someone who can commit updates without screwing up, will pay top dollar.
git-svn-id: file:///svn/phpbb/trunk@5176 89ea8834-ac86-4346-8a33-228a782c2dd0
2005-07-04 17:52:21 +00:00
Paul S. Owen
be7442570b Session key implementation.
git-svn-id: file:///svn/phpbb/trunk@5175 89ea8834-ac86-4346-8a33-228a782c2dd0
2005-07-04 16:54:34 +00:00
Paul S. Owen
0eae8040e8 It's been a while since I wrote schemas for non-mysql DB's ... so don't be surprised if they are spectacularly incorrect
git-svn-id: file:///svn/phpbb/trunk@5174 89ea8834-ac86-4346-8a33-228a782c2dd0
2005-07-04 14:13:43 +00:00
Paul S. Owen
0b814956db blah
git-svn-id: file:///svn/phpbb/trunk@5173 89ea8834-ac86-4346-8a33-228a782c2dd0
2005-07-04 12:22:30 +00:00
Paul S. Owen
cde8c382b5 oopsie
git-svn-id: file:///svn/phpbb/trunk@5172 89ea8834-ac86-4346-8a33-228a782c2dd0
2005-07-04 12:06:47 +00:00
Paul S. Owen
4775b818c6 Timberrrrrrrr ... added new cron service to tidy expired persistent login keys.
git-svn-id: file:///svn/phpbb/trunk@5171 89ea8834-ac86-4346-8a33-228a782c2dd0
2005-07-04 11:53:57 +00:00
Paul S. Owen
6f255e596e Me again ... yep, keep running ... that there sky will be a falling any time now
git-svn-id: file:///svn/phpbb/trunk@5170 89ea8834-ac86-4346-8a33-228a782c2dd0
2005-07-04 11:52:02 +00:00
Paul S. Owen
adf49146b3 Blimey! A commit ... what's more, a commit from me ... quick, run for the hills the world must be ending.
git-svn-id: file:///svn/phpbb/trunk@5169 89ea8834-ac86-4346-8a33-228a782c2dd0
2005-07-04 11:47:38 +00:00
Meik Sievertsen
a9e44e4bdf - checkin fixed viewtopic (just forgot to check it in, been applied to area51 after 2.0.16 release)
git-svn-id: file:///svn/phpbb/trunk@5168 89ea8834-ac86-4346-8a33-228a782c2dd0
2005-07-03 15:11:34 +00:00
Bart van Bragt
a9fed2022c Fixed small profile fields problem
git-svn-id: file:///svn/phpbb/trunk@5163 89ea8834-ac86-4346-8a33-228a782c2dd0
2005-06-22 21:41:07 +00:00
Bart van Bragt
67113ee028 Fixed a problem with editing bbcode in textfields
git-svn-id: file:///svn/phpbb/trunk@5162 89ea8834-ac86-4346-8a33-228a782c2dd0
2005-06-16 21:22:28 +00:00
Meik Sievertsen
2e4ea58d28 - view active topics
- seperated search id (int) from search id (string) for security reasons


git-svn-id: file:///svn/phpbb/trunk@5161 89ea8834-ac86-4346-8a33-228a782c2dd0
2005-06-13 17:51:55 +00:00
Meik Sievertsen
2ca7293a68 - memberlist changes
git-svn-id: file:///svn/phpbb/trunk@5160 89ea8834-ac86-4346-8a33-228a782c2dd0
2005-06-10 19:07:17 +00:00
Meik Sievertsen
66d2e8c5b6 - sorry for this change paul. :( But it is needed for a memberlist change... hopefully not breaking anything for you. The only change is the check for the ids explicitly set to false to allow ids with "0".
git-svn-id: file:///svn/phpbb/trunk@5159 89ea8834-ac86-4346-8a33-228a782c2dd0
2005-06-10 19:03:38 +00:00
Meik Sievertsen
38c7e4146f - fixed breaking quote bbcode ([quote])
git-svn-id: file:///svn/phpbb/trunk@5158 89ea8834-ac86-4346-8a33-228a782c2dd0
2005-06-10 18:59:08 +00:00
Meik Sievertsen
e6469bb0d0 - log removing posts
- fix queue saving if package size is 0
- user memberships (not used atm)


git-svn-id: file:///svn/phpbb/trunk@5157 89ea8834-ac86-4346-8a33-228a782c2dd0
2005-06-10 18:57:21 +00:00
Meik Sievertsen
d24f5d734b some language additions and tiny bugfixes related to the request_var change
git-svn-id: file:///svn/phpbb/trunk@5156 89ea8834-ac86-4346-8a33-228a782c2dd0
2005-05-31 18:54:00 +00:00
Meik Sievertsen
6482d0e207 - fix two small errors i "introduced" a while back. ;)
git-svn-id: file:///svn/phpbb/trunk@5155 89ea8834-ac86-4346-8a33-228a782c2dd0
2005-05-30 06:42:49 +00:00
Bart van Bragt
271e9caa8c Fix a problem with Admin Profile (text) Fields and registration
git-svn-id: file:///svn/phpbb/trunk@5154 89ea8834-ac86-4346-8a33-228a782c2dd0
2005-05-27 21:16:24 +00:00
Bart van Bragt
1451204e3f Fixed small i18n related error in report.php
git-svn-id: file:///svn/phpbb/trunk@5153 89ea8834-ac86-4346-8a33-228a782c2dd0
2005-05-24 10:48:38 +00:00
Meik Sievertsen
918914926b - request_var updates
- added group selection to pm filter
- fixed activation/deletion of inactive user accounts in admin index
- fixed some color swatch bugs


git-svn-id: file:///svn/phpbb/trunk@5152 89ea8834-ac86-4346-8a33-228a782c2dd0
2005-05-15 20:17:35 +00:00
Meik Sievertsen
4c207e5510 - fixed url parsing ([] breakage)
git-svn-id: file:///svn/phpbb/trunk@5151 89ea8834-ac86-4346-8a33-228a782c2dd0
2005-05-15 20:08:05 +00:00
Meik Sievertsen
4983385f4e - fix issue with malicious protocols
- check input on every hardcoded bbcode/check for empty content


git-svn-id: file:///svn/phpbb/trunk@5148 89ea8834-ac86-4346-8a33-228a782c2dd0
2005-05-10 17:03:56 +00:00
Meik Sievertsen
0b8944c28d - check for empty uploaded file
git-svn-id: file:///svn/phpbb/trunk@5147 89ea8834-ac86-4346-8a33-228a782c2dd0
2005-05-10 17:00:41 +00:00
Bart van Bragt
5b650f2c52 Ratings table is no longer available in this version
git-svn-id: file:///svn/phpbb/trunk@5146 89ea8834-ac86-4346-8a33-228a782c2dd0
2005-05-09 09:03:53 +00:00
Bart van Bragt
2f68ac78c6 Changed the default charset from -15 to -1. Make sure that you set 'post_encoding' in the posts table and 'message_encoding' in the private messages table to 'iso-8859-1' after this update.
git-svn-id: file:///svn/phpbb/trunk@5144 89ea8834-ac86-4346-8a33-228a782c2dd0
2005-05-07 14:19:14 +00:00
Meik Sievertsen
81c7144f68 - updated oracle schema/db files
- updated sqlite schema/db files


git-svn-id: file:///svn/phpbb/trunk@5141 89ea8834-ac86-4346-8a33-228a782c2dd0
2005-05-05 17:01:07 +00:00
Meik Sievertsen
b576d6af0a - some cross-db related changes
- putting active bots array into cache


git-svn-id: file:///svn/phpbb/trunk@5140 89ea8834-ac86-4346-8a33-228a782c2dd0
2005-05-05 16:55:05 +00:00
Meik Sievertsen
16e50db4ba - some private message fixes
git-svn-id: file:///svn/phpbb/trunk@5139 89ea8834-ac86-4346-8a33-228a782c2dd0
2005-05-01 13:15:49 +00:00
Meik Sievertsen
be3bdf61d7 - some fixes here and there
git-svn-id: file:///svn/phpbb/trunk@5138 89ea8834-ac86-4346-8a33-228a782c2dd0
2005-04-30 14:36:33 +00:00
Meik Sievertsen
75012dec17 - related to the updated topic tracking code
git-svn-id: file:///svn/phpbb/trunk@5137 89ea8834-ac86-4346-8a33-228a782c2dd0
2005-04-30 14:34:09 +00:00
Meik Sievertsen
15c0535cbc - new queue invocation method
git-svn-id: file:///svn/phpbb/trunk@5136 89ea8834-ac86-4346-8a33-228a782c2dd0
2005-04-30 14:28:07 +00:00
Meik Sievertsen
0dec4135c5 - test slightly modified topic tracking code
- some bugfixes


git-svn-id: file:///svn/phpbb/trunk@5135 89ea8834-ac86-4346-8a33-228a782c2dd0
2005-04-30 14:24:13 +00:00
Meik Sievertsen
7eee98f316 - topic/forum icon img additions
git-svn-id: file:///svn/phpbb/trunk@5134 89ea8834-ac86-4346-8a33-228a782c2dd0
2005-04-30 14:16:21 +00:00
Meik Sievertsen
7c8ed09c9a - changes to /acm
git-svn-id: file:///svn/phpbb/trunk@5133 89ea8834-ac86-4346-8a33-228a782c2dd0
2005-04-30 14:14:08 +00:00
Meik Sievertsen
f6df4a9993 - fix smiley emotion
- some language pack updates
- profile field updates


git-svn-id: file:///svn/phpbb/trunk@5132 89ea8834-ac86-4346-8a33-228a782c2dd0
2005-04-30 14:12:21 +00:00
Meik Sievertsen
20fda3315f - schema changes
git-svn-id: file:///svn/phpbb/trunk@5131 89ea8834-ac86-4346-8a33-228a782c2dd0
2005-04-30 14:08:14 +00:00
Meik Sievertsen
d1f3349f7b - dbal changes
git-svn-id: file:///svn/phpbb/trunk@5130 89ea8834-ac86-4346-8a33-228a782c2dd0
2005-04-22 17:44:36 +00:00
Meik Sievertsen
f0d7d05888 forgot to commit this for the img change
git-svn-id: file:///svn/phpbb/trunk@5129 89ea8834-ac86-4346-8a33-228a782c2dd0
2005-04-21 19:27:03 +00:00
Meik Sievertsen
7b16107513 tiny fixes
git-svn-id: file:///svn/phpbb/trunk@5128 89ea8834-ac86-4346-8a33-228a782c2dd0
2005-04-20 20:47:03 +00:00
Meik Sievertsen
3dd6b0ddc3 - fix [list] preview and list parsing in general (no [ and ] breaking)
git-svn-id: file:///svn/phpbb/trunk@5127 89ea8834-ac86-4346-8a33-228a782c2dd0
2005-04-20 20:36:10 +00:00
Meik Sievertsen
8e50cf4185 - add ability to grab single image params from user::img
git-svn-id: file:///svn/phpbb/trunk@5126 89ea8834-ac86-4346-8a33-228a782c2dd0
2005-04-20 19:59:59 +00:00
Meik Sievertsen
f134530566 - re-added emotion column. ;)
- postgresql schema fix


git-svn-id: file:///svn/phpbb/trunk@5125 89ea8834-ac86-4346-8a33-228a782c2dd0
2005-04-20 18:04:43 +00:00
Bart van Bragt
a78e6a15af Problem with the permission caching that only showed in some race condtion
git-svn-id: file:///svn/phpbb/trunk@5122 89ea8834-ac86-4346-8a33-228a782c2dd0
2005-04-17 09:30:22 +00:00
Meik Sievertsen
d92380657d - made path information available to template (T_)
- eased topic/post icon in templates (removing hardcoded img)
- added S_FIRST_ROW and S_LAST_ROW to template engine


git-svn-id: file:///svn/phpbb/trunk@5118 89ea8834-ac86-4346-8a33-228a782c2dd0
2005-04-11 21:32:22 +00:00
Meik Sievertsen
557d09bb72 - added updated coding guidelines
- introduced is_registered and is_bot flags for correct determinition of guest/registered/bot users
- changed bot code to act on useragent || ip


git-svn-id: file:///svn/phpbb/trunk@5117 89ea8834-ac86-4346-8a33-228a782c2dd0
2005-04-10 18:07:12 +00:00
Meik Sievertsen
c947835317 - fixed custom profile field get/store
- changed tz lang array to hold more descriptive timezones (no more tz+-13, dst is a seperate option)
- fixed bugs after jabber queue processing (data being escaped differently)


git-svn-id: file:///svn/phpbb/trunk@5116 89ea8834-ac86-4346-8a33-228a782c2dd0
2005-04-10 11:21:01 +00:00
Meik Sievertsen
a01705c7d0 forgot one file
git-svn-id: file:///svn/phpbb/trunk@5115 89ea8834-ac86-4346-8a33-228a782c2dd0
2005-04-09 12:26:57 +00:00
Meik Sievertsen
fc32df0358 - Documentation related changes
- added resend activation email dialog
- fixed issue in session code
- log failed/successful admin re-authentication/login
- fixed simple forum dropdown box (used in mcp and posting)


git-svn-id: file:///svn/phpbb/trunk@5114 89ea8834-ac86-4346-8a33-228a782c2dd0
2005-04-09 12:26:45 +00:00
Meik Sievertsen
0ba3f620d4 say hello to our little friends, we love smilies.
git-svn-id: file:///svn/phpbb/trunk@5113 89ea8834-ac86-4346-8a33-228a782c2dd0
2005-04-07 16:51:46 +00:00
Meik Sievertsen
8bc19d573b say goodbye. We do not like smiles.
git-svn-id: file:///svn/phpbb/trunk@5112 89ea8834-ac86-4346-8a33-228a782c2dd0
2005-04-07 16:49:27 +00:00
Meik Sievertsen
df2c64f8ea new file upload class handling all file uploads.
git-svn-id: file:///svn/phpbb/trunk@5110 89ea8834-ac86-4346-8a33-228a782c2dd0
2005-03-21 23:12:41 +00:00
Meik Sievertsen
e4fe2d853d - and my second attempt
git-svn-id: file:///svn/phpbb/trunk@5109 89ea8834-ac86-4346-8a33-228a782c2dd0
2005-03-21 23:10:11 +00:00
Meik Sievertsen
a4e51c9699 - first try to break things...
git-svn-id: file:///svn/phpbb/trunk@5108 89ea8834-ac86-4346-8a33-228a782c2dd0
2005-03-21 22:43:07 +00:00
Bart van Bragt
68b7397da8 It's really hard to get a commit right the first time. Really\! It is\!
git-svn-id: file:///svn/phpbb/trunk@5105 89ea8834-ac86-4346-8a33-228a782c2dd0
2005-03-17 23:34:00 +00:00
Bart van Bragt
a6d2d210db Show a useful error message if a language file is missing
git-svn-id: file:///svn/phpbb/trunk@5104 89ea8834-ac86-4346-8a33-228a782c2dd0
2005-03-17 22:41:20 +00:00
Meik Sievertsen
4269b318a2 change viewonline page slightly.
Mental Note: Step away from using in_array in conjunction with huge arrays (and within a loop), might get slow. ;)


git-svn-id: file:///svn/phpbb/trunk@5091 89ea8834-ac86-4346-8a33-228a782c2dd0
2005-02-10 20:19:48 +00:00
Bart van Bragt
9841f6145c Missing UCP language string, some small activation issues on adm/index.php
git-svn-id: file:///svn/phpbb/trunk@5090 89ea8834-ac86-4346-8a33-228a782c2dd0
2005-02-02 13:14:46 +00:00
Meik Sievertsen
57a9f3f8db let composing pms work again. :)
git-svn-id: file:///svn/phpbb/trunk@5089 89ea8834-ac86-4346-8a33-228a782c2dd0
2005-01-30 17:26:56 +00:00
Meik Sievertsen
0aacc24526 fix last_post_information for moderated topics
git-svn-id: file:///svn/phpbb/trunk@5088 89ea8834-ac86-4346-8a33-228a782c2dd0
2005-01-29 14:46:16 +00:00
Bart van Bragt
261e79c920 Fixed dotted topics on reply
git-svn-id: file:///svn/phpbb/trunk@5087 89ea8834-ac86-4346-8a33-228a782c2dd0
2005-01-29 13:33:30 +00:00
Meik Sievertsen
9c2cde7dfd put user into appropiate group after activating his account
git-svn-id: file:///svn/phpbb/trunk@5086 89ea8834-ac86-4346-8a33-228a782c2dd0
2005-01-29 11:29:35 +00:00
Meik Sievertsen
da674eae0c - some additions
- working with safe mode enabled too


git-svn-id: file:///svn/phpbb/trunk@5085 89ea8834-ac86-4346-8a33-228a782c2dd0
2005-01-28 22:56:16 +00:00
Bart van Bragt
e15083f451 Only send PM notification if the user wants to receive one
git-svn-id: file:///svn/phpbb/trunk@5084 89ea8834-ac86-4346-8a33-228a782c2dd0
2005-01-28 11:38:16 +00:00
Meik Sievertsen
b57ccb8cb9 fix admin_session "bug"
git-svn-id: file:///svn/phpbb/trunk@5083 89ea8834-ac86-4346-8a33-228a782c2dd0
2005-01-27 18:59:38 +00:00
Meik Sievertsen
7253ee19ca - fix serious bug (not updating topic/post count), i do not know why this slipped through and no one noticed... :) Maybe only i, lately i was performing very badly, had a few flaws, need to update myself to a stable version...
git-svn-id: file:///svn/phpbb/trunk@5082 89ea8834-ac86-4346-8a33-228a782c2dd0
2005-01-27 18:54:20 +00:00
Meik Sievertsen
b26f910eb1 - sticky bug fix
git-svn-id: file:///svn/phpbb/trunk@5081 89ea8834-ac86-4346-8a33-228a782c2dd0
2005-01-27 18:36:57 +00:00
Bart van Bragt
89b5c490ef Fixed some issues with avatars
git-svn-id: file:///svn/phpbb/trunk@5080 89ea8834-ac86-4346-8a33-228a782c2dd0
2005-01-27 14:10:31 +00:00
Paul S. Owen
8527310272 I'ml unwell, give me a break
git-svn-id: file:///svn/phpbb/trunk@5079 89ea8834-ac86-4346-8a33-228a782c2dd0
2005-01-26 22:11:41 +00:00
Paul S. Owen
3f88d08672 Display poll results after voting even if you can change said vote
git-svn-id: file:///svn/phpbb/trunk@5078 89ea8834-ac86-4346-8a33-228a782c2dd0
2005-01-26 13:37:29 +00:00
Bart van Bragt
c8b0cdc0e8 Fixed small bug related to email sending
git-svn-id: file:///svn/phpbb/trunk@5077 89ea8834-ac86-4346-8a33-228a782c2dd0
2005-01-26 10:42:34 +00:00
Bart van Bragt
0a1b040588 BBCode enabled profile fields, removed field_name from profile fields, fixed some uninitialised variable issues, some small conversion issues
git-svn-id: file:///svn/phpbb/trunk@5076 89ea8834-ac86-4346-8a33-228a782c2dd0
2005-01-24 13:14:31 +00:00
Meik Sievertsen
61fbde5a72 here we go, a new admin file, only first draft.
git-svn-id: file:///svn/phpbb/trunk@5075 89ea8834-ac86-4346-8a33-228a782c2dd0
2005-01-23 23:07:26 +00:00
Meik Sievertsen
1613c37d91 - change registration page language on-the-fly
- added download function to functions_compress as well as tiny bugfixes
- added local_name and author to iso.txt file


git-svn-id: file:///svn/phpbb/trunk@5074 89ea8834-ac86-4346-8a33-228a782c2dd0
2005-01-23 23:02:10 +00:00
Meik Sievertsen
055aef5003 damn
git-svn-id: file:///svn/phpbb/trunk@5073 89ea8834-ac86-4346-8a33-228a782c2dd0
2005-01-22 12:24:33 +00:00
Meik Sievertsen
4e7d5e88c6 tiny addition
git-svn-id: file:///svn/phpbb/trunk@5072 89ea8834-ac86-4346-8a33-228a782c2dd0
2005-01-22 12:07:32 +00:00
Meik Sievertsen
e4be0ca799 - removed unnecessary pm options
- added one option to clearly define email visibility


git-svn-id: file:///svn/phpbb/trunk@5071 89ea8834-ac86-4346-8a33-228a782c2dd0
2005-01-21 19:20:26 +00:00
Meik Sievertsen
1438067953 - fix sql error (mysql4.1)
git-svn-id: file:///svn/phpbb/trunk@5070 89ea8834-ac86-4346-8a33-228a782c2dd0
2005-01-21 09:48:46 +00:00
Meik Sievertsen
f71dae3365 - hrm
git-svn-id: file:///svn/phpbb/trunk@5069 89ea8834-ac86-4346-8a33-228a782c2dd0
2005-01-21 09:17:16 +00:00
Meik Sievertsen
9c1a4bdac1 - bugfixes
- default sort options for posts too
- adjusted format_date to remove the (time intensive) preg_ calls
- temporary style.php code.


git-svn-id: file:///svn/phpbb/trunk@5068 89ea8834-ac86-4346-8a33-228a782c2dd0
2005-01-20 20:57:45 +00:00
Meik Sievertsen
a7ef13c639 - search_array be mediumtext
git-svn-id: file:///svn/phpbb/trunk@5067 89ea8834-ac86-4346-8a33-228a782c2dd0
2005-01-19 10:01:35 +00:00
Meik Sievertsen
20d7a22615 - do not add post to queue (if moderated forum) if posting user is able to approve posts.
git-svn-id: file:///svn/phpbb/trunk@5066 89ea8834-ac86-4346-8a33-228a782c2dd0
2005-01-16 12:09:43 +00:00
Meik Sievertsen
e41a6ecceb - fix bugs in mysql4 layer
git-svn-id: file:///svn/phpbb/trunk@5065 89ea8834-ac86-4346-8a33-228a782c2dd0
2005-01-16 11:39:49 +00:00
Meik Sievertsen
5c680ea93f - remove group informations from session queries
git-svn-id: file:///svn/phpbb/trunk@5064 89ea8834-ac86-4346-8a33-228a782c2dd0
2005-01-15 18:50:22 +00:00
Meik Sievertsen
f68771d64c - bugfixes
- do not hardcode url bbcode tag (please change the bitfield accordingly - see schema file!)


git-svn-id: file:///svn/phpbb/trunk@5063 89ea8834-ac86-4346-8a33-228a782c2dd0
2005-01-15 18:49:54 +00:00
Paul S. Owen
2e4ae506a6 Just a precaution
git-svn-id: file:///svn/phpbb/trunk@5062 89ea8834-ac86-4346-8a33-228a782c2dd0
2005-01-13 23:36:56 +00:00
Paul S. Owen
c68949ed37 oopsie, forgot this
git-svn-id: file:///svn/phpbb/trunk@5061 89ea8834-ac86-4346-8a33-228a782c2dd0
2005-01-13 23:35:40 +00:00
Paul S. Owen
c6e4143739 These aren't the search files you're looking for ... I can go about my business ... move along ...
git-svn-id: file:///svn/phpbb/trunk@5060 89ea8834-ac86-4346-8a33-228a782c2dd0
2005-01-13 22:30:42 +00:00
Paul S. Owen
14e010cd53 Censor topic name, signature, occupation, interests and location
git-svn-id: file:///svn/phpbb/trunk@5059 89ea8834-ac86-4346-8a33-228a782c2dd0
2005-01-13 22:25:40 +00:00
Paul S. Owen
5f37f2758a Fix profile msn contact link
git-svn-id: file:///svn/phpbb/trunk@5058 89ea8834-ac86-4346-8a33-228a782c2dd0
2005-01-13 16:56:00 +00:00
Paul S. Owen
19438e7001 Fix topic count display for subfora
git-svn-id: file:///svn/phpbb/trunk@5057 89ea8834-ac86-4346-8a33-228a782c2dd0
2005-01-13 15:31:11 +00:00
Paul S. Owen
676ca63ef0 Some uncommitted till now changes
git-svn-id: file:///svn/phpbb/trunk@5056 89ea8834-ac86-4346-8a33-228a782c2dd0
2005-01-12 18:46:48 +00:00
Bart van Bragt
0b91fffe8b Fixed small PM issue in header
git-svn-id: file:///svn/phpbb/trunk@5055 89ea8834-ac86-4346-8a33-228a782c2dd0
2005-01-11 20:58:48 +00:00
Meik Sievertsen
17aeca1cb5 - make file available in gallery avatar_column
git-svn-id: file:///svn/phpbb/trunk@5054 89ea8834-ac86-4346-8a33-228a782c2dd0
2005-01-10 19:37:14 +00:00
Meik Sievertsen
04f91c3ee2 this should eliminate most problems with statements not interpreted but valid. We really do not use/need multiline conditionals. ;)
git-svn-id: file:///svn/phpbb/trunk@5053 89ea8834-ac86-4346-8a33-228a782c2dd0
2005-01-10 07:14:02 +00:00
Meik Sievertsen
3de2acb3df - this should work... he says
git-svn-id: file:///svn/phpbb/trunk@5052 89ea8834-ac86-4346-8a33-228a782c2dd0
2005-01-09 20:10:26 +00:00
Meik Sievertsen
e5ae182a38 - interbase/firebird 1.5+ support (still needs some tweaking)
git-svn-id: file:///svn/phpbb/trunk@5051 89ea8834-ac86-4346-8a33-228a782c2dd0
2005-01-09 20:01:20 +00:00
Paul S. Owen
fdac7fa800 No support for MS Access in the next major release - sorry guys, it's really not meant for use with multiple concurrent users anyway
git-svn-id: file:///svn/phpbb/trunk@5050 89ea8834-ac86-4346-8a33-228a782c2dd0
2005-01-09 15:01:57 +00:00
Meik Sievertsen
b7ac18d9f9 - postgresql schema, NOT TESTED
git-svn-id: file:///svn/phpbb/trunk@5049 89ea8834-ac86-4346-8a33-228a782c2dd0
2005-01-08 12:28:10 +00:00
Meik Sievertsen
7a1b178fe6 - merged getting of unread pm count function to get_folder function
- made folder usable within the template (especially custom folder)


git-svn-id: file:///svn/phpbb/trunk@5048 89ea8834-ac86-4346-8a33-228a782c2dd0
2005-01-06 23:03:08 +00:00
Meik Sievertsen
b66f68a779 - small change in text size. ;)
git-svn-id: file:///svn/phpbb/trunk@5047 89ea8834-ac86-4346-8a33-228a782c2dd0
2005-01-05 18:18:58 +00:00
Meik Sievertsen
ccde3b3e41 - split long urls fix (&amp; into &)
git-svn-id: file:///svn/phpbb/trunk@5046 89ea8834-ac86-4346-8a33-228a782c2dd0
2005-01-05 06:35:44 +00:00
Meik Sievertsen
d6fa1319e5 - mssql related changes
- only added NOT NULL text columns to schema_data, no updates here. ;)


git-svn-id: file:///svn/phpbb/trunk@5045 89ea8834-ac86-4346-8a33-228a782c2dd0
2005-01-04 22:07:53 +00:00
Meik Sievertsen
c73bc2314c - not tested mssql schema (should be mssql 7 compatible)
git-svn-id: file:///svn/phpbb/trunk@5044 89ea8834-ac86-4346-8a33-228a782c2dd0
2005-01-04 11:47:42 +00:00
Meik Sievertsen
f3659f1d9d - admin user has a post count of 1
git-svn-id: file:///svn/phpbb/trunk@5043 89ea8834-ac86-4346-8a33-228a782c2dd0
2005-01-02 19:52:12 +00:00
Meik Sievertsen
16d41b20d8 - mysql 4.1.x support (mysqli extension)
git-svn-id: file:///svn/phpbb/trunk@5042 89ea8834-ac86-4346-8a33-228a782c2dd0
2005-01-02 19:50:07 +00:00
Meik Sievertsen
cf1d36aa77 - check for zero user_posts
git-svn-id: file:///svn/phpbb/trunk@5041 89ea8834-ac86-4346-8a33-228a782c2dd0
2005-01-02 19:12:56 +00:00
Meik Sievertsen
52f17c49d7 - make use of new get_supported_image_types format
- added mysql 4.1.x support for database size


git-svn-id: file:///svn/phpbb/trunk@5040 89ea8834-ac86-4346-8a33-228a782c2dd0
2005-01-02 19:12:14 +00:00
Meik Sievertsen
9c4b9d9dae - added ability to grab supported gd formats
git-svn-id: file:///svn/phpbb/trunk@5039 89ea8834-ac86-4346-8a33-228a782c2dd0
2005-01-02 19:08:07 +00:00
Meik Sievertsen
a082635b76 ...see if i am able to break the cookie tracking system this time. :D
- made some session code updates
- added new acl function (might be helpful later)


git-svn-id: file:///svn/phpbb/trunk@5038 89ea8834-ac86-4346-8a33-228a782c2dd0
2005-01-02 19:06:45 +00:00
Meik Sievertsen
cf54570f6c - fixed [code=php]
- optimized db/mysql.php a little bit


git-svn-id: file:///svn/phpbb/trunk@5037 89ea8834-ac86-4346-8a33-228a782c2dd0
2004-12-31 13:58:41 +00:00
Paul S. Owen
1e334fca0e Remove version information from display
git-svn-id: file:///svn/phpbb/trunk@5036 89ea8834-ac86-4346-8a33-228a782c2dd0
2004-12-22 02:06:42 +00:00
Meik Sievertsen
5ac4556ef1 - some fixes/changes
git-svn-id: file:///svn/phpbb/trunk@5035 89ea8834-ac86-4346-8a33-228a782c2dd0
2004-12-19 17:59:15 +00:00
Meik Sievertsen
3c6c673476 fix highlight issue in 2.1
git-svn-id: file:///svn/phpbb/trunk@5034 89ea8834-ac86-4346-8a33-228a782c2dd0
2004-12-18 16:42:21 +00:00
Meik Sievertsen
40880e7705 - removed custom code. ;)
- fixed display of global, unapproved topics in mcp front (still a lot of bugs regarding global announcements)


git-svn-id: file:///svn/phpbb/trunk@5033 89ea8834-ac86-4346-8a33-228a782c2dd0
2004-12-15 18:30:50 +00:00
Meik Sievertsen
20d18e1a9f - fix attachment mod errors
- make upload path consistent with all other 2.2 path settings
- fix "post title wrong after split" bug


git-svn-id: file:///svn/phpbb/trunk@5032 89ea8834-ac86-4346-8a33-228a782c2dd0
2004-12-12 14:07:02 +00:00
Paul S. Owen
af82f66658 Add warning notice
git-svn-id: file:///svn/phpbb/trunk@5031 89ea8834-ac86-4346-8a33-228a782c2dd0
2004-11-30 11:05:23 +00:00
Bart van Bragt
b66e8ee627 Tiny fix for ImageMagick detection on windows
git-svn-id: file:///svn/phpbb/trunk@5030 89ea8834-ac86-4346-8a33-228a782c2dd0
2004-11-25 21:52:47 +00:00
Meik Sievertsen
d4d1307e15 - letting urls work again, fixing [code] breakage on urls, corrected magic_url to be able to parse urls at the beginning/end of bbcode blocks
- fixed "edited by" message.


git-svn-id: file:///svn/phpbb/trunk@5027 89ea8834-ac86-4346-8a33-228a782c2dd0
2004-11-14 17:12:07 +00:00
Bart van Bragt
d62c5a6fcd Some small touchups
git-svn-id: file:///svn/phpbb/trunk@5026 89ea8834-ac86-4346-8a33-228a782c2dd0
2004-11-10 14:15:16 +00:00
Meik Sievertsen
e9eda1bd3e *** empty log message ***
git-svn-id: file:///svn/phpbb/trunk@5025 89ea8834-ac86-4346-8a33-228a782c2dd0
2004-11-07 12:38:04 +00:00
Meik Sievertsen
cf465cda3f - minor fixes
git-svn-id: file:///svn/phpbb/trunk@5024 89ea8834-ac86-4346-8a33-228a782c2dd0
2004-11-06 14:24:34 +00:00
Meik Sievertsen
541a049725 - a bunch of updates, most of them bbcode related
git-svn-id: file:///svn/phpbb/trunk@5023 89ea8834-ac86-4346-8a33-228a782c2dd0
2004-11-06 14:22:04 +00:00
Meik Sievertsen
836771cfb8 - adding recalc_btree (not used atm)
git-svn-id: file:///svn/phpbb/trunk@5022 89ea8834-ac86-4346-8a33-228a782c2dd0
2004-11-06 14:11:47 +00:00
Meik Sievertsen
87d4e80a77 - script to add missing permissions
git-svn-id: file:///svn/phpbb/trunk@5021 89ea8834-ac86-4346-8a33-228a782c2dd0
2004-11-06 14:08:04 +00:00
Meik Sievertsen
df106e455b - signature controls + new permission
git-svn-id: file:///svn/phpbb/trunk@5020 89ea8834-ac86-4346-8a33-228a782c2dd0
2004-11-06 14:06:27 +00:00
Meik Sievertsen
729fe8f13b - lang updates
git-svn-id: file:///svn/phpbb/trunk@5019 89ea8834-ac86-4346-8a33-228a782c2dd0
2004-11-06 14:04:55 +00:00
Bart van Bragt
ea0b1ec23c Damn EOL, damn vim :S
git-svn-id: file:///svn/phpbb/trunk@5018 89ea8834-ac86-4346-8a33-228a782c2dd0
2004-11-01 12:43:41 +00:00
Bart van Bragt
fef9854c59 Fixed small problem with finding Imagemagick
git-svn-id: file:///svn/phpbb/trunk@5017 89ea8834-ac86-4346-8a33-228a782c2dd0
2004-11-01 12:26:29 +00:00
Paul S. Owen
4a6cefcb15 Hello everyone! My name is functions_module, happy to meet you ... no humping please
git-svn-id: file:///svn/phpbb/trunk@5016 89ea8834-ac86-4346-8a33-228a782c2dd0
2004-10-31 13:26:38 +00:00
Meik Sievertsen
4e86987ee3 language updates
git-svn-id: file:///svn/phpbb/trunk@5015 89ea8834-ac86-4346-8a33-228a782c2dd0
2004-10-30 17:18:29 +00:00
Meik Sievertsen
880545561b template updates
git-svn-id: file:///svn/phpbb/trunk@5014 89ea8834-ac86-4346-8a33-228a782c2dd0
2004-10-30 17:15:11 +00:00
Meik Sievertsen
978d58e73d - new function + a few fixes suggested by cyberalien
git-svn-id: file:///svn/phpbb/trunk@5013 89ea8834-ac86-4346-8a33-228a782c2dd0
2004-10-30 17:11:58 +00:00
Meik Sievertsen
c987a54bb0 more ucp updates
git-svn-id: file:///svn/phpbb/trunk@5012 89ea8834-ac86-4346-8a33-228a782c2dd0
2004-10-30 17:07:52 +00:00
Meik Sievertsen
34a954eaf1 fix subject bug
git-svn-id: file:///svn/phpbb/trunk@5011 89ea8834-ac86-4346-8a33-228a782c2dd0
2004-10-30 17:04:44 +00:00
Meik Sievertsen
cb3424716a - only small fixes to the memberlist
git-svn-id: file:///svn/phpbb/trunk@5010 89ea8834-ac86-4346-8a33-228a782c2dd0
2004-10-30 17:02:41 +00:00
Meik Sievertsen
4683e23427 - fix stopword handling for searches in search results
git-svn-id: file:///svn/phpbb/trunk@5009 89ea8834-ac86-4346-8a33-228a782c2dd0
2004-10-30 17:01:27 +00:00
Bart van Bragt
1a432006e3 Fixing up my "remove DEFAULT '0'" mess and fixing the real problem (a DEFAULT combined with auto_increment).
git-svn-id: file:///svn/phpbb/trunk@5008 89ea8834-ac86-4346-8a33-228a782c2dd0
2004-10-29 10:45:51 +00:00
Bart van Bragt
f1bcefcaa8 Removed "DEFAULT '0'" for INTs because of problems with installation on Windows. MySQL defaults to 0 anyway for integers.
git-svn-id: file:///svn/phpbb/trunk@5007 89ea8834-ac86-4346-8a33-228a782c2dd0
2004-10-28 13:41:37 +00:00
Bart van Bragt
c5e40db2a0 Removed duplicate declaration of build_cfg_template()
git-svn-id: file:///svn/phpbb/trunk@5006 89ea8834-ac86-4346-8a33-228a782c2dd0
2004-10-21 13:15:01 +00:00
Meik Sievertsen
e5b8ff9404 /me destroyed posting messages completly, now operating normal again. :) (... hopefully, never trust a dev)
git-svn-id: file:///svn/phpbb/trunk@5005 89ea8834-ac86-4346-8a33-228a782c2dd0
2004-10-21 10:04:57 +00:00
Meik Sievertsen
bb275f269d - merge search results
git-svn-id: file:///svn/phpbb/trunk@5004 89ea8834-ac86-4346-8a33-228a782c2dd0
2004-10-19 19:28:32 +00:00
Meik Sievertsen
c091164d7e - search updates
git-svn-id: file:///svn/phpbb/trunk@5003 89ea8834-ac86-4346-8a33-228a782c2dd0
2004-10-19 19:26:58 +00:00
Meik Sievertsen
028c05a9a6 - fix $user->img (once assigned alt/title tag not able to be overwritten because of static variable)
git-svn-id: file:///svn/phpbb/trunk@5002 89ea8834-ac86-4346-8a33-228a782c2dd0
2004-10-13 20:41:55 +00:00
Meik Sievertsen
c941f666cf - ucp register/remind/activate fixes mostly regarding account activation
- general ucp fixing (profile and ucp_main)
- created three new functions (return correct topic author string, generate topic related pagination and get topic type/status...). These general bits are used on several pages (subscribed topics, bookmarks, viewforum).
- config basic schema fix
- commented out inline fix for unread topic tracking in viewforum, instead tried another method (hopefully working as well)


git-svn-id: file:///svn/phpbb/trunk@5001 89ea8834-ac86-4346-8a33-228a782c2dd0
2004-10-13 19:30:02 +00:00
Meik Sievertsen
4804c05bca language updates
git-svn-id: file:///svn/phpbb/trunk@5000 89ea8834-ac86-4346-8a33-228a782c2dd0
2004-10-13 11:34:34 +00:00
Meik Sievertsen
01d79f2200 - reinemachefrau
git-svn-id: file:///svn/phpbb/trunk@4999 89ea8834-ac86-4346-8a33-228a782c2dd0
2004-10-08 11:29:36 +00:00
Meik Sievertsen
2fcb764f3e - more pm updates
git-svn-id: file:///svn/phpbb/trunk@4998 89ea8834-ac86-4346-8a33-228a782c2dd0
2004-10-08 11:13:01 +00:00
Meik Sievertsen
3f85d01341 - fixed move_pm and delete_pm
git-svn-id: file:///svn/phpbb/trunk@4997 89ea8834-ac86-4346-8a33-228a782c2dd0
2004-10-08 11:04:18 +00:00
Meik Sievertsen
2ac2d296e0 - cur_page no longer in use
- fix confirm box (since it used cur_page) :)


git-svn-id: file:///svn/phpbb/trunk@4996 89ea8834-ac86-4346-8a33-228a782c2dd0
2004-10-08 11:01:30 +00:00
Meik Sievertsen
6fe3f0e7d4 - load_moderators taken into account at index.php
- added S_UNREAD_TOPIC to viewforum
- changed S_UNREAD to S_UNREAD_POST in viewtopic


git-svn-id: file:///svn/phpbb/trunk@4995 89ea8834-ac86-4346-8a33-228a782c2dd0
2004-10-08 10:59:23 +00:00
Meik Sievertsen
a50b38c277 set correct dynamic config field if config name not present
git-svn-id: file:///svn/phpbb/trunk@4994 89ea8834-ac86-4346-8a33-228a782c2dd0
2004-10-06 12:05:18 +00:00
Meik Sievertsen
cd7e18e9f2 - search indexing fix
git-svn-id: file:///svn/phpbb/trunk@4993 89ea8834-ac86-4346-8a33-228a782c2dd0
2004-10-06 12:04:29 +00:00
Meik Sievertsen
b2d88fa157 - fix pm date display and attachments in pms
git-svn-id: file:///svn/phpbb/trunk@4992 89ea8834-ac86-4346-8a33-228a782c2dd0
2004-10-06 12:01:14 +00:00
Paul S. Owen
f66a06e947 Remove globalsearch action, no need
git-svn-id: file:///svn/phpbb/trunk@4991 89ea8834-ac86-4346-8a33-228a782c2dd0
2004-10-02 12:20:05 +00:00
Paul S. Owen
5b5a089ab6 Global search action
git-svn-id: file:///svn/phpbb/trunk@4990 89ea8834-ac86-4346-8a33-228a782c2dd0
2004-10-01 11:27:14 +00:00
Meik Sievertsen
bca152dada - fixing ongoing "topic/post icons bug"
git-svn-id: file:///svn/phpbb/trunk@4989 89ea8834-ac86-4346-8a33-228a782c2dd0
2004-09-28 17:46:57 +00:00
Meik Sievertsen
857670f522 now it's clear why install isn't working. ;)
git-svn-id: file:///svn/phpbb/trunk@4988 89ea8834-ac86-4346-8a33-228a782c2dd0
2004-09-26 13:50:08 +00:00
Meik Sievertsen
310edb4eb8 small update only fixing two obvious bugs
git-svn-id: file:///svn/phpbb/trunk@4987 89ea8834-ac86-4346-8a33-228a782c2dd0
2004-09-19 20:40:20 +00:00
Meik Sievertsen
8906e07d41 - extensions_allowed changed a bit.
git-svn-id: file:///svn/phpbb/trunk@4986 89ea8834-ac86-4346-8a33-228a782c2dd0
2004-09-17 09:11:48 +00:00
Meik Sievertsen
f8c8d23a72 damn line endings
git-svn-id: file:///svn/phpbb/trunk@4985 89ea8834-ac86-4346-8a33-228a782c2dd0
2004-09-16 21:49:24 +00:00
Meik Sievertsen
2fa463cdeb - more updates, mostly bugfixes to the bbcode parser
- changed current_user in sessions (please review)
- give more flexibility to style authors in regard to the pagination elements
- profile fields updates (included a sample constuct into viewtopic_body.html - have to be documented extensivly)
- code optimizations (use of strpos, sizeof, loops not iterating functions on every call, memory savings...)
- and last but not least --- hopefully not introduced more bugs than healthy (*cough*)


git-svn-id: file:///svn/phpbb/trunk@4984 89ea8834-ac86-4346-8a33-228a782c2dd0
2004-09-16 18:33:22 +00:00
Meik Sievertsen
d80f8d577e - print memory usage if available
git-svn-id: file:///svn/phpbb/trunk@4983 89ea8834-ac86-4346-8a33-228a782c2dd0
2004-09-06 06:23:37 +00:00
Meik Sievertsen
acf25b39a5 forgot to commit
git-svn-id: file:///svn/phpbb/trunk@4982 89ea8834-ac86-4346-8a33-228a782c2dd0
2004-09-05 15:50:51 +00:00
Meik Sievertsen
e593bcf3d7 - re-enable polls (user is now able to decide if users are able to change votes if this feature is enabled within the given forum)
git-svn-id: file:///svn/phpbb/trunk@4981 89ea8834-ac86-4346-8a33-228a782c2dd0
2004-09-05 15:45:50 +00:00
Meik Sievertsen
76f9c1bdad dumdidumdidum
git-svn-id: file:///svn/phpbb/trunk@4980 89ea8834-ac86-4346-8a33-228a782c2dd0
2004-09-05 09:59:56 +00:00
Meik Sievertsen
e3eaeef0f7 lets pm working again.
git-svn-id: file:///svn/phpbb/trunk@4979 89ea8834-ac86-4346-8a33-228a782c2dd0
2004-09-05 09:54:48 +00:00
Meik Sievertsen
57b188b7af my turn to break the forum (and at least pm's are no longer working - will not last long). HARRRR
git-svn-id: file:///svn/phpbb/trunk@4978 89ea8834-ac86-4346-8a33-228a782c2dd0
2004-09-04 19:32:23 +00:00
Paul S. Owen
68d73caefc oopsie, session ip was missing
git-svn-id: file:///svn/phpbb/trunk@4977 89ea8834-ac86-4346-8a33-228a782c2dd0
2004-09-02 20:54:09 +00:00
Meik Sievertsen
ca74baf476 - PM parameter for re-usage. ;)
git-svn-id: file:///svn/phpbb/trunk@4976 89ea8834-ac86-4346-8a33-228a782c2dd0
2004-09-01 19:29:02 +00:00
Paul S. Owen
efebb3b9b9 widdle
git-svn-id: file:///svn/phpbb/trunk@4975 89ea8834-ac86-4346-8a33-228a782c2dd0
2004-09-01 17:26:28 +00:00
Paul S. Owen
47fbaa31fe I will not swear, I will not swear ... I will not ... oh f**k it
git-svn-id: file:///svn/phpbb/trunk@4974 89ea8834-ac86-4346-8a33-228a782c2dd0
2004-09-01 16:23:20 +00:00
Paul S. Owen
0f4ae68276 Danger Wil Robinson Danger! Paul is commiting files! Danger
git-svn-id: file:///svn/phpbb/trunk@4973 89ea8834-ac86-4346-8a33-228a782c2dd0
2004-09-01 16:09:55 +00:00
Paul S. Owen
f84ee572c3 Danger Wil Robinson Danger! Paul is commiting files! Danger
git-svn-id: file:///svn/phpbb/trunk@4972 89ea8834-ac86-4346-8a33-228a782c2dd0
2004-09-01 15:55:41 +00:00
Paul S. Owen
33d0903698 This is a mass commit ... expect trouble! Changes made here are primarily to how login is handled, schema changes necessary!
git-svn-id: file:///svn/phpbb/trunk@4971 89ea8834-ac86-4346-8a33-228a782c2dd0
2004-09-01 15:53:27 +00:00
Paul S. Owen
070cbefa46 This is a mass commit ... expect trouble! Changes made here are primarily to how login is handled, schema changes necessary!
git-svn-id: file:///svn/phpbb/trunk@4970 89ea8834-ac86-4346-8a33-228a782c2dd0
2004-09-01 15:47:46 +00:00
Meik Sievertsen
3c8e36b458 - now notification redirection working... ?!
git-svn-id: file:///svn/phpbb/trunk@4969 89ea8834-ac86-4346-8a33-228a782c2dd0
2004-09-01 08:42:12 +00:00
Meik Sievertsen
ec5521438e - re-enable post icons (sorry for this, thought we would only support topic icons. :D) - fixed ordering to let the post icon_id be the primary selection
git-svn-id: file:///svn/phpbb/trunk@4968 89ea8834-ac86-4346-8a33-228a782c2dd0
2004-09-01 08:40:54 +00:00
Meik Sievertsen
2234fd908f - small fix for typo
git-svn-id: file:///svn/phpbb/trunk@4967 89ea8834-ac86-4346-8a33-228a782c2dd0
2004-08-22 13:23:32 +00:00
Meik Sievertsen
02ce770990 - user notes/feedback in post_details
git-svn-id: file:///svn/phpbb/trunk@4966 89ea8834-ac86-4346-8a33-228a782c2dd0
2004-08-22 13:16:00 +00:00
Meik Sievertsen
946af346a1 - added S_FIRST_UNREAD and S_UNREAD
- removed U_POST_ID


git-svn-id: file:///svn/phpbb/trunk@4965 89ea8834-ac86-4346-8a33-228a782c2dd0
2004-08-22 13:10:30 +00:00
Meik Sievertsen
101f2c95b9 - remove avatar class
- added S_FIRST_UNREAD and S_UNREAD
- removed U_POST_ID


git-svn-id: file:///svn/phpbb/trunk@4964 89ea8834-ac86-4346-8a33-228a782c2dd0
2004-08-22 13:09:44 +00:00
Meik Sievertsen
c946266fa3 user_colour
git-svn-id: file:///svn/phpbb/trunk@4963 89ea8834-ac86-4346-8a33-228a782c2dd0
2004-08-17 17:40:48 +00:00
Meik Sievertsen
2706ce6534 - fix huge memory hog. :) (how dumb i was... hmm...)
git-svn-id: file:///svn/phpbb/trunk@4962 89ea8834-ac86-4346-8a33-228a782c2dd0
2004-08-15 12:06:05 +00:00
Meik Sievertsen
5f8dc3ca0e - made message parser more clear
- changed smilie processing again (let's see which bugs pop up here)
- fixed url processing, you know this broken links... ;) see important note (maybe the other devs can help here)
- more control over processing html, emoticons and magic urls (if used for other purposes)
- unsetting the class after usage is preferred (to free the memory used)


git-svn-id: file:///svn/phpbb/trunk@4961 89ea8834-ac86-4346-8a33-228a782c2dd0
2004-08-14 18:29:10 +00:00
Meik Sievertsen
4a7ee1e990 - today and yesterday (i know you had this locally added ;))
git-svn-id: file:///svn/phpbb/trunk@4960 89ea8834-ac86-4346-8a33-228a782c2dd0
2004-08-04 19:23:42 +00:00
Meik Sievertsen
51a1e1433b - [mcp] let quickmod work in topic_view
- more logical placement of load/save buttons in posting


git-svn-id: file:///svn/phpbb/trunk@4959 89ea8834-ac86-4346-8a33-228a782c2dd0
2004-08-04 19:19:42 +00:00
Meik Sievertsen
07bc2e0231 - removing karma
git-svn-id: file:///svn/phpbb/trunk@4958 89ea8834-ac86-4346-8a33-228a782c2dd0
2004-08-04 19:18:00 +00:00
Meik Sievertsen
5dcc0a85f8 - fixing some issues with the confirm screen - merging our (the devs) approaches (more fail-safe now)
- fixing some small issues...


git-svn-id: file:///svn/phpbb/trunk@4957 89ea8834-ac86-4346-8a33-228a782c2dd0
2004-08-04 19:10:15 +00:00
Meik Sievertsen
427cc1bf36 - fix time limit issue for moderators
- fixing redirection after posting


git-svn-id: file:///svn/phpbb/trunk@4956 89ea8834-ac86-4346-8a33-228a782c2dd0
2004-08-04 18:29:29 +00:00
Meik Sievertsen
eba921b511 - updated installer (only small fixes)
git-svn-id: file:///svn/phpbb/trunk@4955 89ea8834-ac86-4346-8a33-228a782c2dd0
2004-08-04 18:14:29 +00:00
Paul S. Owen
bf629e7e3e Fix non-parsing of $phpEx in individual confirmation image img tag generation
git-svn-id: file:///svn/phpbb/trunk@4954 89ea8834-ac86-4346-8a33-228a782c2dd0
2004-08-02 21:51:59 +00:00
Meik Sievertsen
3fabbb14e7 - small schema fix
git-svn-id: file:///svn/phpbb/trunk@4953 89ea8834-ac86-4346-8a33-228a782c2dd0
2004-08-02 18:54:35 +00:00
Paul S. Owen
bd4e95f7ab Remove IP image
git-svn-id: file:///svn/phpbb/trunk@4952 89ea8834-ac86-4346-8a33-228a782c2dd0
2004-08-02 15:51:48 +00:00
Paul S. Owen
4e0938d10e Remove karma images
git-svn-id: file:///svn/phpbb/trunk@4951 89ea8834-ac86-4346-8a33-228a782c2dd0
2004-08-02 15:51:12 +00:00
Paul S. Owen
a5ac9bbb3a Rejiggle "board disabled" system to allow admin/mods access, eliminate duplication and "fudges" ... hopefully I've not overlooked something fundamental ...
git-svn-id: file:///svn/phpbb/trunk@4950 89ea8834-ac86-4346-8a33-228a782c2dd0
2004-08-02 14:32:04 +00:00
Meik Sievertsen
8b85a84d55 - remove user_karma reference.
git-svn-id: file:///svn/phpbb/trunk@4949 89ea8834-ac86-4346-8a33-228a782c2dd0
2004-08-01 22:03:51 +00:00
Paul S. Owen
2a6c0cf41b Fix failure to work at all ... need to introduce error handling for failure to match entered email address
git-svn-id: file:///svn/phpbb/trunk@4948 89ea8834-ac86-4346-8a33-228a782c2dd0
2004-08-01 21:01:23 +00:00
Paul S. Owen
2383505c41 Changed IP to Info ... pointless having two links to basically the same information
git-svn-id: file:///svn/phpbb/trunk@4947 89ea8834-ac86-4346-8a33-228a782c2dd0
2004-08-01 18:00:37 +00:00
Meik Sievertsen
d89e74a0cf - memberlist instead of memberslist.
git-svn-id: file:///svn/phpbb/trunk@4946 89ea8834-ac86-4346-8a33-228a782c2dd0
2004-08-01 16:29:12 +00:00
Meik Sievertsen
ffc08f4e4d - correct path locations for avatars/smilies
- close <i> tags in faq


git-svn-id: file:///svn/phpbb/trunk@4945 89ea8834-ac86-4346-8a33-228a782c2dd0
2004-08-01 15:38:03 +00:00
Meik Sievertsen
679fa22e95 - fix link to PM (composing message)
git-svn-id: file:///svn/phpbb/trunk@4944 89ea8834-ac86-4346-8a33-228a782c2dd0
2004-08-01 15:37:05 +00:00
Meik Sievertsen
56a265930a - add the ability to easily create links for composing PM's to users/groups
git-svn-id: file:///svn/phpbb/trunk@4943 89ea8834-ac86-4346-8a33-228a782c2dd0
2004-08-01 15:36:18 +00:00
Meik Sievertsen
bd70927e47 bump config var fix
git-svn-id: file:///svn/phpbb/trunk@4942 89ea8834-ac86-4346-8a33-228a782c2dd0
2004-08-01 14:51:10 +00:00
Meik Sievertsen
fdf333e7f9 replacing two preg_replace statements with one preg_match_all statement...
git-svn-id: file:///svn/phpbb/trunk@4941 89ea8834-ac86-4346-8a33-228a782c2dd0
2004-08-01 14:16:04 +00:00
Paul S. Owen
56efd0b5d2 Fixed problem with UNDEFINE
git-svn-id: file:///svn/phpbb/trunk@4940 89ea8834-ac86-4346-8a33-228a782c2dd0
2004-08-01 12:31:21 +00:00
Meik Sievertsen
d2271ab249 trouble oh trouble... trouble oh trouble... trou... SLAP!
git-svn-id: file:///svn/phpbb/trunk@4939 89ea8834-ac86-4346-8a33-228a782c2dd0
2004-07-27 20:03:09 +00:00
Meik Sievertsen
895f262eb5 do not update post_text if the message content was not changed... (fixing a bug ;))
git-svn-id: file:///svn/phpbb/trunk@4938 89ea8834-ac86-4346-8a33-228a782c2dd0
2004-07-27 19:47:27 +00:00
Meik Sievertsen
bfec4fb8fc - approve/disapprove posts/topics
- changed mcp_front to be more moderator friendly
- able to change the forum in mcp_queue (for moderators moderating more than one forum)


git-svn-id: file:///svn/phpbb/trunk@4937 89ea8834-ac86-4346-8a33-228a782c2dd0
2004-07-19 20:13:18 +00:00
Meik Sievertsen
9dcd7b45cb gah
git-svn-id: file:///svn/phpbb/trunk@4936 89ea8834-ac86-4346-8a33-228a782c2dd0
2004-07-17 18:51:29 +00:00
Meik Sievertsen
59767029a9 - fixed permissions for mcp (global permission settings are false if user is only able to moderate one to x forums)
- determine permission settings for submodules
- further approve/disapprove work (approve_details added)


git-svn-id: file:///svn/phpbb/trunk@4925 89ea8834-ac86-4346-8a33-228a782c2dd0
2004-07-11 15:20:35 +00:00
Meik Sievertsen
6a69106501 - fork/copy topic
- resync topics
- possible to show only reported posts in topic_view
- view reports in post details
- mcp_queue (show unapproved items)


git-svn-id: file:///svn/phpbb/trunk@4924 89ea8834-ac86-4346-8a33-228a782c2dd0
2004-07-10 22:47:43 +00:00
Meik Sievertsen
bdd1643a7d - added splitting of topics to mcp
- added merging of posts to mcp
- fixed parsing of acl_getf results
- adjusted tracking code for important announcements (seems to work now)


git-svn-id: file:///svn/phpbb/trunk@4923 89ea8834-ac86-4346-8a33-228a782c2dd0
2004-07-09 12:31:33 +00:00
Meik Sievertsen
e083255f66 cleaned up the mcp, basic operations such as deleting/moving/(un)locking are functional, as well as all basic views, the other modes (splitting, merging, forking, approval, reports and warnings) will be added within the next days.
git-svn-id: file:///svn/phpbb/trunk@4922 89ea8834-ac86-4346-8a33-228a782c2dd0
2004-07-08 23:03:03 +00:00
Meik Sievertsen
754b1c91f4 nooooo.... the mcp is gone. Yes, we now rely on the good will of our users, no moderation anymore.
buhahaha buhahaharrrr harrr


git-svn-id: file:///svn/phpbb/trunk@4921 89ea8834-ac86-4346-8a33-228a782c2dd0
2004-07-08 22:57:05 +00:00
Meik Sievertsen
05f1315ebb - remove output buffering options from download.php (not needed anymore)
- optimized viewtopic.php a little bit
- removed the create_function (was consuming too much memory) from viewtopic
- check for manually added convert[.exe] program name to imagemagick path in admin_attachments
- reduced filesize checking for imagemagick program (some installations require less than 20k)
- added checked="checked" for "not selected" topic icon
- moved parse_text_display function from functions_posting.php to functions.php (see comment above function)
- check for user_id != ANONYMOUS in page_footer for displaying the administration link (there seems to be a problem checking for global options)
- rewrote attachment thumbnail functions - utilize GD2 functions if available, more uptodate checks...
- changed final thumbnail size calculation
- define S_ROW_COUNT within template class itself
- added SID to template vars in page_header
- added ability to view topic/forum within admin_viewlogs
- added optional acl checking to make_jumpbox, no need to duplicate the function for this small need
- added custom body file for confirm_box


git-svn-id: file:///svn/phpbb/trunk@4920 89ea8834-ac86-4346-8a33-228a782c2dd0
2004-07-08 22:41:04 +00:00
Meik Sievertsen
48eeecb258 - fixed topic icon display (correct radio box checked, only visible in first post)
git-svn-id: file:///svn/phpbb/trunk@4919 89ea8834-ac86-4346-8a33-228a782c2dd0
2004-06-24 08:09:00 +00:00
Meik Sievertsen
2f4f5c5ede fixed viewtopic pagination (accidently added $start in the middle rendering pagination useless)
git-svn-id: file:///svn/phpbb/trunk@4918 89ea8834-ac86-4346-8a33-228a782c2dd0
2004-06-24 08:06:09 +00:00
Meik Sievertsen
ca1b45581b fixed redirect for first cookie setting...
git-svn-id: file:///svn/phpbb/trunk@4917 89ea8834-ac86-4346-8a33-228a782c2dd0
2004-06-24 08:02:15 +00:00
Meik Sievertsen
5cb3baf33b - for bart to work on...
git-svn-id: file:///svn/phpbb/trunk@4916 89ea8834-ac86-4346-8a33-228a782c2dd0
2004-06-15 18:01:59 +00:00
Meik Sievertsen
8022b6f6b2 - fixed notification redirection
- added SID to ucp redirects


git-svn-id: file:///svn/phpbb/trunk@4915 89ea8834-ac86-4346-8a33-228a782c2dd0
2004-06-15 17:56:37 +00:00
Bart van Bragt
6aa372226e Small fix for install
git-svn-id: file:///svn/phpbb/trunk@4914 89ea8834-ac86-4346-8a33-228a782c2dd0
2004-06-13 13:37:27 +00:00
Paul S. Owen
4acbb74b4a Ensure default group_id is set for new users
git-svn-id: file:///svn/phpbb/trunk@4913 89ea8834-ac86-4346-8a33-228a782c2dd0
2004-06-07 11:43:51 +00:00
Meik Sievertsen
c2834abfae - added folder_moved image
- new feature: bookmark topics
- fixed post details link
- added confirmation screen to cookie deletion


git-svn-id: file:///svn/phpbb/trunk@4912 89ea8834-ac86-4346-8a33-228a782c2dd0
2004-06-06 21:44:49 +00:00
Meik Sievertsen
b3d98c8ba1 upload progress bar by CyberAlien
git-svn-id: file:///svn/phpbb/trunk@4911 89ea8834-ac86-4346-8a33-228a782c2dd0
2004-06-06 20:56:28 +00:00
Paul S. Owen
e7ddcd08df Remove front-end gcp links, alter forum rules title style, remove karma output for ucp frontend
git-svn-id: file:///svn/phpbb/trunk@4910 89ea8834-ac86-4346-8a33-228a782c2dd0
2004-06-06 10:49:07 +00:00
Meik Sievertsen
fed10cc3fb ups, we need a space.
git-svn-id: file:///svn/phpbb/trunk@4909 89ea8834-ac86-4346-8a33-228a782c2dd0
2004-06-02 20:37:00 +00:00
Meik Sievertsen
061b261f79 - private messages - not finished yet.
git-svn-id: file:///svn/phpbb/trunk@4908 89ea8834-ac86-4346-8a33-228a782c2dd0
2004-06-02 18:07:40 +00:00
Paul S. Owen
7d24e82aa0 Change header
git-svn-id: file:///svn/phpbb/trunk@4907 89ea8834-ac86-4346-8a33-228a782c2dd0
2004-06-02 09:00:41 +00:00
Meik Sievertsen
738c954476 - enable admin login if board disabled
- new reply image for pm's (fits better into the style)


git-svn-id: file:///svn/phpbb/trunk@4906 89ea8834-ac86-4346-8a33-228a782c2dd0
2004-06-01 17:02:20 +00:00
Meik Sievertsen
c3717d3808 - fix notify templates
- re-added subscribe/unsubscribe topic links. ;)


git-svn-id: file:///svn/phpbb/trunk@4905 89ea8834-ac86-4346-8a33-228a782c2dd0
2004-05-31 21:35:43 +00:00
Meik Sievertsen
2c470e4b27 - added delete cookies link
- fixed global announcement links in viewforum
- do not display redirects in link forums as posts in forum overview


git-svn-id: file:///svn/phpbb/trunk@4904 89ea8834-ac86-4346-8a33-228a782c2dd0
2004-05-31 18:00:10 +00:00
Meik Sievertsen
6aa42b69ab - forum rules + link to forum rules
- three new (tiny) functions added to functions_posting responsible for handling text with bbcode/smilies/urls, use them at items all over across phpbb...
- some bugfixes within admin_forums and other files
- new admin_board layout (much safer, security wise)


git-svn-id: file:///svn/phpbb/trunk@4903 89ea8834-ac86-4346-8a33-228a782c2dd0
2004-05-30 19:24:53 +00:00
Meik Sievertsen
ae93b82e19 *** empty log message ***
git-svn-id: file:///svn/phpbb/trunk@4902 89ea8834-ac86-4346-8a33-228a782c2dd0
2004-05-26 21:17:36 +00:00
Meik Sievertsen
40cd0dcef3 see todo
git-svn-id: file:///svn/phpbb/trunk@4901 89ea8834-ac86-4346-8a33-228a782c2dd0
2004-05-26 21:02:56 +00:00
Meik Sievertsen
87b3f56c32 only minor things... blabla
git-svn-id: file:///svn/phpbb/trunk@4900 89ea8834-ac86-4346-8a33-228a782c2dd0
2004-05-26 20:56:21 +00:00
Meik Sievertsen
88028d3f2a more updates
git-svn-id: file:///svn/phpbb/trunk@4899 89ea8834-ac86-4346-8a33-228a782c2dd0
2004-05-26 20:46:12 +00:00
Meik Sievertsen
1b7c32f825 message/mail updates
git-svn-id: file:///svn/phpbb/trunk@4898 89ea8834-ac86-4346-8a33-228a782c2dd0
2004-05-26 20:32:51 +00:00
Meik Sievertsen
40203496d8 session updates, please review
git-svn-id: file:///svn/phpbb/trunk@4897 89ea8834-ac86-4346-8a33-228a782c2dd0
2004-05-26 20:29:39 +00:00
Meik Sievertsen
9cb4021e22 don't hurt me... just very small things
git-svn-id: file:///svn/phpbb/trunk@4896 89ea8834-ac86-4346-8a33-228a782c2dd0
2004-05-26 20:18:54 +00:00
Meik Sievertsen
53779df720 ucp updates
git-svn-id: file:///svn/phpbb/trunk@4895 89ea8834-ac86-4346-8a33-228a782c2dd0
2004-05-26 20:16:20 +00:00
Meik Sievertsen
97e5c0f4bd template updates
git-svn-id: file:///svn/phpbb/trunk@4894 89ea8834-ac86-4346-8a33-228a782c2dd0
2004-05-26 19:43:15 +00:00
Meik Sievertsen
00ad9cc498 language additions
some small fixes


git-svn-id: file:///svn/phpbb/trunk@4893 89ea8834-ac86-4346-8a33-228a782c2dd0
2004-05-26 18:55:28 +00:00
Meik Sievertsen
cf8c2a7df1 fixed last edited by
tryed to fix mark read code
other small fixes...
added (commented out) custom profile fields template support


git-svn-id: file:///svn/phpbb/trunk@4892 89ea8834-ac86-4346-8a33-228a782c2dd0
2004-05-26 18:26:26 +00:00
Meik Sievertsen
e81b720ca0 blabla
git-svn-id: file:///svn/phpbb/trunk@4891 89ea8834-ac86-4346-8a33-228a782c2dd0
2004-05-26 18:22:06 +00:00
Meik Sievertsen
6c69aaaf43 approval/other fixes
git-svn-id: file:///svn/phpbb/trunk@4890 89ea8834-ac86-4346-8a33-228a782c2dd0
2004-05-26 18:20:33 +00:00
Meik Sievertsen
01202cfc2c only display those forums the user is able to read in.
git-svn-id: file:///svn/phpbb/trunk@4889 89ea8834-ac86-4346-8a33-228a782c2dd0
2004-05-26 18:15:17 +00:00
Meik Sievertsen
afdf63150d update module authentification here too.
git-svn-id: file:///svn/phpbb/trunk@4888 89ea8834-ac86-4346-8a33-228a782c2dd0
2004-05-26 18:13:53 +00:00
Paul S. Owen
2362a76b30 Disable karma/rating
git-svn-id: file:///svn/phpbb/trunk@4887 89ea8834-ac86-4346-8a33-228a782c2dd0
2004-05-20 12:54:33 +00:00
Paul S. Owen
4f723339e2 Disable karma settings
git-svn-id: file:///svn/phpbb/trunk@4886 89ea8834-ac86-4346-8a33-228a782c2dd0
2004-05-20 12:52:30 +00:00
Paul S. Owen
b6e2e17319 Wrong background
git-svn-id: file:///svn/phpbb/trunk@4885 89ea8834-ac86-4346-8a33-228a782c2dd0
2004-05-20 10:33:28 +00:00
Bart van Bragt
a958ed7b7b Some minor glitches in the install process
git-svn-id: file:///svn/phpbb/trunk@4884 89ea8834-ac86-4346-8a33-228a782c2dd0
2004-05-11 12:12:11 +00:00
Meik Sievertsen
729c3abd02 fix some issues with oop, fixing small bugs and prepare the next steps...
NOTE TO DEVS: have a look at adm/admin_board.php (new config layout)


git-svn-id: file:///svn/phpbb/trunk@4883 89ea8834-ac86-4346-8a33-228a782c2dd0
2004-05-02 13:06:57 +00:00
Meik Sievertsen
67d2ac3667 intentional?
git-svn-id: file:///svn/phpbb/trunk@4880 89ea8834-ac86-4346-8a33-228a782c2dd0
2004-04-07 07:45:18 +00:00
Meik Sievertsen
570ff85f7c unix format... will use this for the 2.0.x contrib dir.
git-svn-id: file:///svn/phpbb/trunk@4875 89ea8834-ac86-4346-8a33-228a782c2dd0
2004-03-25 15:46:23 +00:00
Paul S. Owen
37a12a09a3 An update from Jonathan
git-svn-id: file:///svn/phpbb/trunk@4871 89ea8834-ac86-4346-8a33-228a782c2dd0
2004-03-21 15:02:57 +00:00
Meik Sievertsen
fa36798694 add a little bit more information for style authors
ease the jumpbox handling a little bit


git-svn-id: file:///svn/phpbb/trunk@4870 89ea8834-ac86-4346-8a33-228a782c2dd0
2004-03-20 17:06:21 +00:00
Meik Sievertsen
ba7008b387 - re-enable drafts. ;)
- put extension checking into a small function...


git-svn-id: file:///svn/phpbb/trunk@4862 89ea8834-ac86-4346-8a33-228a782c2dd0
2004-03-11 21:17:32 +00:00
Meik Sievertsen
7487bfce48 - check for array [lang]
- admin_forums delete routine updated
- added extension groups per forum


git-svn-id: file:///svn/phpbb/trunk@4861 89ea8834-ac86-4346-8a33-228a782c2dd0
2004-03-10 20:30:26 +00:00
Meik Sievertsen
c235dced70 show correct login screen (accessing /adm while logged out)
git-svn-id: file:///svn/phpbb/trunk@4860 89ea8834-ac86-4346-8a33-228a782c2dd0
2004-03-06 17:43:32 +00:00
Meik Sievertsen
635d18d279 minor adjustments
git-svn-id: file:///svn/phpbb/trunk@4859 89ea8834-ac86-4346-8a33-228a782c2dd0
2004-03-06 16:58:34 +00:00
Meik Sievertsen
91811b8289 changed extension group administration (more user friendly)
git-svn-id: file:///svn/phpbb/trunk@4858 89ea8834-ac86-4346-8a33-228a782c2dd0
2004-03-06 12:28:40 +00:00
Meik Sievertsen
fbb9f40cc7 argh... parse error
git-svn-id: file:///svn/phpbb/trunk@4857 89ea8834-ac86-4346-8a33-228a782c2dd0
2004-03-05 09:21:59 +00:00
Meik Sievertsen
1e7d00528a i have nothing to say... just ignore this line.
git-svn-id: file:///svn/phpbb/trunk@4856 89ea8834-ac86-4346-8a33-228a782c2dd0
2004-03-04 17:54:11 +00:00
Meik Sievertsen
2c6f3d43ab correct passworded forum login
git-svn-id: file:///svn/phpbb/trunk@4855 89ea8834-ac86-4346-8a33-228a782c2dd0
2004-03-02 13:52:24 +00:00
Meik Sievertsen
facd75bc44 small fix for html replacement
git-svn-id: file:///svn/phpbb/trunk@4849 89ea8834-ac86-4346-8a33-228a782c2dd0
2004-03-01 15:24:26 +00:00
Paul S. Owen
7558d522b1 bots
git-svn-id: file:///svn/phpbb/trunk@4848 89ea8834-ac86-4346-8a33-228a782c2dd0
2004-02-29 23:27:13 +00:00
Paul S. Owen
e84a8dc12c Minor alteration
git-svn-id: file:///svn/phpbb/trunk@4847 89ea8834-ac86-4346-8a33-228a782c2dd0
2004-02-29 12:51:18 +00:00
Meik Sievertsen
85c25a5b17 cleanup... :P
git-svn-id: file:///svn/phpbb/trunk@4846 89ea8834-ac86-4346-8a33-228a782c2dd0
2004-02-28 21:24:52 +00:00
Meik Sievertsen
3800a1d3c3 no longer needed and no real future re-use potential (upgrading for example)
git-svn-id: file:///svn/phpbb/trunk@4845 89ea8834-ac86-4346-8a33-228a782c2dd0
2004-02-28 21:19:35 +00:00
Meik Sievertsen
52cc21864c splitted language files
git-svn-id: file:///svn/phpbb/trunk@4844 89ea8834-ac86-4346-8a33-228a782c2dd0
2004-02-28 21:16:15 +00:00
Meik Sievertsen
77dedf68a0 AHHHH, they killed "en". bye bye, now... we no longer support any form of languages, bad or good.
git-svn-id: file:///svn/phpbb/trunk@4843 89ea8834-ac86-4346-8a33-228a782c2dd0
2004-02-28 21:09:39 +00:00
Paul S. Owen
e1600cd31f value in wrong place
git-svn-id: file:///svn/phpbb/trunk@4842 89ea8834-ac86-4346-8a33-228a782c2dd0
2004-02-27 12:33:22 +00:00
Paul S. Owen
dbf93ce5aa Group and other updates
git-svn-id: file:///svn/phpbb/trunk@4841 89ea8834-ac86-4346-8a33-228a782c2dd0
2004-02-26 18:14:18 +00:00
Paul S. Owen
114fa416d9 Minor updates for group parameter fetching
git-svn-id: file:///svn/phpbb/trunk@4840 89ea8834-ac86-4346-8a33-228a782c2dd0
2004-02-26 17:58:55 +00:00
Paul S. Owen
884381d11b oopsie
git-svn-id: file:///svn/phpbb/trunk@4839 89ea8834-ac86-4346-8a33-228a782c2dd0
2004-02-23 15:14:55 +00:00
Meik Sievertsen
7aaf5a67a4 always redirect on login (fixes the "i am not logged in" problem. ;))
git-svn-id: file:///svn/phpbb/trunk@4838 89ea8834-ac86-4346-8a33-228a782c2dd0
2004-02-22 10:22:51 +00:00
Meik Sievertsen
120fd6bf70 hmm, unix format please....
git-svn-id: file:///svn/phpbb/trunk@4837 89ea8834-ac86-4346-8a33-228a782c2dd0
2004-02-21 12:51:08 +00:00
Meik Sievertsen
c74d2538ec - put consoring and smilie processing into functions (we use them all over the place) for better changing and consistency.
- changed docs/AUTHORS to reflect the recent code re-use in functions_messenger.php
- pleasing the users a little bit more by using table constants. :D
- login box if "mode" is not allowed -> posting (thought about trigger_error integration, but we do not need this that often).


git-svn-id: file:///svn/phpbb/trunk@4836 89ea8834-ac86-4346-8a33-228a782c2dd0
2004-02-21 12:47:35 +00:00
Paul S. Owen
9c12fe83db Damn users :)
git-svn-id: file:///svn/phpbb/trunk@4835 89ea8834-ac86-4346-8a33-228a782c2dd0
2004-02-18 01:46:39 +00:00
Meik Sievertsen
b745d5224f removed message type from message parser
assign message if specified
parse/decode html if enabled
validate url


git-svn-id: file:///svn/phpbb/trunk@4834 89ea8834-ac86-4346-8a33-228a782c2dd0
2004-02-15 14:03:19 +00:00
Meik Sievertsen
d8609ba1c6 added attachments to user acp
fixed typo in stylesheet.css
added a.th class to admin css


git-svn-id: file:///svn/phpbb/trunk@4833 89ea8834-ac86-4346-8a33-228a782c2dd0
2004-02-15 09:03:20 +00:00
Meik Sievertsen
7dc62cc5ed re-add and fix quoting from topic/post review
git-svn-id: file:///svn/phpbb/trunk@4832 89ea8834-ac86-4346-8a33-228a782c2dd0
2004-02-15 07:52:33 +00:00
Paul S. Owen
171706a343 oopsie
git-svn-id: file:///svn/phpbb/trunk@4831 89ea8834-ac86-4346-8a33-228a782c2dd0
2004-02-13 22:46:29 +00:00
Paul S. Owen
b20e4ebe5c Minor fixes for user feedback
git-svn-id: file:///svn/phpbb/trunk@4830 89ea8834-ac86-4346-8a33-228a782c2dd0
2004-02-12 12:00:18 +00:00
Meik Sievertsen
de43ceac36 use logical expression for module permissions + prefixes for acl's and config variables (acl_ and cfg_).
git-svn-id: file:///svn/phpbb/trunk@4829 89ea8834-ac86-4346-8a33-228a782c2dd0
2004-02-11 21:09:47 +00:00
Paul S. Owen
496e420385 colour swatch for signature
git-svn-id: file:///svn/phpbb/trunk@4828 89ea8834-ac86-4346-8a33-228a782c2dd0
2004-02-11 18:31:31 +00:00
Paul S. Owen
67755abf25 Profile, prefs, feedback
git-svn-id: file:///svn/phpbb/trunk@4827 89ea8834-ac86-4346-8a33-228a782c2dd0
2004-02-11 18:28:24 +00:00
Paul S. Owen
f72d117ce5 user admin related
git-svn-id: file:///svn/phpbb/trunk@4826 89ea8834-ac86-4346-8a33-228a782c2dd0
2004-02-11 18:27:31 +00:00
Paul S. Owen
18a5ac336a reportee_id for log, remove user notes
git-svn-id: file:///svn/phpbb/trunk@4825 89ea8834-ac86-4346-8a33-228a782c2dd0
2004-02-11 18:27:14 +00:00
Paul S. Owen
045028d527 reportee_id for view_log and add_log
git-svn-id: file:///svn/phpbb/trunk@4824 89ea8834-ac86-4346-8a33-228a782c2dd0
2004-02-11 18:27:00 +00:00
Paul S. Owen
432a3823a0 profile/prefs
git-svn-id: file:///svn/phpbb/trunk@4823 89ea8834-ac86-4346-8a33-228a782c2dd0
2004-02-10 01:17:08 +00:00
Paul S. Owen
afddaa2591 user admin related
git-svn-id: file:///svn/phpbb/trunk@4822 89ea8834-ac86-4346-8a33-228a782c2dd0
2004-02-10 01:17:01 +00:00
Paul S. Owen
78625ccf44 I'll have half a pound of fudge please
git-svn-id: file:///svn/phpbb/trunk@4821 89ea8834-ac86-4346-8a33-228a782c2dd0
2004-02-10 01:16:48 +00:00
Meik Sievertsen
0ec2fa96ac ARGH... wrong bitfield, exactly the other way around.
git-svn-id: file:///svn/phpbb/trunk@4820 89ea8834-ac86-4346-8a33-228a782c2dd0
2004-02-08 21:48:35 +00:00
Meik Sievertsen
d7735d2587 inline attachment capability...
git-svn-id: file:///svn/phpbb/trunk@4819 89ea8834-ac86-4346-8a33-228a782c2dd0
2004-02-08 18:02:17 +00:00
Meik Sievertsen
b9bf2fe751 the display code for inline attachments, isn't it cute? ;)
git-svn-id: file:///svn/phpbb/trunk@4818 89ea8834-ac86-4346-8a33-228a782c2dd0
2004-02-08 18:00:10 +00:00
Meik Sievertsen
75e83593b0 correct text placement in mozilla and other browsers not supporting the createTextRange function...
git-svn-id: file:///svn/phpbb/trunk@4817 89ea8834-ac86-4346-8a33-228a782c2dd0
2004-02-08 17:41:28 +00:00
Paul S. Owen
1f8ee8517c Move ipwhois ... it's used exclusively for "user" activities, makes more sense there
git-svn-id: file:///svn/phpbb/trunk@4816 89ea8834-ac86-4346-8a33-228a782c2dd0
2004-02-08 16:08:52 +00:00
Paul S. Owen
75d49924d8 ooblle boooble
git-svn-id: file:///svn/phpbb/trunk@4815 89ea8834-ac86-4346-8a33-228a782c2dd0
2004-02-08 15:18:44 +00:00
Paul S. Owen
2ffda20b0e Custom profile data table define
git-svn-id: file:///svn/phpbb/trunk@4814 89ea8834-ac86-4346-8a33-228a782c2dd0
2004-02-08 15:18:17 +00:00
Paul S. Owen
ec65e70c4a Move ipwhois ... it's used exclusively for "user" activities, makes more sense there
git-svn-id: file:///svn/phpbb/trunk@4813 89ea8834-ac86-4346-8a33-228a782c2dd0
2004-02-08 14:27:59 +00:00
Paul S. Owen
f8c9d3fbd5 Overview "complete"
git-svn-id: file:///svn/phpbb/trunk@4812 89ea8834-ac86-4346-8a33-228a782c2dd0
2004-02-08 14:22:10 +00:00
Paul S. Owen
3466c5323e User delete function
git-svn-id: file:///svn/phpbb/trunk@4811 89ea8834-ac86-4346-8a33-228a782c2dd0
2004-02-08 14:21:49 +00:00
Paul S. Owen
5a665e9d03 hhmm
git-svn-id: file:///svn/phpbb/trunk@4810 89ea8834-ac86-4346-8a33-228a782c2dd0
2004-02-08 00:57:37 +00:00
Paul S. Owen
ad5c34061e Do not offer email based user confirmation when email is disabled
git-svn-id: file:///svn/phpbb/trunk@4809 89ea8834-ac86-4346-8a33-228a782c2dd0
2004-02-08 00:27:42 +00:00
Paul S. Owen
962e15a0e5 Updated for user_ban/unban function
git-svn-id: file:///svn/phpbb/trunk@4808 89ea8834-ac86-4346-8a33-228a782c2dd0
2004-02-08 00:26:44 +00:00
Paul S. Owen
3bdcc8e59c "Overview" functionality ... couple of issues, couple unfinished areas ... topics where user has posted not resyncing correctly when moving posts
git-svn-id: file:///svn/phpbb/trunk@4807 89ea8834-ac86-4346-8a33-228a782c2dd0
2004-02-08 00:25:48 +00:00
Paul S. Owen
259881d1bf Move user ban/unban to function
git-svn-id: file:///svn/phpbb/trunk@4806 89ea8834-ac86-4346-8a33-228a782c2dd0
2004-02-07 15:37:25 +00:00
Meik Sievertsen
719c572ca9 some small changes to mailing again (to better cope with invalid email addresses)
git-svn-id: file:///svn/phpbb/trunk@4805 89ea8834-ac86-4346-8a33-228a782c2dd0
2004-02-07 11:00:27 +00:00
Meik Sievertsen
742f5d4a18 hopefully fixed "mark forums read" -> db based tracking
git-svn-id: file:///svn/phpbb/trunk@4804 89ea8834-ac86-4346-8a33-228a782c2dd0
2004-02-07 10:48:35 +00:00
Paul S. Owen
8ab1ebd019 Seperate message for forced password change ... probably needs to be a little more bold than this.
git-svn-id: file:///svn/phpbb/trunk@4803 89ea8834-ac86-4346-8a33-228a782c2dd0
2004-02-05 14:43:54 +00:00
Paul S. Owen
58f315b5e6 Display active topic output for subfora if appropriate ... a little kludgy but works
git-svn-id: file:///svn/phpbb/trunk@4802 89ea8834-ac86-4346-8a33-228a782c2dd0
2004-02-05 14:43:23 +00:00
Paul S. Owen
2a0bcbb592 Return information for display of active topics in subfora ... little kludgy? but seems to work
git-svn-id: file:///svn/phpbb/trunk@4801 89ea8834-ac86-4346-8a33-228a782c2dd0
2004-02-05 14:42:12 +00:00
Paul S. Owen
9e58a16cf5 Changed error string array return ... hopefully nothing "different" was planned for this. This method "fits in" with how UCP modules handle errors.
git-svn-id: file:///svn/phpbb/trunk@4800 89ea8834-ac86-4346-8a33-228a782c2dd0
2004-02-05 14:41:30 +00:00
Paul S. Owen
173ac0529b Various updates, password email hash, altered function names
git-svn-id: file:///svn/phpbb/trunk@4799 89ea8834-ac86-4346-8a33-228a782c2dd0
2004-02-05 14:40:40 +00:00
Paul S. Owen
fd8d235e41 Various updates, password email hash
git-svn-id: file:///svn/phpbb/trunk@4798 89ea8834-ac86-4346-8a33-228a782c2dd0
2004-02-05 14:39:59 +00:00
Paul S. Owen
881f9eba79 Vaious new strings
git-svn-id: file:///svn/phpbb/trunk@4797 89ea8834-ac86-4346-8a33-228a782c2dd0
2004-02-05 14:39:44 +00:00
Paul S. Owen
a13e5eb1e2 oopsie
git-svn-id: file:///svn/phpbb/trunk@4796 89ea8834-ac86-4346-8a33-228a782c2dd0
2004-02-05 14:39:29 +00:00
Paul S. Owen
b1b6849500 Force password change additions + other updates
git-svn-id: file:///svn/phpbb/trunk@4795 89ea8834-ac86-4346-8a33-228a782c2dd0
2004-02-05 14:35:56 +00:00
Paul S. Owen
79e8f8d299 Some re-arrangement of options
git-svn-id: file:///svn/phpbb/trunk@4794 89ea8834-ac86-4346-8a33-228a782c2dd0
2004-02-05 14:35:37 +00:00
Paul S. Owen
7baa9ddb89 Force password change after defined number of days
git-svn-id: file:///svn/phpbb/trunk@4793 89ea8834-ac86-4346-8a33-228a782c2dd0
2004-02-05 13:38:57 +00:00
Paul S. Owen
f8b89a8f94 Update user table for email hashing? Suggested and implemented by lanzer ... we may as well give it a go too
git-svn-id: file:///svn/phpbb/trunk@4792 89ea8834-ac86-4346-8a33-228a782c2dd0
2004-02-03 18:15:37 +00:00
Paul S. Owen
13f80fe2ef Update user table for email hashing? Suggested and implemented by lanzer ... we may as well give it a go too
git-svn-id: file:///svn/phpbb/trunk@4791 89ea8834-ac86-4346-8a33-228a782c2dd0
2004-02-03 17:22:29 +00:00
Paul S. Owen
895059928c Addslash function no longer needed with request_var processing
git-svn-id: file:///svn/phpbb/trunk@4790 89ea8834-ac86-4346-8a33-228a782c2dd0
2004-02-03 14:14:53 +00:00
Paul S. Owen
570e570f7c Scrap transport capability in 2.2.0
git-svn-id: file:///svn/phpbb/trunk@4789 89ea8834-ac86-4346-8a33-228a782c2dd0
2004-02-03 14:03:04 +00:00
Meik Sievertsen
129218286b show correct SQL error message if failed during a transaction...
git-svn-id: file:///svn/phpbb/trunk@4788 89ea8834-ac86-4346-8a33-228a782c2dd0
2004-02-03 09:43:31 +00:00
Paul S. Owen
40931f12ba bah ... went the sheep
git-svn-id: file:///svn/phpbb/trunk@4787 89ea8834-ac86-4346-8a33-228a782c2dd0
2004-02-03 02:46:11 +00:00
Paul S. Owen
e2862f3ebd "Fixed" issue that was causing problems some time ago with server
git-svn-id: file:///svn/phpbb/trunk@4786 89ea8834-ac86-4346-8a33-228a782c2dd0
2004-02-03 02:34:40 +00:00
Paul S. Owen
06c37481cc gen_random_string move ... not entirely sure about this ... may well return to user functions
git-svn-id: file:///svn/phpbb/trunk@4785 89ea8834-ac86-4346-8a33-228a782c2dd0
2004-02-03 02:29:35 +00:00
Paul S. Owen
8aff2f6758 Minor fixes, etc.
git-svn-id: file:///svn/phpbb/trunk@4784 89ea8834-ac86-4346-8a33-228a782c2dd0
2004-02-03 02:28:42 +00:00
Paul S. Owen
9b15f907dd Change in function name
git-svn-id: file:///svn/phpbb/trunk@4783 89ea8834-ac86-4346-8a33-228a782c2dd0
2004-02-03 02:28:24 +00:00
Paul S. Owen
60d5712e15 Minor update
git-svn-id: file:///svn/phpbb/trunk@4782 89ea8834-ac86-4346-8a33-228a782c2dd0
2004-02-03 02:27:45 +00:00
Paul S. Owen
f98be5008e Add confirmation function
git-svn-id: file:///svn/phpbb/trunk@4781 89ea8834-ac86-4346-8a33-228a782c2dd0
2004-02-03 02:27:11 +00:00
Paul S. Owen
fac78dd27f Further group work ... nearly there ... still some consistency and other issues.
git-svn-id: file:///svn/phpbb/trunk@4780 89ea8834-ac86-4346-8a33-228a782c2dd0
2004-02-03 02:26:58 +00:00
Meik Sievertsen
6a07bc6cef preserve 'jump to post'... if emailed notification link and login required.
git-svn-id: file:///svn/phpbb/trunk@4779 89ea8834-ac86-4346-8a33-228a782c2dd0
2004-02-02 17:20:58 +00:00
Paul S. Owen
96cbe87fc8 Wordwrap message
git-svn-id: file:///svn/phpbb/trunk@4778 89ea8834-ac86-4346-8a33-228a782c2dd0
2004-02-02 13:06:18 +00:00
Meik Sievertsen
56391aa7b8 send mass mail immediatly
mail priority setting added
log session (see Note)


git-svn-id: file:///svn/phpbb/trunk@4777 89ea8834-ac86-4346-8a33-228a782c2dd0
2004-02-01 21:45:40 +00:00
Meik Sievertsen
ca729d6ac1 utilize the advantages of bcc... we have a hard limit of 50 recipients here, if the same language and notify method is used (if the case of only one recipient is given the bcc method will be not used).
git-svn-id: file:///svn/phpbb/trunk@4776 89ea8834-ac86-4346-8a33-228a782c2dd0
2004-01-31 19:09:17 +00:00
Meik Sievertsen
d170696d68 small change in handling recipients. ;)
git-svn-id: file:///svn/phpbb/trunk@4775 89ea8834-ac86-4346-8a33-228a782c2dd0
2004-01-31 19:07:14 +00:00
Meik Sievertsen
65f837c379 new smtp auth methods. :) Digest MD5 is NOT tested, all others are working fine.
git-svn-id: file:///svn/phpbb/trunk@4774 89ea8834-ac86-4346-8a33-228a782c2dd0
2004-01-31 15:49:12 +00:00
Meik Sievertsen
8d71ae256c enable free disk space check
git-svn-id: file:///svn/phpbb/trunk@4773 89ea8834-ac86-4346-8a33-228a782c2dd0
2004-01-31 15:48:10 +00:00
Meik Sievertsen
c85f62bddc the language vars for the authentication mechanisms.
git-svn-id: file:///svn/phpbb/trunk@4772 89ea8834-ac86-4346-8a33-228a782c2dd0
2004-01-31 15:46:44 +00:00
Meik Sievertsen
ae978d219a more authentication methods to choose between (SMTP). Added pop-before-smtp too.
git-svn-id: file:///svn/phpbb/trunk@4771 89ea8834-ac86-4346-8a33-228a782c2dd0
2004-01-31 15:45:49 +00:00
Meik Sievertsen
918ae64f4b fixed: username validation in posting.php
git-svn-id: file:///svn/phpbb/trunk@4770 89ea8834-ac86-4346-8a33-228a782c2dd0
2004-01-31 15:43:39 +00:00
Paul S. Owen
6a3f8902c8 oopsie in gc
git-svn-id: file:///svn/phpbb/trunk@4769 89ea8834-ac86-4346-8a33-228a782c2dd0
2004-01-30 12:14:48 +00:00
Paul S. Owen
c2f5e580aa Enable redirect after login
git-svn-id: file:///svn/phpbb/trunk@4768 89ea8834-ac86-4346-8a33-228a782c2dd0
2004-01-30 11:48:02 +00:00
Meik Sievertsen
0608bc73e6 fixed: smilie parsing in signatures
added: edit notes


git-svn-id: file:///svn/phpbb/trunk@4767 89ea8834-ac86-4346-8a33-228a782c2dd0
2004-01-25 14:30:15 +00:00
Meik Sievertsen
9df94e88f8 use of correct config var
git-svn-id: file:///svn/phpbb/trunk@4766 89ea8834-ac86-4346-8a33-228a782c2dd0
2004-01-25 14:20:34 +00:00
Meik Sievertsen
89a50afd70 re-add mozWrap
git-svn-id: file:///svn/phpbb/trunk@4765 89ea8834-ac86-4346-8a33-228a782c2dd0
2004-01-25 14:19:47 +00:00
Meik Sievertsen
3dd313ed89 do not parse smilies within code tag
git-svn-id: file:///svn/phpbb/trunk@4764 89ea8834-ac86-4346-8a33-228a782c2dd0
2004-01-25 14:18:06 +00:00
Meik Sievertsen
c8593c5715 fixed: allow/disallow smilies board-wide setting
git-svn-id: file:///svn/phpbb/trunk@4763 89ea8834-ac86-4346-8a33-228a782c2dd0
2004-01-25 14:11:17 +00:00
Meik Sievertsen
9d06365ec7 'post encoding'-fix
git-svn-id: file:///svn/phpbb/trunk@4762 89ea8834-ac86-4346-8a33-228a782c2dd0
2004-01-19 17:50:11 +00:00
Paul S. Owen
8d5dc5ed1b Minor update
git-svn-id: file:///svn/phpbb/trunk@4760 89ea8834-ac86-4346-8a33-228a782c2dd0
2004-01-15 13:30:45 +00:00
Paul S. Owen
00ae832573 Minor update
git-svn-id: file:///svn/phpbb/trunk@4759 89ea8834-ac86-4346-8a33-228a782c2dd0
2004-01-13 01:42:03 +00:00
Paul S. Owen
e4c26232bf Update for new karma image location/creation
git-svn-id: file:///svn/phpbb/trunk@4758 89ea8834-ac86-4346-8a33-228a782c2dd0
2004-01-13 01:40:25 +00:00
Paul S. Owen
bc79bf9652 Mark given set of forums marked, show "Mark forums read" link on subforum display
git-svn-id: file:///svn/phpbb/trunk@4757 89ea8834-ac86-4346-8a33-228a782c2dd0
2004-01-12 15:00:09 +00:00
Paul S. Owen
38c0873243 Increase indenting on [quote] and [code]
git-svn-id: file:///svn/phpbb/trunk@4756 89ea8834-ac86-4346-8a33-228a782c2dd0
2004-01-12 14:40:41 +00:00
Meik Sievertsen
41e56c8fa6 do not end up with an error if no profile fields defined...
git-svn-id: file:///svn/phpbb/trunk@4755 89ea8834-ac86-4346-8a33-228a782c2dd0
2004-01-12 13:13:00 +00:00
Paul S. Owen
7a7cbc14ff Minor fix
git-svn-id: file:///svn/phpbb/trunk@4754 89ea8834-ac86-4346-8a33-228a782c2dd0
2004-01-12 11:24:16 +00:00
Paul S. Owen
bdd2eefb04 oopsie
git-svn-id: file:///svn/phpbb/trunk@4753 89ea8834-ac86-4346-8a33-228a782c2dd0
2004-01-11 02:33:06 +00:00
Paul S. Owen
4dd1ec6c12 Default hide of super moderators from legend
git-svn-id: file:///svn/phpbb/trunk@4752 89ea8834-ac86-4346-8a33-228a782c2dd0
2004-01-11 01:00:25 +00:00
Paul S. Owen
7a70b30587 Update for new karma image location/creation
git-svn-id: file:///svn/phpbb/trunk@4751 89ea8834-ac86-4346-8a33-228a782c2dd0
2004-01-11 00:57:29 +00:00
Paul S. Owen
50e6098eb5 Moved to new location
git-svn-id: file:///svn/phpbb/trunk@4750 89ea8834-ac86-4346-8a33-228a782c2dd0
2004-01-11 00:52:36 +00:00
Paul S. Owen
9637f043a3 Update for new karma image location/creation
git-svn-id: file:///svn/phpbb/trunk@4749 89ea8834-ac86-4346-8a33-228a782c2dd0
2004-01-11 00:52:00 +00:00
Paul S. Owen
20b9f5ae9b Minor update for image production
git-svn-id: file:///svn/phpbb/trunk@4748 89ea8834-ac86-4346-8a33-228a782c2dd0
2004-01-11 00:46:46 +00:00
Paul S. Owen
66668ed9ef Updates for imageset list ... still not necessarily final ...
git-svn-id: file:///svn/phpbb/trunk@4747 89ea8834-ac86-4346-8a33-228a782c2dd0
2004-01-11 00:33:44 +00:00
Paul S. Owen
c63bc7c4db Moved karma images, updated config file
git-svn-id: file:///svn/phpbb/trunk@4746 89ea8834-ac86-4346-8a33-228a782c2dd0
2004-01-11 00:33:10 +00:00
Paul S. Owen
0910fbb074 Updates
git-svn-id: file:///svn/phpbb/trunk@4745 89ea8834-ac86-4346-8a33-228a782c2dd0
2004-01-11 00:31:37 +00:00
Paul S. Owen
15e8ddd229 Updates
git-svn-id: file:///svn/phpbb/trunk@4744 89ea8834-ac86-4346-8a33-228a782c2dd0
2004-01-10 19:13:56 +00:00
Paul S. Owen
2be369db47 Fully updated with amazing new feature called "this one works"!
git-svn-id: file:///svn/phpbb/trunk@4743 89ea8834-ac86-4346-8a33-228a782c2dd0
2004-01-10 19:13:26 +00:00
Paul S. Owen
7abe67c821 Add IP/rDNS/whois info to viewonline ... doing away with need to visit ACP
git-svn-id: file:///svn/phpbb/trunk@4742 89ea8834-ac86-4346-8a33-228a782c2dd0
2004-01-10 18:41:53 +00:00
Meik Sievertsen
af070017d3 the tables (subject to change)
git-svn-id: file:///svn/phpbb/trunk@4741 89ea8834-ac86-4346-8a33-228a782c2dd0
2004-01-10 12:30:21 +00:00
Meik Sievertsen
994973d8ee custom profile fields.
Not finished, committed to let us discuss about the next steps
-> BartVB


git-svn-id: file:///svn/phpbb/trunk@4740 89ea8834-ac86-4346-8a33-228a782c2dd0
2004-01-10 12:23:24 +00:00
Meik Sievertsen
62429cb9fb display/store custom profile fields
git-svn-id: file:///svn/phpbb/trunk@4739 89ea8834-ac86-4346-8a33-228a782c2dd0
2004-01-10 12:19:39 +00:00
Meik Sievertsen
36f039cb1b minor changes...
git-svn-id: file:///svn/phpbb/trunk@4738 89ea8834-ac86-4346-8a33-228a782c2dd0
2004-01-10 12:19:10 +00:00
Meik Sievertsen
ca291c50f9 fully templateable custom profile fields...
git-svn-id: file:///svn/phpbb/trunk@4737 89ea8834-ac86-4346-8a33-228a782c2dd0
2004-01-10 12:17:29 +00:00
Meik Sievertsen
425509cb88 posting new topics... should work again. :)
git-svn-id: file:///svn/phpbb/trunk@4736 89ea8834-ac86-4346-8a33-228a782c2dd0
2004-01-10 11:39:14 +00:00
Paul S. Owen
e5d15b986d Add DEFINE/UNDEFINE ... user vars bust be preceeded by $ and be uppercase, string vars must be in single quotes. Can be used in loops, something.$VAR, etc. Use with standard IF, IF $something ==, etc.
git-svn-id: file:///svn/phpbb/trunk@4735 89ea8834-ac86-4346-8a33-228a782c2dd0
2004-01-09 17:22:53 +00:00
Paul S. Owen
34a2a7460d Updated images ... hhmmm
git-svn-id: file:///svn/phpbb/trunk@4734 89ea8834-ac86-4346-8a33-228a782c2dd0
2004-01-09 12:29:01 +00:00
Paul S. Owen
0cf61741e5 hhmm, string cleanup was rather ... broken
git-svn-id: file:///svn/phpbb/trunk@4733 89ea8834-ac86-4346-8a33-228a782c2dd0
2004-01-09 11:56:53 +00:00
Bart van Bragt
d8c35f8b20 Some minor fixes for the registration procedure
git-svn-id: file:///svn/phpbb/trunk@4732 89ea8834-ac86-4346-8a33-228a782c2dd0
2004-01-08 20:33:56 +00:00
Paul S. Owen
c97adb5a2e Wrong link for view post, add link to post title
git-svn-id: file:///svn/phpbb/trunk@4731 89ea8834-ac86-4346-8a33-228a782c2dd0
2004-01-08 12:59:51 +00:00
Paul S. Owen
264a7a489a Couple changes to imageset table ... introduce a few empty fields for "user icons" primarily intended for Mods though how to distribute them may be interesting
git-svn-id: file:///svn/phpbb/trunk@4730 89ea8834-ac86-4346-8a33-228a782c2dd0
2004-01-08 12:49:48 +00:00
Paul S. Owen
3d5a770c94 Alter method for storing imageset data ... I can't see any obvious increase in page gen times but please comment if such a thing does become apparent
git-svn-id: file:///svn/phpbb/trunk@4729 89ea8834-ac86-4346-8a33-228a782c2dd0
2004-01-08 12:49:05 +00:00
Paul S. Owen
21120e846e More attempts at "modern markup"
git-svn-id: file:///svn/phpbb/trunk@4728 89ea8834-ac86-4346-8a33-228a782c2dd0
2004-01-07 16:33:12 +00:00
Paul S. Owen
0a999ceab5 oopsie
git-svn-id: file:///svn/phpbb/trunk@4727 89ea8834-ac86-4346-8a33-228a782c2dd0
2004-01-07 16:33:03 +00:00
Paul S. Owen
715731ca3e More attempts at "modern markup"
git-svn-id: file:///svn/phpbb/trunk@4726 89ea8834-ac86-4346-8a33-228a782c2dd0
2004-01-07 16:24:52 +00:00
Paul S. Owen
bdbbc7544b Split user search from memberlist_body
git-svn-id: file:///svn/phpbb/trunk@4725 89ea8834-ac86-4346-8a33-228a782c2dd0
2004-01-07 15:59:45 +00:00
Paul S. Owen
e86b1d248b More attempts at "modern markup"
git-svn-id: file:///svn/phpbb/trunk@4724 89ea8834-ac86-4346-8a33-228a782c2dd0
2004-01-06 15:36:29 +00:00
Paul S. Owen
73d2f9c842 Mental note, stop playing with markup and finish the board
git-svn-id: file:///svn/phpbb/trunk@4723 89ea8834-ac86-4346-8a33-228a782c2dd0
2004-01-06 15:36:16 +00:00
Paul S. Owen
66cc31fb1d Changes for IE5.5
git-svn-id: file:///svn/phpbb/trunk@4722 89ea8834-ac86-4346-8a33-228a782c2dd0
2004-01-05 17:17:22 +00:00
Paul S. Owen
6cd42f2139 A few changes ... note that this is not text book markup ... so don't complain! If you have suggestions on how to improve it feel free to comment in the relevant forum @ area51
git-svn-id: file:///svn/phpbb/trunk@4721 89ea8834-ac86-4346-8a33-228a782c2dd0
2004-01-05 16:06:44 +00:00
Paul S. Owen
ddd39f2a48 A few changes ... note that this is not text book markup ... so don't complain! If you have suggestions on how to improve it feel free to comment in the relevant forum @ area51
git-svn-id: file:///svn/phpbb/trunk@4720 89ea8834-ac86-4346-8a33-228a782c2dd0
2004-01-05 12:38:44 +00:00
Paul S. Owen
43b285d57c Clippy like
git-svn-id: file:///svn/phpbb/trunk@4719 89ea8834-ac86-4346-8a33-228a782c2dd0
2004-01-05 11:48:13 +00:00
Paul S. Owen
96e4c1f219 Various lang updates
git-svn-id: file:///svn/phpbb/trunk@4718 89ea8834-ac86-4346-8a33-228a782c2dd0
2004-01-05 11:15:51 +00:00
Paul S. Owen
34607baacd Minor changes, add new S_USER_LANG template var
git-svn-id: file:///svn/phpbb/trunk@4717 89ea8834-ac86-4346-8a33-228a782c2dd0
2004-01-05 11:15:11 +00:00
Paul S. Owen
28bee290fe hmm
git-svn-id: file:///svn/phpbb/trunk@4716 89ea8834-ac86-4346-8a33-228a782c2dd0
2004-01-05 10:20:01 +00:00
Paul S. Owen
4cbcf22b78 Uncomment links
git-svn-id: file:///svn/phpbb/trunk@4715 89ea8834-ac86-4346-8a33-228a782c2dd0
2004-01-04 18:20:13 +00:00
Paul S. Owen
ee8a014a8d A few changes ... note that this is not text book markup ... so don't complain! If you have suggestions on how to improve it feel free to comment in the relevant forum @ area51
git-svn-id: file:///svn/phpbb/trunk@4714 89ea8834-ac86-4346-8a33-228a782c2dd0
2004-01-04 18:10:41 +00:00
Paul S. Owen
386dc775b6 A few updates
git-svn-id: file:///svn/phpbb/trunk@4713 89ea8834-ac86-4346-8a33-228a782c2dd0
2004-01-04 18:09:57 +00:00
Paul S. Owen
c08a0fc7fb oopsie, wrong id
git-svn-id: file:///svn/phpbb/trunk@4712 89ea8834-ac86-4346-8a33-228a782c2dd0
2004-01-04 18:08:19 +00:00
Paul S. Owen
72a7628f4c Style image data update
git-svn-id: file:///svn/phpbb/trunk@4711 89ea8834-ac86-4346-8a33-228a782c2dd0
2004-01-04 15:48:57 +00:00
Paul S. Owen
16d9fe6f77 Unused
git-svn-id: file:///svn/phpbb/trunk@4710 89ea8834-ac86-4346-8a33-228a782c2dd0
2004-01-04 15:48:24 +00:00
Paul S. Owen
63b0649f61 2 becomes 1
git-svn-id: file:///svn/phpbb/trunk@4709 89ea8834-ac86-4346-8a33-228a782c2dd0
2004-01-03 18:12:08 +00:00
Paul S. Owen
1ae9cf2eab Some div-ination coming ... don't get too excited ... it's not "major"
git-svn-id: file:///svn/phpbb/trunk@4708 89ea8834-ac86-4346-8a33-228a782c2dd0
2004-01-03 17:38:11 +00:00
Paul S. Owen
cbbec39e0d Posting was getting a tad crowded
git-svn-id: file:///svn/phpbb/trunk@4707 89ea8834-ac86-4346-8a33-228a782c2dd0
2004-01-03 17:35:47 +00:00
Paul S. Owen
16484c61b1 Add logo to imageset
git-svn-id: file:///svn/phpbb/trunk@4705 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-12-29 13:24:41 +00:00
Paul S. Owen
e99f48e8bc Update MCP linkage
git-svn-id: file:///svn/phpbb/trunk@4704 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-12-06 12:46:22 +00:00
Paul S. Owen
11190910a9 Update ACP and MCP linkage
git-svn-id: file:///svn/phpbb/trunk@4703 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-12-06 12:45:53 +00:00
Paul S. Owen
afc00b0b87 Update ACP linkage
git-svn-id: file:///svn/phpbb/trunk@4702 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-12-06 12:45:38 +00:00
Paul S. Owen
29875f3cbf Add missing ;
git-svn-id: file:///svn/phpbb/trunk@4701 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-12-04 02:00:57 +00:00
Meik Sievertsen
b70b519836 update forum_ids for global announcements.
git-svn-id: file:///svn/phpbb/trunk@4700 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-11-30 18:03:09 +00:00
Meik Sievertsen
3f6e946889 speed improvement... slap me for not seeing the user var. ;)
git-svn-id: file:///svn/phpbb/trunk@4699 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-11-30 17:45:13 +00:00
Ludovic Arnaud
eaf3efe6e0 Quiet please!
git-svn-id: file:///svn/phpbb/trunk@4698 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-11-29 23:42:10 +00:00
Ludovic Arnaud
e403277ce2 Fixed cache table schema.
Added in index to username for validate_username() queries.


git-svn-id: file:///svn/phpbb/trunk@4697 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-11-29 23:38:42 +00:00
Ludovic Arnaud
eb7cc50608 Fixed: "$config['allow_quote']"? No sir, there is no such thing. (my bad)
Changed: do not perform flood check when disabled
Added: a couple notes for Acyd ;)


git-svn-id: file:///svn/phpbb/trunk@4696 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-11-27 23:44:59 +00:00
Ludovic Arnaud
84ede6d436 Minor change: check for potential bbcodes before we parse the message
git-svn-id: file:///svn/phpbb/trunk@4695 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-11-27 23:27:35 +00:00
Ludovic Arnaud
068f81b676 Updated MCP
git-svn-id: file:///svn/phpbb/trunk@4694 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-11-27 23:26:19 +00:00
Ludovic Arnaud
91467dcd62 Added: mcp_queue, for unapproved items
git-svn-id: file:///svn/phpbb/trunk@4693 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-11-27 23:23:51 +00:00
Ludovic Arnaud
a08d9e6473 mcp_main module, responsible for forum/topic/post view and common operations
git-svn-id: file:///svn/phpbb/trunk@4692 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-11-27 23:20:31 +00:00
Ludovic Arnaud
da4f6d99de Oops, I almost forgot this one
git-svn-id: file:///svn/phpbb/trunk@4691 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-11-27 23:18:27 +00:00
Ludovic Arnaud
91dcddbd0b Fixed: mcp main module, a couple typos
Added: mcp_queue module


git-svn-id: file:///svn/phpbb/trunk@4690 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-11-27 23:14:57 +00:00
Ludovic Arnaud
fdfc37ef12 MCP templates
git-svn-id: file:///svn/phpbb/trunk@4689 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-11-27 23:07:31 +00:00
Ludovic Arnaud
f15467f4c5 MCP-related. Not complete yet.
git-svn-id: file:///svn/phpbb/trunk@4688 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-11-27 23:06:05 +00:00
Ludovic Arnaud
89e83ec89e Put mysql4.php in line with mysql.php
git-svn-id: file:///svn/phpbb/trunk@4687 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-11-27 00:23:36 +00:00
Ludovic Arnaud
7357736695 ACM-related changes. Tried to make debug timings a little more accurate, Note that it takes the time spent on fetching data into account when comparing db time vs cache time. Added green/red indicator (green = caching good, red = bad ;))
git-svn-id: file:///svn/phpbb/trunk@4686 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-11-27 00:02:16 +00:00
Ludovic Arnaud
ce8fddf78f ACM garbage collection
git-svn-id: file:///svn/phpbb/trunk@4685 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-11-26 23:54:19 +00:00
Ludovic Arnaud
ac0b5d79ad Changed: the way caches expire. (see dev forum)
Added: "private" caching. (see dev forum too ;))


git-svn-id: file:///svn/phpbb/trunk@4684 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-11-26 23:34:33 +00:00
Meik Sievertsen
1dd9ad2f79 moved attachment settings code back to admin_attachments.php
git-svn-id: file:///svn/phpbb/trunk@4683 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-11-23 23:00:43 +00:00
Meik Sievertsen
5f35bc9bc1 my attempt to break things...
git-svn-id: file:///svn/phpbb/trunk@4682 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-11-23 22:25:46 +00:00
Meik Sievertsen
37edf4148c small typo... who is in need of a new keyboard? ;)
git-svn-id: file:///svn/phpbb/trunk@4681 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-11-23 22:19:29 +00:00
Meik Sievertsen
fe57f5340c more user friendly (this fulfills request #695587 in conjunction with the previously added topic link to the notification templates)
git-svn-id: file:///svn/phpbb/trunk@4679 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-11-22 17:57:06 +00:00
Meik Sievertsen
755c0d845c some performance/bug fixes
git-svn-id: file:///svn/phpbb/trunk@4678 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-11-22 12:44:01 +00:00
Meik Sievertsen
97d5bdb5d9 jada jada
git-svn-id: file:///svn/phpbb/trunk@4677 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-11-22 12:43:31 +00:00
Meik Sievertsen
3cb634c796 go with Ashe's suggestion...
git-svn-id: file:///svn/phpbb/trunk@4676 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-11-22 12:43:07 +00:00
Ludovic Arnaud
6016228752 If you don't know what it is, you shouldn't be reading this...
(query split as discussed in dev forum)
Fixed: board's URL in printer mode


git-svn-id: file:///svn/phpbb/trunk@4675 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-11-21 23:19:47 +00:00
Paul S. Owen
2ce6a07f6d Ignore agent check if empty
git-svn-id: file:///svn/phpbb/trunk@4674 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-11-20 12:49:42 +00:00
Paul S. Owen
84e6b1d0b6 sessions went on a calorie controlled diet and lost 1000 bytes and still had a tasty lunch and dinner!
git-svn-id: file:///svn/phpbb/trunk@4673 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-11-17 23:36:43 +00:00
Ludovic Arnaud
4a81ebb7f8 Fixed: garbage collection firing of during install (don't even ask me how, but it happened to me)
Added: multi-table garbage collection for MySQL 4 for Paul to review :)


git-svn-id: file:///svn/phpbb/trunk@4672 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-11-16 23:16:02 +00:00
Ludovic Arnaud
f454196097 Tweaked sync() a bit and fixed a couple table names. Meik, please take a look at the post_attachment/topic_attachment part to make sure I didn't screw things up ;)
Note that some modes are for dev purposes and aren't meant to stay for final if we don't use them


git-svn-id: file:///svn/phpbb/trunk@4671 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-11-16 23:01:24 +00:00
Ludovic Arnaud
996acdeb6b Not even worth a log msg ;)
git-svn-id: file:///svn/phpbb/trunk@4670 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-11-16 22:28:47 +00:00
Ludovic Arnaud
f2650d1e63 Fixed: [list] tags now function properly
git-svn-id: file:///svn/phpbb/trunk@4669 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-11-16 22:26:27 +00:00
Meik Sievertsen
306d36f03d Finished drafts, one bit is remaining though.
added file and disk space statistics.
some minor changes here and there.


git-svn-id: file:///svn/phpbb/trunk@4668 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-11-16 21:53:56 +00:00
Ludovic Arnaud
e80f40d5bb Fixed a small typo, and no, I'm not hostage of closet monkeys.
git-svn-id: file:///svn/phpbb/trunk@4667 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-11-15 22:20:40 +00:00
Paul S. Owen
aa34816c6f erm, did I forget this
git-svn-id: file:///svn/phpbb/trunk@4666 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-11-14 21:31:46 +00:00
Paul S. Owen
029ecff8f8 Quick fix for re-ordering problem
git-svn-id: file:///svn/phpbb/trunk@4665 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-11-13 16:13:08 +00:00
Meik Sievertsen
142f32d554 freeresult
git-svn-id: file:///svn/phpbb/trunk@4664 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-11-13 12:43:25 +00:00
Meik Sievertsen
5f91c611d7 grmbl... another way to get your forum out of sync. ;)
git-svn-id: file:///svn/phpbb/trunk@4663 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-11-13 12:39:11 +00:00
Paul S. Owen
6a701d1cf5 I'm so disappointed no one spotted this deliberate error ... phew, got away with that one ... damn, is this thing on?
git-svn-id: file:///svn/phpbb/trunk@4662 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-11-11 10:57:53 +00:00
Paul S. Owen
74ccfb2ad5 gurgle blurp ... make some more changes, blurp, gurgle, move discover_auth to auth class as acl_get_list method, blurp gurgle blurp
git-svn-id: file:///svn/phpbb/trunk@4661 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-11-10 15:03:47 +00:00
Paul S. Owen
eb87d0537a We're going down, we're going down, blurp, blurp, gurgle, gurgle
git-svn-id: file:///svn/phpbb/trunk@4660 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-11-10 14:26:58 +00:00
Paul S. Owen
947f0d6c19 Abandon ship! Abandon ship!
git-svn-id: file:///svn/phpbb/trunk@4659 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-11-10 14:22:41 +00:00
Paul S. Owen
c5ee8b8c49 Change to discover auth ... this time I think I got it right ... ooohh look @ that pretty iceberg ...
git-svn-id: file:///svn/phpbb/trunk@4658 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-11-10 14:19:33 +00:00
Paul S. Owen
d5df8a33a5 Note that these changes are as yet untested
git-svn-id: file:///svn/phpbb/trunk@4657 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-11-10 14:18:54 +00:00
Paul S. Owen
4a05ef300b Some minor alterations to neaten it up a little ... hopefully Acyd won't be too upset
git-svn-id: file:///svn/phpbb/trunk@4656 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-11-08 18:12:46 +00:00
Paul S. Owen
dd5120f95e Finally add deletion of expired sessions from forum access table, remove request_var useage for explain linkage
git-svn-id: file:///svn/phpbb/trunk@4655 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-11-08 17:22:04 +00:00
Meik Sievertsen
78f60b901e doh^2!
git-svn-id: file:///svn/phpbb/trunk@4654 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-11-06 17:13:35 +00:00
Meik Sievertsen
457cdfdb6d doh!
git-svn-id: file:///svn/phpbb/trunk@4653 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-11-06 17:13:13 +00:00
Meik Sievertsen
558b8ee7ff UCP -> Attachments
git-svn-id: file:///svn/phpbb/trunk@4652 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-11-06 15:05:50 +00:00
Paul S. Owen
75ccd0e13c Some attachment related changes to lang/layout
git-svn-id: file:///svn/phpbb/trunk@4651 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-11-06 13:08:37 +00:00
Paul S. Owen
3ccd55c089 Fix deletion of all log entries when deleting those of just one, fix js issue with mark all
git-svn-id: file:///svn/phpbb/trunk@4650 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-11-06 12:25:21 +00:00
Paul S. Owen
4ed7d9e569 Topics,posts,users,blah
git-svn-id: file:///svn/phpbb/trunk@4649 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-11-05 18:59:33 +00:00
Paul S. Owen
744a82a105 Move ipwhois to functions_admin
git-svn-id: file:///svn/phpbb/trunk@4648 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-11-05 18:57:09 +00:00
Paul S. Owen
47c00e145f users_notes table
git-svn-id: file:///svn/phpbb/trunk@4647 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-11-05 18:51:31 +00:00
Paul S. Owen
1e8bc72d1a Attempt to make page tracking behave a little better
git-svn-id: file:///svn/phpbb/trunk@4646 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-11-05 18:51:05 +00:00
Paul S. Owen
a5ab4cffaa /me whoopsies all over the floor
/me is ashamed


git-svn-id: file:///svn/phpbb/trunk@4645 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-11-05 18:50:12 +00:00
Paul S. Owen
feb0ed7ead Hide special and hidden groups(?)
git-svn-id: file:///svn/phpbb/trunk@4644 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-11-05 18:49:01 +00:00
Paul S. Owen
8a05a6b1f8 Admin load switch for jumpbox
git-svn-id: file:///svn/phpbb/trunk@4643 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-11-05 18:46:31 +00:00
Paul S. Owen
8ad641bd17 Very preliminary user admin update
git-svn-id: file:///svn/phpbb/trunk@4642 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-11-05 18:29:02 +00:00
Meik Sievertsen
f265316c29 related to attachments
git-svn-id: file:///svn/phpbb/trunk@4641 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-11-05 14:57:29 +00:00
Meik Sievertsen
d8b990820c re-arranged the attachment display, this solves the template problems we are having since the beginning.
git-svn-id: file:///svn/phpbb/trunk@4640 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-11-05 14:53:45 +00:00
Paul S. Owen
035ceb0119 Update bots to those most active @ area51
git-svn-id: file:///svn/phpbb/trunk@4639 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-11-05 01:46:17 +00:00
Meik Sievertsen
3166e9f48f damn local storage folder. :/
git-svn-id: file:///svn/phpbb/trunk@4638 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-11-04 22:12:52 +00:00
Meik Sievertsen
cd70db7976 new permissions, merged attachment tables (the intended purpose of two tables is no longer valid), attachment updates along the merging...
Note: please merge your attachment tables (develop dir).


git-svn-id: file:///svn/phpbb/trunk@4637 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-11-04 22:05:38 +00:00
Meik Sievertsen
88f814a5c5 request_var update to support 2-dimensional arrays.
git-svn-id: file:///svn/phpbb/trunk@4636 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-11-04 21:54:40 +00:00
Meik Sievertsen
472026b8e3 oh my god... HE GOT INSANE!
git-svn-id: file:///svn/phpbb/trunk@4635 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-11-04 17:41:03 +00:00
Meik Sievertsen
f79d8a3694 finish bump topic feature...
git-svn-id: file:///svn/phpbb/trunk@4634 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-11-01 16:10:21 +00:00
Meik Sievertsen
bd508e5a27 yada yada
git-svn-id: file:///svn/phpbb/trunk@4633 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-11-01 16:07:54 +00:00
Meik Sievertsen
ff9fcd36df finish bump topic feature...
delete comment field from extension table.


git-svn-id: file:///svn/phpbb/trunk@4632 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-11-01 16:06:45 +00:00
Meik Sievertsen
38bdfc561b and we see him again...
git-svn-id: file:///svn/phpbb/trunk@4631 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-11-01 16:03:43 +00:00
Meik Sievertsen
979d866ec6 ahhhh, they hurt kenny, stop it... stop it.
git-svn-id: file:///svn/phpbb/trunk@4630 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-11-01 16:01:28 +00:00
Meik Sievertsen
cee7de8e1a a lot of handwork is still required...
git-svn-id: file:///svn/phpbb/trunk@4629 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-11-01 11:53:13 +00:00
Meik Sievertsen
41d8e55409 examining all lang vars used in php files will come later... do not forget to make your store folder writeable.
git-svn-id: file:///svn/phpbb/trunk@4628 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-10-31 19:16:25 +00:00
Meik Sievertsen
ed58e166f5 fix "not able to reply to announcements" and wrong notify checkbox status.
git-svn-id: file:///svn/phpbb/trunk@4627 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-10-28 21:23:49 +00:00
Paul S. Owen
edbe99feb6 Fix a few items, ability to read private forums, etc. ... must look at reducing need to join on posts table when not absolutely necessary
git-svn-id: file:///svn/phpbb/trunk@4626 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-10-27 13:18:06 +00:00
Meik Sievertsen
6114414650 oops... not realised the config name change locally. :/
added logging of bump action


git-svn-id: file:///svn/phpbb/trunk@4625 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-10-22 20:41:00 +00:00
Paul S. Owen
76e1ee162f split
git-svn-id: file:///svn/phpbb/trunk@4624 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-10-22 15:06:45 +00:00
Paul S. Owen
1a616b2965 jumpto fixes for Mozilla
git-svn-id: file:///svn/phpbb/trunk@4623 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-10-22 12:20:41 +00:00
Paul S. Owen
4c06be0324 Enable group based avatar ... really not sure about the api layout though
git-svn-id: file:///svn/phpbb/trunk@4622 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-10-21 16:50:43 +00:00
Paul S. Owen
7c68d87f21 Enable group based avatar ... really not sure about the api layout though
git-svn-id: file:///svn/phpbb/trunk@4621 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-10-21 16:45:33 +00:00
Paul S. Owen
df24e3c8e0 Enable/disable fulltext indexing of a given forum
git-svn-id: file:///svn/phpbb/trunk@4620 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-10-21 13:05:15 +00:00
Paul S. Owen
8d3cc99848 Fix some oopsies
git-svn-id: file:///svn/phpbb/trunk@4619 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-10-21 13:04:37 +00:00
Paul S. Owen
da7feb37a8 Select boxes rather than several submit buttons ... must standardise these approaches across admin forms
git-svn-id: file:///svn/phpbb/trunk@4618 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-10-21 00:16:05 +00:00
Paul S. Owen
411683ffd4 nowrap for th
git-svn-id: file:///svn/phpbb/trunk@4617 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-10-21 00:15:28 +00:00
Paul S. Owen
404b52e8fa Lots of hard coded lang strings still to be updated
git-svn-id: file:///svn/phpbb/trunk@4616 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-10-21 00:08:17 +00:00
Paul S. Owen
85fda8d755 Demote, delete from group and delete group functionality ... when deleting from group the new default will be set according to Admin -> Super Mod -> Reg COPPA -> Reg -> Bot -> Guest which seems quite logical.
git-svn-id: file:///svn/phpbb/trunk@4615 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-10-20 23:57:24 +00:00
Meik Sievertsen
e7c3370a04 bump topic and orphan attachments
changes here and there...


git-svn-id: file:///svn/phpbb/trunk@4614 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-10-19 15:36:45 +00:00
Meik Sievertsen
de53ffabb4 mass add/edit smilies and icons
git-svn-id: file:///svn/phpbb/trunk@4613 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-10-19 15:26:14 +00:00
Meik Sievertsen
5ea7428e1b cleanup
git-svn-id: file:///svn/phpbb/trunk@4612 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-10-19 15:17:35 +00:00
Paul S. Owen
3d46c543cd nah, stuff the * wildcard ... just match partially, should be sufficient I think
git-svn-id: file:///svn/phpbb/trunk@4611 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-10-18 12:57:24 +00:00
Paul S. Owen
330f36eb29 Allow wildcard bot matching
git-svn-id: file:///svn/phpbb/trunk@4610 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-10-18 12:51:50 +00:00
Paul S. Owen
58ebfa1407 fudge-o-rama mkII
git-svn-id: file:///svn/phpbb/trunk@4609 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-10-15 23:47:30 +00:00
Paul S. Owen
e7ca1a5286 fudge-o-rama
git-svn-id: file:///svn/phpbb/trunk@4608 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-10-15 23:19:25 +00:00
Paul S. Owen
7aa3278def Split profile template
git-svn-id: file:///svn/phpbb/trunk@4607 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-10-15 23:19:15 +00:00
Paul S. Owen
6f988e15db ;
git-svn-id: file:///svn/phpbb/trunk@4606 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-10-15 21:59:14 +00:00
Paul S. Owen
2951801e6a naughty dot, be gone, be gone I say
git-svn-id: file:///svn/phpbb/trunk@4605 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-10-15 20:35:53 +00:00
Paul S. Owen
de4361d698 Wrong name for googlebot .. s'pose we don't really need bot_name, could just use username
git-svn-id: file:///svn/phpbb/trunk@4604 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-10-15 17:46:49 +00:00
Paul S. Owen
a47fa4d6ca Remove need for session_ids for "allowed" bots, dump user_founder/user_active in favour of user_type, new user_type, USER_IGNORE
git-svn-id: file:///svn/phpbb/trunk@4603 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-10-15 17:43:07 +00:00
Paul S. Owen
8661a45de5 Quick change of title/date
git-svn-id: file:///svn/phpbb/trunk@4602 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-10-15 15:41:38 +00:00
Paul S. Owen
10d132fe95 Bot admin
git-svn-id: file:///svn/phpbb/trunk@4601 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-10-15 15:40:31 +00:00
Paul S. Owen
78613ec07c opsie
git-svn-id: file:///svn/phpbb/trunk@4600 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-10-14 13:30:43 +00:00
Paul S. Owen
038f43c3fd Don't trigger_error when connect fails in queue, continue queue processing of next object on email/jabber failure
git-svn-id: file:///svn/phpbb/trunk@4599 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-10-14 13:24:07 +00:00
Paul S. Owen
fadcec80c2 missed a stupid $
git-svn-id: file:///svn/phpbb/trunk@4598 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-10-13 22:13:03 +00:00
Paul S. Owen
eedef95186 Avatar CP issues ... must finish the gallery (item 28 on my list ...)
git-svn-id: file:///svn/phpbb/trunk@4597 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-10-13 21:24:03 +00:00
Paul S. Owen
88787be77f sigh
git-svn-id: file:///svn/phpbb/trunk@4596 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-10-13 20:00:55 +00:00
Paul S. Owen
28aaaf9d01 Moved queue handling back to common ... forgot to introduce session start when error handling ... oopsie
git-svn-id: file:///svn/phpbb/trunk@4595 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-10-13 17:41:27 +00:00
Paul S. Owen
79469f244f Don't attempt to change the password unless jabber is enabled ...
git-svn-id: file:///svn/phpbb/trunk@4594 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-10-13 17:41:00 +00:00
Paul S. Owen
bb9cd0f2ba well, seems putting the queue process in the footer doesn't work on "real boards" where people hit stop constantly on their browser :D
git-svn-id: file:///svn/phpbb/trunk@4593 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-10-12 23:34:09 +00:00
Paul S. Owen
fca087f846 Minor changes
git-svn-id: file:///svn/phpbb/trunk@4592 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-10-12 23:33:26 +00:00
Paul S. Owen
abf3cadc48 Add jabber port, ignore queue lock if older than queue_interval ... probably means it didn't complete (this queue business may cause us problems ...)
git-svn-id: file:///svn/phpbb/trunk@4591 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-10-12 20:38:37 +00:00
Paul S. Owen
a175297e14 Disconnect ...
git-svn-id: file:///svn/phpbb/trunk@4590 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-10-12 20:31:35 +00:00
Paul S. Owen
e93a382870 pooh
git-svn-id: file:///svn/phpbb/trunk@4589 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-10-12 19:59:20 +00:00
Paul S. Owen
a82d2e4edd account registration/changing, password changing
git-svn-id: file:///svn/phpbb/trunk@4588 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-10-12 19:58:01 +00:00
Paul S. Owen
0cca5430d8 Only updates config vars at present ... will create accounts, etc. eventually.
git-svn-id: file:///svn/phpbb/trunk@4587 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-10-12 16:20:10 +00:00
Paul S. Owen
b82f182b83 hmmmm
git-svn-id: file:///svn/phpbb/trunk@4586 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-10-12 16:16:43 +00:00
Paul S. Owen
7166cb43ba this was working ... hhmmm
git-svn-id: file:///svn/phpbb/trunk@4585 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-10-12 15:45:34 +00:00
Paul S. Owen
17181fc129 They killed emailer! Those b*****ds!
git-svn-id: file:///svn/phpbb/trunk@4584 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-10-12 15:40:48 +00:00
Paul S. Owen
9da094fec2 Updated the various "users of emailer", fixed issue(!) of jabber using the email address as the uid, blah fixes, blah, blah di blah yakety smackety
git-svn-id: file:///svn/phpbb/trunk@4583 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-10-12 15:29:18 +00:00
Paul S. Owen
90ad130d48 Wasn't finished and on my system is not performing correctly ... hence comments ;) Please leave commented out for now.
git-svn-id: file:///svn/phpbb/trunk@4582 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-10-12 15:14:05 +00:00
Meik Sievertsen
8d5ce7bbb4 do not delete all users, i do not know if this was intended paul. :)
user_jabber not used within messenger object, only 'email' defined.


git-svn-id: file:///svn/phpbb/trunk@4581 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-10-12 14:56:53 +00:00
Paul S. Owen
3d1731b7cc Mass email messenger updates, can mass email selected users
git-svn-id: file:///svn/phpbb/trunk@4580 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-10-12 12:37:25 +00:00
Paul S. Owen
14928b2780 Split ucp templates, more of them but easier to understand IMO
git-svn-id: file:///svn/phpbb/trunk@4579 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-10-12 11:59:56 +00:00
Paul S. Owen
eeb4907112 Let's break lots of things
git-svn-id: file:///svn/phpbb/trunk@4578 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-10-12 11:59:23 +00:00
Meik Sievertsen
3bd4218780 sticky/announcement time limit
login upon notification


git-svn-id: file:///svn/phpbb/trunk@4577 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-10-12 09:27:16 +00:00
Meik Sievertsen
149fff3596 login prompt upon notified about new topic
enabled prune_viewed at auto_prune.


git-svn-id: file:///svn/phpbb/trunk@4576 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-10-12 09:21:08 +00:00
Meik Sievertsen
dd83786c49 speed up posting in general... and some cleanups.
git-svn-id: file:///svn/phpbb/trunk@4575 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-10-12 09:18:56 +00:00
Meik Sievertsen
f559ce8e93 *** empty log message ***
git-svn-id: file:///svn/phpbb/trunk@4574 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-10-12 09:16:33 +00:00
Meik Sievertsen
98bd5b74f2 optimized update_last_post_information query.
git-svn-id: file:///svn/phpbb/trunk@4573 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-10-12 09:13:04 +00:00
Meik Sievertsen
7924d903b0 comment out optimize block (Ashe, please review)
moved phpbb_unlink to functions_admin (used in more than one script)


git-svn-id: file:///svn/phpbb/trunk@4572 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-10-12 09:11:33 +00:00
Meik Sievertsen
32683fda12 new rule
git-svn-id: file:///svn/phpbb/trunk@4571 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-10-12 09:09:58 +00:00
Meik Sievertsen
c5b5dd033a no fun without the lang.
git-svn-id: file:///svn/phpbb/trunk@4570 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-10-12 09:04:36 +00:00
Meik Sievertsen
8f90b25b39 new config variable for upload icon path
new permission - f_lock - allow users locking own topics


git-svn-id: file:///svn/phpbb/trunk@4569 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-10-12 09:03:21 +00:00
Meik Sievertsen
c6c56a9c07 enable pruning by Post Viewed time on auto_prune.
two changes to improve posting speed.


git-svn-id: file:///svn/phpbb/trunk@4568 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-10-12 09:02:11 +00:00
Meik Sievertsen
1123227ad9 enable pruning by Post Viewed time on auto_prune
git-svn-id: file:///svn/phpbb/trunk@4567 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-10-12 08:58:09 +00:00
Meik Sievertsen
fe9b0e106d request_var update
git-svn-id: file:///svn/phpbb/trunk@4566 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-10-12 08:57:04 +00:00
Meik Sievertsen
3b9111cb5e enable upload icon path
git-svn-id: file:///svn/phpbb/trunk@4565 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-10-12 08:56:17 +00:00
Meik Sievertsen
ea928a6012 cleanups and fixes
git-svn-id: file:///svn/phpbb/trunk@4564 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-10-12 08:55:41 +00:00
Paul S. Owen
871e729906 Jabber or Email enable check for subscribe forum
git-svn-id: file:///svn/phpbb/trunk@4563 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-10-12 00:21:25 +00:00
Paul S. Owen
fe3cac735e oopsie on output of subscribe forum/mark topics read output
git-svn-id: file:///svn/phpbb/trunk@4562 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-10-12 00:18:46 +00:00
Paul S. Owen
537cab48e6 A number of new config vars
git-svn-id: file:///svn/phpbb/trunk@4561 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-10-12 00:02:12 +00:00
Paul S. Owen
d29798a7a2 Various updates and fixes
git-svn-id: file:///svn/phpbb/trunk@4560 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-10-12 00:01:42 +00:00
Paul S. Owen
f26afd8889 optionget/optionset updates
git-svn-id: file:///svn/phpbb/trunk@4559 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-10-12 00:00:03 +00:00
Paul S. Owen
fdcad33b8b oopsie, $fp no longer exists, using lock file instead
git-svn-id: file:///svn/phpbb/trunk@4558 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-10-11 23:59:41 +00:00
Paul S. Owen
0d56643cb2 include_once
git-svn-id: file:///svn/phpbb/trunk@4557 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-10-11 23:58:57 +00:00
Paul S. Owen
2d1eb29e36 Various new phrases
git-svn-id: file:///svn/phpbb/trunk@4556 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-10-11 23:55:07 +00:00
Paul S. Owen
08b66d9025 Slashing of allowed username chars corrected ... may not appear to work "correctly" till remaining changes are committed
git-svn-id: file:///svn/phpbb/trunk@4555 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-10-11 23:54:00 +00:00
Paul S. Owen
19f03aa6b7 Removed duplicate methods, tidied some code
git-svn-id: file:///svn/phpbb/trunk@4554 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-10-11 23:52:46 +00:00
Paul S. Owen
dd39be7f51 Merge email and IM (jabber) messaging
git-svn-id: file:///svn/phpbb/trunk@4553 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-10-11 23:51:29 +00:00
Meik Sievertsen
b2a26d6bf8 do not remove multiple newlines for posting message
git-svn-id: file:///svn/phpbb/trunk@4552 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-10-11 11:57:03 +00:00
Meik Sievertsen
8f4967a228 re-add quote button. ;)
git-svn-id: file:///svn/phpbb/trunk@4551 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-10-11 11:46:29 +00:00
Meik Sievertsen
ee056e09f7 not my day me thinks
git-svn-id: file:///svn/phpbb/trunk@4550 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-10-10 16:08:46 +00:00
Meik Sievertsen
508b94ee12 ok, but now, really group by. :)
git-svn-id: file:///svn/phpbb/trunk@4549 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-10-10 15:59:45 +00:00
Meik Sievertsen
2094094b76 group by smile_url
git-svn-id: file:///svn/phpbb/trunk@4548 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-10-10 15:58:34 +00:00
Meik Sievertsen
d585b01f78 new link to topic. (sometimes the post link is invalid [post deleted], this is the easiest method to prevent users screaming about non-existing topics)
git-svn-id: file:///svn/phpbb/trunk@4547 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-10-10 15:07:10 +00:00
Meik Sievertsen
ffb736878c sticky/announcement time limit
git-svn-id: file:///svn/phpbb/trunk@4546 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-10-10 15:04:18 +00:00
Meik Sievertsen
37411be1e4 notification fix (wrong template var)
sticky/announcement time limit (viewtopic is pending)


git-svn-id: file:///svn/phpbb/trunk@4545 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-10-10 15:02:48 +00:00
Meik Sievertsen
09f0238af2 admin decides which smilies to be displayed in posting screen
git-svn-id: file:///svn/phpbb/trunk@4544 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-10-10 12:11:18 +00:00
Meik Sievertsen
f0e6b45dcf merged topic and post review
git-svn-id: file:///svn/phpbb/trunk@4543 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-10-09 16:56:40 +00:00
Meik Sievertsen
736b1262e4 merged topic and post review
review updates
fix topic title


git-svn-id: file:///svn/phpbb/trunk@4542 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-10-09 16:55:56 +00:00
Meik Sievertsen
b1af72b27b dumdidum...
git-svn-id: file:///svn/phpbb/trunk@4541 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-10-09 14:53:56 +00:00
Meik Sievertsen
40c38c6f81 request_var updates
attachment updates/fixes


git-svn-id: file:///svn/phpbb/trunk@4540 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-10-09 14:49:21 +00:00
Meik Sievertsen
4da761be39 fix resource id error. ;)
request_var updates
attachment updates/fixes
fix bbcode uid
Redirect to login upon emailed notification links (viewtopic and viewforum are not committed yet)


git-svn-id: file:///svn/phpbb/trunk@4539 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-10-09 14:48:55 +00:00
Paul S. Owen
a69762f024 Remove request_var
git-svn-id: file:///svn/phpbb/trunk@4538 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-10-08 11:31:04 +00:00
Meik Sievertsen
4921307020 cross browser compatibility
git-svn-id: file:///svn/phpbb/trunk@4537 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-10-07 18:58:01 +00:00
Meik Sievertsen
b379772198 parse error...
git-svn-id: file:///svn/phpbb/trunk@4536 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-10-07 17:33:02 +00:00
Meik Sievertsen
30b86bca06 changed user_notification... should be clearer to human brains and performance. :)
git-svn-id: file:///svn/phpbb/trunk@4535 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-10-07 17:29:53 +00:00
Ludovic Arnaud
1cfade7f0c Revamped sync()
Fixed: does not take subforums into consideration when sync'ing forum_ counters
Added: handles empty topics and orphan posts when syncing forums


git-svn-id: file:///svn/phpbb/trunk@4534 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-10-05 20:11:58 +00:00
Ludovic Arnaud
86be90bc49 Asylum seekers ate my baby
git-svn-id: file:///svn/phpbb/trunk@4533 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-10-05 20:05:58 +00:00
Ludovic Arnaud
4b00d2ec21 Allow/disallow [quote] tags. If we make any other bbcode disable-able we should consider passing them in an array ;)
git-svn-id: file:///svn/phpbb/trunk@4532 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-10-05 19:59:17 +00:00
Paul S. Owen
efad675c35 Add seperate search_time field to search_results
git-svn-id: file:///svn/phpbb/trunk@4531 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-10-05 12:57:12 +00:00
Paul S. Owen
c640a51755 Add search interval check, correct a couple of errors
git-svn-id: file:///svn/phpbb/trunk@4530 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-10-05 12:56:53 +00:00
Paul S. Owen
64e4e4aaae oop, username, not id ...
git-svn-id: file:///svn/phpbb/trunk@4529 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-10-05 12:15:33 +00:00
Paul S. Owen
54a3a8e2db Add "Add Friend" to viewprofile
git-svn-id: file:///svn/phpbb/trunk@4528 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-10-04 14:00:31 +00:00
Paul S. Owen
7c940b9dc2 Minor mods
git-svn-id: file:///svn/phpbb/trunk@4527 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-10-04 14:00:02 +00:00
Paul S. Owen
288bc45e3a alter layout slightly
git-svn-id: file:///svn/phpbb/trunk@4526 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-10-04 13:58:36 +00:00
Paul S. Owen
29ad97ebf7 minor update to check for mods/admins
git-svn-id: file:///svn/phpbb/trunk@4525 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-10-04 13:58:23 +00:00
Paul S. Owen
c41938fd8a Change in format of module db data, add zebra, many things probably "damaged goods" for now ... don't panic Mr. Mainwaring, don't panic
git-svn-id: file:///svn/phpbb/trunk@4524 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-10-01 17:37:08 +00:00
Paul S. Owen
78c0f3ad5d Module schema addition, note this may change depending on further discussion and screw ups
git-svn-id: file:///svn/phpbb/trunk@4523 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-10-01 17:31:19 +00:00
Paul S. Owen
860dc47114 Change in format of module db data, add zebra, many things probably "damaged goods" for now ... don't panic Mr. Mainwaring, don't panic
git-svn-id: file:///svn/phpbb/trunk@4522 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-10-01 17:24:53 +00:00
Paul S. Owen
64177fa87e request_var init
git-svn-id: file:///svn/phpbb/trunk@4521 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-10-01 17:22:58 +00:00
Paul S. Owen
4612fdc929 Note these are _not_ final nor in their likely final locations ...
git-svn-id: file:///svn/phpbb/trunk@4520 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-09-30 17:46:05 +00:00
Paul S. Owen
3e80c0339d Tpl compile stuff
git-svn-id: file:///svn/phpbb/trunk@4519 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-09-29 00:21:01 +00:00
Paul S. Owen
af4aa311e2 Add load_tplcompile var
git-svn-id: file:///svn/phpbb/trunk@4518 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-09-29 00:20:34 +00:00
Paul S. Owen
f2d90ce32f Switch for recompilation (based on filesystem modified time)
git-svn-id: file:///svn/phpbb/trunk@4517 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-09-29 00:20:17 +00:00
Ludovic Arnaud
a32d43d94a Fixed: wrong parent_id, incorrect $mode case. Now I'm done checking if it was possible to screw up the tree, the answer was yes.
git-svn-id: file:///svn/phpbb/trunk@4516 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-09-28 22:18:10 +00:00
Paul S. Owen
3e23d958ac Fix missing path seperators in template/imageset T_ vars
git-svn-id: file:///svn/phpbb/trunk@4515 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-09-27 20:45:46 +00:00
Paul S. Owen
3db6ba2561 Allow for start,end values within begin/end loops
git-svn-id: file:///svn/phpbb/trunk@4514 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-09-27 20:44:43 +00:00
Meik Sievertsen
09c03fd31a let's see how this is performing, if it is not behaving "exactly" like the iframe (scrolling for content exceeding 300px in height) on "all" browsers (except NS4 of course), then the iframe will appear again.
git-svn-id: file:///svn/phpbb/trunk@4512 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-09-26 06:38:10 +00:00
Meik Sievertsen
3b1834c1ab i admit it
git-svn-id: file:///svn/phpbb/trunk@4511 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-09-26 06:36:28 +00:00
Meik Sievertsen
8675e30366 some small fixes
got rid of iframe (topic review)... tested new div method with various browsers, further testing and oppinions would be nice. ;)
NOTE: New css element added to theme


git-svn-id: file:///svn/phpbb/trunk@4510 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-09-24 19:41:14 +00:00
Ludovic Arnaud
f614337627 Fixed: announcements being listed last
Changed: moved up the announcements query a little, rows are stored in the order they're fetched, the final order of topics is in $topic_list. Will be easier if we come to prefetching topics


git-svn-id: file:///svn/phpbb/trunk@4509 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-09-17 22:13:23 +00:00
Ludovic Arnaud
49b47422b3 Fixed: sql_return_on_error() calls. Now works as expected
Changed: var types explicitly casted

This checkin msg is dedicated to dhn ;)


git-svn-id: file:///svn/phpbb/trunk@4508 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-09-17 21:51:21 +00:00
Ludovic Arnaud
57f8f26999 Added: ability to sync() a range of id's
Changed: resource ID passed to sql_freeresult(), moved up some unset() calls


git-svn-id: file:///svn/phpbb/trunk@4507 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-09-17 20:11:56 +00:00
Paul S. Owen
84caf42728 oops, forgot to commit this earlier ... update for search author
git-svn-id: file:///svn/phpbb/trunk@4506 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-09-15 23:52:22 +00:00
Meik Sievertsen
b8dadd119a topic type selection moved to template.
git-svn-id: file:///svn/phpbb/trunk@4505 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-09-15 21:07:49 +00:00
Meik Sievertsen
9c1391b7a2 stat update fixes
global announcement fixes


git-svn-id: file:///svn/phpbb/trunk@4504 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-09-15 21:05:30 +00:00
Meik Sievertsen
480997b838 fix poll parsing
git-svn-id: file:///svn/phpbb/trunk@4503 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-09-15 21:04:18 +00:00
Meik Sievertsen
d065b8ea1e no longer supporting ftp upload
git-svn-id: file:///svn/phpbb/trunk@4502 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-09-15 21:02:10 +00:00
Meik Sievertsen
9ce85a9065 fix: assign parent id
git-svn-id: file:///svn/phpbb/trunk@4501 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-09-15 21:00:34 +00:00
Paul S. Owen
6bc091f373 ah, what the heck ... let's throw this in CVS
git-svn-id: file:///svn/phpbb/trunk@4500 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-09-15 16:33:12 +00:00
Ludovic Arnaud
a4a989dbfe Fixed: invalid start value will not cause the whole table to be returned ;)
Changed: some lang strings. lang_main to be updated soon


git-svn-id: file:///svn/phpbb/trunk@4499 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-09-14 22:25:16 +00:00
Ludovic Arnaud
c1b9ddb662 Fixed: invalid start value will not cause the whole table to be returned ;)
git-svn-id: file:///svn/phpbb/trunk@4498 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-09-14 22:24:16 +00:00
Ludovic Arnaud
2d0e00653c Fixed: I think that how it was intended to work ;)
git-svn-id: file:///svn/phpbb/trunk@4497 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-09-14 22:22:39 +00:00
Ludovic Arnaud
f96ded2eb6 MCP take 2, see forum
git-svn-id: file:///svn/phpbb/trunk@4496 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-09-14 22:21:57 +00:00
Paul S. Owen
dff8c2e0e1 Extension var update
git-svn-id: file:///svn/phpbb/trunk@4495 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-09-13 14:50:45 +00:00
Meik Sievertsen
89dd1d8a08 fix bbcode_uid, we do not like you empty. :D
git-svn-id: file:///svn/phpbb/trunk@4493 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-09-09 16:34:00 +00:00
Meik Sievertsen
a363e8dcdb fixed censoring (quote post, word boundaries, attachment comments)
git-svn-id: file:///svn/phpbb/trunk@4492 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-09-09 07:02:57 +00:00
Paul S. Owen
08161e09e2 I hate regexps ...
git-svn-id: file:///svn/phpbb/trunk@4491 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-09-09 01:01:59 +00:00
Paul S. Owen
7b037d5e42 Trim emoticon preg
git-svn-id: file:///svn/phpbb/trunk@4490 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-09-09 01:01:34 +00:00
Paul S. Owen
6f96492dd9 This one may work ... wouldn't it be nice if it did?
git-svn-id: file:///svn/phpbb/trunk@4489 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-09-09 01:00:11 +00:00
Paul S. Owen
c1589a9cdb few more updates/fixes
git-svn-id: file:///svn/phpbb/trunk@4488 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-09-08 23:24:01 +00:00
Paul S. Owen
7d4b42c68e Some re-arrangement of validation routines to improve extensibility
git-svn-id: file:///svn/phpbb/trunk@4487 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-09-08 12:42:32 +00:00
Meik Sievertsen
924684b000 small things... decode_text now checks for bbcode_uid existence. And yes, i know i have screwed up a lot of posts. :/
git-svn-id: file:///svn/phpbb/trunk@4486 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-09-08 07:05:29 +00:00
Meik Sievertsen
9dc398f302 username quoting should be working again...
git-svn-id: file:///svn/phpbb/trunk@4485 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-09-07 18:11:37 +00:00
Paul S. Owen
dd86187535 hhmm
git-svn-id: file:///svn/phpbb/trunk@4484 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-09-07 17:58:19 +00:00
Meik Sievertsen
d8042fab7b fix preview of postings with embedded bbcode
git-svn-id: file:///svn/phpbb/trunk@4483 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-09-07 17:52:53 +00:00
Meik Sievertsen
db2a73d2f0 okie, using array_merge. :D
fixed: admin_prune
added: prune topics last viewed at... (only admin_prune ATM)
moved: delete_attachments to functions_admin


git-svn-id: file:///svn/phpbb/trunk@4482 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-09-07 17:16:12 +00:00
Paul S. Owen
734b62cca6 ERrOr
git-svn-id: file:///svn/phpbb/trunk@4481 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-09-07 16:57:02 +00:00
Paul S. Owen
13e01d7b93 Extension var update
git-svn-id: file:///svn/phpbb/trunk@4480 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-09-07 16:52:51 +00:00
Meik Sievertsen
0b78036d66 put deletion of post into function
git-svn-id: file:///svn/phpbb/trunk@4479 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-09-07 15:49:03 +00:00
Meik Sievertsen
6aa059c403 update topic stats if complete topic is stored for approval.
git-svn-id: file:///svn/phpbb/trunk@4478 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-09-07 15:33:20 +00:00
Meik Sievertsen
028311c6f9 some sync-related updates... more logical processing of submit_post.
git-svn-id: file:///svn/phpbb/trunk@4477 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-09-07 15:23:55 +00:00
Paul S. Owen
c9e8ce2dba grumble
git-svn-id: file:///svn/phpbb/trunk@4476 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-09-07 13:54:25 +00:00
Paul S. Owen
12c44058fd Re-add transport and other methods
git-svn-id: file:///svn/phpbb/trunk@4475 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-09-07 13:51:53 +00:00
Paul S. Owen
fe70cdf4ce Removed extension ... generated internally
git-svn-id: file:///svn/phpbb/trunk@4474 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-09-07 13:47:53 +00:00
Paul S. Owen
8ac06a256b Updates mainly for removal of extension + header comment ... moved some aspects of ucp around, further work to be done on these areas ... not commiting search for time being
git-svn-id: file:///svn/phpbb/trunk@4473 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-09-07 13:46:51 +00:00
Ludovic Arnaud
e1ba6d3c52 Added: fetch posts the other way (see forum)
git-svn-id: file:///svn/phpbb/trunk@4472 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-09-06 22:18:06 +00:00
Ludovic Arnaud
23a98e5530 Added: fetch posts the other way (see forum)
Fixed: call-time pass by reference is deprecated on PHP 4.2.0+ and it may display a warning
Fixed: str_replace() on highlight words


git-svn-id: file:///svn/phpbb/trunk@4471 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-09-06 22:16:33 +00:00
Paul S. Owen
baca8d3221 Some sig preview issues ... I'll finish this UCP stuff at some point soon ... honest
git-svn-id: file:///svn/phpbb/trunk@4470 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-09-04 22:07:12 +00:00
Ludovic Arnaud
ecc9b5eb41 Less bugged version. If you sync a forum, you'll be taken back to the forum list where a message will be displayed.
git-svn-id: file:///svn/phpbb/trunk@4469 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-09-04 21:53:43 +00:00
Ludovic Arnaud
9f4d9ae268 Minor change. You may have to empty your cache.
git-svn-id: file:///svn/phpbb/trunk@4468 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-09-04 21:51:22 +00:00
Meik Sievertsen
fec9073f3a initial draft functionality, loading (and a bunch of other stuff) is not implemented yet + bugfixes.
git-svn-id: file:///svn/phpbb/trunk@4467 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-09-04 18:30:20 +00:00
Ludovic Arnaud
52e42838d9 Added: BBCode admin lang strings
git-svn-id: file:///svn/phpbb/trunk@4466 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-09-03 21:58:38 +00:00
Ludovic Arnaud
c9c595781f Changed: APIsation in progress :)
git-svn-id: file:///svn/phpbb/trunk@4465 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-09-03 21:57:35 +00:00
Ludovic Arnaud
fef9d2d08a Changed: headers, and a couple of clean-ups
git-svn-id: file:///svn/phpbb/trunk@4464 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-09-03 21:53:41 +00:00
Ludovic Arnaud
7ea3d109da Added logging abilitiy
git-svn-id: file:///svn/phpbb/trunk@4463 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-09-03 21:44:08 +00:00
Paul S. Owen
1c2f9cdfd0 Various template updates, mainly search related
git-svn-id: file:///svn/phpbb/trunk@4462 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-08-31 00:16:51 +00:00
Meik Sievertsen
afc8c9ba25 oops
git-svn-id: file:///svn/phpbb/trunk@4461 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-08-30 12:59:29 +00:00
Meik Sievertsen
12b9f0b842 enable globalising within posting screen
not sure about forum statistics updates at the moment.


git-svn-id: file:///svn/phpbb/trunk@4460 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-08-30 12:21:31 +00:00
Paul S. Owen
311cc6c3f0 speed up split words a tad
git-svn-id: file:///svn/phpbb/trunk@4459 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-08-30 01:53:17 +00:00
Meik Sievertsen
9f7db6a21c fixed: slashing attachment comments (hopefully)
changed header.


git-svn-id: file:///svn/phpbb/trunk@4458 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-08-29 18:06:56 +00:00
Paul S. Owen
563feb4d39 Some html layout cleanups
git-svn-id: file:///svn/phpbb/trunk@4457 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-08-29 12:39:30 +00:00
Paul S. Owen
b18b881e52 Nav output for non-postable subforums, minor changes for voting, change | to &bull; just to see how it looks :)
git-svn-id: file:///svn/phpbb/trunk@4456 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-08-29 00:32:03 +00:00
Paul S. Owen
ed6948732a Changing of votes ... possible new icons for "new votes since last view" in viewforum
git-svn-id: file:///svn/phpbb/trunk@4455 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-08-29 00:30:17 +00:00
Ludovic Arnaud
9798d795ce admin_bbcodes.php lang strings
git-svn-id: file:///svn/phpbb/trunk@4454 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-08-28 20:51:50 +00:00
Ludovic Arnaud
d80f50eb90 Added: admin definable bbcodes
Changed: preg references, use the prefered $n form instead of the old \\n one
Fixed: tweaked PHP highlightning a little


git-svn-id: file:///svn/phpbb/trunk@4453 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-08-28 20:50:20 +00:00
Ludovic Arnaud
2bbeda86c2 Guess what? Custom BBCodes are coming
git-svn-id: file:///svn/phpbb/trunk@4452 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-08-28 20:36:20 +00:00
Meik Sievertsen
964edc8693 saved one query by moving max smilie check to the emoticons function
git-svn-id: file:///svn/phpbb/trunk@4451 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-08-28 17:32:18 +00:00
Paul S. Owen
5b6e9931b3 oops
git-svn-id: file:///svn/phpbb/trunk@4449 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-08-28 14:10:13 +00:00
Ludovic Arnaud
c5f616856b Taken explain code out of sql_query. New improved layout.
git-svn-id: file:///svn/phpbb/trunk@4448 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-08-28 00:28:18 +00:00
Ludovic Arnaud
f21ec1f466 Taken explain code out of sql_query. New improved layout.
git-svn-id: file:///svn/phpbb/trunk@4447 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-08-28 00:22:18 +00:00
Paul S. Owen
323f495fb8 user option method (get) start
git-svn-id: file:///svn/phpbb/trunk@4446 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-08-27 22:25:43 +00:00
Ludovic Arnaud
c45905852b Changed: Allow multiple reports. If one tries to report the same post twice, it will silently update the existing report.
git-svn-id: file:///svn/phpbb/trunk@4445 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-08-27 22:03:12 +00:00
Ludovic Arnaud
dd2468ac1c Changed: Allow multiple reports. If one tries to report the same post twice, it will silently update the existing report.
git-svn-id: file:///svn/phpbb/trunk@4444 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-08-27 20:35:35 +00:00
Ludovic Arnaud
3990cefcc0 Splitted lang array for clarity
git-svn-id: file:///svn/phpbb/trunk@4443 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-08-27 19:49:38 +00:00
Ludovic Arnaud
691b1dc7fc Fixed: incorrect var names - Paul, please take a look if you have time
git-svn-id: file:///svn/phpbb/trunk@4442 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-08-27 18:58:51 +00:00
Paul S. Owen
7d7a08eee6 Various bits and pieces ... this isn't really what I wanted M-2 to look like but hum ho
git-svn-id: file:///svn/phpbb/trunk@4441 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-08-27 16:32:44 +00:00
Paul S. Owen
6225256418 bah, group handling needs some further discussion ... I'm done with it for M-2
git-svn-id: file:///svn/phpbb/trunk@4440 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-08-27 16:31:54 +00:00
Paul S. Owen
2c9b17ba48 oopsie
git-svn-id: file:///svn/phpbb/trunk@4439 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-08-27 00:33:28 +00:00
Paul S. Owen
3de3b9e9cf Move presently implemented group functions to ... functions
git-svn-id: file:///svn/phpbb/trunk@4438 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-08-27 00:32:00 +00:00
Paul S. Owen
b61ea7da25 user colour
git-svn-id: file:///svn/phpbb/trunk@4437 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-08-25 17:05:43 +00:00
Paul S. Owen
b92a5b9740 Group related updates
git-svn-id: file:///svn/phpbb/trunk@4436 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-08-25 16:57:19 +00:00
Paul S. Owen
634ac45db5 Various, acm_type, etc.
git-svn-id: file:///svn/phpbb/trunk@4435 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-08-25 16:53:40 +00:00
Paul S. Owen
795d702397 acm_type var name update
git-svn-id: file:///svn/phpbb/trunk@4434 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-08-25 16:53:26 +00:00
Paul S. Owen
7947c4e92c Show legend if group coloured and not hidden
git-svn-id: file:///svn/phpbb/trunk@4433 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-08-25 16:48:31 +00:00
Paul S. Owen
056af19ae6 sigh, my damn keyboard ... stupid CTRL key never works properly
git-svn-id: file:///svn/phpbb/trunk@4432 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-08-25 11:25:17 +00:00
Paul S. Owen
608f67b947 Remove topic_watch/unwatch from insert
git-svn-id: file:///svn/phpbb/trunk@4431 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-08-25 10:41:19 +00:00
Paul S. Owen
d96bb3a86e A few more changes ... nearly there ... deleting users is going to be a little troublesome
git-svn-id: file:///svn/phpbb/trunk@4430 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-08-25 01:38:49 +00:00
Paul S. Owen
fb5a64a319 The moving of update eliminates it's usefulness ... given the change was done to increase security it wins :)
git-svn-id: file:///svn/phpbb/trunk@4429 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-08-24 18:16:53 +00:00
Ludovic Arnaud
bd897d4259 Because of vars being unset by common.php we must always declare them after common.php has been called
git-svn-id: file:///svn/phpbb/trunk@4428 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-08-23 21:53:01 +00:00
Ludovic Arnaud
3ad05b08cc More paranoia
git-svn-id: file:///svn/phpbb/trunk@4427 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-08-23 21:51:31 +00:00
Paul S. Owen
3eb6414cc9 Colourise username ... to bring a nice cheery smile to SHS` face ... anything is an improvement :P
git-svn-id: file:///svn/phpbb/trunk@4426 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-08-23 18:31:28 +00:00
Paul S. Owen
7e97dbdabd That shouldn't be there ...
git-svn-id: file:///svn/phpbb/trunk@4425 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-08-23 18:20:25 +00:00
Paul S. Owen
60ced25ee5 hhmmm again
git-svn-id: file:///svn/phpbb/trunk@4424 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-08-23 01:21:50 +00:00
Paul S. Owen
6ca10363a6 hmmm
git-svn-id: file:///svn/phpbb/trunk@4422 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-08-23 01:03:52 +00:00
Paul S. Owen
39fa3b6b25 Mostly non-working still ... can add new users/team leaders
git-svn-id: file:///svn/phpbb/trunk@4421 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-08-23 01:01:20 +00:00
Paul S. Owen
97415b7c81 Minor update, use row1 instead of row3 as the legend td class
git-svn-id: file:///svn/phpbb/trunk@4420 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-08-22 23:40:27 +00:00
Paul S. Owen
115c8d4e70 Dump group moderator table, add field to user_group table
git-svn-id: file:///svn/phpbb/trunk@4419 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-08-22 22:51:12 +00:00
Paul S. Owen
28b604b69c Various updates "discovered" while working on website compression function useage
git-svn-id: file:///svn/phpbb/trunk@4418 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-08-22 00:35:59 +00:00
Paul S. Owen
bfedee8380 Wake up oh dozey one ...
git-svn-id: file:///svn/phpbb/trunk@4417 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-08-22 00:30:54 +00:00
Paul S. Owen
61a19df599 specialchars data in swatch, rejiggle index variable setting and comparisons, replace .php with $phpEx in styles for swatch
git-svn-id: file:///svn/phpbb/trunk@4416 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-08-22 00:28:45 +00:00
Ludovic Arnaud
b9e00bba7d Display page number infos only when necessary
git-svn-id: file:///svn/phpbb/trunk@4415 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-08-21 13:53:17 +00:00
Ludovic Arnaud
77fc6fabb5 I said "temp"
git-svn-id: file:///svn/phpbb/trunk@4414 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-08-21 13:51:29 +00:00
Ludovic Arnaud
389b50ed9e Minor changes
git-svn-id: file:///svn/phpbb/trunk@4413 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-08-17 20:15:28 +00:00
Ludovic Arnaud
bf25f0df9a Fixed: removes the ending slash if the script path is empty resulting in a double slash in the URL
git-svn-id: file:///svn/phpbb/trunk@4412 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-08-17 17:52:30 +00:00
Paul S. Owen
c2a42988c7 They look changed ... :D
git-svn-id: file:///svn/phpbb/trunk@4410 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-08-16 13:26:23 +00:00
Meik Sievertsen
8e0214256c path to editor.js.
git-svn-id: file:///svn/phpbb/trunk@4409 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-08-15 16:38:24 +00:00
Meik Sievertsen
95267c1f84 now display_notice is working as expected.
git-svn-id: file:///svn/phpbb/trunk@4408 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-08-15 16:33:21 +00:00
Meik Sievertsen
3623207f88 hmm, we never had such an object. :)
git-svn-id: file:///svn/phpbb/trunk@4407 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-08-15 16:32:48 +00:00
Paul S. Owen
9041b88501 Minor oopsie, forgot border="0" in image url ... probably make this defineable
git-svn-id: file:///svn/phpbb/trunk@4406 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-08-14 23:50:35 +00:00
Paul S. Owen
dbd512138e imageset editing code a little messy, need to add update/replace capability to all three elements but that's for M-4 ... I think we may be done for M-2
git-svn-id: file:///svn/phpbb/trunk@4405 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-08-14 23:32:50 +00:00
Paul S. Owen
09902892c0 No image graphic
git-svn-id: file:///svn/phpbb/trunk@4404 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-08-14 11:43:07 +00:00
Paul S. Owen
32e2c788c2 Raft of fixes ... hopefully things are working as they should ... if not, I'll be requring a new PC since I don't think this one will work too well after being dropped out a third floor window
git-svn-id: file:///svn/phpbb/trunk@4403 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-08-13 17:54:29 +00:00
Paul S. Owen
bb14bcbe6b Raft of fixes ... hopefully things are working as they should ... if not, I'll be requring a new PC since I don't think this one will work too well after being dropped out a third floor window
git-svn-id: file:///svn/phpbb/trunk@4402 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-08-13 17:38:54 +00:00
Meik Sievertsen
66836ea525 re-display download notice
git-svn-id: file:///svn/phpbb/trunk@4401 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-08-13 16:58:48 +00:00
Meik Sievertsen
c0551af851 bye bye forbidden extensions... we have a deny,allow rule for extensions, forbidden extensions are therefore a little bit redundant.
git-svn-id: file:///svn/phpbb/trunk@4400 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-08-13 16:56:01 +00:00
Paul S. Owen
e46f4cb505 Seems some compression applications don't bother with little things like standards ...
git-svn-id: file:///svn/phpbb/trunk@4399 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-08-13 16:43:58 +00:00
Paul S. Owen
321eb7eedc Fix up issues with .tar, .tar.gz and .tar.bz2 archives and directory structure creation
git-svn-id: file:///svn/phpbb/trunk@4398 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-08-13 16:11:04 +00:00
Paul S. Owen
808d0f1455 Some tidying up of theme editing, highlight used classes, enable custom class addition, allow tabs, newlines, etc. within class strings ... though standard format is very much prefered
git-svn-id: file:///svn/phpbb/trunk@4397 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-08-13 14:35:50 +00:00
Paul S. Owen
1e91f9b554 query_id return changed back ... I think somethins is afoot with my local repository ...
git-svn-id: file:///svn/phpbb/trunk@4396 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-08-12 23:40:14 +00:00
Paul S. Owen
1d8f0dba07 Do away with showing "categories" in the subforum listing ... just output a subforum icon/link ... people appear to want this in preference
git-svn-id: file:///svn/phpbb/trunk@4395 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-08-12 22:33:26 +00:00
Paul S. Owen
620f70fe1e Destroy! Destroy! Danger! Will Robinson Danger! ... Doctor Smith will destroy the cached SQL when something changes ...
git-svn-id: file:///svn/phpbb/trunk@4394 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-08-12 22:24:19 +00:00
Paul S. Owen
f8accfd986 oopsie on closedir
git-svn-id: file:///svn/phpbb/trunk@4393 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-08-12 22:20:44 +00:00
Paul S. Owen
3a90899e3d Fix topic count query
git-svn-id: file:///svn/phpbb/trunk@4392 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-08-12 20:53:13 +00:00
Paul S. Owen
eeab805012 Updates for installation of styles
git-svn-id: file:///svn/phpbb/trunk@4391 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-08-12 20:46:43 +00:00
Paul S. Owen
e6978f1e1c Setting returned query_id to correct value
git-svn-id: file:///svn/phpbb/trunk@4390 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-08-12 16:03:29 +00:00
Ludovic Arnaud
567ff01df1 Added: ability to destroy specific SQL caches
git-svn-id: file:///svn/phpbb/trunk@4389 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-08-12 15:46:03 +00:00
Paul S. Owen
f584f14af9 More condensing ... next, imageset editing and cleanup of theme/template editing ... then we'll call it a day till M-3 I think
git-svn-id: file:///svn/phpbb/trunk@4388 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-08-12 15:19:24 +00:00
Paul S. Owen
98d4554f02 Fixing more broken things ...
git-svn-id: file:///svn/phpbb/trunk@4387 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-08-12 14:11:25 +00:00
Paul S. Owen
36424de91e Tabs that should be spaces
git-svn-id: file:///svn/phpbb/trunk@4386 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-08-12 12:25:48 +00:00
Paul S. Owen
0e2e2abe5a Style related updates
git-svn-id: file:///svn/phpbb/trunk@4385 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-08-12 12:24:13 +00:00
Paul S. Owen
7f8e853356 Some tidy ups and fixes
git-svn-id: file:///svn/phpbb/trunk@4384 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-08-12 11:56:04 +00:00
Paul S. Owen
232576450d Put form stuff in subSilver css ...
git-svn-id: file:///svn/phpbb/trunk@4383 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-08-12 01:49:40 +00:00
Paul S. Owen
ec4e122032 Temp workaround for lack of style create/import/upload prob, fix improper setting of element ids when editing style
git-svn-id: file:///svn/phpbb/trunk@4382 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-08-12 01:47:32 +00:00
Paul S. Owen
a4ac56c798 Don't write out when closing unless a file actually exists ...
git-svn-id: file:///svn/phpbb/trunk@4381 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-08-12 01:37:49 +00:00
Paul S. Owen
9183068332 Much rejiggling
git-svn-id: file:///svn/phpbb/trunk@4380 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-08-12 01:21:32 +00:00
Ludovic Arnaud
57c17e44ec Taken out the $db var from acm classes for consistency with other classes
git-svn-id: file:///svn/phpbb/trunk@4379 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-08-11 21:45:50 +00:00
Paul S. Owen
27d86a2e32 Correct pathname for template
git-svn-id: file:///svn/phpbb/trunk@4378 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-08-11 10:41:03 +00:00
Paul S. Owen
ff0a7e2630 Not break you moron
git-svn-id: file:///svn/phpbb/trunk@4377 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-08-11 01:29:16 +00:00
Paul S. Owen
c8669abf9d Wouldn't copy theme/template files from unarchived location to destination ... this should fix that.
git-svn-id: file:///svn/phpbb/trunk@4376 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-08-11 01:16:29 +00:00
Paul S. Owen
0b4d299df9 Remove trailing slash from T_XXXX_PATH vars
git-svn-id: file:///svn/phpbb/trunk@4375 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-08-11 01:12:23 +00:00
Paul S. Owen
2a9d846859 Update for acm parameter change
git-svn-id: file:///svn/phpbb/trunk@4374 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-08-11 01:12:01 +00:00
Paul S. Owen
a5cbb0b693 Mainly user pruning var casing
git-svn-id: file:///svn/phpbb/trunk@4373 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-08-11 00:59:53 +00:00
Paul S. Owen
71dbb2c97e unified remove ... probably breaking other stuff in the process
git-svn-id: file:///svn/phpbb/trunk@4372 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-08-11 00:52:09 +00:00
Ludovic Arnaud
26e8568c9b Greater than, lesser than... what's the big deal?? :P
git-svn-id: file:///svn/phpbb/trunk@4371 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-08-10 21:19:21 +00:00
Ludovic Arnaud
253b6ff14e Less bug, more comments
git-svn-id: file:///svn/phpbb/trunk@4370 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-08-10 21:17:11 +00:00
Ludovic Arnaud
8d4bb4a17a Fixed: the style box not showing when editing a category. Pardon, a non-postable forum ;)
git-svn-id: file:///svn/phpbb/trunk@4369 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-08-10 19:53:03 +00:00
Ludovic Arnaud
2ada6c5380 Added support for db-based caching... for people who like to store data in databases.
git-svn-id: file:///svn/phpbb/trunk@4368 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-08-10 19:46:03 +00:00
Ludovic Arnaud
772cc44895 Cleaned up var names. $query_result is now passed by reference to be altered directly from the cache manager
git-svn-id: file:///svn/phpbb/trunk@4367 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-08-10 19:14:44 +00:00
Ludovic Arnaud
ecbbf83665 Renamed $expire_time to $max_age.
Added method_exists() checks for cache managers that would not support the caching of SQL data.


git-svn-id: file:///svn/phpbb/trunk@4366 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-08-10 18:51:07 +00:00
Ludovic Arnaud
0c3708ecc6 Moved sql_close() down, after the cache is unloaded.
git-svn-id: file:///svn/phpbb/trunk@4365 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-08-10 18:42:20 +00:00
Ludovic Arnaud
145399b4bc Added the binary attribute for Windows platforms. Removed the read attribute because it wasn't needed.
git-svn-id: file:///svn/phpbb/trunk@4364 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-08-10 18:33:25 +00:00
Ludovic Arnaud
b11ed262ac Primary / secondary style bbcode implementation. Not thoroughly tested yet but my test board still functions so I guess it works ;)
git-svn-id: file:///svn/phpbb/trunk@4363 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-08-10 18:30:27 +00:00
Paul S. Owen
214ea917e5 More jiggery and not a little pokery
git-svn-id: file:///svn/phpbb/trunk@4362 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-08-10 17:41:10 +00:00
Paul S. Owen
13a4d16b52 Rejiggling the code begins ...
git-svn-id: file:///svn/phpbb/trunk@4361 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-08-10 15:54:57 +00:00
Paul S. Owen
91724f4512 setting style as default, remove explicit testing for .tar archive creation
git-svn-id: file:///svn/phpbb/trunk@4360 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-08-10 11:51:50 +00:00
Paul S. Owen
35c8d412a7 Silly silly Paul, smacked handy and no tea
git-svn-id: file:///svn/phpbb/trunk@4359 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-08-10 10:53:50 +00:00
Paul S. Owen
baa01d15f2 Most style operations functional ... broke various theme, imageset and template operations in the process
git-svn-id: file:///svn/phpbb/trunk@4358 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-08-09 22:04:28 +00:00
Paul S. Owen
e9c616f732 Brain wanted in Room 101, Brain wanted
git-svn-id: file:///svn/phpbb/trunk@4357 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-08-09 16:05:58 +00:00
Paul S. Owen
2efff50736 It's amazing what a strategically placed = can do for normal operation ...
git-svn-id: file:///svn/phpbb/trunk@4356 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-08-09 15:30:08 +00:00
Paul S. Owen
5e79ac7d8f Further tidy ups for zip compatibility ... still seem to be problems deleting entries via Powerarchiver ... works fine under Linux
git-svn-id: file:///svn/phpbb/trunk@4355 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-08-09 12:36:14 +00:00
Paul S. Owen
f41a46c92f Ensure consistent output from filelist
git-svn-id: file:///svn/phpbb/trunk@4354 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-08-09 11:18:05 +00:00
Paul S. Owen
d85c1e052d Improve compatibility of zip extract method
git-svn-id: file:///svn/phpbb/trunk@4353 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-08-09 00:30:24 +00:00
Paul S. Owen
95767f8440 Style installation "working", allows for two or three element styles
git-svn-id: file:///svn/phpbb/trunk@4352 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-08-08 13:28:21 +00:00
Paul S. Owen
e3c310db51 Style related updates
git-svn-id: file:///svn/phpbb/trunk@4351 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-08-07 16:52:36 +00:00
Paul S. Owen
22b043e8cb Style related updates
git-svn-id: file:///svn/phpbb/trunk@4350 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-08-07 14:39:38 +00:00
Paul S. Owen
068987935e Change hardcoded lang strings for vars
git-svn-id: file:///svn/phpbb/trunk@4349 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-08-07 14:39:29 +00:00
Paul S. Owen
28c000fe7c oops forgot about modified time update
git-svn-id: file:///svn/phpbb/trunk@4348 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-08-07 01:42:11 +00:00
Paul S. Owen
52ec6f8706 Storage of edited templates ... guess some users may find this handy ... hhmm
git-svn-id: file:///svn/phpbb/trunk@4347 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-08-07 01:30:44 +00:00
Paul S. Owen
80688a477b oops, that's not quite right
git-svn-id: file:///svn/phpbb/trunk@4346 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-08-06 18:33:03 +00:00
Paul S. Owen
4a75a2512b Guess this may come in handy
git-svn-id: file:///svn/phpbb/trunk@4345 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-08-06 18:29:22 +00:00
Paul S. Owen
5ab81af82e Couple more updates
git-svn-id: file:///svn/phpbb/trunk@4344 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-08-06 18:29:11 +00:00
Paul S. Owen
b723058fb0 A fair amount of additional working or semi-working stuff ... template stored db source (when appropriate), switch theme/templates between DB/filesystem (if available), import, upload templates, imagesets, themes (if available ... i.e. no safe mode), etc. still a fair amount of stuff to do but getting there ... take care using this, backup any themes/templates/imagesets before fiddling and let me know of issues
git-svn-id: file:///svn/phpbb/trunk@4343 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-08-06 15:45:13 +00:00
Paul S. Owen
76ace1d154 css_data -> theme_data
git-svn-id: file:///svn/phpbb/trunk@4342 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-08-05 17:09:03 +00:00
Paul S. Owen
f77668cec0 Style related changes, new table for template data storage in situations where the HDD stored versions cannot be written to, safe mode upload, etc.
git-svn-id: file:///svn/phpbb/trunk@4341 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-08-05 17:07:52 +00:00
Paul S. Owen
246614568c Basic implementation of upload theme archive ... remember this only works with appropriate permissions set on style/ and safe mode off
git-svn-id: file:///svn/phpbb/trunk@4338 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-07-30 19:33:52 +00:00
Paul S. Owen
9c435ef53d Limit display of "secondary" submit/preview/cancel/save row
git-svn-id: file:///svn/phpbb/trunk@4337 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-07-30 15:41:24 +00:00
Paul S. Owen
94c4c558e0 Update image sizes ... missing jabber button known
git-svn-id: file:///svn/phpbb/trunk@4336 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-07-30 12:11:50 +00:00
Paul S. Owen
c89f345587 Okay, this time I'll try not to screw up ... again
git-svn-id: file:///svn/phpbb/trunk@4335 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-07-30 12:04:19 +00:00
Paul S. Owen
4f7a1c7169 Bye bye ... hopefully
git-svn-id: file:///svn/phpbb/trunk@4334 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-07-30 11:02:38 +00:00
Paul S. Owen
b72a8fd2c7 Is it a bird? Is it a plane? No, it's moron man ...
git-svn-id: file:///svn/phpbb/trunk@4333 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-07-30 10:57:07 +00:00
Paul S. Owen
c855c7ca70 path change for js src
git-svn-id: file:///svn/phpbb/trunk@4332 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-07-27 18:02:06 +00:00
Paul S. Owen
5979e37cd8 Bits I just want to dump in CVS for now
git-svn-id: file:///svn/phpbb/trunk@4330 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-07-25 23:50:49 +00:00
Paul S. Owen
58a3d036ce path change for bbcode
git-svn-id: file:///svn/phpbb/trunk@4329 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-07-24 16:10:26 +00:00
Paul S. Owen
e0f2c00ce6 border and padding updates for body
git-svn-id: file:///svn/phpbb/trunk@4328 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-07-24 14:06:39 +00:00
Paul S. Owen
fca99a7a62 Styling stuff
git-svn-id: file:///svn/phpbb/trunk@4327 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-07-24 14:02:02 +00:00
Paul S. Owen
8c02ad5f86 filelist changes ... do away with static type
git-svn-id: file:///svn/phpbb/trunk@4326 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-07-24 13:59:35 +00:00
Paul S. Owen
275f62a5bd Changes for styling directory layout alterations
git-svn-id: file:///svn/phpbb/trunk@4325 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-07-24 13:58:59 +00:00
Paul S. Owen
be3b51ae84 Install style, various other additions
git-svn-id: file:///svn/phpbb/trunk@4324 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-07-24 13:58:37 +00:00
Paul S. Owen
c93474e118 Moving again ... I think this time will be the last ... famous last words
git-svn-id: file:///svn/phpbb/trunk@4323 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-07-24 13:22:39 +00:00
Paul S. Owen
af1cc18e02 It's going to be one of those days ...
git-svn-id: file:///svn/phpbb/trunk@4322 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-07-24 10:54:04 +00:00
Paul S. Owen
e412b8da40 Generate stylesheet from DB on the fly
git-svn-id: file:///svn/phpbb/trunk@4321 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-07-24 10:52:09 +00:00
Meik Sievertsen
8c3e4a68c4 and the URL bbcode button...
git-svn-id: file:///svn/phpbb/trunk@4320 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-07-23 16:15:36 +00:00
Meik Sievertsen
eff6d76d4b re-enable editor.js. :)
git-svn-id: file:///svn/phpbb/trunk@4319 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-07-23 16:12:27 +00:00
Paul S. Owen
8ee1433d16 escape browser and page info
git-svn-id: file:///svn/phpbb/trunk@4318 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-07-23 15:39:38 +00:00
Paul S. Owen
0f265c3712 Styling stuff
git-svn-id: file:///svn/phpbb/trunk@4317 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-07-23 11:46:11 +00:00
Paul S. Owen
99f37308c8 remove becomes function, enable install of imagesets, alter packaging paths
git-svn-id: file:///svn/phpbb/trunk@4316 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-07-23 11:42:32 +00:00
Paul S. Owen
3c208e1d0b Save some mem when decompressing .zip
git-svn-id: file:///svn/phpbb/trunk@4315 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-07-22 20:06:17 +00:00
Paul S. Owen
2a016e4f47 Styling stuff
git-svn-id: file:///svn/phpbb/trunk@4314 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-07-22 20:03:52 +00:00
Paul S. Owen
0835d7ef19 Functionalised export for templates, themes and imagesets ... styles to be done ...
git-svn-id: file:///svn/phpbb/trunk@4313 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-07-22 20:03:18 +00:00
Paul S. Owen
bf2e74be99 Stripslashing escaped string twice ... should only be stipped when necessary and as early as possible
git-svn-id: file:///svn/phpbb/trunk@4312 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-07-22 14:08:40 +00:00
Paul S. Owen
83b28ce6fb Less aggressive stripslash for messages
git-svn-id: file:///svn/phpbb/trunk@4311 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-07-22 14:01:41 +00:00
Paul S. Owen
2882b8aafb viewlog update for combined log table
git-svn-id: file:///svn/phpbb/trunk@4310 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-07-22 12:18:33 +00:00
Paul S. Owen
971968b08c Extract .zip ... damn gzuncompress
git-svn-id: file:///svn/phpbb/trunk@4309 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-07-21 22:54:46 +00:00
Paul S. Owen
71cc8e79b3 Extraction of .tar, .tar.gz and .tar.bz2
git-svn-id: file:///svn/phpbb/trunk@4308 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-07-21 17:32:42 +00:00
Paul S. Owen
760bf9dbb2 argh
git-svn-id: file:///svn/phpbb/trunk@4307 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-07-21 16:10:22 +00:00
Paul S. Owen
cc637e72f0 concanetate rather than substr_replace
git-svn-id: file:///svn/phpbb/trunk@4306 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-07-21 16:10:07 +00:00
Paul S. Owen
852f552b4a add .tar, .tar.gz and .tar.bz2 support, rejiggle source, seperate compress objects extending the base class
git-svn-id: file:///svn/phpbb/trunk@4305 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-07-21 15:44:39 +00:00
Paul S. Owen
64eb7e8a66 More updates ... I do hope the commonality I believe exists between different styling sections works out ... else this will be a very large script ... :D
git-svn-id: file:///svn/phpbb/trunk@4304 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-07-21 00:45:12 +00:00
Paul S. Owen
b3d94f5c9a Send DB stored css data to template if necessary ... yes, I realise this won't be cached like a normal stylesheet but there are potential ways around that
git-svn-id: file:///svn/phpbb/trunk@4303 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-07-21 00:44:22 +00:00
Paul S. Owen
2ca95fed52 MySQL install version text
git-svn-id: file:///svn/phpbb/trunk@4302 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-07-20 21:23:13 +00:00
Paul S. Owen
f43714b595 slightly fudged install routine for themes ... will possibly do as seperate switch case
git-svn-id: file:///svn/phpbb/trunk@4301 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-07-20 20:18:44 +00:00
Paul S. Owen
d397264316 hm
git-svn-id: file:///svn/phpbb/trunk@4300 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-07-20 20:17:29 +00:00
Paul S. Owen
0c62b08090 Styling stuff
git-svn-id: file:///svn/phpbb/trunk@4299 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-07-20 17:46:12 +00:00
Paul S. Owen
252d56ec36 Cannot delete if only theme left, select new theme for use by styles that use this
git-svn-id: file:///svn/phpbb/trunk@4298 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-07-20 17:46:06 +00:00
Paul S. Owen
6c8531befe Styling stuff
git-svn-id: file:///svn/phpbb/trunk@4297 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-07-20 17:26:20 +00:00
Paul S. Owen
0db32b3f93 Delete theme ... be careful! Doesn't currently do any checks to ensure it's not the only theme, or to alter any styles using this theme ...
git-svn-id: file:///svn/phpbb/trunk@4296 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-07-20 17:26:13 +00:00
Paul S. Owen
a1dbf52fda Styling stuff
git-svn-id: file:///svn/phpbb/trunk@4295 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-07-20 16:23:57 +00:00
Paul S. Owen
3006a3db31 store or download
git-svn-id: file:///svn/phpbb/trunk@4294 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-07-20 16:23:45 +00:00
Paul S. Owen
5561e86529 This will dump out a DB stored stylesheet, also adds cfg file
git-svn-id: file:///svn/phpbb/trunk@4292 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-07-20 14:37:41 +00:00
Paul S. Owen
e0c4360705 Ignore given list of files
git-svn-id: file:///svn/phpbb/trunk@4291 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-07-20 14:37:14 +00:00
Paul S. Owen
57e12560be Styling stuff
git-svn-id: file:///svn/phpbb/trunk@4290 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-07-20 14:19:10 +00:00
Paul S. Owen
ab410e2c19 Updates for changes to filelist()
git-svn-id: file:///svn/phpbb/trunk@4289 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-07-20 14:18:53 +00:00
Paul S. Owen
60ce0c9bb3 More updates, can "export" a theme ... only as zip at present and with limitations ... make sure your store directory can be written to by server
git-svn-id: file:///svn/phpbb/trunk@4288 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-07-20 14:18:38 +00:00
Paul S. Owen
22cfe6dddb Compression/decompression "libs" and a change to filelist
git-svn-id: file:///svn/phpbb/trunk@4287 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-07-20 14:18:03 +00:00
Paul S. Owen
9e455b613a store directory check
git-svn-id: file:///svn/phpbb/trunk@4286 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-07-20 13:59:07 +00:00
Paul S. Owen
e5ea1f1755 This is where we can dump non-cache related files, e.g. database backups, styling output, etc. ... potentially we could also use it for upload/tmp work
git-svn-id: file:///svn/phpbb/trunk@4285 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-07-20 13:58:11 +00:00
Paul S. Owen
6bcf4a3110 oops
git-svn-id: file:///svn/phpbb/trunk@4283 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-07-18 18:31:33 +00:00
Paul S. Owen
0244aaa5d0 New theme function, edit theme details ... I'm really beginning to dislike styles, and safe mode is just well, worse than I remember on 2.0.x :D
git-svn-id: file:///svn/phpbb/trunk@4282 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-07-18 18:20:58 +00:00
Paul S. Owen
ac875d22a9 Changes to styles table ... themes in this case, storedb, boolean flag for whether style was stored in the DB or on the FS
git-svn-id: file:///svn/phpbb/trunk@4281 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-07-18 18:20:08 +00:00
Paul S. Owen
c86539f501 Don't be so nosey
git-svn-id: file:///svn/phpbb/trunk@4279 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-07-18 16:33:24 +00:00
Paul S. Owen
c7ad40b007 oop, guess I didn't commit this ...
git-svn-id: file:///svn/phpbb/trunk@4278 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-07-18 00:29:18 +00:00
Paul S. Owen
31c2b84dac must stop playing
git-svn-id: file:///svn/phpbb/trunk@4277 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-07-17 22:52:51 +00:00
Paul S. Owen
368fb159d7 Template cache clearing
git-svn-id: file:///svn/phpbb/trunk@4276 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-07-17 21:04:17 +00:00
Paul S. Owen
3b19bd3518 Style stuff
git-svn-id: file:///svn/phpbb/trunk@4275 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-07-17 21:04:02 +00:00
Paul S. Owen
5f7c851cab a few manage/pref type tests
git-svn-id: file:///svn/phpbb/trunk@4274 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-07-17 16:39:50 +00:00
Paul S. Owen
bf70fee152 Remove subfolder storage of templates ... a safe-mode thang, you can delete any existing cache/templates folder
git-svn-id: file:///svn/phpbb/trunk@4273 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-07-17 15:16:25 +00:00
Paul S. Owen
947c81b3db The moron has left the building
git-svn-id: file:///svn/phpbb/trunk@4272 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-07-16 12:13:30 +00:00
Paul S. Owen
2a777b536e mainoption/liteoption -> btnmain/btnlite
git-svn-id: file:///svn/phpbb/trunk@4271 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-07-16 12:08:59 +00:00
Paul S. Owen
a4ff0eba2d index on session_user_id
git-svn-id: file:///svn/phpbb/trunk@4270 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-07-16 12:07:01 +00:00
Paul S. Owen
4d003f7edf Online tracking img load switch
git-svn-id: file:///svn/phpbb/trunk@4269 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-07-16 11:46:04 +00:00
Paul S. Owen
1ccfd3f862 last play for tonight
git-svn-id: file:///svn/phpbb/trunk@4268 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-07-15 22:34:59 +00:00
Meik Sievertsen
a758d2cf61 small stat_username fix... sometimes the last poster name was not displayed correctly, this commit will fix this hopefully. hmm... have to think about a cleaner method of handling anonymous users...
git-svn-id: file:///svn/phpbb/trunk@4267 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-07-15 16:47:36 +00:00
Paul S. Owen
7b5a2485d3 Some basic imageset editing stuff ... doesn't actually "do" anything yet ... just testing out layouts, etc.
git-svn-id: file:///svn/phpbb/trunk@4266 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-07-15 14:58:46 +00:00
Paul S. Owen
19bb2b9487 Couple more little updates
git-svn-id: file:///svn/phpbb/trunk@4265 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-07-15 14:58:16 +00:00
Paul S. Owen
78f4c39237 pass by reference change
git-svn-id: file:///svn/phpbb/trunk@4264 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-07-14 22:57:29 +00:00
Paul S. Owen
e3a6399c22 tiny weeny ickle bittle changes
git-svn-id: file:///svn/phpbb/trunk@4263 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-07-14 22:55:32 +00:00
Paul S. Owen
f06ad43da6 Re-arrange auth and setup calls ... needs to be repeated for all major scripts
git-svn-id: file:///svn/phpbb/trunk@4262 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-07-14 22:54:39 +00:00
Paul S. Owen
405cac7b99 Re-arrange auth and setup calls ... needs to be repeated for all major scripts
git-svn-id: file:///svn/phpbb/trunk@4261 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-07-14 22:06:47 +00:00
Paul S. Owen
dd8e9527cc input submit/reset style class name change
git-svn-id: file:///svn/phpbb/trunk@4260 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-07-14 21:59:41 +00:00
Paul S. Owen
fd0e18c262 Re-arrange auth and setup calls ... needs to be repeated for all major scripts
git-svn-id: file:///svn/phpbb/trunk@4259 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-07-14 21:58:21 +00:00
Paul S. Owen
be9def57a9 Updated graphic
git-svn-id: file:///svn/phpbb/trunk@4258 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-07-14 21:00:39 +00:00
Paul S. Owen
05a55a9f42 Missing no_avatar graphic
git-svn-id: file:///svn/phpbb/trunk@4257 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-07-14 20:55:18 +00:00
Paul S. Owen
8cd660bf4c Fix style data
git-svn-id: file:///svn/phpbb/trunk@4256 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-07-14 20:51:46 +00:00
Paul S. Owen
2536066e65 Add/edit styles
git-svn-id: file:///svn/phpbb/trunk@4255 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-07-14 19:28:36 +00:00
Paul S. Owen
2e8dec8c1f Couple more little updates
git-svn-id: file:///svn/phpbb/trunk@4254 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-07-14 11:35:13 +00:00
Paul S. Owen
7668388b4e More styling stuff ... activate, deactivate styles ... deactivated styles can still be used in forum/board styling selectors
git-svn-id: file:///svn/phpbb/trunk@4253 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-07-13 23:29:22 +00:00
Paul S. Owen
2c400376a1 More styling stuff ... activate, deactivate styles
git-svn-id: file:///svn/phpbb/trunk@4252 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-07-13 23:28:42 +00:00
Paul S. Owen
46c24679bf Update data for styling schema changes, preview via style admin, styles in use by users count, default style feedback
git-svn-id: file:///svn/phpbb/trunk@4251 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-07-13 22:02:22 +00:00
Paul S. Owen
7d0d2ad869 Allow preview of style for user with appropriate rights ... a "cheat" really
git-svn-id: file:///svn/phpbb/trunk@4250 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-07-13 21:40:03 +00:00
Paul S. Owen
e1441b9fbe Update data for styling schema changes
git-svn-id: file:///svn/phpbb/trunk@4249 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-07-13 21:39:36 +00:00
Paul S. Owen
7222465d75 Update data for styling schema changes
git-svn-id: file:///svn/phpbb/trunk@4248 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-07-13 21:16:18 +00:00
Paul S. Owen
f4db75ec38 Some updates to schema, primarily style related ... removed template definable pm_box and poll length ... were they ever used? :D
git-svn-id: file:///svn/phpbb/trunk@4247 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-07-13 21:02:04 +00:00
Paul S. Owen
d1868a0e69 We'll get there in a sec ...
git-svn-id: file:///svn/phpbb/trunk@4246 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-07-13 17:50:30 +00:00
Paul S. Owen
9a7afb2de1 Silly \r\n
git-svn-id: file:///svn/phpbb/trunk@4245 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-07-13 17:49:44 +00:00
Paul S. Owen
bd18643844 Updated
git-svn-id: file:///svn/phpbb/trunk@4244 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-07-13 17:47:31 +00:00
Paul S. Owen
aea401ac98 Guess what
git-svn-id: file:///svn/phpbb/trunk@4243 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-07-13 17:47:17 +00:00
Paul S. Owen
927b4539bb index bye bye
git-svn-id: file:///svn/phpbb/trunk@4242 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-07-13 17:05:26 +00:00
Paul S. Owen
449d9c6db9 Template bye bye
git-svn-id: file:///svn/phpbb/trunk@4241 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-07-13 17:04:08 +00:00
Paul S. Owen
12919fd967 Image bye bye
git-svn-id: file:///svn/phpbb/trunk@4240 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-07-13 17:02:05 +00:00
Paul S. Owen
99ae3b4155 Updated style related data
git-svn-id: file:///svn/phpbb/trunk@4239 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-07-13 15:29:16 +00:00
Paul S. Owen
990f8e35e1 oops, those mcp templates are probably rather "wrong" ... Ashe, will talk to you about a few changes I think are needed in the code
git-svn-id: file:///svn/phpbb/trunk@4238 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-07-13 15:17:35 +00:00
Paul S. Owen
d6fbcb2e22 Header links for sorting
git-svn-id: file:///svn/phpbb/trunk@4237 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-07-13 15:15:39 +00:00
Paul S. Owen
8633c91692 Cope with secondary (per forum) styles, probably other minor things too ... there is a known permissions problem, will work on that soon. Ashe, the bbcode primary/secondary stuff may need some tightening, particularly since it only checks the bbcode_bitfield for the primary template (which may not exist as coped with later) ... I'll leave that to you to alter.
git-svn-id: file:///svn/phpbb/trunk@4236 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-07-13 15:15:05 +00:00
Paul S. Owen
91a6952683 Cope with secondary (per forum) styles, probably other minor things too ... there is a known permissions problem, will work on that soon
git-svn-id: file:///svn/phpbb/trunk@4235 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-07-13 15:13:59 +00:00
Paul S. Owen
4051c18ac3 These are area51 ...
git-svn-id: file:///svn/phpbb/trunk@4234 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-07-13 15:12:47 +00:00
Paul S. Owen
e42fc56501 Not the same as area51 ... I hope ...
git-svn-id: file:///svn/phpbb/trunk@4233 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-07-13 15:09:43 +00:00
Paul S. Owen
6c15f5d0f0 Cell heights
git-svn-id: file:///svn/phpbb/trunk@4232 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-07-13 15:03:22 +00:00
Paul S. Owen
786b52d51a Standard set ... this is not the same as area51
git-svn-id: file:///svn/phpbb/trunk@4231 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-07-13 15:02:39 +00:00
Paul S. Owen
c9ba30abcd More faffing
git-svn-id: file:///svn/phpbb/trunk@4230 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-07-13 14:44:43 +00:00
Meik Sievertsen
58d0665480 add support for login forum box.
git-svn-id: file:///svn/phpbb/trunk@4229 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-07-13 14:12:22 +00:00
Paul S. Owen
e97002f0f5 Episode "IV" : A new Home ... aka a new way to extract money from fans ... oops, sorry, irrelevant argument
git-svn-id: file:///svn/phpbb/trunk@4228 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-07-13 13:20:27 +00:00
Paul S. Owen
3d01e99127 more playing, followed by breaking
git-svn-id: file:///svn/phpbb/trunk@4227 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-07-13 00:45:39 +00:00
Paul S. Owen
daabc84e08 And an ittle bit more, just a weeny bit ...
git-svn-id: file:///svn/phpbb/trunk@4226 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-07-12 20:55:38 +00:00
Ludovic Arnaud
7ca4282622 Fixed the error message for too many quotes
git-svn-id: file:///svn/phpbb/trunk@4225 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-07-12 16:04:24 +00:00
Paul S. Owen
448f31331b Fix failure to INCLUDE a file following its sole recompilation ... I should add that neither of these commits have added support for primary/secondary styles (e.g. styling of forums) ... won't commit these till all relevant styling changes have been implemented.
git-svn-id: file:///svn/phpbb/trunk@4224 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-07-11 23:36:38 +00:00
Paul S. Owen
1b129a9034 forced_recompile "seems" to work now if set true ...
git-svn-id: file:///svn/phpbb/trunk@4223 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-07-11 23:28:56 +00:00
Paul S. Owen
3d02dc5fc2 These images should _not_ have been in CVS ... they are not part of phpBB2 CVS ... please remove any existing copies
git-svn-id: file:///svn/phpbb/trunk@4222 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-07-11 19:21:47 +00:00
Paul S. Owen
50211c2a98 Minor change to seperator colour
git-svn-id: file:///svn/phpbb/trunk@4220 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-07-11 15:46:35 +00:00
Paul S. Owen
30afda900c okay, after some conflicting advice :D and some jiggling here's the latest theme related update ... this stuff is enough to drive you batty
git-svn-id: file:///svn/phpbb/trunk@4219 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-07-11 15:46:22 +00:00
Meik Sievertsen
a4d72b8f1f include functions_admin to use the add_log function
git-svn-id: file:///svn/phpbb/trunk@4218 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-07-11 11:49:32 +00:00
Meik Sievertsen
e0b7709ae1 fix small issue with empty username and password
git-svn-id: file:///svn/phpbb/trunk@4217 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-07-11 11:48:52 +00:00
Paul S. Owen
344fc7deb5 bah
git-svn-id: file:///svn/phpbb/trunk@4216 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-07-08 17:59:27 +00:00
Paul S. Owen
a43f039742 $this->error removed
git-svn-id: file:///svn/phpbb/trunk@4215 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-07-08 00:28:24 +00:00
Paul S. Owen
c2516fa499 avatar stuff
git-svn-id: file:///svn/phpbb/trunk@4214 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-07-08 00:27:49 +00:00
Paul S. Owen
ff58fc5e7c Move certain methods out of ucp class, move ucp class into ucp, break half a dozen other features, introduce x hundred new, exciting bugs
git-svn-id: file:///svn/phpbb/trunk@4213 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-07-07 23:43:57 +00:00
Paul S. Owen
4cc4867c97 Another sqlite UNION ALL insert update ... yes, I know sqlite install seems to be rather borked at present ... I thought, "hhmm, that worked too well too quickly" so I broke it to ensure consistency is maintained with the rest of the codebase
git-svn-id: file:///svn/phpbb/trunk@4212 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-07-07 23:43:27 +00:00
Paul S. Owen
696e833555 "Fix" ongoing issue with caching and slashes
git-svn-id: file:///svn/phpbb/trunk@4211 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-07-07 23:40:01 +00:00
Meik Sievertsen
1b320bbb00 merged log tables, added new log_type (critical).
changed email class a little bit.
bug fixed the queue a little bit.


git-svn-id: file:///svn/phpbb/trunk@4210 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-07-06 18:48:33 +00:00
Meik Sievertsen
f31b471ee1 some topic/forum notification work, mainly bug fixing.
git-svn-id: file:///svn/phpbb/trunk@4209 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-07-06 18:46:52 +00:00
Paul S. Owen
5b5e11c1f5 Various changes ... note that at present things may look a little strange for those without access to the relevant imageset :D
git-svn-id: file:///svn/phpbb/trunk@4208 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-07-06 18:19:56 +00:00
Paul S. Owen
8bb0108ad9 Missing forum_link icon ...
git-svn-id: file:///svn/phpbb/trunk@4207 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-07-06 14:29:14 +00:00
Paul S. Owen
45c8440d02 Lang var case changes
git-svn-id: file:///svn/phpbb/trunk@4206 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-07-04 17:22:18 +00:00
Paul S. Owen
7eb946abb4 Wrong icon for global announcements
git-svn-id: file:///svn/phpbb/trunk@4205 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-07-04 17:21:02 +00:00
Paul S. Owen
27a9ed27c7 Various updates
git-svn-id: file:///svn/phpbb/trunk@4204 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-07-04 17:20:03 +00:00
Paul S. Owen
055fe9e82d sqlite support UNION ALL SELECT method
git-svn-id: file:///svn/phpbb/trunk@4203 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-07-04 17:19:00 +00:00
Paul S. Owen
c220126bbd Altered method of storage of cached permissions ... primarily for easier sqlite/firebird support. Clear your user_permission fields before re-visiting your forum else you'll see very little! Changed way in which founder status is protected
git-svn-id: file:///svn/phpbb/trunk@4202 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-07-04 17:17:37 +00:00
Paul S. Owen
423728cb16 Updated default permissions ... these ones tend to agree with the updated group definitions :)
git-svn-id: file:///svn/phpbb/trunk@4201 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-07-04 17:16:24 +00:00
Paul S. Owen
964e4d8cbb Insert @ supression
git-svn-id: file:///svn/phpbb/trunk@4200 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-07-04 15:05:04 +00:00
Ludovic Arnaud
4001c84388 mcp_viewip's gone bye bye
git-svn-id: file:///svn/phpbb/trunk@4199 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-07-03 23:03:34 +00:00
Ludovic Arnaud
6dbfa654f9 I may have forgotten to add this file to the repository
git-svn-id: file:///svn/phpbb/trunk@4198 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-07-03 23:01:08 +00:00
Ludovic Arnaud
a3cb2d595b More lang strings
git-svn-id: file:///svn/phpbb/trunk@4197 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-07-02 22:57:51 +00:00
Ludovic Arnaud
8d43a83ab9 Some "reasons" to test with. To be determined later :)
git-svn-id: file:///svn/phpbb/trunk@4196 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-07-02 22:46:29 +00:00
Ludovic Arnaud
3842aac9b6 Updated MCP. Started to implement reports review. Check out the new "post details" screen with reported posts
git-svn-id: file:///svn/phpbb/trunk@4195 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-07-02 22:42:50 +00:00
Ludovic Arnaud
79999c7bf3 If I'm not wrong, f_ignorequeue is not anymore
git-svn-id: file:///svn/phpbb/trunk@4194 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-07-02 22:41:05 +00:00
Ludovic Arnaud
01a68f9497 A single post can now only be reported once
git-svn-id: file:///svn/phpbb/trunk@4193 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-07-02 22:38:59 +00:00
Ludovic Arnaud
2b16fc0874 Added a quick link to post details for moderators
git-svn-id: file:///svn/phpbb/trunk@4192 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-07-02 22:36:10 +00:00
Ludovic Arnaud
c732220308 Updated MCP link, fixed the query the obtain "normal" topics
git-svn-id: file:///svn/phpbb/trunk@4191 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-07-02 22:30:34 +00:00
Ludovic Arnaud
b59698aa10 Shifting bits appears to be faster than the pow() function
git-svn-id: file:///svn/phpbb/trunk@4190 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-07-02 22:23:45 +00:00
Paul S. Owen
03d46951b2 Note that there are still some queries in CVS which cause SQLite to have a minor fit, these are "generally" fixed locally on my machine ... will commit when other bits and pieces are "done" ... hopefully ... perhaps ... good grief, it's nearly 3am again ... 10 years ago I could do these late nights/early mornings, bah
git-svn-id: file:///svn/phpbb/trunk@4189 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-07-01 01:56:52 +00:00
Paul S. Owen
b02a8a2a17 SQLite support ... Probably helps if the installer supports it I guess ... I'm having one of those lifes, please excuse me.
git-svn-id: file:///svn/phpbb/trunk@4188 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-07-01 01:54:27 +00:00
Paul S. Owen
35a926b66a SQLite support
git-svn-id: file:///svn/phpbb/trunk@4187 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-06-30 20:33:46 +00:00
Paul S. Owen
eba779cb35 There is no default_language ...
git-svn-id: file:///svn/phpbb/trunk@4185 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-06-29 11:35:55 +00:00
Meik Sievertsen
4d6a767305 a few fixes
git-svn-id: file:///svn/phpbb/trunk@4184 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-06-29 10:59:36 +00:00
Ludovic Arnaud
b85637fc1a Fixed typo. (and finally got WinCVS to work with Pageant again, weeee!)
git-svn-id: file:///svn/phpbb/trunk@4180 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-06-26 20:57:11 +00:00
Meik Sievertsen
aed6479f40 small adjustment for editing informations and small fix for post editing.
git-svn-id: file:///svn/phpbb/trunk@4179 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-06-26 20:40:32 +00:00
Meik Sievertsen
fd03f6c5f2 fixed edit posts (wrong username/id entered)
git-svn-id: file:///svn/phpbb/trunk@4178 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-06-26 16:46:17 +00:00
Meik Sievertsen
59573cce8b some updates...
git-svn-id: file:///svn/phpbb/trunk@4175 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-06-25 19:49:59 +00:00
Paul S. Owen
20aacd9417 Condensing layout ... hopefully not breaking anything in the process ..
git-svn-id: file:///svn/phpbb/trunk@4173 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-06-24 23:23:19 +00:00
Paul S. Owen
131c78ed54 more twiddling and playing
git-svn-id: file:///svn/phpbb/trunk@4172 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-06-24 23:22:51 +00:00
Paul S. Owen
b44bc16bd0 Fix up display of sigs and bbcode for preview
git-svn-id: file:///svn/phpbb/trunk@4170 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-06-24 16:46:30 +00:00
Meik Sievertsen
97680b4f54 deleted pm references and small fixes to the thumbnail creation
git-svn-id: file:///svn/phpbb/trunk@4169 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-06-23 16:59:02 +00:00
Paul S. Owen
464f8871fb A few updates
git-svn-id: file:///svn/phpbb/trunk@4168 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-06-23 15:23:52 +00:00
Paul S. Owen
7661a5d040 Global announcements ... sort of work ... well they seem to, need to look at possbility of splitting topics table in two
git-svn-id: file:///svn/phpbb/trunk@4167 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-06-23 14:00:57 +00:00
Paul S. Owen
36685677dd bits and pieces
git-svn-id: file:///svn/phpbb/trunk@4166 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-06-22 00:29:06 +00:00
Paul S. Owen
90e479df3d Add check for files/ , write img_magick details to config table, missed couple of lang strings
git-svn-id: file:///svn/phpbb/trunk@4165 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-06-21 15:24:03 +00:00
Paul S. Owen
db5bba6bc8 Add install/ warning for future use
git-svn-id: file:///svn/phpbb/trunk@4164 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-06-21 15:14:47 +00:00
Meik Sievertsen
8ef02f51fa ups. :)
git-svn-id: file:///svn/phpbb/trunk@4163 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-06-21 13:00:49 +00:00
Meik Sievertsen
251a5b8f94 only small addition for further use...
git-svn-id: file:///svn/phpbb/trunk@4162 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-06-21 12:36:00 +00:00
Ludovic Arnaud
3d36530308 Fixed signatures showing up no matter if you wanted it or not
git-svn-id: file:///svn/phpbb/trunk@4161 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-06-21 01:43:07 +00:00
Meik Sievertsen
2e13c45371 thumbnail creation support
git-svn-id: file:///svn/phpbb/trunk@4160 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-06-20 17:20:22 +00:00
Ludovic Arnaud
4f2cf69b68 Fixed topics sync'ing - hopefully using correct linefeeds
git-svn-id: file:///svn/phpbb/trunk@4156 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-06-19 22:06:53 +00:00
Ludovic Arnaud
270c960a23 I'm pretty sure I screwed up the first commit
git-svn-id: file:///svn/phpbb/trunk@4155 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-06-19 21:57:44 +00:00
Ludovic Arnaud
06a3df9ff3 General maintenance ;)
git-svn-id: file:///svn/phpbb/trunk@4154 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-06-19 20:26:01 +00:00
Paul S. Owen
fed8ae89c5 Missing sprintf
git-svn-id: file:///svn/phpbb/trunk@4152 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-06-19 16:48:47 +00:00
Paul S. Owen
50c157aed9 Missing colspan
git-svn-id: file:///svn/phpbb/trunk@4151 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-06-19 16:48:33 +00:00
Paul S. Owen
1b282e40a0 Marking and various fixes ... Karma calculation code removed ... don't see point in potentially messing up ratings when "formula" changes
git-svn-id: file:///svn/phpbb/trunk@4150 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-06-19 16:25:42 +00:00
Paul S. Owen
9c030162f6 Mostly IM related additions
git-svn-id: file:///svn/phpbb/trunk@4149 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-06-19 16:22:53 +00:00
Paul S. Owen
41f625656a Mostly read tracking (re-)fixes ... it works again ... I'll try not to break it a second time ... other changes for Firebird compatibility
git-svn-id: file:///svn/phpbb/trunk@4148 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-06-19 16:22:12 +00:00
Paul S. Owen
c0a013053a Yet more updates, topic marking works again ... still intend (optional) checking of "forum read" status on return to index (rather than just the current fudge of visiting the forum), obtain_ranks as a function (used in at least three scripts), removed jabber method that was needed, oops
git-svn-id: file:///svn/phpbb/trunk@4147 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-06-19 16:19:59 +00:00
Paul S. Owen
eb6c2c54df Various updates ... made "some attempt" at defining standard classes, support for various IM clients, etc. and blah
git-svn-id: file:///svn/phpbb/trunk@4146 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-06-19 16:16:43 +00:00
Paul S. Owen
7b9785e719 Further additions to memberslist modes, Jabber support, finally "fixed up" other IM client support, a little messy in places and lacking any permission checking for IM
git-svn-id: file:///svn/phpbb/trunk@4145 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-06-19 16:13:53 +00:00
Ludovic Arnaud
0c14f1d469 This checkin is sponsored by AOL
git-svn-id: file:///svn/phpbb/trunk@4144 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-06-19 15:29:53 +00:00
Paul S. Owen
5287a27653 Add xml and mhash to optional module list
git-svn-id: file:///svn/phpbb/trunk@4143 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-06-19 13:29:52 +00:00
Paul S. Owen
67f4864c7a Add new method ... allow grab of options for all forums ... useful for e.g. when forums where post count is incremented are required
git-svn-id: file:///svn/phpbb/trunk@4142 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-06-19 13:19:39 +00:00
Paul S. Owen
28c0d2ac07 For Jabber support ... original by Carlo "Gossip" Zottmann ... modified to remove unrequired functions
git-svn-id: file:///svn/phpbb/trunk@4141 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-06-19 13:17:13 +00:00
Meik Sievertsen
2da7737997 some changes in downloading files...
git-svn-id: file:///svn/phpbb/trunk@4140 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-06-18 17:57:44 +00:00
Meik Sievertsen
8107f14852 added: download notice for people unable to see files attached to posts
changed: put attachment display into a function now called by posting preview and viewtopic (functions_display.php)
fixed: small fix in posting routines, cleanups...


git-svn-id: file:///svn/phpbb/trunk@4139 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-06-17 19:34:17 +00:00
Paul S. Owen
86e67daaaa Add forum/topic_id info to redirects
git-svn-id: file:///svn/phpbb/trunk@4138 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-06-15 23:41:19 +00:00
Paul S. Owen
692bce3778 Updated Firebird schema ... "compatible" with mysql version ... NOTE the change in ucp schema, module_name becomes module_title to prevent conflict. Various script SQL issues preventing full compatibility with Firebird at present
git-svn-id: file:///svn/phpbb/trunk@4137 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-06-15 23:14:04 +00:00
Paul S. Owen
b87efc8994 Few more changes ... now look for (possible) existence of existing tables with same prefix, warn if appropriate, output fatal error on other SQL failures
git-svn-id: file:///svn/phpbb/trunk@4136 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-06-15 18:10:59 +00:00
Paul S. Owen
dc3ed2e128 Minor change, move bbcode_bitfield to template since it's template specific
git-svn-id: file:///svn/phpbb/trunk@4132 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-06-14 19:33:57 +00:00
Paul S. Owen
318f0ca5b8 Couple extra strings, bold text
git-svn-id: file:///svn/phpbb/trunk@4131 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-06-14 15:35:24 +00:00
Paul S. Owen
fec8d3858c bye bye
git-svn-id: file:///svn/phpbb/trunk@4130 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-06-14 14:36:59 +00:00
Paul S. Owen
20ea81c535 Moved lang strings
git-svn-id: file:///svn/phpbb/trunk@4129 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-06-14 14:36:27 +00:00
Paul S. Owen
a5ca1704be Single basic file ... hopefully this'll work okay ...
git-svn-id: file:///svn/phpbb/trunk@4128 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-06-14 12:24:23 +00:00
Paul S. Owen
2e91e64713 Try again ...
git-svn-id: file:///svn/phpbb/trunk@4127 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-06-14 11:39:00 +00:00
Paul S. Owen
b3769d8cfa Triggers in the schema
git-svn-id: file:///svn/phpbb/trunk@4126 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-06-14 11:38:43 +00:00
Paul S. Owen
66bc2cea57 Some tidying up, transfer of a few lang strings, removed mbstring module check for now
git-svn-id: file:///svn/phpbb/trunk@4125 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-06-14 01:47:09 +00:00
Paul S. Owen
bb056dc843 Reduce the size of h2 a little ...
git-svn-id: file:///svn/phpbb/trunk@4124 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-06-13 23:15:43 +00:00
Paul S. Owen
8bdac6683e You won't believe how close this computer came to having a free flying lesson ...
git-svn-id: file:///svn/phpbb/trunk@4122 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-06-13 20:00:57 +00:00
Paul S. Owen
01ec4113a2 Initial "new installer" ... everyone say 'oooooooohhhhh' ... and you'll look extremely silly
git-svn-id: file:///svn/phpbb/trunk@4121 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-06-13 19:34:09 +00:00
Meik Sievertsen
fc82dab423 deleting the constructor means refining the init call. ;)
git-svn-id: file:///svn/phpbb/trunk@4120 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-06-13 16:45:07 +00:00
Paul S. Owen
dee0f40fd2 various fixes and alterations
git-svn-id: file:///svn/phpbb/trunk@4118 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-06-12 17:11:43 +00:00
Paul S. Owen
68f6998a4c speling errOR
git-svn-id: file:///svn/phpbb/trunk@4115 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-06-11 17:43:59 +00:00
Meik Sievertsen
26606e62fd ups. :)
git-svn-id: file:///svn/phpbb/trunk@4095 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-06-07 16:38:04 +00:00
Meik Sievertsen
f31b414220 fixed: message post storage. We do not hold the parsed message, only the decoded one for displaying within the textarea.
git-svn-id: file:///svn/phpbb/trunk@4094 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-06-07 16:37:16 +00:00
Meik Sievertsen
7dd1ec0070 my turn to break things... only small changes.
git-svn-id: file:///svn/phpbb/trunk@4093 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-06-06 19:05:21 +00:00
Paul S. Owen
01ca3bce0e basic todo list
git-svn-id: file:///svn/phpbb/trunk@4091 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-06-06 15:24:26 +00:00
Paul S. Owen
d1dd262f83 Various updates and fixes ... no doubt there are new bugs but where would the fun be without them?
git-svn-id: file:///svn/phpbb/trunk@4090 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-06-06 15:23:50 +00:00
Paul S. Owen
8a09c0d75f Remove flash button ... perhaps this will reduce casual misuse :D
git-svn-id: file:///svn/phpbb/trunk@4089 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-06-06 11:17:24 +00:00
Paul S. Owen
99910d51cb A little more thinking out loud ... regular users are welcome to give feedback via area51
git-svn-id: file:///svn/phpbb/trunk@4088 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-06-05 20:27:43 +00:00
Ludovic Arnaud
bf99fa324f Added: bbcode_bitfield added to phpbb_styles. See dev forum
git-svn-id: file:///svn/phpbb/trunk@4087 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-06-05 19:21:19 +00:00
Ludovic Arnaud
758c3a4e85 Changed: [list=square] is translated into an UNordered list
Fixed: <ul> opening tag
Changed: [list] is not hardcoded anymore


git-svn-id: file:///svn/phpbb/trunk@4086 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-06-05 19:19:48 +00:00
Ludovic Arnaud
7adf890757 Changed: while validating quotes usernames, the loop will end at the first incorrect bbcode pair
git-svn-id: file:///svn/phpbb/trunk@4085 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-06-05 19:17:36 +00:00
Ludovic Arnaud
3b99c70b2f Cleaned up commented lines
git-svn-id: file:///svn/phpbb/trunk@4084 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-06-05 19:15:49 +00:00
Ludovic Arnaud
f0c133a559 Minor change: do not display the "lookup ip" link if the IP has already been resolved
git-svn-id: file:///svn/phpbb/trunk@4083 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-06-05 19:12:05 +00:00
Paul S. Owen
da2c292d2d Minor fix
git-svn-id: file:///svn/phpbb/trunk@4082 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-06-05 13:22:29 +00:00
Paul S. Owen
b980107839 Me thinking out loud ...
git-svn-id: file:///svn/phpbb/trunk@4081 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-06-05 12:57:06 +00:00
Paul S. Owen
6ca40653e9 A few minor updates
git-svn-id: file:///svn/phpbb/trunk@4080 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-06-05 00:53:39 +00:00
Paul S. Owen
d806c0a55f it's dhn's fault
git-svn-id: file:///svn/phpbb/trunk@4078 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-06-03 22:05:49 +00:00
Paul S. Owen
2b2c8709ab missing fields
git-svn-id: file:///svn/phpbb/trunk@4077 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-06-03 22:01:25 +00:00
Paul S. Owen
67bbcf5c49 Default rank images directory
git-svn-id: file:///svn/phpbb/trunk@4076 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-06-03 21:40:02 +00:00
Paul S. Owen
7dc2a615ee Default rank images directory
git-svn-id: file:///svn/phpbb/trunk@4075 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-06-03 12:19:32 +00:00
Paul S. Owen
9eaf76dc83 More attempts at breaking source
git-svn-id: file:///svn/phpbb/trunk@4072 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-06-02 17:27:38 +00:00
Paul S. Owen
3d6d86d995 userdata -> ucp
git-svn-id: file:///svn/phpbb/trunk@4071 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-06-01 19:44:45 +00:00
Meik Sievertsen
0c101c3dd4 some updates, email related.
git-svn-id: file:///svn/phpbb/trunk@4070 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-06-01 11:29:29 +00:00
Paul S. Owen
0e96aa60c2 Well, at least the little prat @ area51 led to a bug fix ...
git-svn-id: file:///svn/phpbb/trunk@4069 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-05-31 17:55:55 +00:00
Meik Sievertsen
18ccaf4483 moved the queue call, added interval. The current lock is very "fluent" at the moment. ;)
git-svn-id: file:///svn/phpbb/trunk@4068 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-05-30 06:37:07 +00:00
Meik Sievertsen
d4cbbb1055 added email queue + small changes (do not hit me for the mysql_basic change :D)
git-svn-id: file:///svn/phpbb/trunk@4067 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-05-29 14:29:59 +00:00
Paul S. Owen
65b38b317f Incorrect avatar dimensions
git-svn-id: file:///svn/phpbb/trunk@4065 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-05-28 14:20:11 +00:00
Paul S. Owen
208f1e59bf oop, only update if we have data ...
git-svn-id: file:///svn/phpbb/trunk@4064 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-05-27 00:46:10 +00:00
Paul S. Owen
b6a0ce82d4 Some cleanup ... fixes
git-svn-id: file:///svn/phpbb/trunk@4063 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-05-27 00:37:15 +00:00
Paul S. Owen
e1484f522d Majority are UCP related updates ... avatars should now work, aside from gallery, fixed a few other issues, updated schema/basic
git-svn-id: file:///svn/phpbb/trunk@4062 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-05-26 23:53:34 +00:00
Paul S. Owen
4e71b1b96d Editing time foobar
git-svn-id: file:///svn/phpbb/trunk@4061 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-05-26 14:07:11 +00:00
Ludovic Arnaud
59971466d7 Added: width / height parameters to flash
Fixed: ol closing tag
Screwed-up: ol opening tag - will check that later


git-svn-id: file:///svn/phpbb/trunk@4060 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-05-25 19:19:31 +00:00
Ludovic Arnaud
0c8eb878e3 Changed: \r\n becomes \n within posts
Added: width / height parameters to flash
Added: bbcodes validation within quotes usernames


git-svn-id: file:///svn/phpbb/trunk@4059 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-05-25 19:17:39 +00:00
Ludovic Arnaud
9517a0015e Updated [flash] tag with width and height parameters
git-svn-id: file:///svn/phpbb/trunk@4058 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-05-25 18:44:35 +00:00
Meik Sievertsen
a214f8cba5 some cleanups/updates
git-svn-id: file:///svn/phpbb/trunk@4057 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-05-25 14:32:20 +00:00
Meik Sievertsen
3e18c7b988 linefeeds... tortoisecvs 1.4.0rc3 seems to be more unstable as i thought.
git-svn-id: file:///svn/phpbb/trunk@4056 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-05-25 14:27:02 +00:00
Meik Sievertsen
5ceeb10e99 some updates in regards to fetching authentication.
git-svn-id: file:///svn/phpbb/trunk@4055 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-05-25 13:07:19 +00:00
Paul S. Owen
f381c0d3ef more fun with cookies
git-svn-id: file:///svn/phpbb/trunk@4054 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-05-24 00:30:53 +00:00
Ludovic Arnaud
bea13814e7 Changed: set_config() won't actually update the database if config values match
git-svn-id: file:///svn/phpbb/trunk@4053 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-05-23 23:55:39 +00:00
Paul S. Owen
d2f1d9e8bc Wasn't stripping slashes from the cookies ... that will account for some of the erroneous mark read, nothing changes issues. Add name="" to image generation ... for "on" event handlers, etc.
git-svn-id: file:///svn/phpbb/trunk@4052 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-05-23 23:46:55 +00:00
Paul S. Owen
2a896ad260 Various updates, changed jump to first unread as per Ashe's suggestion/request ... hope people don't start linking to it making me regret reverting to this implementation :D Moved many decisions on what icons to output to templates ... feedback wrt any performance impacts happily accepted.
git-svn-id: file:///svn/phpbb/trunk@4051 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-05-23 16:15:03 +00:00
Paul S. Owen
79eeeb0b7c Append POST originated forum_id to this->page if present
git-svn-id: file:///svn/phpbb/trunk@4050 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-05-22 17:03:04 +00:00
Paul S. Owen
92ece3c711 Renames and removals
git-svn-id: file:///svn/phpbb/trunk@4049 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-05-22 12:16:37 +00:00
Paul S. Owen
98f8dfebb0 Renames and removals
git-svn-id: file:///svn/phpbb/trunk@4048 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-05-22 11:57:53 +00:00
Ludovic Arnaud
70e6fa189b Changed: Moved up some var definitions.
Changed: topic_review() modified to set the correct bbcode_bitfield.
Fixed: some bugs regarding post preview


git-svn-id: file:///svn/phpbb/trunk@4047 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-05-22 01:35:48 +00:00
Ludovic Arnaud
81f3b7e85d Syntax highlightning CSS
git-svn-id: file:///svn/phpbb/trunk@4046 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-05-22 01:33:00 +00:00
Ludovic Arnaud
64b7c1d73d Changed: $warn_msg changed into a class var. (allows from returning errors from regexps)
Added: max_quote_depth
Changed: PHP syntax highlightning modified to use CSS classes instead of <font> tags


git-svn-id: file:///svn/phpbb/trunk@4045 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-05-22 01:32:27 +00:00
Ludovic Arnaud
34579c63e2 bbcode template updated for the new parser
git-svn-id: file:///svn/phpbb/trunk@4044 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-05-22 01:27:15 +00:00
Ludovic Arnaud
e039ffafc6 Updated bbcode parser.
Images that are replace with a link according to user's preferences now use the corresponding [url] template.
Some regular expressions have been made a little more restrictive.


git-svn-id: file:///svn/phpbb/trunk@4043 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-05-22 01:26:36 +00:00
Ludovic Arnaud
fd7b3a0953 Added max_quote_depth limiter to prevent users from nesting a hell lot of quotes.
array_merge() replaced with a faster solution. Note that it will _not_ overwrite existing strings.


git-svn-id: file:///svn/phpbb/trunk@4042 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-05-21 19:11:04 +00:00
Ludovic Arnaud
394b2d160a Added max_quote_depth limiter to prevent users from nesting a hell lot of quotes
git-svn-id: file:///svn/phpbb/trunk@4041 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-05-21 19:10:04 +00:00
Ludovic Arnaud
db4f5c970b n/m
git-svn-id: file:///svn/phpbb/trunk@4040 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-05-21 19:07:53 +00:00
Ludovic Arnaud
2af466141d get_forum_branch() moved to function_admins.php
git-svn-id: file:///svn/phpbb/trunk@4039 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-05-21 19:06:16 +00:00
Ludovic Arnaud
1967bef6a5 Titles go bold
git-svn-id: file:///svn/phpbb/trunk@4038 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-05-21 18:33:11 +00:00
Paul S. Owen
5b3787d66a whoops
git-svn-id: file:///svn/phpbb/trunk@4037 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-05-21 00:38:13 +00:00
Paul S. Owen
f3c308f67c Add a 6 char key to user_birthday
git-svn-id: file:///svn/phpbb/trunk@4036 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-05-21 00:13:59 +00:00
Paul S. Owen
659554b096 Enable display of birthday listing ... controlled via ACP Load Settings
git-svn-id: file:///svn/phpbb/trunk@4035 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-05-21 00:06:06 +00:00
Paul S. Owen
9ce38e6977 Enable display of birthday listing ... controlled via ACP Load Settings
git-svn-id: file:///svn/phpbb/trunk@4034 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-05-20 23:57:08 +00:00
Paul S. Owen
70634a792e oops, let's try and retain consistency with viewtopic
git-svn-id: file:///svn/phpbb/trunk@4033 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-05-20 17:39:10 +00:00
Paul S. Owen
18760b39f4 Alter layout for signature ... else it'll really screwup the look with large sigs ..
git-svn-id: file:///svn/phpbb/trunk@4032 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-05-20 17:36:47 +00:00
Paul S. Owen
fc67159096 Only set start = 0 when first sorting ... else it screws everything up :)
git-svn-id: file:///svn/phpbb/trunk@4031 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-05-20 14:01:57 +00:00
Paul S. Owen
f8a9ed5381 Avatar preferencial display here too
git-svn-id: file:///svn/phpbb/trunk@4030 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-05-20 13:37:16 +00:00
Paul S. Owen
f3f3b44897 This version tends to do what it was supposed to do ... I guess users will prefer this ...
git-svn-id: file:///svn/phpbb/trunk@4029 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-05-20 13:35:48 +00:00
Paul S. Owen
b48d7492a2 Enable view limiting functions ... Ashe, not sure if this is compatible with your thinking for bbcode but it seems the "logical" way to handle disabling of bbcode/flash in this manner. Fixed issue with automatic url handling of local links
git-svn-id: file:///svn/phpbb/trunk@4028 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-05-20 13:24:23 +00:00
Paul S. Owen
0b58522088 Correct doubled up viewsigs, replace viewemail with allow_viewemail, add couple new groups for COPPA users
git-svn-id: file:///svn/phpbb/trunk@4027 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-05-20 13:09:20 +00:00
Paul S. Owen
2700723d8b Fix forum link redirection when tracking clicks
git-svn-id: file:///svn/phpbb/trunk@4026 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-05-20 12:24:10 +00:00
Paul S. Owen
208a3b96bf More functions added ...
git-svn-id: file:///svn/phpbb/trunk@4025 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-05-20 12:16:25 +00:00
Paul S. Owen
d43770db28 Further updates
git-svn-id: file:///svn/phpbb/trunk@4024 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-05-19 21:41:55 +00:00
Paul S. Owen
5a92a8c323 oops, forgot to commit these ...
git-svn-id: file:///svn/phpbb/trunk@4023 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-05-19 17:55:00 +00:00
Paul S. Owen
cdbe4d6a52 ucp related updates
git-svn-id: file:///svn/phpbb/trunk@4022 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-05-19 15:24:59 +00:00
Paul S. Owen
d725a8faf1 Jump to last post on "View newest unread" when all posts have been read
git-svn-id: file:///svn/phpbb/trunk@4021 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-05-19 15:24:49 +00:00
Paul S. Owen
f0964d4a43 Changes as per functions_user.php
git-svn-id: file:///svn/phpbb/trunk@4020 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-05-19 15:24:14 +00:00
Paul S. Owen
746dd5cbbd Renamed class to ucp (for now at least), includes "module" handling for ucp, new validation, normalisation routines (usefulness to be proved :D), blah blah
git-svn-id: file:///svn/phpbb/trunk@4019 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-05-19 15:23:59 +00:00
Paul S. Owen
094ab7e189 Hello!
git-svn-id: file:///svn/phpbb/trunk@4018 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-05-19 15:23:04 +00:00
Paul S. Owen
7097d53af2 Bye billy ... oop, wrong film, oops wrong media ... shut up Paul
git-svn-id: file:///svn/phpbb/trunk@4017 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-05-19 13:45:26 +00:00
Ludovic Arnaud
1bb83a6760 Added: [/*] tag (list item end tag). Automagically added if needed, in which case it's stored as [/*Ⓜ️$uid]
git-svn-id: file:///svn/phpbb/trunk@4016 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-05-18 23:29:35 +00:00
Ludovic Arnaud
e2d5fcdda9 decode_text() will strip [/*:m] tags
git-svn-id: file:///svn/phpbb/trunk@4015 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-05-18 23:27:01 +00:00
Ludovic Arnaud
4ae5f981b5 Added: [/*] tag (list item end tag). Automagically added if needed, in which case it's stored as [/*Ⓜ️$uid]
Added: any {L_*} var in bbcode.html is replaced by its matching $lang string


git-svn-id: file:///svn/phpbb/trunk@4014 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-05-18 23:26:05 +00:00
Ludovic Arnaud
9723acc883 Additional lang strings for post reporting
git-svn-id: file:///svn/phpbb/trunk@4013 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-05-18 22:28:48 +00:00
Ludovic Arnaud
961ba4f001 Fixed: some stuff ;)
Changed: users cannot report the same post twice. if an user tries to, s/he's invited to edit his/her report


git-svn-id: file:///svn/phpbb/trunk@4012 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-05-18 22:26:18 +00:00
Meik Sievertsen
178572a5d0 #642733
git-svn-id: file:///svn/phpbb/trunk@4011 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-05-18 11:12:04 +00:00
Meik Sievertsen
33b0446650 prepared (and fixed) topic review.
git-svn-id: file:///svn/phpbb/trunk@4010 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-05-17 17:33:44 +00:00
Meik Sievertsen
7aa9eaeeb9 fixed a small annoying bug.
git-svn-id: file:///svn/phpbb/trunk@4007 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-05-11 19:56:28 +00:00
Meik Sievertsen
6b7f90de27 re-enable posting. ;)
git-svn-id: file:///svn/phpbb/trunk@4006 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-05-11 16:38:43 +00:00
Meik Sievertsen
4d1def879a a few updates, added #539865 and #694413.
git-svn-id: file:///svn/phpbb/trunk@4005 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-05-11 16:21:35 +00:00
Paul S. Owen
30fd2486d8 Yet more mildly fudged code ... just to get something up, minor fixes/updates elsewhere
git-svn-id: file:///svn/phpbb/trunk@4004 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-05-11 00:58:14 +00:00
Paul S. Owen
549537b9d5 Returned to instantiation of ucp object ... perhaps this approach is better? Altered basic info for ucp_modules, updated editor to allow alternative form and textarea names ... still lots of fudginess, hhhmmmm fudge, uuuuugggghhh
git-svn-id: file:///svn/phpbb/trunk@4003 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-05-10 17:19:27 +00:00
Paul S. Owen
db56a55808 guess what
git-svn-id: file:///svn/phpbb/trunk@4002 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-05-10 01:09:01 +00:00
Paul S. Owen
5066be354d guess what
git-svn-id: file:///svn/phpbb/trunk@4001 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-05-10 01:01:36 +00:00
Paul S. Owen
26c4b023fa This commit is in no way related to the UCP, anyone that says it are lying dogs, there are no changes here, none.
git-svn-id: file:///svn/phpbb/trunk@4000 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-05-10 01:01:24 +00:00
Paul S. Owen
6d119a0e45 Very rough code in places ... particularly sig parsing ... mainly as a "does it work?" test ... the answer seems to be "yes, it does" ... I don't recall the met office saying "Hell has frozen over", strange ...
git-svn-id: file:///svn/phpbb/trunk@3999 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-05-10 01:00:29 +00:00
Paul S. Owen
cb6cd93dae Updates ... looks a little better? Maybe we should move to genmed as the "new" gen?
git-svn-id: file:///svn/phpbb/trunk@3998 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-05-10 00:59:11 +00:00
Ludovic Arnaud
b5d4bc5ced Fixed quotes having bbcodes in author name
git-svn-id: file:///svn/phpbb/trunk@3997 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-05-09 20:24:15 +00:00
Paul S. Owen
2fc8842b0f Had to make a start on the UCP proper ... note that things may and in places are quite broken
git-svn-id: file:///svn/phpbb/trunk@3996 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-05-09 14:11:55 +00:00
Paul S. Owen
21ce5c4831 Updates to various items ... note this won't "work" at present since I've not committed associated updates
git-svn-id: file:///svn/phpbb/trunk@3995 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-05-09 00:14:57 +00:00
Paul S. Owen
874a397315 forum_link_track to forum_flags & 1
git-svn-id: file:///svn/phpbb/trunk@3994 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-05-08 13:17:40 +00:00
Paul S. Owen
0a73232ab0 speling erRor
git-svn-id: file:///svn/phpbb/trunk@3993 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-05-08 12:52:24 +00:00
Paul S. Owen
13da69d625 Prune related
git-svn-id: file:///svn/phpbb/trunk@3992 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-05-08 12:49:16 +00:00
Paul S. Owen
6a29503a13 Updated pruning, moved search limit to load form
git-svn-id: file:///svn/phpbb/trunk@3991 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-05-08 12:48:49 +00:00
Ludovic Arnaud
fd1e389f5b Fixed: moderators "viewprofile" links
git-svn-id: file:///svn/phpbb/trunk@3990 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-05-08 03:14:51 +00:00
Paul S. Owen
711d90b44f Changed forum_link_track to forum_flags for storage of additional info [ pruning related ], moved lang selection into DB, other minor changes, still working on admin_prune, per forum styling for posting
git-svn-id: file:///svn/phpbb/trunk@3989 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-05-08 01:14:14 +00:00
Ludovic Arnaud
bb373ebcba Do not update post's timestamp if we're only editing it
git-svn-id: file:///svn/phpbb/trunk@3983 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-05-06 00:42:04 +00:00
Ludovic Arnaud
b37c76e255 Semi-colon's missing
git-svn-id: file:///svn/phpbb/trunk@3982 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-05-06 00:14:43 +00:00
Paul S. Owen
cd031cc346 More line ending "issues"
git-svn-id: file:///svn/phpbb/trunk@3981 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-05-05 22:57:38 +00:00
Paul S. Owen
9551bfbc52 email topic, minor other changes, removed updating of parent forums upon posting (handled by functions_display)
git-svn-id: file:///svn/phpbb/trunk@3980 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-05-05 22:48:17 +00:00
Ludovic Arnaud
becf5f5199 The "Leave shadow" checkbox is back
git-svn-id: file:///svn/phpbb/trunk@3979 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-05-05 17:00:50 +00:00
Paul S. Owen
617c49bb8e Removed nav_links
git-svn-id: file:///svn/phpbb/trunk@3978 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-05-04 17:15:23 +00:00
Paul S. Owen
bd17c362c1 Fixed, hopefully, jumpbox indentation issues
git-svn-id: file:///svn/phpbb/trunk@3977 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-05-04 15:09:16 +00:00
Paul S. Owen
3e2e39d336 oops
git-svn-id: file:///svn/phpbb/trunk@3976 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-05-04 14:24:46 +00:00
Paul S. Owen
aed79aea29 No need to require guests to login before asking for password
git-svn-id: file:///svn/phpbb/trunk@3975 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-05-04 13:41:37 +00:00
Paul S. Owen
1652fa243f hhmm, sort of explains the weird post count behaviour of recent days ...
git-svn-id: file:///svn/phpbb/trunk@3974 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-05-04 13:40:21 +00:00
Paul S. Owen
af7468621b Seems to be behaving today ...
git-svn-id: file:///svn/phpbb/trunk@3973 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-05-04 13:39:49 +00:00
Paul S. Owen
c8b23a4273 I suppose the template may be useful too
git-svn-id: file:///svn/phpbb/trunk@3971 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-05-04 00:08:19 +00:00
Paul S. Owen
6b7b082123 we commit thy source code to the trash, sectors to sectors, bytes to bytes, bits to bits.
git-svn-id: file:///svn/phpbb/trunk@3970 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-05-04 00:00:26 +00:00
Paul S. Owen
dac0adead3 page header/footer become functions, forum passwords (I know, I know but it appears a popular feature for some reason ... inclusion not yet set in concrete nor complete), various bug fixes (and no doubt new bugs).
git-svn-id: file:///svn/phpbb/trunk@3969 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-05-03 23:58:45 +00:00
Meik Sievertsen
5b927b0162 only very small things.
git-svn-id: file:///svn/phpbb/trunk@3967 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-05-03 23:33:04 +00:00
Paul S. Owen
c6888eb18e Various updates, forum links, "improve" forum management, cleanups, blah blah, note the schema changes, note also that forum management may misbehave ... reports on wrong doings are welcome ... seem to be having problems with some mcp functions under apache/win32
git-svn-id: file:///svn/phpbb/trunk@3961 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-05-02 15:50:11 +00:00
Meik Sievertsen
9def7a65e3 changed attachment processing (posting), the old way was a mess. :)
git-svn-id: file:///svn/phpbb/trunk@3960 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-05-01 18:24:18 +00:00
Meik Sievertsen
3a4e4374dc further work on the attachment panel... and see how plain those icons are... these are the correct ones to rip ;)
Hopefully someone will make some nice upload icons. :)


git-svn-id: file:///svn/phpbb/trunk@3959 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-04-29 20:06:25 +00:00
Paul S. Owen
81cd87fe10 Removed to prevent further misuse
git-svn-id: file:///svn/phpbb/trunk@3958 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-04-29 11:27:52 +00:00
Paul S. Owen
7ea6b9d8fb Check for and remove other possible PHP execution tags
git-svn-id: file:///svn/phpbb/trunk@3957 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-04-28 15:06:34 +00:00
Paul S. Owen
9206fc8d12 Only displayed subforum icon if subforums were set to display_on_index
git-svn-id: file:///svn/phpbb/trunk@3956 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-04-26 17:28:32 +00:00
Paul S. Owen
09a9719982 Fixed error in handling sub-forum data when displaying "categories"
git-svn-id: file:///svn/phpbb/trunk@3955 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-04-26 16:24:58 +00:00
Ludovic Arnaud
8df413cafc I believe the original intent was to put the backslash in the character class, this should make it work
git-svn-id: file:///svn/phpbb/trunk@3954 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-04-26 01:35:12 +00:00
Paul S. Owen
5362625eab Various changes, and tests ... marking/tracking is not complete ... tinkering, changing, etc. still to be done ... it's just I've made numerous and various changes to different files so a commit really is due
git-svn-id: file:///svn/phpbb/trunk@3953 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-04-26 01:17:40 +00:00
Paul S. Owen
4e43cb5153 Updated icons
git-svn-id: file:///svn/phpbb/trunk@3952 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-04-26 00:47:58 +00:00
Paul S. Owen
fc2ecf2de9 Was certainly one problem with it ...
git-svn-id: file:///svn/phpbb/trunk@3951 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-04-24 23:00:52 +00:00
Paul S. Owen
51b0a56996 For the time being I want this to stay as addslashes for some cross-db compatibility testing ...
git-svn-id: file:///svn/phpbb/trunk@3950 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-04-24 18:40:57 +00:00
Ludovic Arnaud
42ee5e7a54 No functional changes, will only produce less PHP notices/warnings.
git-svn-id: file:///svn/phpbb/trunk@3949 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-04-24 18:24:53 +00:00
Ludovic Arnaud
5f58f0ff71 Fixed typos, added isset() to produce less PHP notices and changed addslashes() to the corresponding dbal function
git-svn-id: file:///svn/phpbb/trunk@3948 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-04-24 18:23:35 +00:00
Ludovic Arnaud
b939242c3a Fixed some undefined variables
git-svn-id: file:///svn/phpbb/trunk@3947 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-04-24 18:21:29 +00:00
Ludovic Arnaud
c3e4f02d49 Fixed some undefined variables (my bad ;))
git-svn-id: file:///svn/phpbb/trunk@3946 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-04-24 18:20:53 +00:00
Ludovic Arnaud
c74b68c26b Store only SELECT queries to be flushed later
git-svn-id: file:///svn/phpbb/trunk@3945 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-04-24 18:19:45 +00:00
Ludovic Arnaud
ca9107dfba Use {LAST_POST_TIME} to determine if the forum has "last post" infos
git-svn-id: file:///svn/phpbb/trunk@3944 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-04-24 18:17:53 +00:00
Paul S. Owen
55b4510b0e Modified internal layout of posts a little ... second time lucky, first copy was overwritten by another commit :D
git-svn-id: file:///svn/phpbb/trunk@3943 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-04-24 01:45:55 +00:00
Ludovic Arnaud
d1ec4973c7 Hmm, renamed the form. Now (Un)Mark All lnks should work
git-svn-id: file:///svn/phpbb/trunk@3942 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-04-23 23:07:59 +00:00
Ludovic Arnaud
0ed1f9d2b2 Changed: if the user hits "merge" and no destination topic is selected, the topic selection screen magically appears
git-svn-id: file:///svn/phpbb/trunk@3941 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-04-23 23:04:12 +00:00
Ludovic Arnaud
23a9077a0b Changed: topic_view displays the "merge" button, no matter if a destination topic has been selected
git-svn-id: file:///svn/phpbb/trunk@3940 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-04-23 22:58:10 +00:00
Ludovic Arnaud
8796a09d01 Fixed: imbricated quotes
Added: individual bbcodes can be disabled. (still has some bug, not sure where though)


git-svn-id: file:///svn/phpbb/trunk@3939 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-04-23 22:55:53 +00:00
Ludovic Arnaud
716baed055 Changed: polls are forked with topics. Votes are not, which means users will have to vote again.
git-svn-id: file:///svn/phpbb/trunk@3938 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-04-23 22:47:28 +00:00
Ludovic Arnaud
3a4af0ea4f Ugly-fixed: username missing when quoting a post
Added: in topic review, posts are second_pass()'ed


git-svn-id: file:///svn/phpbb/trunk@3937 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-04-23 22:00:32 +00:00
Ludovic Arnaud
e13b0efc6a Added: more sync() stuff, to be documented in the dev forum
git-svn-id: file:///svn/phpbb/trunk@3936 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-04-23 21:57:53 +00:00
Ludovic Arnaud
3847fc47ec Changed: only cache non-dynamic config settings
git-svn-id: file:///svn/phpbb/trunk@3935 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-04-23 21:48:41 +00:00
Ludovic Arnaud
44eb035adf Changed: the loading of bbcodes template is triggered whenever needed - see bbcode_tpl()
Changed: [flash] got templated


git-svn-id: file:///svn/phpbb/trunk@3934 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-04-23 21:47:15 +00:00
Paul S. Owen
13f7d92739 hhmmm, was slap bang in the middle of working on this ;) Excess slashing(?) .. keep an eye out for errors ... fixed static lang preg
git-svn-id: file:///svn/phpbb/trunk@3933 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-04-23 20:55:48 +00:00
Meik Sievertsen
444b49c50a replaced \' with ' in template to let it parse javascript correctly. admin_attachments.php changes. added real media streaming.
git-svn-id: file:///svn/phpbb/trunk@3932 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-04-23 20:50:07 +00:00
Ludovic Arnaud
bec93ceb59 Fixed: record_ values do not make the cache to expire
git-svn-id: file:///svn/phpbb/trunk@3931 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-04-23 20:22:44 +00:00
Ludovic Arnaud
3bcc643ee5 Added: [flash] bbcode template
git-svn-id: file:///svn/phpbb/trunk@3930 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-04-23 19:15:41 +00:00
Ludovic Arnaud
eb9ed9d007 Fixed: decode_text() not decoding /list tags properly
Fixed: topic_replies not incremented when quoting another post


git-svn-id: file:///svn/phpbb/trunk@3929 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-04-23 18:41:28 +00:00
Paul S. Owen
72fbb43a1e Thanks to John, who indirectly reminded me about this :D ... echo only data we need to echo.
git-svn-id: file:///svn/phpbb/trunk@3928 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-04-23 14:55:13 +00:00
Meik Sievertsen
178d7e052a NOOOOO, this was not me, you have not seen this... damn trapfalls... the bears are rumbling, try to access brain ... access denied.
git-svn-id: file:///svn/phpbb/trunk@3927 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-04-22 19:46:52 +00:00
Meik Sievertsen
fb19563302 first version of attachment admin panel + some fixes (i hope i do not screw someones code with this, my appologies)
git-svn-id: file:///svn/phpbb/trunk@3926 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-04-22 19:44:00 +00:00
Paul S. Owen
5085f051bf oops, I completely forget that viewforum uses the new topics_marking table ... guess I need to commit all related changes after all ... pooh
git-svn-id: file:///svn/phpbb/trunk@3925 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-04-22 17:26:29 +00:00
Paul S. Owen
254e82dee5 Lang string for f_votechg
git-svn-id: file:///svn/phpbb/trunk@3924 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-04-22 17:24:36 +00:00
Paul S. Owen
da6be44031 Throw an index on poll_last_vote
git-svn-id: file:///svn/phpbb/trunk@3923 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-04-22 17:23:54 +00:00
Paul S. Owen
b2f6faeed0 Replaced time limited display code ... sorting now checks last vote time, voting in a topic bumps it as if it were posted too.
git-svn-id: file:///svn/phpbb/trunk@3922 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-04-22 17:23:37 +00:00
Paul S. Owen
980109a5cb Knew I'd forget to add at least one thing ...
git-svn-id: file:///svn/phpbb/trunk@3921 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-04-22 16:49:55 +00:00
Paul S. Owen
899f7bc1d7 Re-enabled polling ... includes option of multiple choice polling, indication of option voted for, etc. ... preliminary implementation, various things need finishing
git-svn-id: file:///svn/phpbb/trunk@3920 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-04-22 16:47:34 +00:00
Paul S. Owen
9cb38cc0f9 Various new or updated polling related strings
git-svn-id: file:///svn/phpbb/trunk@3919 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-04-22 16:46:04 +00:00
Paul S. Owen
6fc1cb6b49 Wrong name for poll end caps in style imagesets, added poll_max_options to topic table ... ignore two new marking tables for time being ... code utilising one or both is yet to be committed and one or other may vanish.
git-svn-id: file:///svn/phpbb/trunk@3918 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-04-22 16:45:43 +00:00
Paul S. Owen
3bdde3d41f bbcode parse signatures
git-svn-id: file:///svn/phpbb/trunk@3915 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-04-22 01:04:24 +00:00
Paul S. Owen
d30d4987f3 Move second parse cache init after assignment of bitfield ... in case bitfield isn't set globally
git-svn-id: file:///svn/phpbb/trunk@3914 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-04-22 00:42:06 +00:00
Paul S. Owen
663144718d Add dotted topic and topic read/unread DB marking to Load Settings form
git-svn-id: file:///svn/phpbb/trunk@3913 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-04-22 00:00:54 +00:00
Paul S. Owen
f4ae4f51b6 Moved select to template
git-svn-id: file:///svn/phpbb/trunk@3910 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-04-21 16:35:44 +00:00
Paul S. Owen
c0a09ef80a A few changes, moved some items to templates
git-svn-id: file:///svn/phpbb/trunk@3909 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-04-21 16:35:32 +00:00
Paul S. Owen
cfc85ff84d Change tabbing order
git-svn-id: file:///svn/phpbb/trunk@3908 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-04-21 16:34:32 +00:00
Paul S. Owen
be2160b298 Excess non-breaking space with certain combinations of link output
git-svn-id: file:///svn/phpbb/trunk@3907 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-04-21 16:28:46 +00:00
Paul S. Owen
2f739ed4e7 Fixed display of hidden online users when u_viewonline is set true
git-svn-id: file:///svn/phpbb/trunk@3906 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-04-21 16:21:27 +00:00
Paul S. Owen
11a43c2e48 For "Email a friend" feature
git-svn-id: file:///svn/phpbb/trunk@3905 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-04-21 14:20:52 +00:00
Paul S. Owen
1cb3f21004 Removed {USERNAME}
git-svn-id: file:///svn/phpbb/trunk@3904 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-04-21 14:17:22 +00:00
Paul S. Owen
b776bf2cf3 Update email form inline with emailer changes
git-svn-id: file:///svn/phpbb/trunk@3903 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-04-21 14:16:21 +00:00
Paul S. Owen
786c8c2a06 Altered various aspects of emailing ... tested on a windows platform with both mail() and direct smtp ... it worked in both cases.
git-svn-id: file:///svn/phpbb/trunk@3902 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-04-21 14:13:10 +00:00
Ludovic Arnaud
5107b7aafa First-pass syntax highlightning. Will fix quotes later
git-svn-id: file:///svn/phpbb/trunk@3901 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-04-20 20:30:01 +00:00
Ludovic Arnaud
2abf7dc744 Review only approved posts
git-svn-id: file:///svn/phpbb/trunk@3900 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-04-20 19:46:15 +00:00
Meik Sievertsen
6ca8bbac47 dumdidum
git-svn-id: file:///svn/phpbb/trunk@3899 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-04-20 16:54:57 +00:00
Meik Sievertsen
c2da346e65 #575496 - only one way to do it, user input would be nice. ;)
git-svn-id: file:///svn/phpbb/trunk@3898 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-04-20 16:49:26 +00:00
Paul S. Owen
42d7f86141 Re-introduce sorting by rank ... note that only normal ranks are actively sorted. Special ranks are listed first no matter what the sort order.
git-svn-id: file:///svn/phpbb/trunk@3897 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-04-20 14:36:52 +00:00
Paul S. Owen
d1699421af hmmm, what's the word I'm looking for ... hhmmm .... poooh
git-svn-id: file:///svn/phpbb/trunk@3892 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-04-19 17:49:25 +00:00
Paul S. Owen
7a395b013f Missing concatenationnn ... thingy ... dot ..
git-svn-id: file:///svn/phpbb/trunk@3891 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-04-19 17:46:29 +00:00
Paul S. Owen
cd1fa01b2a Update of comment :D
git-svn-id: file:///svn/phpbb/trunk@3890 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-04-19 13:01:47 +00:00
Paul S. Owen
255a01f5a7 Replied to comment, no code changes
git-svn-id: file:///svn/phpbb/trunk@3889 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-04-19 13:00:25 +00:00
Paul S. Owen
7506d3d914 Updated topic/forum notification ... untested in live situation ... appeared to work via manual testing
git-svn-id: file:///svn/phpbb/trunk@3888 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-04-19 12:58:37 +00:00
Meik Sievertsen
68deb6cbfd do not use the sync function if post get deleted. added topic_last_post_id information to viewtopic, for determining delete permission correctly.
git-svn-id: file:///svn/phpbb/trunk@3887 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-04-19 10:28:37 +00:00
Meik Sievertsen
92141c3e35 use only one query for updating download counts.
git-svn-id: file:///svn/phpbb/trunk@3886 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-04-18 15:04:12 +00:00
Paul S. Owen
5e1a81ad66 Okay, give this one a whirl ... clear your template cache before trying
git-svn-id: file:///svn/phpbb/trunk@3885 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-04-18 14:32:32 +00:00
Meik Sievertsen
f9cf94e443 delete no longer used function
git-svn-id: file:///svn/phpbb/trunk@3884 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-04-18 13:11:40 +00:00
Meik Sievertsen
2bd1ced339 some arrangements...
git-svn-id: file:///svn/phpbb/trunk@3883 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-04-18 13:07:19 +00:00
Meik Sievertsen
25015ecc0b Revert INCLUDE template change, fixed attachment display.
git-svn-id: file:///svn/phpbb/trunk@3882 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-04-18 11:07:50 +00:00
Paul S. Owen
5286de6f0e Remove nulls for anon user
git-svn-id: file:///svn/phpbb/trunk@3881 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-04-18 00:31:10 +00:00
Paul S. Owen
e33d3c0994 Closing bracket in wrong place
git-svn-id: file:///svn/phpbb/trunk@3880 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-04-18 00:25:47 +00:00
Ludovic Arnaud
ff6fdd67be More bbcode fixes
git-svn-id: file:///svn/phpbb/trunk@3879 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-04-17 23:47:26 +00:00
Paul S. Owen
a79524cb33 Reduce (only a tad but still) the potential number of queries done when updating permissions
git-svn-id: file:///svn/phpbb/trunk@3878 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-04-17 22:59:51 +00:00
Paul S. Owen
e93d9d23f2 Fix ACL_UNSET problem ... was causing users to be granted permission even when denied
git-svn-id: file:///svn/phpbb/trunk@3877 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-04-17 21:43:39 +00:00
Ludovic Arnaud
e28707b3c2 make_normal fixed (was making topics sticky)
quickmod's "delete topic" fixed


git-svn-id: file:///svn/phpbb/trunk@3876 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-04-17 20:47:17 +00:00
Ludovic Arnaud
43e67f177d Trying to look busy
git-svn-id: file:///svn/phpbb/trunk@3875 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-04-17 20:12:50 +00:00
Paul S. Owen
3b907d8642 Minor changes
git-svn-id: file:///svn/phpbb/trunk@3874 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-04-17 17:47:41 +00:00
Paul S. Owen
e2c2953245 Use sorting function
git-svn-id: file:///svn/phpbb/trunk@3873 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-04-17 17:47:28 +00:00
Paul S. Owen
2e36408fab oops, it appears I missed most of the changes in mysql.php ...
git-svn-id: file:///svn/phpbb/trunk@3872 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-04-17 17:06:52 +00:00
Paul S. Owen
cc1a5f899d Remove superfluous query count increment in sql_query_limit
git-svn-id: file:///svn/phpbb/trunk@3871 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-04-17 17:01:10 +00:00
Paul S. Owen
d2db3f75bc Some change-arounds ... hopefully not introducing problems ...
git-svn-id: file:///svn/phpbb/trunk@3870 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-04-17 17:00:33 +00:00
Paul S. Owen
37f8fbb5f7 A special rank bug that was a real git to track down :D
git-svn-id: file:///svn/phpbb/trunk@3869 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-04-17 16:59:37 +00:00
Ludovic Arnaud
e97ea8ebe5 viewtopic v1.260: less memory than 1.259 and still 5% faster than v1.256
git-svn-id: file:///svn/phpbb/trunk@3868 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-04-17 02:06:49 +00:00
Ludovic Arnaud
55fcbef7e0 TODO ;)
git-svn-id: file:///svn/phpbb/trunk@3867 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-04-17 01:59:23 +00:00
Paul S. Owen
7e5e8422c8 Move signature addition entirely to template
git-svn-id: file:///svn/phpbb/trunk@3866 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-04-16 23:15:31 +00:00
Paul S. Owen
88cf1bb8cb bbcode parsing of signature ... may change ... alter handling of newlines
git-svn-id: file:///svn/phpbb/trunk@3865 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-04-16 23:07:56 +00:00
Paul S. Owen
4af673dcf1 Add bbcode_bitfield to user table schema for sig ... for time being at least
git-svn-id: file:///svn/phpbb/trunk@3864 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-04-16 23:07:17 +00:00
Ludovic Arnaud
c2e73ed656 Added syntax highlitning to [code]. Added [flash] tag.
git-svn-id: file:///svn/phpbb/trunk@3863 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-04-16 22:44:38 +00:00
Ludovic Arnaud
ce8eab90fb Removed unneeded decoding, added bbcode_uid to the second_pass function. (doh)
git-svn-id: file:///svn/phpbb/trunk@3862 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-04-16 22:32:20 +00:00
Paul S. Owen
126eb0979f Added some extra 's' extensions to preg_matches to cope with multiline data
git-svn-id: file:///svn/phpbb/trunk@3861 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-04-16 22:32:17 +00:00
Ludovic Arnaud
b93bb3d90c Added syntax highlitning for [code].
[code] is now case-insensitive. Nothing else to mention ;)


git-svn-id: file:///svn/phpbb/trunk@3860 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-04-16 22:31:20 +00:00
Ludovic Arnaud
b2b7a3f02a Keeping mysql4.php current makes some sense indeed
git-svn-id: file:///svn/phpbb/trunk@3859 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-04-16 21:25:22 +00:00
Ludovic Arnaud
f641d8a0bb Moved some code around, nothing serious.
Attention, bbcode() constructor now accepts only one argument: bbcode_bitfield


git-svn-id: file:///svn/phpbb/trunk@3858 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-04-16 21:16:57 +00:00
Ludovic Arnaud
aaa2c6faab Ranks put in the global cache
git-svn-id: file:///svn/phpbb/trunk@3857 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-04-16 21:07:08 +00:00
Ludovic Arnaud
23efd0bbb4 - BBCode now only loaded if necessary
- now obtains the whole post rowset before actual processing apply
- put all user_cache definitions together
- topic_view is only updated once per topic, not at every page


git-svn-id: file:///svn/phpbb/trunk@3856 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-04-16 20:45:30 +00:00
Ludovic Arnaud
afaf95bb13 Random XSS exploit
git-svn-id: file:///svn/phpbb/trunk@3855 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-04-16 20:22:12 +00:00
Paul S. Owen
1f4b7d27af Enable wider use of * wildcard to enhance exclude capability, improve logging
git-svn-id: file:///svn/phpbb/trunk@3854 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-04-16 17:00:52 +00:00
Paul S. Owen
5e6fe84a2c Remove duplicate username entries
git-svn-id: file:///svn/phpbb/trunk@3853 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-04-16 12:30:51 +00:00
Paul S. Owen
4818a5b065 And another PC/UNIX carriage return foobar corrected
git-svn-id: file:///svn/phpbb/trunk@3852 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-04-16 12:26:29 +00:00
Paul S. Owen
0b98e2ee23 Add .blue class for special group name listings
git-svn-id: file:///svn/phpbb/trunk@3851 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-04-16 12:19:57 +00:00
Paul S. Owen
c2b9cfd158 Enable multiple forum, user and group selection, tidy up logging, add details of affected forums
git-svn-id: file:///svn/phpbb/trunk@3850 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-04-16 12:09:29 +00:00
Paul S. Owen
7ed8bb270f Quick update to enable load_online_time useage
git-svn-id: file:///svn/phpbb/trunk@3849 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-04-16 00:23:51 +00:00
Paul S. Owen
8c2e96dbc9 Enable/disable searching ... note that user searching is always enabled for admins at this time (for ACP functionality ... this could be pared down to only those functions requiring username input)
git-svn-id: file:///svn/phpbb/trunk@3848 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-04-15 23:42:06 +00:00
Paul S. Owen
d3b302841c Only display PM/Search/Memberlist links if enabled
git-svn-id: file:///svn/phpbb/trunk@3847 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-04-15 23:41:43 +00:00
Paul S. Owen
1f80001ea8 Another windows carriage returns foobar
git-svn-id: file:///svn/phpbb/trunk@3846 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-04-15 23:26:54 +00:00
Paul S. Owen
4b79a1e658 Enable/disable searching
git-svn-id: file:///svn/phpbb/trunk@3845 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-04-15 23:21:05 +00:00
Paul S. Owen
11b76dcc8b Enable/disable fulltext index updating
git-svn-id: file:///svn/phpbb/trunk@3844 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-04-15 23:20:29 +00:00
Paul S. Owen
e9e95c8e1e Load config vars
git-svn-id: file:///svn/phpbb/trunk@3843 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-04-15 23:12:39 +00:00
Paul S. Owen
99405c6e4a Enable/disable display of moderator listings
git-svn-id: file:///svn/phpbb/trunk@3842 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-04-15 23:12:28 +00:00
Paul S. Owen
dce7e4c2b8 Enable/Disable online listing + time online
git-svn-id: file:///svn/phpbb/trunk@3841 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-04-15 22:57:05 +00:00
Paul S. Owen
d9dcb502a9 Load and cpu saving
git-svn-id: file:///svn/phpbb/trunk@3840 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-04-15 22:48:59 +00:00
Paul S. Owen
9f8bc2a0df Missed string
git-svn-id: file:///svn/phpbb/trunk@3839 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-04-15 21:38:19 +00:00
Meik Sievertsen
42b50a5d0f fixed delete post bug, use extension cache while posting, fix download counter for images
git-svn-id: file:///svn/phpbb/trunk@3838 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-04-15 18:56:31 +00:00
Paul S. Owen
93cb1853b5 Logging + fixes for user/group permission setting
git-svn-id: file:///svn/phpbb/trunk@3837 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-04-15 18:05:47 +00:00
Paul S. Owen
0c7c2f711f Change ACL_UNSET constant value
git-svn-id: file:///svn/phpbb/trunk@3836 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-04-15 17:34:03 +00:00
Paul S. Owen
2ea7f66a1b New acl admin strings
git-svn-id: file:///svn/phpbb/trunk@3835 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-04-15 17:33:53 +00:00
Paul S. Owen
df48f3e797 Changes in line with ACL_UNSET ... remember to wipe out all entries in your auth_users and auth_groups tables with auth_setting = 2
git-svn-id: file:///svn/phpbb/trunk@3834 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-04-15 17:33:35 +00:00
Paul S. Owen
ae1d8beb30 Introduced option to ignore permission settings for forum listings
git-svn-id: file:///svn/phpbb/trunk@3833 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-04-15 17:33:07 +00:00
Paul S. Owen
b7eef16074 Seems to be working ...
git-svn-id: file:///svn/phpbb/trunk@3832 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-04-15 17:32:49 +00:00
Ludovic Arnaud
25711806b3 $message is now processed in its unslashed form. Should not break anything...
git-svn-id: file:///svn/phpbb/trunk@3831 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-04-13 23:20:26 +00:00
Paul S. Owen
39dd567f90 some lang strings
git-svn-id: file:///svn/phpbb/trunk@3830 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-04-13 21:10:38 +00:00
Paul S. Owen
c51afc3b08 another quick fix for demo purposes
git-svn-id: file:///svn/phpbb/trunk@3829 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-04-13 21:01:14 +00:00
Paul S. Owen
d4ee356087 fix a few things up for demonstration
git-svn-id: file:///svn/phpbb/trunk@3828 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-04-13 20:01:53 +00:00
Paul S. Owen
c259434af4 Non (fully) working alternative to depedencies for admin, super mod and mod ... possibly
git-svn-id: file:///svn/phpbb/trunk@3827 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-04-13 18:01:30 +00:00
Paul S. Owen
2dc95a7e3e Dependencies go bye bye in favour of something else
git-svn-id: file:///svn/phpbb/trunk@3826 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-04-13 13:36:31 +00:00
Meik Sievertsen
2248698e53 faster (for me), especially for topics with a bunch of attachments (due to the nested block vars).
git-svn-id: file:///svn/phpbb/trunk@3825 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-04-13 12:28:57 +00:00
Meik Sievertsen
2918db79d5 Fixed INCLUDE. Now cached items are processed correctly. all glitches are fixed (for example the strange display after a template got changed)
git-svn-id: file:///svn/phpbb/trunk@3824 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-04-13 11:36:43 +00:00
Meik Sievertsen
46f33fae41 Installation should work again.
git-svn-id: file:///svn/phpbb/trunk@3823 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-04-13 11:10:54 +00:00
Paul S. Owen
c35cdd34da Renamed ACL_ constants, altered field names
git-svn-id: file:///svn/phpbb/trunk@3820 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-04-12 20:01:57 +00:00
Paul S. Owen
52530af898 Rename ACL_ constants
git-svn-id: file:///svn/phpbb/trunk@3819 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-04-12 20:01:10 +00:00
Paul S. Owen
32f0680b30 Getting there ... unlike Network Rail ...
git-svn-id: file:///svn/phpbb/trunk@3818 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-04-12 17:07:25 +00:00
Meik Sievertsen
793182218a added 711252 and lock topic within post, fixed post editing a bit.
git-svn-id: file:///svn/phpbb/trunk@3817 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-04-12 14:30:21 +00:00
Meik Sievertsen
75eef6bfd7 changed $message to be a class variable, added attachment category constants (now images are displayed inlined by default... no wrong assignments anymore, if you wondered why your zip file got streamed. ;))
git-svn-id: file:///svn/phpbb/trunk@3816 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-04-11 19:51:38 +00:00
Paul S. Owen
da775f2286 hehehe hoho
git-svn-id: file:///svn/phpbb/trunk@3815 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-04-11 16:18:58 +00:00
Paul S. Owen
c12aaefc9c Very, very broken right now ... re-working it as we speak
git-svn-id: file:///svn/phpbb/trunk@3814 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-04-11 15:29:06 +00:00
Meik Sievertsen
4feb08390c re-use include...
git-svn-id: file:///svn/phpbb/trunk@3813 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-04-11 06:07:58 +00:00
Ludovic Arnaud
4f55c9fb81 BBCode parser + decoder, missing some tags and mildly broken at this time
git-svn-id: file:///svn/phpbb/trunk@3812 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-04-11 00:19:29 +00:00
Ludovic Arnaud
f17c36cea4 Moved BBCODE_UID_LEN to common.php
git-svn-id: file:///svn/phpbb/trunk@3811 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-04-11 00:02:54 +00:00
Paul S. Owen
9c8c50cdb7 Try this version of include ...
git-svn-id: file:///svn/phpbb/trunk@3810 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-04-10 23:58:30 +00:00
Paul S. Owen
a702dc6683 Won't work ... since inline images are pulled from here ... need to look at match against non-image content types
git-svn-id: file:///svn/phpbb/trunk@3809 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-04-10 23:53:54 +00:00
Ludovic Arnaud
9cb2378597 Added /cache/templates/ and /files/ directories to the repository
git-svn-id: file:///svn/phpbb/trunk@3808 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-04-10 21:57:01 +00:00
Meik Sievertsen
3616d54094 initial 'view attachments' implementation. added new template var (merged include, to preserve previous block vars), could be changed later to consider caching. some config variables and upload icons are not present as of yet...
git-svn-id: file:///svn/phpbb/trunk@3807 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-04-10 21:35:31 +00:00
Ludovic Arnaud
f2d0929147 Moved up flood-check a little to save a query whenever possible
git-svn-id: file:///svn/phpbb/trunk@3806 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-04-10 19:11:09 +00:00
Ludovic Arnaud
73b191a343 Did you know that if you use backslashes in a log message WinCVS freaks out and commit files at random? I didn't either.
git-svn-id: file:///svn/phpbb/trunk@3804 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-04-10 01:58:18 +00:00
Ludovic Arnaud
c0aedcc467 IP information moved to Post Details
git-svn-id: file:///svn/phpbb/trunk@3803 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-04-10 00:56:23 +00:00
Paul S. Owen
2292b77b7d oopsie, me not think that last checkin was supposed to happen ... at least I hope not :D
git-svn-id: file:///svn/phpbb/trunk@3802 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-04-09 22:41:25 +00:00
Ludovic Arnaud
c17e275080 Weekly update: MCP templates. Forms renamed to 'main', added mcp_jumpbox.html for easy jumping and mcp_foruminfo.html.
Not too happy with HTML though =" templates\subSilver\mcp_forum.html templates\subSilver\mcp_foruminfo.html templates\subSilver\mcp_front.html templates\subSilver\mcp_header.html templates\subSilver\mcp_jumpbox.html templates\subSilver\mcp_move.html templates\subSilver\mcp_post.html templates\subSilver\mcp_viewip.html templates\subSilver\mcp_viewlogs.html


git-svn-id: file:///svn/phpbb/trunk@3800 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-04-09 22:17:55 +00:00
Ludovic Arnaud
e5e9fd9cba Form renamed, table class fixed
git-svn-id: file:///svn/phpbb/trunk@3799 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-04-09 22:17:16 +00:00
Ludovic Arnaud
98d7c47133 "Report" button only shows up if the user is authorised. Default forum_id for globals temporary (and arbitrary) set to 2.
git-svn-id: file:///svn/phpbb/trunk@3798 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-04-09 22:00:23 +00:00
Ludovic Arnaud
ddee09332d "Report" button only shows up if the user is authorised. Default forum_id for globals temporary (and arbitrary) set to 2.
git-svn-id: file:///svn/phpbb/trunk@3797 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-04-09 21:55:03 +00:00
Ludovic Arnaud
0c873e3621 Added 540408 (edit forum info) and 565097 (fork threads). Fixed a couple of bugs that no one would ever noticed
git-svn-id: file:///svn/phpbb/trunk@3796 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-04-09 21:47:58 +00:00
Ludovic Arnaud
6f3e9813ad Weekly update: MCP lang strings
git-svn-id: file:///svn/phpbb/trunk@3794 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-04-09 21:32:52 +00:00
Ludovic Arnaud
e5d14d24d5 Capitalisation
git-svn-id: file:///svn/phpbb/trunk@3793 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-04-09 21:28:26 +00:00
Ludovic Arnaud
11b9a0c95d Moved back gen_sorting() to mcp.php
git-svn-id: file:///svn/phpbb/trunk@3792 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-04-09 21:26:25 +00:00
Ludovic Arnaud
9d19bef3c1 I... erm... kinda forgot to add this one
git-svn-id: file:///svn/phpbb/trunk@3789 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-04-04 00:57:39 +00:00
Paul S. Owen
7018d81079 Add m_info
git-svn-id: file:///svn/phpbb/trunk@3788 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-04-03 11:37:17 +00:00
Ludovic Arnaud
e3bac84877 Oops. Didn't merge files correctly.
git-svn-id: file:///svn/phpbb/trunk@3787 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-04-03 03:13:59 +00:00
Ludovic Arnaud
6fbf4b7c1c Centralised sorting
git-svn-id: file:///svn/phpbb/trunk@3786 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-04-03 00:51:30 +00:00
Ludovic Arnaud
1354ee2f43 Trying to centralise sorting... currently used in MCP, successfully tested in viewforum.
git-svn-id: file:///svn/phpbb/trunk@3785 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-04-03 00:46:49 +00:00
Ludovic Arnaud
b6c35f2ff1 MCP update:
- mod_queue
- front page
- new viewlogs tab
- now using a dedicated function for jumpbox generation (not everywhere yet)


git-svn-id: file:///svn/phpbb/trunk@3784 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-04-03 00:10:10 +00:00
Ludovic Arnaud
3bf73634ca I knew that I forgot something: f_report now in use
git-svn-id: file:///svn/phpbb/trunk@3783 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-04-03 00:06:04 +00:00
Ludovic Arnaud
b1848bf34e Fixed the quickmod type-changing tools for global announcements
git-svn-id: file:///svn/phpbb/trunk@3782 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-04-02 23:25:38 +00:00
Ludovic Arnaud
3ce0f98f25 Modified view_logs to be used in MCP, added get_forum_list() to quickly get a set of forums the user is authed for
git-svn-id: file:///svn/phpbb/trunk@3781 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-04-02 23:21:17 +00:00
Ludovic Arnaud
af3512e6df Lots of HTML updates, and more to follow...
git-svn-id: file:///svn/phpbb/trunk@3780 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-04-02 23:16:05 +00:00
Ludovic Arnaud
f94a5cb87d Added user notification for post reporting, moved lang strings to lang_main, added CSS style for mcp_jumpbox
git-svn-id: file:///svn/phpbb/trunk@3779 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-04-02 23:13:47 +00:00
Paul S. Owen
2c94c4659e Just playing
git-svn-id: file:///svn/phpbb/trunk@3778 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-04-01 23:48:47 +00:00
Meik Sievertsen
8a04466b3f show the attach icon in viewforum. added cached extensions (we need them within viewtopic)
git-svn-id: file:///svn/phpbb/trunk@3777 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-04-01 21:11:07 +00:00
Paul S. Owen
d054df5007 *** empty log message ***
git-svn-id: file:///svn/phpbb/trunk@3776 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-04-01 01:15:07 +00:00
Paul S. Owen
c9cab7794e Another u_ option ... this time for displaying avatars ... must start removing redundant fields in user table and elsewhere
git-svn-id: file:///svn/phpbb/trunk@3775 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-04-01 01:14:45 +00:00
Paul S. Owen
4d65caab3f Re-enable avatar display
git-svn-id: file:///svn/phpbb/trunk@3774 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-04-01 01:14:04 +00:00
Paul S. Owen
823a484e77 Lang string name changes for topic title prefixes
git-svn-id: file:///svn/phpbb/trunk@3773 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-04-01 00:50:06 +00:00
Paul S. Owen
5231006c03 Just throwing this in ... dependencies still not complete ... the GUI and storage has caused me to do more "thinking" than I'd anticipated ... comments are welcome on what you see. Note also ALLOW/DENY/INHERIT have become YES/NO/UNSET
git-svn-id: file:///svn/phpbb/trunk@3772 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-04-01 00:06:11 +00:00
Paul S. Owen
3257af80f0 Update icon name
git-svn-id: file:///svn/phpbb/trunk@3771 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-04-01 00:05:50 +00:00
Paul S. Owen
2b253d9b51 Update icon name
git-svn-id: file:///svn/phpbb/trunk@3770 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-03-31 23:56:00 +00:00
Paul S. Owen
6e3908893d Improve feedback for banned users
git-svn-id: file:///svn/phpbb/trunk@3769 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-03-31 21:47:10 +00:00
Ludovic Arnaud
372c2d65d1 File renamed to mcp_topic.html a long time ago
git-svn-id: file:///svn/phpbb/trunk@3767 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-03-30 21:25:07 +00:00
Ludovic Arnaud
9f30b01c18 nm - fixed some style bugs
git-svn-id: file:///svn/phpbb/trunk@3766 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-03-30 21:21:04 +00:00
Ludovic Arnaud
fc52e8b184 I hit Enter too fast - updated acl checks
git-svn-id: file:///svn/phpbb/trunk@3765 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-03-30 21:18:31 +00:00
Ludovic Arnaud
930e6a7e6b Modes renamed - easier to remember
git-svn-id: file:///svn/phpbb/trunk@3764 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-03-30 21:05:58 +00:00
Ludovic Arnaud
5e92d8c8f6 Switched up "real" and "normal" counts. (doh)
Changed sorting by time to use topic_last_post_time rather than topic_last_post_id.


git-svn-id: file:///svn/phpbb/trunk@3763 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-03-30 21:03:11 +00:00
Ludovic Arnaud
36011792e6 "Real" post and topic counts now updated correctly. Mass-resync your topics/forums.
git-svn-id: file:///svn/phpbb/trunk@3762 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-03-30 21:01:01 +00:00
Ludovic Arnaud
d29495c6c3 Moved lang_mod strings to lang_main
git-svn-id: file:///svn/phpbb/trunk@3761 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-03-30 20:59:38 +00:00
Ludovic Arnaud
17427fd725 Hopefully done with topics sync'ing
git-svn-id: file:///svn/phpbb/trunk@3760 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-03-30 20:58:58 +00:00
Meik Sievertsen
cd1f9c63d6 apply 2.0.x change
git-svn-id: file:///svn/phpbb/trunk@3759 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-03-30 17:51:56 +00:00
Paul S. Owen
853cea315f Couple of changes to f_ permissions
git-svn-id: file:///svn/phpbb/trunk@3757 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-03-30 16:11:50 +00:00
Paul S. Owen
02b64a24e3 Don't output error page header when header already sent
git-svn-id: file:///svn/phpbb/trunk@3756 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-03-30 14:39:48 +00:00
Paul S. Owen
880b49c381 Various updated lang strings
git-svn-id: file:///svn/phpbb/trunk@3755 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-03-30 14:36:27 +00:00
Paul S. Owen
db251b43da Minor changes
git-svn-id: file:///svn/phpbb/trunk@3754 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-03-30 14:33:50 +00:00
Paul S. Owen
c66ba88f92 Various changes ... it works again now :D
git-svn-id: file:///svn/phpbb/trunk@3753 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-03-30 14:27:42 +00:00
Paul S. Owen
eabafe4734 More updates, auth_dependencies latest layout ... still may change
git-svn-id: file:///svn/phpbb/trunk@3752 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-03-30 14:27:17 +00:00
Paul S. Owen
f302d5ea93 Wrong object name
git-svn-id: file:///svn/phpbb/trunk@3751 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-03-30 14:22:34 +00:00
Meik Sievertsen
0db7b7603d global $db... ashe, i think you noticed already. :)
git-svn-id: file:///svn/phpbb/trunk@3750 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-03-29 18:42:24 +00:00
Meik Sievertsen
c2abdb292d made admin_phpinfo PHP 4.1.x compatible (old style format)
git-svn-id: file:///svn/phpbb/trunk@3749 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-03-29 18:37:28 +00:00
Paul S. Owen
51187c1b64 Assorted updates
git-svn-id: file:///svn/phpbb/trunk@3748 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-03-29 18:33:20 +00:00
Paul S. Owen
ec884a2c5b icon name change
git-svn-id: file:///svn/phpbb/trunk@3747 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-03-29 18:28:45 +00:00
Paul S. Owen
9e38434b4a Moved acl_options caching code into acl
git-svn-id: file:///svn/phpbb/trunk@3746 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-03-29 18:25:41 +00:00
Meik Sievertsen
88fbdb6e1e capitalized install script lang vars.
git-svn-id: file:///svn/phpbb/trunk@3745 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-03-29 17:50:12 +00:00
Paul S. Owen
ea2f85d458 Imageset schema changes ... drop your old imageset table and replace with this + data
git-svn-id: file:///svn/phpbb/trunk@3744 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-03-29 16:27:50 +00:00
Paul S. Owen
de6cbb063a Overdue naming convention changes
git-svn-id: file:///svn/phpbb/trunk@3743 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-03-29 14:19:50 +00:00
Paul S. Owen
99859cce21 No longer relevant in this form
git-svn-id: file:///svn/phpbb/trunk@3742 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-03-29 13:17:14 +00:00
Ludovic Arnaud
2678cb904f Fixed topic count for users who can view unapproved items
git-svn-id: file:///svn/phpbb/trunk@3741 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-03-29 00:51:38 +00:00
Ludovic Arnaud
213beefc17 Not quite a typo
git-svn-id: file:///svn/phpbb/trunk@3740 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-03-28 01:28:23 +00:00
Ludovic Arnaud
69a854d3ee forum_parents made more reliable. Removed the $extra_form_fields parameter from jumpbox routines.
git-svn-id: file:///svn/phpbb/trunk@3739 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-03-28 01:25:03 +00:00
Ludovic Arnaud
e572edb513 Using real counts when displaying unapproved items to keep the page count accurate.
git-svn-id: file:///svn/phpbb/trunk@3738 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-03-28 00:43:50 +00:00
Ludovic Arnaud
42ec5e67da MCP: resync() function deemed stable enough to replace sync() in functions_admin.php. I will keep extensively testing it though...
Pruning: now works as expected.


git-svn-id: file:///svn/phpbb/trunk@3737 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-03-28 00:41:16 +00:00
Ludovic Arnaud
fb5957474b Random stuff: report.gif renamed to icon_report.gif, typo in acm_file.
git-svn-id: file:///svn/phpbb/trunk@3736 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-03-28 00:37:07 +00:00
Ludovic Arnaud
95a1f17db3 Added icon_report to imageset (mine was like a big exclamation mark but Paul's looks better me thinks).
Added topic_replies_real and forum_topics_real fields to store real numbers of posts and topics, including unapproved items.
Removed the duplicate group_display field bug that I had personnally introduced


git-svn-id: file:///svn/phpbb/trunk@3735 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-03-28 00:29:56 +00:00
Paul S. Owen
ede818ebde whoopsied again
git-svn-id: file:///svn/phpbb/trunk@3733 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-03-26 22:36:42 +00:00
Paul S. Owen
82f0af1349 More missing stuff ... sure it was here before
git-svn-id: file:///svn/phpbb/trunk@3732 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-03-25 23:47:44 +00:00
Paul S. Owen
a827c0c413 browser_check seemed to go missing
git-svn-id: file:///svn/phpbb/trunk@3731 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-03-25 23:23:44 +00:00
Paul S. Owen
617602a088 This may help ...
git-svn-id: file:///svn/phpbb/trunk@3730 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-03-25 17:27:37 +00:00
Paul S. Owen
17f27aa1ac I'm guessing there have been changes to these files ...
git-svn-id: file:///svn/phpbb/trunk@3729 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-03-25 16:52:07 +00:00
Paul S. Owen
81c1c387d9 Removed redundant ... for now at least ... session info from user table schema, added online/offline icon
git-svn-id: file:///svn/phpbb/trunk@3728 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-03-25 16:51:38 +00:00
Paul S. Owen
75b1ffa664 Various updates
git-svn-id: file:///svn/phpbb/trunk@3727 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-03-25 16:50:18 +00:00
Paul S. Owen
3428964065 ahh, more cute wikkle icons ... don't they look nice, off you go, go join your other little icon friends ... go on
git-svn-id: file:///svn/phpbb/trunk@3726 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-03-25 16:37:22 +00:00
Paul S. Owen
403ed59cca report icon
git-svn-id: file:///svn/phpbb/trunk@3725 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-03-25 16:18:26 +00:00
Paul S. Owen
e92d7078b1 Report icon
git-svn-id: file:///svn/phpbb/trunk@3724 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-03-25 16:17:12 +00:00
Paul S. Owen
ee728234ce ahhh, look at the cute wikkle icon
git-svn-id: file:///svn/phpbb/trunk@3723 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-03-25 16:16:45 +00:00
Paul S. Owen
378972cb6b board_email becomes board_contact, board_email is now intended for use in "From:" and "Reply-to:" ... board_contact to be used where a "user facing" contact point is needed, e.g. spam, errors, etc.
git-svn-id: file:///svn/phpbb/trunk@3722 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-03-25 15:02:35 +00:00
Paul S. Owen
652383559f Strangely, changes to language strings ..
git-svn-id: file:///svn/phpbb/trunk@3721 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-03-25 14:23:31 +00:00
Paul S. Owen
c9670f9924 Enable reminder email sending
git-svn-id: file:///svn/phpbb/trunk@3720 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-03-25 14:21:56 +00:00
Paul S. Owen
723a6e9d5b Simplify online user text generation
git-svn-id: file:///svn/phpbb/trunk@3719 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-03-25 14:19:49 +00:00
Paul S. Owen
b0545e7636 Tidy up and simplify emailer class, add generate_board_url function ... note changes to emailer setup! Example will be adm/index.php remind
git-svn-id: file:///svn/phpbb/trunk@3718 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-03-25 14:19:23 +00:00
Paul S. Owen
3d43169b2a Reminder message for admin index
git-svn-id: file:///svn/phpbb/trunk@3717 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-03-25 11:59:36 +00:00
Paul S. Owen
124e9b7cb2 stupid line endings again
git-svn-id: file:///svn/phpbb/trunk@3716 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-03-25 00:38:18 +00:00
Paul S. Owen
996abfe026 Change url for PM
git-svn-id: file:///svn/phpbb/trunk@3715 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-03-25 00:30:55 +00:00
Paul S. Owen
bfc6b77112 hhmm, where did that constant go ...
git-svn-id: file:///svn/phpbb/trunk@3714 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-03-25 00:23:43 +00:00
Paul S. Owen
4fa458baf3 Changed attachment upload path var to "non-dynamic" ... couldn't see a reason as to why it needed to be dynamic, if it must feel free to change it back.
git-svn-id: file:///svn/phpbb/trunk@3713 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-03-25 00:19:58 +00:00
Paul S. Owen
18294c2230 Output total posts/topics
git-svn-id: file:///svn/phpbb/trunk@3712 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-03-25 00:05:28 +00:00
Paul S. Owen
9482bb75ca Suggested change to headers ... seems to work fine on Apache2.
git-svn-id: file:///svn/phpbb/trunk@3711 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-03-24 22:07:26 +00:00
Paul S. Owen
a9425e4f33 Add browser validation
git-svn-id: file:///svn/phpbb/trunk@3710 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-03-24 19:03:32 +00:00
Paul S. Owen
0462beed1d Carriage returns
git-svn-id: file:///svn/phpbb/trunk@3709 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-03-24 19:03:17 +00:00
Paul S. Owen
12f21fee97 Capitalisation, additional of one or two new options, removal of global prune option, addition of stats reset on admin index page
git-svn-id: file:///svn/phpbb/trunk@3708 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-03-24 19:03:16 +00:00
Paul S. Owen
d1494cfd8c Add Id tags
git-svn-id: file:///svn/phpbb/trunk@3707 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-03-24 18:15:26 +00:00
Paul S. Owen
5d091c8c2b Capitalisation
git-svn-id: file:///svn/phpbb/trunk@3706 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-03-24 18:13:22 +00:00
Paul S. Owen
c4007ce1ff Corrected doubled up forbidden_extension id, removed extra line endings
git-svn-id: file:///svn/phpbb/trunk@3704 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-03-23 21:44:38 +00:00
Ludovic Arnaud
590a8f52fa Forgot to permanently delete the old file
git-svn-id: file:///svn/phpbb/trunk@3703 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-03-23 21:18:43 +00:00
Ludovic Arnaud
d00305346e Added images for unapproved and reported items.
git-svn-id: file:///svn/phpbb/trunk@3702 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-03-23 21:17:23 +00:00
Ludovic Arnaud
5f9c1401f2 Corrected image name, added missing group_display field
git-svn-id: file:///svn/phpbb/trunk@3701 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-03-23 21:15:06 +00:00
Paul S. Owen
237daacdf1 Tidy things up a little more
git-svn-id: file:///svn/phpbb/trunk@3700 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-03-23 16:58:29 +00:00
Paul S. Owen
0509c71053 Easy access to some PHP info
git-svn-id: file:///svn/phpbb/trunk@3699 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-03-23 16:18:50 +00:00
Meik Sievertsen
b9c9984955 erm... aspx is forbidden too, reactivate transaction.
git-svn-id: file:///svn/phpbb/trunk@3698 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-03-22 15:55:45 +00:00
Meik Sievertsen
8357b81a1e initial attachment functionality... only posting related (add/delete/edit) and schema. Also added attachment switch to board settings admin.
git-svn-id: file:///svn/phpbb/trunk@3697 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-03-22 15:48:46 +00:00
Meik Sievertsen
73ffe96e2e prepare files, last commit before committing initial attachment functionality - please see thread within development forum.
git-svn-id: file:///svn/phpbb/trunk@3695 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-03-20 13:21:58 +00:00
Paul S. Owen
ab3209af48 oops, missed a bit
git-svn-id: file:///svn/phpbb/trunk@3694 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-03-20 02:33:29 +00:00
Paul S. Owen
4352c59cee Fix login box action
git-svn-id: file:///svn/phpbb/trunk@3693 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-03-20 02:28:30 +00:00
Paul S. Owen
276ea6ced4 Remove debugging stuff
git-svn-id: file:///svn/phpbb/trunk@3692 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-03-20 02:26:04 +00:00
Paul S. Owen
49cbde66d9 oops, I guess this may help ...
git-svn-id: file:///svn/phpbb/trunk@3691 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-03-20 02:25:03 +00:00
Paul S. Owen
08f384157a No longer "MySQL" specific explain
git-svn-id: file:///svn/phpbb/trunk@3690 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-03-20 02:23:46 +00:00
Paul S. Owen
53449e4b9f Some more fudges
git-svn-id: file:///svn/phpbb/trunk@3689 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-03-20 02:23:12 +00:00
Paul S. Owen
115a2cc9e0 And from the flames rose the might phoenix ... well, a little crisp around the edges with the odd missing feather ...
git-svn-id: file:///svn/phpbb/trunk@3688 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-03-20 01:32:57 +00:00
Paul S. Owen
229242acf5 Print entire topic
git-svn-id: file:///svn/phpbb/trunk@3687 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-03-20 01:26:47 +00:00
Paul S. Owen
ab34d6329c Move to sql_query_limit
git-svn-id: file:///svn/phpbb/trunk@3686 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-03-20 01:25:59 +00:00
Paul S. Owen
f9f6cb194d Minor change
git-svn-id: file:///svn/phpbb/trunk@3685 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-03-20 00:33:25 +00:00
Paul S. Owen
507c678514 Add forum image to template vars
git-svn-id: file:///svn/phpbb/trunk@3684 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-03-20 00:31:36 +00:00
Paul S. Owen
a884b9f189 Remove some redundant pruning stuff
git-svn-id: file:///svn/phpbb/trunk@3683 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-03-20 00:30:47 +00:00
Paul S. Owen
cfbb8a10e7 sql char field types must be enclosed in ' rather than "
git-svn-id: file:///svn/phpbb/trunk@3682 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-03-20 00:29:24 +00:00
Paul S. Owen
57a5147d5b Wrong syntax for limit, cockup in sql_escape ...
git-svn-id: file:///svn/phpbb/trunk@3681 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-03-19 21:00:01 +00:00
Paul S. Owen
85c22541c1 Fudge for firebird schema
git-svn-id: file:///svn/phpbb/trunk@3680 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-03-19 20:42:34 +00:00
Paul S. Owen
ac45bff71a Seems to work ...
git-svn-id: file:///svn/phpbb/trunk@3679 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-03-19 20:42:00 +00:00
Ludovic Arnaud
5d323a651e ACM filenames re-prefixed
git-svn-id: file:///svn/phpbb/trunk@3677 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-03-19 02:04:46 +00:00
Ludovic Arnaud
5fde0d061e Desesperatly trying to synchronise my different versions ;)
git-svn-id: file:///svn/phpbb/trunk@3676 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-03-19 01:44:44 +00:00
Paul S. Owen
1a7c52fe19 Possible workaround for affected rows ... must test this
git-svn-id: file:///svn/phpbb/trunk@3673 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-03-18 22:51:22 +00:00
Paul S. Owen
eff4e2e818 Update following move of post count incrementation checks to permissions
git-svn-id: file:///svn/phpbb/trunk@3672 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-03-18 22:47:50 +00:00
Paul S. Owen
286f95c293 Line feeds
git-svn-id: file:///svn/phpbb/trunk@3671 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-03-18 22:24:09 +00:00
Paul S. Owen
b622c51d80 Here I am going on about minimising new includes and I go and create one ... probably better off as a seperate include though than adding ~500 lines of code to session.php
git-svn-id: file:///svn/phpbb/trunk@3670 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-03-18 22:23:08 +00:00
Paul S. Owen
70672802cb Line feeds again ... also wondering if, given what this does it may be better integrated with memberlist?
git-svn-id: file:///svn/phpbb/trunk@3669 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-03-18 17:43:21 +00:00
Paul S. Owen
30d05b9bd2 I keep forgetting changes to line terminators and tortoisecvs 1.3.4+
git-svn-id: file:///svn/phpbb/trunk@3668 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-03-18 17:32:16 +00:00
Paul S. Owen
17ed78c14d Problem with url matching + spaces
git-svn-id: file:///svn/phpbb/trunk@3667 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-03-18 17:24:14 +00:00
Paul S. Owen
9699d62901 Dont' display legend if blank
git-svn-id: file:///svn/phpbb/trunk@3663 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-03-18 15:18:03 +00:00
Paul S. Owen
58b47c8312 Change cache location to root path cache, you can delete the cache/ and its contents from the templates/ directory. Moved cache show, decompile, etc. methods to new admin_ object in functions_admin
git-svn-id: file:///svn/phpbb/trunk@3662 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-03-18 14:58:07 +00:00
Paul S. Owen
d85156d5cd Paul did a whoopsie
git-svn-id: file:///svn/phpbb/trunk@3661 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-03-18 00:17:12 +00:00
Paul S. Owen
df495c30c9 Trying something
git-svn-id: file:///svn/phpbb/trunk@3660 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-03-17 23:06:10 +00:00
Paul S. Owen
f81602d72b It's alive! It's alive! ...
git-svn-id: file:///svn/phpbb/trunk@3659 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-03-17 17:34:20 +00:00
Paul S. Owen
28ed4efed1 Moved to includes/
git-svn-id: file:///svn/phpbb/trunk@3658 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-03-17 11:48:27 +00:00
Paul S. Owen
18b4bf0d05 Moved db include
git-svn-id: file:///svn/phpbb/trunk@3657 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-03-17 10:54:45 +00:00
Paul S. Owen
c345279596 Moved to includes ... since they are included too .. trying to "clean up" structure a little
git-svn-id: file:///svn/phpbb/trunk@3656 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-03-17 10:54:23 +00:00
Paul S. Owen
ad7001c59e Windows carriage returns
git-svn-id: file:///svn/phpbb/trunk@3655 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-03-17 01:59:04 +00:00
Paul S. Owen
abb165fff2 Missing selects ... should make names of these vars more consistent ...
git-svn-id: file:///svn/phpbb/trunk@3654 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-03-17 01:34:14 +00:00
Paul S. Owen
4f6a85e548 Incomplete, intended future support for 2.2
git-svn-id: file:///svn/phpbb/trunk@3653 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-03-17 01:17:50 +00:00
Paul S. Owen
a765dc4402 Add index, remove login
git-svn-id: file:///svn/phpbb/trunk@3652 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-03-17 01:13:57 +00:00
Paul S. Owen
fa7d11ae8e Output group colour legend here too
git-svn-id: file:///svn/phpbb/trunk@3651 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-03-17 00:54:10 +00:00
Paul S. Owen
e975227cff Moved login procedure to a function enabling "inline" login links ... no more "messy" redirects ... install will be broken for now, at least when it comes to redirecting after completion. Moved "front-end" login to ucp.php
git-svn-id: file:///svn/phpbb/trunk@3650 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-03-17 00:53:38 +00:00
Paul S. Owen
391c4bff08 Moved directory
git-svn-id: file:///svn/phpbb/trunk@3648 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-03-13 12:19:56 +00:00
Paul S. Owen
461ae0f7e0 Redirect path changes
git-svn-id: file:///svn/phpbb/trunk@3647 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-03-13 12:18:52 +00:00
Paul S. Owen
8bb5de9861 New directory name
git-svn-id: file:///svn/phpbb/trunk@3646 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-03-13 12:14:48 +00:00
Ludovic Arnaud
9d2989b927 MCP updates. The resync function can now resync 'topic_reported' and 'topic_approved' flags
git-svn-id: file:///svn/phpbb/trunk@3645 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-03-13 01:12:52 +00:00
Ludovic Arnaud
c7440b7668 Added the quickmod var for topic_type switching
git-svn-id: file:///svn/phpbb/trunk@3644 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-03-13 01:06:36 +00:00
Ludovic Arnaud
dc71f0abb7 Please try not to notice.
git-svn-id: file:///svn/phpbb/trunk@3643 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-03-13 01:04:53 +00:00
Ludovic Arnaud
902beb10ef Slightly altered layout of reported/unapproved indicators
git-svn-id: file:///svn/phpbb/trunk@3642 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-03-13 00:45:36 +00:00
Ludovic Arnaud
78d872e530 More strings :]
git-svn-id: file:///svn/phpbb/trunk@3641 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-03-13 00:45:02 +00:00
Ludovic Arnaud
f408ac052d Added indicators for reported and/or unapproved items. Note that moderators with m_approve permission can now read unapproved topics and posts normally.
git-svn-id: file:///svn/phpbb/trunk@3640 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-03-13 00:40:28 +00:00
Ludovic Arnaud
4577cf61d1 Two new images (reported/unapproved items), please update your database. Added blank images as placeholders.
git-svn-id: file:///svn/phpbb/trunk@3639 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-03-13 00:38:42 +00:00
Ludovic Arnaud
c8298ccd51 More capitalization
git-svn-id: file:///svn/phpbb/trunk@3638 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-03-12 23:22:14 +00:00
Ludovic Arnaud
b4fa782d8e D'OH!
(sql cache can expire, now)


git-svn-id: file:///svn/phpbb/trunk@3637 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-03-12 23:20:57 +00:00
Ludovic Arnaud
b4e026844b $lang vars for reported/approved posts and topic
git-svn-id: file:///svn/phpbb/trunk@3636 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-03-12 23:17:04 +00:00
Meik Sievertsen
b5125ea70b Insert [*] when clicking list button (is my approach user friendly ?)
git-svn-id: file:///svn/phpbb/trunk@3635 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-03-12 16:34:40 +00:00
Meik Sievertsen
170534e631 ah... here is the missing email template... why are you not playing with your brothers, now get into this repository, hurry, hurry.
git-svn-id: file:///svn/phpbb/trunk@3634 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-03-12 14:26:37 +00:00
Meik Sievertsen
db1621aaa0 forum and topic notification + poll fixes
git-svn-id: file:///svn/phpbb/trunk@3633 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-03-12 14:21:57 +00:00
Meik Sievertsen
fa005f44ae some posting updates and fixes.
git-svn-id: file:///svn/phpbb/trunk@3631 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-03-10 19:39:50 +00:00
Paul S. Owen
4c4278ac8d Without caching
git-svn-id: file:///svn/phpbb/trunk@3630 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-03-10 18:22:12 +00:00
Paul S. Owen
687c45e26d oops, the idea of hidden groups is that you cannot see who is a member ... duh
git-svn-id: file:///svn/phpbb/trunk@3629 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-03-10 18:20:29 +00:00
Paul S. Owen
c75d5d7bf3 Various additions and fixes
git-svn-id: file:///svn/phpbb/trunk@3628 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-03-10 17:48:08 +00:00
Paul S. Owen
12828d376e Relevant template for moved email form
git-svn-id: file:///svn/phpbb/trunk@3627 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-03-10 16:59:23 +00:00
Paul S. Owen
f13a15d529 Add SMTP port
git-svn-id: file:///svn/phpbb/trunk@3626 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-03-09 16:19:29 +00:00
Paul S. Owen
d15b81a8a3 Email via memberslist
git-svn-id: file:///svn/phpbb/trunk@3625 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-03-09 16:14:50 +00:00
Paul S. Owen
58e755b906 Various cleanups ... no doubt breaking stuff in the process
git-svn-id: file:///svn/phpbb/trunk@3624 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-03-09 16:14:14 +00:00
Paul S. Owen
5cdf2b0b59 Enable per session view online, change layout, potential for links to terms and privacy policy
git-svn-id: file:///svn/phpbb/trunk@3623 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-03-09 16:11:08 +00:00
Paul S. Owen
cd9b3af2b5 Some changes to the returned data format + cleanups
git-svn-id: file:///svn/phpbb/trunk@3622 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-03-09 16:09:37 +00:00
Paul S. Owen
aa718d4a02 Minor schema adjustments, additional/altered config and acl options, added u_ options to basic (initial) group auth setup
git-svn-id: file:///svn/phpbb/trunk@3621 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-03-09 13:37:35 +00:00
Paul S. Owen
2c9ff9686c Updated for usercp_confirm path change
git-svn-id: file:///svn/phpbb/trunk@3620 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-03-09 12:05:06 +00:00
Paul S. Owen
bd2c598436 Moved from includes/ucp ... but still thinking ucp/ would be better in includes/ with all the other modular components
git-svn-id: file:///svn/phpbb/trunk@3619 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-03-09 12:04:36 +00:00
Paul S. Owen
673db9602c Moved to ucp
git-svn-id: file:///svn/phpbb/trunk@3618 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-03-09 12:03:30 +00:00
Paul S. Owen
2cd426a821 Functionality in memberlist.php
git-svn-id: file:///svn/phpbb/trunk@3617 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-03-09 12:01:38 +00:00
Paul S. Owen
7c272665a5 ucp -> memberlist profile link change for viewonline
git-svn-id: file:///svn/phpbb/trunk@3615 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-03-08 22:38:46 +00:00
Paul S. Owen
3d5bdc6c8c Add index to poster_id in posts table
git-svn-id: file:///svn/phpbb/trunk@3614 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-03-08 22:36:17 +00:00
Paul S. Owen
7ffb762b04 Wrong name
git-svn-id: file:///svn/phpbb/trunk@3613 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-03-08 22:11:01 +00:00
Paul S. Owen
a2cccab6af Additional info for profiles
git-svn-id: file:///svn/phpbb/trunk@3612 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-03-08 22:10:24 +00:00
Paul S. Owen
9a7f6f98f5 The first order by is irrelevant, it'll be replaced by the values of the second. Could've sworn I committed this change ... I'm losing it :D
git-svn-id: file:///svn/phpbb/trunk@3611 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-03-08 21:55:55 +00:00
Ludovic Arnaud
575d170365 The last one for today. As of now, sql_query_limit($sql, 0) will _not_ limit the number of rows that are affected.
git-svn-id: file:///svn/phpbb/trunk@3608 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-03-06 03:04:29 +00:00
Ludovic Arnaud
2d52ece84f I didn't do it.
git-svn-id: file:///svn/phpbb/trunk@3607 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-03-06 02:54:11 +00:00
Ludovic Arnaud
4e503c0508 Switched up $total and $offset as per MySQL manual
git-svn-id: file:///svn/phpbb/trunk@3606 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-03-06 02:36:04 +00:00
Ludovic Arnaud
04e9ebb824 Some debug code removed, minor bugfixes.
git-svn-id: file:///svn/phpbb/trunk@3605 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-03-06 02:23:29 +00:00
Ludovic Arnaud
9e9d126a6a More "reporting" stuff, note the very lame warning in viewtopic when a post has been reported.
git-svn-id: file:///svn/phpbb/trunk@3604 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-03-06 02:03:37 +00:00
Ludovic Arnaud
553087d0aa Implementing post reporting. 2 new tables plus an extra field for posts and topics tables.
git-svn-id: file:///svn/phpbb/trunk@3603 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-03-06 01:35:03 +00:00
Ludovic Arnaud
6251ea7130 Change related to the latest form of topics table
git-svn-id: file:///svn/phpbb/trunk@3602 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-03-06 01:33:20 +00:00
Ludovic Arnaud
afdff15fb9 Implementing post reporting
git-svn-id: file:///svn/phpbb/trunk@3601 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-03-06 01:13:44 +00:00
Ludovic Arnaud
7132f97d0a New template var for future use.
git-svn-id: file:///svn/phpbb/trunk@3600 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-03-06 01:08:00 +00:00
Paul S. Owen
799b5fc2de Name change
git-svn-id: file:///svn/phpbb/trunk@3599 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-03-05 01:14:42 +00:00
Paul S. Owen
658f2a4b66 Moved "viewprofile" to memberslist ... consolidation incomplete
git-svn-id: file:///svn/phpbb/trunk@3598 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-03-05 00:50:03 +00:00
Meik Sievertsen
cc827946ef wrong encoding too... no fear, this is your updated file. :)
git-svn-id: file:///svn/phpbb/trunk@3596 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-03-04 18:38:21 +00:00
Meik Sievertsen
b3b0b48f5e wrong encoding. ;)
Hopefully you did an update before commiting the drugs. :D


git-svn-id: file:///svn/phpbb/trunk@3595 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-03-04 18:32:30 +00:00
James Atkinson
e6c31a8787 Ok, this should be the right version...I've got too many windows open...
git-svn-id: file:///svn/phpbb/trunk@3594 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-03-04 18:14:36 +00:00
James Atkinson
77c9d2c275 <crappy british accent>You are the weakest link...goodbye!</crappy british
accent>

(I think I watch too much Game Show Network)


git-svn-id: file:///svn/phpbb/trunk@3593 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-03-04 17:57:01 +00:00
James Atkinson
3c42fb0501 We'll probably be needing this file
git-svn-id: file:///svn/phpbb/trunk@3592 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-03-04 17:55:12 +00:00
James Atkinson
fd629c7a9f Tons of work on the UCP, see my topic in the development forum for more info
on the bigger changes.

Registration should still work, the basic layout of the UCP is also done
with the start on the profile settings area.


git-svn-id: file:///svn/phpbb/trunk@3591 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-03-04 17:52:50 +00:00
Paul S. Owen
c5b9e64505 column size adjust
git-svn-id: file:///svn/phpbb/trunk@3590 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-03-04 16:58:28 +00:00
Paul S. Owen
72225094f6 Sort on cell titles, add rank
git-svn-id: file:///svn/phpbb/trunk@3589 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-03-04 16:49:02 +00:00
Paul S. Owen
5c0e4ca329 Few changes to user level permissions
git-svn-id: file:///svn/phpbb/trunk@3588 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-03-04 14:46:40 +00:00
Meik Sievertsen
87cce70d10 changed back to nl2br (nl2br in PHP >= 4.0.5 is XHTML compatible)
git-svn-id: file:///svn/phpbb/trunk@3584 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-03-02 15:52:46 +00:00
Meik Sievertsen
beb17ef6f2 Added delete-ability to posting...
git-svn-id: file:///svn/phpbb/trunk@3582 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-03-02 13:32:53 +00:00
Paul S. Owen
bc18f53071 Search for
git-svn-id: file:///svn/phpbb/trunk@3579 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-02-28 14:35:42 +00:00
Paul S. Owen
d4817bebbf Action for searchbox ... obviously doesn't work at present since search is yet to be overhauled ....
git-svn-id: file:///svn/phpbb/trunk@3578 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-02-28 14:35:35 +00:00
Paul S. Owen
4cba250b14 A box for searching ... pretty obvious I think ... unless you're Pit of course
git-svn-id: file:///svn/phpbb/trunk@3577 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-02-28 14:35:06 +00:00
Paul S. Owen
7116eb2ca9 get->post
git-svn-id: file:///svn/phpbb/trunk@3576 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-02-28 14:34:42 +00:00
Meik Sievertsen
e42a20b32e minor changes, re-added topicreview
git-svn-id: file:///svn/phpbb/trunk@3575 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-02-28 12:57:10 +00:00
Ludovic Arnaud
b5031760af Fixed some... hum... typos. Updated the resync function to always fill the first_poster_name and last_poster_name fields.
git-svn-id: file:///svn/phpbb/trunk@3574 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-02-28 01:34:46 +00:00
Ludovic Arnaud
04b00375fe Fixed a very potential cross-site scripting issue that would have for sure ended up on security sites.
git-svn-id: file:///svn/phpbb/trunk@3573 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-02-28 01:13:08 +00:00
Meik Sievertsen
a2889a6c5f ok, a slightly modified posting.php, some fixes too. topic-review and polls will re-appear shortly. Posting is a little bit screwed up now... will get fixed soon too. posting new topics/reply/quote/preview and edit works partially (the post get stored. ;)) This commit is to show the other developers the changes. ;)
git-svn-id: file:///svn/phpbb/trunk@3572 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-02-27 23:37:02 +00:00
Meik Sievertsen
d4884b0c02 display language variables correctly if template is re-cached.
git-svn-id: file:///svn/phpbb/trunk@3571 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-02-27 20:14:08 +00:00
Meik Sievertsen
773093a5ef posts tables are now merged.
git-svn-id: file:///svn/phpbb/trunk@3570 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-02-27 17:27:58 +00:00
Paul S. Owen
6735ab4882 sorting select name changes
git-svn-id: file:///svn/phpbb/trunk@3569 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-02-27 16:14:46 +00:00
Paul S. Owen
0e711275b5 is_numeric rather than is_int ... any troubles let me know
git-svn-id: file:///svn/phpbb/trunk@3568 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-02-27 16:14:25 +00:00
Paul S. Owen
66062783ce Potential (display) support for global announcements ... various issues still need to addressed wrt posting/replying/etc.
git-svn-id: file:///svn/phpbb/trunk@3567 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-02-27 15:58:07 +00:00
Paul S. Owen
ce4e06811c Some sort order changes and other minor changes to viewtopic/viewforum
git-svn-id: file:///svn/phpbb/trunk@3566 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-02-27 14:27:21 +00:00
Paul S. Owen
dfe581146f Some relatively minor stylistic cleanups ... removed first sort by select HTML, values there will be overwritten by the second sort select since they have the same names
git-svn-id: file:///svn/phpbb/trunk@3565 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-02-27 14:25:23 +00:00
Meik Sievertsen
ff93d24821 ok, i am commiting this one, before i am going to disable main posting parts for revamping... i will commit the changes when posting works again then.
git-svn-id: file:///svn/phpbb/trunk@3563 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-02-27 12:56:36 +00:00
Ludovic Arnaud
d128d5d800 "Playing with MCP" part II - now that's the correct version. Good night ;)
git-svn-id: file:///svn/phpbb/trunk@3562 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-02-27 03:43:11 +00:00
Ludovic Arnaud
5a12bdc77d Fixed pagination when posts aren't ordered by time. Modified the link to MCP to display the same range of posts as viewtopic.
git-svn-id: file:///svn/phpbb/trunk@3561 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-02-27 03:41:34 +00:00
Ludovic Arnaud
9833d0f012 Still playing around with permissions in MCP - should be fixed shortly
git-svn-id: file:///svn/phpbb/trunk@3560 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-02-27 03:26:33 +00:00
Ludovic Arnaud
f334d54feb Alternate syntax for acl_gets()
git-svn-id: file:///svn/phpbb/trunk@3559 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-02-27 03:22:27 +00:00
Paul S. Owen
1482ed4896 You'd think having spent as long as I have working on the session code I'd know how to use it ... well not in my universe ...
git-svn-id: file:///svn/phpbb/trunk@3558 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-02-26 23:31:59 +00:00
Paul S. Owen
7e72e538b2 Hope James doesn't mind but I've done some playing to get basic registration working
git-svn-id: file:///svn/phpbb/trunk@3557 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-02-26 23:28:27 +00:00
Ludovic Arnaud
b9e52c5f0f Adapted for merged posts tables
git-svn-id: file:///svn/phpbb/trunk@3556 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-02-26 21:32:32 +00:00
Paul S. Owen
9961eb789d Add forum_id to topicreview
git-svn-id: file:///svn/phpbb/trunk@3555 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-02-26 20:53:31 +00:00
Ludovic Arnaud
a66a762684 MCP update: topic_view. Posts can be ordered (for display) just like in viewtopic. Number of posts per page can be modified at will.
Note that this version will only work with my current copy of mysql dbl.


git-svn-id: file:///svn/phpbb/trunk@3554 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-02-26 20:09:14 +00:00
Meik Sievertsen
541667f440 some changes... mainly permission related. Please note the intval($forum_id) at viewtopic, somehow the auth class did not identified it while generating the forum rules.
git-svn-id: file:///svn/phpbb/trunk@3553 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-02-26 19:53:10 +00:00
Paul S. Owen
c3200c107f viewonline lang updates
git-svn-id: file:///svn/phpbb/trunk@3552 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-02-26 19:30:01 +00:00
Paul S. Owen
fa8fd70cbc Changes related to altered this->page content
git-svn-id: file:///svn/phpbb/trunk@3551 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-02-26 19:29:22 +00:00
Paul S. Owen
c190ad2370 Reduce size of stored page info ... hopefully this won't impact things unecessarily on busy forums.
git-svn-id: file:///svn/phpbb/trunk@3550 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-02-26 19:18:09 +00:00
Paul S. Owen
2dee304b0e oops, simple case of "idiotitis paulicus" ... be gone double announcements
git-svn-id: file:///svn/phpbb/trunk@3549 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-02-26 18:54:31 +00:00
Paul S. Owen
ea1b4dcd14 More updates ... this is still a mess :D
git-svn-id: file:///svn/phpbb/trunk@3548 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-02-26 17:16:30 +00:00
Paul S. Owen
f684613815 Allow style designer the option of seperating off announcements to make them more prominent ... note some changes in here also relate to potential solutions for global announcements, viewtopic has not been commited yet
git-svn-id: file:///svn/phpbb/trunk@3547 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-02-26 17:16:05 +00:00
Paul S. Owen
72c44126e6 Allow style designer the option of seperating off announcements to make them more prominent
git-svn-id: file:///svn/phpbb/trunk@3546 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-02-26 17:15:38 +00:00
Paul S. Owen
46e20bf2d1 Minor alteration
git-svn-id: file:///svn/phpbb/trunk@3545 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-02-26 16:01:28 +00:00
Meik Sievertsen
8b9ea6feb4 hmm, wasn't aware of changed something here. strange.
git-svn-id: file:///svn/phpbb/trunk@3544 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-02-26 13:24:41 +00:00
Meik Sievertsen
d95588823a only minor changes, some notes, played around with the code... nothing special.
git-svn-id: file:///svn/phpbb/trunk@3543 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-02-26 13:17:45 +00:00
Paul S. Owen
e295cab304 What a shock
git-svn-id: file:///svn/phpbb/trunk@3540 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-02-26 01:47:55 +00:00
Paul S. Owen
98c7975cc6 remove debug
git-svn-id: file:///svn/phpbb/trunk@3539 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-02-26 01:41:59 +00:00
Paul S. Owen
5b0d02baa2 Generally related to post tables merge
git-svn-id: file:///svn/phpbb/trunk@3538 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-02-26 00:37:43 +00:00
Paul S. Owen
dca34f5db9 Merge post and post_text tables ... denormalising of topics and forums should result in minimal fx on speed in 2.2
git-svn-id: file:///svn/phpbb/trunk@3537 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-02-26 00:36:48 +00:00
Paul S. Owen
108dbfe382 Now, you just knew this was coming didn't you ... come on, admit it, you did ...
git-svn-id: file:///svn/phpbb/trunk@3536 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-02-26 00:36:02 +00:00
Paul S. Owen
7d01f3202d Merge the post tables, clean it and the topic table up ... note that this doesn't fail gracefully ... it'll be merged into the update script in due course, this is a rough and ready temporary solution.
git-svn-id: file:///svn/phpbb/trunk@3535 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-02-26 00:30:10 +00:00
Paul S. Owen
09e99bf5f4 Updates to rules, replace accidently (oops) removed cat cell in viewtopic
git-svn-id: file:///svn/phpbb/trunk@3532 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-02-25 18:33:24 +00:00
Paul S. Owen
1aa274d1e7 Updates of various types, sizes, colours and accessories ...
git-svn-id: file:///svn/phpbb/trunk@3531 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-02-25 18:20:33 +00:00
Paul S. Owen
02bcd7e2e1 Various updates
git-svn-id: file:///svn/phpbb/trunk@3530 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-02-25 18:19:34 +00:00
Meik Sievertsen
46267dce88 added extension loading. please note the additional variable '
$load_extensions = "";' within config.php.


git-svn-id: file:///svn/phpbb/trunk@3528 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-02-25 16:49:45 +00:00
Paul S. Owen
74c6eec725 tiny weeny little change
git-svn-id: file:///svn/phpbb/trunk@3527 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-02-25 16:49:35 +00:00
Paul S. Owen
27b6d7582a I just can't help playing with it ... I must see a doctor at once
git-svn-id: file:///svn/phpbb/trunk@3526 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-02-25 16:09:39 +00:00
Paul S. Owen
3e440ce290 May be useful
git-svn-id: file:///svn/phpbb/trunk@3524 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-02-25 15:48:16 +00:00
Paul S. Owen
ca791961aa Not relevant to the 2.2 branch
git-svn-id: file:///svn/phpbb/trunk@3523 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-02-25 15:46:36 +00:00
Ludovic Arnaud
1e5de88c6f Added topic_id field to the log_moderator table
git-svn-id: file:///svn/phpbb/trunk@3521 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-02-24 23:51:26 +00:00
Ludovic Arnaud
8c1004ad85 Various MCP updates
git-svn-id: file:///svn/phpbb/trunk@3520 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-02-24 23:50:15 +00:00
Paul S. Owen
ee9a18771b internal html compliance updates
git-svn-id: file:///svn/phpbb/trunk@3519 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-02-23 21:02:39 +00:00
Paul S. Owen
a0d8aa693a stupid block level spacing ...
git-svn-id: file:///svn/phpbb/trunk@3518 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-02-23 20:58:24 +00:00
Paul S. Owen
30f4a933a0 Doubled alt on smiley html
git-svn-id: file:///svn/phpbb/trunk@3517 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-02-23 20:34:36 +00:00
Paul S. Owen
b2779edb66 HTML 4.01 compliance
git-svn-id: file:///svn/phpbb/trunk@3516 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-02-23 20:30:08 +00:00
Ludovic Arnaud
f7858cb9a5 Various updates
git-svn-id: file:///svn/phpbb/trunk@3514 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-02-23 08:19:54 +00:00
Paul S. Owen
cd9b46578d HTML4.01 compliance
git-svn-id: file:///svn/phpbb/trunk@3512 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-02-22 22:03:43 +00:00
Paul S. Owen
3b6f32fc6f file format probs
git-svn-id: file:///svn/phpbb/trunk@3511 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-02-22 17:28:08 +00:00
Paul S. Owen
a1f4ba0ed3 Find user by posted IP
git-svn-id: file:///svn/phpbb/trunk@3510 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-02-22 17:18:44 +00:00
Paul S. Owen
5fc4d66994 Add ANONYMOUS check for user_id
git-svn-id: file:///svn/phpbb/trunk@3509 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-02-22 16:09:34 +00:00
Paul S. Owen
e64b91ec32 More minor changes ...
git-svn-id: file:///svn/phpbb/trunk@3508 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-02-22 15:01:55 +00:00
Paul S. Owen
826ce9abf8 pooh, the w3c validator is down
git-svn-id: file:///svn/phpbb/trunk@3507 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-02-22 14:53:30 +00:00
Paul S. Owen
a5525d4b6b this one has a tendency to work better ...
git-svn-id: file:///svn/phpbb/trunk@3506 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-02-22 14:48:15 +00:00
Paul S. Owen
e2bd5cad67 minor changes ... mainly for Moz
git-svn-id: file:///svn/phpbb/trunk@3505 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-02-22 14:39:49 +00:00
Paul S. Owen
7ce7400bc6 Various other changes ... hopefully Ashe won't kill me for playing with the new mcp styles
git-svn-id: file:///svn/phpbb/trunk@3504 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-02-22 14:00:00 +00:00
Paul S. Owen
904931d706 Updates
git-svn-id: file:///svn/phpbb/trunk@3503 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-02-22 00:48:06 +00:00
Paul S. Owen
ec6a5740bf Use different folder images for posted to topics
git-svn-id: file:///svn/phpbb/trunk@3502 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-02-21 19:33:57 +00:00
Paul S. Owen
60a18eb9d6 New images ... drop your old table and re-create it, dumping the imageset data from the basic file into the resulting tables
git-svn-id: file:///svn/phpbb/trunk@3501 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-02-21 19:32:46 +00:00
Paul S. Owen
143e5db726 right matte
git-svn-id: file:///svn/phpbb/trunk@3500 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-02-21 19:01:45 +00:00
Paul S. Owen
f92fdc89a8 Doing this wasn't fun having completely forgotten how imageready stuff works ...
git-svn-id: file:///svn/phpbb/trunk@3499 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-02-21 19:00:48 +00:00
Paul S. Owen
c9d247a9a0 more updates
git-svn-id: file:///svn/phpbb/trunk@3498 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-02-21 17:51:38 +00:00
Paul S. Owen
d8268e0060 possible future use
git-svn-id: file:///svn/phpbb/trunk@3497 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-02-21 17:16:03 +00:00
Paul S. Owen
9de790c416 Darken links slightly
git-svn-id: file:///svn/phpbb/trunk@3496 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-02-21 14:40:13 +00:00
Paul S. Owen
24052a4fca More doubled up class defns
git-svn-id: file:///svn/phpbb/trunk@3495 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-02-21 14:23:31 +00:00
Paul S. Owen
c87ced82a1 Minor change to titles
git-svn-id: file:///svn/phpbb/trunk@3494 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-02-21 14:15:52 +00:00
Paul S. Owen
9bc54134c3 More lang string case changes
git-svn-id: file:///svn/phpbb/trunk@3493 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-02-21 14:07:13 +00:00
Paul S. Owen
2a8b3e11ab Without the debug stuff this time ...
git-svn-id: file:///svn/phpbb/trunk@3492 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-02-21 13:30:45 +00:00
Paul S. Owen
d2a016659d Wasn't grabbing appropriate user_id for given username entries
git-svn-id: file:///svn/phpbb/trunk@3491 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-02-21 13:30:19 +00:00
Paul S. Owen
7c96e14e76 More ANONYMOUS changes
git-svn-id: file:///svn/phpbb/trunk@3489 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-02-21 13:17:40 +00:00
Paul S. Owen
f3a3543476 Check for value of ANONYMOUS
git-svn-id: file:///svn/phpbb/trunk@3488 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-02-21 13:13:05 +00:00
Paul S. Owen
345b521b47 Updated to remove row color/class assignments
git-svn-id: file:///svn/phpbb/trunk@3487 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-02-21 12:40:23 +00:00
Paul S. Owen
5298c13d46 me again
git-svn-id: file:///svn/phpbb/trunk@3486 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-02-21 12:40:05 +00:00
Paul S. Owen
62a311d401 You get the idea ...
git-svn-id: file:///svn/phpbb/trunk@3485 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-02-21 12:16:51 +00:00
Paul S. Owen
983c50cb17 Altered theme entry ... delete your existing entry and replace with this
git-svn-id: file:///svn/phpbb/trunk@3484 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-02-21 11:49:27 +00:00
Paul S. Owen
1bcbac70c3 Updates
git-svn-id: file:///svn/phpbb/trunk@3483 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-02-21 11:46:19 +00:00
Paul S. Owen
411168e85a workaround for Mozilla 1.3b (at least) problems with rendering font: definitions
git-svn-id: file:///svn/phpbb/trunk@3482 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-02-21 11:38:45 +00:00
Ludovic Arnaud
d33b04ae6b Work is in progress on MCP. Resync function now takes into account subforums.
Topics can hopefully be moved. A hell lot of notes have been added.


git-svn-id: file:///svn/phpbb/trunk@3480 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-02-21 01:54:30 +00:00
Ludovic Arnaud
0101c669cc Renamed some functions in cache manager, now unloads vars properly before the page is output.
git-svn-id: file:///svn/phpbb/trunk@3479 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-02-21 01:51:46 +00:00
Paul S. Owen
389095086d I do realise this looks rather dodgy on Mozilla ... and that this isn't getting 2.2 written ... but hey, writting one more line of code at present will result in me personally expelling Saddam Hussein from Iraq, who needs the paras when you've got 2.2 ...
git-svn-id: file:///svn/phpbb/trunk@3478 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-02-20 23:53:47 +00:00
Paul S. Owen
dc35cd40c1 If I keep playing with it ... I'll go blind ...
git-svn-id: file:///svn/phpbb/trunk@3477 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-02-20 17:41:26 +00:00
Paul S. Owen
4cfb496ba2 playing some more
git-svn-id: file:///svn/phpbb/trunk@3476 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-02-20 17:35:35 +00:00
Paul S. Owen
e0f1db2e55 playing
git-svn-id: file:///svn/phpbb/trunk@3475 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-02-20 17:15:35 +00:00
Paul S. Owen
c3d87feaba bye bye
git-svn-id: file:///svn/phpbb/trunk@3474 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-02-20 17:15:07 +00:00
Paul S. Owen
e4c35ab877 Arial'ified the button text
git-svn-id: file:///svn/phpbb/trunk@3473 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-02-20 16:56:33 +00:00
Paul S. Owen
33441af23f Could've sworn I commited this change
git-svn-id: file:///svn/phpbb/trunk@3472 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-02-20 14:11:53 +00:00
Ludovic Arnaud
f2bc043b38 Deleting posts now actually works and so does topics sync'ing.
Added the ability to manual resync topics.


git-svn-id: file:///svn/phpbb/trunk@3471 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-02-17 06:24:42 +00:00
Ludovic Arnaud
b8fdc39afd Reverse the reversal.
git-svn-id: file:///svn/phpbb/trunk@3470 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-02-17 06:23:30 +00:00
Ludovic Arnaud
83c605a6e2 More capitalised lang strings, fixed some unset or incorrect variables
git-svn-id: file:///svn/phpbb/trunk@3469 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-02-17 06:20:41 +00:00
Paul S. Owen
615e676b02 Basic ability to add users to group and group moderators
git-svn-id: file:///svn/phpbb/trunk@3468 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-02-11 17:12:52 +00:00
Paul S. Owen
28a01da9a4 Add acl option for denying user/group post count incrementing in a given forum
git-svn-id: file:///svn/phpbb/trunk@3467 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-02-11 16:24:58 +00:00
Paul S. Owen
02e86186fb insert usernames into named form rather than via its numeric index
git-svn-id: file:///svn/phpbb/trunk@3466 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-02-11 15:55:05 +00:00
Paul S. Owen
2a411523a9 missing global auth
git-svn-id: file:///svn/phpbb/trunk@3463 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-02-07 18:27:15 +00:00
Ludovic Arnaud
660bcb0636 MCP update: topic selection for merge should now work... better
git-svn-id: file:///svn/phpbb/trunk@3462 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-02-07 01:18:02 +00:00
Ludovic Arnaud
cab4c3c9d1 MCP update: now it can delete topics
git-svn-id: file:///svn/phpbb/trunk@3461 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-02-07 01:01:50 +00:00
Paul S. Owen
9c19f50378 oopsie in user permission settings
git-svn-id: file:///svn/phpbb/trunk@3460 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-02-06 14:54:20 +00:00
Ludovic Arnaud
bb30927fdf Tweaking around the merge interface
git-svn-id: file:///svn/phpbb/trunk@3459 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-02-06 03:43:25 +00:00
Ludovic Arnaud
44cd06a722 Very first preimplementation of the alpha version of the still not working new version of Moderator CP. (did I mention it wasn't ready yet?)
git-svn-id: file:///svn/phpbb/trunk@3458 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-02-06 03:30:32 +00:00
Ludovic Arnaud
a870f28609 Small modification I wanted to commit before I get too much desynch'ed
git-svn-id: file:///svn/phpbb/trunk@3457 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-02-06 00:24:04 +00:00
Paul S. Owen
0cbcd2467c Listing of users
git-svn-id: file:///svn/phpbb/trunk@3456 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-02-05 17:40:46 +00:00
Paul S. Owen
e0a71f56ce Group related updates
git-svn-id: file:///svn/phpbb/trunk@3455 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-02-05 15:56:25 +00:00
Paul S. Owen
a6bf34acf6 Timezone issue ... perhaps this field should become a var/char ...
git-svn-id: file:///svn/phpbb/trunk@3454 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-02-05 15:55:55 +00:00
Paul S. Owen
65f8828fbb test group wide colour set
git-svn-id: file:///svn/phpbb/trunk@3452 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-02-04 16:28:03 +00:00
Paul S. Owen
0ffd0cc072 Minor changes
git-svn-id: file:///svn/phpbb/trunk@3451 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-02-04 15:50:52 +00:00
Paul S. Owen
cb57724972 couple new changes
git-svn-id: file:///svn/phpbb/trunk@3450 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-02-04 14:58:09 +00:00
Paul S. Owen
cdbb2931f0 websafe colour swatch
git-svn-id: file:///svn/phpbb/trunk@3449 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-02-04 14:57:56 +00:00
Paul S. Owen
7203dc2471 Another conditional and "special group" lang output
git-svn-id: file:///svn/phpbb/trunk@3448 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-01-31 15:46:57 +00:00
Paul S. Owen
849285d9eb forgot conditional on group_type
git-svn-id: file:///svn/phpbb/trunk@3447 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-01-31 15:43:29 +00:00
Paul S. Owen
1fe3a6a206 Guest -> GUEST
git-svn-id: file:///svn/phpbb/trunk@3446 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-01-31 15:40:58 +00:00
Paul S. Owen
a9f10f7df9 Don't output topic icon column for forum if topic icons aren't enabled for it
git-svn-id: file:///svn/phpbb/trunk@3445 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-01-31 15:40:45 +00:00
Paul S. Owen
2aca0f5e15 S_TOPIC_ICON output to indicate whether topic/post icons are enabled for this forum
git-svn-id: file:///svn/phpbb/trunk@3444 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-01-31 15:40:34 +00:00
Paul S. Owen
96e419d36e Add new group type, GROUP_FREE for "freely open"
git-svn-id: file:///svn/phpbb/trunk@3443 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-01-31 15:39:54 +00:00
Paul S. Owen
4eb55d6689 Changes mainly related to group admin updates ... added -13 +13 to timezone listing
git-svn-id: file:///svn/phpbb/trunk@3442 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-01-31 15:39:34 +00:00
Paul S. Owen
ad19326d39 Remove '<select ...' from language, timezone and style option list generation, change is_dir (which doesn't always work) to is_file, etc. introduce root_path to language option list gen
git-svn-id: file:///svn/phpbb/trunk@3441 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-01-31 15:39:07 +00:00
Paul S. Owen
70cd310197 Some initial re-working ...
git-svn-id: file:///svn/phpbb/trunk@3440 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-01-31 15:38:13 +00:00
Ludovic Arnaud
21ecf31419 I think we needed it anyway ;)
git-svn-id: file:///svn/phpbb/trunk@3439 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-01-31 02:14:48 +00:00
Ludovic Arnaud
2e20478640 Use array_shift to fetch cached rows.
git-svn-id: file:///svn/phpbb/trunk@3438 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-01-31 02:13:12 +00:00
Ludovic Arnaud
dc26ed5960 Do not display table headers when no subforum is shown
git-svn-id: file:///svn/phpbb/trunk@3437 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-01-31 02:11:38 +00:00
Ludovic Arnaud
5b0315305f I thought I had committed this already :-/
(fixed slashing of data, added file locking)


git-svn-id: file:///svn/phpbb/trunk@3436 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-01-31 01:43:09 +00:00
Paul S. Owen
1c391dc290 Some case changes ... just for SHS`
git-svn-id: file:///svn/phpbb/trunk@3435 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-01-30 22:24:30 +00:00
James Atkinson
1e1629fb15 Added UCP relevent lines and some capilization
git-svn-id: file:///svn/phpbb/trunk@3434 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-01-30 20:07:48 +00:00
James Atkinson
b1d7522d06 Minor changes, added visual confirmation stuff to mysql_basic and changed
user_avatar_type to null since avatars arn't used in registartion.


git-svn-id: file:///svn/phpbb/trunk@3433 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-01-30 20:06:17 +00:00
James Atkinson
3730697f18 Aded visual confirmation shtuff
git-svn-id: file:///svn/phpbb/trunk@3432 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-01-30 20:05:01 +00:00
James Atkinson
4022948cc5 This is the main UCP interface, handles passing off to registartion and
viewprofile.


git-svn-id: file:///svn/phpbb/trunk@3431 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-01-30 20:04:21 +00:00
James Atkinson
a0d0d1da78 Changes for UCP and registration, pretty minor overall. Fixed emailer to use
trigger_error insted of message_die.

emailer still needs some clean-up


git-svn-id: file:///svn/phpbb/trunk@3430 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-01-30 20:02:09 +00:00
James Atkinson
83e97693a4 Visual confirmation, and UCP module handler
git-svn-id: file:///svn/phpbb/trunk@3429 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-01-30 19:58:18 +00:00
James Atkinson
da919a3e45 Moved files to /ucp
git-svn-id: file:///svn/phpbb/trunk@3428 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-01-30 19:57:45 +00:00
James Atkinson
2b9b88f251 Moved user cp files to /ucp insted of includes/ucp, easier to handle this
way with phudo-module system


git-svn-id: file:///svn/phpbb/trunk@3427 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-01-30 19:57:19 +00:00
James Atkinson
2e64f1aea7 Beginnings of the UCP, here are the templates.
git-svn-id: file:///svn/phpbb/trunk@3426 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-01-30 19:50:19 +00:00
Paul S. Owen
c13fd394c8 Add user acl options for changing to own username colouration or group colouration
git-svn-id: file:///svn/phpbb/trunk@3425 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-01-30 19:05:41 +00:00
Paul S. Owen
1ec02ec3f3 Ooops, full list when editing ...
git-svn-id: file:///svn/phpbb/trunk@3423 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-01-30 16:19:20 +00:00
Paul S. Owen
8ee977f1d1 Case changes, fix forum_id in nav, fix forum_id in posting success msg
git-svn-id: file:///svn/phpbb/trunk@3422 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-01-30 15:54:27 +00:00
Paul S. Owen
87cd557369 default dirs
git-svn-id: file:///svn/phpbb/trunk@3420 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-01-30 15:32:30 +00:00
Paul S. Owen
c42cb7b212 nosey
git-svn-id: file:///svn/phpbb/trunk@3419 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-01-30 15:29:25 +00:00
Paul S. Owen
e50c490ae7 Destroy cache on import
git-svn-id: file:///svn/phpbb/trunk@3418 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-01-30 15:20:23 +00:00
Paul S. Owen
d5f80d7215 nosey!
git-svn-id: file:///svn/phpbb/trunk@3417 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-01-30 15:17:08 +00:00
Paul S. Owen
3e605446ff recursive add/import of icons/smilies/paks, reset topic/post icon_id's when deleting icons
git-svn-id: file:///svn/phpbb/trunk@3416 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-01-30 15:15:25 +00:00
Paul S. Owen
1cafc63b2f Left over leading /
git-svn-id: file:///svn/phpbb/trunk@3415 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-01-30 15:04:04 +00:00
Paul S. Owen
8f28bf8665 Probably "work" better without my own prefix ...
git-svn-id: file:///svn/phpbb/trunk@3414 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-01-30 14:59:18 +00:00
Paul S. Owen
8a61f56a22 A few demo icons
git-svn-id: file:///svn/phpbb/trunk@3413 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-01-30 14:58:48 +00:00
Paul S. Owen
7dd294296c These are all by Daz ( Darren Burnhill ) ... see http://www.forumimages.com/ for additional material, styles and images
git-svn-id: file:///svn/phpbb/trunk@3412 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-01-30 14:45:34 +00:00
Paul S. Owen
af765caefe oops
git-svn-id: file:///svn/phpbb/trunk@3409 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-01-29 23:24:36 +00:00
Paul S. Owen
238679ad71 other "oversights"
git-svn-id: file:///svn/phpbb/trunk@3408 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-01-29 23:21:50 +00:00
Paul S. Owen
dd1187b6c6 Double escaping ....
git-svn-id: file:///svn/phpbb/trunk@3407 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-01-29 23:14:34 +00:00
Paul S. Owen
a1ddf8e73b smilies check incorrect
git-svn-id: file:///svn/phpbb/trunk@3406 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-01-29 19:03:58 +00:00
Paul S. Owen
a7ee692e26 Hold on everyone, I forgot to give out the idiot homework ...
git-svn-id: file:///svn/phpbb/trunk@3405 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-01-29 18:49:43 +00:00
Paul S. Owen
8571f0ba90 And here ends the idiot lesson for today ... part 2 : How to screw up the admin panel will begin tomorrow
git-svn-id: file:///svn/phpbb/trunk@3404 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-01-29 18:36:26 +00:00
Paul S. Owen
09d4e7cf7c NOT NULL when should be NULL, doubled up a_event
git-svn-id: file:///svn/phpbb/trunk@3403 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-01-29 18:16:48 +00:00
Paul S. Owen
6c4096c67b 'test' logging action - locked topics
git-svn-id: file:///svn/phpbb/trunk@3402 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-01-29 17:46:02 +00:00
Paul S. Owen
bb93945423 Move logging functions, change name, add mode + lang var case changes
git-svn-id: file:///svn/phpbb/trunk@3401 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-01-29 17:45:34 +00:00
Paul S. Owen
bcd4581f77 More case changing but 'test' mod logging mesg
git-svn-id: file:///svn/phpbb/trunk@3400 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-01-29 17:44:58 +00:00
Paul S. Owen
75d35987e5 Move logging functions
git-svn-id: file:///svn/phpbb/trunk@3399 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-01-29 17:44:22 +00:00
Paul S. Owen
777717dd16 Some tinkering ... clear your prefetch (user_permissions) fields ...
git-svn-id: file:///svn/phpbb/trunk@3398 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-01-29 16:12:21 +00:00
Paul S. Owen
4d761a22d8 Incorrect acl parameters
git-svn-id: file:///svn/phpbb/trunk@3397 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-01-29 14:30:15 +00:00
Paul S. Owen
ba6a3c0139 Check for display set when outputting icons
git-svn-id: file:///svn/phpbb/trunk@3396 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-01-28 20:53:41 +00:00
Paul S. Owen
043d45c357 Missing cache save from page_footer() + unecessary cache update for word censors
git-svn-id: file:///svn/phpbb/trunk@3395 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-01-28 20:45:42 +00:00
Paul S. Owen
4ce762b83b Added global for phpbb_root_path to acm constructor
git-svn-id: file:///svn/phpbb/trunk@3394 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-01-28 20:44:30 +00:00
Paul S. Owen
93f57ce29c wrong case for lang var
git-svn-id: file:///svn/phpbb/trunk@3393 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-01-28 20:40:35 +00:00
Paul S. Owen
957a8eaf4b More admin related updates
git-svn-id: file:///svn/phpbb/trunk@3392 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-01-28 20:21:46 +00:00
Paul S. Owen
69eb24394a More case changing, hard coding of HTML, etc.
git-svn-id: file:///svn/phpbb/trunk@3391 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-01-28 20:21:34 +00:00
Paul S. Owen
f522f21240 Minor mods + lang var case changes
git-svn-id: file:///svn/phpbb/trunk@3390 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-01-28 18:55:54 +00:00
Paul S. Owen
06af965743 Minor cosmetic change to display of ban reason/length
git-svn-id: file:///svn/phpbb/trunk@3389 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-01-28 18:48:57 +00:00
Paul S. Owen
3c8b03e50e I tink I taw another bluudy error ... I did! I did see another bluudy error
git-svn-id: file:///svn/phpbb/trunk@3388 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-01-28 18:36:20 +00:00
Paul S. Owen
d8f4b656ae message_die remained ...
git-svn-id: file:///svn/phpbb/trunk@3387 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-01-28 18:32:58 +00:00
Paul S. Owen
7a39eba485 doh, changed file name forgot to change within source ...
git-svn-id: file:///svn/phpbb/trunk@3386 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-01-28 18:21:32 +00:00
Paul S. Owen
3c978b8d99 Doubled up on SMILE to
git-svn-id: file:///svn/phpbb/trunk@3385 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-01-28 18:18:57 +00:00
Paul S. Owen
676c7319dd oops, doubled up on ICONS
git-svn-id: file:///svn/phpbb/trunk@3384 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-01-28 18:18:08 +00:00
Paul S. Owen
1c1648e394 Slight change to obtain_icon sql
git-svn-id: file:///svn/phpbb/trunk@3383 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-01-28 18:16:53 +00:00
Paul S. Owen
d68426705a Icon/smilies updates
git-svn-id: file:///svn/phpbb/trunk@3382 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-01-28 18:16:10 +00:00
Paul S. Owen
c83052c7d1 Note the change to smilies_id -> smile_id + additional fields for icons table
git-svn-id: file:///svn/phpbb/trunk@3381 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-01-28 18:15:56 +00:00
Paul S. Owen
aa1045dea2 phew, lucky I remembered I just changed the name and enabled icon admin functions ...
git-svn-id: file:///svn/phpbb/trunk@3380 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-01-28 18:15:18 +00:00
Paul S. Owen
811b6d10d1 Oh gawd now I really didn't want to do that ...
git-svn-id: file:///svn/phpbb/trunk@3379 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-01-28 18:13:55 +00:00
Paul S. Owen
fbf19cae45 More case changes
git-svn-id: file:///svn/phpbb/trunk@3377 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-01-27 22:08:47 +00:00
Paul S. Owen
0752dfb52a More case change updates
git-svn-id: file:///svn/phpbb/trunk@3376 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-01-27 22:04:53 +00:00
Paul S. Owen
42ad34f513 Minor change to markup
git-svn-id: file:///svn/phpbb/trunk@3375 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-01-27 22:01:38 +00:00
Paul S. Owen
cc8e77a837 Various changes and fixes
git-svn-id: file:///svn/phpbb/trunk@3374 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-01-27 22:00:32 +00:00
Paul S. Owen
07c084b91e More case changing + message_die to trigger_error + show image on front end listing
git-svn-id: file:///svn/phpbb/trunk@3373 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-01-27 19:02:33 +00:00
Paul S. Owen
f65065e98c case change
git-svn-id: file:///svn/phpbb/trunk@3372 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-01-27 18:50:22 +00:00
Paul S. Owen
4243e02c6a Third time lucky ...
git-svn-id: file:///svn/phpbb/trunk@3371 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-01-27 18:42:21 +00:00
Paul S. Owen
ba53bd0732 Wrong var name for cache
git-svn-id: file:///svn/phpbb/trunk@3370 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-01-27 18:41:22 +00:00
Paul S. Owen
f32f525c30 Lang var case changing
git-svn-id: file:///svn/phpbb/trunk@3369 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-01-27 18:40:31 +00:00
Paul S. Owen
afcaabf5ef idiot ...
git-svn-id: file:///svn/phpbb/trunk@3368 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-01-27 18:31:14 +00:00
Paul S. Owen
0c26de16eb Category and module lang name changes + show ban information when selecting entries to unban
git-svn-id: file:///svn/phpbb/trunk@3367 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-01-27 18:16:22 +00:00
Paul S. Owen
47cc239b1d Do away with icon_id > 1 business since it's no longer needed ... note you should delete the empty icon in your icons table.
git-svn-id: file:///svn/phpbb/trunk@3366 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-01-27 15:44:05 +00:00
Paul S. Owen
f31d54d9d3 changes mainly for user/group permissions
git-svn-id: file:///svn/phpbb/trunk@3365 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-01-27 15:31:39 +00:00
Paul S. Owen
d441f9ffcb Minor additions and mods
git-svn-id: file:///svn/phpbb/trunk@3364 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-01-27 15:29:24 +00:00
Paul S. Owen
c13f96f100 Add user and group permission setup ... time for a cleanup here me thinks
git-svn-id: file:///svn/phpbb/trunk@3363 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-01-27 15:29:06 +00:00
Ludovic Arnaud
038fd680f1 Fixed cache expiration and missing lang strings on index/viewforum.
git-svn-id: file:///svn/phpbb/trunk@3362 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-01-24 03:56:37 +00:00
Ludovic Arnaud
bbc49787b4 Re-enabled fully dynamic config settings.
git-svn-id: file:///svn/phpbb/trunk@3361 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-01-22 20:52:09 +00:00
Ludovic Arnaud
644735d9ac Re-enabled fully dynamic config settings.
git-svn-id: file:///svn/phpbb/trunk@3360 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-01-22 20:44:37 +00:00
Ludovic Arnaud
4be10373b8 Merged forum nav for viewtopic/viewforum, fixed cache behavior with an empty icons table.
git-svn-id: file:///svn/phpbb/trunk@3359 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-01-22 20:16:18 +00:00
Paul S. Owen
2005fb7061 sql_quote to $db->sql_escape
git-svn-id: file:///svn/phpbb/trunk@3358 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-01-22 16:58:00 +00:00
Paul S. Owen
01517e23fd Icon updates
git-svn-id: file:///svn/phpbb/trunk@3357 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-01-22 16:46:44 +00:00
Paul S. Owen
90eb7c5179 Post icon + other minor changes
git-svn-id: file:///svn/phpbb/trunk@3356 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-01-22 16:46:36 +00:00
Paul S. Owen
9250724b57 More capitalisation
git-svn-id: file:///svn/phpbb/trunk@3355 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-01-22 16:35:17 +00:00
Paul S. Owen
f5537c8ff0 Posting works again ... well, as it did previously!
git-svn-id: file:///svn/phpbb/trunk@3354 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-01-22 16:35:06 +00:00
Paul S. Owen
67872da415 icon_id for posts table, note topic table topic_icon has changed to icon_id ...
git-svn-id: file:///svn/phpbb/trunk@3353 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-01-22 15:35:43 +00:00
Paul S. Owen
74ac4985db Change LIMIT query to use DBAL method
git-svn-id: file:///svn/phpbb/trunk@3351 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-01-22 15:06:23 +00:00
Paul S. Owen
85c4ee575c lastread stuff is just causing too many problems with repeated forums at present - disabling till fixed
git-svn-id: file:///svn/phpbb/trunk@3350 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-01-22 15:06:11 +00:00
Paul S. Owen
c1a478005a Post ignore line
git-svn-id: file:///svn/phpbb/trunk@3349 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-01-21 16:13:54 +00:00
Paul S. Owen
34137d7614 Stop web nosey parkers
git-svn-id: file:///svn/phpbb/trunk@3348 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-01-21 16:13:05 +00:00
Paul S. Owen
24c59e8f17 Cache topic icons ... being used in three places, two high traffic areas ... probably worth caching, alter word censor to one var array ... hopefully this doesn't break anything :D
git-svn-id: file:///svn/phpbb/trunk@3347 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-01-21 15:58:32 +00:00
Paul S. Owen
a262c97c75 Removed extra spaces within conditional braces
git-svn-id: file:///svn/phpbb/trunk@3346 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-01-21 15:54:20 +00:00
Paul S. Owen
f0dcfa29f7 ratings table
git-svn-id: file:///svn/phpbb/trunk@3345 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-01-21 15:01:47 +00:00
Paul S. Owen
c151eddbc3 Remove or rename some table definitions
git-svn-id: file:///svn/phpbb/trunk@3344 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-01-21 15:01:39 +00:00
Paul S. Owen
919e75c64f Wrong order by in acl_add_option
git-svn-id: file:///svn/phpbb/trunk@3343 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-01-21 14:40:04 +00:00
Paul S. Owen
fce3c5ef0b Re-jiggled where options are cached, moved clear prefetch to main auth class
git-svn-id: file:///svn/phpbb/trunk@3342 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-01-21 14:37:56 +00:00
Paul S. Owen
5bea3ea3b4 Re-jiggle where acl_option caching is done, move to common in-keeping with config
git-svn-id: file:///svn/phpbb/trunk@3341 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-01-21 14:33:07 +00:00
Paul S. Owen
8c31649706 require_once updates
git-svn-id: file:///svn/phpbb/trunk@3340 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-01-21 14:15:48 +00:00
Paul S. Owen
75731c034c bye bye
git-svn-id: file:///svn/phpbb/trunk@3339 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-01-21 14:09:31 +00:00
Ludovic Arnaud
458b9b50ec Un-b0rked ACL options caching, small general fixes
git-svn-id: file:///svn/phpbb/trunk@3338 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-01-20 05:12:38 +00:00
Ludovic Arnaud
b2721cca0c Very minor changes.
git-svn-id: file:///svn/phpbb/trunk@3317 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-01-13 06:44:16 +00:00
Ludovic Arnaud
ab928d8f5f Minor fixes
git-svn-id: file:///svn/phpbb/trunk@3316 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-01-13 05:11:11 +00:00
Ludovic Arnaud
9f4cb905d3 EOL should be fixed now
git-svn-id: file:///svn/phpbb/trunk@3315 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-01-13 04:25:57 +00:00
Paul S. Owen
a16d1d9aff whatever that commit was caused some interesting formating :D
git-svn-id: file:///svn/phpbb/trunk@3314 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-01-12 00:28:28 +00:00
Ludovic Arnaud
4533fba0fc Implementation of an experimental cache manager.
git-svn-id: file:///svn/phpbb/trunk@3313 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-01-11 23:07:30 +00:00
Ludovic Arnaud
85b196b5fe Implementation of an experimental cache manager.
git-svn-id: file:///svn/phpbb/trunk@3312 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-01-11 22:56:49 +00:00
Paul S. Owen
d7e485e5f6 more capitals et al
git-svn-id: file:///svn/phpbb/trunk@3311 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-01-11 16:25:49 +00:00
Paul S. Owen
08fd930da0 Change background colour of selection box for presets ... just trying to find "good" way of seperating headers from options without lots of space, or "underlining"
git-svn-id: file:///svn/phpbb/trunk@3310 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-01-11 15:27:37 +00:00
Paul S. Owen
7ae621056f oops, seems I forgot to commit this :)
git-svn-id: file:///svn/phpbb/trunk@3309 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-01-11 01:37:34 +00:00
Paul S. Owen
2a02d24ffc Related preset changes
git-svn-id: file:///svn/phpbb/trunk@3307 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-01-10 14:55:46 +00:00
Paul S. Owen
f116dfc56c Ooops allow viewonline makes more sense per user than per forum ... doh
git-svn-id: file:///svn/phpbb/trunk@3306 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-01-10 14:55:19 +00:00
Paul S. Owen
c468f95dfa One last(!) additional preset ... inherit from parent (if appropriate)
git-svn-id: file:///svn/phpbb/trunk@3305 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-01-10 14:53:43 +00:00
Paul S. Owen
902ec5f517 Case change for lang var names
git-svn-id: file:///svn/phpbb/trunk@3304 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-01-10 14:17:48 +00:00
Paul S. Owen
be073e179c Minor change
git-svn-id: file:///svn/phpbb/trunk@3303 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-01-10 14:17:18 +00:00
Paul S. Owen
7618c89426 Minor change to seperate presets from "main" permission settings table
git-svn-id: file:///svn/phpbb/trunk@3302 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-01-10 14:04:40 +00:00
Paul S. Owen
451a653bbf bye billy ... I mean admin
git-svn-id: file:///svn/phpbb/trunk@3296 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-01-10 12:26:17 +00:00
Paul S. Owen
fe1c986988 Fixed "apparent" issue with super moderators remaining after "deletion"
git-svn-id: file:///svn/phpbb/trunk@3295 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-01-10 01:36:34 +00:00
Paul S. Owen
77e09080dc Removed limit ... wasn't a "bad" idea but ultimately created more work than I expected :D
git-svn-id: file:///svn/phpbb/trunk@3294 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-01-10 01:18:35 +00:00
Paul S. Owen
cf96f8dcfb Couple of HTML issues, now compliant again
git-svn-id: file:///svn/phpbb/trunk@3293 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-01-09 15:22:59 +00:00
Paul S. Owen
4d1c3e3696 More text
git-svn-id: file:///svn/phpbb/trunk@3292 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-01-09 15:14:46 +00:00
Paul S. Owen
36b452bae4 escaping was leaving slashes ... reverted for time being
git-svn-id: file:///svn/phpbb/trunk@3291 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-01-09 15:13:06 +00:00
Paul S. Owen
05bc60b26d Enable presets
git-svn-id: file:///svn/phpbb/trunk@3290 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-01-09 15:12:11 +00:00
Paul S. Owen
6af4750b4c This is red, now why is it red ... probably because it's not green ... so let's make it green and hope it wasn't red for some specific reason
git-svn-id: file:///svn/phpbb/trunk@3287 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-01-08 22:27:16 +00:00
Paul S. Owen
763d264d5f ignore post test
git-svn-id: file:///svn/phpbb/trunk@3286 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-01-08 22:23:51 +00:00
Paul S. Owen
799ffa517c my min karma, as opposed to my little pony or some such
git-svn-id: file:///svn/phpbb/trunk@3285 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-01-08 22:23:12 +00:00
Paul S. Owen
f236f3f838 Updates as opposed to downdates
git-svn-id: file:///svn/phpbb/trunk@3284 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-01-08 18:27:16 +00:00
Paul S. Owen
f58083b8af Ashes to ashes, bits to bits
git-svn-id: file:///svn/phpbb/trunk@3283 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-01-08 18:21:25 +00:00
Paul S. Owen
76c17a6991 Change message_die for trigger_error
git-svn-id: file:///svn/phpbb/trunk@3282 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-01-08 17:36:18 +00:00
Paul S. Owen
2f555f5b22 And as if by magic ... pooooooffff ... MCP appeared, "hello MCP" the children say, don't be silly children, MCP is a sequence of bits it cannot reply, "idiot children" the developer says.
git-svn-id: file:///svn/phpbb/trunk@3281 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-01-08 17:31:16 +00:00
Paul S. Owen
ed54cc285f Oh no! Now it's me ... argghh ... I'm melting I'm melting ... oohh the pain of it, the pain of it all (c) NBC
git-svn-id: file:///svn/phpbb/trunk@3280 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-01-08 17:29:58 +00:00
Paul S. Owen
4d75e2fc09 Remove server string stuff since it's now handled by redirect
git-svn-id: file:///svn/phpbb/trunk@3279 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-01-08 17:04:55 +00:00
Paul S. Owen
d54d938117 I have risen again ... yet I'm still broken ... wooh is me, wooh is me
git-svn-id: file:///svn/phpbb/trunk@3278 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-01-08 17:01:38 +00:00
Paul S. Owen
930a9223c7 Oh my God what have they done? What HAVE they done .... infamy! infamy! they've all got it in-for-me ... (c) Rank
git-svn-id: file:///svn/phpbb/trunk@3277 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-01-08 17:00:37 +00:00
Paul S. Owen
1c5d6dcf39 A document
git-svn-id: file:///svn/phpbb/trunk@3272 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-01-07 20:47:05 +00:00
Paul S. Owen
4676461520 MD5 javascript and minor changes
git-svn-id: file:///svn/phpbb/trunk@3271 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-01-07 20:19:48 +00:00
Paul S. Owen
6e8683a124 And this one removes all the debugging info ...
git-svn-id: file:///svn/phpbb/trunk@3270 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-01-07 18:59:31 +00:00
Paul S. Owen
22389f0d32 This one has the enormous benefit of actually doing what it was supposed to do ...
git-svn-id: file:///svn/phpbb/trunk@3269 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-01-07 18:58:36 +00:00
Paul S. Owen
9b97e57deb Oops, forgot lang updates
git-svn-id: file:///svn/phpbb/trunk@3268 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-01-07 18:41:05 +00:00
Paul S. Owen
82b23fdf67 Enable exclusion from bans for users, IP's or email addresses
git-svn-id: file:///svn/phpbb/trunk@3267 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-01-07 18:39:24 +00:00
Paul S. Owen
493a689b1e We'll try and get it right this time ...
git-svn-id: file:///svn/phpbb/trunk@3265 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-01-07 14:45:12 +00:00
Paul S. Owen
d2e324fe0b Move escape functions to DB methods
git-svn-id: file:///svn/phpbb/trunk@3264 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-01-07 14:37:50 +00:00
Paul S. Owen
5048f1f2bc Various updates, inc. fixing non-escaping of '
git-svn-id: file:///svn/phpbb/trunk@3263 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-01-07 14:37:34 +00:00
Paul S. Owen
7bdb2816f9 Various updates
git-svn-id: file:///svn/phpbb/trunk@3262 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-01-07 14:37:19 +00:00
Paul S. Owen
b369a1e43c Start to (re-)fix generation of "plain text" templates from compiled source for template editing
git-svn-id: file:///svn/phpbb/trunk@3166 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-12-03 13:46:33 +00:00
Paul S. Owen
ef09c7e9c9 Notes to port bug fixes from 2.0.x
git-svn-id: file:///svn/phpbb/trunk@3165 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-12-03 00:40:12 +00:00
Paul S. Owen
df3e7ab532 Redirect changes
git-svn-id: file:///svn/phpbb/trunk@3161 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-12-02 23:53:21 +00:00
Paul S. Owen
afd03ff1b8 oops
git-svn-id: file:///svn/phpbb/trunk@3107 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-11-27 15:15:12 +00:00
Paul S. Owen
1e8cc35b2a Changed to get ... did this break stuff before in a non-session-id related way ..hmm
git-svn-id: file:///svn/phpbb/trunk@3106 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-11-27 15:15:06 +00:00
Paul S. Owen
f42bf5dfd4 Minor change ... remove topic who is online listing
git-svn-id: file:///svn/phpbb/trunk@3105 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-11-27 15:10:19 +00:00
Paul S. Owen
fca41683d0 This should be maintained as is in CVS ... it is regenerated automatically as required.
git-svn-id: file:///svn/phpbb/trunk@3104 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-11-27 13:37:11 +00:00
Bart van Bragt
3b71148ddf Grmbl
git-svn-id: file:///svn/phpbb/trunk@3103 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-11-27 13:33:52 +00:00
Bart van Bragt
831c9b5a61 Initial Lastread support. Mind the schema and config changes\!
git-svn-id: file:///svn/phpbb/trunk@3102 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-11-27 13:24:46 +00:00
Paul S. Owen
16e8fb800f No point in outputting two type fields in edit
git-svn-id: file:///svn/phpbb/trunk@3100 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-11-26 11:26:51 +00:00
Paul S. Owen
8f051f1b47 I know the jumpbox layout doesn't always match the real forum structure ... will fix
git-svn-id: file:///svn/phpbb/trunk@3099 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-11-26 00:50:16 +00:00
Paul S. Owen
5f4b283a3e Paul oopsied everywhere ... bad Paul ... use your litter tray
git-svn-id: file:///svn/phpbb/trunk@3098 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-11-26 00:17:06 +00:00
Bart van Bragt
2f9758b912 Fixing my fix and initial checkin of markread()
git-svn-id: file:///svn/phpbb/trunk@3097 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-11-26 00:15:45 +00:00
Paul S. Owen
2b2dd5abc4 A few subSilver icons for forum admin
git-svn-id: file:///svn/phpbb/trunk@3096 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-11-25 23:52:05 +00:00
Paul S. Owen
c81c598b66 oops
git-svn-id: file:///svn/phpbb/trunk@3095 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-11-25 23:51:23 +00:00
Paul S. Owen
734c286f9f Some changes to forum admin to better reflect subforum 'post/non-post' changes ... no guarantees I've not broken something ... note the schema changes
git-svn-id: file:///svn/phpbb/trunk@3094 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-11-25 23:46:23 +00:00
Bart van Bragt
efad1f2491 Made the error handler behave responsibly when $user isn't there yet
git-svn-id: file:///svn/phpbb/trunk@3092 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-11-25 18:32:36 +00:00
Paul S. Owen
0f31aa8416 This should now work ... still blank screens on errors (due to way errors are now handled by db layer ... need to set return on error and handle sql errors locally in install.php)
git-svn-id: file:///svn/phpbb/trunk@3090 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-11-24 23:41:07 +00:00
Paul S. Owen
2c83dfae78 Updates ... so it now works again ...
git-svn-id: file:///svn/phpbb/trunk@3089 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-11-24 23:40:30 +00:00
Paul S. Owen
b728abd4d2 Add forum_postable to forum schema
git-svn-id: file:///svn/phpbb/trunk@3088 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-11-24 23:10:16 +00:00
Paul S. Owen
aedd730552 Of course it has to be more tricky than that doesn't it ... well, I'm off to bed so it can stick it up its pipe and smoke it for now :D
git-svn-id: file:///svn/phpbb/trunk@3078 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-11-21 22:46:12 +00:00
Paul S. Owen
bb05d733ee didn't urlencode highlighted url data ... tut tut
git-svn-id: file:///svn/phpbb/trunk@3077 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-11-21 22:25:03 +00:00
James Atkinson
25a3ef55be Moved profile.php to ucp.php. ucp is really really broken right now, don't even think about trying to use it.
git-svn-id: file:///svn/phpbb/trunk@3075 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-11-21 15:40:21 +00:00
Paul S. Owen
68ee9ffb1f Merged and condensed into posting ... for now at least.
git-svn-id: file:///svn/phpbb/trunk@3074 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-11-21 15:33:59 +00:00
James Atkinson
fdbeac30d1 Moving UCP files to ucp/ directory
git-svn-id: file:///svn/phpbb/trunk@3073 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-11-21 15:26:06 +00:00
Paul S. Owen
f44c970572 Just to get topic review working again ...
git-svn-id: file:///svn/phpbb/trunk@3072 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-11-21 01:35:53 +00:00
Paul S. Owen
44af262312 Got bored so added print topic output view
git-svn-id: file:///svn/phpbb/trunk@3071 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-11-20 23:07:01 +00:00
James Atkinson
70e6af55a8 Missing semi-colon in schema file.
git-svn-id: file:///svn/phpbb/trunk@3070 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-11-20 16:24:38 +00:00
Paul S. Owen
e0ea770c40 Update the version ... still somewhat meaningless but hum ho
git-svn-id: file:///svn/phpbb/trunk@3068 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-11-19 23:45:23 +00:00
Paul S. Owen
20b65e010c Wrong height for reply icon ... this has been bugging me for ages, but no more I say, begone disgusting wrong size entry, be gone, thou shalt never darken thy PC again
git-svn-id: file:///svn/phpbb/trunk@3067 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-11-19 23:28:04 +00:00
Paul S. Owen
d88ab81568 colspan missing
git-svn-id: file:///svn/phpbb/trunk@3066 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-11-19 23:26:43 +00:00
Paul S. Owen
de936e0bd4 Change year
git-svn-id: file:///svn/phpbb/trunk@3065 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-11-19 23:24:09 +00:00
Paul S. Owen
8ae487932d Update jumpbox for subforum changes
git-svn-id: file:///svn/phpbb/trunk@3064 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-11-19 23:12:11 +00:00
Paul S. Owen
c1fc6dce16 Further layout faffing, nav links for viewtopic (code needs merging with viewforum/posting), moderators for viewtopic
git-svn-id: file:///svn/phpbb/trunk@3063 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-11-19 18:55:23 +00:00
Paul S. Owen
b468fd6e29 Extra break to valign moderators and MCP link
git-svn-id: file:///svn/phpbb/trunk@3062 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-11-18 21:09:16 +00:00
Paul S. Owen
6e910ca116 Cache moderator names? Output moderators for all forums in viewforum. Alter a few things in templates
git-svn-id: file:///svn/phpbb/trunk@3061 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-11-18 21:04:45 +00:00
Paul S. Owen
ce40939e60 Cache moderator names?
git-svn-id: file:///svn/phpbb/trunk@3060 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-11-18 18:56:27 +00:00
Paul S. Owen
68d4dcf0d3 Output moderator list for forums
git-svn-id: file:///svn/phpbb/trunk@3059 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-11-18 00:20:23 +00:00
Paul S. Owen
b86d90362d Minor adjustment to subforum listing
git-svn-id: file:///svn/phpbb/trunk@3058 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-11-18 00:20:06 +00:00
Paul S. Owen
8636df8f62 "Fix" problem with forum_id being overwritten by sub forum listing
git-svn-id: file:///svn/phpbb/trunk@3057 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-11-18 00:19:47 +00:00
Paul S. Owen
2a2244a770 Remove some L_ var assignments
git-svn-id: file:///svn/phpbb/trunk@3056 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-11-15 12:51:57 +00:00
Paul S. Owen
335835787e More upper casing
git-svn-id: file:///svn/phpbb/trunk@3055 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-11-15 12:51:47 +00:00
Paul S. Owen
286e4103f6 More minor adjustments
git-svn-id: file:///svn/phpbb/trunk@3054 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-11-15 12:50:41 +00:00
Paul S. Owen
66af710664 Output nothing if moderator display is "off"
git-svn-id: file:///svn/phpbb/trunk@3053 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-11-15 12:45:28 +00:00
Paul S. Owen
3184365533 Minor layout changes
git-svn-id: file:///svn/phpbb/trunk@3052 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-11-15 12:44:31 +00:00
Paul S. Owen
e654727d5d Forgot to strip tags to prevent some browsers from displaying raw tags rather than removing/interpreting them
git-svn-id: file:///svn/phpbb/trunk@3031 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-11-13 21:53:46 +00:00
Paul S. Owen
fbe796ed21 Forum description to forum name anchor title
git-svn-id: file:///svn/phpbb/trunk@3030 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-11-13 21:52:40 +00:00
Paul S. Owen
8cade616ab Forum description to template
git-svn-id: file:///svn/phpbb/trunk@3029 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-11-13 21:52:20 +00:00
Paul S. Owen
f0da525e44 Num posted articles/topics update
git-svn-id: file:///svn/phpbb/trunk@3028 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-11-13 21:48:06 +00:00
Paul S. Owen
bb20ba7235 Minor change to remove total_post count
git-svn-id: file:///svn/phpbb/trunk@3027 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-11-13 21:48:01 +00:00
Paul S. Owen
2fe1f1bc65 Fix couple of errors ... you should run UPDATE phpbb_users SET user_permissions = '' after this update
git-svn-id: file:///svn/phpbb/trunk@3026 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-11-13 21:33:13 +00:00
Paul S. Owen
5a7e3a3bb3 Part of memberslist now
git-svn-id: file:///svn/phpbb/trunk@3025 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-11-12 20:55:46 +00:00
Paul S. Owen
b5ad02cb2c Re-activated user search
git-svn-id: file:///svn/phpbb/trunk@3024 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-11-12 20:55:18 +00:00
Paul S. Owen
5d426363c6 REGISTERED_INACTIVE to INACTIVE special group name change
git-svn-id: file:///svn/phpbb/trunk@3023 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-11-09 00:47:42 +00:00
Paul S. Owen
782482df38 More key changes ...
git-svn-id: file:///svn/phpbb/trunk@3022 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-11-09 00:47:14 +00:00
Paul S. Owen
9d2219b39a Give the special groups a special constant ...to make them feel, well, special.
git-svn-id: file:///svn/phpbb/trunk@3021 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-11-09 00:45:34 +00:00
Paul S. Owen
1405e47fc1 Mainly updates for additional/altered admin permission options ... note, you MUST empty your current auth_options table and insert the list from the mysql_basic, you will also need to empty the auth_user/auth_group tables and re-assign permissions, and you should clear the $acl_options array in config_cache
git-svn-id: file:///svn/phpbb/trunk@3020 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-11-09 00:04:18 +00:00
Paul S. Owen
1c5f838a2d Incorrect check on moderated forum field
git-svn-id: file:///svn/phpbb/trunk@3019 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-11-08 10:59:00 +00:00
Ludovic Arnaud
097a1caca8 Cleaned up viewforum/index, altered template class to replace missing lang strings with a nicely formatted text, pre-implemented topics prefetching and broke some things.
git-svn-id: file:///svn/phpbb/trunk@3018 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-11-08 03:33:58 +00:00
Paul S. Owen
5d859740ee A few key changes for template alterations ... note that this will currently cause some blank output, particularly for form buttons in admin
git-svn-id: file:///svn/phpbb/trunk@3017 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-11-07 23:21:56 +00:00
Paul S. Owen
4092e36cca These changes mean you no longer have to assign L_ vars values (unless you want/need to) ... the relevant entry in the lang array will automatically be used if a var isn't assigned
git-svn-id: file:///svn/phpbb/trunk@3016 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-11-07 23:21:14 +00:00
Paul S. Owen
021929b31f oops
git-svn-id: file:///svn/phpbb/trunk@3015 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-11-07 22:12:04 +00:00
Paul S. Owen
8f14946d09 Update parent forums upon posting, show navlinks ... should create a function for this given commonality with viewtopic/viewforum
git-svn-id: file:///svn/phpbb/trunk@3014 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-11-07 22:02:49 +00:00
Paul S. Owen
97de599ae8 HTML stuff
git-svn-id: file:///svn/phpbb/trunk@3013 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-11-07 22:02:04 +00:00
Paul S. Owen
7366bd9e41 Fix a couple of issues, hopefully haven't broken anything Ashe was planning ...
git-svn-id: file:///svn/phpbb/trunk@3012 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-11-07 21:45:34 +00:00
Ludovic Arnaud
cfd055f979 Subforums update take #1
git-svn-id: file:///svn/phpbb/trunk@3011 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-11-07 03:39:50 +00:00
Ludovic Arnaud
7cda8ec239 Subforums update take #1
git-svn-id: file:///svn/phpbb/trunk@3010 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-11-07 03:20:33 +00:00
Ludovic Arnaud
e9e9716acc Experimental: link to the first unread post without redirection
git-svn-id: file:///svn/phpbb/trunk@3009 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-11-05 07:03:14 +00:00
Ludovic Arnaud
a583f7bd10 ALTER TABLE phpbb_smilies CHANGE smile_on_posting display_on_posting
git-svn-id: file:///svn/phpbb/trunk@3008 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-11-05 06:38:09 +00:00
Ludovic Arnaud
bc6e36ef4f viewforum queries update + a couple of bugfixes.
git-svn-id: file:///svn/phpbb/trunk@3007 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-11-05 04:50:55 +00:00
Paul S. Owen
5b73ad4cbd Fix autologin issues
git-svn-id: file:///svn/phpbb/trunk@3006 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-11-02 21:44:36 +00:00
Ludovic Arnaud
97978b69f1 Some bugfixes, quick-(un)locking now works.
git-svn-id: file:///svn/phpbb/trunk@3005 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-11-01 21:35:41 +00:00
Paul S. Owen
ac0c0f5247 More minor changes
git-svn-id: file:///svn/phpbb/trunk@3004 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-11-01 15:40:22 +00:00
Paul S. Owen
ab669d0f04 Minor change to add navlinks to bottom of form
git-svn-id: file:///svn/phpbb/trunk@3003 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-11-01 14:48:45 +00:00
Paul S. Owen
96c024b85f floatval to doubleval for 4.1.x
git-svn-id: file:///svn/phpbb/trunk@3002 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-11-01 14:44:31 +00:00
Paul S. Owen
c5ec313d53 oops, forgot to change credits ...
git-svn-id: file:///svn/phpbb/trunk@3001 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-11-01 14:39:29 +00:00
Paul S. Owen
7f93e95ffd Too processor intensive
git-svn-id: file:///svn/phpbb/trunk@3000 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-11-01 14:37:53 +00:00
Paul S. Owen
fea84a1016 Change color picker to SHS` unixsafe palette ... feedback on rendering time welcome + moved out lots of javascript
git-svn-id: file:///svn/phpbb/trunk@2999 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-11-01 14:37:12 +00:00
Paul S. Owen
9c0435c01a Change color picker to SHS` unixsafe palette ... feedback on rendering time welcome
git-svn-id: file:///svn/phpbb/trunk@2998 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-11-01 14:36:39 +00:00
Paul S. Owen
6fa38a1181 Various, typically posting related updates
git-svn-id: file:///svn/phpbb/trunk@2997 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-11-01 12:23:08 +00:00
Paul S. Owen
1a67029fcd sigh
git-svn-id: file:///svn/phpbb/trunk@2996 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-10-31 13:47:00 +00:00
Paul S. Owen
2bf1c5f9b0 Smilies enabled ... note this is not necessarily final ...
git-svn-id: file:///svn/phpbb/trunk@2995 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-10-31 13:41:28 +00:00
Paul S. Owen
da3121c0fd doubleval for load config, session to user var name change
git-svn-id: file:///svn/phpbb/trunk@2994 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-10-31 12:09:51 +00:00
Ludovic Arnaud
29f583c626 Minor changes, trying to get it working on my test server
git-svn-id: file:///svn/phpbb/trunk@2993 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-10-31 03:20:54 +00:00
Paul S. Owen
8f0890acd1 Magic URL updates
git-svn-id: file:///svn/phpbb/trunk@2992 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-10-31 00:51:00 +00:00
Paul S. Owen
72f1ad476a oops
git-svn-id: file:///svn/phpbb/trunk@2991 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-10-31 00:02:10 +00:00
Paul S. Owen
282e7ec58a Couple further updates
git-svn-id: file:///svn/phpbb/trunk@2990 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-10-30 23:50:50 +00:00
Paul S. Owen
5abbc58deb moderate == moderated, thanks SHS`
git-svn-id: file:///svn/phpbb/trunk@2989 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-10-30 23:27:11 +00:00
Paul S. Owen
ebdb61373b Fixes and reversions (temp)
git-svn-id: file:///svn/phpbb/trunk@2988 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-10-30 23:26:35 +00:00
Paul S. Owen
1b259b300e These ones probably work ...
git-svn-id: file:///svn/phpbb/trunk@2987 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-10-30 20:05:18 +00:00
Paul S. Owen
0a4f369681 Dumped sql_query_array, replaced with build_array, posting updates, fixed quoting in mysql layers, fulltext enabled ... speed/problem feedback welcome
git-svn-id: file:///svn/phpbb/trunk@2986 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-10-30 18:59:09 +00:00
Paul S. Owen
9273252cfc sqLquote subject ...
git-svn-id: file:///svn/phpbb/trunk@2985 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-10-30 01:02:48 +00:00
Paul S. Owen
18f9fa60a7 acl_get not get_acl
git-svn-id: file:///svn/phpbb/trunk@2984 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-10-30 01:00:31 +00:00
Paul S. Owen
691f50ada9 Changed $board_config to $config, more posting "stuff", altered polling code in viewtopic and loads of new problems, poor coding, etc. created :)
git-svn-id: file:///svn/phpbb/trunk@2983 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-10-30 00:57:27 +00:00
Paul S. Owen
9075298051 Merged back into functions ... not worth a seperate file @ only 4kb
git-svn-id: file:///svn/phpbb/trunk@2982 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-10-29 16:11:29 +00:00
Paul S. Owen
56ca392f4e Minor updates for syncing, sql quoting, etc.
git-svn-id: file:///svn/phpbb/trunk@2981 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-10-28 20:39:06 +00:00
Paul S. Owen
c581ae15c2 sql_quote fixed
git-svn-id: file:///svn/phpbb/trunk@2980 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-10-28 20:38:53 +00:00
Paul S. Owen
98f17b0f75 Removed function, replaced missing functionality
git-svn-id: file:///svn/phpbb/trunk@2979 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-10-28 00:45:06 +00:00
Paul S. Owen
34921891bb Moved to en
git-svn-id: file:///svn/phpbb/trunk@2978 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-10-28 00:36:16 +00:00
Paul S. Owen
45f2496110 Contains the language name
git-svn-id: file:///svn/phpbb/trunk@2977 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-10-28 00:35:08 +00:00
Paul S. Owen
de4133420a Rules and lang changes
git-svn-id: file:///svn/phpbb/trunk@2976 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-10-28 00:34:43 +00:00
Paul S. Owen
33e84f8ea0 Rules updates
git-svn-id: file:///svn/phpbb/trunk@2975 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-10-28 00:25:38 +00:00
Paul S. Owen
44c9dacbde Layout and form updates
git-svn-id: file:///svn/phpbb/trunk@2974 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-10-28 00:25:03 +00:00
Paul S. Owen
3e2e5dc4f2 mysql4 update
git-svn-id: file:///svn/phpbb/trunk@2973 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-10-28 00:09:48 +00:00
Paul S. Owen
595a39122f Posting and acl option updates
git-svn-id: file:///svn/phpbb/trunk@2972 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-10-28 00:08:18 +00:00
Paul S. Owen
7cc1dbf6b0 nav link index title change
git-svn-id: file:///svn/phpbb/trunk@2971 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-10-26 21:56:33 +00:00
Paul S. Owen
1edc9d362f Preliminary 'freeze' on permissions awaiting developer feedback, testing, etc. Caching of non-dynmaic config and acl option elements.
git-svn-id: file:///svn/phpbb/trunk@2970 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-10-26 12:36:38 +00:00
Paul S. Owen
a7d186fd91 Preliminary 'freeze' on permissions system awaiting developer feedback, testing, etc. Caching of non-dynmaic config and acl option elements.
git-svn-id: file:///svn/phpbb/trunk@2969 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-10-26 12:34:39 +00:00
Paul S. Owen
6d0738ff22 Cache file -> needs to have appropriate write permissions set on server
git-svn-id: file:///svn/phpbb/trunk@2968 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-10-26 12:32:09 +00:00
Paul S. Owen
2b8cb26e6b A few ideas and tests
git-svn-id: file:///svn/phpbb/trunk@2963 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-10-22 17:33:10 +00:00
Paul S. Owen
6ebc8de14c bah, various issues, assign lang to this->lang via pointer(?)
git-svn-id: file:///svn/phpbb/trunk@2962 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-10-21 14:10:45 +00:00
Ludovic Arnaud
413cd7bf03 My contribution for today: 1 extra byte
git-svn-id: file:///svn/phpbb/trunk@2960 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-10-20 22:50:41 +00:00
Paul S. Owen
d5a41ebfa0 It's been a while ...
git-svn-id: file:///svn/phpbb/trunk@2959 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-10-20 19:19:59 +00:00
Paul S. Owen
0e9f0ac4ec Mostly changes to turn userdata into user->data, lang into user->lang + bitstring 2nd format + inheritance for permission admin and various other updates/fixes/changes ... note that user->lang & user->theme isn't final
git-svn-id: file:///svn/phpbb/trunk@2958 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-10-20 19:19:07 +00:00
Paul S. Owen
4887cf1e49 Will it stay or will it go now ... hang on, I believe someone's already written that track ...
git-svn-id: file:///svn/phpbb/trunk@2957 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-10-20 19:15:59 +00:00
Paul S. Owen
bd2cf21a05 They shouldn't still be there ...
git-svn-id: file:///svn/phpbb/trunk@2956 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-10-18 23:25:17 +00:00
Ludovic Arnaud
48727c433f Random bugfixes, (hopefully) improved admin panel security.
git-svn-id: file:///svn/phpbb/trunk@2955 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-10-17 02:56:11 +00:00
Ludovic Arnaud
80864fa7ee Random bugfixes, (hopefully) improved admin panel security.
git-svn-id: file:///svn/phpbb/trunk@2954 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-10-17 02:50:50 +00:00
Ludovic Arnaud
fafd167dde More jumpbox stuff, still not happy with the layout though =(
git-svn-id: file:///svn/phpbb/trunk@2953 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-10-11 02:55:34 +00:00
Ludovic Arnaud
1e52eafc80 Minor bugfix (subforums template was called even if there only were empty subcats).
Jumpbox got its "Select a forum" entry back.


git-svn-id: file:///svn/phpbb/trunk@2952 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-10-11 02:24:00 +00:00
Ludovic Arnaud
58ddae0c90 More bugfixes
git-svn-id: file:///svn/phpbb/trunk@2951 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-10-10 01:02:47 +00:00
Ludovic Arnaud
c677640b64 Bugfix (disappearing forum names) + enabled jumpbox and modified it to allow category jumping.
git-svn-id: file:///svn/phpbb/trunk@2950 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-10-10 00:35:35 +00:00
Paul S. Owen
4a2f986943 oops, that got broke ... removed some now superfluous code
git-svn-id: file:///svn/phpbb/trunk@2949 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-10-09 20:53:42 +00:00
Ludovic Arnaud
369189806b Added the redirect() function for nice and clean redirection.
git-svn-id: file:///svn/phpbb/trunk@2948 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-10-09 19:50:48 +00:00
Paul S. Owen
ac4b54ff4d missing global
git-svn-id: file:///svn/phpbb/trunk@2947 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-10-08 22:14:22 +00:00
Paul S. Owen
8b21ebbdab Of little use since the whole user admin interface will need rewriting
git-svn-id: file:///svn/phpbb/trunk@2946 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-10-08 21:50:02 +00:00
Paul S. Owen
521760fe50 missed method name change
git-svn-id: file:///svn/phpbb/trunk@2945 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-10-08 21:48:02 +00:00
Paul S. Owen
2c16ed7248 Minor changes to select box
git-svn-id: file:///svn/phpbb/trunk@2944 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-10-08 21:01:25 +00:00
Paul S. Owen
1d0e4ee436 Permission related updates ... is still not final but is getting there ... faster than British Rail too
git-svn-id: file:///svn/phpbb/trunk@2943 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-10-08 20:11:59 +00:00
Paul S. Owen
64aee6d171 Permission changes, updates admin functions, indented jumpboxes ... note that the update script doesn't seem to introduce the user_permissions field @ present so you need to add it manually
git-svn-id: file:///svn/phpbb/trunk@2942 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-10-08 20:06:55 +00:00
Paul S. Owen
c0a0d11d08 Stale lock should be gone ... thanks to whoever contributed these images
git-svn-id: file:///svn/phpbb/trunk@2941 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-10-08 17:50:26 +00:00
Ludovic Arnaud
a5a63df36f Fixed last poster name, dumped categories table.
git-svn-id: file:///svn/phpbb/trunk@2939 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-10-07 01:07:41 +00:00
Ludovic Arnaud
cf0ac8d631 Fixed demo topic not showing up after install.
git-svn-id: file:///svn/phpbb/trunk@2938 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-10-07 01:00:09 +00:00
Ludovic Arnaud
8b5482d320 Err... max() actually needs two args :D
git-svn-id: file:///svn/phpbb/trunk@2937 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-10-07 00:48:51 +00:00
Paul S. Owen
7a8b0a6f27 auth comments, cache(?)
git-svn-id: file:///svn/phpbb/trunk@2936 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-10-06 11:57:45 +00:00
Paul S. Owen
803cc378dd anonymous user takes id = 0, smilies have width and height terms
git-svn-id: file:///svn/phpbb/trunk@2934 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-10-05 23:48:11 +00:00
Paul S. Owen
123dea7a06 Change admin lang to en by default ... prevents admin/viewonline chocking
git-svn-id: file:///svn/phpbb/trunk@2933 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-10-05 23:40:34 +00:00
Paul S. Owen
1eeecbd075 wrong field name, oops
git-svn-id: file:///svn/phpbb/trunk@2932 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-10-05 11:38:10 +00:00
Paul S. Owen
3dc658f3ea Switch to user class(?)
git-svn-id: file:///svn/phpbb/trunk@2931 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-10-05 10:25:40 +00:00
Paul S. Owen
81f9eccb94 Is this quicker or slower than the for loop/concat method for comparing the IPs?
git-svn-id: file:///svn/phpbb/trunk@2930 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-10-05 00:21:35 +00:00
Paul S. Owen
64a01741f9 another oopsie in sessions + whos online fix for forum_id in page_header (index displays correctly now)
git-svn-id: file:///svn/phpbb/trunk@2929 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-10-05 00:08:47 +00:00
Paul S. Owen
f4858c1b7d oops, forgot to replace if ...
git-svn-id: file:///svn/phpbb/trunk@2928 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-10-04 23:54:50 +00:00
Paul S. Owen
2ff0cd6907 Associative array change ...
git-svn-id: file:///svn/phpbb/trunk@2927 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-10-04 23:42:20 +00:00
Paul S. Owen
d1564db4be prune_enable re-added ... is it still required ... couldn't prune_freq be used as an indicator?
git-svn-id: file:///svn/phpbb/trunk@2926 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-10-04 23:38:42 +00:00
Paul S. Owen
f00afb8550 Overcome last visit issue (in a 'way'), reduce work gc has to do ... hopefully without screwing up what it does ... but this is a "Paul production" so anything is possible ...
git-svn-id: file:///svn/phpbb/trunk@2925 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-10-04 23:37:07 +00:00
Ludovic Arnaud
7dbb4fd6ec Now this build can be installed without any error.
git-svn-id: file:///svn/phpbb/trunk@2924 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-10-04 21:57:08 +00:00
Paul S. Owen
30aeac65dc Well, here are all my changes ... don't blame me if things break :D
git-svn-id: file:///svn/phpbb/trunk@2923 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-10-04 13:09:10 +00:00
Paul S. Owen
b5bbc005a5 Written by mat100 ... modified slightly for CVS
git-svn-id: file:///svn/phpbb/trunk@2922 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-10-04 13:02:54 +00:00
Paul S. Owen
35d7bfcca7 Includes the color Mod javascript written by mat100
git-svn-id: file:///svn/phpbb/trunk@2921 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-10-04 13:02:22 +00:00
Paul S. Owen
9ea1bc91e9 ISO
git-svn-id: file:///svn/phpbb/trunk@2920 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-10-04 12:40:07 +00:00
Paul S. Owen
3d6f2caccb Name change
git-svn-id: file:///svn/phpbb/trunk@2919 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-10-04 10:14:52 +00:00
Ludovic Arnaud
71c288bd21 I updated my copy with the Area51 template so here it is, along with a couple of bugfixes :]
git-svn-id: file:///svn/phpbb/trunk@2918 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-10-03 23:50:39 +00:00
Ludovic Arnaud
aee5fbcd8a I updated my copy with the Area51 template so here it is, along with a couple of bugfixes :]
git-svn-id: file:///svn/phpbb/trunk@2917 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-10-03 23:32:45 +00:00
Ludovic Arnaud
743460bd80 Subforums part 3: "the one that actually works"
git-svn-id: file:///svn/phpbb/trunk@2916 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-10-03 19:44:58 +00:00
Ludovic Arnaud
4c82531712 Setting error reporting to the highest level have benefits.
git-svn-id: file:///svn/phpbb/trunk@2915 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-10-03 02:49:47 +00:00
Ludovic Arnaud
2d99854ce8 Subforums handling part 2, new files.
git-svn-id: file:///svn/phpbb/trunk@2914 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-10-03 02:46:32 +00:00
Ludovic Arnaud
268d936f46 Subforums handling part 2, it almost works. Also added: the "Explain" link at the bottom page, can be removed easily before official release if necessary.
git-svn-id: file:///svn/phpbb/trunk@2913 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-10-03 02:43:41 +00:00
Ludovic Arnaud
1666e7d3e7 First implementation of subforums handling in index.
git-svn-id: file:///svn/phpbb/trunk@2912 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-10-01 21:41:57 +00:00
Ludovic Arnaud
6752c2a168 No need to be paranoid about direct access to this file, removed $mtime reference.
git-svn-id: file:///svn/phpbb/trunk@2910 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-09-29 20:45:57 +00:00
Ludovic Arnaud
e1e52497fa Preimplementation of smilies order, "smilies" changed into "emoticons" as per Bart comment and sql_query_array() fixed to allow FALSE values
git-svn-id: file:///svn/phpbb/trunk@2893 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-09-19 01:11:32 +00:00
Ludovic Arnaud
13307c1360 New smilies admin, a bug fixed in mysql.php and a left join removed from admin_forums.php
git-svn-id: file:///svn/phpbb/trunk@2891 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-09-18 04:38:17 +00:00
Ludovic Arnaud
66e0b32220 Forums management updated, now able to delete forums
git-svn-id: file:///svn/phpbb/trunk@2890 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-09-16 15:22:52 +00:00
Ludovic Arnaud
eef332eea5 Cleanups
git-svn-id: file:///svn/phpbb/trunk@2889 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-09-15 17:21:08 +00:00
Ludovic Arnaud
8d6c391d48 First commit of updated forums management panel - crossing fingers
git-svn-id: file:///svn/phpbb/trunk@2888 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-09-15 16:14:35 +00:00
Paul S. Owen
0226e8602a Instantiate template and set template path from seperate method
git-svn-id: file:///svn/phpbb/trunk@2882 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-08-22 21:40:51 +00:00
Paul S. Owen
eca02e139c Garbage collection update
git-svn-id: file:///svn/phpbb/trunk@2881 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-08-22 21:17:02 +00:00
Paul S. Owen
d0f8b34e23 Wrong var name for gc method
git-svn-id: file:///svn/phpbb/trunk@2880 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-08-22 17:55:55 +00:00
Paul S. Owen
69e89c9067 Forum/Topic marking updates
git-svn-id: file:///svn/phpbb/trunk@2879 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-08-22 13:58:35 +00:00
Paul S. Owen
6cf59bc2e9 Define auth_values which can only be manipulated by the forum founder
git-svn-id: file:///svn/phpbb/trunk@2878 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-08-19 17:58:06 +00:00
Paul S. Owen
419ae3e549 More updates
git-svn-id: file:///svn/phpbb/trunk@2877 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-08-18 17:36:01 +00:00
Paul S. Owen
d5f0bfc3e1 Related to permission changes ...
git-svn-id: file:///svn/phpbb/trunk@2876 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-08-18 00:33:30 +00:00
Paul S. Owen
bca30bbe48 Failed on no groups ...
git-svn-id: file:///svn/phpbb/trunk@2875 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-08-17 23:58:03 +00:00
Paul S. Owen
27838c6f02 updated schema for update_script changes ...
git-svn-id: file:///svn/phpbb/trunk@2874 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-08-17 23:23:20 +00:00
Paul S. Owen
4a5f17c131 checked and it works ... or appears to from a 2.0.x install
git-svn-id: file:///svn/phpbb/trunk@2873 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-08-17 23:08:39 +00:00
Paul S. Owen
0d72ddd0ad Various updates
git-svn-id: file:///svn/phpbb/trunk@2872 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-08-17 22:52:23 +00:00
Paul S. Owen
50eae551cd *** empty log message ***
git-svn-id: file:///svn/phpbb/trunk@2871 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-08-17 22:22:59 +00:00
Paul S. Owen
f28585bedd no comment
git-svn-id: file:///svn/phpbb/trunk@2870 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-08-17 22:21:59 +00:00
Paul S. Owen
655e905313 ...
git-svn-id: file:///svn/phpbb/trunk@2869 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-08-17 22:14:48 +00:00
Paul S. Owen
682b29d9b5 damn it damn it damn it
git-svn-id: file:///svn/phpbb/trunk@2868 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-08-17 22:12:23 +00:00
Paul S. Owen
d0f2ed7fb6 oopsie
git-svn-id: file:///svn/phpbb/trunk@2867 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-08-17 22:11:31 +00:00
Paul S. Owen
26190e5c3b Some sql changes
git-svn-id: file:///svn/phpbb/trunk@2866 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-08-17 22:08:34 +00:00
Paul S. Owen
ecf33211ec Anonymous takes user_id = 0 ... hopefully this will not cause problems on the various supported DB's ...
git-svn-id: file:///svn/phpbb/trunk@2865 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-08-16 17:50:38 +00:00
Paul S. Owen
c261dfa420 damn it, wrong table for now ...
git-svn-id: file:///svn/phpbb/trunk@2864 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-08-16 17:31:22 +00:00
Paul S. Owen
65805038b7 various updates
git-svn-id: file:///svn/phpbb/trunk@2863 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-08-16 17:14:37 +00:00
Paul S. Owen
f8fa2d31f3 Many updates, should upgrade any previous dated release ... note that it will have 'problems' with boards running updated CVS ... need to ignore a number of errors in code
git-svn-id: file:///svn/phpbb/trunk@2862 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-08-16 17:05:44 +00:00
Paul S. Owen
f47f503fec another oopsie
git-svn-id: file:///svn/phpbb/trunk@2861 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-08-16 01:25:25 +00:00
Paul S. Owen
19f78622b0 permission stuff .. what else ...
git-svn-id: file:///svn/phpbb/trunk@2860 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-08-16 01:21:50 +00:00
Paul S. Owen
03f5d64e39 ooops
git-svn-id: file:///svn/phpbb/trunk@2859 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-08-16 01:15:41 +00:00
Paul S. Owen
8e3bbcde6f Idiot
git-svn-id: file:///svn/phpbb/trunk@2858 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-08-15 16:31:07 +00:00
Paul S. Owen
832c29d3f5 permission changes
git-svn-id: file:///svn/phpbb/trunk@2857 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-08-15 16:02:48 +00:00
Paul S. Owen
807f003c99 forum_style not default_style
git-svn-id: file:///svn/phpbb/trunk@2856 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-08-15 16:01:12 +00:00
Paul S. Owen
84dacf840d !
git-svn-id: file:///svn/phpbb/trunk@2855 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-08-15 15:57:21 +00:00
Paul S. Owen
8809cd7121 Permission related updates
git-svn-id: file:///svn/phpbb/trunk@2854 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-08-15 15:47:43 +00:00
Paul S. Owen
8bf310b6b2 More session changes to accomodate ACL_PERMIT/PREVENT ...
git-svn-id: file:///svn/phpbb/trunk@2853 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-08-15 15:45:22 +00:00
Paul S. Owen
67f4e334ec ggrr
git-svn-id: file:///svn/phpbb/trunk@2852 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-08-13 16:44:05 +00:00
Paul S. Owen
ce3591abfb Where did that dunce cap go?
git-svn-id: file:///svn/phpbb/trunk@2851 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-08-13 16:41:31 +00:00
Paul S. Owen
ea2d31b58f oopsie, that version wasn't ready for commit ....
git-svn-id: file:///svn/phpbb/trunk@2850 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-08-13 16:40:34 +00:00
Paul S. Owen
38b8e4b801 More changes ... switched away from prefetch for now ...
git-svn-id: file:///svn/phpbb/trunk@2849 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-08-13 16:34:17 +00:00
Paul S. Owen
a7cda845fa Permit, Prevent options ... I wonder if any other board will miraculously gain these ...
git-svn-id: file:///svn/phpbb/trunk@2848 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-08-12 14:20:50 +00:00
Paul S. Owen
71468f8071 DB utils related additions/changes
git-svn-id: file:///svn/phpbb/trunk@2847 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-08-08 20:56:48 +00:00
Paul S. Owen
943545558e Various updates and additions
git-svn-id: file:///svn/phpbb/trunk@2846 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-08-08 20:56:34 +00:00
Paul S. Owen
523bf91b36 Insert any new fields required by auth plugins
git-svn-id: file:///svn/phpbb/trunk@2840 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-08-07 13:03:05 +00:00
Paul S. Owen
2b0b8993e7 Return required config fields to board admin
git-svn-id: file:///svn/phpbb/trunk@2839 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-08-07 13:02:48 +00:00
Paul S. Owen
702761f40b Authentication stuff ... plugins generate any HTML form stuff they require
git-svn-id: file:///svn/phpbb/trunk@2838 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-08-07 01:12:11 +00:00
Paul S. Owen
2c55d91ef8 Authentication stuff
git-svn-id: file:///svn/phpbb/trunk@2837 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-08-07 01:11:51 +00:00
Paul S. Owen
42d197b780 Fix errors, add admin output for ldap
git-svn-id: file:///svn/phpbb/trunk@2836 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-08-07 01:11:38 +00:00
Paul S. Owen
284dc92e08 LDAP config options
git-svn-id: file:///svn/phpbb/trunk@2835 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-08-07 00:06:27 +00:00
Paul S. Owen
bab1021f8c Rule output changes ... no point in limiting delete/attach just to viewtopic ...
git-svn-id: file:///svn/phpbb/trunk@2834 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-08-07 00:03:14 +00:00
Paul S. Owen
3a662e24f4 Change connection limit to session per minute limit ... maybe more 'general' ?
git-svn-id: file:///svn/phpbb/trunk@2833 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-08-07 00:02:08 +00:00
Paul S. Owen
16922e62e3 Minor changes ... oh and to vB developers ... remember, when using ideas from our schemas the copyright should read "(C) 2002 phpBB Group" ... ;)
git-svn-id: file:///svn/phpbb/trunk@2832 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-08-07 00:01:18 +00:00
Paul S. Owen
d299df3b25 Various updates ...
git-svn-id: file:///svn/phpbb/trunk@2831 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-08-06 23:58:27 +00:00
Paul S. Owen
6e6c85b9b7 Bad redirect on login from form
git-svn-id: file:///svn/phpbb/trunk@2830 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-08-06 21:22:51 +00:00
Paul S. Owen
6c3bc8ceab Ooops, this may help I guess ...
git-svn-id: file:///svn/phpbb/trunk@2829 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-08-06 17:13:17 +00:00
Paul S. Owen
f8ea2a46a8 Auth plug-in, say thanks to Sergey Kanareykin
git-svn-id: file:///svn/phpbb/trunk@2828 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-08-06 16:56:14 +00:00
Paul S. Owen
685c8b0669 Guess ...
git-svn-id: file:///svn/phpbb/trunk@2827 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-08-06 15:40:25 +00:00
Paul S. Owen
67182dac72 Changed things ... in various ways ... I think
git-svn-id: file:///svn/phpbb/trunk@2826 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-08-06 15:32:25 +00:00
Paul S. Owen
6812929e37 This bug courteousy of "The Idiot Song" (c) P. Owen : All Rights Reserved
git-svn-id: file:///svn/phpbb/trunk@2825 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-08-06 15:21:20 +00:00
Paul S. Owen
fc1aed076e Various updates
git-svn-id: file:///svn/phpbb/trunk@2824 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-08-06 13:55:05 +00:00
Paul S. Owen
88c64f4505 Wrong footer .. what a shock
git-svn-id: file:///svn/phpbb/trunk@2823 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-08-06 00:50:06 +00:00
Paul S. Owen
5750fb8353 bye bye computer
git-svn-id: file:///svn/phpbb/trunk@2822 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-08-05 15:01:48 +00:00
Paul S. Owen
3f8d62a645 The next thing to go wrong causes this computer to go flying ...
git-svn-id: file:///svn/phpbb/trunk@2821 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-08-05 15:00:33 +00:00
Paul S. Owen
ac288081ba message_die admin header/footer update
git-svn-id: file:///svn/phpbb/trunk@2820 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-08-05 14:59:47 +00:00
Paul S. Owen
3754702825 what tintyint? I see no tintyint ....
git-svn-id: file:///svn/phpbb/trunk@2819 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-08-05 00:48:32 +00:00
Paul S. Owen
09b7d6b2b9 Updates, removed included header/footer (merged into functions within pagestart)
git-svn-id: file:///svn/phpbb/trunk@2817 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-08-04 13:58:52 +00:00
Paul S. Owen
ca71651767 Various updates
git-svn-id: file:///svn/phpbb/trunk@2816 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-08-03 23:52:33 +00:00
Paul S. Owen
66295f4bda Couple of X/HTML 4.01 Transitional validation errors
git-svn-id: file:///svn/phpbb/trunk@2814 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-08-02 19:19:54 +00:00
Paul S. Owen
dd74309709 Log category ... naughty Paul, stop putting off working on permissions ... smack handy
git-svn-id: file:///svn/phpbb/trunk@2813 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-08-02 17:21:31 +00:00
Paul S. Owen
0c27202137 log function name change
git-svn-id: file:///svn/phpbb/trunk@2812 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-08-02 16:45:45 +00:00
Paul S. Owen
97798bb0b2 Add moderator log viewing
git-svn-id: file:///svn/phpbb/trunk@2811 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-08-02 16:39:59 +00:00
Paul S. Owen
74d60e4c1a Pagination updates ... new function for on_page
git-svn-id: file:///svn/phpbb/trunk@2810 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-08-02 16:39:02 +00:00
Paul S. Owen
7d1f1b4596 Sort fixes
git-svn-id: file:///svn/phpbb/trunk@2809 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-08-02 12:50:24 +00:00
Paul S. Owen
7eae8a7c1a & => &amp;
git-svn-id: file:///svn/phpbb/trunk@2808 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-08-01 22:05:49 +00:00
Paul S. Owen
06d5d0bbe2 Updates to admin_styles, initial theme edit implementation
git-svn-id: file:///svn/phpbb/trunk@2807 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-08-01 22:05:07 +00:00
Paul S. Owen
43fc9da25e Full of debug print outs but hum ho
git-svn-id: file:///svn/phpbb/trunk@2806 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-08-01 16:41:04 +00:00
Paul S. Owen
b1c816b114 Full of debug printouts but hum ho
git-svn-id: file:///svn/phpbb/trunk@2805 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-08-01 16:40:42 +00:00
Paul S. Owen
b5a9c86e7e Damn missing SID
git-svn-id: file:///svn/phpbb/trunk@2804 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-08-01 16:15:36 +00:00
Paul S. Owen
f4eb27763b phpBB Logo goes to forum index
git-svn-id: file:///svn/phpbb/trunk@2803 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-08-01 16:14:18 +00:00
Paul S. Owen
0cea5122b9 Log string re-arrangements
git-svn-id: file:///svn/phpbb/trunk@2802 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-08-01 15:38:09 +00:00
Paul S. Owen
0873f243ca Often helps to send the required variables to the page that actually makes use of them ...
git-svn-id: file:///svn/phpbb/trunk@2801 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-08-01 14:39:50 +00:00
Paul S. Owen
3aceae9272 Non-slashed serialised data for admin logs... oops
git-svn-id: file:///svn/phpbb/trunk@2800 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-08-01 14:08:18 +00:00
Paul S. Owen
aab6df3ce4 Log actions
git-svn-id: file:///svn/phpbb/trunk@2799 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-08-01 14:04:41 +00:00
Paul S. Owen
3de8299362 User prune admin initials ... doesn't coimplete task at present ... till we handle deletion of posts there is not point
git-svn-id: file:///svn/phpbb/trunk@2798 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-08-01 13:49:22 +00:00
Paul S. Owen
cea28bc26c Some implementation of hard coded HTML
git-svn-id: file:///svn/phpbb/trunk@2795 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-07-30 01:05:09 +00:00
Paul S. Owen
56eea32ffd Append _cat to category names
git-svn-id: file:///svn/phpbb/trunk@2794 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-07-30 01:04:52 +00:00
Paul S. Owen
55c1db0449 Nope, still doesn't actually do anything ... just further layout et al updates
git-svn-id: file:///svn/phpbb/trunk@2793 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-07-30 01:04:12 +00:00
Paul S. Owen
5e704d622c More permission strings ...
git-svn-id: file:///svn/phpbb/trunk@2792 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-07-30 01:03:35 +00:00
Paul S. Owen
8ff2db064e Permission updates ... again it's mainly layout rather than actual capability ...
git-svn-id: file:///svn/phpbb/trunk@2791 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-07-29 23:28:01 +00:00
Paul S. Owen
0e3d8d07b5 Permission stuff again
git-svn-id: file:///svn/phpbb/trunk@2790 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-07-29 23:27:41 +00:00
Paul S. Owen
cf60a775f4 Prelim administrators management layout ...
git-svn-id: file:///svn/phpbb/trunk@2789 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-07-29 18:08:58 +00:00
Paul S. Owen
33a9c6df9f Need to look-see @ group output
git-svn-id: file:///svn/phpbb/trunk@2788 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-07-29 17:50:54 +00:00
Paul S. Owen
06e1e97778 Missed options for global email disable and min/max chars for search indexing ...
git-svn-id: file:///svn/phpbb/trunk@2786 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-07-29 11:23:45 +00:00
Paul S. Owen
03f9b1f98b Well, Doug asked for it so ... now I really am going to bed.
git-svn-id: file:///svn/phpbb/trunk@2784 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-07-29 02:01:16 +00:00
Paul S. Owen
eff7c5e37d Fix few schema errors
git-svn-id: file:///svn/phpbb/trunk@2783 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-07-29 00:31:57 +00:00
Paul S. Owen
962f439057 Add sid to redirects
git-svn-id: file:///svn/phpbb/trunk@2782 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-07-29 00:22:31 +00:00
Paul S. Owen
d700814a7d Fix login for moz et al
git-svn-id: file:///svn/phpbb/trunk@2781 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-07-29 00:20:02 +00:00
Paul S. Owen
95358ec77c oops, wrong var name
git-svn-id: file:///svn/phpbb/trunk@2780 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-07-29 00:00:16 +00:00
Paul S. Owen
862fb87e51 Missed settings and some reorg ...
git-svn-id: file:///svn/phpbb/trunk@2779 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-07-28 23:56:26 +00:00
Paul S. Owen
4fce84ef0a Log actions
git-svn-id: file:///svn/phpbb/trunk@2778 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-07-28 19:50:43 +00:00
Paul S. Owen
1cf0a19dd1 Missing setting of checked for disabled user reg
git-svn-id: file:///svn/phpbb/trunk@2777 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-07-28 19:41:48 +00:00
Paul S. Owen
655a057e90 extra constant
git-svn-id: file:///svn/phpbb/trunk@2776 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-07-28 19:41:21 +00:00
Paul S. Owen
b61163b76b Tidy code a little
git-svn-id: file:///svn/phpbb/trunk@2775 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-07-28 17:31:11 +00:00
Paul S. Owen
eabb8b1e5b Another bites the dust ... (c) Queen
git-svn-id: file:///svn/phpbb/trunk@2774 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-07-28 16:57:54 +00:00
Paul S. Owen
187017ec65 Updates for admin_board changes
git-svn-id: file:///svn/phpbb/trunk@2773 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-07-28 16:57:05 +00:00
Paul S. Owen
bcdd07232c Split up single page into several ... still not happy with certain splits or the "Default" page ...
git-svn-id: file:///svn/phpbb/trunk@2772 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-07-28 16:56:36 +00:00
Paul S. Owen
cdcd5a1e4d Add ban_reason
git-svn-id: file:///svn/phpbb/trunk@2771 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-07-28 15:18:02 +00:00
Paul S. Owen
b578774351 Add checkboxes
git-svn-id: file:///svn/phpbb/trunk@2770 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-07-28 00:29:18 +00:00
Paul S. Owen
36319544af Check field type before inserting username
git-svn-id: file:///svn/phpbb/trunk@2769 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-07-27 21:12:15 +00:00
Paul S. Owen
5c6cbb56fc More user search fixes ...
git-svn-id: file:///svn/phpbb/trunk@2768 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-07-27 20:39:13 +00:00
Paul S. Owen
0361c40cb4 Wrong cell name for unbanning
git-svn-id: file:///svn/phpbb/trunk@2767 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-07-27 17:22:20 +00:00
Paul S. Owen
11477591bf href to javascript
git-svn-id: file:///svn/phpbb/trunk@2766 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-07-27 17:16:35 +00:00
Paul S. Owen
1b67df0761 damn damn damn
git-svn-id: file:///svn/phpbb/trunk@2765 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-07-27 16:56:54 +00:00
Paul S. Owen
c2e9857c5d Look out your window ... just to the left of the Big Dipper you'll see a small dot moving at high speed ... this is my computer ...
git-svn-id: file:///svn/phpbb/trunk@2764 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-07-27 16:49:18 +00:00
Paul S. Owen
9407a604fa bah
git-svn-id: file:///svn/phpbb/trunk@2763 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-07-27 16:47:37 +00:00
Paul S. Owen
ab3480b2e1 Wrong var ... naughty Paul ... smacked wrists
git-svn-id: file:///svn/phpbb/trunk@2762 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-07-27 16:46:02 +00:00
Paul S. Owen
a2cd2c4de3 oops
git-svn-id: file:///svn/phpbb/trunk@2761 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-07-27 16:43:51 +00:00
Paul S. Owen
789675c740 Updated user search system ... this _really_ needs to be integrated with memberslist or something ... but it'll do here for now
git-svn-id: file:///svn/phpbb/trunk@2760 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-07-27 16:37:31 +00:00
Paul S. Owen
dd700e5064 minor changes
git-svn-id: file:///svn/phpbb/trunk@2759 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-07-27 00:16:55 +00:00
Paul S. Owen
b598c4d7c9 rank related changes
git-svn-id: file:///svn/phpbb/trunk@2758 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-07-27 00:16:46 +00:00
Paul S. Owen
81ef17705d bye bye
git-svn-id: file:///svn/phpbb/trunk@2757 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-07-27 00:07:55 +00:00
Paul S. Owen
dd1cd9d330 Oh where has my template gone?
git-svn-id: file:///svn/phpbb/trunk@2756 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-07-27 00:07:22 +00:00
Paul S. Owen
008a2e1687 itsy bitsy change
git-svn-id: file:///svn/phpbb/trunk@2755 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-07-27 00:06:47 +00:00
Paul S. Owen
46466285a5 We commit thy ASCII to the trash bin, HDD to HDD, Processor to Processor, RAM to RAM
git-svn-id: file:///svn/phpbb/trunk@2754 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-07-27 00:02:09 +00:00
Paul S. Owen
30b396291c And as if by magic ... poof ... ranks admin started to work again
git-svn-id: file:///svn/phpbb/trunk@2753 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-07-27 00:00:44 +00:00
Paul S. Owen
541294a876 Log initial data
git-svn-id: file:///svn/phpbb/trunk@2752 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-07-26 22:13:44 +00:00
Paul S. Owen
6c42fe4150 Idiot, idiot, idiot ... stand in the corner
git-svn-id: file:///svn/phpbb/trunk@2751 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-07-26 18:10:14 +00:00
Paul S. Owen
82ca177d23 oops
git-svn-id: file:///svn/phpbb/trunk@2750 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-07-26 17:59:08 +00:00
Paul S. Owen
2a708774fa Minor updates
git-svn-id: file:///svn/phpbb/trunk@2749 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-07-26 17:45:43 +00:00
Paul S. Owen
99a97bab08 Reduce repeated code
git-svn-id: file:///svn/phpbb/trunk@2748 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-07-26 17:45:28 +00:00
Paul S. Owen
f91520a5ac Excessive break-line-age
git-svn-id: file:///svn/phpbb/trunk@2747 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-07-26 17:25:53 +00:00
Paul S. Owen
dbf4ea97af Doh ... a deer a ... yes, well, uhm
git-svn-id: file:///svn/phpbb/trunk@2746 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-07-26 17:20:55 +00:00
Paul S. Owen
46bfc70d6d Various updates, banning, etc.
git-svn-id: file:///svn/phpbb/trunk@2745 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-07-26 16:31:50 +00:00
Paul S. Owen
30bb2a8397 Infamy! Infamy! They've all got it in-fa-my
git-svn-id: file:///svn/phpbb/trunk@2744 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-07-26 14:57:30 +00:00
Paul S. Owen
58f3dea5cc Timed ban check
git-svn-id: file:///svn/phpbb/trunk@2743 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-07-26 12:14:41 +00:00
Paul S. Owen
9b35e2b168 Throw in a load check for the hell of it ...
git-svn-id: file:///svn/phpbb/trunk@2742 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-07-25 15:50:57 +00:00
Paul S. Owen
42f2152a9f Various changes + Ashe's security fix
git-svn-id: file:///svn/phpbb/trunk@2741 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-07-25 15:18:00 +00:00
Paul S. Owen
d4483e3375 No! No! Please ... don't go ... what will I do without you? Oh dear God ... no ...
git-svn-id: file:///svn/phpbb/trunk@2740 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-07-25 14:29:31 +00:00
Paul S. Owen
c31a629275 updated
git-svn-id: file:///svn/phpbb/trunk@2739 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-07-25 14:27:42 +00:00
Paul S. Owen
4d0b2c9167 Updated
git-svn-id: file:///svn/phpbb/trunk@2738 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-07-25 14:26:52 +00:00
Paul S. Owen
38f9c9acfe more oops
git-svn-id: file:///svn/phpbb/trunk@2737 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-07-25 12:56:03 +00:00
Paul S. Owen
398c78e5ab oops, oops and done
git-svn-id: file:///svn/phpbb/trunk@2736 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-07-25 12:55:20 +00:00
Paul S. Owen
04e53a1f7c Various updates + search indexing prelim stuff ... hosts will hate this version!
git-svn-id: file:///svn/phpbb/trunk@2735 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-07-25 12:47:38 +00:00
Paul S. Owen
70968cb025 More re-arrangements
git-svn-id: file:///svn/phpbb/trunk@2714 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-07-17 20:57:31 +00:00
Paul S. Owen
4e72e76ea1 Removed 'imageset' buttons ...
git-svn-id: file:///svn/phpbb/trunk@2713 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-07-17 15:27:58 +00:00
Paul S. Owen
79db867c43 Removed 'imageset' buttons
git-svn-id: file:///svn/phpbb/trunk@2712 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-07-17 15:27:11 +00:00
Paul S. Owen
70de922f8d oops
git-svn-id: file:///svn/phpbb/trunk@2711 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-07-17 15:02:33 +00:00
Paul S. Owen
5569c9f135 Various changes to quick mod tools
git-svn-id: file:///svn/phpbb/trunk@2710 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-07-17 14:58:32 +00:00
Paul S. Owen
e2b46f15fe Extra lang strings
git-svn-id: file:///svn/phpbb/trunk@2709 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-07-17 14:56:18 +00:00
Paul S. Owen
467fc013d1 Various changes
git-svn-id: file:///svn/phpbb/trunk@2708 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-07-17 14:56:12 +00:00
Paul S. Owen
f685c49fa2 Updates to message output for admin (primarily)
git-svn-id: file:///svn/phpbb/trunk@2707 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-07-17 14:13:27 +00:00
Paul S. Owen
889cc525e4 Various updates
git-svn-id: file:///svn/phpbb/trunk@2706 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-07-17 14:13:16 +00:00
Paul S. Owen
22431f6be4 wrong icons
git-svn-id: file:///svn/phpbb/trunk@2705 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-07-16 21:39:00 +00:00
Paul S. Owen
3e931c9696 Minor changes
git-svn-id: file:///svn/phpbb/trunk@2704 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-07-16 20:39:05 +00:00
Paul S. Owen
72a5470ff6 Registered shouldn't moderate forum ....
git-svn-id: file:///svn/phpbb/trunk@2703 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-07-16 18:45:09 +00:00
Paul S. Owen
d1cdba3891 How come this worked fine locally ... bloody amazing ...
git-svn-id: file:///svn/phpbb/trunk@2702 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-07-16 18:22:33 +00:00
Paul S. Owen
7c00475d72 oops
git-svn-id: file:///svn/phpbb/trunk@2701 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-07-16 18:18:36 +00:00
Paul S. Owen
b8fa4851bb Remove topic_vote
git-svn-id: file:///svn/phpbb/trunk@2700 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-07-16 17:31:28 +00:00
Paul S. Owen
bab8906f13 Add acl, remove user_level ... this needs fixing to ensure user can admin if board is disabled
git-svn-id: file:///svn/phpbb/trunk@2699 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-07-16 17:31:19 +00:00
Paul S. Owen
183718f25f This will do a clean install ... it will fail if config isn't writeable or any other error occurs ...
git-svn-id: file:///svn/phpbb/trunk@2698 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-07-16 17:30:36 +00:00
Paul S. Owen
7b1c9135e8 Renamed
git-svn-id: file:///svn/phpbb/trunk@2697 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-07-16 15:12:44 +00:00
Paul S. Owen
1cb0ab7927 Start integrating install.tpl
git-svn-id: file:///svn/phpbb/trunk@2696 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-07-16 14:45:00 +00:00
Paul S. Owen
fcef615972 Alter SQL for decoding IPs as suggested by Josh (area51 post)
git-svn-id: file:///svn/phpbb/trunk@2695 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-07-16 13:00:11 +00:00
Paul S. Owen
87c864b6e0 Move to centralised install/
git-svn-id: file:///svn/phpbb/trunk@2694 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-07-16 12:53:56 +00:00
Paul S. Owen
edf30a3c54 Move to 'centralised' location in install/
git-svn-id: file:///svn/phpbb/trunk@2693 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-07-16 12:52:36 +00:00
Paul S. Owen
d1698fdeb5 Centralise install/upgrade/schemas ... make for easier removal and less cluter ... I think ... install needs to have it's template hard coded
git-svn-id: file:///svn/phpbb/trunk@2692 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-07-16 12:51:51 +00:00
Paul S. Owen
8238a7cfb8 Changed names
git-svn-id: file:///svn/phpbb/trunk@2691 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-07-16 12:47:30 +00:00
Paul S. Owen
60723f5c6b remove user_level, add colour
git-svn-id: file:///svn/phpbb/trunk@2690 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-07-16 12:45:17 +00:00
Paul S. Owen
1edd9f840f oops
git-svn-id: file:///svn/phpbb/trunk@2689 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-07-16 12:45:05 +00:00
Paul S. Owen
e11768c2c7 Remove user_level
git-svn-id: file:///svn/phpbb/trunk@2688 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-07-16 12:42:26 +00:00
Paul S. Owen
47f7d07e2c renamed
git-svn-id: file:///svn/phpbb/trunk@2687 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-07-16 12:31:21 +00:00
Paul S. Owen
3a453527cb Minor changes
git-svn-id: file:///svn/phpbb/trunk@2686 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-07-16 12:28:12 +00:00
Paul S. Owen
14927f5445 bye bye
git-svn-id: file:///svn/phpbb/trunk@2685 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-07-16 11:43:06 +00:00
Paul S. Owen
a0bb541974 oops
git-svn-id: file:///svn/phpbb/trunk@2684 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-07-14 20:24:12 +00:00
Paul S. Owen
1ccb73e898 Various extra lines
git-svn-id: file:///svn/phpbb/trunk@2679 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-07-14 15:03:23 +00:00
Paul S. Owen
865cdfdbda More images ... remember my 'nicked' comment previously ... applies here too ...
git-svn-id: file:///svn/phpbb/trunk@2678 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-07-14 14:56:54 +00:00
Paul S. Owen
4d4dbfaf89 Name changes, removal of .cfg
git-svn-id: file:///svn/phpbb/trunk@2677 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-07-14 14:54:36 +00:00
Paul S. Owen
427a71155e Name change to .html from .tpl as per requests (to ease local editing ... for those who can't search for .tpl ... ;) ), various updates to account for conditionals in templating engine, etc.
git-svn-id: file:///svn/phpbb/trunk@2676 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-07-14 14:53:45 +00:00
Paul S. Owen
fad21bcb01 Hard-coded HTML into admin modules ... no point in continuing to template this stuff since no one (or few) rarely bother to make use of the feature. Lots of changes for permissions, sessions, etc. some new styling stuff present (inc. editing templates though not complete), lots of bugs and non-functioning stuff ... any 'existing' modules will cause the right hand panel to fail ... remove them. If I catch anyone nicking graphics from here I'll kill 'em ...
git-svn-id: file:///svn/phpbb/trunk@2675 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-07-14 14:51:03 +00:00
Paul S. Owen
71707ca5db To allow for 'easy switch' imagesets (i.e. .cfg's move into the DB as requested) 'non-style' specific images (buttons, etc.) are now stored separately to the template
git-svn-id: file:///svn/phpbb/trunk@2674 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-07-14 14:47:57 +00:00
Paul S. Owen
4bc4397f4a Updates for permissions, sessions, lots of things ... note that _many_ things _do_not_work_ now ... I'm commiting them to stop people complaining about my holding on to everything :) There is _no_ update script at present for all these changes, you'll have to work out what's needed yourselves till I finish various things
git-svn-id: file:///svn/phpbb/trunk@2673 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-07-14 14:45:26 +00:00
Paul S. Owen
d03de47b51 Gone but not forgotten ... what's not forgotten? who said that? shut up Paul
git-svn-id: file:///svn/phpbb/trunk@2672 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-07-14 14:43:31 +00:00
Paul S. Owen
c4a926b4e2 Same as last commits, updates for various changes
git-svn-id: file:///svn/phpbb/trunk@2671 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-07-14 14:41:55 +00:00
Paul S. Owen
53a03e33bc Updates for altered permission/sessions/etc.
git-svn-id: file:///svn/phpbb/trunk@2670 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-07-14 14:41:35 +00:00
Paul S. Owen
044f82dbd7 Various updates and alterations
git-svn-id: file:///svn/phpbb/trunk@2669 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-07-14 14:41:12 +00:00
Paul S. Owen
f212a877c4 Latest schema
git-svn-id: file:///svn/phpbb/trunk@2668 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-07-14 14:40:17 +00:00
Paul S. Owen
5e671994ff Various updates which will break yet more things
git-svn-id: file:///svn/phpbb/trunk@2667 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-07-14 14:39:01 +00:00
Paul S. Owen
89d28bb48b Combine posting and searching functions ... not entirely convinced about this since searching is done without need of posting routines but hum ho for now
git-svn-id: file:///svn/phpbb/trunk@2666 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-07-14 14:37:47 +00:00
Paul S. Owen
1811b914f0 Combine, update, remove various functions ... by committing this various 'things' will stop working, I did warn you not to use 2.1.x ... :)
git-svn-id: file:///svn/phpbb/trunk@2665 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-07-14 14:35:12 +00:00
Paul S. Owen
0b285c07f6 Combine various admin related functions
git-svn-id: file:///svn/phpbb/trunk@2664 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-07-14 14:34:34 +00:00
Paul S. Owen
72db8c4a5e Combine emailer and smtp
git-svn-id: file:///svn/phpbb/trunk@2663 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-07-14 14:34:16 +00:00
Paul S. Owen
a0ee4ce6ae This should work fine with existing templates ... note that you will need to create a directory called cache/ in your templates directory ... give it a+w access (chmod 700)
git-svn-id: file:///svn/phpbb/trunk@2662 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-07-14 14:33:30 +00:00
Paul S. Owen
05b6c0348e Renamed again
git-svn-id: file:///svn/phpbb/trunk@2661 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-07-14 14:32:45 +00:00
Paul S. Owen
44b8633eb4 Few minor changes
git-svn-id: file:///svn/phpbb/trunk@2656 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-07-07 14:10:18 +00:00
Paul S. Owen
61a947b132 Slightly condensed ... for admin/ only
git-svn-id: file:///svn/phpbb/trunk@2655 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-07-07 00:07:13 +00:00
Paul S. Owen
2beb39c812 Have log ... will view
git-svn-id: file:///svn/phpbb/trunk@2654 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-07-06 20:37:09 +00:00
Paul S. Owen
20da9bb86d Time to a commit ... been a while
git-svn-id: file:///svn/phpbb/trunk@2653 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-07-06 13:18:20 +00:00
Paul S. Owen
419bb07697 Initial commit ... neither do anything, just wanted to add something :D
git-svn-id: file:///svn/phpbb/trunk@2652 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-07-05 23:52:14 +00:00
Paul S. Owen
501ec60c0c See previous check-in
git-svn-id: file:///svn/phpbb/trunk@2651 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-06-29 01:58:54 +00:00
Paul S. Owen
af4f292d28 Combine SMTP and Emailer sources into one
git-svn-id: file:///svn/phpbb/trunk@2650 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-06-29 01:47:26 +00:00
dougk_ff7
46b8fc7cfe Ok, a schema fix... Not a terrible problem....
git-svn-id: file:///svn/phpbb/trunk@2646 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-06-27 19:55:26 +00:00
Paul S. Owen
3a233ee6bb oops, that's what you get for not testing more thoroughly ...
git-svn-id: file:///svn/phpbb/trunk@2644 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-06-22 15:17:26 +00:00
Paul S. Owen
c3be8488ed Removed image sets for time being, chances are some things will change
git-svn-id: file:///svn/phpbb/trunk@2643 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-06-22 15:17:13 +00:00
Paul S. Owen
5cff35d0f7 Template caching ( file based )
git-svn-id: file:///svn/phpbb/trunk@2642 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-06-22 11:48:10 +00:00
Paul S. Owen
e733a0eca1 Few more changes
git-svn-id: file:///svn/phpbb/trunk@2641 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-06-21 22:40:29 +00:00
Paul S. Owen
674cf1c3d6 A few suggested or preliminary changes ... these aren't fixed and again I suggest no one install (or even manually update) this version at present.
git-svn-id: file:///svn/phpbb/trunk@2640 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-06-21 20:12:08 +00:00
the_systech
6a3ec2b0b3 Fix for supposed "security" hole....
git-svn-id: file:///svn/phpbb/trunk@2636 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-06-17 21:18:37 +00:00
Paul S. Owen
84b6f6e925 Various updates ... still preliminary, particularly auth
git-svn-id: file:///svn/phpbb/trunk@2631 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-06-11 02:27:26 +00:00
Paul S. Owen
c0495aace4 Updates in line with 2.0.1
git-svn-id: file:///svn/phpbb/trunk@2630 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-06-10 01:52:48 +00:00
Paul S. Owen
e9bec6c557 Fixes in line with 2.0.1
git-svn-id: file:///svn/phpbb/trunk@2629 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-06-10 01:49:57 +00:00
Paul S. Owen
b2d06c7309 Various additions to come in line with 2.0.1
git-svn-id: file:///svn/phpbb/trunk@2628 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-06-10 01:49:48 +00:00
Paul S. Owen
5d0b7f5f9f Possible updates and additions ...
git-svn-id: file:///svn/phpbb/trunk@2627 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-06-09 00:04:44 +00:00
Paul S. Owen
e739e793eb Spot the deliberate errors
git-svn-id: file:///svn/phpbb/trunk@2626 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-06-08 23:55:00 +00:00
Paul S. Owen
3212f1ec0e Non-English languages aren't being maintained inline with development at present, layout is likely to change so they go bye bye for now ... less trouble for time being I hope ...
git-svn-id: file:///svn/phpbb/trunk@2625 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-06-08 22:03:40 +00:00
Paul S. Owen
61e31c383c NOTE! This is a work in progress and is subject to considerable change ... and the update script is not likely to cope with it ... I heavily recommend no one install a fresh copy of 2.1 at this time.
git-svn-id: file:///svn/phpbb/trunk@2624 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-06-08 20:31:56 +00:00
Paul S. Owen
d8fa35e790 Initial session and auth code checkin
git-svn-id: file:///svn/phpbb/trunk@2623 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-06-08 19:50:18 +00:00
Paul S. Owen
da00e4a5ee What is this still doing here?!?! :D
git-svn-id: file:///svn/phpbb/trunk@2622 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-06-08 16:54:44 +00:00
Paul S. Owen
397e8ef31b Some transfers from 2.0.x plus move debugging to template var which will please some people
git-svn-id: file:///svn/phpbb/trunk@2621 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-06-08 16:45:41 +00:00
Paul S. Owen
d75291c5d2 Add fields for forum/topic post count incrementing and topic moderation
git-svn-id: file:///svn/phpbb/trunk@2612 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-05-21 14:25:52 +00:00
Paul S. Owen
9f0f335812 Fix ban_ip ALTER error
git-svn-id: file:///svn/phpbb/trunk@2592 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-05-17 21:52:35 +00:00
Paul S. Owen
6bf767ae77 Fix bad URL for topic notifications
git-svn-id: file:///svn/phpbb/trunk@2581 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-05-14 17:27:20 +00:00
Paul S. Owen
24d2101805 doh
git-svn-id: file:///svn/phpbb/trunk@2562 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-05-09 14:23:24 +00:00
Paul S. Owen
46bd19817c Alter ban_ip's when examining subnets ... this whole thing needs a review for IPv6
git-svn-id: file:///svn/phpbb/trunk@2561 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-05-09 14:13:45 +00:00
Paul S. Owen
f6c6628509 IP related updates
git-svn-id: file:///svn/phpbb/trunk@2560 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-05-09 14:08:41 +00:00
Paul S. Owen
ab8d9f1978 IP related updates NOTE this is just MySQL! Do not run this if you are using other DB's or the necessary IP changes will not be implemented in future
git-svn-id: file:///svn/phpbb/trunk@2559 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-05-09 14:08:36 +00:00
Paul S. Owen
8043f50781 IP related updates + fixed gc in sessions
git-svn-id: file:///svn/phpbb/trunk@2558 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-05-09 14:07:33 +00:00
Paul S. Owen
2d7bfa5c61 IP size to 40 chars
git-svn-id: file:///svn/phpbb/trunk@2557 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-05-08 23:34:36 +00:00
James Atkinson
52c0d86c95 Changed code so it stores total users in config table to remove a slightly costly query
git-svn-id: file:///svn/phpbb/trunk@2549 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-04-30 17:56:50 +00:00
the_systech
559dff21b7 Fix for "security vulnerability" in img tag
git-svn-id: file:///svn/phpbb/trunk@2544 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-04-24 15:00:33 +00:00
Paul S. Owen
1386605952 Oops
git-svn-id: file:///svn/phpbb/trunk@2540 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-04-21 01:13:44 +00:00
Paul S. Owen
20fc6a2f10 Updated for schema changes
git-svn-id: file:///svn/phpbb/trunk@2539 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-04-20 23:45:02 +00:00
Paul S. Owen
310e9af890 And again something screws up causing a "not up to date" check failure ...
git-svn-id: file:///svn/phpbb/trunk@2538 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-04-20 23:44:35 +00:00
Paul S. Owen
9649ececed Associated schema changes
git-svn-id: file:///svn/phpbb/trunk@2537 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-04-20 23:43:46 +00:00
Paul S. Owen
fa3d0694a8 Forum watch stuff ... just copied the topic watch stuff and thus needs reviewing inline with everything else ... but something needed to be added to 2.1 :)
git-svn-id: file:///svn/phpbb/trunk@2536 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-04-20 22:56:09 +00:00
Paul S. Owen
35c0d33ee7 Forum watch stuff
git-svn-id: file:///svn/phpbb/trunk@2535 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-04-20 22:55:11 +00:00
Paul S. Owen
0616125f9b Initial version
git-svn-id: file:///svn/phpbb/trunk@2534 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-04-20 21:01:06 +00:00
Paul S. Owen
36c0a04de9 Ooops
git-svn-id: file:///svn/phpbb/trunk@2533 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-04-20 00:36:33 +00:00
Paul S. Owen
5b0bba72b1 merged from 2.0.0 branch (marked merge_point_20020420) + assorted updates and trial stuff for example session alterations
git-svn-id: file:///svn/phpbb/trunk@2532 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-04-20 00:22:29 +00:00
Paul S. Owen
65aa921828 Update a few things for 2.1 CVS
git-svn-id: file:///svn/phpbb/trunk@2489 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-04-04 21:51:32 +00:00
Paul S. Owen
f5b2f6067a Switch to shiny new 2.1 update_script
git-svn-id: file:///svn/phpbb/trunk@2488 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-04-04 21:49:25 +00:00
Paul S. Owen
214f16f791 Update a few things for 2.1 CVS
git-svn-id: file:///svn/phpbb/trunk@2487 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-04-04 21:44:36 +00:00
Paul S. Owen
a676b8fdf8 Switch off DEBUG mode ... will have to ask users to enable this in some cases during bug reporting but this will prevent piles of SQL being output in a few unecessary places
git-svn-id: file:///svn/phpbb/trunk@2482 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-04-04 11:53:50 +00:00
Paul S. Owen
6200b07830 Remove timing and other details for final release ...can always be put back for those that want it
git-svn-id: file:///svn/phpbb/trunk@2481 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-04-04 11:53:13 +00:00
1630 changed files with 125996 additions and 95517 deletions

9
phpBB/.htaccess Normal file
View File

@@ -0,0 +1,9 @@
<Files "config.php">
Order Allow,Deny
Deny from All
</Files>
<Files "common.php">
Order Allow,Deny
Deny from All
</Files>

Binary file not shown.

After

Width:  |  Height:  |  Size: 113 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 48 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 48 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 48 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 48 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 416 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 778 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 826 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 192 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 255 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 239 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 242 B

View File

Before

Width:  |  Height:  |  Size: 677 B

After

Width:  |  Height:  |  Size: 677 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 714 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

View File

Before

Width:  |  Height:  |  Size: 673 B

After

Width:  |  Height:  |  Size: 673 B

View File

Before

Width:  |  Height:  |  Size: 333 B

After

Width:  |  Height:  |  Size: 333 B

View File

Before

Width:  |  Height:  |  Size: 344 B

After

Width:  |  Height:  |  Size: 344 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 705 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 251 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 307 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 240 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 474 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 401 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.2 KiB

BIN
phpBB/adm/images/progress_bar.gif Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

BIN
phpBB/adm/images/spacer.gif Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 807 B

374
phpBB/adm/index.php Normal file
View File

@@ -0,0 +1,374 @@
<?php
/**
*
* @package acp
* @version $Id$
* @copyright (c) 2005 phpBB Group
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
*
*/
/**
*/
define('IN_PHPBB', 1);
define('ADMIN_START', 1);
define('NEED_SID', true);
// Include files
$phpbb_root_path = './../';
$phpEx = substr(strrchr(__FILE__, '.'), 1);
require($phpbb_root_path . 'common.' . $phpEx);
require($phpbb_root_path . 'includes/functions_admin.' . $phpEx);
require($phpbb_root_path . 'includes/functions_module.' . $phpEx);
// Start session management
$user->session_begin();
$auth->acl($user->data);
$user->setup('acp/common');
// End session management
// Did user forget to login? Give 'em a chance to here ...
if ($user->data['user_id'] == ANONYMOUS)
{
login_box('', $user->lang['LOGIN_ADMIN'], $user->lang['LOGIN_ADMIN_SUCCESS'], true);
}
// Have they authenticated (again) as an admin for this session?
if (!isset($user->data['session_admin']) || !$user->data['session_admin'])
{
login_box('', $user->lang['LOGIN_ADMIN_CONFIRM'], $user->lang['LOGIN_ADMIN_SUCCESS'], true, false);
}
// Is user any type of admin? No, then stop here, each script needs to
// check specific permissions but this is a catchall
if (!$auth->acl_get('a_'))
{
trigger_error($user->lang['NO_ADMIN']);
}
// We define the admin variables now, because the user is now able to use the admin related features...
define('IN_ADMIN', true);
$phpbb_admin_path = './';
// Some oft used variables
$safe_mode = (@ini_get('safe_mode') || @strtolower(ini_get('safe_mode')) == 'on') ? true : false;
$file_uploads = (@ini_get('file_uploads') || strtolower(@ini_get('file_uploads')) == 'on') ? true : false;
$module_id = request_var('i', '');
$mode = request_var('mode', '');
// Set custom template for admin area
$template->set_custom_template($phpbb_admin_path . 'style', 'admin');
$template->assign_var('T_TEMPLATE_PATH', $phpbb_admin_path . 'style');
// the acp template is never stored in the database
$user->theme['template_storedb'] = false;
// Force pagination seperation for admin style
$user->theme['pagination_sep'] = '';
// Instantiate new module
$module = new p_master();
// Instantiate module system and generate list of available modules
$module->list_modules('acp');
// Select the active module
$module->set_active($module_id, $mode);
// Assign data to the template engine for the list of modules
// We do this before loading the active module for correct menu display in trigger_error
$module->assign_tpl_vars(append_sid("{$phpbb_admin_path}index.$phpEx"));
// Load and execute the relevant module
$module->load_active();
// Generate the page
adm_page_header($module->get_page_title());
$template->set_filenames(array(
'body' => $module->get_tpl_name())
);
adm_page_footer();
/**
* Header for acp pages
*/
function adm_page_header($page_title)
{
global $config, $db, $user, $template;
global $phpbb_root_path, $phpbb_admin_path, $phpEx, $SID, $_SID;
if (defined('HEADER_INC'))
{
return;
}
define('HEADER_INC', true);
// gzip_compression
if ($config['gzip_compress'])
{
if (@extension_loaded('zlib') && !headers_sent())
{
ob_start('ob_gzhandler');
}
}
$template->assign_vars(array(
'PAGE_TITLE' => $page_title,
'USERNAME' => $user->data['username'],
'SID' => $SID,
'_SID' => $_SID,
'SESSION_ID' => $user->session_id,
'ROOT_PATH' => $phpbb_admin_path,
'U_LOGOUT' => append_sid("{$phpbb_root_path}ucp.$phpEx", 'mode=logout'),
'U_ADM_INDEX' => append_sid("{$phpbb_admin_path}index.$phpEx"),
'U_INDEX' => append_sid("{$phpbb_root_path}index.$phpEx"),
'T_IMAGES_PATH' => "{$phpbb_root_path}images/",
'T_SMILIES_PATH' => "{$phpbb_root_path}{$config['smilies_path']}/",
'T_AVATAR_PATH' => "{$phpbb_root_path}{$config['avatar_path']}/",
'T_AVATAR_GALLERY_PATH' => "{$phpbb_root_path}{$config['avatar_gallery_path']}/",
'T_ICONS_PATH' => "{$phpbb_root_path}{$config['icons_path']}/",
'T_RANKS_PATH' => "{$phpbb_root_path}{$config['ranks_path']}/",
'T_UPLOAD_PATH' => "{$phpbb_root_path}{$config['upload_path']}/",
'ICON_MOVE_UP' => '<img src="' . $phpbb_admin_path . 'images/icon_up.gif" alt="' . $user->lang['MOVE_UP'] . '" title="' . $user->lang['MOVE_UP'] . '" />',
'ICON_MOVE_DOWN' => '<img src="' . $phpbb_admin_path . 'images/icon_down.gif" alt="' . $user->lang['MOVE_DOWN'] . '" title="' . $user->lang['MOVE_DOWN'] . '" />',
'ICON_EDIT' => '<img src="' . $phpbb_admin_path . 'images/icon_edit.gif" alt="' . $user->lang['EDIT'] . '" title="' . $user->lang['EDIT'] . '" />',
'ICON_DELETE' => '<img src="' . $phpbb_admin_path . 'images/icon_delete.gif" alt="' . $user->lang['DELETE'] . '" title="' . $user->lang['DELETE'] . '" />',
'ICON_SYNC' => '<img src="' . $phpbb_admin_path . 'images/icon_sync.gif" alt="' . $user->lang['RESYNC'] . '" title="' . $user->lang['RESYNC'] . '" />',
'S_CONTENT_DIRECTION' => $user->lang['DIRECTION'],
'S_CONTENT_ENCODING' => $user->lang['ENCODING'],
'S_CONTENT_DIR_LEFT' => $user->lang['LEFT'],
'S_CONTENT_DIR_RIGHT' => $user->lang['RIGHT'])
);
if (!empty($config['send_encoding']))
{
header('Content-type: text/html; charset: ' . $user->lang['ENCODING']);
}
header('Cache-Control: private, no-cache="set-cookie"');
header('Expires: 0');
header('Pragma: no-cache');
return;
}
/**
* Page footer for acp pages
*/
function adm_page_footer($copyright_html = true)
{
global $db, $config, $template, $user, $auth, $cache;
global $starttime, $phpbb_root_path, $phpbb_admin_path, $phpEx;
// Output page creation time
if (defined('DEBUG'))
{
$mtime = explode(' ', microtime());
$totaltime = $mtime[0] + $mtime[1] - $starttime;
if (!empty($_REQUEST['explain']) && $auth->acl_get('a_') && defined('DEBUG_EXTRA') && method_exists($db, 'sql_report'))
{
$db->sql_report('display');
}
$debug_output = sprintf('Time : %.3fs | ' . $db->sql_num_queries() . ' Queries | GZIP : ' . (($config['gzip_compress']) ? 'On' : 'Off') . (($user->load) ? ' | Load : ' . $user->load : ''), $totaltime);
if ($auth->acl_get('a_') && defined('DEBUG_EXTRA'))
{
if (function_exists('memory_get_usage'))
{
if ($memory_usage = memory_get_usage())
{
global $base_memory_usage;
$memory_usage -= $base_memory_usage;
$memory_usage = ($memory_usage >= 1048576) ? round((round($memory_usage / 1048576 * 100) / 100), 2) . ' ' . $user->lang['MB'] : (($memory_usage >= 1024) ? round((round($memory_usage / 1024 * 100) / 100), 2) . ' ' . $user->lang['KB'] : $memory_usage . ' ' . $user->lang['BYTES']);
$debug_output .= ' | Memory Usage: ' . $memory_usage;
}
}
$debug_output .= ' | <a href="' . build_url() . '&amp;explain=1">Explain</a>';
}
}
$template->assign_vars(array(
'DEBUG_OUTPUT' => (defined('DEBUG')) ? $debug_output : '',
'S_COPYRIGHT_HTML' => $copyright_html,
'VERSION' => $config['version'])
);
$template->display('body');
garbage_collection();
exit;
}
/**
* Generate back link for acp pages
*/
function adm_back_link($u_action)
{
global $user;
return '<br /><br /><a href="' . $u_action . '">&laquo; ' . $user->lang['BACK_TO_PREV'] . '</a>';
}
/**
* Build select field options in acp pages
*/
function build_select($option_ary, $option_default = false)
{
global $user;
$html = '';
foreach ($option_ary as $value => $title)
{
$selected = ($option_default !== false && $value == $option_default) ? ' selected="selected"' : '';
$html .= '<option value="' . $value . '"' . $selected . '>' . $user->lang[$title] . '</option>';
}
return $html;
}
/**
* Build radio fields in acp pages
*/
function h_radio($name, &$input_ary, $input_default = false, $id = false, $key = false)
{
global $user;
$html = '';
$id_assigned = false;
foreach ($input_ary as $value => $title)
{
$selected = ($input_default !== false && $value == $input_default) ? ' checked="checked"' : '';
$html .= ($html) ? ' &nbsp; ' : '';
$html .= '<input type="radio" name="' . $name . '"' . (($id && !$id_assigned) ? ' id="' . $id . '"' : '') . ' value="' . $value . '"' . $selected . (($key) ? ' accesskey="' . $key . '"' : '') . ' class="radio" /> ' . $user->lang[$title];
$id_assigned = true;
}
return $html;
}
/**
* Build configuration template for acp configuration pages
*/
function build_cfg_template($tpl_type, $key, &$new, $config_key, $vars)
{
global $user, $module;
$tpl = '';
$name = 'config[' . $config_key . ']';
switch ($tpl_type[0])
{
case 'text':
case 'password':
$size = (int) $tpl_type[1];
$maxlength = (int) $tpl_type[2];
$tpl = '<input id="' . $key . '" type="' . $tpl_type[0] . '"' . (($size) ? ' size="' . $size . '"' : '') . ' maxlength="' . (($maxlength) ? $maxlength : 255) . '" name="' . $name . '" value="' . $new[$config_key] . '" />';
break;
case 'dimension':
$size = (int) $tpl_type[1];
$maxlength = (int) $tpl_type[2];
$tpl = '<input id="' . $key . '" type="text"' . (($size) ? ' size="' . $size . '"' : '') . ' maxlength="' . (($maxlength) ? $maxlength : 255) . '" name="config[' . $config_key . '_height]" value="' . $new[$config_key . '_height'] . '" /> x <input type="text"' . (($size) ? ' size="' . $size . '"' : '') . ' maxlength="' . (($maxlength) ? $maxlength : 255) . '" name="config[' . $config_key . '_width]" value="' . $new[$config_key . '_width'] . '" />';
break;
case 'textarea':
$rows = (int) $tpl_type[1];
$cols = (int) $tpl_type[2];
$tpl = '<textarea id="' . $key . '" name="' . $name . '" rows="' . $rows . '" cols="' . $cols . '">' . $new[$config_key] . '</textarea>';
break;
case 'radio':
$key_yes = ($new[$config_key]) ? ' checked="checked"' : '';
$key_no = (!$new[$config_key]) ? ' checked="checked"' : '';
$tpl_type_cond = explode('_', $tpl_type[1]);
$type_no = ($tpl_type_cond[0] == 'disabled' || $tpl_type_cond[0] == 'enabled') ? false : true;
$tpl_no = '<input type="radio" name="' . $name . '" value="0"' . $key_no . ' class="radio" />&nbsp;' . (($type_no) ? $user->lang['NO'] : $user->lang['DISABLED']);
$tpl_yes = '<input type="radio" id="' . $key . '" name="' . $name . '" value="1"' . $key_yes . ' class="radio" />&nbsp;' . (($type_no) ? $user->lang['YES'] : $user->lang['ENABLED']);
$tpl = ($tpl_type_cond[0] == 'yes' || $tpl_type_cond[0] == 'enabled') ? $tpl_yes . '&nbsp;&nbsp;' . $tpl_no : $tpl_no . '&nbsp;&nbsp;' . $tpl_yes;
break;
case 'select':
case 'custom':
$return = '';
if (isset($vars['method']))
{
$call = array($module->module, $vars['method']);
}
else if (isset($vars['function']))
{
$call = $vars['function'];
}
else
{
break;
}
if (isset($vars['params']))
{
$args = array();
foreach ($vars['params'] as $value)
{
switch ($value)
{
case '{CONFIG_VALUE}':
$value = $new[$config_key];
break;
case '{KEY}':
$value = $key;
break;
}
$args[] = $value;
}
}
else
{
$args = array($new[$config_key], $key);
}
$return = call_user_func_array($call, $args);
if ($tpl_type[0] == 'select')
{
$tpl = '<select id="' . $key . '" name="' . $name . '">' . $return . '</select>';
}
else
{
$tpl = $return;
}
break;
default:
break;
}
if (isset($vars['append']))
{
$tpl .= $vars['append'];
}
return $tpl;
}
?>

View File

@@ -0,0 +1,355 @@
<!-- INCLUDE overall_header.html -->
<a name="maincontent"></a>
<h1>{L_TITLE}</h1>
<p>{L_TITLE_EXPLAIN}</p>
<!-- IF S_WARNING -->
<div class="errorbox">
<h3>{L_WARNING}</h3>
<p>{WARNING_MSG}</p>
</div>
<!-- ENDIF -->
<!-- IF S_NOTIFY -->
<div class="successbox">
<h3>{L_NOTIFY}</h3>
<p>{NOTIFY_MSG}</p>
</div>
<!-- ENDIF -->
<!-- IF S_UPLOADING_FILES -->
<h2>{L_UPLOADING_FILES}</h2>
<!-- BEGIN upload -->
:: {upload.FILE_INFO}<br />
<!-- IF upload.S_DENIED --><span class="error">{upload.DENIED}</span><!-- ELSEIF upload.ERROR_MSG --><span class="error">{upload.ERROR_MSG}</span><!-- ELSE --><span class="success">{L_SUCCESSFULLY_UPLOADED}</span><!-- ENDIF -->
<br /><br />
<!-- END upload -->
<!-- ENDIF -->
<!-- IF S_ATTACHMENT_SETTINGS -->
<!-- IF not S_THUMBNAIL_SUPPORT -->
<div class="errorbox">
<p>{L_NO_THUMBNAIL_SUPPORT}</p>
</div>
<!-- ENDIF -->
<form id="attachsettings" method="post" action="{U_ACTION}">
<!-- BEGIN options -->
<!-- IF options.S_LEGEND -->
<!-- IF not options.S_FIRST_ROW -->
</fieldset>
<!-- ENDIF -->
<fieldset>
<legend>{options.LEGEND}</legend>
<!-- ELSE -->
<dl>
<dt><label for="{options.KEY}">{options.TITLE}:</label><!-- IF options.S_EXPLAIN --><br /><span>{options.TITLE_EXPLAIN}</span><!-- ENDIF --></dt>
<dd>{options.CONTENT}</dd>
</dl>
<!-- ENDIF -->
<!-- END options -->
</fieldset>
<fieldset class="submit-buttons">
<input class="button1" type="submit" id="submit" name="submit" value="{L_SUBMIT}" />&nbsp;
<input class="button2" type="reset" id="reset" name="reset" value="{L_RESET}" />
</fieldset>
<!-- IF not S_SECURE_DOWNLOADS -->
<div class="errorbox">
<p>{L_SECURE_DOWNLOAD_NOTICE}</p>
</div>
<!-- ENDIF -->
<fieldset>
<legend>{L_SECURE_TITLE}</legend>
<p>{L_DOWNLOAD_ADD_IPS_EXPLAIN}</p>
<dl>
<dt><label for="ip_hostname">{L_IP_HOSTNAME}:</label></dt>
<dd><textarea id="ip_hostname" cols="40" rows="3" name="ips"></textarea></dd>
</dl>
<dl>
<dt><label for="exclude">{L_IP_EXCLUDE}:</label><br /><span>{L_EXCLUDE_ENTERED_IP}</span></dt>
<dd><input type="radio" id="exclude" name="ipexclude" value="1" class="radio" /> {L_YES} &nbsp; <input type="radio" name="ipexclude" value="0" checked="checked" class="radio" /> {L_NO}</dd>
</dl>
</fieldset>
<fieldset class="quick">
<input class="button1" type="submit" id="securesubmit" name="securesubmit" value="{L_SUBMIT}" />
</fieldset>
<fieldset>
<legend>{L_REMOVE_IPS}</legend>
<!-- IF S_DEFINED_IPS -->
<p>{L_DOWNLOAD_REMOVE_IPS_EXPLAIN}</p>
<dl>
<dt><label for="remove_ip_hostname">{L_IP_HOSTNAME}:</label></dt>
<dd><select name="unip[]" id="remove_ip_hostname" multiple="multiple" size="10">{DEFINED_IPS}</select></dd>
</dl>
</fieldset>
<fieldset class="quick">
<input class="button1" type="submit" id="unsecuresubmit" name="unsecuresubmit" value="{L_SUBMIT}" />
</fieldset>
<!-- ELSE -->
<p>{L_NO_IPS_DEFINED}</p>
<!-- ENDIF -->
</fieldset>
</form>
<!-- ELSEIF S_EXTENSION_GROUPS -->
<!-- IF S_EDIT_GROUP -->
<script type="text/javascript" defer="defer">
<!--
function update_image(newimage)
{
if (newimage == 'no_image')
{
document.image_upload_icon.src = "{PHPBB_ROOT_PATH}images/spacer.gif";
}
else
{
document.image_upload_icon.src = "{PHPBB_ROOT_PATH}{IMG_PATH}/" + newimage;
}
}
function show_extensions(elem)
{
var str = '';
for (i = 0; i < elem.length; i++)
{
var element = elem.options[i];
if (element.selected)
{
if (str)
{
str = str + ', ';
}
str = str + element.innerHTML;
}
}
if (document.all)
{
document.all.ext.innerText = str;
}
else if (document.getElementById('ext').textContent)
{
document.getElementById('ext').textContent = str;
}
else if (document.getElementById('ext').firstChild.nodeValue)
{
document.getElementById('ext').firstChild.nodeValue = str;
}
}
//-->
</script>
<form id="extgroups" method="post" action="{U_ACTION}">
<fieldset>
<input type="hidden" name="action" value="{ACTION}" />
<input type="hidden" name="g" value="{GROUP_ID}" />
<legend>{L_LEGEND}</legend>
<dl>
<dt><label for="group_name">{L_GROUP_NAME}:</label></dt>
<dd><input type="text" id="group_name" size="20" maxlength="100" name="group_name" value="{GROUP_NAME}" /></dd>
</dl>
<dl>
<dt><label for="category">{L_SPECIAL_CATEGORY}:</label><br /><span>{L_SPECIAL_CATEGORY_EXPLAIN}</span></dt>
<dd>{S_CATEGORY_SELECT}</dd>
</dl>
<dl>
<dt><label for="allowed">{L_ALLOWED}:</label></dt>
<dd><input type="checkbox" class="radio" id="allowed" name="allow_group" value="1"<!-- IF ALLOW_GROUP --> checked="checked"<!-- ENDIF --> /></dd>
</dl>
<dl>
<dt><label for="allow_in_pm">{L_ALLOW_IN_PM}:</label></dt>
<dd><input type="checkbox" class="radio" id="allow_in_pm" name="allow_in_pm" value="1"<!-- IF ALLOW_IN_PM --> checked="checked"<!-- ENDIF --> /></dd>
</dl>
<dl>
<dt><label for="download_mode">{L_DOWNLOAD_MODE}:</label><br /><span>{L_DOWNLOAD_MODE_EXPLAIN}</span></dt>
<dd>{S_DOWNLOAD_SELECT}</dd>
</dl>
<dl>
<dt><label for="upload_icon">{L_UPLOAD_ICON}:</label></dt>
<dd><select name="upload_icon" id="upload_icon" onchange="update_image(this.options[selectedIndex].value);">
<option value="no_image"<!-- IF S_NO_IMAGE --> selected="selected"<!-- ENDIF -->>{L_NO_IMAGE}</option>{S_FILENAME_LIST}
</select></dd>
<dd>&nbsp;<img <!-- IF S_NO_IMAGE -->src="{PHPBB_ROOT_PATH}images/spacer.gif"<!-- ELSE -->src="{UPLOAD_ICON_SRC}"<!-- ENDIF --> name="image_upload_icon" alt="" title="" />&nbsp;</dd>
</dl>
<dl>
<dt><label for="extgroup_filesize">{L_MAX_EXTGROUP_FILESIZE}:</label></dt>
<dd><input type="text" id="extgroup_filesize" size="3" maxlength="15" name="max_filesize" value="{EXTGROUP_FILESIZE}" /> <select name="size_select">{S_EXT_GROUP_SIZE_OPTIONS}</select></dd>
</dl>
<dl>
<dt><label for="assigned_extensions">{L_ASSIGNED_EXTENSIONS}:</label></dt>
<dd><div id="ext">{ASSIGNED_EXTENSIONS}</div> <span>[<a href="{U_EXTENSIONS}">{L_GO_TO_EXTENSIONS}</a> ]</span></dd>
<dd><select name="extensions[]" id="assigned_extensions" class="narrow" onchange="show_extensions(this);" multiple="multiple" size="8">{S_EXTENSION_OPTIONS}</select></dd>
</dl>
<dl>
<dt><label for="allowed_forums">{L_ALLOWED_FORUMS}:</label><br /><span>{L_ALLOWED_FORUMS_EXPLAIN}</span></dt>
<dd><input type="radio" id="allowed_forums" class="radio" name="forum_select" value="0"<!-- IF not S_FORUM_IDS --> checked="checked"<!-- ENDIF --> />&nbsp;{L_ALLOW_ALL_FORUMS}&nbsp;&nbsp;<input type="radio" class="radio" name="forum_select" value="1"<!-- IF S_FORUM_IDS --> checked="checked"<!-- ENDIF --> />&nbsp;{L_ALLOW_SELECTED_FORUMS}</dd>
<dd><select name="allowed_forums[]" multiple="multiple" size="8">{S_FORUM_ID_OPTIONS}</select></dd>
</dl>
</fieldset>
<fieldset class="submit-buttons">
<input class="button1" type="submit" id="submit" name="submit" value="{L_SUBMIT}" />&nbsp;
<input class="button2" type="reset" id="reset" name="reset" value="{L_RESET}" />
</fieldset>
</form>
<!-- ELSE -->
<table cellspacing="1">
<col class="row1" /><col class="row1" /><col class="row2" />
<thead>
<tr>
<th>{L_EXTENSION_GROUP}</th>
<th>{L_SPECIAL_CATEGORY}</th>
<th>{L_OPTIONS}</th>
</tr>
</thead>
<tbody>
<!-- BEGIN groups -->
<!-- IF groups.S_ADD_SPACER -->
<tr>
<td class="spacer" colspan="3">&nbsp;</td>
</tr>
<!-- ENDIF -->
<tr>
<td><a href="{groups.U_EDIT}">{groups.GROUP_NAME}</a>
<!-- IF groups.S_GROUP_ALLOWED and not groups.S_ALLOWED_IN_PM --><br /><span>&raquo; {L_NOT_ALLOWED_IN_PM}</span><!-- ENDIF -->
</td>
<td>{groups.CATEGORY}</td>
<td align="center" valign="middle" style="white-space: nowrap;">&nbsp;<a href="{groups.U_EDIT}">{L_EDIT}</a> | <a href="{groups.U_DELETE}">{L_DELETE}</a> | <a href="{groups.U_ACT_DEACT}">{groups.L_ACT_DEACT}</a>&nbsp;</td>
</tr>
<!-- END groups -->
</tbody>
</table>
<form id="extgroups" method="post" action="{U_ACTION}">
<fieldset class="quick">
{L_CREATE_GROUP}: <input type="text" name="group_name" maxlength="30" />
<input class="button2" name="add" type="submit" value="{L_SUBMIT}" />
</fieldset>
</form>
<!-- ENDIF -->
<!-- ELSEIF S_EXTENSIONS -->
<form id="add_ext" method="post" action="{U_ACTION}">
<fieldset>
<legend>{L_ADD_EXTENSION}</legend>
<dl>
<dt><label for="add_extension">{L_EXTENSION}</label></dt>
<dd><input type="text" id="add_extension" size="20" maxlength="100" name="add_extension" value="{ADD_EXTENSION}" /></dd>
</dl>
<dl>
<dt><label for="extension_group">{L_EXTENSION_GROUP}</label></dt>
<dd>{GROUP_SELECT_OPTIONS}</dd>
</dl>
</fieldset>
<fieldset class="quick">
<input type="submit" id="add_extension_check" name="add_extension_check" class="button2" value="{L_SUBMIT}" />
</fieldset>
</form>
<br />
<form id="change_ext" method="post" action="{U_ACTION}">
<table cellspacing="1">
<col class="row1" /><col class="row1" /><col class="row2" />
<thead>
<tr>
<th>{L_EXTENSION}</th>
<th>{L_EXTENSION_GROUP}</th>
<th>{L_DELETE}</th>
</tr>
</thead>
<tbody>
<!-- BEGIN extensions -->
<!-- IF extensions.S_SPACER -->
<tr>
<td class="spacer" colspan="3">&nbsp;</td>
</tr>
<!-- ENDIF -->
<tr>
<input type="hidden" name="extension_change_list[]" value="{extensions.EXTENSION_ID}" />
<td><b>{extensions.EXTENSION}</b></td>
<td>{extensions.GROUP_OPTIONS}</td>
<td><input type="checkbox" class="radio" name="extension_id_list[]" value="{extensions.EXTENSION_ID}" /></td>
</tr>
<!-- END extensions -->
</tbody>
</table>
<fieldset class="submit-buttons">
<input class="button1" type="submit" id="submit" name="submit" value="{L_SUBMIT}" />&nbsp;
<input class="button2" type="reset" id="reset" name="reset" value="{L_RESET}" />
</fieldset>
</form>
<!-- ELSEIF S_ORPHAN -->
<form id="orphan" method="post" action="{U_ACTION}">
<table cellspacing="1">
<thead>
<tr>
<th>{L_FILENAME}</th>
<th>{L_FILESIZE}</th>
<th>{L_ATTACH_POST_ID}</th>
<th>{L_ATTACH_TO_POST}</th>
<th>{L_DELETE}</th>
</tr>
</thead>
<tbody>
<!-- BEGIN orphan -->
<!-- IF orphan.S_ROW_COUNT is even --><tr class="row1"><!-- ELSE --><tr class="row2"><!-- ENDIF -->
<td><a href="{orphan.U_FILE}" rel="file">{orphan.FILE}</a></td>
<td>{orphan.FILESIZE}</td>
<td><b>ID: </b><input type="text" name="post_id[{orphan.FILE}]" size="7" maxlength="10" value="{orphan.POST_IDS}" /></td>
<td><input type="checkbox" class="radio" name="add[{orphan.FILE}]" /></td>
<td><input type="checkbox" class="radio" name="delete[{orphan.FILE}]" /></td>
</tr>
<!-- END orphan -->
<tr>
<td colspan="3">&nbsp;</td>
<td class="small"><a href="javascript:marklist('orphan', 'add', true);">{L_MARK_ALL}</a> :: <a href="javascript:marklist('orphan', 'add', false);">{L_UNMARK_ALL}</a></td>
<td class="small"><a href="javascript:marklist('orphan', 'delete', true);">{L_MARK_ALL}</a> :: <a href="javascript:marklist('orphan', 'delete', false);">{L_UNMARK_ALL}</a></td>
</tr>
</tbody>
</table>
<fieldset class="submit-buttons">
<input class="button1" type="submit" id="submit" name="submit" value="{L_SUBMIT}" />&nbsp;
<input class="button2" type="reset" id="reset" name="reset" value="{L_RESET}" />
</fieldset>
</form>
<!-- ENDIF -->
<!-- INCLUDE overall_footer.html -->

View File

@@ -0,0 +1,117 @@
<!-- INCLUDE overall_header.html -->
<a name="maincontent"></a>
<p>{L_ACP_BAN_EXPLAIN}</p>
<h1>{L_TITLE}</h1>
<p>{L_EXPLAIN}</p>
<script type="text/javascript">
<!--
var ban_length = new Array();
ban_length[-1] = "";
<!-- BEGIN ban_length -->
ban_length['{ban_length.BAN_ID}'] = "{ban_length.A_LENGTH}";
<!-- END ban_length -->
var ban_reason = new Array();
ban_reason[-1] = "";
<!-- BEGIN ban_reason -->
ban_reason['{ban_reason.BAN_ID}'] = "{ban_reason.A_REASON}";
<!-- END ban_reason -->
var ban_give_reason = new Array();
ban_give_reason[-1] = "";
<!-- BEGIN ban_give_reason -->
ban_give_reason['{ban_give_reason.BAN_ID}'] = "{ban_give_reason.A_REASON}";
<!-- END ban_give_reason -->
function display_details(option)
{
document.getElementById('acp_ban').unbangivereason.value = ban_give_reason[option];
document.getElementById('acp_ban').unbanreason.value = ban_reason[option];
document.getElementById('acp_ban').unbanlength.value = ban_length[option];
}
//-->
</script>
<form id="acp_ban" method="post" action="{U_ACTION}">
<fieldset>
<legend>{L_TITLE}</legend>
<dl>
<dt><label for="ban">{L_BAN_CELL}:</label></dt>
<dd><textarea name="ban" cols="40" rows="3" id="ban"></textarea></dd>
<!-- IF S_USERNAME_BAN --><dd>[ <a href="#" onclick="window.open('{U_FIND_USER}', '_phpbbsearch', 'height=500, resizable=yes, scrollbars=yes, width=740'); return false;">{L_FIND_USERNAME}</a> ]</dd><!-- ENDIF -->
</dl>
<dl>
<dt><label for="banlength">{L_BAN_LENGTH}:</label></dt>
<dd><select name="banlength" id="banlength">{S_BAN_END_OPTIONS}</select></dd>
<dd><input type="text" name="banlengthother" /> (YYYY-MM-DD)</dd>
</dl>
<dl>
<dt><label for="banexclude">{L_BAN_EXCLUDE}:</label><br /><span>{L_BAN_EXCLUDE_EXPLAIN}</span></dt>
<dd><input type="radio" name="banexclude" value="1" class="radio" /> {L_YES} &nbsp; <input type="radio" name="banexclude" id="banexclude" value="0" checked="checked" class="radio" /> {L_NO}</dd>
</dl>
<dl>
<dt><label for="banreason">{L_BAN_REASON}:</label></dt>
<dd><input name="banreason" type="text" id="banreason" class="medium" /></dd>
</dl>
<dl>
<dt><label for="bangivereason">{L_BAN_GIVE_REASON}:</label></dt>
<dd><input name="bangivereason" type="text" id="bangivereason" class="medium" /></dd>
</dl>
</fieldset>
<fieldset class="submit-buttons">
<input class="button1" type="submit" id="bansubmit" name="bansubmit" value="{L_SUBMIT}" />&nbsp;
<input class="button2" type="reset" id="banreset" name="banreset" value="{L_RESET}" />
</fieldset>
<br /><br />
<h1>{L_UNBAN_TITLE}</h1>
<p>{L_UNBAN_EXPLAIN}</p>
<fieldset>
<legend>{L_UNBAN_TITLE}</legend>
<!-- IF S_BANNED_OPTIONS -->
<dl>
<dt><label for="unban">{L_BAN_CELL}:</label></dt>
<dd><select id="unban" name="unban[]" multiple="multiple" size="10" style="width: 50%" onchange="if (this.selectedIndex > -1) display_details(this.options[this.selectedIndex].value); else display_details(-1);">{BANNED_OPTIONS}</select></dd>
</dl>
<dl>
<dt><label for="unbanlength">{L_BAN_LENGTH}:</label></dt>
<dd><input style="border: 0px;" type="text" name="unbanlength" id="unbanlength" class="full" disabled="disabled" /></dd>
</dl>
<dl>
<dt><label for="unbanreason">{L_BAN_REASON}:</label></dt>
<dd><input style="border: 0px;" type="text" name="unbanreason" id="unbanreason" class="full" disabled="disabled" /></dd>
</dl>
<dl>
<dt><label for="unbangivereason">{L_BAN_GIVE_REASON}:</label></dt>
<dd><input style="border: 0px;" type="text" name="unbangivereason" id="unbangivereason" class="full" disabled="disabled" /></dd>
</dl>
</fieldset>
<fieldset class="submit-buttons">
<input class="button1" type="submit" id="unbansubmit" name="unbansubmit" value="{L_SUBMIT}" />&nbsp;
<input class="button2" type="reset" id="unbanreset" name="unbanreset" value="{L_RESET}" />
</fieldset>
<!-- ELSE -->
<p>{L_NO_BAN_CELL}</p>
</fieldset>
<!-- ENDIF -->
</form>
<!-- INCLUDE overall_footer.html -->

View File

@@ -0,0 +1,115 @@
<!-- INCLUDE overall_header.html -->
<a name="maincontent"></a>
<!-- IF S_EDIT_BBCODE -->
<a href="{U_BACK}" style="float: right">&laquo; {L_BACK}</a>
<h1>{L_ACP_BBCODES}</h1>
<p>{L_ACP_BBCODES_EXPLAIN}</p>
<form id="acp_bbcodes" method="post" action="{U_ACTION}">
<fieldset>
<legend>{L_BBCODE_USAGE}</legend>
<p>{L_BBCODE_USAGE_EXPLAIN}</p>
<dl>
<dt><label for="bbcode_match">{L_EXAMPLES}</label><br /><br /><span>{L_BBCODE_USAGE_EXAMPLE}</span></dt>
<dd><textarea id="bbcode_match" name="bbcode_match" cols="60" rows="5">{BBCODE_MATCH}</textarea></dd>
</dl>
</fieldset>
<fieldset>
<legend>{L_HTML_REPLACEMENT}</legend>
<p>{L_HTML_REPLACEMENT_EXPLAIN}</p>
<dl>
<dt><label for="bbcode_tpl">{L_EXAMPLES}</label><br /><br /><span>{L_HTML_REPLACEMENT_EXAMPLE}</span></dt>
<dd><textarea id="bbcode_tpl" name="bbcode_tpl" cols="60" rows="8">{BBCODE_TPL}</textarea></dd>
</dl>
</fieldset>
<fieldset>
<legend>{L_BBCODE_HELPLINE}</legend>
<p>{L_BBCODE_HELPLINE_EXPLAIN}</p>
<dl>
<dt><label for="bbcode_helpline">{L_BBCODE_HELPLINE_TEXT}</label></dt>
<dd><input type="text" id="bbcode_helpline" name="bbcode_helpline" size="60" maxlength="255" value="{BBCODE_HELPLINE}" /></dd>
</dl>
</fieldset>
<fieldset>
<legend>{L_SETTINGS}</legend>
<dl>
<dt><label for="display_on_posting">{L_DISPLAY_ON_POSTING}</label></dt>
<dd><input type="checkbox" class="radio" name="display_on_posting" id="display_on_posting" value="1"<!-- IF DISPLAY_ON_POSTING --> checked="checked"<!-- ENDIF --> /></dd>
</dl>
</fieldset>
<fieldset class="submit-buttons">
<input class="button1" type="submit" id="submit" name="submit" value="{L_SUBMIT}" />&nbsp;
<input class="button2" type="reset" id="reset" name="reset" value="{L_RESET}" />
</fieldset>
<br />
<table cellspacing="1" id="down">
<thead>
<tr>
<th colspan="2">{L_TOKENS}</th>
</tr>
<tr>
<td class="row3" colspan="2">{L_TOKENS_EXPLAIN}</td>
</tr>
<tr>
<th>{L_TOKEN}</th>
<th>{L_TOKEN_DEFINITION}</th>
</tr>
</thead>
<tbody>
<!-- BEGIN token -->
<tr valign="top">
<td class="row1">{token.TOKEN}</td>
<td class="row2">{token.EXPLAIN}</td>
</tr>
<!-- END token -->
</tbody>
</table>
</form>
<!-- ELSE -->
<h1>{L_ACP_BBCODES}</h1>
<p>{L_ACP_BBCODES_EXPLAIN}</p>
<table cellspacing="1" id="down">
<thead>
<tr>
<th>{L_BBCODE_TAG}</th>
<th>{L_ACTION}</th>
</tr>
</thead>
<tbody>
<!-- BEGIN bbcodes -->
<!-- IF bbcodes.S_ROW_COUNT is even --><tr class="row1"><!-- ELSE --><tr class="row2"><!-- ENDIF -->
<td style="text-align: center;">{bbcodes.BBCODE_TAG}</td>
<td style="text-align: center;"><a href="{bbcodes.U_EDIT}">{ICON_EDIT}</a> <a href="{bbcodes.U_DELETE}">{ICON_DELETE}</a></td>
</tr>
<!-- END bbcodes -->
</tbody>
</table>
<form id="acp_bbcodes" method="post" action="{U_ACTION}">
<fieldset class="quick">
<input class="button2" name="submit" type="submit" value="{L_ADD_BBCODE}" />
</fieldset>
</form>
<!-- ENDIF -->
<!-- INCLUDE overall_footer.html -->

View File

@@ -0,0 +1,42 @@
<!-- INCLUDE overall_header.html -->
<a name="maincontent"></a>
<h1>{L_TITLE}</h1>
<p>{L_TITLE_EXPLAIN}</p>
<form id="acp_board" method="post" action="{U_ACTION}">
<!-- BEGIN options -->
<!-- IF options.S_LEGEND -->
<!-- IF not options.S_FIRST_ROW -->
</fieldset>
<!-- ENDIF -->
<fieldset>
<legend>{options.LEGEND}</legend>
<!-- ELSE -->
<dl>
<dt><label for="{options.KEY}">{options.TITLE}:</label><!-- IF options.S_EXPLAIN --><br /><span>{options.TITLE_EXPLAIN}</span><!-- ENDIF --></dt>
<dd>{options.CONTENT}</dd>
</dl>
<!-- ENDIF -->
<!-- END options -->
<!-- IF S_AUTH -->
<!-- BEGIN auth_tpl -->
{auth_tpl.TPL}
<!-- END auth_tpl -->
<!-- ENDIF -->
</fieldset>
<fieldset class="submit-buttons">
<input class="button1" type="submit" id="submit" name="submit" value="{L_SUBMIT}" />&nbsp;
<input class="button2" type="reset" id="reset" name="reset" value="{L_RESET}" />
</fieldset>
</form>
<!-- INCLUDE overall_footer.html -->

View File

@@ -0,0 +1,101 @@
<!-- INCLUDE overall_header.html -->
<a name="maincontent"></a>
<!-- IF S_EDIT_BOT -->
<a href="{U_BACK}" style="float: right">&laquo; {L_BACK}</a>
<h1>{L_TITLE}</h1>
<p>{L_BOT_EDIT_EXPLAIN}</p>
<!-- IF S_ERROR -->
<div class="errorbox">
<h3>{L_WARNING}</h3>
<p>{ERROR_MSG}</p>
</div>
<!-- ENDIF -->
<form id="acp_bots" method="post" action="{U_ACTION}">
<fieldset>
<legend>{L_TITLE}</legend>
<dl>
<dt><label for="bot_name">{L_BOT_NAME}:</label><br /><span>{L_BOT_NAME_EXPLAIN}</span></dt>
<dd><input name="bot_name" type="text" id="bot_name" value="{BOT_NAME}" /></dd>
</dl>
<dl>
<dt><label for="bot_style">{L_BOT_STYLE}:</label><br /><span>{L_BOT_STYLE_EXPLAIN}</span></dt>
<dd><select id="bot_style" name="bot_style">{S_STYLE_OPTIONS}</select></dd>
</dl>
<dl>
<dt><label for="bot_lang">{L_BOT_LANG}:</label><br /><span>{L_BOT_LANG_EXPLAIN}</span></dt>
<dd><select id="bot_lang" name="bot_lang">{S_LANG_OPTIONS}</select></dd>
</dl>
<dl>
<dt><label for="bot_active">{L_BOT_ACTIVE}:</label></dt>
<dd><select id="bot_active" name="bot_active">{S_ACTIVE_OPTIONS}</select></dd>
</dl>
<dl>
<dt><label for="bot_agent">{L_BOT_AGENT}:</label><br /><span>{L_BOT_AGENT_EXPLAIN}</span></dt>
<dd><input name="bot_agent" type="text" id="bot_agent" value="{BOT_AGENT}" /></dd>
</dl>
<dl>
<dt><label for="bot_ip">{L_BOT_IP}:</label><br /><span>{L_BOT_IP_EXPLAIN}</span></dt>
<dd><input name="bot_ip" type="text" id="bot_ip" value="{BOT_IP}" /></dd>
</dl>
</fieldset>
<fieldset class="submit-buttons">
<input class="button1" type="submit" id="submit" name="submit" value="{L_SUBMIT}" />&nbsp;
<input class="button2" type="reset" id="reset" name="reset" value="{L_RESET}" />
</fieldset>
</form>
<!-- ELSE -->
<h1>{L_BOTS}</h1>
<p>{L_BOTS_EXPLAIN}</p>
<form id="acp_bots" method="post" action="{U_ACTION}">
<table cellspacing="1">
<thead>
<tr>
<th>{L_BOT_NAME}</th>
<th>{L_BOT_LAST_VISIT}</th>
<th colspan="3">{L_OPTIONS}</th>
<th>{L_MARK}</th>
</tr>
</thead>
<tbody>
<!-- BEGIN bots -->
<!-- IF bots.S_ROW_COUNT is even --><tr class="row1"><!-- ELSE --><tr class="row2"><!-- ENDIF -->
<td style="width: 50%;">{bots.BOT_NAME}</td>
<td style="width: 15%; white-space: nowrap;" align="center">&nbsp;{bots.LAST_VISIT}&nbsp;</td>
<td style="text-align: center;">&nbsp;<a href="{bots.U_ACTIVATE_DEACTIVATE}">{bots.L_ACTIVATE_DEACTIVATE}</a>&nbsp;</td>
<td style="text-align: center;">&nbsp;<a href="{bots.U_EDIT}">{L_EDIT}</a>&nbsp;</td>
<td style="text-align: center;">&nbsp;<a href="{bots.U_DELETE}">{L_DELETE}</a>&nbsp;</td>
<td style="text-align: center;"><input type="checkbox" class="radio" name="mark[]" value="{bots.BOT_ID}" /></td>
</tr>
<!-- END bots -->
</tbody>
</table>
<fieldset class="quick" style="float: left;">
<input class="button2" name="add" type="submit" value="{L_BOT_ADD}" />
</fieldset>
<fieldset class="quick">
<select name="action">{S_BOT_OPTIONS}</select>
<input class="button2" name="submit" type="submit" value="{L_SUBMIT}" />
</fieldset>
</form>
<!-- ENDIF -->
<!-- INCLUDE overall_footer.html -->

View File

@@ -0,0 +1,122 @@
<!-- INCLUDE overall_header.html -->
<a name="maincontent"></a>
<h1>{L_ACP_VC_SETTINGS}</h1>
<p>{L_ACP_VC_SETTINGS_EXPLAIN}</p>
<form id="acp_captcha" method="post" action="{U_ACTION}">
<fieldset>
<legend>{L_GENERAL_OPTIONS}</legend>
<dl>
<dt><label for="enable_confirm">{L_VISUAL_CONFIRM_REG}:</label><br /><span>{L_VISUAL_CONFIRM_REG_EXPLAIN}</span></dt>
<dd><input type="radio" class="radio" id="enable_confirm" name="enable_confirm" value="1"<!-- IF REG_ENABLE --> checked="checked"<!-- ENDIF --> />&nbsp;{L_ENABLED}&nbsp; &nbsp;<input type="radio" class="radio" name="enable_confirm" value="0"<!-- IF not REG_ENABLE --> checked="checked"<!-- ENDIF --> />&nbsp;{L_DISABLED}</dd>
</dl>
<dl>
<dt><label for="enable_post_confirm">{L_VISUAL_CONFIRM_POST}:</label><br /><span>{L_VISUAL_CONFIRM_POST_EXPLAIN}</span></dt>
<dd><input type="radio" class="radio" id="enable_post_confirm" name="enable_post_confirm" value="1"<!-- IF POST_ENABLE --> checked="checked"<!-- ENDIF --> />&nbsp;{L_ENABLED}&nbsp; &nbsp;<input type="radio" class="radio" name="enable_post_confirm" value="0"<!-- IF not POST_ENABLE --> checked="checked"<!-- ENDIF --> />&nbsp;{L_DISABLED}</dd>
</dl>
</fieldset>
<!-- IF GD -->
<fieldset>
<legend>{L_CAPTCHA_OVERLAP}</legend>
<!-- IF TTF -->
<dl>
<dt><label for="policy_overlap">{L_CAPTCHA_OVERLAP}:</label><br /><span>{U_POLICY_OVERLAP}</span></dt>
<dd><input id="policy_overlap" name="policy_overlap" value="1" class="radio" type="radio"<!-- IF OVERLAP_ENABLE --> checked="checked"<!-- ENDIF --> />&nbsp;{L_YES}&nbsp;&nbsp;<input name="policy_overlap" value="0" class="radio" type="radio"<!-- IF not OVERLAP_ENABLE --> checked="checked"<!-- ENDIF --> />&nbsp;{L_NO}</dd>
</dl>
<dl>
<dt><label for="policy_overlap_noise_pixel">{L_OVERLAP_NOISE_PIXEL}:</label></dt>
<select id="policy_overlap_noise_pixel" name="policy_overlap_noise_pixel"><option value="0"<!-- IF OVERLAP_NOISE_PIXEL eq '0' --> selected="selected"<!-- ENDIF -->>{L_NO_NOISE}</option><option value="1"<!-- IF OVERLAP_NOISE_PIXEL eq '1' --> selected="selected"<!-- ENDIF -->>{L_LIGHT}</option><option value="2"<!-- IF OVERLAP_NOISE_PIXEL eq '2' --> selected="selected"<!-- ENDIF -->>{L_MEDIUM}</option><option value="3"<!-- IF OVERLAP_NOISE_PIXEL eq '3' --> selected="selected"<!-- ENDIF -->>{L_HEAVY}</option></select></dd>
</dl>
<dl>
<dt><label for="policy_overlap_noise_line">{L_OVERLAP_NOISE_LINE}:</label></dt>
<dd><input id="policy_overlap_noise_line" name="policy_overlap_noise_line" value="1" class="radio" type="radio"<!-- IF OVERLAP_NOISE_LINE_ENABLE --> checked="checked"<!-- ENDIF --> />&nbsp;{L_YES}&nbsp;&nbsp;<input name="policy_overlap_noise_line" value="0" class="radio" type="radio"<!-- IF not OVERLAP_NOISE_LINE_ENABLE --> checked="checked"<!-- ENDIF --> />&nbsp;{L_NO}</dd>
</dl>
</fieldset>
<!-- ENDIF -->
<fieldset>
<legend>{L_CAPTCHA_ENTROPY}</legend>
<dl>
<dt><label for="policy_entropy">{L_CAPTCHA_ENTROPY}:</label><br /><span>{U_POLICY_ENTROPY}</span></dt>
<dd><input id="policy_entropy" name="policy_entropy" value="1" class="radio" type="radio"<!-- IF ENTROPY_ENABLE --> checked="checked"<!-- ENDIF --> />&nbsp;{L_YES}&nbsp;&nbsp;<input name="policy_entropy" value="0" class="radio" type="radio"<!-- IF not ENTROPY_ENABLE --> checked="checked"<!-- ENDIF --> />&nbsp;{L_NO}</dd>
</dl>
<dl>
<dt><label for="policy_entropy_noise_pixel">{L_ENTROPY_NOISE_PIXEL}:</label></dt>
<select id="policy_entropy_noise_pixel" name="policy_entropy_noise_pixel"><option value="0"<!-- IF ENTROPY_NOISE_PIXEL eq '0' --> selected="selected"<!-- ENDIF -->>{L_NO_NOISE}</option><option value="1"<!-- IF ENTROPY_NOISE_PIXEL eq '1' --> selected="selected"<!-- ENDIF -->>{L_LIGHT}</option><option value="2"<!-- IF ENTROPY_NOISE_PIXEL eq '2' --> selected="selected"<!-- ENDIF -->>{L_MEDIUM}</option><option value="3"<!-- IF ENTROPY_NOISE_PIXEL eq '3' --> selected="selected"<!-- ENDIF -->>{L_HEAVY}</option></select></dd>
</dl>
<dl>
<dt><label for="policy_entropy_noise_line">{L_ENTROPY_NOISE_LINE}:</label></dt>
<dd><input id="policy_entropy_noise_line" name="policy_entropy_noise_line" value="1" class="radio" type="radio"<!-- IF ENTROPY_NOISE_LINE_ENABLE --> checked="checked"<!-- ENDIF --> />&nbsp;{L_YES}&nbsp;&nbsp;<input name="policy_entropy_noise_line" value="0" class="radio" type="radio"<!-- IF not ENTROPY_NOISE_LINE_ENABLE --> checked="checked"<!-- ENDIF --> />&nbsp;{L_NO}</dd>
</dl>
</fieldset>
<!-- IF TTF -->
<fieldset>
<legend>{L_CAPTCHA_SHAPE}</legend>
<dl>
<dt><label for="policy_shape">{L_CAPTCHA_SHAPE}:</label><br /><span>{U_POLICY_SHAPE}</span></dt>
<dd><input id="policy_shape" name="policy_shape" value="1" class="radio" type="radio"<!-- IF SHAPE_ENABLE --> checked="checked"<!-- ENDIF --> />&nbsp;{L_YES}&nbsp;&nbsp;<input name="policy_shape" value="0" class="radio" type="radio"<!-- IF not SHAPE_ENABLE --> checked="checked"<!-- ENDIF --> />&nbsp;{L_NO}</dd>
</dl>
<dl>
<dt><label for="policy_shape_noise_pixel">{L_SHAPE_NOISE_PIXEL}:</label></dt>
<select id="policy_shape_noise_pixel" name="policy_shape_noise_pixel"><option value="0"<!-- IF SHAPE_NOISE_PIXEL eq '0' --> selected="selected"<!-- ENDIF -->>{L_NO_NOISE}</option><option value="1"<!-- IF SHAPE_NOISE_PIXEL eq '1' --> selected="selected"<!-- ENDIF -->>{L_LIGHT}</option><option value="2"<!-- IF SHAPE_NOISE_PIXEL eq '2' --> selected="selected"<!-- ENDIF -->>{L_MEDIUM}</option><option value="3"<!-- IF SHAPE_NOISE_PIXEL eq '3' --> selected="selected"<!-- ENDIF -->>{L_HEAVY}</option></select></dd>
</dl>
<dl>
<dt><label for="policy_shape_noise_line">{L_SHAPE_NOISE_LINE}:</label></dt>
<dd><input id="policy_shape_noise_line" name="policy_shape_noise_line" value="1" class="radio" type="radio"<!-- IF SHAPE_NOISE_LINE_ENABLE --> checked="checked"<!-- ENDIF --> />&nbsp;{L_YES}&nbsp;&nbsp;<input name="policy_shape_noise_line" value="0" class="radio" type="radio"<!-- IF not SHAPE_NOISE_LINE_ENABLE --> checked="checked"<!-- ENDIF --> />&nbsp;{L_NO}</dd>
</dl>
</fieldset>
<!-- ENDIF -->
<fieldset>
<legend>{L_CAPTCHA_3DBITMAP}</legend>
<dl>
<dt><label for="policy_3dbitmap">{L_CAPTCHA_3DBITMAP}:</label><br /><span>{U_POLICY_3DBITMAP}</span></dt>
<dd><input id="policy_3dbitmap" name="policy_3dbitmap" value="1" class="radio" type="radio"<!-- IF THREEDBITMAP_ENABLE --> checked="checked"<!-- ENDIF --> />&nbsp;{L_YES}&nbsp;&nbsp;<input name="policy_3dbitmap" value="0" class="radio" type="radio"<!-- IF not THREEDBITMAP_ENABLE --> checked="checked"<!-- ENDIF --> />&nbsp;{L_NO}</dd>
</dl>
</fieldset>
<!-- IF TTF -->
<fieldset>
<legend>{L_CAPTCHA_CELLS}</legend>
<dl>
<dt><label for="policy_cells">{L_CAPTCHA_CELLS}:</label><br /><span>{U_POLICY_CELLS}</span></dt>
<dd><input id="policy_cells" name="policy_cells" value="1" class="radio" type="radio"<!-- IF CELLS_ENABLE --> checked="checked"<!-- ENDIF --> />&nbsp;{L_YES}&nbsp;&nbsp;<input name="policy_cells" value="0" class="radio" type="radio"<!-- IF not CELLS_ENABLE --> checked="checked"<!-- ENDIF --> />&nbsp;{L_NO}</dd>
</dl>
</fieldset>
<fieldset>
<legend>{L_CAPTCHA_STENCIL}</legend>
<dl>
<dt><label for="policy_stencil">{L_CAPTCHA_STENCIL}:</label><br /><span>{U_POLICY_STENCIL}</span></dt>
<dd><input id="policy_stencil" name="policy_stencil" value="1" class="radio" type="radio"<!-- IF STENCIL_ENABLE --> checked="checked"<!-- ENDIF --> />&nbsp;{L_YES}&nbsp;&nbsp;<input name="policy_stencil" value="0" class="radio" type="radio"<!-- IF not STENCIL_ENABLE --> checked="checked"<!-- ENDIF --> />&nbsp;{L_NO}</dd>
</dl>
</fieldset>
<fieldset>
<legend>{L_CAPTCHA_COMPOSITE}</legend>
<dl>
<dt><label for="policy_composite">{L_CAPTCHA_COMPOSITE}:</label><br /><span>{U_POLICY_COMPOSITE}</span></dt>
<dd><input id="policy_composite" name="policy_composite" value="1" class="radio" type="radio"<!-- IF COMPOSITE_ENABLE --> checked="checked"<!-- ENDIF --> />&nbsp;{L_YES}&nbsp;&nbsp;<input name="policy_composite" value="0" class="radio" type="radio"<!-- IF not COMPOSITE_ENABLE --> checked="checked"<!-- ENDIF --> />&nbsp;{L_NO}</dd>
</dl>
</fieldset>
<!-- ENDIF -->
<!-- ENDIF -->
<fieldset class="submit-buttons">
<input class="button1" type="submit" id="submit" name="submit" value="{L_SUBMIT}" />&nbsp;
<input class="button2" type="reset" id="reset" name="reset" value="{L_RESET}" />
</fieldset>
</form>
<!-- INCLUDE overall_footer.html -->

View File

@@ -0,0 +1,88 @@
<!-- INCLUDE overall_header.html -->
<a name="maincontent"></a>
<!-- IF MODE eq 'restore' -->
<h1>{L_ACP_RESTORE}</h1>
<p>{L_ACP_RESTORE_EXPLAIN}</p>
<form id="acp_backup" method="post" action="{U_ACTION}">
<fieldset>
<legend>{L_RESTORE_OPTIONS}</legend>
<dl>
<dt><label for="user">{L_SELECT_FILE}:</label></dt>
<dd><select id="file" name="file" size="10"><!-- BEGIN files --><option value="{files.FILE}"<!-- IF files.S_LAST_ROW --> selected="selected"<!-- ENDIF -->>{files.NAME}</option><!-- END files --></select></dd>
</dl>
</fieldset>
<!-- IF EXISTS -->
<fieldset class="submit-buttons">
<input class="button1" type="submit" id="submit" name="submit" value="{L_START_RESTORE}" />&nbsp;
<input class="button2" type="submit" id="delete" name="delete" value="{L_DELETE_BACKUP}" />&nbsp;
<input class="button2" type="submit" id="download" name="download" value="{L_DOWNLOAD_BACKUP}" />
</fieldset>
<!-- ENDIF -->
</form>
<!-- ELSE -->
<h1>{L_ACP_BACKUP}</h1>
<p>{L_ACP_BACKUP_EXPLAIN}</p>
<script type="text/javascript">
<!--
function selector(bool)
{
var table = document.getElementById('table');
for (var i = 0; i < table.options.length; i++)
{
table.options[i].selected = bool;
}
}
//-->
</script>
<form id="acp_backup" method="post" action="{U_ACTION}">
<fieldset>
<legend>{L_BACKUP_OPTIONS}</legend>
<dl>
<dt><label for="user">{L_BACKUP_TYPE}:</label></dt>
<dd><input type="radio" class="radio" name="type" value="full" id="type" checked="checked" />&nbsp;{L_FULL_BACKUP}&nbsp;&nbsp;<input type="radio" name="type" class="radio" value="structure" id="type" />&nbsp;{L_STRUCTURE_ONLY}&nbsp;&nbsp;<input type="radio" class="radio" name="type" value="data" id="type" />&nbsp;{L_DATA_ONLY}</dd>
</dl>
<dl>
<dt><label for="user">{L_FILE_TYPE}:</label></dt>
<dd><!-- BEGIN methods -->
<input name="method" id="method" type="radio" class="radio" value="{methods.TYPE}"<!-- IF methods.S_FIRST_ROW -->checked="checked"<!-- ENDIF --> />&nbsp;{methods.TYPE}
<!-- END methods --></dd>
</dl>
<dl>
<dt><label for="user">{L_ACTION}:</label></dt>
<dd><input type="radio" class="radio" name="where" value="store_and_download" id="where" checked="checked" />&nbsp;{L_STORE_AND_DOWNLOAD}&nbsp;&nbsp;<input type="radio" class="radio" name="where" value="store" id="where" />&nbsp;{L_STORE_LOCAL}&nbsp;&nbsp;<input type="radio" class="radio" name="where" value="download" id="where" />&nbsp;{L_DOWNLOAD}</dd>
</dl>
<dl>
<dt><label for="user">{L_TABLE_SELECT}:</label></dt>
<dd><select id="table" name="table[]" size="10" multiple="true">
<!-- BEGIN tables -->
<option value="{tables.TABLE}">{tables.TABLE}</option>
<!-- END tables -->
</select><br /><br /><div align="right"><a href="#" onclick="selector(true)">{L_SELECT_ALL}</a><br /><a href="#" onclick="selector(false)">{L_DESELECT_ALL}</a></div></dd>
</dl>
</fieldset>
<fieldset class="submit-buttons">
<input class="button1" type="submit" id="submit" name="submit" value="{L_SUBMIT}" />&nbsp;
<input class="button2" type="reset" id="reset" name="reset" value="{L_RESET}" />
</fieldset>
</form>
<!-- ENDIF -->
<!-- INCLUDE overall_footer.html -->

View File

@@ -0,0 +1,45 @@
<!-- INCLUDE overall_header.html -->
<a name="maincontent"></a>
<h1>{L_ACP_DISALLOW_USERNAMES}</h1>
<p>{L_ADD_DISALLOW_EXPLAIN}</p>
<form id="acp_disallow" method="post" action="{U_ACTION}">
<fieldset>
<legend>{L_ADD_DISALLOW_TITLE}</legend>
<dl>
<dt><label for="user">{L_USERNAME}:</label><br /><span>{L_ADD_DISALLOW_EXPLAIN}</span></dt>
<dd><input id="user" type="text" name="disallowed_user" class="medium" /></dd>
</dl>
</fieldset>
<fieldset class="quick">
<input class="button1" type="submit" name="disallow" value="{L_SUBMIT}" />
</fieldset>
<h1>{L_DELETE_DISALLOW_TITLE}</h1>
<p>{L_DELETE_DISALLOW_EXPLAIN}</p>
<fieldset>
<legend>{L_DELETE_DISALLOW_TITLE}</legend>
<!-- IF S_DISALLOWED_NAMES -->
<dl>
<dt><label for="disallowed">{L_USERNAME}:</label></dt>
<dd><select name="disallowed_id" id="disallowed">{S_DISALLOWED_NAMES}</select></dd>
</dl>
</fieldset>
<fieldset class="quick">
<input class="button1" type="submit" name="allow" value="{L_SUBMIT}" />
<!-- ELSE -->
<p>{L_NO_DISALLOWED}</p>
<!-- ENDIF -->
</fieldset>
</form>
<!-- INCLUDE overall_footer.html -->

View File

@@ -0,0 +1,54 @@
<!-- INCLUDE overall_header.html -->
<a name="maincontent"></a>
<h1>{L_ACP_MASS_EMAIL}</h1>
<p>{L_ACP_MASS_EMAIL_EXPLAIN}</p>
<!-- IF S_WARNING -->
<div class="errorbox">
<h3>{L_WARNING}</h3>
<p>{WARNING_MSG}</p>
</div>
<!-- ENDIF -->
<form id="acp_email" method="post" action="{U_ACTION}">
<fieldset>
<legend>{L_COMPOSE}</legend>
<dl>
<dt><label for="group">{L_SEND_TO_GROUP}:</label></dt>
<dd><select id="group" name="g">{S_GROUP_OPTIONS}</select></dd>
</dl>
<dl>
<dt><label for="usernames">{L_SEND_TO_USERS}:</label><br /><span>{L_SEND_TO_USERS_EXPLAIN}</span></dt>
<dd><textarea name="usernames" id="usernames" rows="5" cols="40">{USERNAMES}</textarea></dd>
<dd>[ <a href="#" onclick="window.open('{U_FIND_USERNAME}', '_phpbbsearch', 'height=500, resizable=yes, scrollbars=yes, width=740'); return false;">{L_FIND_USERNAME}</a> ]</dd>
</dl>
<dl>
<dt><label for="subject">{L_SUBJECT}:</label></dt>
<dd><input name="subject" type="text" id="subject" value="{SUBJECT}" /></dd>
</dl>
<dl>
<dt><label for="message">{L_MASS_MESSAGE}:</label><br /><span>{L_MASS_MESSAGE_EXPLAIN}</span></dt>
<dd><textarea id="message" name="message" rows="10" cols="60">{MESSAGE}</textarea></dd>
</dl>
<dl>
<dt><label for="priority">{L_MAIL_PRIORITY}:</label></dt>
<dd><select id="priority" name="mail_priority_flag">{S_PRIORITY_OPTIONS}</select></dd>
</dl>
<dl>
<dt><label for="send">{L_SEND_IMMEDIATLY}:</label></dt>
<dd><input id="send" type="checkbox" class="radio" name="send_immediatly" checked="checked" /></dd>
</dl>
</fieldset>
<fieldset class="submit-buttons">
<input class="button1" type="submit" id="submit" name="submit" value="{L_EMAIL}" />&nbsp;
<input class="button2" type="reset" id="reset" name="reset" value="{L_RESET}" />
</fieldset>
</form>
<!-- INCLUDE overall_footer.html -->

View File

@@ -0,0 +1,356 @@
<!-- INCLUDE overall_header.html -->
<a name="maincontent"></a>
<!-- IF S_EDIT_FORUM -->
<script type="text/javascript">
<!--
function display_options(value)
{
<!-- IF not S_ADD_ACTION and S_FORUM_ORIG_POST -->
if (value == {FORUM_POST})
{
dE('type_actions', -1);
}
else
{
dE('type_actions', 1);
}
<!-- ENDIF -->
if (value == {FORUM_POST})
{
dE('forum_post_options', 1);
dE('forum_link_options', -1);
dE('forum_rules_options', 1);
dE('forum_cat_options', -1);
}
else if (value == {FORUM_LINK})
{
dE('forum_post_options', -1);
dE('forum_link_options', 1);
dE('forum_rules_options', -1);
dE('forum_cat_options', -1);
}
else if (value == {FORUM_CAT})
{
dE('forum_post_options', -1);
dE('forum_link_options', -1);
dE('forum_rules_options', 1);
dE('forum_cat_options', 1);
}
}
//-->
</script>
<a href="{U_BACK}" style="float: right">&laquo; {L_BACK}</a>
<h1>{L_TITLE} :: {FORUM_NAME}</h1>
<p>{L_FORUM_EDIT_EXPLAIN}</p>
<!-- IF S_ERROR -->
<div class="errorbox">
<h3>{L_WARNING}</h3>
<p>{ERROR_MSG}</p>
</div>
<!-- ENDIF -->
<form id="forumedit" method="post" action="{U_EDIT_ACTION}">
<fieldset>
<legend>{L_FORUM_SETTINGS}</legend>
<dl>
<dt><label for="forum_type">{L_FORUM_TYPE}:</label></dt>
<dd><select id="forum_type" name="forum_type" onchange="display_options(this.options[this.selectedIndex].value);">{S_FORUM_TYPE_OPTIONS}</select></dd>
</dl>
<!-- IF not S_ADD_ACTION and S_FORUM_ORIG_POST -->
<div id="type_actions"<!-- IF S_FORUM_POST --> style="display: none;"<!-- ENDIF -->>
<dl>
<dt><label for="type_action">{L_DECIDE_MOVE_DELETE_CONTENT}:</label></dt>
<dd><input type="radio" class="radio" id="type_action" name="type_action" value="delete" checked="checked" /> {L_DELETE_ALL_POSTS}</dd>
<!-- IF S_MOVE_FORUM_OPTIONS --><dd><input type="radio" class="radio" name="type_action" value="move" /> {L_MOVE_POSTS_TO} <select name="to_forum_id">{S_MOVE_FORUM_OPTIONS}</select></dd><!-- ENDIF -->
</dl>
</div>
<!-- ENDIF -->
<dl>
<dt><label for="parent">{L_FORUM_PARENT}:</label></dt>
<dd><select id="parent" name="forum_parent_id"><option value="0"<!-- IF not S_FORUM_PARENT_ID --> selected="selected"<!-- ENDIF -->>{L_NO_PARENT}</option>{S_PARENT_OPTIONS}</select></dd>
</dl>
<dl>
<dt><label for="forum_name">{L_FORUM_NAME}:</label></dt>
<dd><input class="medium" type="text" id="forum_name" name="forum_name" value="{FORUM_NAME}" /></dd>
</dl>
<dl>
<dt><label for="forum_desc">{L_FORUM_DESC}:</label><br /><span>{L_FORUM_DESC_EXPLAIN}</span></dt>
<dd><textarea id="forum_desc" name="forum_desc" rows="5" cols="45">{FORUM_DESC}</textarea></dd>
<dd><input type="checkbox" class="radio" name="desc_parse_bbcode"<!-- IF S_DESC_BBCODE_CHECKED --> checked="checked"<!-- ENDIF --> /> {L_PARSE_BBCODE} &nbsp; <input type="checkbox" class="radio" name="desc_parse_smilies"<!-- IF S_DESC_SMILIES_CHECKED --> checked="checked"<!-- ENDIF --> /> {L_PARSE_SMILIES} &nbsp; <input type="checkbox" class="radio" name="desc_parse_urls"<!-- IF S_DESC_URLS_CHECKED --> checked="checked"<!-- ENDIF --> /> {L_PARSE_URLS}</dd>
</dl>
<dl>
<dt><label for="forum_image">{L_FORUM_IMAGE}:</label><br /><span>{L_FORUM_IMAGE_EXPLAIN}</span></dt>
<dd><input class="medium" type="text" id="forum_image" name="forum_image" value="{FORUM_IMAGE}" /></dd>
<!-- IF FORUM_IMAGE_SRC -->
<dd><img src="{FORUM_IMAGE_SRC}" alt="{L_FORUM_IMAGE}" /></dd>
<!-- ENDIF -->
</dl>
<dl>
<dt><label for="forum_style">{L_FORUM_STYLE}:</label></dt>
<dd><select id="forum_style" name="forum_style"><option value="0">{L_DEFAULT_STYLE}</option>{S_STYLES_OPTIONS}</select></dd>
</dl>
<dl>
<dt><label for="forum_perm_from">{L_COPY_PERMISSIONS}:</label><br /><span>{L_COPY_PERMISSIONS_EXPLAIN}</span></dt>
<dd><select id="forum_perm_from" name="forum_perm_from"><option value="0">{L_NO_PERMISSIONS}</option>{S_FORUM_OPTIONS}</select></dd>
</dl>
</fieldset>
<div id="forum_cat_options"<!-- IF not S_FORUM_CAT --> style="display: none;"<!-- ENDIF -->>
<fieldset>
<legend>{L_GENERAL_FORUM_SETTINGS}</legend>
<dl>
<dt><label for="display_active">{L_DISPLAY_ACTIVE_TOPICS}:</label><br /><span>{L_DISPLAY_ACTIVE_TOPICS_EXPLAIN}</span></dt>
<dd><input type="radio" class="radio" name="display_active" value="1"<!-- IF S_DISPLAY_ACTIVE_TOPICS --> id="display_active" checked="checked"<!-- ENDIF --> /> {L_YES} &nbsp; <input type="radio" class="radio" name="display_active" value="0"<!-- IF not S_DISPLAY_ACTIVE_TOPICS --> id="display_active" checked="checked"<!-- ENDIF --> /> {L_NO}</dd>
</dl>
</fieldset>
</div>
<div id="forum_post_options"<!-- IF not S_FORUM_POST --> style="display: none;"<!-- ENDIF -->>
<fieldset>
<legend>{L_GENERAL_FORUM_SETTINGS}</legend>
<dl>
<dt><label for="forum_status">{L_FORUM_STATUS}:</label></dt>
<dd><select id="forum_status" name="forum_status">{S_STATUS_OPTIONS}</select></dd>
</dl>
<!-- IF S_SHOW_DISPLAY_ON_INDEX -->
<dl>
<dt><label for="display_on_index">{L_LIST_INDEX}:</label><br /><span>{L_LIST_INDEX_EXPLAIN}</span></dt>
<dd><input type="radio" class="radio" name="display_on_index" value="1"<!-- IF S_DISPLAY_ON_INDEX --> id="display_on_index" checked="checked"<!-- ENDIF --> /> {L_YES} &nbsp; <input type="radio" class="radio" name="display_on_index" value="0"<!-- IF not S_DISPLAY_ON_INDEX --> id="display_on_index" checked="checked"<!-- ENDIF --> /> {L_NO}</dd>
</dl>
<!-- ENDIF -->
<dl>
<dt><label for="enable_post_review">{L_ENABLE_POST_REVIEW}:</label><br /><span>{L_ENABLE_POST_REVIEW_EXPLAIN}</span></dt>
<dd><input type="radio" class="radio" name="enable_post_review" value="1"<!-- IF S_ENABLE_POST_REVIEW --> id="enable_post_review" checked="checked"<!-- ENDIF --> /> {L_YES} &nbsp; <input type="radio" class="radio" name="enable_post_review" value="0"<!-- IF not S_ENABLE_POST_REVIEW --> id="enable_post_review" checked="checked"<!-- ENDIF --> /> {L_NO}</dd>
</dl>
<dl>
<dt><label for="enable_indexing">{L_ENABLE_INDEXING}:</label><br /><span>{L_ENABLE_INDEXING_EXPLAIN}</span></dt>
<dd><input type="radio" class="radio" name="enable_indexing" value="1"<!-- IF S_ENABLE_INDEXING --> id="enable_indexing" checked="checked"<!-- ENDIF --> /> {L_YES} &nbsp; <input type="radio" class="radio" name="enable_indexing" value="0"<!-- IF not S_ENABLE_INDEXING --> id="enable_indexing" checked="checked"<!-- ENDIF --> /> {L_NO}</dd>
</dl>
<dl>
<dt><label for="enable_icons">{L_ENABLE_TOPIC_ICONS}:</label></dt>
<dd><input type="radio" class="radio" name="enable_icons" value="1"<!-- IF S_TOPIC_ICONS --> id="enable_icons" checked="checked"<!-- ENDIF --> /> {L_YES} &nbsp; <input type="radio" class="radio" name="enable_icons" value="0"<!-- IF not S_TOPIC_ICONS --> id="enable_icons" checked="checked"<!-- ENDIF --> /> {L_NO}</dd>
</dl>
<dl>
<dt><label for="display_recent">{L_ENABLE_RECENT}:</label><br /><span>{L_ENABLE_RECENT_EXPLAIN}</span></dt>
<dd><input type="radio" class="radio" name="display_recent" value="1"<!-- IF S_DISPLAY_ACTIVE_TOPICS --> id="display_recent" checked="checked"<!-- ENDIF --> /> {L_YES} &nbsp; <input type="radio" class="radio" name="display_recent" value="0"<!-- IF not S_DISPLAY_ACTIVE_TOPICS --> id="display_recent" checked="checked"<!-- ENDIF --> /> {L_NO}</dd>
</dl>
<dl>
<dt><label for="topics_per_page">{L_FORUM_TOPICS_PAGE}:</label><br /><span>{L_FORUM_TOPICS_PAGE_EXPLAIN}</span></dt>
<dd><input type="text" id="topics_per_page" name="topics_per_page" value="{TOPICS_PER_PAGE}" /></dd>
</dl>
<dl>
<dt><label for="forum_password">{L_FORUM_PASSWORD}:</label><br /><span>{L_FORUM_PASSWORD_EXPLAIN}</span></dt>
<dd><input type="password" id="forum_password" name="forum_password" value="{FORUM_PASSWORD}" /></dd>
</dl>
<dl>
<dt><label for="forum_password_confirm">{L_FORUM_PASSWORD_CONFIRM}:</label><br /><span>{L_FORUM_PASSWORD_CONFIRM_EXPLAIN}</span></dt>
<dd><input type="password" id="forum_password_confirm" name="forum_password_confirm" value="{FORUM_PASSWORD_CONFIRM}" /></dd>
</dl>
</fieldset>
<fieldset>
<legend>{L_FORUM_PRUNE_SETTINGS}</legend>
<dl>
<dt><label for="enable_prune">{L_FORUM_AUTO_PRUNE}:</label><br /><span>{L_FORUM_AUTO_PRUNE_EXPLAIN}</span></dt>
<dd><input type="radio" class="radio" name="enable_prune" value="1"<!-- IF S_PRUNE_ENABLE --> id="enable_prune" checked="checked"<!-- ENDIF --> /> {L_YES} &nbsp; <input type="radio" class="radio" name="enable_prune" value="0"<!-- IF not S_PRUNE_ENABLE --> id="enable_prune" checked="checked"<!-- ENDIF --> /> {L_NO}</dd>
</dl>
<dl>
<dt><label for="prune_freq">{L_AUTO_PRUNE_FREQ}:</label><br /><span>{L_AUTO_PRUNE_FREQ_EXPLAIN}</span></dt>
<dd><input type="text" id="prune_freq" name="prune_freq" value="{PRUNE_FREQ}" /> {L_DAYS}</dd>
</dl>
<dl>
<dt><label for="prune_days">{L_AUTO_PRUNE_DAYS}:</label><br /><span>{L_AUTO_PRUNE_DAYS_EXPLAIN}</span></dt>
<dd><input type="text" id="prune_days" name="prune_days" value="{PRUNE_DAYS}" /> {L_DAYS}</dd>
</dl>
<dl>
<dt><label for="prune_viewed">{L_AUTO_PRUNE_VIEWED}:</label><br /><span>{L_AUTO_PRUNE_VIEWED_EXPLAIN}</span></dt>
<dd><input type="text" id="prune_viewed" name="prune_viewed" value="{PRUNE_VIEWED}" /> {L_DAYS}</dd>
</dl>
<dl>
<dt><label for="prune_old_polls">{L_PRUNE_OLD_POLLS}:</label><br /><span>{L_PRUNE_OLD_POLLS_EXPLAIN}</span></dt>
<dd><input type="radio" class="radio" name="prune_old_polls" value="1"<!-- IF S_PRUNE_OLD_POLLS --> id="prune_old_polls" checked="checked"<!-- ENDIF --> /> {L_YES} &nbsp; <input type="radio" class="radio" name="prune_old_polls" value="0"<!-- IF not S_PRUNE_OLD_POLLS --> id="prune_old_polls" checked="checked"<!-- ENDIF --> /> {L_NO}</dd>
</dl>
<dl>
<dt><label for="prune_announce">{L_PRUNE_ANNOUNCEMENTS}:</label></dt>
<dd><input type="radio" class="radio" name="prune_announce" value="1"<!-- IF S_PRUNE_ANNOUNCE --> id="prune_announce" checked="checked"<!-- ENDIF --> /> {L_YES} &nbsp; <input type="radio" class="radio" name="prune_announce" value="0"<!-- IF not S_PRUNE_ANNOUNCE --> id="prune_announce" checked="checked"<!-- ENDIF --> /> {L_NO}</dd>
</dl>
<dl>
<dt><label for="prune_sticky">{L_PRUNE_STICKY}:</label></dt>
<dd><input type="radio" class="radio" name="prune_sticky" value="1"<!-- IF S_PRUNE_STICKY --> id="prune_sticky" checked="checked"<!-- ENDIF --> /> {L_YES} &nbsp; <input type="radio" class="radio" name="prune_sticky" value="0"<!-- IF not S_PRUNE_STICKY --> id="prune_sticky" checked="checked"<!-- ENDIF --> /> {L_NO}</dd>
</dl>
</fieldset>
</div>
<div id="forum_link_options"<!-- IF not S_FORUM_LINK --> style="display: none;"<!-- ENDIF -->>
<fieldset>
<legend>{L_GENERAL_FORUM_SETTINGS}</legend>
<dl>
<dt><label for="forum_link">{L_FORUM_LINK}:</label><br /><span>{L_FORUM_LINK_EXPLAIN}</span></dt>
<dd><input class="medium" type="text" id="forum_link" name="forum_link" value="{FORUM_DATA_LINK}" /></dd>
</dl>
<dl>
<dt><label for="forum_link_track">{L_FORUM_LINK_TRACK}:</label><br /><span>{L_FORUM_LINK_TRACK_EXPLAIN}</span></dt>
<dd><input type="radio" class="radio" name="forum_link_track" value="1"<!-- IF S_FORUM_LINK_TRACK --> id="forum_link_track" checked="checked"<!-- ENDIF --> /> {L_YES} &nbsp; <input type="radio" class="radio" name="forum_link_track" value="0"<!-- IF not S_FORUM_LINK_TRACK --> id="forum_link_track" checked="checked"<!-- ENDIF --> /> {L_NO}</dd>
</dl>
</fieldset>
</div>
<div id="forum_rules_options"<!-- IF S_FORUM_LINK --> style="display: none;"<!-- ENDIF -->>
<fieldset>
<legend>{L_FORUM_RULES}</legend>
<dl>
<dt><label for="forum_rules_link">{L_FORUM_RULES_LINK}:</label><br /><span>{L_FORUM_RULES_LINK_EXPLAIN}</span></dt>
<dd><input class="medium" type="text" id="forum_rules_link" name="forum_rules_link" value="{FORUM_RULES_LINK}" /></dd>
</dl>
<!-- IF FORUM_RULES_PREVIEW -->
<dl>
<dt><label>{L_FORUM_RULES_PREVIEW}:</label></dt>
<dd>{FORUM_RULES_PREVIEW}</dd>
</dl>
<!-- ENDIF -->
<dl>
<dt><label for="forum_rules">{L_FORUM_RULES}:</label><br /><span>{L_FORUM_RULES_EXPLAIN}</span></dt>
<dd><textarea id="forum_rules" name="forum_rules" rows="4" cols="70">{FORUM_RULES_PLAIN}</textarea></dd>
<dd><input type="checkbox" class="radio" name="rules_parse_bbcode"<!-- IF S_BBCODE_CHECKED --> checked="checked"<!-- ENDIF --> /> {L_PARSE_BBCODE} &nbsp; <input type="checkbox" class="radio" name="rules_parse_smilies"<!-- IF S_SMILIES_CHECKED --> checked="checked"<!-- ENDIF --> /> {L_PARSE_SMILIES} &nbsp; <input type="checkbox" class="radio" name="rules_parse_urls"<!-- IF S_URLS_CHECKED --> checked="checked"<!-- ENDIF --> /> {L_PARSE_URLS}</dd>
</dl>
</fieldset>
</div>
<fieldset class="submit-buttons">
<input class="button1" type="submit" id="submit" name="update" value="{L_SUBMIT}" />&nbsp;
<input class="button2" type="reset" id="reset" name="reset" value="{L_RESET}" />
</fieldset>
</form>
<!-- ELSEIF S_DELETE_FORUM -->
<a href="{U_BACK}" style="float: right">&laquo; {L_BACK}</a>
<h1>{L_FORUM_DELETE}</h1>
<p>{L_FORUM_DELETE_EXPLAIN}</p>
<!-- IF S_ERROR -->
<div class="errorbox">
<h3>{L_WARNING}</h3>
<p>{ERROR_MSG}</p>
</div>
<!-- ENDIF -->
<form id="acp_forum" method="post" action="{U_ACTION}">
<fieldset>
<legend>{L_FORUM_DELETE}</legend>
<dl>
<dt><label>{L_FORUM_NAME}:</label></dt>
<dd><b>{FORUM_NAME}</b></dd>
</dl>
<!-- IF S_FORUM_POST -->
<dl>
<dt><label for="delete_action">{L_ACTION}:</label></dt>
<dd><input type="radio" class="radio" id="delete_action" name="action_posts" value="delete" checked="checked" /> {L_DELETE_ALL_POSTS}</dd>
<!-- IF S_MOVE_FORUM_OPTIONS -->
<dd><input type="radio" class="radio" name="action_posts" value="move" /> {L_MOVE_POSTS_TO} <select name="posts_to_id">{S_MOVE_FORUM_OPTIONS}</select></dd>
<!-- ENDIF -->
</dl>
<!-- ENDIF -->
<!-- IF S_HAS_SUBFORUMS -->
<dl>
<dt><label for="sub_delete_action">{L_ACTION}:</label></dt>
<dd><input type="radio" class="radio" id="sub_delete_action" name="action_subforums" value="delete" checked="checked" /> {L_DELETE_SUBFORUMS}</dd>
<!-- IF S_FORUMS_LIST -->
<dd><input type="radio" class="radio" name="action_subforums" value="move" /> {L_MOVE_SUBFORUMS_TO} <select name="subforums_to_id">{S_FORUMS_LIST}</select></dd>
<!-- ENDIF -->
</dl>
<!-- ENDIF -->
</fieldset>
<fieldset class="quick">
<input class="button1" type="submit" name="update" value="{L_SUBMIT}" />
</fieldset>
</form>
<!-- ELSE -->
<h1>{L_FORUM_ADMIN}</h1>
<p>{L_FORUM_ADMIN_EXPLAIN}</p>
<!-- IF ERROR_MSG -->
<div class="errorbox">
<h3>{L_WARNING}</h3>
<p>{ERROR_MSG}</p>
</div>
<!-- ENDIF -->
<!-- IF S_RESYNCED -->
<div class="successbox">
<h3>{L_NOTIFY}</h3>
<p>{L_FORUM_RESYNCED}</p>
</div>
<!-- ENDIF -->
<p><strong>{NAVIGATION}<!-- IF S_NO_FORUMS --> [<a href="{U_EDIT}">{L_EDIT}</a> | <a href="{U_DELETE}">{L_DELETE}</a><!-- IF not S_LINK --> | <a href="{U_SYNC}">{L_RESYNC}</a><!-- ENDIF --->]<!-- ENDIF --></strong></p>
<!-- IF .forums -->
<table cellspacing="1">
<col class="row1" /><col class="row1" /><col class="row2" />
<tbody>
<!-- BEGIN forums -->
<tr>
<td style="width: 5%;">{forums.FOLDER_IMAGE}</td>
<td>
<strong><!-- IF forums.S_LINK -->{forums.FORUM_NAME}<!-- ELSE --><a href="{forums.U_FORUM}">{forums.FORUM_NAME}</a><!-- ENDIF --></strong>
<!-- IF forums.FORUM_DESCRIPTION --><br /><span>{forums.FORUM_DESCRIPTION}</span><!-- ENDIF -->
<!-- IF forums.S_FORUM_POST --><br /><br /><span>{L_TOPICS}: <b>{forums.FORUM_TOPICS}</b> / {L_POSTS}: <b>{forums.FORUM_POSTS}</b></span><!-- ENDIF -->
</td>
<td style="width: 15%; text-align: right; white-space: nowrap;">
<!-- IF not forums.S_FIRST_ROW --><a href="{forums.U_MOVE_UP}">{ICON_MOVE_UP}</a> <!-- ENDIF -->
<!-- IF not forums.S_LAST_ROW --><a href="{forums.U_MOVE_DOWN}">{ICON_MOVE_DOWN}</a> <!-- ENDIF -->
<a href="{forums.U_EDIT}">{ICON_EDIT}</a>
<!-- IF not forums.S_LINK --><a href="{forums.U_SYNC}">{ICON_SYNC}</a> <!-- ENDIF -->
<a href="{forums.U_DELETE}">{ICON_DELETE}</a>
</td>
</tr>
<!-- END forums -->
</tbody>
</table>
<!-- ENDIF -->
<form id="fselect" method="post" action="{U_SEL_ACTION}">
<fieldset class="quick">
{L_SELECT_FORUM}: <select name="parent_id" onchange="if(this.options[this.selectedIndex].value != -1){ this.form.submit(); }">{FORUM_BOX}</select>
<input class="button2" type="submit" value="{L_GO}" />
</fieldset>
</form>
<form id="forums" method="post" action="{U_ACTION}">
<fieldset class="quick">
<input type="hidden" name="action" value="add" />
<input type="text" name="forum_name" value="" />
<input class="button2" name="addforum" type="submit" value="{L_CREATE_FORUM}" />
</fieldset>
</form>
<!-- ENDIF -->
<!-- INCLUDE overall_footer.html -->

View File

@@ -0,0 +1,334 @@
<!-- INCLUDE overall_header.html -->
<a name="maincontent"></a>
<!-- IF S_EDIT -->
<a href="{U_BACK}" style="float: right">&laquo; {L_BACK}</a>
<h1>{L_ACP_GROUPS_MANAGE}</h1>
<p>{L_GROUP_EDIT_EXPLAIN}</p>
<!-- IF S_ERROR -->
<div class="errorbox">
<h3>{L_WARNING}</h3>
<p>{ERROR_MSG}</p>
</div>
<!-- ENDIF -->
<form id="settings" method="post" action="{U_ACTION}"<!-- IF S_CAN_UPLOAD --> enctype="multipart/form-data"<!-- ENDIF -->>
<fieldset>
<legend>{L_GROUP_DETAILS}</legend>
<dl>
<dt><label<!-- IF not S_SPECIAL_GROUP --> for="group_name"<!-- ENDIF -->>{L_GROUP_NAME}:</label></dt>
<dd><!-- IF S_SPECIAL_GROUP --><b>{GROUP_NAME}</b><!-- ENDIF --><input name="group_name" type="<!-- IF S_SPECIAL_GROUP -->hidden<!-- ELSE -->text<!-- ENDIF -->" id="group_name" value="{GROUP_INTERNAL_NAME}" /></dd>
</dl>
<dl>
<dt><label for="group_desc">{L_GROUP_DESC}:</label></dt>
<dd><textarea id="group_desc" name="group_desc" rows="5" cols="45">{GROUP_DESC}</textarea></dd>
<dd><input type="checkbox" class="radio" name="desc_parse_bbcode"<!-- IF S_DESC_BBCODE_CHECKED --> checked="checked"<!-- ENDIF --> /> {L_PARSE_BBCODE} &nbsp; <input type="checkbox" class="radio" name="desc_parse_smilies"<!-- IF S_DESC_SMILIES_CHECKED --> checked="checked"<!-- ENDIF --> /> {L_PARSE_SMILIES} &nbsp; <input type="checkbox" class="radio" name="desc_parse_urls"<!-- IF S_DESC_URLS_CHECKED --> checked="checked"<!-- ENDIF --> /> {L_PARSE_URLS}</dd>
</dl>
<!-- IF not S_SPECIAL_GROUP -->
<dl>
<dt><label for="group_type">{L_GROUP_TYPE}:</label><br /><span>{L_GROUP_TYPE_EXPLAIN}</span></dt>
<dd>
<input name="group_type" type="radio" class="radio" id="group_type" value="{GROUP_TYPE_FREE}"{GROUP_FREE} /> {L_GROUP_OPEN} &nbsp;
<input name="group_type" type="radio" class="radio" value="{GROUP_TYPE_OPEN}"{GROUP_OPEN} /> {L_GROUP_REQUEST} &nbsp;
<input name="group_type" type="radio" class="radio" value="{GROUP_TYPE_CLOSED}"{GROUP_CLOSED} /> {L_GROUP_CLOSED} &nbsp;
<input name="group_type" type="radio" class="radio" value="{GROUP_TYPE_HIDDEN}"{GROUP_HIDDEN} /> {L_GROUP_HIDDEN}
</dd>
</dl>
<!-- ELSE -->
<input name="group_type" type="hidden" value="{GROUP_TYPE_SPECIAL}" />
<!-- ENDIF -->
<!-- IF S_ADD_GROUP -->
<dl>
<dt><label for="group_perm_from">{L_COPY_PERMISSIONS}:</label><br /><span>{L_COPY_PERMISSIONS_EXPLAIN}</span></dt>
<dd><select id="group_perm_from" name="group_perm_from"><option value="0">{L_NO_PERMISSIONS}</option>{S_GROUP_OPTIONS}</select></dd>
</dl>
<!-- ENDIF -->
</fieldset>
<fieldset>
<legend>{L_GROUP_SETTINGS_SAVE}</legend>
<dl>
<dt><label for="group_legend">{L_GROUP_LEGEND}:</label></dt>
<dd><input name="group_legend" type="checkbox" class="radio" id="group_legend"{GROUP_LEGEND} /></dd>
</dl>
<dl>
<dt><label for="group_receive_pm">{L_GROUP_RECEIVE_PM}:</label></dt>
<dd><input name="group_receive_pm" type="checkbox" class="radio" id="group_receive_pm"{GROUP_RECEIVE_PM} /></dd>
</dl>
<dl>
<dt><label for="group_message_limit">{L_GROUP_MESSAGE_LIMIT}:</label><br /><span>{L_GROUP_MESSAGE_LIMIT_EXPLAIN}</span></dt>
<dd><input name="group_message_limit" type="text" id="group_message_limit" maxlength="4" size="4" value="{GROUP_MESSAGE_LIMIT}" /></dd>
</dl>
<dl>
<dt><label for="group_colour">{L_GROUP_COLOR}:</label><br /><span>{L_GROUP_COLOR_EXPLAIN}</span></dt>
<dd><input name="group_colour" type="text" id="group_colour" value="{GROUP_COLOUR}" size="6" maxlength="6" />&nbsp;&nbsp;<span>[ <a href="#" onclick="swatch(); return false">{L_COLOUR_SWATCH}</a> ]</span></dd>
</dl>
<dl>
<dt><label for="group_rank">{L_GROUP_RANK}:</label></dt>
<dd><select name="group_rank" id="group_rank">{S_RANK_OPTIONS}</select></dd>
</dl>
</fieldset>
<fieldset>
<legend>{L_GROUP_AVATAR}</legend>
<dl>
<dt><label>{L_CURRENT_IMAGE}:</label><br /><span>{L_AVATAR_EXPLAIN}</span></dt>
<dd>{AVATAR_IMAGE}</dd>
<dd><input type="checkbox" class="radio" name="delete" />&nbsp;<span>{L_DELETE_AVATAR}</span></dd>
</dl>
<!-- IF not S_IN_AVATAR_GALLERY -->
<!-- IF S_CAN_UPLOAD -->
<dl>
<dt><label for="uploadfile">{L_UPLOAD_AVATAR_FILE}:</label></dt>
<dd><input type="file" id="uploadfile" name="uploadfile" /></dd>
</dl>
<dl>
<dt><label for="uploadurl">{L_UPLOAD_AVATAR_URL}:</label><br /><span>{L_UPLOAD_AVATAR_URL_EXPLAIN}</span></dt>
<dd><input name="uploadurl" type="text" id="uploadurl" value="" /></dd>
</dl>
<!-- ENDIF -->
<dl>
<dt><label for="remotelink">{L_LINK_REMOTE_AVATAR}:</label><br /><span>{L_LINK_REMOTE_AVATAR_EXPLAIN}</span></dt>
<dd><input name="remotelink" type="text" id="remotelink" value="" /></dd>
</dl>
<dl>
<dt><label for="width">{L_LINK_REMOTE_SIZE}:</label><br /><span>{L_LINK_REMOTE_SIZE_EXPLAIN}</span></dt>
<dd><input name="width" type="text" id="width" size="3" value="{GROUP_AVATAR_WIDTH}" /> <span>px X </span> <input type="text" name="height" size="3" value="{GROUP_AVATAR_HEIGHT}" /> <span>px</span></dd>
</dl>
<!-- IF S_DISPLAY_GALLERY -->
<dl>
<dt><label>{L_AVATAR_GALLERY}:</label></dt>
<dd><input class="button2" type="submit" name="display_gallery" value="{L_DISPLAY_GALLERY}" /></dd>
</dl>
<!-- ENDIF -->
<!-- ELSE -->
</fieldset>
<fieldset>
<legend>{L_AVATAR_GALLERY}</legend>
<dl>
<dt><label for="category">{L_AVATAR_CATEGORY}:</label></dt>
<dd><select name="category" id="category">{S_CAT_OPTIONS}</select>&nbsp;<input class="button2" type="submit" value="{L_GO}" name="display_gallery" /></dd>
</dl>
<dl>
<table cellspacing="1">
<!-- BEGIN avatar_row -->
<tr>
<!-- BEGIN avatar_column -->
<td class="row1" style="text-align: center;"><img src="{avatar_row.avatar_column.AVATAR_IMAGE}" alt="{avatar_row.avatar_column.AVATAR_NAME}" title="{avatar_row.avatar_column.AVATAR_NAME}" /></td>
<!-- END avatar_column -->
</tr>
<tr>
<!-- BEGIN avatar_option_column -->
<td class="row2" style="text-align: center;"><input type="radio" class="radio" name="avatar_select" value="{avatar_row.avatar_option_column.S_OPTIONS_AVATAR}" /></td>
<!-- END avatar_option_column -->
</tr>
<!-- END avatar_row -->
</table>
</dl>
</fieldset>
<fieldset class="quick" style="margin-top: -15px;">
<input class="button2" type="submit" name="cancel" value="{L_CANCEL}" />
</fieldset>
<!-- ENDIF -->
</fieldset>
<fieldset class="submit-buttons">
<input class="button1" type="submit" id="submit" name="update" value="{L_SUBMIT}" />&nbsp;
<input class="button2" type="reset" id="reset" name="reset" value="{L_RESET}" />
</fieldset>
</form>
<!-- ELSEIF S_LIST -->
<a href="{U_BACK}" style="float: right">&laquo; {L_BACK}</a>
<h1>{L_GROUP_MEMBERS} :: {GROUP_NAME}</h1>
<p>{L_GROUP_MEMBERS_EXPLAIN}</p>
<form id="list" method="post" action="{U_ACTION}">
<fieldset class="quick">
<a href="{U_DEFAULT_ALL}">&raquo; {L_MAKE_DEFAULT_FOR_ALL}</a>
</fieldset>
<table cellspacing="1">
<thead>
<tr>
<th>{L_USERNAME}</th>
<th>{L_GROUP_DEFAULT}</th>
<th>{L_JOINED}</th>
<th>{L_POSTS}</th>
<th>{L_MARK}</th>
</tr>
</thead>
<tbody>
<tr>
<td class="row3" colspan="5"><b>{L_GROUP_LEAD}</b></td>
</tr>
<!-- BEGIN leader -->
<!-- IF leader.S_ROW_COUNT is even --><tr class="row1"><!-- ELSE --><tr class="row2"><!-- ENDIF -->
<td><a href="{leader.U_USER_EDIT}">{leader.USERNAME}</a></td>
<td style="text-align: center;"><!-- IF leader.S_GROUP_DEFAULT -->{L_YES}<!-- ELSE -->{L_NO}<!-- ENDIF --></td>
<td style="text-align: center;">{leader.JOINED}</td>
<td style="text-align: center;">{leader.USER_POSTS}</td>
<td style="text-align: center;"><input type="checkbox" class="radio" name="mark[]" value="{leader.USER_ID}" /></td>
</tr>
<!-- BEGINELSE -->
<tr>
<td class="row1" colspan="5" style="text-align: center;">{L_GROUPS_NO_MODS}</td>
</tr>
<!-- END leader -->
<tr>
<td class="row3" colspan="5"><b>{L_GROUP_APPROVED}</b></td>
</tr>
<!-- BEGIN member -->
<!-- IF member.S_PENDING -->
<tr>
<td class="row3" colspan="5"><b>{L_GROUP_PENDING}</b></td>
</tr>
<!-- ELSE -->
<!-- IF member.S_ROW_COUNT is even --><tr class="row1"><!-- ELSE --><tr class="row2"><!-- ENDIF -->
<td><a href="{member.U_USER_EDIT}">{member.USERNAME}</a></td>
<td style="text-align: center;"><!-- IF member.S_GROUP_DEFAULT -->{L_YES}<!-- ELSE -->{L_NO}<!-- ENDIF --></td>
<td style="text-align: center;">{member.JOINED}</td>
<td style="text-align: center;">{member.USER_POSTS}</td>
<td style="text-align: center;"><input type="checkbox" class="radio" name="mark[]" value="{member.USER_ID}" /></td>
</tr>
<!-- ENDIF -->
<!-- BEGINELSE -->
<tr>
<td class="row1" colspan="5" style="text-align: center;">{L_GROUPS_NO_MEMBERS}</td>
</tr>
<!-- END member -->
</tbody>
</table>
<div class="pagination" style="float: left;">
<!-- IF PAGINATION -->
<a href="javascript:jumpto();" title="{L_JUMP_TO_PAGE}">{S_ON_PAGE}</a> &bull; <span>{PAGINATION}</span>
<!-- ELSE -->
{S_ON_PAGE}
<!-- ENDIF -->
</div>
<fieldset class="quick">
<span class="small"><a href="javascript:marklist('list', 'mark', true);">{L_MARK_ALL}</a> :: <a href="javascript:marklist('list', 'mark', false);">{L_UNMARK_ALL}</a></span><br />
<select name="action"><option class="sep" value="">{L_SELECT_OPTION}</option>{S_ACTION_OPTIONS}</select>
<input class="button2" type="submit" name="update" value="{L_SUBMIT}" />
</fieldset>
<h1>{L_ADD_USERS}</h1>
<p>{L_ADD_USERS_EXPLAIN}</p>
<fieldset>
<legend>{L_ADD_USERS}</legend>
<dl>
<dt><label for="leader">{L_USER_GROUP_LEADER}:</label></dt>
<dd><input name="leader" type="radio" class="radio" value="1" /> {L_YES} &nbsp; <input name="leader" type="radio" class="radio" id="leader" value="0" checked="checked" /> {L_NO}</dd>
</dl>
<dl>
<dt><label for="default">{L_USER_GROUP_DEFAULT}:</label><br /><span>{L_USER_GROUP_DEFAULT_EXPLAIN}</span></dt>
<dd><input name="default" type="radio" class="radio" value="1" /> {L_YES} &nbsp; <input name="default" type="radio" class="radio" id="default" value="0" checked="checked" /> {L_NO}</dd>
</dl>
<dl>
<dt><label for="usernames">{L_USERNAME}:</label><br /><span>{L_USERNAMES_EXPLAIN}</span></dt>
<dd><textarea id="usernames" name="usernames" cols="40" rows="5"></textarea></dd>
<dd>[ <a href="{U_FIND_USERNAME}" target="usersearch">{L_FIND_USERNAME}</a> ]</dd>
</dl>
</fieldset>
<fieldset class="quick">
<input class="button2" type="submit" name="addusers" value="{L_SUBMIT}" />
</fieldset>
</form>
<!-- ELSE -->
<h1>{L_ACP_GROUPS_MANAGE}</h1>
<p>{L_ACP_GROUPS_MANAGE_EXPLAIN}</p>
<!-- IF S_ERROR -->
<div class="errorbox">
<h3>{L_WARNING}</h3>
<p>{ERROR_MSG}</p>
</div>
<!-- ENDIF -->
<h1>{L_USER_DEF_GROUPS}</h1>
<p>{L_USER_DEF_GROUPS_EXPLAIN}</p>
<form id="acp_groups" method="post" action="{U_ACTION}">
<table cellspacing="1">
<col class="col1" /><col class="col1" /><col class="col2" /><col class="col2" /><col class="col2" />
<thead>
<tr>
<th style="width: 50%">{L_GROUP}</th>
<th>{L_TOTAL_MEMBERS}</th>
<th colspan="2">{L_OPTIONS}</th>
<th>{L_ACTION}</th>
</tr>
</thead>
<tbody>
<!-- BEGIN groups -->
<!-- IF groups.S_SPECIAL -->
</tbody>
</table>
<fieldset class="quick">
<!-- IF S_GROUP_ADD -->
{L_CREATE_GROUP}: <input type="text" name="group_name" value="" /> <input class="button2" type="submit" name="submit" value="{L_SUBMIT}" />
<input type="hidden" name="add" value="1" />
<!-- ENDIF -->
</fieldset>
</form>
<h1>{L_SPECIAL_GROUPS}</h1>
<p>{L_SPECIAL_GROUPS_EXPLAIN}</p>
<table cellspacing="1">
<col class="col1" /><col class="col1" /><col class="col2" /><col class="col2" /><col class="col2" />
<thead>
<tr>
<th style="width: 50%">{L_GROUP}</th>
<th>{L_TOTAL_MEMBERS}</th>
<th colspan="2">{L_OPTIONS}</th>
<th>{L_ACTION}</th>
</tr>
</thead>
<tbody>
<!-- ELSE -->
<tr>
<td><strong>{groups.GROUP_NAME}</strong></td>
<td style="text-align: center;">{groups.TOTAL_MEMBERS}</td>
<td style="text-align: center;"><a href="{groups.U_EDIT}">{L_SETTINGS}</a></td>
<td style="text-align: center;"><a href="{groups.U_LIST}">{L_MEMBERS}</a></td>
<td style="text-align: center;"><!-- IF not groups.S_GROUP_SPECIAL and groups.U_DELETE --><a href="{groups.U_DELETE}">{L_DELETE}</a><!-- ELSE -->{L_DELETE}<!-- ENDIF --></td>
</tr>
<!-- ENDIF -->
<!-- END groups -->
</tbody>
</table>
<!-- ENDIF -->
<!-- INCLUDE overall_footer.html -->

View File

@@ -0,0 +1,168 @@
<!-- INCLUDE overall_header.html -->
<a name="maincontent"></a>
<!-- IF S_EDIT -->
<a href="{U_BACK}" style="float: right">&laquo; {L_BACK}</a>
<h1>{L_TITLE}</h1>
<p>{L_EXPLAIN}</p>
<form id="acp_icons" method="post" action="{U_ACTION}">
<table cellspacing="1">
<thead>
<tr>
<th colspan="{COLSPAN}">{L_CONFIG}</th>
</tr>
<tr class="row3">
<td>{L_URL}</td>
<td>{L_LOCATION}</td>
<!-- IF S_SMILIES -->
<td>{L_SMILIES_CODE}</td>
<td>{L_SMILIES_EMOTION}</td>
<!-- ENDIF -->
<td>{L_WIDTH}</td>
<td>{L_HEIGHT}</td>
<td>{L_DISPLAY_ON_POSTING}</td>
<!-- IF ID or S_ADD -->
<td>{L_ORDER}</td>
<!-- ENDIF -->
<!-- IF S_ADD -->
<td>{L_ADD}</td>
<!-- ENDIF -->
</tr>
</thead>
<tbody>
<!-- BEGIN items -->
<!-- IF items.S_ROW_COUNT is even --><tr class="row1"><!-- ELSE --><tr class="row2"><!-- ENDIF -->
<td style="text-align: center;"><img src="{items.IMG_SRC}" alt="" title="" /><input type="hidden" name="image[{items.IMG}]" value="1" /></td>
<td style="vertical-align: top;">[{items.IMG}]</td>
<!-- IF S_SMILIES -->
<td><input class="post" type="text" name="code[{items.IMG}]" value="{items.CODE}" size="10" /></td>
<td><input class="post" type="text" name="emotion[{items.IMG}]" value="{items.EMOTION}" size="10" /></td>
<!-- ENDIF -->
<td><input class="post" type="text" size="3" name="width[{items.IMG}]" value="{items.WIDTH}" /></td>
<td><input class="post" type="text" size="3" name="height[{items.IMG}]" value="{items.HEIGHT}" /></td>
<td>
<input type="checkbox" class="radio" name="display_on_posting[{items.IMG}]"{items.POSTING_CHECKED} />
<!-- IF items.S_ID -->
<input type="hidden" name="id[{items.IMG}]" value="{items.ID}" />
<!-- ENDIF -->
</td>
<!-- IF ID or S_ADD -->
<td><select name="order[{items.IMG}]">{S_ORDER_LIST}</select></td>
<!-- ENDIF -->
<!-- IF S_ADD -->
<td><input type="checkbox" class="radio" name="add_img[{items.IMG}]" value="1" /></td>
<!-- ENDIF -->
</tr>
<!-- END items -->
</tbody>
</table>
<fieldset class="submit-buttons">
<input class="button1" type="submit" id="submit" name="submit" value="{L_SUBMIT}" />&nbsp;
<input class="button2" type="reset" id="reset" name="reset" value="{L_RESET}" />
</fieldset>
</form>
<!-- ELSEIF S_CHOOSE_PAK -->
<a href="{U_BACK}" style="float: right">&laquo; {L_BACK}</a>
<h1>{L_TITLE}</h1>
<p>{L_EXPLAIN}</p>
<form id="acp_icons" method="post" action="{U_ACTION}">
<fieldset>
<legend>{L_IMPORT}</legend>
<!-- IF not S_PAK_OPTIONS -->
<p>{L_NO_PAK_OPTIONS}</p>
</fieldset>
<!-- ELSE -->
<dl>
<dt><label for="pak">{L_SELECT_PACKAGE}</label></dt>
<dd><select id="pak" name="pak">{S_PAK_OPTIONS}</select></dd>
</dl>
<dt><label for="current">{L_CURRENT}</label><br /><span>{L_CURRENT_EXPLAIN}</span></dt>
<dd><input type="radio" class="radio" id="current" name="current" value="keep" checked="checked" /> {L_KEEP_ALL}&nbsp; &nbsp;<input type="radio" class="radio" name="current" value="replace" /> {L_REPLACE_MATCHES}&nbsp; &nbsp;<input type="radio" class="radio" name="current" value="delete" /> {L_DELETE_ALL}&nbsp;</dd>
</dl>
</fieldset>
<fieldset class="quick">
<input class="button1" type="submit" id="import" name="import" value="{L_IMPORT_SUBMIT}" />
</fieldset>
<!-- ENDIF -->
</form>
<!-- ELSE -->
<h1>{L_TITLE}</h1>
<p>{L_EXPLAIN}</p>
<!-- IF NOTICE -->
<div class="successbox">
<h3>{L_NOTIFY}</h3>
<p>{NOTICE}</p>
</div>
<!-- ENDIF -->
<div style="text-align: right;"><a href="{U_IMPORT}">{L_IMPORT}</a> | <a href="{U_EXPORT}">{L_EXPORT}</a></div>
<table cellspacing="1">
<thead>
<tr>
<th>{L_TITLE}</th>
<!-- IF S_SMILIES -->
<th>{L_CODE}</th>
<th>{L_EMOTION}</th>
<!-- ENDIF -->
<th>{L_OPTIONS}</th>
</tr>
</thead>
<tbody>
<!-- BEGIN items -->
<!-- IF items.S_SPACER -->
<tr>
<td class="row3" colspan="{COLSPAN}" style="text-align: center;">{L_NOT_DISPLAYED}</td>
</tr>
<!-- ENDIF -->
<!-- IF items.S_ROW_COUNT is even --><tr class="row1"><!-- ELSE --><tr class="row2"><!-- ENDIF -->
<td style="text-align: center;"><img src="{items.IMG_SRC}" width="{items.WIDTH}" height="{items.HEIGHT}" alt="{items.ALT_TEXT}" title="{items.ALT_TEXT}" /></td>
<!-- IF S_SMILIES -->
<td style="text-align: center;">{items.CODE}</td>
<td style="text-align: center;">{items.EMOTION}</td>
<!-- ENDIF -->
<td style="width: 15%; text-align: right; white-space: nowrap;">
<!-- IF not items.S_FIRST_ROW --><a href="{items.U_MOVE_UP}">{ICON_MOVE_UP}</a> <!-- ENDIF -->
<!-- IF not items.S_LAST_ROW --><a href="{items.U_MOVE_DOWN}">{ICON_MOVE_DOWN}</a> <!-- ENDIF -->
<a href="{items.U_EDIT}">{ICON_EDIT}</a>
<a href="{items.U_DELETE}">{ICON_DELETE}</a>
</td>
</tr>
<!-- END items -->
</tbody>
</table>
<form id="acp_icons" method="post" action="{U_ACTION}">
<fieldset class="quick">
<input class="button2" name="add" type="submit" value="{L_ICON_ADD}" />&nbsp; &nbsp;<input class="button2" type="submit" name="edit" value="{L_ICON_EDIT}" />
</fieldset>
</form>
<!-- ENDIF -->
<!-- INCLUDE overall_footer.html -->

View File

@@ -0,0 +1,57 @@
<!-- INCLUDE overall_header.html -->
<a name="maincontent"></a>
<h1>{L_ACP_JABBER_SETTINGS}</h1>
<p>{L_ACP_JABBER_SETTINGS_EXPLAIN}</p>
<!-- IF S_WARNING -->
<div class="errorbox">
<h3>{L_WARNING}</h3>
<p>{WARNING_MSG}</p>
</div>
<!-- ENDIF -->
<form id="acp_jabber" method="post" action="{U_ACTION}">
<fieldset>
<legend>{L_ACP_JABBER_SETTINGS}</legend>
<dl>
<dt><label for="jab_enable">{L_JAB_ENABLE}:</label><br /><span>{L_JAB_ENABLE_EXPLAIN}</span></dt>
<dd><input type="radio" class="radio" id="jab_enable" name="jab_enable" value="1"<!-- IF JAB_ENABLE --> checked="checked"<!-- ENDIF --> />&nbsp;{L_ENABLED}&nbsp; &nbsp;<input type="radio" class="radio" name="jab_enable" value="0"<!-- IF not JAB_ENABLE --> checked="checked"<!-- ENDIF --> />&nbsp;{L_DISABLED}</dd>
</dl>
<dl>
<dt><label for="jab_host">{L_JAB_SERVER}:</label><br /><span>{L_JAB_SERVER_EXPLAIN}</span></dt>
<dd><input type="text" id="jab_host" name="jab_host" value="{JAB_HOST}" /></dd>
</dl>
<dl>
<dt><label for="jab_port">{L_JAB_PORT}:</label><br /><span>{L_JAB_PORT_EXPLAIN}</span></dt>
<dd><input type="text" id="jab_port" name="jab_port" value="{JAB_PORT}" /></dd>
</dl>
<dl>
<dt><label for="jab_username">{L_JAB_USERNAME}:</label><br /><span>{L_JAB_USERNAME_EXPLAIN}</span></dt>
<dd><input type="text" id="jab_username" name="jab_username" value="{JAB_USERNAME}" /></dd>
</dl>
<dl>
<dt><label for="jab_password">{L_JAB_PASSWORD}:</label></dt>
<dd><input type="text" id="jab_password" name="jab_password" value="{JAB_PASSWORD}" /></dd>
</dl>
<dl>
<dt><label for="jab_resource">{L_JAB_RESOURCE}:</label><br /><span>{L_JAB_RESOURCE_EXPLAIN}</span></dt>
<dd><input type="text" id="jab_resource" name="jab_resource" value="{JAB_RESOURCE}" /></dd>
</dl>
<dl>
<dt><label for="jab_package_size">{L_JAB_PACKAGE_SIZE}:</label><br /><span>{L_JAB_PACKAGE_SIZE_EXPLAIN}</span></dt>
<dd><input type="text" id="jab_package_size" name="jab_package_size" value="{JAB_PACKAGE_SIZE}" /></dd>
</dl>
</fieldset>
<fieldset class="submit-buttons">
<input class="button1" type="submit" id="submit" name="submit" value="{L_SUBMIT}" />&nbsp;
<input class="button2" type="reset" id="reset" name="reset" value="{L_RESET}" />
</fieldset>
</form>
<!-- INCLUDE overall_footer.html -->

View File

@@ -0,0 +1,241 @@
<!-- INCLUDE overall_header.html -->
<a name="maincontent"></a>
<!-- IF S_SELECT_METHOD -->
<a href="{U_BACK}" style="float: right">&laquo; {L_BACK}</a>
<h1>{L_SELECT_DOWNLOAD_FORMAT}</h1>
<form id="selectmethod" method="post" action="{U_ACTION}">
<fieldset>
<legend>{L_DOWNLOAD_AS}</legend>
<dl>
<dt><label for="use_method">{L_DOWNLOAD_AS}:</label></dt>
<dd>{RADIO_BUTTONS}</dd>
</dl>
</fieldset>
<fieldset class="quick">
<input type="submit" class="button2" value="{L_DOWNLOAD}" name="download" />
</fieldset>
</form>
<!-- ELSEIF S_DETAILS -->
<a href="{U_BACK}" style="float: right">&laquo; {L_BACK}</a>
<h1>{L_LANGUAGE_PACK_DETAILS}</h1>
<form id="details" method="post" action="{U_ACTION}">
<fieldset>
<legend>{LANG_LOCAL_NAME}</legend>
<dl>
<dt><label for="lang_english_name">{L_LANG_ENGLISH_NAME}:</label></dt>
<dd><input type="text" id="lang_english_name" name="lang_english_name" value="{LANG_ENGLISH_NAME}" /></dd>
</dl>
<dl>
<dt><label for="lang_local_name">{L_LANG_LOCAL_NAME}:</label></dt>
<dd><input type="text" id="lang_local_name" name="lang_local_name" value="{LANG_LOCAL_NAME}" /></dd>
</dl>
<dl>
<dt><label>{L_LANG_ISO_CODE}:</label></dt>
<dd><b>{LANG_ISO}</b></dd>
</dl>
<dl>
<dt><label for="lang_author">{L_LANG_AUTHOR}:</label></dt>
<dd><input type="text" id="lang_author" name="lang_author" value="{LANG_AUTHOR}" /></dd>
</dl>
</fieldset>
<fieldset class="quick" style="margin-top: -15px;">
<input type="submit" name="update_details" class="button2" value="{L_SUBMIT}" />
</fieldset>
</form>
<br /><br />
<!-- IF S_MISSING_FILES -->
<div class="errorbox">
<h3>{L_MISSING_FILES}</h3>
<p>{MISSING_FILES}</p>
</div>
<br /><br />
<!-- ENDIF -->
<!-- IF S_MISSING_VARS -->
<h1>{L_MISSING_LANG_VARIABLES}</h1>
<p>{L_MISSING_VARS_EXPLAIN}</p>
<form id="missing" method="post" action="{U_MISSING_ACTION}">
<table cellspacing="1">
<thead>
<tr>
<th>{L_LANGUAGE_KEY}</th>
<th>{L_LANGUAGE_VARIABLE}</th>
</tr>
</thead>
<tbody>
<!-- BEGIN missing -->
<tr class="row4">
<td><b>{missing.FILE}</b></td>
<td style="text-align: right;"><input type="submit" name="missing_file[{missing.KEY}]" value="{L_SELECT}" class="button2" /></td>
</tr>
{missing.TPL}
<!-- END missing -->
</tbody>
</table>
</form>
<br /><br />
<!-- ENDIF -->
<a name="entries"></a>
<h1>{L_LANGUAGE_ENTRIES}</h1>
<p>{L_LANGUAGE_ENTRIES_EXPLAIN}</p>
<form id="entries" method="post" action="{U_ENTRY_ACTION}">
<!-- IF S_FROM_STORE -->
<fieldset class="quick" style="float: left;">
<input type="submit" name="remove_store" value="{L_REMOVE_FROM_STORAGE_FOLDER}" class="button2" />
</fieldset>
<!-- ENDIF -->
<fieldset class="quick" style="float: right;">
<select name="language_file">{S_LANG_OPTIONS}</select>&nbsp;<input type="submit" class="button2" name="change" value="{L_SELECT}" />
</fieldset>
<br /><br /><br />
<table cellspacing="1">
<thead>
<!-- IF S_EMAIL_FILE -->
<tr>
<th colspan="2">{L_FILE_CONTENTS}</th>
</tr>
<!-- ELSE -->
<tr>
<th>{L_LANGUAGE_KEY}</th>
<th>{L_LANGUAGE_VARIABLE}</th>
</tr>
<!-- ENDIF -->
<tr>
<td class="row3"><b>{PRINT_MESSAGE}<!-- IF S_FROM_STORE --><br /><span style="color: red;">{L_FILE_FROM_STORAGE}</span><!-- ENDIF --></b></td>
<td class="row3" style="text-align: right;"><input type="submit" name="download_file" class="button2" value="{L_SUBMIT_AND_DOWNLOAD}" />&nbsp;&nbsp;<input type="submit" name="submit_file" class="button2" value="{L_SUBMIT}" /><!-- IF ALLOW_UPLOAD -->&nbsp;&nbsp;{L_UPLOAD_METHOD}:&nbsp;<!-- BEGIN buttons--><input type="radio" class="radio"<!-- IF buttons.S_FIRST_ROW --> id="method" checked="checked"<!-- ENDIF --> value="{buttons.VALUE}" name="method">&nbsp;{buttons.VALUE}&nbsp;<!-- END buttons --><input type="submit" name="upload_file" class="button2" value="{L_SUBMIT_AND_UPLOAD}" /><!-- ENDIF --></td>
</tr>
</thead>
<tbody>
<!-- IF S_EMAIL_FILE -->
<tr>
<td class="row2" colspan="2" style="text-align: center;"><textarea name="entry" id="entry" cols="80" rows="20">{LANG}</textarea></td>
</tr>
<!-- ELSE -->
{TPL}
<!-- ENDIF -->
<tr>
<td class="row3" colspan="3" style="text-align: right;"><input type="submit" name="download_file" class="button2" value="{L_SUBMIT_AND_DOWNLOAD}" />&nbsp;&nbsp;<input type="submit" name="submit_file" class="button2" value="{L_SUBMIT}" /><!-- IF ALLOW_UPLOAD -->&nbsp;&nbsp;{L_UPLOAD_METHOD}:&nbsp;<!-- BEGIN buttons--><input type="radio" class="radio" value="{buttons.VALUE}" name="method">&nbsp;{buttons.VALUE}&nbsp;<!-- END buttons --><input type="submit" name="upload_file" class="button2" value="{L_SUBMIT_AND_UPLOAD}" /><!-- ENDIF --></td>
</tr>
</tbody>
</table>
</form>
<!-- ELSEIF S_UPLOAD -->
<a href="{U_BACK}" style="float: right">&laquo; {L_BACK}</a>
<h1>{L_UPLOAD_SETTINGS}</h1>
<form id="upload" method="post" action="{U_ACTION}">
<!-- IF S_CONNECTION_SUCCESS -->
<div class="successbox">
<p>{L_CONNECTION_SUCCESS}</p>
</div>
<!-- ELSEIF S_CONNECTION_FAILED -->
<div class="errorbox">
<p>{L_CONNECTION_FAILED}</p>
</div>
<!-- ENDIF -->
<fieldset>
<legend>{L_UPLOAD_SETTINGS}</legend>
<dl>
<dt><label>{L_UPLOAD_METHOD}:</label></dt>
<dd><b>{NAME}</b></dd>
</dl>
<!-- BEGIN data -->
<dl>
<dt><label for="store">{data.NAME}:</label><br /><span>{data.EXPLAIN}</span></dt>
<dd><input type="text" id="{data.DATA}" name="{data.DATA}" value="{data.DEFAULT}" checked="checked" /></dd>
</dl>
<!-- END data -->
</fieldset>
<fieldset class="quick">
{HIDDEN}
<input class="button1" type="submit" name="update" value="{L_SUBMIT}" />
<input class="button1" type="submit" name="test_connection" value="{L_TEST_CONNECTION}" />
</fieldset>
</form>
<!-- ELSE -->
<h1>{L_ACP_LANGUAGE_PACKS}</h1>
<p>{L_ACP_LANGUAGE_PACKS_EXPLAIN}</p>
<table cellspacing="1">
<thead>
<tr>
<th>{L_LANGUAGE_PACK_NAME}</th>
<th>{L_LANGUAGE_PACK_LOCALNAME}</th>
<th>{L_LANGUAGE_PACK_ISO}</th>
<th>{L_LANGUAGE_PACK_USED_BY}</th>
<th>{L_OPTIONS}</th>
</tr>
</thead>
<tbody>
<tr>
<td class="row3" colspan="5"><b>{L_INSTALLED_LANGUAGE_PACKS}</b></td>
</tr>
<!-- BEGIN lang -->
<!-- IF lang.S_ROW_COUNT is even --><tr class="row1"><!-- ELSE --><tr class="row2"><!-- ENDIF -->
<td><a href="{lang.U_DETAILS}">{lang.ENGLISH_NAME}</a> {lang.TAG}</td>
<td>{lang.LOCAL_NAME}</td>
<td style="text-align: center;"><b>{lang.ISO}</b></td>
<td style="text-align: center;">{lang.USED_BY}</td>
<td style="text-align: center;">&nbsp;<a href="{lang.U_DOWNLOAD}">{L_DOWNLOAD}</a>&nbsp;|&nbsp;<a href="{lang.U_DELETE}">{L_DELETE}</a></td>
</tr>
<!-- END lang -->
<!-- IF .notinst -->
<tr>
<td class="row3" colspan="5"><b>{L_UNINSTALLED_LANGUAGE_PACKS}</b></td>
</tr>
<!-- ENDIF -->
<!-- BEGIN notinst -->
<!-- IF notinst.S_ROW_COUNT is even --><tr class="row1"><!-- ELSE --><tr class="row2"><!-- ENDIF -->
<td>{notinst.NAME}</td>
<td>{notinst.LOCAL_NAME}</td>
<td style="text-align: center;"><b>{notinst.ISO}</b></td>
<td colspan="2" style="text-align: center;"><a href="{notinst.U_INSTALL}">{L_INSTALL}</a></td>
</tr>
<!-- END notinst -->
</tbody>
</table>
<!-- ENDIF -->
<!-- INCLUDE overall_footer.html -->

View File

@@ -0,0 +1,89 @@
<!-- INCLUDE overall_header.html -->
<a name="maincontent"></a>
<h1>{L_TITLE}</h1>
<p>{L_EXPLAIN}</p>
<form id="list" method="post" action="{U_ACTION}">
<fieldset class="quick" style="float: left;">
{L_DISPLAY_LOG}: &nbsp;{S_LIMIT_DAYS}&nbsp;{L_SORT_BY}: {S_SORT_KEY} {S_SORT_DIR}
<input class="button2" type="submit" value="{L_GO}" name="sort" />
</fieldset>
<div class="clearfix"></div>
<div class="pagination">
<!-- IF PAGINATION -->
<a href="javascript:jumpto();" title="{L_JUMP_TO_PAGE}">{S_ON_PAGE}</a> &bull; <span>{PAGINATION}</span>
<!-- ELSE -->
{S_ON_PAGE}
<!-- ENDIF -->
</div>
<!-- IF .log -->
<table cellspacing="1">
<thead>
<tr>
<th>{L_USERNAME}</th>
<th>{L_IP}</th>
<th>{L_TIME}</th>
<th>{L_ACTION}</th>
<th>{L_MARK}</th>
</tr>
</thead>
<tbody>
<!-- BEGIN log -->
<!-- IF log.S_ROW_COUNT is even --><tr class="row1"><!-- ELSE --><tr class="row2"><!-- ENDIF -->
<td>
{log.USERNAME}
<!-- IF log.REPORTEE_USERNAME -->
<br />&raquo; {log.REPORTEE_USERNAME}
<!-- ENDIF -->
</td>
<td style="text-align: center;">{log.IP}</td>
<td style="text-align: center;">{log.DATE}</td>
<td>{log.ACTION}<!-- IF log.DATA --><br />{log.DATA}</span><!-- ENDIF --></td>
<td style="text-align: center;"><input type="checkbox" class="radio" name="mark[]" value="{log.ID}" /></td>
</tr>
<!-- END log -->
</tbody>
</table>
<!-- ELSE -->
<div class="errorbox">
<p>{L_NO_ENTRIES}</p>
</div>
<!-- ENDIF -->
<!-- IF S_SHOW_FORUMS -->
<fieldset class="quick" style="float: left;">
{L_SELECT_FORUM}: <select name="f" onchange="if(this.options[this.selectedIndex].value != -1){ this.form.submit(); }">{S_FORUM_BOX}</select>
<input class="button2" type="submit" value="{L_GO}" />
</fieldset>
<!-- ENDIF -->
<!-- IF S_CLEARLOGS -->
<fieldset class="quick">
<b class="small"><a href="javascript: marklist('list', 'mark', true);">{L_MARK_ALL}</a> :: <a href="javascript:marklist('list', 'mark', false);">{L_UNMARK_ALL}</a></b><br />
<input class="button2" type="submit" name="delmarked" value="{L_DELETE_MARKED}" />&nbsp;
<input class="button2" type="submit" name="delall" value="{L_DELETE_ALL}" />&nbsp;
</fieldset>
<!-- ENDIF -->
<div class="pagination">
<!-- IF PAGINATION -->
<a href="javascript:jumpto();" title="{L_JUMP_TO_PAGE}">{S_ON_PAGE}</a> &bull; <span>{PAGINATION}</span>
<!-- ELSE -->
{S_ON_PAGE}
<!-- ENDIF -->
</div>
</form>
<!-- INCLUDE overall_footer.html -->

View File

@@ -0,0 +1,166 @@
<!-- INCLUDE overall_header.html -->
<a name="maincontent"></a><h1>{L_WELCOME_PHPBB}</h1>
<p>{L_ADMIN_INTRO}</p>
<!-- IF S_DEBUG_EXTRA -->
<div class="errorbox">
<h3>{L_WARNING}</h3>
<p>{L_DEBUG_EXTRA_WARNING}</p>
</div>
<!-- ENDIF -->
<!-- IF S_REMOVE_INSTALL -->
<div class="errorbox">
<h3>{L_WARNING}</h3>
<p>{L_REMOVE_INSTALL}</p>
</div>
<!-- ENDIF -->
<table cellspacing="1">
<caption>{L_FORUM_STATS}</caption>
<col class="col1" /><col class="col2" /><col class="col1" /><col class="col2" />
<thead>
<tr>
<th>{L_STATISTIC}</th>
<th>{L_VALUE}</th>
<th>{L_STATISTIC}</th>
<th>{L_VALUE}</th>
</tr>
</thead>
<tbody>
<tr>
<td>{L_NUMBER_POSTS}: </td>
<td><b>{TOTAL_POSTS}</b></td>
<td>{L_POSTS_PER_DAY}: </td>
<td><b>{POSTS_PER_DAY}</b></td>
</tr>
<tr>
<td>{L_NUMBER_TOPICS}: </td>
<td><b>{TOTAL_TOPICS}</b></td>
<td>{L_TOPICS_PER_DAY}: </td>
<td><b>{TOPICS_PER_DAY}</b></td>
</tr>
<tr>
<td>{L_NUMBER_USERS}: </td>
<td><b>{TOTAL_USERS}</b></td>
<td>{L_USERS_PER_DAY}: </td>
<td><b>{USERS_PER_DAY}</b></td>
</tr>
<tr>
<td>{L_NUMBER_FILES}: </td>
<td><b>{TOTAL_FILES}</b></td>
<td>{L_FILES_PER_DAY}: </td>
<td><b>{FILES_PER_DAY}</b></td>
</tr>
<tr>
<td>{L_BOARD_STARTED}: </td>
<td><b>{START_DATE}</b></td>
<td>{L_AVATAR_DIR_SIZE}: </td>
<td><b>{AVATAR_DIR_SIZE}</b></td>
</tr>
<tr>
<td>{L_DATABASE_SIZE}: </td>
<td><b>{DBSIZE}</b></td>
<td>{L_UPLOAD_DIR_SIZE}: </td>
<td><b>{UPLOAD_DIR_SIZE}</b></td>
</tr>
<tr>
<td>{L_DATABASE_SERVER_INFO}: </td>
<td><b>{DATABASE_INFO}</b></td>
<td>{L_GZIP_COMPRESSION}: </td>
<td><b>{GZIP_COMPRESSION}</b></td>
</tr>
</tbody>
</table>
<!-- IF S_ACTION_OPTIONS -->
<form id="stats" method="post" action="{U_ACTION}">
<fieldset class="quick">
<select name="action">{S_ACTION_OPTIONS}</select>
<input class="button2" type="submit" name="submit" value="{L_SUBMIT}" />
</fieldset>
</form>
<!-- ENDIF -->
<!-- IF .log -->
<h2>{L_ADMIN_LOG}</h2>
<p>{L_ADMIN_LOG_INDEX_EXPLAIN}</p>
<table cellspacing="1">
<thead>
<tr>
<th>{L_USERNAME}</th>
<th>{L_IP}</th>
<th>{L_TIME}</th>
<th>{L_ACTION}</th>
</tr>
</thead>
<tbody>
<!-- BEGIN log -->
<!-- IF log.S_ROW_COUNT is even --><tr class="row1"><!-- ELSE --><tr class="row2"><!-- ENDIF -->
<td>{log.USERNAME}</td>
<td style="text-align: center;">{log.IP}</td>
<td style="text-align: center;">{log.DATE}</td>
<td>{log.ACTION}</td>
</tr>
<!-- END log -->
</tbody>
</table>
<br />
<div style="text-align: right;"><a href="{U_ADMIN_LOG}">&raquo; {L_VIEW_ADMIN_LOG}</a></div>
<!-- ENDIF -->
<!-- IF S_INACTIVE_USERS -->
<h2>{L_INACTIVE_USERS}</h2>
<p>{L_INACTIVE_USERS_EXPLAIN}</p>
<form id="inactive" method="post" action="{U_ACTION}">
<table cellspacing="1">
<thead>
<tr>
<th>{L_USERNAME}</th>
<th>{L_JOINED}</th>
<th>{L_LAST_VISIT}</th>
<th>{L_MARK}</th>
</tr>
</thead>
<tbody>
<!-- BEGIN inactive -->
<!-- IF inactive.S_ROW_COUNT is even --><tr class="row1"><!-- ELSE --><tr class="row2"><!-- ENDIF -->
<td><a href="{inactive.U_USER_ADMIN}">{inactive.USERNAME}</a></td>
<td>{inactive.DATE}</td>
<td>{inactive.LAST_VISIT}</td>
<td>&nbsp;<input type="checkbox" class="radio" name="mark[]" value="{inactive.USER_ID}" />&nbsp;</td>
</tr>
<!-- BEGINELSE -->
<tr>
<td colspan="3" style="text-align: center;">{L_NO_INACTIVE_USERS}</td>
</tr>
<!-- END inactive -->
</tbody>
</table>
<!-- IF .inactive -->
<fieldset class="quick">
<p><a href="javascript:marklist('inactive', 'mark', true);">{L_MARK_ALL}</a> &bull; <a href="javascript:marklist('inactive', 'mark', false);">{L_UNMARK_ALL}</a></p>
<select name="action">{S_INACTIVE_OPTIONS}</select>
<input class="button2" type="submit" name="submit" value="{L_SUBMIT}" />
</fieldset>
<!-- ENDIF -->
</form>
<!-- ENDIF -->
<!-- INCLUDE overall_footer.html -->

View File

@@ -0,0 +1,197 @@
<!-- INCLUDE overall_header.html -->
<a name="maincontent"></a>
<!-- IF S_EDIT_MODULE -->
<script type="text/javascript">
<!--
function display_options(value)
{
if (value == 'category')
{
dE('modoptions', -1);
}
else
{
dE('modoptions', 1);
}
}
function display_modes(value)
{
// Remove select fields
var item = document.getElementById('module_mode');
var j = 0;
// empty existing items
for (var i = 0; i <= item.options.length; i++)
{
item.options[i] = null;
}
<!-- BEGIN m_names -->
if (value == '{m_names.NAME}')
{
<!-- BEGIN modes -->
item.options[j] = new Option('{m_names.modes.A_VALUE}');
item.options[j].value = '{m_names.modes.A_OPTION}';
j++;
<!-- END modes -->
}
<!-- END m_names -->
// select first item
item.options[0].selected = true;
}
//-->
</script>
<a href="{U_BACK}" style="float: right">&laquo; {L_BACK}</a>
<h1>{L_TITLE} :: {MODULENAME}</h1>
<p>{L_EDIT_MODULE_EXPLAIN}</p>
<!-- IF S_ERROR -->
<div class="errorbox">
<h3>{L_WARNING}</h3>
<p>{ERROR_MSG}</p>
</div>
<!-- ENDIF -->
<form id="moduleedit" method="post" action="{U_EDIT_ACTION}">
<fieldset>
<legend>{L_GENERAL_OPTIONS}</legend>
<dl>
<dt><label for="module_langname">{L_MODULE_LANGNAME}:</label><br />
<span>{L_MODULE_LANGNAME_EXPLAIN}</span></dt>
<dd><input name="module_langname" type="text" id="module_langname" value="{MODULE_LANGNAME}" class="medium" /></dd>
</dl>
<dl>
<dt><label for="module_type">{L_MODULE_TYPE}:</label></dt>
<dd><select name="module_type" id="module_type" onchange="display_options(this.value);"><option value="category"<!-- IF S_IS_CAT --> selected="selected"<!-- ENDIF -->>{L_CATEGORY}</option><option value="module"<!-- IF not S_IS_CAT --> selected="selected"<!-- ENDIF -->>{L_MODULE}</option></select></dd>
</dl>
<dl>
<dt><label for="parent_id">{L_PARENT}:</label></dt>
<dd><select name="module_parent_id" id="parent_id">{S_CAT_OPTIONS}</select></dd>
</dl>
<hr />
<dl>
<dt><label for="module_enabled">{L_MODULE_ENABLED}:</label></dt>
<dd><label><input type="radio" class="radio" name="module_enabled" id="module_enabled" value="1"<!-- IF MODULE_ENABLED --> checked="checked"<!-- ENDIF --> /> {L_YES}</label>
<label><input type="radio" class="radio" name="module_enabled" value="0"<!-- IF not MODULE_ENABLED --> checked="checked"<!-- ENDIF --> /> {L_NO}</label></dd>
</dl>
<div id="modoptions"<!-- IF S_IS_CAT --> style="display: none;"<!-- ENDIF -->>
<dl>
<dt><label for="module_display">{L_MODULE_DISPLAYED}:</label><br /><span>{L_MODULE_DISPLAYED_EXPLAIN}</span></dt>
<dd><label><input type="radio" class="radio" name="module_display" id="module_display" value="1"<!-- IF MODULE_DISPLAY --> checked="checked"<!-- ENDIF --> /> {L_YES}</label>
<label><input type="radio" class="radio" name="module_display" value="0"<!-- IF not MODULE_DISPLAY --> checked="checked"<!-- ENDIF --> /> {L_NO}</label></dd>
</dl>
<dl>
<dt><label for="module_basename">{L_CHOOSE_MODULE}:</label><br />
<span>{L_CHOOSE_MODULE_EXPLAIN}</span></dt>
<dd><select name="module_basename" id="module_basename" onchange="display_modes(this.value);">{S_MODULE_NAMES}</select></dd>
</dl>
<dl>
<dt><label for="module_mode">{L_CHOOSE_MODE}:</label><br />
<span>{L_CHOOSE_MODE_EXPLAIN}</span></dt>
<dd><select name="module_mode" id="module_mode">{S_MODULE_MODES}</select></dd>
</dl>
</div>
</fieldset>
<fieldset class="submit-buttons">
<input type="hidden" name="action" value="{ACTION}" />
<input type="hidden" name="m" value="{MODULE_ID}" />
<input class="button1" type="submit" id="submit" name="submit" value="{L_SUBMIT}" />&nbsp;
<input class="button2" type="reset" id="reset" name="reset" value="{L_RESET}" />
</fieldset>
</form>
<!-- ELSE -->
<h1>{L_ACP_MODULE_MANAGEMENT}</h1>
<p>{L_ACP_MODULE_MANAGEMENT_EXPLAIN}</p>
<!-- IF S_ERROR -->
<div class="errorbox">
<h3>{L_WARNING}</h3>
<p>{ERROR_MSG}</p>
</div>
<!-- ENDIF -->
<table cellspacing="1">
<tbody>
<tr>
<td class="row3">{NAVIGATION}<!-- IF S_NO_MODULES --> [<a href="{U_EDIT}">{L_EDIT}</a> | <a href="{U_DELETE}">{L_DELETE}</a> | <!-- IF MODULE_ENABLED --><a href="{U_DISABLE}">{L_DISABLE}</a><!-- ELSE --><a href="{U_ENABLE}">{L_ENABLE}</a><!-- ENDIF -->]<!-- ENDIF --></td>
</tr>
</tbody>
</table>
<!-- IF .modules -->
<table cellspacing="1">
<col class="row1" /><col class="row1" /><col class="row2" /><col class="row2" />
<tbody>
<!-- BEGIN modules -->
<tr>
<td style="width: 5%;">{modules.MODULE_IMAGE}</td>
<td style="width: 50%;"><a href="{modules.U_MODULE}">{modules.MODULE_TITLE}</a><!-- IF not modules.MODULE_DISPLAYED --> <span class="small">[{L_HIDDEN_MODULE}]</span><!-- ENDIF --></td>
<td style="width: 15%; white-space: nowrap; text-align: center; vertical-align: middle;">&nbsp;<!-- IF modules.MODULE_ENABLED --><a href="{modules.U_DISABLE}">{L_DISABLE}</a><!-- ELSE --><a href="{modules.U_ENABLE}">{L_ENABLE}</a><!-- ENDIF -->&nbsp;</td>
<td style="width: 20%; white-space: nowrap; text-align: center; vertical-align: middle;">
<!-- IF not modules.S_FIRST_ROW --><a href="{modules.U_MOVE_UP}">{ICON_MOVE_UP}</a> <!-- ENDIF -->
<!-- IF not modules.S_LAST_ROW --><a href="{modules.U_MOVE_DOWN}">{ICON_MOVE_DOWN}</a> <!-- ENDIF -->
<a href="{modules.U_EDIT}">{ICON_EDIT}</a>
<a href="{modules.U_DELETE}">{ICON_DELETE}</a>
</td>
</tr>
<!-- END modules -->
</tbody>
</table>
<!-- ENDIF -->
<div class="clearfix">&nbsp;</div>
<form id="quick" method="post" action="{U_ACTION}">
<fieldset class="quick" style="float: right;">
<input type="hidden" name="action" value="quickadd" />
<select name="quick_install">{S_INSTALL_OPTIONS}</select>
<input class="button2" name="quickadd" type="submit" value="{L_ADD_MODULE}" />
</fieldset>
</form>
<form id="module" method="post" action="{U_ACTION}">
<fieldset class="quick" style="float: left;">
<input type="hidden" name="action" value="add" />
<input type="hidden" name="module_parent_id" value="{PARENT_ID}" />
<input type="text" name="module_langname" />
<input class="button2" name="addmodule" type="submit" value="{L_CREATE_MODULE}" />
</fieldset>
</form>
<div class="clearfix">&nbsp;</div>
<form id="mselect" method="post" action="{U_SEL_ACTION}">
<fieldset class="quick">
{L_SELECT_MODULE}: <select name="parent_id" onchange="if(this.options[this.selectedIndex].value != -1){ this.form.submit(); }">{MODULE_BOX}</select>
<input class="button2" type="submit" value="{L_GO}" />
</fieldset>
</form>
<!-- ENDIF -->
<!-- INCLUDE overall_footer.html -->

View File

@@ -0,0 +1,221 @@
<!-- INCLUDE overall_header.html -->
<a name="maincontent"></a>
<!-- IF S_EDIT -->
<script type="text/javascript">
<!--
var active_option = 'options0';
/**
* Show/hide option panels
* value = suffix for ID to show
*/
function swap_options(id)
{
if (id == active_option)
{
return;
}
// Hide active options and display container
dE(active_option, -1);
dE(id, 1);
active_option = id;
}
/**
* Mark all radio buttons in one panel
* id = table ID container, s = status ['y'/'u'/'n']
*/
function mark_options(id, s)
{
var t = document.getElementById(id);
if (!t)
{
return;
}
var rb = t.getElementsByTagName('input');
for (var r = 0; r < rb.length; r++ )
{
if (rb[r].id.substr(rb[r].id.length-1) == s)
{
rb[r].checked = true;
}
}
}
//-->
</script>
<a href="{U_BACK}" style="float: right">&laquo; {L_BACK}</a>
<h1>{L_TITLE}</h1>
<p>{L_EXPLAIN}</p>
<form id="acp_roles" method="post" action="{U_ACTION}">
<br />
<a href="#acl">&raquo; {L_SET_ROLE_PERMISSIONS}</a>
<fieldset>
<legend>{L_ROLE_DETAILS}</legend>
<dl>
<dt><label for="role_name">{L_ROLE_NAME}:</label></dt>
<dd><input name="role_name" type="text" id="role_name" value="{ROLE_NAME}" /></dd>
</dl>
<dl>
<dt><label for="role_description">{L_ROLE_DESCRIPTION}:</label><br /><span>{L_ROLE_DESCRIPTION_EXPLAIN}</span></dt>
<dd><textarea id="role_description" name="role_description" rows="3" cols="45">{ROLE_DESCRIPTION}</textarea></dd>
</dl>
</fieldset>
<fieldset class="quick">
<input type="submit" class="button1" name="submit" value="{L_SUBMIT}" />
</fieldset>
<!-- IF S_DISPLAY_ROLE_MASK -->
<h1>{L_ROLE_ASSIGNED_TO}</h1>
<!-- INCLUDE permission_roles_mask.html -->
<!-- ENDIF -->
<a name="acl"></a>
<a href="#maincontent">&raquo; {L_BACK_TO_TOP}</a><br />
<br /><br />
<h1>{L_ACL_TYPE}</h1>
<fieldset class="quick">
<a href="javascript: mark_options('a_options', 'y');">{L_ALL_YES}</a> &bull; <a href="javascript: mark_options('a_options', 'n');">{L_ALL_NEVER}</a> &bull; <a href="javascript: mark_options('a_options', 'u');">{L_ALL_NO}</a>
</fieldset>
<fieldset class="permissions">
<table cellspacing="1" class="pmask">
<thead>
<tr>
<!-- BEGIN auth -->
<th>{auth.CAT_NAME}</th>
<!-- END auth -->
</tr>
</thead>
<tbody>
<tr>
<!-- BEGIN auth -->
<!-- IF auth.S_YES -->
<td class="preset preset_yes">
<!-- ELSEIF auth.S_NEVER -->
<td class="preset preset_never">
<!-- ELSEIF auth.S_NO -->
<td class="preset preset_no">
<!-- ELSE -->
<td class="preset preset_custom">
<!-- ENDIF -->
<a href="javascript:swap_options('options{auth.S_ROW_COUNT}');"><span></span></a></td>
<!-- END auth -->
</tr>
<tr class="row3">
<td colspan="{S_NUM_PERM_COLS}" id="a_options" style="vertical-align: top; text-align: left; width: 100%;">
<!-- BEGIN auth -->
<table cellspacing="1" id="options{auth.S_ROW_COUNT}" class="type3" style="width: 100%; text-align: left;<!-- IF auth.S_FIRST_ROW --><!-- ELSE --> display: none;<!-- ENDIF -->">
<thead>
<tr>
<th scope="col" style="text-align: left; padding-left: 0;"><strong>{L_ACL_SETTING} [{auth.CAT_NAME}]</strong></th>
<th scope="col"><a href="javascript: mark_options('options{auth.S_ROW_COUNT}', 'y');">{L_ACL_YES}</a></th>
<th scope="col"><a href="javascript: mark_options('options{auth.S_ROW_COUNT}', 'u');">{L_ACL_NO}</a></th>
<th scope="col"><a href="javascript: mark_options('options{auth.S_ROW_COUNT}', 'n');">{L_ACL_NEVER}</a></th>
</tr>
</thead>
<tbody>
<!-- BEGIN mask -->
<!-- IF auth.mask.S_ROW_COUNT is even --><tr class="row4"><!-- ELSE --><tr class="row3"><!-- ENDIF -->
<th>{auth.mask.PERMISSION}</th>
<td class="no"><input id="setting[{auth.mask.FIELD_NAME}]_y" name="setting[{auth.mask.FIELD_NAME}]" class="radio" type="radio"<!-- IF auth.mask.S_YES --> checked="checked"<!-- ENDIF --> value="1" /></td>
<td class="no"><input id="setting[{auth.mask.FIELD_NAME}]_u" name="setting[{auth.mask.FIELD_NAME}]" class="radio" type="radio"<!-- IF auth.mask.S_NO --> checked="checked"<!-- ENDIF --> value="-1" /></td>
<td class="no"><input id="setting[{auth.mask.FIELD_NAME}]_n" name="setting[{auth.mask.FIELD_NAME}]" class="radio" type="radio"<!-- IF auth.mask.S_NEVER --> checked="checked"<!-- ENDIF --> value="0" /></td>
</tr>
<!-- END mask -->
</tbody>
</table>
<!-- END auth -->
</td>
</tr>
</tbody>
</table>
</fieldset>
<fieldset class="quick">
<input type="submit" class="button1" name="submit" value="{L_SUBMIT}" />
</fieldset>
</form>
<a href="#maincontent">&raquo; {L_BACK_TO_TOP}</a><br />
<br />
<!-- ELSE -->
<h1>{L_TITLE}</h1>
<p>{L_EXPLAIN}</p>
<form id="acp_roles" method="post" action="{U_ACTION}">
<table cellspacing="1">
<col class="col1" /><col class="col1" /><col class="col2" /><col class="col2" /><col class="col2" />
<thead>
<tr>
<th style="width: 50%">{L_ROLE_NAME}</th>
<th colspan="2">{L_OPTIONS}</th>
</tr>
</thead>
<tbody>
<!-- BEGIN roles -->
<tr>
<td style="vertical-align: top;"><b>{roles.ROLE_NAME}</b>
<!-- IF roles.ROLE_DESCRIPTION --><br /><span>{roles.ROLE_DESCRIPTION}</span><!-- ENDIF -->
</td>
<td style="vertical-align: top; white-space: nowrap;"><!-- IF roles.U_DISPLAY_ITEMS --><a href="{roles.U_DISPLAY_ITEMS}">{L_VIEW_ASSIGNED_ITEMS}</a><!-- ELSE -->{L_VIEW_ASSIGNED_ITEMS}<!-- ENDIF --></td>
<td style="vertical-align: top; white-space: nowrap;">
<!-- IF not roles.S_FIRST_ROW --><a href="{roles.U_MOVE_UP}">{ICON_MOVE_UP}</a> <!-- ENDIF -->
<!-- IF not roles.S_LAST_ROW --><a href="{roles.U_MOVE_DOWN}">{ICON_MOVE_DOWN}</a> <!-- ENDIF -->
<a href="{roles.U_EDIT}" title="{L_EDIT_ROLE}">{ICON_EDIT}</a>
<a href="{roles.U_REMOVE}" title="{L_REMOVE_ROLE}">{ICON_DELETE}</a>
</td>
</tr>
<!-- END roles -->
</tbody>
</table>
<fieldset class="quick">
{L_CREATE_ROLE}: <input type="text" name="role_name" value="" /><!-- IF S_ROLE_OPTIONS --> <select name="options_from"><option value="0" selected="selected">{L_CREATE_ROLE_FROM}</option>{S_ROLE_OPTIONS}</select><!-- ENDIF --> <input class="button2" type="submit" name="add" value="{L_SUBMIT}" /><br />
</fieldset>
</form>
<!-- IF S_DISPLAY_ROLE_MASK -->
<a name="assigned_to"></a>
<h1>{L_ROLE_ASSIGNED_TO}</h1>
<!-- INCLUDE permission_roles_mask.html -->
<!-- ENDIF -->
<!-- ENDIF -->
<!-- INCLUDE overall_footer.html -->

View File

@@ -0,0 +1,373 @@
<!-- INCLUDE overall_header.html -->
<a name="maincontent"></a>
<!-- IF S_INTRO -->
<h1>{L_ACP_PERMISSIONS}</h1>
{L_ACP_PERMISSIONS_EXPLAIN}
<!-- ENDIF -->
<!-- IF S_SELECT_VICTIM -->
<h1>{L_TITLE}</h1>
<p>{L_EXPLAIN}</p>
<!-- IF S_FORUM_NAMES -->
<p><b>{L_FORUMS}:</b> {FORUM_NAMES}</p>
<!-- ENDIF -->
<!-- IF S_SELECT_FORUM -->
<form id="select_victim" method="post" action="{U_ACTION}">
<fieldset>
<legend>{L_LOOK_UP_FORUM}</legend>
<!-- IF S_FORUM_MULTIPLE --><p>{L_LOOK_UP_FORUMS_EXPLAIN}</p><!-- ENDIF -->
<dl>
<dt><label for="forum">{L_LOOK_UP_FORUM}:</label></dt>
<dd><select id="forum" name="forum_id[]"<!-- IF S_FORUM_MULTIPLE --> multiple="multiple"<!-- ENDIF --> size="10">{S_FORUM_OPTIONS}</select></dd>
<!-- IF S_FORUM_ALL --><dd><input type="checkbox" class="radio" name="all_forums" value="1" />&nbsp; {L_ALL_FORUMS}</dd><!-- ENDIF -->
</dl>
</fieldset>
<fieldset class="quick">
{S_HIDDEN_FIELDS}
<input type="submit" name="submit" value="{L_SUBMIT}" class="button1" />
</fieldset>
</form>
<!-- IF S_FORUM_MULTIPLE -->
<form id="select_subforum" method="post" action="{U_ACTION}">
<fieldset>
<legend>{L_LOOK_UP_FORUM}</legend>
<p>{L_SELECT_FORUM_SUBFORUM_EXPLAIN}</p>
<dl>
<dt><label for="sforum">{L_LOOK_UP_FORUM}:</label></dt>
<dd><select id="sforum" name="subforum_id">{S_SUBFORUM_OPTIONS}</select></dd>
</dl>
</fieldset>
<fieldset class="quick">
{S_HIDDEN_FIELDS}
<input type="submit" name="submit" value="{L_SUBMIT}" class="button1" />
</fieldset>
</form>
<form id="select_single_forum" method="post" action="{U_ACTION}">
<fieldset>
<legend>{L_LOOK_UP_FORUM}</legend>
<dl>
<dt><label for="forum">{L_LOOK_UP_FORUM}:</label></dt>
<dd><select id="forum" name="forum_id[]">{S_FORUM_OPTIONS}</select></dd>
</dl>
</fieldset>
<fieldset class="quick">
{S_HIDDEN_FIELDS}
<input type="submit" name="submit" value="{L_SUBMIT}" class="button1" />
</fieldset>
</form>
<!-- ENDIF -->
<!-- ELSEIF S_SELECT_USER and S_CAN_SELECT_USER -->
<form id="select_victim" method="post" action="{U_ACTION}">
<fieldset>
<legend>{L_LOOK_UP_USER}</legend>
<dl>
<dt><label for="username">{L_FIND_USERNAME}:</label></dt>
<dd><input class="medium" type="text" id="username" name="username[]" /></dd>
<dd>[ <a href="#" onclick="window.open('{U_FIND_USERNAME}', '_phpbbsearch', 'height=500, resizable=yes, scrollbars=yes, width=740'); return false;">{L_FIND_USERNAME}</a> ]</dd>
<dd class="full" style="text-align: left;"><input type="checkbox" class="radio" id="anonymous" name="user_id[]" value="{ANONYMOUS_USER_ID}" /> &nbsp;{L_SELECT_ANONYMOUS}</dd>
</dl>
</fieldset>
<fieldset class="quick">
{S_HIDDEN_FIELDS}
<input type="submit" name="submit" value="{L_SUBMIT}" class="button1" />
</fieldset>
</form>
<!-- ELSEIF S_SELECT_GROUP and S_CAN_SELECT_GROUP -->
<form id="select_victim" method="post" action="{U_ACTION}">
<fieldset>
<legend>{L_LOOK_UP_GROUP}</legend>
<dl>
<dt><label for="group">{L_LOOK_UP_GROUP}:</label></dt>
<dd><select name="group_id[]" id="group">{S_GROUP_OPTIONS}</select></dd>
</dl>
</fieldset>
<fieldset class="quick">
{S_HIDDEN_FIELDS}
<input type="submit" name="submit" value="{L_SUBMIT}" class="button1" />
</fieldset>
</form>
<!-- ELSEIF S_SELECT_USERGROUP -->
<div style="float: left; width: 48%;">
<!-- IF S_CAN_SELECT_USER -->
<h1>{L_USERS}</h1>
<form id="users" method="post" action="{U_ACTION}">
<fieldset>
<legend>{L_MANAGE_USERS}</legend>
<dl>
<dd class="full"><select style="width: 100%;" name="user_id[]" multiple="multiple" size="5">{S_DEFINED_USER_OPTIONS}</select></dd>
<dd class="full" style="text-align: right;"><input type="checkbox" class="radio" name="all_users" value="1" />&nbsp; {L_ALL_USERS}</dd>
</dl>
</fieldset>
<fieldset class="quick">
{S_HIDDEN_FIELDS}
<input type="submit" class="button2" name="action[delete]" value="{L_REMOVE_PERMISSIONS}" style="width: 46% !important;" /> &nbsp; <input class="button1" type="submit" name="submit_edit_options" value="{L_EDIT_PERMISSIONS}" style="width: 46% !important;" />
</fieldset>
</form>
<form id="add_user" method="post" action="{U_ACTION}">
<fieldset>
<legend>{L_ADD_USERS}</legend>
<p>{L_USERNAMES_EXPLAIN}</p>
<dl>
<dd class="full"><textarea id="username" name="usernames" rows="5" cols="5" style="width: 100%; height: 60px;"></textarea></dd>
<dd class="full" style="text-align: left;"><div style="float: right;">[ <a href="#" onclick="window.open('{U_FIND_USERNAME}', '_phpbbsearch', 'height=500, resizable=yes, scrollbars=yes, width=740'); return false;">{L_FIND_USERNAME}</a> ]</div><input type="checkbox" class="radio" id="anonymous" name="user_id[]" value="{ANONYMOUS_USER_ID}" /> &nbsp;{L_SELECT_ANONYMOUS}</dd>
</dl>
</fieldset>
<fieldset class="quick">
{S_HIDDEN_FIELDS}
<input class="button1" type="submit" name="submit_add_options" value="{L_ADD_PERMISSIONS}" />
</fieldset>
</form>
<!-- ENDIF -->
</div>
<div style="float: right; width: 48%">
<!-- IF S_CAN_SELECT_GROUP -->
<h1>{L_USERGROUPS}</h1>
<form id="groups" method="post" action="{U_ACTION}">
<fieldset>
<legend>{L_MANAGE_GROUPS}</legend>
<dl>
<dd class="full"><select style="width: 100%;" name="group_id[]" multiple="multiple" size="5">{S_DEFINED_GROUP_OPTIONS}</select></dd>
<dd class="full" style="text-align: right;"><input type="checkbox" class="radio" name="all_groups" value="1" />&nbsp; {L_ALL_GROUPS}</dd>
</dl>
</fieldset>
<fieldset class="quick">
{S_HIDDEN_FIELDS}
<input class="button2" type="submit" name="action[delete]" value="{L_REMOVE_PERMISSIONS}" style="width: 46% !important;" /> &nbsp; <input class="button1" type="submit" name="submit_edit_options" value="{L_EDIT_PERMISSIONS}" style="width: 46% !important;" />
</fieldset>
</form>
<form id="add_groups" method="post" action="{U_ACTION}">
<fieldset>
<legend>{L_ADD_GROUPS}</legend>
<dl>
<dd class="full"><select name="group_id[]" style="width: 100%; height: 107px;" multiple="multiple">{S_ADD_GROUP_OPTIONS}</select></dd>
</dl>
</fieldset>
<fieldset class="quick">
{S_HIDDEN_FIELDS}
<input type="submit" class="button1" name="submit_add_options" value="{L_ADD_PERMISSIONS}" />
</fieldset>
</form>
<!-- ENDIF -->
</div>
<!-- ELSEIF S_SELECT_USERGROUP_VIEW -->
<div style="float: left; width: 48%;">
<h1>{L_USERS}</h1>
<form id="users" method="post" action="{U_ACTION}">
<fieldset>
<legend>{L_MANAGE_USERS}</legend>
<dl>
<dd class="full"><select style="width: 100%;" name="user_id[]" multiple="multiple" size="5">{S_DEFINED_USER_OPTIONS}</select></dd>
</dl>
</fieldset>
<fieldset class="quick">
{S_HIDDEN_FIELDS}
<input class="button1" type="submit" name="submit" value="{L_VIEW_PERMISSIONS}" />
</fieldset>
</form>
<form id="add_user" method="post" action="{U_ACTION}">
<fieldset>
<legend>{L_LOOK_UP_USER}</legend>
<dl>
<dt><label for="username">{L_FIND_USERNAME}:</label></dt>
<dd><input type="text" id="username" name="username[]" /></dd>
<dd>[ <a href="#" onclick="window.open('{U_FIND_USERNAME}', '_phpbbsearch', 'height=500, resizable=yes, scrollbars=yes, width=740'); return false;">{L_FIND_USERNAME}</a> ]</dd>
<dd class="full" style="text-align: left;"><input type="checkbox" class="radio" id="anonymous" name="user_id[]" value="{ANONYMOUS_USER_ID}" /> &nbsp;{L_SELECT_ANONYMOUS}</dd>
</dl>
</fieldset>
<fieldset class="quick">
{S_HIDDEN_FIELDS}
<input type="submit" name="submit" value="{L_VIEW_PERMISSIONS}" class="button1" />
</fieldset>
</form>
</div>
<div style="float: right; width: 48%">
<h1>{L_USERGROUPS}</h1>
<form id="groups" method="post" action="{U_ACTION}">
<fieldset>
<legend>{L_MANAGE_GROUPS}</legend>
<dl>
<dd class="full"><select style="width: 100%;" name="group_id[]" multiple="multiple" size="5">{S_DEFINED_GROUP_OPTIONS}</select></dd>
</dl>
</fieldset>
<fieldset class="quick">
{S_HIDDEN_FIELDS}
<input class="button1" type="submit" name="submit" value="{L_VIEW_PERMISSIONS}" />
</fieldset>
</form>
<form id="group" method="post" action="{U_ACTION}">
<fieldset>
<legend>{L_LOOK_UP_GROUP}</legend>
<dl>
<dt><label for="group">{L_LOOK_UP_GROUP}:</label></dt>
<dd><select name="group_id[]" id="group">{S_ADD_GROUP_OPTIONS}</select></dd>
<dd>&nbsp;</dd>
</dl>
</fieldset>
<fieldset class="quick">
{S_HIDDEN_FIELDS}
<input type="submit" name="submit" value="{L_VIEW_PERMISSIONS}" class="button1" />
</fieldset>
</form>
</div>
<!-- ENDIF -->
<!-- ENDIF -->
<!-- IF S_VIEWING_PERMISSIONS -->
<h1>{L_ACL_VIEW}</h1>
<p>{L_ACL_VIEW_EXPLAIN}</p>
<fieldset class="quick">
<b>&raquo; {L_PERMISSION_TYPE}</b>
</fieldset>
<!-- INCLUDE permission_mask.html -->
<!-- ENDIF -->
<!-- IF S_SETTING_PERMISSIONS -->
<h1>{L_ACL_SET}</h1>
<p>{L_ACL_SET_EXPLAIN}</p>
<br />
<fieldset class="quick" style="float: right;">
<b>&raquo; {L_PERMISSION_TYPE}</b>
</fieldset>
<!-- IF S_PERMISSION_DROPDOWN -->
<form id="pselect" method="post" action="{U_ACTION}">
<fieldset class="quick" style="float: left;">
{S_HIDDEN_FIELDS}
{L_SELECT_TYPE}: <select name="type">{S_PERMISSION_DROPDOWN}</select>
<input class="button2" type="submit" name="submit" value="{L_GO}" />
</fieldset>
</form>
<!-- ENDIF -->
<br /><br />
<!-- include tooltip file -->
<script type="text/javascript" src="style/tooltip.js"></script>
<script type="text/javascript">
<!--
window.onload = function(){enable_tooltips_select('set_permissions', '{LA_ROLE_DESCRIPTION}', 'role')};
//-->
</script>
<form id="set_permissions" method="post" action="{U_ACTION}">
{S_HIDDEN_FIELDS}
<!-- INCLUDE permission_mask.html -->
<br /><br />
<fieldset class="quick" style="float: left; text-align: left;">
{L_PERMISSION_APPLIED_TO_ALL}<br />
<a href="javascript:marklist('set_permissions', 'inherit', true);">{L_MARK_ALL}</a> &bull; <a href="javascript:marklist('set_permissions', 'inherit', false);">{L_UNMARK_ALL}</a>
</fieldset>
<fieldset class="quick" style="float: right;">
<input class="button1" type="submit" name="action[apply_all_permissions]" value="{L_APPLY_ALL_PERMISSIONS}" />
<input class="button2" type="reset" name="cancel" value="{L_RESET}" />
</fieldset>
<br /><br />
</form>
<!-- ENDIF -->
<!-- INCLUDE overall_footer.html -->

View File

@@ -0,0 +1,13 @@
<!-- INCLUDE overall_header.html -->
<a name="maincontent"></a>
<h1>{L_ACP_PHP_INFO}</h1>
<p>{L_ACP_PHP_INFO_EXPLAIN}</p>
<div style="overflow: auto; width: 99%;">
{PHPINFO}
</div>
<!-- INCLUDE overall_footer.html -->

View File

@@ -0,0 +1,199 @@
<!-- INCLUDE overall_header.html -->
<a name="maincontent"></a>
<!-- IF S_EDIT -->
<a href="{U_BACK}" style="float: right">&laquo; {L_BACK}</a>
<h1>{L_TITLE}</h1>
<p>{L_EXPLAIN}</p>
<!-- IF ERROR_MSG -->
<div class="errorbox">
<h3>{L_WARNING}</h3>
<p>{ERROR_MSG}</p>
</div>
<!-- ENDIF -->
<form id="add_profile_field" method="post" action="{U_ACTION}">
<!-- IF S_STEP_ONE -->
<fieldset>
<legend>{L_TITLE}</legend>
<dl>
<dt><label>{L_FIELD_TYPE}:</label><br /><span>{L_FIELD_TYPE_EXPLAIN}</span></dt>
<dd><b>{FIELD_TYPE}</b></dd>
</dl>
<dl>
<dt><label for="field_ident">{L_FIELD_IDENT}:</label><br /><span>{L_FIELD_IDENT_EXPLAIN}</span></dt>
<dd><input class="medium" type="text" id="field_ident" name="field_ident" value="{FIELD_IDENT}" /></dd>
</dl>
<dl>
<dt><label for="field_no_view">{L_DISPLAY_PROFILE_FIELD}:</label><br /><span>{L_DISPLAY_PROFILE_FIELD_EXPLAIN}</span></dt>
<dd><input type="radio" class="radio" id="field_no_view" name="field_no_view" value="0"<!-- IF not S_FIELD_NO_VIEW --> checked="checked"<!-- ENDIF --> /> {L_YES} <input type="radio" class="radio" name="field_no_view" value="1"<!-- IF S_FIELD_NO_VIEW --> checked="checked"<!-- ENDIF --> /> {L_NO}</dd>
</dl>
</fieldset>
<fieldset>
<legend>{L_VISIBILITY_OPTION}</legend>
<dl>
<dt><label for="field_option_none">{L_DISPLAY_AT_PROFILE}:</label><br /><span>{L_DISPLAY_AT_PROFILE_EXPLAIN}</span></dt>
<dd><input type="radio" class="radio" id="field_option_none" name="field_option" value="none"<!-- IF not S_SHOW_ON_REG and not S_FIELD_REQUIRED and not S_FIELD_HIDE --> checked="checked"<!-- ENDIF --> /></dd>
</dl>
<dl>
<dt><label for="field_show_on_reg">{L_DISPLAY_AT_REGISTER}:</label><br /><span>{L_DISPLAY_AT_REGISTER_EXPLAIN}</span></dt>
<dd><input type="radio" class="radio" id="field_show_on_reg" name="field_option" value="field_show_on_reg"<!-- IF S_SHOW_ON_REG --> checked="checked"<!-- ENDIF --> /></dd>
</dl>
<dl>
<dt><label for="field_required">{L_REQUIRED_FIELD}:</label><br /><span>{L_REQUIRED_FIELD_EXPLAIN}</span></dt>
<dd><input type="radio" class="radio" id="field_required" name="field_option" value="field_required"<!-- IF S_FIELD_REQUIRED --> checked="checked"<!-- ENDIF --> /></dd>
</dl>
<dl>
<dt><label for="field_hide">{L_HIDE_PROFILE_FIELD}:</label><br /><span>{L_HIDE_PROFILE_FIELD_EXPLAIN}</span></dt>
<dd><input type="radio" class="radio" id="field_hide" name="field_option" value="field_hide"<!-- IF S_FIELD_HIDE --> checked="checked"<!-- ENDIF --> /></dd>
</dl>
</fieldset>
<!-- IF S_EDIT_MODE -->
<fieldset class="quick">
<input class="button1" type="submit" name="save" value="{L_SAVE}" />
</fieldset>
<!-- ENDIF -->
<fieldset>
<legend>{L_LANG_SPECIFIC}</legend>
<dl>
<dt><label for="lang_name">{L_USER_FIELD_NAME}:</label></dt>
<dd><input class="medium" type="text" id="lang_name" name="lang_name" value="{LANG_NAME}" /></dd>
</dl>
<dl>
<dt><label for="lang_explain">{L_FIELD_DESCRIPTION}:</label><br /><span>{L_FIELD_DESCRIPTION_EXPLAIN}</span></dt>
<dd><textarea id="lang_explain" name="lang_explain" rows="3" cols="80">{LANG_EXPLAIN}</textarea></dd>
</dl>
<!-- IF S_TEXT or S_STRING -->
<dl>
<dt><label for="lang_default_value">{L_DEFAULT_VALUE}:</label><br /><span>{L_DEFAULT_VALUE_EXPLAIN}</span></dt>
<dd><!-- IF S_STRING --><input class="medium" type="text" id="lang_default_value" name="lang_default_value" value="{LANG_DEFAULT_VALUE}" /><!-- ELSE --><textarea id="lang_default_value" name="lang_default_value" rows="5" cols="80">{LANG_DEFAULT_VALUE}</textarea><!-- ENDIF --></dd>
</dl>
<!-- ENDIF -->
<!-- IF S_BOOL or S_DROPDOWN -->
<dl>
<dt><label for="lang_options">{L_ENTRIES}:</label>
<!-- IF S_EDIT_MODE and S_DROPDOWN -->
<br /><span>{L_EDIT_DROPDOWN_LANG_EXPLAIN}</span>
<!-- ELSE -->
<br /><span>{L_LANG_OPTIONS_EXPLAIN}</span>
<!-- ENDIF -->
</dt>
<!-- IF S_DROPDOWN -->
<dd><textarea id="lang_options" name="lang_options" rows="5" cols="80">{LANG_OPTIONS}</textarea></dd>
<!-- ELSE -->
<dd><input class="medium" id="lang_options" name="lang_options[0]" value="{FIRST_LANG_OPTION}" /> {L_FIRST_OPTION}</dd>
<dd><input class="medium" name="lang_options[1]" value="{SECOND_LANG_OPTION}" /> {L_SECOND_OPTION}</dd>
<!-- ENDIF -->
</dl>
<!-- ENDIF -->
</fieldset>
<fieldset class="quick">
{S_HIDDEN_FIELDS}
<input class="button1" type="submit" name="next" value="{L_PROFILE_TYPE_OPTIONS}" />
</fieldset>
<!-- ELSEIF S_STEP_TWO -->
<fieldset>
<legend>{L_TITLE}</legend>
<!-- BEGIN option -->
<dl>
<dt><label>{option.TITLE}:</label><!-- IF option.EXPLAIN --><br /><span>{option.EXPLAIN}</span><!-- ENDIF --></dt>
<dd>{option.FIELD}</dd>
</dl>
<!-- END option -->
</fieldset>
<fieldset class="quick" style="float: left;">
<input class="button1" type="submit" name="prev" value="{L_PROFILE_BASIC_OPTIONS}" />
</fieldset>
<fieldset class="quick" style="float: right">
{S_HIDDEN_FIELDS}
<input class="button1" type="submit" name="next" value="{L_NEXT}" />
</fieldset>
<!-- ELSEIF S_STEP_THREE -->
<!-- BEGIN options -->
<fieldset>
<legend>{options.LANGUAGE}</legend>
<!-- BEGIN field -->
<dl>
<dt><label>{options.field.L_TITLE}:</label><!-- IF options.field.L_EXPLAIN --><br /><span>{options.field.L_EXPLAIN}</span><!-- ENDIF --></dt>
{options.field.FIELD}
</dl>
<!-- END field -->
</fieldset>
<!-- END options -->
<fieldset class="quick" style="float: left;">
<input class="button1" type="submit" name="prev" value="{L_PROFILE_TYPE_OPTIONS}" />
</fieldset>
<fieldset class="quick" style="float: right;">
{S_HIDDEN_FIELDS}
<input class="button1" type="submit" name="save" value="{L_SAVE}" />
</fieldset>
<!-- ENDIF -->
</form>
<!-- ELSE -->
<h1>{L_ACP_CUSTOM_PROFILE_FIELDS}</h1>
<table cellspacing="1">
<thead>
<tr>
<th>{L_FIELD_IDENT}</th>
<th>{L_FIELD_TYPE}</th>
<th>&nbsp;</th>
<th>{L_OPTIONS}</th>
</tr>
</thead>
<tbody>
<!-- BEGIN fields -->
<!-- IF fields.S_ROW_COUNT is even --><tr class="row1"><!-- ELSE --><tr class="row2"><!-- ENDIF -->
<td>{fields.FIELD_IDENT}</td>
<td>{fields.FIELD_TYPE}</td>
<td><a href="{fields.U_ACTIVATE_DEACTIVATE}">{fields.L_ACTIVATE_DEACTIVATE}</a><!-- IF fields.S_NEED_EDIT --> | <a href="{fields.U_EDIT}"><span style="color:red;">{L_EDIT}</span><!-- ENDIF --></td>
<td style="width: 15%; text-align: right; white-space: nowrap;">
<!-- IF not fields.S_FIRST_ROW --><a href="{fields.U_MOVE_UP}">{ICON_MOVE_UP}</a> <!-- ENDIF -->
<!-- IF not fields.S_LAST_ROW --><a href="{fields.U_MOVE_DOWN}">{ICON_MOVE_DOWN}</a> <!-- ENDIF -->
<!-- IF not fields.S_NEED_EDIT --><a href="{fields.U_EDIT}">{ICON_EDIT}</a> <!-- ENDIF -->
<a href="{fields.U_DELETE}">{ICON_DELETE}</a>
</td>
</tr>
<!-- END fields -->
</tbody>
</table>
<form id="profile_fields" method="post" action="{U_ACTION}">
<fieldset class="quick">
<input class="small" type="text" name="field_ident" /> <select name="field_type">{S_TYPE_OPTIONS}</select>
<input class="button1" type="submit" name="submit" value="{L_CREATE_NEW_FIELD}" />
<input type="hidden" name="create" value="1" />
</fieldset>
</form>
<!-- ENDIF -->
<!-- INCLUDE overall_footer.html -->

View File

@@ -0,0 +1,103 @@
<!-- INCLUDE overall_header.html -->
<a name="maincontent"></a>
<!-- IF S_PRUNED -->
<h1>{L_FORUM_PRUNE}</h1>
<p>{L_PRUNE_SUCCESS}</p>
<table cellspacing="1">
<thead>
<tr>
<th>{L_FORUM}</th>
<th>{L_TOPICS_PRUNED}</th>
<th>{L_POSTS_PRUNED}</th>
</tr>
</thead>
<tbody>
<!-- BEGIN pruned -->
<!-- IF pruned.S_ROW_COUNT is even --><tr class="row1"><!-- ELSE --><tr class="row2"><!-- ENDIF -->
<td style="text-align: center;">{pruned.FORUM_NAME}</td>
<td style="text-align: center;">{pruned.NUM_TOPICS}</td>
<td style="text-align: center;">{pruned.NUM_POSTS}</td>
</tr>
<!-- BEGINELSE -->
<tr>
<td class="row3" style="text-align: center;">{L_NO_PRUNE}</td>
</tr>
<!-- END pruned -->
</tbody>
</table>
<!-- ELSEIF S_SELECT_FORUM -->
<h1>{L_ACP_PRUNE_FORUMS}</h1>
<p>{L_ACP_PRUNE_FORUMS_EXPLAIN}</p>
<form id="acp_prune" method="post" action="{U_ACTION}">
<fieldset>
<legend>{L_SELECT_FORUM}</legend>
<dl>
<dd class="full"><select name="f[]" multiple="multiple" size="5">{S_FORUM_OPTIONS}</select></dd>
</dl>
</fieldset>
<fieldset class="quick">
<input class="button1" type="submit" value="{L_LOOK_UP_FORUM}" />
</fieldset>
</form>
<!-- ELSE -->
<a href="{U_BACK}" style="float: right">&laquo; {L_BACK}</a>
<h1>{L_ACP_PRUNE_FORUMS}</h1>
<p>{L_ACP_PRUNE_FORUMS_EXPLAIN}</p>
<h2>{L_FORUM}</h2>
<p>{L_SELECTED_FORUMS}: {FORUM_LIST}</p>
<form id="acp_prune" method="post" action="{U_ACTION}">
<fieldset>
<legend>{L_FORUM_PRUNE}</legend>
<dl>
<dt><label for="prune_days">{L_PRUNE_NOT_POSTED}:</label></dt>
<dd><input type="text" id="prune_days" name="prune_days" /></dd>
</dl>
<dl>
<dt><label for="prune_vieweddays">{L_PRUNE_NOT_VIEWED}:</label></dt>
<dd><input type="text" id="prune_vieweddays" name="prune_vieweddays" /></dd>
</dl>
<dl>
<dt><label for="polls">{L_PRUNE_OLD_POLLS}:</label><br /><span>{L_PRUNE_OLD_POLLS_EXPLAIN}</span></dt>
<dd><input type="radio" class="radio" name="prune_old_polls" value="1" /> {L_YES} &nbsp; <input type="radio" class="radio" id="polls" name="prune_old_polls" value="0" checked="checked" /> {L_NO}</dd>
</dl>
<dl>
<dt><label for="announce">{L_PRUNE_ANNOUNCEMENTS}:</label></dt>
<dd><input type="radio" class="radio" name="prune_announce" value="1" /> {L_YES} &nbsp; <input type="radio" class="radio" id="announce" name="prune_announce" value="0" checked="checked" /> {L_NO}</dd>
</dl>
<dl>
<dt><label for="sticky">{L_PRUNE_STICKY}:</label></dt>
<dd><input type="radio" class="radio" name="prune_sticky" value="1" /> {L_YES} &nbsp; <input type="radio" class="radio" id="sticky" name="prune_sticky" value="0" checked="checked" /> {L_NO}</dd>
</dl>
</fieldset>
<fieldset class="quick">
{S_HIDDEN_FIELDS}
<input class="button1" type="submit" id="submit" name="submit" value="{L_SUBMIT}" />
</fieldset>
</form>
<!-- ENDIF -->
<!-- INCLUDE overall_footer.html -->

View File

@@ -0,0 +1,57 @@
<!-- INCLUDE overall_header.html -->
<a name="maincontent"></a>
<h1>{L_ACP_PRUNE_USERS}</h1>
<p>{L_ACP_PRUNE_USERS_EXPLAIN}</p>
<form id="acp_prune" method="post" action="{U_ACTION}">
<fieldset>
<legend>{L_ACP_PRUNE_USERS}</legend>
<dl>
<dt><label for="username">{L_USERNAME}:</label></dt>
<dd><input type="text" id="username" name="username" /></dd>
</dl>
<dl>
<dt><label for="email">{L_EMAIL}:</label></dt>
<dd><input type="text" id="email" name="email" /></dd>
</dl>
<dl>
<dt><label for="joined">{L_JOINED}:</label><br /><span>{L_JOINED_EXPLAIN}</span></dt>
<dd><select name="joined_select">{S_JOINED_OPTIONS}</select> <input type="text" id="joined" name="joined" /></dd>
</dl>
<dl>
<dt><label for="active">{L_LAST_ACTIVE}:</label><br /><span>{L_LAST_ACTIVE_EXPLAIN}</span></dt>
<dd><select name="active_select">{S_ACTIVE_OPTIONS}</select> <input type="text" id="active" name="active" /></dd>
</dl>
<dl>
<dt><label for="count">{L_POSTS}:</label></dt>
<dd><select name="count_select">{S_COUNT_OPTIONS}</select> <input type="text" id="count" name="count" /></dd>
</dl>
<dl>
<dt><label for="users">{L_ACP_PRUNE_USERS}:</label><br /><span>{L_SELECT_USERS_EXPLAIN}</span></dt>
<dd><textarea id="users" name="users" cols="40" rows="5"></textarea></dd>
<dd>[ <a href="#" onclick="window.open('{U_FIND_USER}', '_phpbbsearch', 'height=500, resizable=yes, scrollbars=yes, width=740'); return false;">{L_FIND_USERNAME}</a> ]</dd>
</dl>
<dl>
<dt><label for="deleteposts">{L_DELETE_USER_POSTS}:</label><br /><span>{L_DELETE_USER_POSTS_EXPLAIN}</span></dt>
<dd><input type="radio" class="radio" name="deleteposts" value="1" /> {L_YES}&nbsp;&nbsp;<input type="radio" class="radio" id="deleteposts" name="deleteposts" value="0" checked="checked" /> {L_NO}</dd>
</dl>
<dl>
<dt><label for="deactivate">{L_DEACTIVATE_DELETE}:</label><br /><span>{L_DEACTIVATE_DELETE_EXPLAIN}</span></dt>
<dd><input type="radio" class="radio" name="action" value="delete" /> {L_DELETE_USERS}&nbsp;&nbsp;<input type="radio" class="radio" id="deactivate" name="action" value="deactivate" checked="checked" /> {L_DEACTIVATE}</dd>
</dl>
</fieldset>
<fieldset class="submit-buttons">
<input type="hidden" name="prune" value="1" />
<input class="button1" type="submit" id="update" name="update" value="{L_SUBMIT}" />&nbsp;
<input class="button2" type="reset" id="reset" name="reset" value="{L_RESET}" />
</fieldset>
</form>
<!-- INCLUDE overall_footer.html -->

View File

@@ -0,0 +1,94 @@
<!-- INCLUDE overall_header.html -->
<a name="maincontent"></a>
<!-- IF S_EDIT -->
<a href="{U_BACK}" style="float: right">&laquo; {L_BACK}</a>
<script type="text/javascript">
<!--
function update_image(newimage)
{
document.getElementById('image').src = (newimage) ? "{RANKS_PATH}/" + newimage : "./images/spacer.gif";
}
//-->
</script>
<h1>{L_ACP_MANAGE_RANKS}</h1>
<p>{L_ACP_RANKS_EXPLAIN}</p>
<form id="acp_ranks" method="post" action="{U_ACTION}">
<fieldset>
<legend>{L_ACP_RANKS}</legend>
<dl>
<dt><label for="title">{L_RANK_TITLE}:</label></dt>
<dd><input name="title" type="text" id="title" value="{RANK_TITLE}" /></dd>
</dl>
<dl>
<dt><label for="rank_image">{L_RANK_IMAGE}:</label></dt>
<dd><select name="rank_image" id="rank_image" onchange="update_image(this.options[selectedIndex].value);">{S_FILENAME_LIST}</select></dd>
<dd><img src="{RANK_IMAGE}" id="image" alt="" /></dd>
</dl>
<dl>
<dt><label for="special_rank">{L_RANK_SPECIAL}:</label></dt>
<dd><input onchange="dE('posts', -1)" type="radio" class="radio" name="special_rank" value="1" id="special_rank"<!-- IF S_SPECIAL_RANK --> checked="checked"<!-- ENDIF --> />{L_YES} &nbsp;&nbsp;<input onchange="dE('posts', 1)" type="radio" class="radio" name="special_rank" value="0"<!-- IF not S_SPECIAL_RANK --> checked="checked"<!-- ENDIF --> /> {L_NO}</dd>
</dl>
<!-- IF S_SPECIAL_RANK --><div id="posts" style="display: none;"><!-- ELSE --><div id="posts"><!-- ENDIF -->
<dl>
<dt><label for="min_posts">{L_RANK_MINIMUM}:</label></dt>
<dd><input name="min_posts" type="text" id="min_posts" maxlength="10" value="{MIN_POSTS}" /></dd>
</dl>
</div>
</fieldset>
<fieldset class="submit-buttons">
<input type="hidden" name="action" value="save" />
<input class="button1" type="submit" id="submit" name="submit" value="{L_SUBMIT}" />&nbsp;
<input class="button2" type="reset" id="reset" name="reset" value="{L_RESET}" />
</fieldset>
</form>
<!-- ELSE -->
<h1>{L_ACP_MANAGE_RANKS}</h1>
<p>{L_ACP_RANKS_EXPLAIN}</p>
<table cellspacing="1">
<thead>
<tr>
<th>{L_RANK_IMAGE}</th>
<th>{L_RANK_TITLE}</th>
<th>{L_RANK_MINIMUM}</th>
<th>{L_ACTION}</th>
</tr>
</thead>
<tbody>
<!-- BEGIN ranks -->
<!-- IF ranks.S_ROW_COUNT is even --><tr class="row1"><!-- ELSE --><tr class="row2"><!-- ENDIF -->
<td style="text-align: center;"><!-- IF ranks.S_RANK_IMAGE --><img src="{ranks.RANK_IMAGE}" alt="{ranks.RANK_TITLE}" title="{ranks.RANK_TITLE}" /><!-- ELSE -->&nbsp; - &nbsp;<!-- ENDIF --></td>
<td style="text-align: center;">{ranks.RANK_TITLE}</td>
<td style="text-align: center;"><!-- IF ranks.S_SPECIAL_RANK -->&nbsp; - &nbsp;<!-- ELSE -->{ranks.MIN_POSTS}<!-- ENDIF --></td>
<td style="text-align: center;"><a href="{ranks.U_EDIT}">{ICON_EDIT}</a> <a href="{ranks.U_DELETE}">{ICON_DELETE}</a></td>
</tr>
<!-- END ranks -->
</tbody>
</table>
<form id="acp_ranks" method="post" action="{U_ACTION}">
<fieldset class="quick">
<input class="button2" name="add" type="submit" value="{L_ADD_RANK}" />
</fieldset>
</form>
<!-- ENDIF -->
<!-- INCLUDE overall_footer.html -->

View File

@@ -0,0 +1,93 @@
<!-- INCLUDE overall_header.html -->
<a name="maincontent"></a>
<!-- IF S_EDIT_REASON -->
<a href="{U_BACK}" style="float: right">&laquo; {L_BACK}</a>
<h1>{L_TITLE}</h1>
<p>{L_REASON_EDIT_EXPLAIN}</p>
<!-- IF S_ERROR -->
<div class="errorbox">
<h3>{L_WARNING}</h3>
<p>{ERROR_MSG}</p>
</div>
<!-- ENDIF -->
<form id="acp_reasons" method="post" action="{U_ACTION}">
<fieldset>
<legend>{L_TITLE}</legend>
<p><!-- IF S_TRANSLATED -->{L_IS_TRANSLATED}<!-- ELSE -->{L_IS_NOT_TRANSLATED}<!-- ENDIF --></p>
<dl>
<dt><label for="reason_title">{L_REASON_TITLE}:</label></dt>
<dd><input name="reason_title" type="text" id="reason_title" value="{REASON_TITLE}" /></dd>
</dl>
<dl>
<dt><label for="reason_description">{L_REASON_DESCRIPTION}:</label></dt>
<dd><textarea name="reason_description" id="reason_description" rows="8">{REASON_DESCRIPTION}</textarea></dd>
</dl>
</fieldset>
<fieldset class="submit-buttons">
<input class="button1" type="submit" id="submit" name="submit" value="{L_SUBMIT}" />&nbsp;
<input class="button2" type="reset" id="reset" name="reset" value="{L_RESET}" />
</fieldset>
</form>
<!-- ELSE -->
<h1>{L_ACP_REASONS}</h1>
<p>{L_ACP_REASONS_EXPLAIN}</p>
<!-- IF .reasons -->
<table cellspacing="1">
<col class="row1" /><col class="row1" /><col class="row2" />
<thead>
<tr>
<th>{L_REASON}</th>
<th>{L_USED_IN_REPORTS}</th>
<th>{L_OPTIONS}</th>
</tr>
</thead>
<tbody>
<!-- BEGIN reasons -->
<tr>
<td>
<i style="float: right; font-size: .9em;"><!-- IF reasons.S_TRANSLATED -->{L_IS_TRANSLATED}<!-- ELSE -->{L_IS_NOT_TRANSLATED}<!-- ENDIF --></i>
<strong>{reasons.REASON_TITLE}<!-- IF reasons.S_OTHER_REASON --> *<!-- ENDIF --></strong>
<br /><span>{reasons.REASON_DESCRIPTION}</span>
</td>
<td style="width: 100px;">{reasons.REASON_COUNT}</td>
<td style="width: 15%; text-align: right; white-space: nowrap;">
<!-- IF not reasons.S_FIRST_ROW --><a href="{reasons.U_MOVE_UP}">{ICON_MOVE_UP}</a> <!-- ENDIF -->
<!-- IF not reasons.S_LAST_ROW --><a href="{reasons.U_MOVE_DOWN}">{ICON_MOVE_DOWN}</a> <!-- ENDIF -->
<a href="{reasons.U_EDIT}">{ICON_EDIT}</a>
<!-- IF reasons.U_DELETE --><a href="{reasons.U_DELETE}">{ICON_DELETE}</a><!-- ENDIF -->
</td>
</tr>
<!-- END reasons -->
</tbody>
</table>
<!-- ENDIF -->
<form id="reasons" method="post" action="{U_ACTION}">
<fieldset class="quick">
<input type="hidden" name="action" value="add" />
<input type="text" name="reason_title" />
<input class="button2" name="addreason" type="submit" value="{L_ADD_NEW_REASON}" />
</fieldset>
</form>
<!-- ENDIF -->
<!-- INCLUDE overall_footer.html -->

View File

@@ -0,0 +1,137 @@
<!-- INCLUDE overall_header.html -->
<a name="maincontent"></a>
<!-- IF S_SETTINGS -->
<h1>{L_ACP_SEARCH_SETTINGS}</h1>
<p>{L_ACP_SEARCH_SETTINGS_EXPLAIN}</p>
<form id="acp_search" method="post" action="{U_ACTION}">
<fieldset>
<legend>{L_GENERAL_SEARCH_SETTINGS}</legend>
<dl>
<dt><label for="load_search">{L_YES_SEARCH}:</label><br /><span>{L_YES_SEARCH_EXPLAIN}</span></dt>
<dd><input type="radio" class="radio" id="load_search" name="config[load_search]" value="1"<!-- IF S_YES_SEARCH --> checked="checked"<!-- ENDIF --> class="radio" />&nbsp;{L_YES}&nbsp;&nbsp;<input type="radio" class="radio" name="config[load_search]" value="0"<!-- IF not S_YES_SEARCH --> checked="checked"<!-- ENDIF --> class="radio" />&nbsp;{L_NO}</dd>
</dl>
<dl>
<dt><label for="search_interval">{L_SEARCH_INTERVAL}:</label><br /><span>{L_SEARCH_INTERVAL_EXPLAIN}</span></dt>
<dd><input id="search_interval" type="text" size="4" maxlength="4" name="config[search_interval]" value="{SEARCH_INTERVAL}" /></dd>
</dl>
<dl>
<dt><label for="search_anonymous_interval">{L_SEARCH_GUEST_INTERVAL}:</label><br /><span>{L_SEARCH_GUEST_INTERVAL_EXPLAIN}</span></dt>
<dd><input id="search_anonymous_interval" type="text" size="4" maxlength="4" name="config[search_anonymous_interval]" value="{SEARCH_GUEST_INTERVAL}" /></dd>
</dl>
<dl>
<dt><label for="limit_search_load">{L_LIMIT_SEARCH_LOAD}:</label><br /><span>{L_LIMIT_SEARCH_LOAD_EXPLAIN}</span></dt>
<dd><input id="limit_search_load" type="text" size="4" maxlength="4" name="config[limit_search_load]" value="{LIMIT_SEARCH_LOAD}" /></dd>
</dl>
<dl>
<dt><label for="min_search_author_chars">{L_MIN_SEARCH_AUTHOR_CHARS}:</label><br /><span>{L_MIN_SEARCH_AUTHOR_CHARS_EXPLAIN}</span></dt>
<dd><input id="min_search_author_chars" type="text" size="4" maxlength="4" name="config[min_search_author_chars]" value="{MIN_SEARCH_AUTHOR_CHARS}" /></dd>
</dl>
<dl>
<dt><label for="search_store_results">{L_SEARCH_STORE_RESULTS}:</label><br /><span>{L_SEARCH_STORE_RESULTS_EXPLAIN}</span></dt>
<dd><input id="search_store_results" type="text" size="4" maxlength="6" name="config[search_store_results]" value="{SEARCH_STORE_RESULTS}" /></dd>
</dl>
</fieldset>
<fieldset>
<legend>{L_SEARCH_TYPE}</legend>
<dl>
<dt><label for="search_type">{L_SEARCH_TYPE}:</label><br /><span>{L_SEARCH_TYPE_EXPLAIN}</span></dt>
<dd><select id="search_type" name="config[search_type]">{S_SEARCH_TYPES}</select></dd>
</dl>
</fieldset>
<!-- BEGIN backend -->
<fieldset>
<legend>{backend.NAME}</legend>
{backend.SETTINGS}
</fieldset>
<!-- END backend -->
<fieldset class="submit-buttons">
<input class="button1" type="submit" id="submit" name="submit" value="Submit" />&nbsp;
<input class="button2" type="reset" id="reset" name="reset" value="Reset" />
</fieldset>
</form>
<!-- ELSEIF S_INDEX -->
<script type="text/javascript">
<!--
/**
* Popup search progress bar
*/
function popup_progress_bar(progress_type)
{
close_waitscreen = 0;
window.open('{UA_PROGRESS_BAR}&type=' + progress_type, '_index', 'HEIGHT=240,resizable=yes,scrollbars=no,WIDTH=400');
}
//-->
</script>
<h1>{L_ACP_SEARCH_INDEX}</h1>
<p>{L_ACP_SEARCH_INDEX_EXPLAIN}</p>
<!-- IF S_CONTINUE_INDEXING -->
<a href="{U_CONTINUE_INDEXING}" onclick="javascript:popup_progress_bar('{S_CONTINUE_INDEXING}');">{L_CONTINUE}</a>
<p>{L_CONTINUE_EXPLAIN}</p>
<!-- ELSE -->
<!-- BEGIN backend -->
<!-- IF backend.S_STATS -->
<table cellspacing="1">
<caption>&raquo; {L_INDEX_STATS}: {backend.L_NAME} <!-- IF backend.S_ACTIVE -->({L_ACTIVE}) <!-- ENDIF --></caption>
<col class="col1" /><col class="col2" /><col class="col1" /><col class="col2" />
<thead>
<tr>
<th>{L_STATISTIC}</th>
<th>{L_VALUE}</th>
<th>{L_STATISTIC}</th>
<th>{L_VALUE}</th>
</tr>
</thead>
<tbody>
<!-- BEGIN data -->
<tr>
<td>{backend.data.STATISTIC_1}:</td>
<td>{backend.data.VALUE_1}</td>
<td>{backend.data.STATISTIC_2}<!-- IF backend.data.STATISTIC_2 -->:<!-- ENDIF --></td>
<td>{backend.data.VALUE_2}</td>
</tr>
<!-- END data -->
</tbody>
</table>
<!-- ENDIF -->
<form id="acp_search_index_{backend.NAME}" method="post" action="{U_ACTION}">
{backend.S_HIDDEN_FIELDS}
<fieldset class="quick">
<!-- IF backend.S_INDEXED -->
<input class="button2" type="submit" name="action[delete]" value="{L_DELETE_INDEX}" onclick="javascript:popup_progress_bar('delete')" />
<!-- ELSE -->
<input class="button2" type="submit" name="action[create]" value="{L_CREATE_INDEX}" onclick="javascript:popup_progress_bar('create')" />
<!-- ENDIF -->
</fieldset>
</form>
<!-- END backend -->
<!-- ENDIF -->
<!-- ENDIF -->
<!-- INCLUDE overall_footer.html -->

View File

@@ -0,0 +1,644 @@
<!-- INCLUDE overall_header.html -->
<a name="maincontent"></a>
<!-- IF S_DELETE -->
<a href="{U_BACK}" style="float: right">&laquo; {L_BACK}</a>
<h1>{L_TITLE}</h1>
<p>{L_EXPLAIN}</p>
<form id="acp_styles" method="post" action="{U_ACTION}">
<fieldset>
<legend>{L_TITLE}</legend>
<dl>
<dt><label>{L_NAME}:</label></dt>
<dd><b>{NAME}</b></dd>
</dl>
<dl>
<dt><label for="new_id">{L_REPLACE}:</label><br /><span>{L_REPLACE_EXPLAIN}</span></dt>
<dd><select name="new_id">{S_REPLACE_OPTIONS}</select></dd>
</dl>
</fieldset>
<fieldset class="quick">
<input class="button1" type="submit" name="update" value="{L_DELETE}" />
</fieldset>
</form>
<!-- ELSEIF S_EDIT_IMAGESET -->
<a href="{U_BACK}" style="float: right">&laquo; {L_BACK}</a>
<h1>{L_TITLE}</h1>
<p>{L_EXPLAIN}</p>
<script language="javascript" type="text/javascript" defer="defer">
<!--
function update_image(newimage)
{
document.newimg.src = (newimage) ? "../styles/{NAME}/imageset/" + newimage : "images/no_image.png";
}
//-->
</script>
<form method="post" action="{U_ACTION}">
<table width="95%" cellspacing="1" cellpadding="1" border="0" align="center">
<tr>
<td align="right">{L_SELECT_IMAGE}: <select name="imgname" onchange="this.form.submit(); ">
<!-- BEGIN category -->
<option class="sep" value="">{category.NAME}</option>
<!-- BEGIN images --><option value="{category.images.VALUE}"<!-- IF category.images.SELECTED--> selected="selected"<!-- ENDIF -->>{category.images.TEXT}</option>
<!-- END images -->
<!-- END category -->
</select>&nbsp; <input class="btnlite" type="submit" value="{L_SELECT}" tabindex="100" />
</td>
</tr>
<tr>
<td>
<table class="bg" width="100%" cellspacing="1" cellpadding="4" border="0" align="center">
<tr>
<th colspan="2">{L_EDIT_IMAGESET}</th>
</tr>
<!-- IF SUCCESS -->
<tr>
<td class="row1" colspan="2" align="center"><span style="color: green">{L_IMAGESET_UPDATED}</span><br /></td>
</tr>
<!-- ENDIF -->
<!-- IF ERROR -->
<tr>
<td class="row1" colspan="2" align="center"><span style="color: red">{L_NO_IMAGE}</span><br /></td>
</tr>
<!-- ENDIF -->
<tr>
<td class="row1" colspan="2" align="center">
<table width="100%" cellspacing="2" cellpadding="2" border="0">
<tr>
<td width="50%" align="center"><img src="<!-- IF IMAGE_REQUEST -->{IMAGE_REQUEST}<!-- ELSE -->images/no_image.png<!-- ENDIF -->"/></td>
<td width="50%" align="center"><img src="images/no_image.png" name="newimg" /></td>
</tr>
<tr>
<td class="gensmall" align="center">{L_CURRENT_IMAGE}</td>
<td class="gensmall" align="center">{L_SELECTED_IMAGE}</td>
</tr>
</table>
</td>
</tr>
<tr>
<th width="40%">{L_IMAGE_PARAMETER}</th>
<th>{L_IMAGE_VALUE}</th>
</tr>
<tr>
<td class="row1" width="40%"><b>{L_IMAGE}: </b></td>
<td class="row2"><select name="imgpath" onchange="update_image(this.options[selectedIndex].value);"><option value=""<!-- IF not IMAGE_SELECT--> selected="selected"<!-- ENDIF -->>{L_NO_IMAGE}</option>
<!-- BEGIN imagesetlist -->
<option class="sep" value=""><!-- IF imagesetlist.TYPE -->{L_LOCALISED_IMAGES}<!-- ELSE -->{L_GLOBAL_IMAGES}<!-- ENDIF --></option>
<!-- BEGIN images -->
<option value="{imagesetlist.images.VALUE}"<!-- IF imagesetlist.images.SELECTED--> selected="selected"<!-- ENDIF -->>{imagesetlist.images.TEXT}</option>
<!-- END images -->
<!-- END imagesetlist -->
</select>
</td>
</tr>
<tr>
<td class="row1" width="40%"><b>{L_INCLUDE_DIMENSIONS}: </b><br /><span class="gensmall">{L_DIMENSIONS_EXPLAIN}</span></td>
<td class="row2"><input type="radio" class="radio" name="imgsize" value="1"<!-- IF IMAGE_SIZE --> checked="checked"<!-- ENDIF --> /> {L_YES}&nbsp;&nbsp;<input type="radio" class="radio" name="imgsize" value="0"<!-- IF not IMAGE_SIZE --> checked="checked"<!-- ENDIF --> /> {L_NO}</td>
</tr>
<tr>
<td class="cat" colspan="2" align="center"><input class="btnmain" type="submit" name="update" value="{L_SUBMIT}" />&nbsp;&nbsp;<input class="btnmain" type="reset" value="{L_RESET}" /></td>
</tr>
</table>
</td>
</tr>
</table>
</form>
<!-- ELSEIF S_EDIT_TEMPLATE or S_EDIT_THEME -->
<script language="javascript" type="text/javascript" defer="defer">
<!--
function append_text_rows(form_name, value)
{
url = document.getElementById(form_name).action;
var_start = url.indexOf('&text_rows=');
if (var_start == -1)
{
document.getElementById(form_name).action = url + "&text_rows=" + value;
}
else
{
url_start = url.substring(0, var_start + 1);
var_end = url.substring(var_start + 1).indexOf('&');
if (var_end == -1)
{
document.getElementById(form_name).action = url_start + "text_rows=" + value;
}
else
{
document.getElementById(form_name).action = url_start + url.substring(var_end + var_start + 2) + "&text_rows=" + value;
}
}
}
//-->
</script>
<!-- IF S_EDIT_TEMPLATE -->
<a href="{U_BACK}" style="float: right">&laquo; {L_BACK}</a>
<h1>{L_EDIT_TEMPLATE}</h1>
<p>{L_EDIT_TEMPLATE_EXPLAIN}</p>
<p>{L_SELECTED_TEMPLATE}: <b>{SELECTED_TEMPLATE}</b></p>
<form id="acp_styles" method="post" action="{U_ACTION}">
<fieldset>
<legend>{L_SELECT_TEMPLATE}</legend>
<dl>
<dt><label for="template_file">{L_TEMPLATE_FILE}:</label></dt>
<dd><select id="template_file" name="template_file" onchange="if (this.options[this.selectedIndex].value != '') this.form.submit();">{S_TEMPLATES}</select> <input class="btnlite" type="submit" value="{L_SELECT}" /></dd>
</dl>
</fieldset>
</form>
<!-- IF TEMPLATE_FILE -->
<script language="javascript" type="text/javascript" defer="defer">
<!--
function change_editor_height(height)
{
editor = document.getElementById('template_data');
editor.rows = Math.max(5, Math.min(height, 999));
append_text_rows('acp_styles', height);
append_text_rows('acp_template', height);
}
function append_text_rows(form_name, value)
{
url = document.getElementById(form_name).action;
var_start = url.indexOf('&text_rows=');
if (var_start == -1)
{
document.getElementById(form_name).action = url + "&text_rows=" + value;
}
else
{
url_start = url.substring(0, var_start + 1);
var_end = url.substring(var_start + 1).indexOf('&');
if (var_end == -1)
{
document.getElementById(form_name).action = url_start + "text_rows=" + value;
}
else
{
document.getElementById(form_name).action = url_start + url.substring(var_end + var_start + 2) + "&text_rows=" + value;
}
}
}
//-->
</script>
<form id="acp_template" method="post" action="{U_ACTION}">
<fieldset>
<legend>{L_TEMPLATE_EDITOR}</legend>
<dl>
<dt><label>{L_SELECTED_TEMPLATE_FILE}:</label></dt>
<dd>{TEMPLATE_FILE}</dd>
</dl>
<dl>
<dt><label for="text_rows">{L_TEMPLATE_EDITOR_HEIGHT}:</label></dt>
<dd><input id="text_rows" type="text" maxlength="3" value="{TEXT_ROWS}" /> <input class="btnlite" type="button" name="update" onclick="change_editor_height(this.form.text_rows.value);" value="{L_UPDATE}" /></dd>
</dl>
<textarea id="template_data" name="template_data" style="font-family:'Courier New', monospace;font-size:9pt;line-height:125%;width:100%;" cols="80" rows="{TEXT_ROWS}">{TEMPLATE_DATA}</textarea>
</fieldset>
<fieldset class="submit-buttons">
{S_HIDDEN_FIELDS}
<input class="button1" id="save" type="submit" name="save" value="{L_SUBMIT}" />
</fieldset>
</form>
<!-- ENDIF -->
<!-- ELSEIF S_EDIT_THEME -->
<script language="javascript" type="text/javascript">
<!--
function swatch(field)
{
window.open('{UA_SWATCH}' + field, '_swatch', 'height=150, resizable=yes, scrollbars=no, width=636');
return false;
}
function change_editor_height(height)
{
editor = document.getElementById('css_data');
editor.rows = Math.max(5, Math.min(height, 999));
append_text_rows('acp_styles', height);
append_text_rows('acp_theme', height);
append_text_rows('acp_custom_class', height);
}
//-->
</script>
<a href="{U_BACK}" style="float: right">&laquo; {L_BACK}</a>
<h1>{L_EDIT_THEME}</h1>
<p>{L_EDIT_THEME_EXPLAIN}</p>
<p>{L_SELECTED_THEME}: <b>{SELECTED_THEME}</b></p>
<!-- IF S_SHOWCSS -->
<h3>{L_SHOW_CSS_NOTE}</h3>
<p>{L_SHOW_CSS_EXPLAIN}</p>
<!-- ENDIF -->
<form id="acp_styles" method="post" action="{U_ACTION}">
<fieldset>
<legend>{L_SELECT_CLASS}</legend>
<dl>
<dt><label for="css_class">{L_SELECT_CLASS}:</label></dt>
<dd><select id="css_class" name="css_class" onchange="if (this.options[this.selectedIndex].value != '') this.form.submit();">{S_CLASSES}</select> <input class="btnlite" type="submit" id="select_class" name="select_class" value="{L_SELECT}" /></dd>
</dl>
<!-- IF S_CLASS -->
<dl>
<dt><label>{L_SELECTED_CLASS}:</label></dt>
<dd>{S_CLASS}</dd>
</dl>
<!-- ENDIF -->
</fieldset>
</form>
<!-- IF S_CLASS -->
<form id="acp_theme" method="post" action="{U_ACTION}">
<!-- IF S_SHOWCSS -->
<fieldset>
<legend>{L_THEME_EDITOR}</legend>
<dl>
<dt><label for="text_rows">{L_THEME_EDITOR_HEIGHT}:</label></dt>
<dd><input id="text_rows" type="text" maxlength="3" value="{TEXT_ROWS}" /> <input class="btnlite" type="button" name="update" onclick="change_editor_height(this.form.text_rows.value);" value="{L_UPDATE}" /></dd>
</dl>
<textarea id="css_data" name="css_data" style="font-family:'Courier New', monospace;font-size:9pt;line-height:125%;width:100%;" cols="80" rows="{TEXT_ROWS}">{CSS_DATA}</textarea>
</fieldset>
<!-- ELSE -->
<fieldset>
<legend>{L_BACKGROUND}</legend>
<dl>
<dt><label for="background_color">{L_BACKGROUND_COLOUR}:</label><br /><span>{L_CSS_COLOUR_EXPLAIN}</span></dt>
<dd><input id="background_color" name="background_color" type="text" value="{BACKGROUND_COLOR}" size="6" />&nbsp;&nbsp;<span>[ <a href="#" onclick="swatch('background_color'); return false">{L_COLOUR_SWATCH}</a> ]</span></dd>
</dl>
<dl>
<dt><label for="backround_image">{L_BACKGROUND_IMAGE}:</label></td>
<dd><select id="background_image" name="background_image">{S_BACKGROUND_IMAGE}</select></dd>
</dl>
<dl>
<dt><label for="background_repeat">{L_BACKGROUND_REPEAT}:</label></dt>
<dd><select id="background_repeat" name="background_repeat">{S_BACKGROUND_REPEAT}</select></dd>
</dl>
</fieldset>
<fieldset>
<legend>{L_FOREGROUND}</legend>
<dl>
<dt><label for="color">{L_FONT_COLOUR}:</label><br /><span>{L_CSS_COLOUR_EXPLAIN}</span></dt>
<dd><input id="color" name="color" type="text" value="{COLOR}" size="6" />&nbsp;&nbsp;<span>[ <a href="#" onclick="swatch('color'); return false">{L_COLOUR_SWATCH}</a> ]</span></dd>
</dl>
<dl>
<dt><label for="font_family">{L_FONT_FACE}:</label><br /><span>{L_FONT_FACE_EXPLAIN}</span></dt>
<dd><input id="font_family" name="font_family" type="text" value="{FONT_FAMILY}" size="40" maxlength="255" /></dd>
</dl>
<dl>
<dt><label for="font_size">{L_FONT_SIZE}:</label></dt>
<dd><input id="font_size" name="font_size" type="text" value="{FONT_SIZE}" size="3" maxlength="3" /> <select id="font_size_unit" name="font_size_unit">{S_FONT_SIZE_UNITS}</select></dd>
</dl>
<dl>
<dt><label for="font_weight">{L_BOLD}:</label></dt>
<dd><input id="font_weight" type="radio" class="radio" name="font_weight" value="bold"<!-- IF FONT_WEIGHT eq "bold" --> checked="checked"<!-- ENDIF --> /> {L_YES} &nbsp; <input type="radio" class="radio" name="font_weight" value="normal"<!-- IF FONT_WEIGHT eq "normal" --> checked="checked"<!-- ENDIF --> /> {L_NO} &nbsp; <input type="radio" class="radio" name="font_weight" value=""<!-- IF not FONT_WEIGHT --> checked="checked"<!-- ENDIF --> /> {L_UNSET}</dd>
</dl>
<dl>
<dt><label for="font_style">{L_ITALIC}:</label></dt>
<dd><input id="font_style" type="radio" class="radio" name="font_style" value="italic"<!-- IF FONT_STYLE eq "italic" --> checked="checked"<!-- ENDIF --> /> {L_YES} &nbsp; <input type="radio" class="radio" name="font_style" value="normal"<!-- IF FONT_STYLE eq "normal" --> checked="checked"<!-- ENDIF --> /> {L_NO} &nbsp; <input type="radio" class="radio" name="font_style" value=""<!-- IF not FONT_STYLE --> checked="checked"<!-- ENDIF --> /> {L_UNSET}</dd>
</dl>
<dl>
<dt><label for="text_decoration">{L_UNDERLINE}:</label></dt>
<dd><input id="text_decoration" type="radio" class="radio" name="text_decoration" value="underline"<!-- IF TEXT_DECORATION eq "underline" --> checked="checked"<!-- ENDIF --> /> {L_YES} &nbsp; <input type="radio" class="radio" name="text_decoration" value="normal"<!-- IF TEXT_DECORATION eq "normal" --> checked="checked"<!-- ENDIF --> /> {L_NO} &nbsp; <input type="radio" class="radio" name="text_decoration" value=""<!-- IF not TEXT_DECORATION --> checked="checked"<!-- ENDIF --> /> {L_UNSET}</dd>
</dl>
<dl>
<dt><label for="line_height">{L_LINE_SPACING}</label></dt>
<dd><input id="line_height" name="line_height" type="text" value="{LINE_HEIGHT}" size="3" maxlength="3" /> <select id="line_height_unit" name="line_height_unit">{S_LINE_HEIGHT_UNITS}</select></dd>
</dl>
</fieldset>
<!-- ENDIF -->
<fieldset class="submit-buttons">
{S_HIDDEN_FIELDS}
<input class="button1" type="submit" id="submit" name="submit" value="{L_SUBMIT}" />&nbsp;
<!-- IF S_SHOWCSS -->
<input class="button2" type="submit" id="hidecss" name="hidecss" value="{L_HIDE_CSS}" />&nbsp;
<!-- ELSE -->
<input class="button2" type="submit" id="showcss" name="showcss" value="{L_SHOW_CSS}" />&nbsp;
<!-- ENDIF -->
<input class="button2" type="reset" id="reset" name="reset" value="{L_RESET}" />
</fieldset>
</form>
<!-- ENDIF -->
<br />
<h1>{L_CUSTOM_CLASS}</h1>
<p>{L_CUSTOM_CLASS_EXPLAIN}</p>
<form id="acp_custom_class" method="post" action="{U_ACTION}">
<fieldset>
<legend>{L_CUSTOM_CLASS}</legend>
<dl>
<dt><label for="custom_class">{L_CSS_CLASS_NAME}:</label></dt></dt>
<dd><input id="custom_class" name="custom_class" type="text" value="" maxlength="40" size="40" /></dd>
</dl>
</fieldset>
<fieldset class="quick">
<input class="button1" type="submit" id="add_custom" name="add_custom" value="{L_SUBMIT}" />
</fieldset>
</form>
<!-- ENDIF -->
<!-- ELSEIF S_CACHE -->
<script language="Javascript" type="text/javascript">
<!--
function viewsource(url)
{
window.open(url, '_source', 'HEIGHT=550,resizable=yes,scrollbars=yes,WIDTH=750');
return false;
}
//-->
</script>
<a href="{U_BACK}" style="float: right">&laquo; {L_BACK}</a>
<h1>{L_TEMPLATE_CACHE}</h1>
<p>{L_TEMPLATE_CACHE_EXPLAIN}</p>
<form name="acp_styles" method="post" action="{U_ACTION}">
<table cellspacing="1">
<thead>
<tr>
<th>{L_CACHE_FILENAME}</th>
<th>{L_CACHE_FILESIZE}</th>
<th>{L_CACHE_CACHED}</th>
<th>{L_CACHE_MODIFIED}</th>
<th>{L_MARK}</th>
</tr>
</thead>
<tbody>
<!-- BEGIN file -->
<!-- IF file.S_ROW_COUNT is even --><tr class="row1"><!-- ELSE --><tr class="row2"><!-- ENDIF -->
<td><a href="{file.U_VIEWSOURCE}" onclick="viewsource('{file.UA_VIEWSOURCE}');return false">{file.FILENAME}</a></td>
<td>{file.FILESIZE}</td>
<td>{file.CACHED}</td>
<td>{file.MODIFIED}</td>
<td><input type="checkbox" class="radio" name="delete[]" value="{file.FILENAME}" /></td>
</tr>
<!-- BEGINELSE -->
<tr class="row1">
<td colspan="5">{L_TEMPLATE_CACHE_EMPTY}</td>
</tr>
<!-- END file -->
</tbody>
</table>
<fieldset class="quick">
<span class="small"><a href="javascript:marklist('acp_styles', 'delete', true);">Mark all</a> :: <a href="javascript:marklist('acp_styles', 'delete', false);">Unmark all</a></span><br />
<input class="button1" type="submit" id="submit" name="submit" value="{L_DELETE_MARKED}" />
</fieldset>
</form>
<!-- ELSEIF S_EXPORT -->
<a href="{U_BACK}" style="float: right">&laquo; {L_BACK}</a>
<h1>{L_TITLE}</h1>
<p>{L_EXPLAIN}</p>
<!-- IF S_ERROR_MSG -->
<div class="errorbox">
<h3>{L_WARNING}</h3>
<p>{ERROR_MSG}</p>
</div>
<!-- ENDIF -->
<form id="acp_styles" method="post" action="{U_ACTION}">
<fieldset>
<legend>{L_TITLE}</legend>
<dl>
<dt><label>{L_NAME}:</label></dt>
<dd><b>{NAME}</b></dd>
</dl>
<!-- IF S_STYLE -->
<dl>
<dt><label for="inc_template">{L_INCLUDE_TEMPLATE}:</label></dt>
<dd><input type="radio" class="radio" id="inc_template" name="inc_template" value="1" checked="checked" />&nbsp; {L_YES} &nbsp;<input type="radio" class="radio" name="inc_template" value="0" />&nbsp; {L_NO}</dd>
</dl>
<dl>
<dt><label for="inc_theme">{L_INCLUDE_THEME}:</label></dt>
<dd><input type="radio" class="radio" id="inc_theme" name="inc_theme" value="1" checked="checked" />&nbsp; {L_YES} &nbsp;<input type="radio" class="radio" name="inc_theme" value="0" />&nbsp; {L_NO}</dd>
</dl>
<dl>
<dt><label for="inc_imageset">{L_INCLUDE_IMAGESET}:</label></dt>
<dd><input type="radio" class="radio" id="inc_imageset" name="inc_imageset" value="1" checked="checked" />&nbsp; {L_YES} &nbsp;<input type="radio" class="radio" name="inc_imageset" value="0" />&nbsp; {L_NO}</dd>
</dl>
<!-- ENDIF -->
<dl>
<dt><label for="store">{L_DOWNLOAD_STORE}:</label><br /><span>{L_DOWNLOAD_STORE_EXPLAIN}</span></dt>
<dd><input type="radio" class="radio" id="store" name="store" value="1" checked="checked" />&nbsp; {L_EXPORT_STORE} &nbsp;<input type="radio" class="radio" name="store" value="0" />&nbsp; {L_EXPORT_DOWNLOAD}</dd>
</dl>
<dl>
<dt><label for="format">{L_ARCHIVE_FORMAT}:</label></dt>
<dd>{FORMAT_BUTTONS}</dd>
</dl>
</fieldset>
<fieldset class="quick">
<input class="button1" type="submit" name="update" value="{L_SUBMIT}" />
</fieldset>
</form>
<!-- ELSEIF S_FRONTEND -->
<h1>{L_TITLE}</h1>
<p>{L_EXPLAIN}</p>
<!-- IF S_STYLE --> <!-- DEFINE $COLSPAN = 5 --> <!-- ELSE --> <!-- DEFINE $COLSPAN = 4 --> <!-- ENDIF -->
<table cellspacing="1">
<col class="row1" /><!-- IF S_STYLE --><col class="row1" /><!-- ENDIF --><col class="row2" /><col class="row2" />
<thead>
<tr>
<th>{L_NAME}</th>
<!-- IF S_STYLE --><th>{L_STYLE_USED_BY}</th><!-- ENDIF -->
<th>{L_OPTIONS}</th>
<th>{L_ACTIONS}</th>
</tr>
</thead>
<tbody>
<tr>
<td class="row3" colspan="{$COLSPAN}"><b>{L_INSTALLED}</b></td>
</tr>
<!-- BEGIN installed -->
<tr>
<td><strong>{installed.NAME}</strong></a><!-- IF installed.S_DEFAULT_STYLE --> *<!-- ENDIF --></td>
<!-- IF S_STYLE -->
<td style="text-align: center;">{installed.STYLE_COUNT}</td>
<!-- ENDIF -->
<td style="text-align: center;">
{installed.S_OPTIONS}
</td>
<td style="text-align: center;">
<!-- IF S_STYLE -->
<a href="{installed.U_STYLE_ACT_DEACT}">{installed.L_STYLE_ACT_DEACT}</a> |
<!-- ENDIF -->
{installed.S_ACTIONS}
<!-- IF S_STYLE -->
| <a href="{installed.U_PREVIEW}" onclick="this.target='_preview';">{L_PREVIEW}</a>
<!-- ENDIF -->
</td>
<!-- END installed -->
<tr>
<td class="row3" colspan="{$COLSPAN}"><b>{L_UNINSTALLED}</b></td>
</tr>
<!-- IF not .uninstalled -->
<tr>
<td class="row1" colspan="{$COLSPAN}" style="text-align: center;">{L_NO_UNINSTALLED}</td>
</tr>
<!-- ENDIF -->
<!-- BEGIN uninstalled -->
<tr>
<td<!-- IF S_STYLE --> colspan="2"<!-- ENDIF -->><b>{uninstalled.NAME}</b><br /><span>{L_COPYRIGHT}: {uninstalled.COPYRIGHT}</span></td>
<td style="text-align: center;" colspan="2"><a href="{uninstalled.U_INSTALL}">{L_INSTALL}</a></td>
</tr>
<!-- END uninstalled -->
</tbody>
</table>
<!-- IF S_STYLE -->
<form id="acp_styles" method="post" action="{U_ACTION}">
<fieldset class="quick">
{L_CREATE}: <input type="text" name="name" value="" /> {L_FROM} <select name="basis">{S_BASIS_OPTIONS}</select> <input class="button2" type="submit" name="add" value="{L_SUBMIT}" />
</fieldset>
</form>
<!-- ENDIF -->
<!-- ELSEIF S_DETAILS -->
<a href="{U_BACK}" style="float: right">&laquo; {L_BACK}</a>
<h1>{L_TITLE}</h1>
<p>{L_EXPLAIN}</p>
<!-- IF S_ERROR_MSG -->
<div class="errorbox">
<h3>{L_WARNING}</h3>
<p>{ERROR_MSG}</p>
</div>
<!-- ENDIF -->
<form id="acp_styles" method="post" action="{U_ACTION}">
<fieldset>
<legend>{L_TITLE}</legend>
<dl>
<dt><label for="name">{L_NAME}:</label></dt>
<dd><!-- IF S_INSTALL --><b id="name">{NAME}</b><!-- ELSE --><input type="text" id="name" name="name" value="{NAME}" /><!-- ENDIF --></dd>
</dl>
<dl>
<dt><label for="copyright">{L_COPYRIGHT}:</label></dt>
<dd><!-- IF S_INSTALL --><b id="name">{COPYRIGHT}</b><!-- ELSE --><input type="text" id="copyright" name="copyright" value="{COPYRIGHT}" /><!-- ENDIF --></dd>
</dl>
<!-- IF S_STYLE and not S_BASIS -->
<dl>
<dt><label for="template_id">{L_STYLE_TEMPLATE}:</label></dt>
<dd><!-- IF S_INSTALL --><b id="template_id">{TEMPLATE_NAME}</b><!-- ELSE --><select id="template_id" name="template_id">{S_TEMPLATE_OPTIONS}</select><!-- ENDIF --></dd>
</dl>
<dl>
<dt><label for="theme_id">{L_STYLE_THEME}:</label></dt>
<dd><!-- IF S_INSTALL --><b id="theme_id">{THEME_NAME}</b><!-- ELSE --><select id="theme_id" name="theme_id">{S_THEME_OPTIONS}</select><!-- ENDIF --></dd>
</dl>
<dl>
<dt><label for="imageset_id">{L_STYLE_IMAGESET}:</label></dt>
<dd><!-- IF S_INSTALL --><b id="imageset_id">{IMAGESET_NAME}</b><!-- ELSE --><select id="imageset_id" name="imageset_id">{S_IMAGESET_OPTIONS}</select><!-- ENDIF --></dd>
</dl>
<!-- ENDIF -->
<!-- IF S_TEMPLATE or S_THEME -->
<dl>
<dt><label for="store_db">{L_LOCATION}:</label><br /><span>{L_LOCATION_EXPLAIN}</span></dt>
<dd><input type="radio" class="radio" name="store_db" value="0"<!-- IF not S_STORE_DB --> id="store_db" checked="checked"<!-- ENDIF --> />&nbsp; {L_STORE_FILESYSTEM} &nbsp;<input type="radio" class="radio" name="store_db" value="1"<!-- IF S_STORE_DB --> id="store_db" checked="checked"<!-- ENDIF --> />&nbsp; {L_STORE_DATABASE}</dd>
</dl>
<!-- ENDIF -->
<!-- IF S_STYLE -->
</fieldset>
<fieldset>
<legend>{L_OPTIONS}</legend>
<dl>
<dt><label for="style_active">{L_STYLE_ACTIVE}:</label></dt>
<dd><input type="radio" class="radio" name="style_active" value="1"<!-- IF S_STYLE_ACTIVE --> id="style_active" checked="checked"<!-- ENDIF --> />&nbsp; {L_YES} &nbsp;<input type="radio" class="radio" name="style_active" value="0"<!-- IF not S_STYLE_ACTIVE --> id="style_active" checked="checked"<!-- ENDIF --> />&nbsp; {L_NO}</dd>
</dl>
<!-- IF not S_STYLE_DEFAULT -->
<dl>
<dt><label for="style_default">{L_STYLE_DEFAULT}:</label></dt>
<dd><input type="radio" class="radio" name="style_default" value="1" />&nbsp; {L_YES} &nbsp;<input type="radio" class="radio" id="style_default" name="style_default" value="0" checked="checked" />&nbsp; {L_NO}</dd>
</dl>
<!-- ENDIF -->
<!-- ENDIF -->
</fieldset>
<fieldset class="quick">
<input class="button1" type="submit" name="update" value="{L_SUBMIT}" />
</fieldset>
</form>
<!-- ENDIF -->
<!-- INCLUDE overall_footer.html -->

View File

@@ -0,0 +1,727 @@
<!-- INCLUDE overall_header.html -->
<a name="maincontent"></a>
<!-- IF S_SELECT_USER -->
<h1>{L_USER_ADMIN}</h1>
<p>{L_USER_ADMIN_EXPLAIN}</p>
<form id="select_user" method="post" action="{U_ACTION}">
<fieldset>
<legend>{L_SELECT_USER}</legend>
<dl>
<dt><label for="username">{L_FIND_USERNAME}:</label></dt>
<dd><input class="medium" type="text" id="username" name="username" /></dd>
<dd>[ <a href="#" onclick="window.open('{U_FIND_USERNAME}', '_phpbbsearch', 'height=500, resizable=yes, scrollbars=yes, width=740'); return false;">{L_FIND_USERNAME}</a> ]</dd>
<dd class="full" style="text-align: left;"><input type="checkbox" class="radio" id="anonymous" name="u" value="{ANONYMOUS_USER_ID}" /> &nbsp;{L_SELECT_ANONYMOUS}</dd>
</dl>
</fieldset>
<fieldset class="quick">
<input type="submit" name="submituser" value="{L_SUBMIT}" class="button1" />
</fieldset>
</form>
<!-- ELSEIF S_SELECT_FORUM -->
<a href="{U_BACK}" style="float: right">&laquo; {L_BACK}</a>
<h1>{L_USER_ADMIN}</h1>
<p>{L_USER_ADMIN_EXPLAIN}</p>
<form id="select_forum" method="post" action="{U_ACTION}">
<fieldset>
<legend>{L_USER_ADMIN_MOVE_POSTS}</legend>
<dl>
<dt><label for="new_forum">{L_USER_ADMIN_MOVE_POSTS}</label><br /><span>{L_MOVE_POSTS_EXPLAIN}</span></dt>
<dd><select id="new_forum" name="new_f">{S_FORUM_OPTIONS}</select></dd>
</dl>
</fieldset>
<fieldset class="quick">
<input type="submit" name="update" value="{L_SUBMIT}" class="button1" />
</fieldset>
</form>
<!-- ELSE -->
<a href="{U_BACK}" style="float: right">&laquo; {L_BACK}</a>
<h1>{L_USER_ADMIN}</h1>
<p>{L_USER_ADMIN_EXPLAIN}</p>
<!-- IF S_ERROR -->
<div class="errorbox">
<h3>{L_WARNING}</h3>
<p>{ERROR_MSG}</p>
</div>
<!-- ENDIF -->
<form id="mode_select" method="post" action="{U_MODE_SELECT}">
<fieldset class="quick">
{L_SELECT_FORM}: <select name="mode" onchange="if (this.options[this.selectedIndex].value != '') this.form.submit();">{S_FORM_OPTIONS}</select>
</fieldset>
</form>
<!-- ENDIF -->
<!-- IF S_OVERVIEW -->
<form id="user_overview" method="post" action="{U_ACTION}">
<fieldset>
<legend>{L_ACP_USER_OVERVIEW}</legend>
<dl>
<dt><label for="user">{L_USERNAME}:</label><br /><span>{L_NAME_CHARS_EXPLAIN}</span></dt>
<dd><input type="text" id="user" name="user" value="{USER}" /></dd>
<!-- IF U_SWITCH_PERMISSIONS --><dd>[ <a href="{U_SWITCH_PERMISSIONS}">{L_USE_PERMISSIONS}</a> ]</dd><!-- ENDIF -->
</dl>
<dl>
<dt><label>{L_REGISTERED}:</label></dt>
<dd><strong>{USER_REGISTERED}</strong></dd>
</dl>
<!-- IF S_USER_IP -->
<dl>
<dt><label>{L_REGISTERED_IP}:</label></dt>
<dd><a href="{U_SHOW_IP}">{REGISTERED_IP}</a></dd>
<dd>[ <a href="#" onclick="window.open('{U_WHOIS}', '_whois', 'height=500, resizable=yes, scrollbars=yes, width=700'); return false;">{L_WHOIS}</a> ]</strong></dd>
</dl>
<!-- ENDIF -->
<dl>
<dt><label>{L_LAST_ACTIVE}:</label></dt>
<dd><strong>{USER_LASTACTIVE}</strong></dd>
</dl>
<dl>
<dt><label>{L_POSTS}:</label></dt>
<dd><strong>{USER_POSTS}</strong></dd>
</dl>
<dl>
<dt><label for="user_founder">{L_FOUNDER}:</label><br /><span>{L_FOUNDER_EXPLAIN}</span></dt>
<dd><input type="radio" class="radio" name="user_founder" value="1"<!-- IF S_USER_FOUNDER --> id="user_founder" checked="checked"<!-- ENDIF --><!-- IF not S_FOUNDER --> disabled="disabled"<!-- ENDIF --> />&nbsp;{L_YES}&nbsp; <input type="radio" class="radio" name="user_founder" value="0"<!-- IF not S_USER_FOUNDER --> id="user_founder" checked="checked"<!-- ENDIF --><!-- IF not S_FOUNDER --> disabled="disabled"<!-- ENDIF --> />&nbsp;{L_NO}&nbsp;</dd>
</dl>
<dl>
<dt><label for="user_email">{L_EMAIL}:</label></dt>
<dd><input class="medium" type="text" id="user_email" name="user_email" value="{USER_EMAIL}" /></dd>
</dl>
<dl>
<dt><label for="email_confirm">{L_CONFIRM_EMAIL}:</label><br /><span>{L_CONFIRM_EMAIL_EXPLAIN}</span></dt>
<dd><input class="medium" type="text" id="email_confirm" name="email_confirm" value="" /></dd>
</dl>
<dl>
<dt><label for="user_password">{L_NEW_PASSWORD}:</label><br /><span>{L_CHANGE_PASSWORD_EXPLAIN}</span></dt>
<dd><input type="password" id="user_password" name="user_password" value="" /></dd>
</dl>
<dl>
<dt><label for="password_confirm">{L_CONFIRM_PASSWORD}:</label><br /><span>{L_CONFIRM_PASSWORD_EXPLAIN}</span></dt>
<dd><input type="password" id="password_confirm" name="password_confirm" value="" /></dd>
</dl>
<!-- IF not S_USER_FOUNDER or S_FOUNDER -->
</fieldset>
<fieldset>
<legend>{L_USER_TOOLS}</legend>
<dl>
<dt><label for="warnings">{L_WARNINGS}:</label><br /><span>{L_WARNINGS_EXPLAIN}</span></dt>
<dd><input type="text" id="warnings" name="warnings" value="{USER_WARNINGS}" size="2" /></dd>
</dl>
<dl>
<dt><label for="quicktools">{L_QUICK_TOOLS}:</label></dt>
<dd><select id="quicktools" name="action">{S_ACTION_OPTIONS}</select></dd>
</dl>
<!-- IF not S_OWN_ACCOUNT -->
<dl>
<dt><label for="delete_user">{L_DELETE_USER}:</label><br /><span>{L_DELETE_USER_EXPLAIN}</span></dt>
<dd><input type="checkbox" class="radio" name="delete" value="1" /></dd>
<dd><select id="delete_user" name="delete_type"><option value="retain">{L_RETAIN_POSTS}</option><option value="remove">{L_DELETE_POSTS}</option></select></dd>
</dl>
<!-- ENDIF -->
<!-- ENDIF -->
</fieldset>
<fieldset class="quick">
<input class="button1" type="submit" name="update" value="{L_SUBMIT}" />
</fieldset>
</form>
<!-- ELSEIF S_FEEDBACK -->
<form id="list" method="post" action="{U_ACTION}">
<fieldset class="quick" style="float: left;">
{L_DISPLAY_LOG}: &nbsp;{S_LIMIT_DAYS}&nbsp;{L_SORT_BY}: {S_SORT_KEY} {S_SORT_DIR}
<input class="button2" type="submit" value="{L_GO}" name="sort" />
</fieldset>
<div class="clearfix"></div>
<!-- IF PAGINATION -->
<div class="pagination">
<!-- IF PAGINATION -->
<a href="javascript:jumpto();" title="{L_JUMP_TO_PAGE}">{S_ON_PAGE}</a> &bull; <span>{PAGINATION}</span>
<!-- ELSE -->
{S_ON_PAGE}
<!-- ENDIF -->
</div>
<!-- ENDIF -->
<!-- IF .log -->
<table cellspacing="1">
<thead>
<tr>
<th>{L_REPORT_BY}</th>
<th>{L_IP}</th>
<th>{L_TIME}</th>
<th>{L_ACTION}</th>
<th>{L_MARK}</th>
</tr>
</thead>
<tbody>
<!-- BEGIN log -->
<!-- IF log.S_ROW_COUNT is even --><tr class="row1"><!-- ELSE --><tr class="row2"><!-- ENDIF -->
<td>{log.USERNAME}</td>
<td style="text-align: center;">{log.IP}</td>
<td style="text-align: center;">{log.DATE}</td>
<td>
{log.ACTION}
<!-- IF log.DATA --><br />&#187; <span class="gensmall">[ {log.DATA} ]</span><!-- ENDIF -->
</td>
<td style="text-align: center;"><input type="checkbox" class="radio" name="mark[]" value="{log.ID}" /></td>
</tr>
<!-- END log -->
</tbody>
</table>
<!-- ELSE -->
<div class="errorbox">
<p>{L_NO_ENTRIES}</p>
</div>
<!-- ENDIF -->
<!-- IF S_CLEARLOGS -->
<fieldset class="quick">
<b class="small"><a href="#" onclick="marklist('list', 'mark', true);">{L_MARK_ALL}</a> :: <a href="#" onclick="marklist('list', 'mark', false);">{L_UNMARK_ALL}</a></b><br />
<input class="button2" type="submit" name="delmarked" value="{L_DELETE_MARKED}" />&nbsp;
<input class="button2" type="submit" name="delall" value="{L_DELETE_ALL}" />&nbsp;
</fieldset>
<!-- ENDIF -->
<h1>{L_ADD_FEEDBACK}</h1>
<p>{L_ADD_FEEDBACK_EXPLAIN}</p>
<fieldset>
<legend>{L_ACP_USER_FEEDBACK}</legend>
<dl>
<dd class="full"><textarea name="message" id="message" rows="10" cols="76"></textarea></dd>
</dl>
</fieldset>
<fieldset class="quick">
<input class="button1" type="submit" name="update" value="{L_SUBMIT}" />
</fieldset>
</form>
<!-- ELSEIF S_PROFILE -->
<form id="user_profile" method="post" action="{U_ACTION}">
<fieldset>
<legend>{L_USER_PROFILE}</legend>
<dl>
<dt><label for="icq">{L_UCP_ICQ}:</label></dt>
<dd><input type="text" id="icq" name="icq" value="{ICQ}" /></dd>
</dl>
<dl>
<dt><label for="aim">{L_UCP_AIM}:</label></dt>
<dd><input type="text" id="aim" name="aim" value="{AIM}" /></dd>
</dl>
<dl>
<dt><label for="msn">{L_UCP_MSNM}:</label></dt>
<dd><input type="text" id="msn" name="msn" value="{MSN}" /></dd>
</dl>
<dl>
<dt><label for="yim">{L_UCP_YIM}:</label></dt>
<dd><input type="text" id="yim" name="yim" value="{YIM}" /></dd>
</dl>
<dl>
<dt><label for="jabber">{L_UCP_JABBER}:</label></dt>
<dd><input type="text" id="jabber" name="jabber" value="{JABBER}" /></dd>
</dl>
<dl>
<dt><label for="website">{L_WEBSITE}:</label></dt>
<dd><input type="text" id="website" name="website" value="{WEBSITE}" /></dd>
</dl>
<dl>
<dt><label for="location">{L_LOCATION}:</label></dt>
<dd><input type="text" id="location" name="location" value="{LOCATION}" /></dd>
</dl>
<dl>
<dt><label for="occupation">{L_OCCUPATION}:</label></dt>
<dd><textarea id="occupation" name="occupation" rows="3" cols="30">{OCCUPATION}</textarea></dd>
</dl>
<dl>
<dt><label for="interests">{L_INTERESTS}:</label></dt>
<dd><textarea id="interests" name="interests" rows="3" cols="30">{INTERESTS}</textarea></dd>
</dl>
<dl>
<dt><label for="birthday">{L_BIRTHDAY}:</label><br /><span>{L_BIRTHDAY_EXPLAIN}</span></dt>
<dd>{L_DAY}: <select id="birthday" name="bday_day">{S_BIRTHDAY_DAY_OPTIONS}</select> {L_MONTH}: <select name="bday_month">{S_BIRTHDAY_MONTH_OPTIONS}</select> {L_YEAR}: <select name="bday_year">{S_BIRTHDAY_YEAR_OPTIONS}</select></dd>
</dl>
</fieldset>
<!-- IF .profile_fields -->
<fieldset>
<legend>{L_USER_CUSTOM_PROFILE_FIELDS}</legend>
<!-- BEGIN profile_fields -->
<dl>
<dt><label>{profile_fields.LANG_NAME}:</label><!-- IF profile_fields.LANG_EXPLAIN --><br /><span>{profile_fields.LANG_EXPLAIN}</span><!-- ENDIF --></dt>
<dd>{profile_fields.FIELD}</dd>
<!-- IF profile_fields.ERROR -->
<dd><span class="small" style="color: red;">{profile_fields.ERROR}</span></dd>
<!-- ENDIF -->
</dl>
<!-- END profile_fields -->
</fieldset>
<!-- ENDIF -->
<fieldset class="quick">
<input class="button1" type="submit" name="update" value="{L_SUBMIT}" />
</fieldset>
</form>
<!-- ELSEIF S_PREFS -->
<form id="user_prefs" method="post" action="{U_ACTION}">
<fieldset>
<legend>{L_UCP_PREFS_PERSONAL}</legend>
<dl>
<dt><label for="viewemail">{L_SHOW_EMAIL}:</label></dt>
<dd><input type="radio" class="radio" name="viewemail" value="1"<!-- IF VIEW_EMAIL --> id="viewemail" checked="checked"<!-- ENDIF --> />&nbsp; {L_YES} &nbsp;<input type="radio" class="radio" name="viewemail" value="0"<!-- IF not VIEW_EMAIL --> id="viewemail" checked="checked"<!-- ENDIF --> />&nbsp; {L_NO}</dd>
</dl>
<dl>
<dt><label for="massemail">{L_ADMIN_EMAIL}:</label></dt>
<dd><input type="radio" class="radio" name="massemail" value="1"<!-- IF MASS_EMAIL --> id="massemail" checked="checked"<!-- ENDIF --> />&nbsp; {L_YES} &nbsp;<input type="radio" class="radio" name="massemail" value="0"<!-- IF not MASS_EMAIL --> id="massemail" checked="checked"<!-- ENDIF --> />&nbsp; {L_NO}</dd>
</dl>
<dl>
<dt><label for="allowpm">{L_ALLOW_PM}:</label><br /><span>{L_ALLOW_PM_EXPLAIN}</span></dt>
<dd><input type="radio" class="radio" name="allowpm" value="1"<!-- IF ALLOW_PM --> id="allowpm" checked="checked"<!-- ENDIF --> />&nbsp; {L_YES} &nbsp;<input type="radio" class="radio" name="allowpm" value="0"<!-- IF not ALLOW_PM --> id="allowpm" checked="checked"<!-- ENDIF --> />&nbsp; {L_NO}</dd>
</dl>
<dl>
<dt><label for="hideonline">{L_HIDE_ONLINE}:</label></dt>
<dd><input type="radio" class="radio" name="hideonline" value="1"<!-- IF HIDE_ONLINE --> id="hideonline" checked="checked"<!-- ENDIF --> />&nbsp; {L_YES} &nbsp;<input type="radio" class="radio" name="hideonline" value="0"<!-- IF not HIDE_ONLINE --> id="hideonline" checked="checked"<!-- ENDIF --> />&nbsp; {L_NO}</dd>
</dl>
<dl>
<dt><label for="notifymethod">{L_NOTIFY_METHOD}:</label><br /><span>{L_NOTIFY_METHOD_EXPLAIN}</span></dt>
<dd><input type="radio" class="radio" name="notifymethod" value="0"<!-- IF NOTIFY_EMAIL --> id="notifymethod" checked="checked"<!-- ENDIF --> />&nbsp; {L_NOTIFY_METHOD_EMAIL} &nbsp;<input type="radio" class="radio" name="notifymethod" value="1"<!-- IF NOTIFY_IM --> id="notifymethod" checked="checked"<!-- ENDIF --><!-- IF S_JABBER_DISABLED --> disabled="disabled"<!-- ENDIF --> />&nbsp; {L_NOTIFY_METHOD_IM} &nbsp;<input type="radio" class="radio" name="notifymethod" value="2"<!-- IF NOTIFY_BOTH --> id="notifymethod" checked="checked"<!-- ENDIF --> />&nbsp; {L_NOTIFY_METHOD_BOTH}</dd>
</dl>
<dl>
<dt><label for="notifypm">{L_NOTIFY_ON_PM}:</label></dt>
<dd><input type="radio" class="radio" name="notifypm" value="1"<!-- IF NOTIFY_PM --> id="notifypm" checked="checked"<!-- ENDIF --> />&nbsp; {L_YES} &nbsp;<input type="radio" class="radio" name="notifypm" value="0"<!-- IF not NOTIFY_PM --> id="notifypm" checked="checked"<!-- ENDIF --> />&nbsp; {L_NO}</dd>
</dl>
<dl>
<dt><label for="popuppm">{L_POPUP_ON_PM}:</label></dt>
<dd><input type="radio" class="radio" name="popuppm" value="1"<!-- IF POPUP_PM --> id="popuppm" checked="checked"<!-- ENDIF --> />&nbsp; {L_YES} &nbsp;<input type="radio" class="radio" name="popuppm" value="0"<!-- IF not POPUP_PM --> id="popuppm" checked="checked"<!-- ENDIF --> />{L_NO}</dd>
</dl>
<dl>
<dt><label for="lang">{L_BOARD_LANGUAGE}:</label></dt>
<dd><select id="lang" name="lang">{S_LANG_OPTIONS}</select></dd>
</dl>
<dl>
<dt><label for="style">{L_BOARD_STYLE}:</label></dt>
<dd><select id="style" name="style">{S_STYLE_OPTIONS}</select></dd>
</dl>
<dl>
<dt><label for="tz">{L_BOARD_TIMEZONE}:</label></dt>
<dd><select id="tz" name="tz" style="width: 100%;">{S_TZ_OPTIONS}</select></dd>
</dl>
<dl>
<dt><label for="dst">{L_BOARD_DST}:</label></dt>
<dd><input type="radio" class="radio" name="dst" value="1"<!-- IF DST --> id="dst" checked="checked"<!-- ENDIF --> />&nbsp; {L_YES} &nbsp;<input type="radio" class="radio" name="dst" value="0"<!-- IF not DST --> id="dst" checked="checked"<!-- ENDIF --> />&nbsp; {L_NO}</dd>
</dl>
<dl>
<dt><label for="dateoptions">{L_BOARD_DATE_FORMAT}:</label><br /><span>{L_BOARD_DATE_FORMAT_EXPLAIN}</span></dt>
<dd><select name="dateoptions" id="dateoptions" onchange="if(this.value=='custom'){dE('custom_date',1);}else{dE('custom_date',-1);} if (this.value == 'custom') { document.getElementById('dateformat').value = '{A_DEFAULT_DATEFORMAT}'; } else { document.getElementById('dateformat').value = this.value; }">{S_DATEFORMAT_OPTIONS}</select></dd>
<dd><div id="custom_date"<!-- IF not S_CUSTOM_DATEFORMAT --> style="display:none;"<!-- ENDIF -->><input type="text" name="dateformat" id="dateformat" value="{DATE_FORMAT}" /></div></dd>
</dl>
</fieldset>
<fieldset>
<legend>{L_UCP_PREFS_POST}</legend>
<dl>
<dt><label for="bbcode">{L_DEFAULT_BBCODE}:</label></dt>
<dd><input type="radio" class="radio" name="bbcode" value="1"<!-- IF BBCODE --> id="bbcode" checked="checked"<!-- ENDIF --> />&nbsp; {L_YES} &nbsp;<input type="radio" class="radio" name="bbcode" value="0"<!-- IF not BBCODE --> id="bbcode" checked="checked"<!-- ENDIF --> />&nbsp; {L_NO}</dd>
</dl>
<dl>
<dt><label for="smilies">{L_DEFAULT_SMILIES}:</label></dt>
<dd><input type="radio" class="radio" name="smilies" value="1"<!-- IF SMILIES --> id="smilies" checked="checked"<!-- ENDIF --> />&nbsp; {L_YES} &nbsp;<input type="radio" class="radio" name="smilies" value="0"<!-- IF not SMILIES --> id="smilies" checked="checked"<!-- ENDIF --> />&nbsp; {L_NO}</dd>
</dl>
<dl>
<dt><label for="sig">{L_DEFAULT_ADD_SIG}:</label></dt>
<dd><input type="radio" class="radio" name="sig" value="1"<!-- IF ATTACH_SIG --> id="sig" checked="checked"<!-- ENDIF --> />&nbsp; {L_YES} &nbsp;<input type="radio" class="radio" name="sig" value="0"<!-- IF not ATTACH_SIG --> id="sig" checked="checked"<!-- ENDIF --> />&nbsp; {L_NO}</dd>
</dl>
<dl>
<dt><label for="notify">{L_DEFAULT_NOTIFY}:</label></dt>
<dd><input type="radio" class="radio" name="notify" value="1"<!-- IF NOTIFY --> id="notify" checked="checked"<!-- ENDIF --> />&nbsp; {L_YES} &nbsp;<input type="radio" class="radio" name="notify" value="0"<!-- IF not NOTIFY --> id="notify" checked="checked"<!-- ENDIF --> />&nbsp; {L_NO}</dd>
</dl>
</fieldset>
<fieldset>
<legend>{L_UCP_PREFS_VIEW}</legend>
<dl>
<dt><label for="view_images">{L_VIEW_IMAGES}:</label></dt>
<dd><input type="radio" class="radio" name="view_images" value="1"<!-- IF VIEW_IMAGES --> id="view_images" checked="checked"<!-- ENDIF --> />&nbsp; {L_YES} &nbsp;<input type="radio" class="radio" name="view_images" value="0"<!-- IF not VIEW_IMAGES --> id="view_images" checked="checked"<!-- ENDIF --> />&nbsp; {L_NO}</dd>
</dl>
<dl>
<dt><label for="view_flash">{L_VIEW_FLASH}:</label></dt>
<dd><input type="radio" class="radio" name="view_flash" value="1"<!-- IF VIEW_FLASH --> id="view_flash" checked="checked"<!-- ENDIF --> />&nbsp; {L_YES} &nbsp;<input type="radio" class="radio" name="view_flash" value="0"<!-- IF not VIEW_FLASH --> id="view_flash" checked="checked"<!-- ENDIF --> />&nbsp; {L_NO}</dd>
</dl>
<dl>
<dt><label for="view_smilies">{L_VIEW_SMILIES}:</label></dt>
<dd><input type="radio" class="radio" name="view_smilies" value="1"<!-- IF VIEW_SMILIES --> id="view_smilies" checked="checked"<!-- ENDIF --> />&nbsp; {L_YES} &nbsp;<input type="radio" class="radio" name="view_smilies" value="0"<!-- IF not VIEW_SMILIES --> id="view_smilies" checked="checked"<!-- ENDIF --> />&nbsp; {L_NO}</dd>
</dl>
<dl>
<dt><label for="view_sigs">{L_VIEW_SIGS}:</label></dt>
<dd><input type="radio" class="radio" name="view_sigs" value="1"<!-- IF VIEW_SIGS --> id="view_sigs" checked="checked"<!-- ENDIF --> />&nbsp; {L_YES} &nbsp;<input type="radio" class="radio" name="view_sigs" value="0"<!-- IF not VIEW_SIGS --> id="view_sigss" checked="checked"<!-- ENDIF --> />&nbsp; {L_NO}</dd>
</dl>
<dl>
<dt><label for="view_avatars">{L_VIEW_AVATARS}:</label></dt>
<dd><input type="radio" class="radio" name="view_avatars" value="1"<!-- IF VIEW_AVATARS --> id="view_avatars" checked="checked"<!-- ENDIF --> />&nbsp; {L_YES} &nbsp;<input type="radio" class="radio" name="view_avatars" value="0"<!-- IF not VIEW_AVATARS --> id="view_avatars" checked="checked"<!-- ENDIF --> />&nbsp; {L_NO}</dd>
</dl>
<dl>
<dt><label for="view_wordcensor">{L_DISABLE_CENSORS}:</label></dt>
<dd><input type="radio" class="radio" name="view_wordcensor" value="1"<!-- IF VIEW_WORDCENSOR --> id="view_wordcensor" checked="checked"<!-- ENDIF --> />&nbsp; {L_YES} &nbsp;<input type="radio" class="radio" name="view_wordcensor" value="0"<!-- IF not VIEW_WORDCENSOR --> id="view_wordcensor" checked="checked"<!-- ENDIF --> />&nbsp; {L_NO}</dd>
</dl>
<dl>
<dt><label>{L_VIEW_TOPICS_DAYS}:</label></dt>
<dd>{S_TOPIC_SORT_DAYS}</dd>
</dl>
<dl>
<dt><label>{L_VIEW_TOPICS_KEY}:</label></dt>
<dd>{S_TOPIC_SORT_KEY}</dd>
</dl>
<dl>
<dt><label>{L_VIEW_TOPICS_DIR}:</label></dt>
<dd>{S_TOPIC_SORT_DIR}</dd>
</dl>
<dl>
<dt><label>{L_VIEW_POSTS_DAYS}:</label></dt>
<dd>{S_POST_SORT_DAYS}</dd>
</dl>
<dl>
<dt><label>{L_VIEW_POSTS_KEY}:</label></dt>
<dd>{S_POST_SORT_KEY}</dd>
</dl>
<dl>
<dt><label>{L_VIEW_POSTS_DIR}:</label></dt>
<dd>{S_POST_SORT_DIR}</dd>
</dl>
</fieldset>
<fieldset class="quick">
<input class="button1" type="submit" name="update" value="{L_SUBMIT}" />
</fieldset>
</form>
<!-- ELSEIF S_AVATAR -->
<form id="avatar_settings" method="post" action="{U_ACTION}"<!-- IF S_CAN_UPLOAD --> enctype="multipart/form-data"<!-- ENDIF -->>
<fieldset>
<legend>{L_ACP_USER_AVATAR}</legend>
<dl>
<dt><label>{L_CURRENT_IMAGE}:</label><br /><span>{L_AVATAR_EXPLAIN}</span></dt>
<dd>{AVATAR_IMAGE}</dd>
<dd><input type="checkbox" class="radio" name="delete" />&nbsp;<span>{L_DELETE_AVATAR}</span></dd>
</dl>
<!-- IF not S_IN_AVATAR_GALLERY -->
<!-- IF S_CAN_UPLOAD -->
<dl>
<dt><label for="uploadfile">{L_UPLOAD_AVATAR_FILE}:</label></dt>
<dd><input type="hidden" name="MAX_FILE_SIZE" value="{AVATAR_MAX_FILESIZE}" /><input type="file" id="uploadfile" name="uploadfile" /></dd>
</dl>
<dl>
<dt><label for="uploadurl">{L_UPLOAD_AVATAR_URL}:</label><br /><span>{L_UPLOAD_AVATAR_URL_EXPLAIN}</span></dt>
<dd><input name="uploadurl" type="text" id="uploadurl" value="" /></dd>
</dl>
<!-- ENDIF -->
<!-- IF S_ALLOW_REMOTE -->
<dl>
<dt><label for="remotelink">{L_LINK_REMOTE_AVATAR}:</label><br /><span>{L_LINK_REMOTE_AVATAR_EXPLAIN}</span></dt>
<dd><input name="remotelink" type="text" id="remotelink" value="" /></dd>
</dl>
<dl>
<dt><label for="width">{L_LINK_REMOTE_SIZE}:</label><br /><span>{L_LINK_REMOTE_SIZE_EXPLAIN}</span></dt>
<dd><input name="width" type="text" id="width" size="3" value="{USER_AVATAR_WIDTH}" /> <span>px X </span> <input type="text" name="height" size="3" value="{USER_AVATAR_HEIGHT}" /> <span>px</span></dd>
</dl>
<!-- ENDIF -->
<!-- IF S_DISPLAY_GALLERY -->
<dl>
<dt><label>{L_AVATAR_GALLERY}:</label></dt>
<dd><input class="button2" type="submit" name="display_gallery" value="{L_DISPLAY_GALLERY}" /></dd>
</dl>
<!-- ENDIF -->
<!-- ELSE -->
</fieldset>
<fieldset>
<legend>{L_AVATAR_GALLERY}</legend>
<dl>
<dt><label for="category">{L_AVATAR_CATEGORY}:</label></dt>
<dd><select name="category" id="category">{S_CAT_OPTIONS}</select>&nbsp;<input class="button2" type="submit" value="{L_GO}" name="display_gallery" /></dd>
</dl>
<dl>
<table cellspacing="1">
<!-- BEGIN avatar_row -->
<tr>
<!-- BEGIN avatar_column -->
<td class="row1" style="text-align: center;"><img src="{avatar_row.avatar_column.AVATAR_IMAGE}" alt="{avatar_row.avatar_column.AVATAR_NAME}" title="{avatar_row.avatar_column.AVATAR_NAME}" /></td>
<!-- END avatar_column -->
</tr>
<tr>
<!-- BEGIN avatar_option_column -->
<td class="row2" style="text-align: center;"><input type="radio" class="radio" name="avatar_select" value="{avatar_row.avatar_option_column.S_OPTIONS_AVATAR}" /></td>
<!-- END avatar_option_column -->
</tr>
<!-- END avatar_row -->
</table>
</dl>
</fieldset>
<fieldset class="quick" style="margin-top: -15px;">
<input class="button2" type="submit" name="cancel" value="{L_CANCEL}" />
</fieldset>
<!-- ENDIF -->
</fieldset>
<fieldset class="quick">
<input class="button1" type="submit" name="update" value="{L_SUBMIT}" />
</fieldset>
</form>
<!-- ELSEIF S_RANK -->
<form id="user_prefs" method="post" action="{U_ACTION}">
<fieldset>
<legend>{L_ACP_USER_RANK}</legend>
<dl>
<dt><label for="user_rank">{L_USER_RANK}:</label></dt>
<dd><select name="user_rank" id="user_rank">{S_RANK_OPTIONS}</select></dd>
</dl>
</fieldset>
<fieldset class="quick">
<input class="button1" type="submit" name="update" value="{L_SUBMIT}" />
</fieldset>
</form>
<!-- ELSEIF S_SIGNATURE -->
<script type="text/javascript">
<!--
var form_name = 'user_signature';
var text_name = 'signature';
// Define the bbCode tags
bbcode = new Array();
bbtags = new Array('[b]','[/b]','[i]','[/i]','[u]','[/u]','[quote]','[/quote]','[code]','[/code]','[list]','[/list]','[list=]','[/list]','[img]','[/img]','[url]','[/url]','[flash=]', '[/flash]','[size=]','[/size]'<!-- BEGIN custom_tags -->, {custom_tags.BBCODE_NAME}<!-- END custom_tags -->);
imageTag = false;
// Helpline messages
b_help = "{LA_BBCODE_B_HELP}";
i_help = "{LA_BBCODE_I_HELP}";
u_help = "{LA_BBCODE_U_HELP}";
q_help = "{LA_BBCODE_Q_HELP}";
c_help = "{LA_BBCODE_C_HELP}";
l_help = "{LA_BBCODE_L_HELP}";
o_help = "{LA_BBCODE_O_HELP}";
p_help = "{LA_BBCODE_P_HELP}";
w_help = "{LA_BBCODE_W_HELP}";
a_help = "{LA_BBCODE_A_HELP}";
s_help = "{LA_BBCODE_S_HELP}";
f_help = "{LA_BBCODE_F_HELP}";
e_help = "{LA_BBCODE_E_HELP}";
d_help = "{LA_BBCODE_D_HELP}";
<!-- BEGIN custom_tags -->cb_{custom_tags.BBCODE_ID}_help = "{custom_tags.BBCODE_HELPLINE}";<!-- END custom_tags -->
//-->
</script>
<script type="text/javascript" src="{T_TEMPLATE_PATH}/editor.js"></script>
<form id="user_signature" method="post" action="{U_ACTION}">
<!-- IF SIGNATURE_PREVIEW -->
<fieldset>
<legend>{L_ADMIN_SIG_PREVIEW}</legend>
<p>{SIGNATURE_PREVIEW}</p>
</fieldset>
<!-- ENDIF -->
<fieldset>
<legend>{L_SIGNATURE}</legend>
<p>{L_SIGNATURE_EXPLAIN}</p>
<div id="format-buttons">
<input type="button" class="button2" accesskey="b" name="addbbcode0" value=" B " style="font-weight:bold; width: 30px;" onclick="bbstyle(0)" onmouseover="helpline('b')" />
<input type="button" class="button2" accesskey="i" name="addbbcode2" value=" i " style="font-style:italic; width: 30px;" onclick="bbstyle(2)" onmouseover="helpline('i')" />
<input type="button" class="button2" accesskey="u" name="addbbcode4" value=" u " style="text-decoration: underline; width: 30px;" onclick="bbstyle(4)" onmouseover="helpline('u')" />
<input type="button" class="button2" accesskey="q" name="addbbcode6" value="Quote" style="width: 50px" onclick="bbstyle(6)" onmouseover="helpline('q')" />
<input type="button" class="button2" accesskey="c" name="addbbcode8" value="Code" style="width: 40px" onclick="bbstyle(8)" onmouseover="helpline('c')" />
<input type="button" class="button2" accesskey="l" name="addbbcode10" value="List" style="width: 40px" onclick="bbstyle(10)" onmouseover="helpline('l')" />
<input type="button" class="button2" accesskey="o" name="addbbcode12" value="List=" style="width: 40px" onclick="bbstyle(12)" onmouseover="helpline('o')" />
<!-- IF S_BBCODE_IMG --><input type="button" class="button2" accesskey="p" name="addbbcode14" value="Img" style="width: 40px" onclick="bbstyle(14)" onmouseover="helpline('p')" /><!-- ENDIF -->
<input type="button" class="button2" accesskey="w" name="addbbcode16" value="URL" style="text-decoration: underline; width: 40px" onclick="bbstyle(16)" onmouseover="helpline('w')" onmouseover="helpline('d')" />
<!-- IF S_BBCODE_FLASH --><input type="button" class="button2" accesskey="d" name="addbbcode18" value="Flash" onclick="bbstyle(18)" onmouseover="helpline('d')" /><!-- ENDIF -->
{L_FONT_SIZE}: <select name="addbbcode20" onchange="bbfontstyle('[size=' + this.form.addbbcode20.options[this.form.addbbcode20.selectedIndex].value + ']', '[/size]');this.form.addbbcode20.selectedIndex = 2;" onmouseover="helpline('f')">
<option value="7">{L_FONT_TINY}</option>
<option value="9">{L_FONT_SMALL}</option>
<option value="12" selected="selected">{L_FONT_NORMAL}</option>
<option value="18">{L_FONT_LARGE}</option>
<option value="24">{L_FONT_HUGE}</option>
</select>
<a href="javascript:bbstyle(-1)" onmouseover="helpline('a')">{L_CLOSE_TAGS}</a>
<!-- IF .custom_tags -->
<br /><br />
<!-- BEGIN custom_tags -->
<input type="button" class="button2" name="addbbcode{custom_tags.BBCODE_ID}" value="{custom_tags.BBCODE_TAG}" onclick="bbstyle({custom_tags.BBCODE_ID})"<!-- IF custom_tags.BBCODE_HELPLINE !== '' --> onmouseover="helpline('cb_{custom_tags.BBCODE_ID}')"<!-- ENDIF --> />
<!-- END custom_tags -->
<!-- ENDIF -->
</div>
<p><input type="text" name="helpbox" value="{L_STYLES_TIP}" class="full" style="border: 0; background: none;" /></p>
<dl>
<dt style="width: 95px;"><script type="text/javascript"><!--
colorPalette('v', 17, 13);
//--></script>
</dt>
<dd style="text-align: left; margin-left: 95px;"><textarea name="signature" rows="10" cols="60" style="width: 80%;" onselect="storeCaret(this);" onclick="storeCaret(this);" onkeyup="storeCaret(this);">{SIGNATURE}</textarea></dd>
<dd style="text-align: left; margin-left: 95px;">
<!-- IF S_BBCODE_ALLOWED --><input type="checkbox" class="radio" name="disable_bbcode"{S_BBCODE_CHECKED} />&nbsp; {L_DISABLE_BBCODE} &nbsp;<!-- ENDIF -->
<!-- IF S_SMILIES_ALLOWED --><input type="checkbox" class="radio" name="disable_smilies"{S_SMILIES_CHECKED} />&nbsp; {L_DISABLE_SMILIES} &nbsp;<!-- ENDIF -->
<input type="checkbox" class="radio" name="disable_magic_url"{S_MAGIC_URL_CHECKED} />&nbsp; {L_DISABLE_MAGIC_URL} &nbsp;
<br /><br /><strong>{L_OPTIONS}: </strong>{BBCODE_STATUS} :: {IMG_STATUS} :: {FLASH_STATUS} :: {SMILIES_STATUS}
</dd>
</dl>
</fieldset>
<fieldset class="quick">
<input class="button1" type="submit" name="update" value="{L_SUBMIT}" />&nbsp;
<input class="button2" type="submit" name="preview" value="{L_PREVIEW}" />
</fieldset>
</form>
<!-- ELSEIF S_GROUPS -->
<form id="user_groups" method="post" action="{U_ACTION}">
<table cellspacing="1">
<tbody>
<!-- BEGIN group -->
<!-- IF group.S_NEW_GROUP_TYPE -->
<tr>
<td class="row3" colspan="4"><b>{group.GROUP_TYPE}</b></td>
</tr>
<!-- ELSE -->
<!-- IF group.S_ROW_COUNT is even --><tr class="row1"><!-- ELSE --><tr class="row2"><!-- ENDIF -->
<td><a href="{group.U_EDIT_GROUP}">{group.GROUP_NAME}</a></td>
<td><!-- IF group.S_NO_DEFAULT --><a href="{group.U_DEFAULT}">{L_GROUP_DEFAULT}</a><!-- ELSE --><strong>{L_GROUP_DEFAULT}</strong><!-- ENDIF --></td>
<td><!-- IF not group.S_SPECIAL_GROUP --><a href="{group.U_DEMOTE_PROMOTE}">{group.L_DEMOTE_PROMOTE}</a><!-- ENDIF --></td>
<td><a href="{group.U_DELETE}">{L_GROUP_DELETE}</a></td>
<!-- ENDIF -->
<!-- END group -->
</tbody>
</table>
<fieldset class="quick">
{L_USER_GROUP_ADD}: <select name="g">{S_GROUP_OPTIONS}</select> <input class="button1" type="submit" name="update" value="{L_SUBMIT}" />
</fieldset>
</form>
<!-- ELSEIF S_ATTACHMENTS -->
<form id="user_attachments" method="post" action="{U_ACTION}">
<fieldset class="quick" style="float: left;">
{L_SORT_BY}: <select name="sk">{S_SORT_KEY}</select> <select name="sd">{S_SORT_DIR}</select>
<input class="button2" type="submit" value="{L_GO}" name="sort" />
</fieldset>
<div class="pagination" style="float: right;">
<!-- IF PAGINATION -->
<a href="javascript:jumpto();" title="{L_JUMP_TO_PAGE}">{S_ON_PAGE}</a> &bull; <span>{PAGINATION}</span>
<!-- ELSE -->
{S_ON_PAGE}
<!-- ENDIF -->
</div>
<div class="clearfix"></div>
<!-- IF .attach -->
<table cellspacing="1">
<thead>
<tr>
<th>{L_FILENAME}</th>
<th>{L_POST_TIME}</th>
<th>{L_FILESIZE}</th>
<th>{L_DOWNLOADS}</th>
<th>{L_DELETE}</th>
</tr>
</thead>
<tbody>
<!-- BEGIN attach -->
<!-- IF attach.S_ROW_COUNT is even --><tr class="row1"><!-- ELSE --><tr class="row2"><!-- ENDIF -->
<td><a href="{attach.U_DOWNLOAD}">{attach.REAL_FILENAME}</a><br /><span class="small"><!-- IF attach.S_IN_MESSAGE --><b>{L_PM}: </b><!-- ELSE --><b>{L_TOPIC}: </b><!-- ENDIF --><a href="{attach.U_VIEW_TOPIC}">{attach.TOPIC_TITLE}</a></span></td>
<td>{attach.POST_TIME}</td>
<td>{attach.SIZE}</td>
<td>{attach.DOWNLOAD_COUNT}</td>
<td><input type="checkbox" class="radio" name="mark[]" value="{attach.ATTACH_ID}" /></td>
</tr>
<!-- END attach -->
</tbody>
</table>
<!-- ELSE -->
<div class="errorbox">
<p>{L_NO_ENTRIES}</p>
</div>
<!-- ENDIF -->
<fieldset class="quick">
<b class="small"><a href="#" onclick="marklist('user_attachments', 'mark', true);">{L_MARK_ALL}</a> :: <a href="#" onclick="marklist('user_attachments', 'mark', false);">{L_UNMARK_ALL}</a></b><br />
<input class="button2" type="submit" name="delmarked" value="{L_DELETE_MARKED}" />
</fieldset>
</form>
<!-- ELSEIF S_PERMISSIONS -->
<fieldset class="quick">
<a href="{U_USER_PERMISSIONS}">&raquo; {L_SET_USERS_PERMISSIONS}</a><br />
<a href="{U_USER_FORUM_PERMISSIONS}">&raquo; {L_SET_USERS_FORUM_PERMISSIONS}</a>
</fieldset>
<!-- INCLUDE permission_mask.html -->
<!-- ENDIF -->
<!-- INCLUDE overall_footer.html -->

View File

@@ -0,0 +1,72 @@
<!-- INCLUDE overall_header.html -->
<a name="maincontent"></a>
<!-- IF S_EDIT_WORD -->
<a href="{U_BACK}" style="float: right">&laquo; {L_BACK}</a>
<h1>{L_ACP_WORDS}</h1>
<p>{L_ACP_WORDS_EXPLAIN}</p>
<form id="acp_words" method="post" action="{U_ACTION}">
<fieldset>
<legend>{L_EDIT_WORD}</legend>
<dl>
<dt><label for="word">{L_WORD}</label></dt>
<dd><input id="word" type="text" name="word" value="{WORD}" /></dd>
</dl>
<dl>
<dt><label for="replacement">{L_REPLACEMENT}</label></dt>
<dd><input id="replacement" type="text" name="replacement" value="{REPLACEMENT}" /></dd>
</dl>
{S_HIDDEN_FIELDS}
</fieldset>
<fieldset class="submit-buttons">
<input class="button1" type="submit" id="submit" name="save" value="{L_SUBMIT}" />&nbsp;
<input class="button2" type="reset" id="reset" name="reset" value="{L_RESET}" />
</fieldset>
</form>
<!-- ELSE -->
<h1>{L_ACP_WORDS}</h1>
<p>{L_ACP_WORDS_EXPLAIN}</p>
<form id="acp_words" method="post" action="{U_ACTION}">
<fieldset class="quick">
{S_HIDDEN_FIELDS}
<input class="button2" name="add" type="submit" value="{L_ADD_WORD}" />
</fieldset>
</form>
<table cellspacing="1">
<thead>
<tr>
<th>{L_WORD}</th>
<th>{L_REPLACEMENT}</th>
<th colspan="2">{L_ACTION}</th>
</tr>
</thead>
<tbody>
<!-- BEGIN words -->
<!-- IF words.S_ROW_COUNT is even --><tr class="row1"><!-- ELSE --><tr class="row2"><!-- ENDIF -->
<td style="text-align: center;">{words.WORD}</td>
<td style="text-align: center;">{words.REPLACEMENT}</td>
<td>&nbsp;<a href="{words.U_EDIT}">{L_EDIT}</a>&nbsp;</td>
<td>&nbsp;<a href="{words.U_DELETE}">{L_DELETE}</a>&nbsp;</td>
</tr>
<!-- END words -->
</tbody>
</table>
<!-- ENDIF -->
<!-- INCLUDE overall_footer.html -->

1050
phpBB/adm/style/admin.css Normal file

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,76 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" dir="ltr">
<head>
<meta http-equiv="Content-Style-Type" content="text/css" />
<meta http-equiv="imagetoolbar" content="no" />
<title>{L_COLOUR_SWATCH}</title>
<style type="text/css">
<!--
body {
background-color: #404040;
color: #fff;
}
td {
border: solid 1px #333;
}
.over {
border-color: white;
}
.out {
border-color: #333333;
}
img {
border: 0;
}
//-->
</style>
</head>
<body>
<script type="text/javascript">
<!--
var r = 0, g = 0, b = 0;
var numberList = new Array(6);
numberList[0] = '00';
numberList[1] = '33';
numberList[2] = '66';
numberList[3] = '99';
numberList[4] = 'CC';
numberList[5] = 'FF';
document.writeln('<table cellspacing="0" cellpadding="0" border="0">');
for (r = 0; r < 6; r++)
{
document.writeln('<tr>');
for (g = 0; g < 6; g++)
{
for (b = 0; b < 6; b++)
{
color = String(numberList[r]) + String(numberList[g]) + String(numberList[b]);
document.write('<td style="background-color: #' + color + ';" onmouseover="this.className=\'over\'" onmouseout="this.className=\'out\'">');
document.write('<a href="javascript:cell(\'' + color + '\');"><img src="{T_IMAGES_PATH}spacer.gif" width="15" height="12" alt="#' + color + '" title="#' + color + '" \/><\/a>');
document.writeln('<\/td>');
}
}
document.writeln('<\/tr>');
}
document.writeln('<\/table>');
function cell(color)
{
opener.document.forms["{OPENER}"].{NAME}.value = color;
}
//-->
</script>
</body>
</html>

View File

@@ -0,0 +1,20 @@
<!-- INCLUDE overall_header.html -->
<form id="confirm" method="post" action="{S_CONFIRM_ACTION}">
<fieldset>
<h2>{MESSAGE_TITLE}</h2>
<p>{MESSAGE_TEXT}</p>
{S_HIDDEN_FIELDS}
<div style="text-align: center;">
<input type="submit" name="confirm" value="{L_YES}" class="button2" />&nbsp;
<input type="submit" name="cancel" value="{L_NO}" class="button2" />
</div>
</fieldset>
</form>
<!-- INCLUDE overall_footer.html -->

View File

@@ -0,0 +1,32 @@
<!-- BEGIN dropdown -->
<select name="{dropdown.FIELD_IDENT}">
<!-- BEGIN options --><option value="{dropdown.options.OPTION_ID}"{dropdown.options.SELECTED}>{dropdown.options.VALUE}</option><!-- END options -->
</select>
<!-- END dropdown -->
<!-- BEGIN text -->
<textarea name="{text.FIELD_IDENT}" rows="{text.FIELD_ROWS}" cols="{text.FIELD_COLS}">{text.FIELD_VALUE}</textarea>
<!-- END text -->
<!-- BEGIN string -->
<input type="text" name="{string.FIELD_IDENT}" size="{string.FIELD_LENGTH}" maxlength="{string.FIELD_MAXLEN}" value="{string.FIELD_VALUE}" />
<!-- END string -->
<!-- BEGIN bool -->
<!-- IF bool.FIELD_LENGTH eq 1 -->
<!-- BEGIN options --><input type="radio" class="radio" name="{bool.FIELD_IDENT}" value="{bool.options.OPTION_ID}"{bool.options.CHECKED} /> {bool.options.VALUE}&nbsp; &nbsp;<!-- END options -->
<!-- ELSE -->
<input type="checkbox" class="radio" name="{bool.FIELD_IDENT}" value="1"<!-- IF bool.FIELD_VALUE --> checked="checked"<!-- ENDIF --> />
<!-- ENDIF -->
<!-- END bool -->
<!-- BEGIN int -->
<input type="text" name="{int.FIELD_IDENT}" size="{int.FIELD_LENGTH}" value="{int.FIELD_VALUE}" />
<!-- END int -->
<!-- BEGIN date -->
<span>{L_DAY}:</span> <select name="{date.FIELD_IDENT}_day">{date.S_DAY_OPTIONS}</select>
<span>{L_MONTH}:</span> <select name="{date.FIELD_IDENT}_month">{date.S_MONTH_OPTIONS}</select>
<span>{L_YEAR}:</span> <select name="{date.FIELD_IDENT}_year">{date.S_YEAR_OPTIONS}</select>
<!-- END date -->

504
phpBB/adm/style/editor.js Normal file
View File

@@ -0,0 +1,504 @@
/**
* bbCode control by subBlue design [ www.subBlue.com ]
* Includes unixsafe colour palette selector by SHS`
*/
// Startup variables
var imageTag = false;
var theSelection = false;
// Check for Browser & Platform for PC & IE specific bits
// More details from: http://www.mozilla.org/docs/web-developer/sniffer/browser_type.html
var clientPC = navigator.userAgent.toLowerCase(); // Get client info
var clientVer = parseInt(navigator.appVersion); // Get browser version
var is_ie = ((clientPC.indexOf('msie') != -1) && (clientPC.indexOf('opera') == -1));
var is_nav = ((clientPC.indexOf('mozilla') != -1) && (clientPC.indexOf('spoofer') == -1) && (clientPC.indexOf('compatible') == -1) && (clientPC.indexOf('opera') == -1) && (clientPC.indexOf('webtv') == -1) && (clientPC.indexOf('hotjava') == -1));
var is_win = ((clientPC.indexOf('win') != -1) || (clientPC.indexOf('16bit') != -1));
var is_mac = (clientPC.indexOf('mac') != -1);
/**
* Shows the help messages in the helpline window
*/
function helpline(help)
{
document.forms[form_name].helpbox.value = eval(help + '_help');
}
/**
* Replacement for arrayname.length property
*/
function getarraysize(thearray)
{
for (i = 0; i < thearray.length; i++)
{
if (thearray[i] == 'undefined' || thearray[i] == '' || thearray[i] == null)
{
return i;
}
}
return thearray.length;
}
/**
* Replacement for arrayname.push(value) not implemented in IE until version 5.5
* Appends element to the array
*/
function arraypush(thearray,value)
{
thearray[getarraysize(thearray)] = value;
}
/**
* Replacement for arrayname.pop() not implemented in IE until version 5.5
* Removes and returns the last element of an array
*/
function arraypop(thearray)
{
thearraysize = getarraysize(thearray);
retval = thearray[thearraysize - 1];
delete thearray[thearraysize - 1];
return retval;
}
/**
* Insert emoticon
*/
function smiley(text)
{
text = ' ' + text + ' ';
if (document.forms[form_name].elements[text_name].createTextRange && document.forms[form_name].elements[text_name].caretPos)
{
var caretPos = document.forms[form_name].elements[text_name].caretPos;
caretPos.text = caretPos.text.charAt(caretPos.text.length - 1) == ' ' ? caretPos.text + text + ' ' : caretPos.text + text;
document.forms[form_name].elements[text_name].focus();
}
else
{
var selStart = document.forms[form_name].elements[text_name].selectionStart;
var selEnd = document.forms[form_name].elements[text_name].selectionEnd;
mozWrap(document.forms[form_name].elements[text_name], text, '')
document.forms[form_name].elements[text_name].focus();
document.forms[form_name].elements[text_name].selectionStart = selStart + text.length;
document.forms[form_name].elements[text_name].selectionEnd = selEnd + text.length;
}
}
/**
* Apply bbcodes
*/
function bbfontstyle(bbopen, bbclose)
{
theSelection = false;
document.forms[form_name].elements[text_name].focus();
if ((clientVer >= 4) && is_ie && is_win)
{
// Get text selection
theSelection = document.selection.createRange().text;
if (theSelection)
{
// Add tags around selection
document.selection.createRange().text = bbopen + theSelection + bbclose;
document.forms[form_name].elements[text_name].focus();
theSelection = '';
return;
}
}
else if (document.forms[form_name].elements[text_name].selectionEnd && (document.forms[form_name].elements[text_name].selectionEnd - document.forms[form_name].elements[text_name].selectionStart > 0))
{
mozWrap(document.forms[form_name].elements[text_name], bbopen, bbclose);
document.forms[form_name].elements[text_name].focus();
theSelection = '';
return;
}
// Close image tag before adding
if (imageTag)
{
insert_text(bbtags[15]);
// Remove the close image tag from the list
lastValue = arraypop(bbcode) - 1;
// Return button back to normal state
document.forms[form_name].addbbcode14.value = 'Img';
imageTag = false;
}
// Open tag
insert_text(bbopen + bbclose);
document.forms[form_name].elements[text_name].focus();
storeCaret(document.forms[form_name].elements[text_name]);
return;
}
/**
* Insert text at position
*/
function insert_text(text)
{
if (document.forms[form_name].elements[text_name].createTextRange && document.forms[form_name].elements[text_name].caretPos)
{
var caretPos = document.forms[form_name].elements[text_name].caretPos;
caretPos.text = caretPos.text.charAt(caretPos.text.length - 1) == ' ' ? caretPos.text + text + ' ' : caretPos.text + text;
}
else if (document.forms[form_name].elements[text_name].selectionStart)
{
var selStart = document.forms[form_name].elements[text_name].selectionStart;
var selEnd = document.forms[form_name].elements[text_name].selectionEnd;
mozWrap(document.forms[form_name].elements[text_name], text, '')
document.forms[form_name].elements[text_name].selectionStart = selStart + text.length;
document.forms[form_name].elements[text_name].selectionEnd = selEnd + text.length;
}
else
{
document.forms[form_name].elements[text_name].value = document.forms[form_name].elements[text_name].value + text;
}
}
/**
* Add inline attachment at position
*/
function attach_inline()
{
insert_text('[attachment=' + document.forms[form_name].elements['attachments'].value + ']' + document.forms[form_name].elements['attachments'].options[document.forms[form_name].elements['attachments'].selectedIndex].text + '[/attachment]');
document.forms[form_name].elements[text_name].focus();
}
/**
* Add quote text to message
*/
function addquote(post_id, username)
{
var message_name = 'message_' + post_id;
var theSelection = '';
var divarea = false;
if (document.all)
{
eval('divarea = document.all.' + message_name + ';');
}
else
{
eval("divarea = document.getElementById('" + message_name + "');");
}
// Get text selection - not only the post content :(
if (window.getSelection)
{
theSelection = window.getSelection().toString();
}
else if (document.getSelection)
{
theSelection = document.getSelection();
}
else if (document.selection)
{
theSelection = document.selection.createRange().text;
}
if (theSelection == '')
{
if (document.all)
{
theSelection = divarea.innerText;
}
else if (divarea.textContent)
{
theSelection = divarea.textContent;
}
else if (divarea.firstChild.nodeValue)
{
theSelection = divarea.firstChild.nodeValue;
}
}
if (theSelection)
{
insert_text('[quote="' + username + '"]' + theSelection + '[/quote]');
}
return;
}
/**
* bbstyle
*/
function bbstyle(bbnumber)
{
donotinsert = false;
theSelection = false;
bblast = 0;
document.forms[form_name].elements[text_name].focus();
// Close all open tags & default button names
if (bbnumber == -1)
{
while (bbcode[0])
{
butnumber = arraypop(bbcode) - 1;
document.forms[form_name].elements[text_name].value += bbtags[butnumber + 1];
buttext = eval('document.forms[form_name].addbbcode' + butnumber + '.value');
if (buttext != '[*]')
{
eval('document.forms[form_name].addbbcode' + butnumber + '.value ="' + buttext.substr(0,(buttext.length - 1)) + '"');
}
}
document.forms[form_name].addbbcode10.value = 'List';
bbtags[10] = '[list]';
document.forms[form_name].addbbcode12.value = 'List=';
bbtags[12] = '[list=]';
// All tags are closed including image tags :D
imageTag = false;
document.forms[form_name].elements[text_name].focus();
return;
}
// [*] doesn't have an end tag
noEndTag = (bbtags[bbnumber] == '[*]')
if ((clientVer >= 4) && is_ie && is_win)
{
// Get text selection
theSelection = document.selection.createRange().text;
if (theSelection)
{
// Add tags around selection
document.selection.createRange().text = bbtags[bbnumber] + theSelection + ((!noEndTag) ? bbtags[bbnumber+1] : '');
document.forms[form_name].elements[text_name].focus();
theSelection = '';
return;
}
}
else if (document.forms[form_name].elements[text_name].selectionEnd && (document.forms[form_name].elements[text_name].selectionEnd - document.forms[form_name].elements[text_name].selectionStart > 0))
{
mozWrap(document.forms[form_name].elements[text_name], bbtags[bbnumber], ((!noEndTag) ? bbtags[bbnumber+1] : ''));
document.forms[form_name].elements[text_name].focus();
theSelection = '';
return;
}
// Find last occurance of an open tag the same as the one just clicked
for (i = 0; i < bbcode.length; i++)
{
if (bbcode[i] == bbnumber+1)
{
bblast = i;
donotinsert = true;
}
}
if (bbnumber == 10 && bbtags[10] != '[*]')
{
if (donotinsert)
{
document.forms[form_name].addbbcode12.value = 'List=';
tmp_help = o_help;
o_help = e_help;
e_help = tmp_help;
bbtags[12] = '[list=]';
}
else
{
document.forms[form_name].addbbcode12.value = '[*]';
tmp_help = o_help;
o_help = e_help;
e_help = tmp_help;
bbtags[12] = '[*]';
}
}
if (bbnumber == 12 && bbtags[12] != '[*]')
{
if (donotinsert)
{
document.forms[form_name].addbbcode10.value = 'List';
tmp_help = l_help;
l_help = e_help;
e_help = tmp_help;
bbtags[10] = '[list]';
}
else
{
document.forms[form_name].addbbcode10.value = '[*]';
tmp_help = l_help;
l_help = e_help;
e_help = tmp_help;
bbtags[10] = '[*]';
}
}
// Close all open tags up to the one just clicked & default button names
if (donotinsert)
{
while (bbcode[bblast])
{
butnumber = arraypop(bbcode) - 1;
if (bbtags[butnumber] != '[*]')
{
insert_text(bbtags[butnumber + 1]);
}
else
{
insert_text(bbtags[butnumber]);
}
buttext = eval('document.forms[form_name].addbbcode' + butnumber + '.value');
if (bbtags[butnumber] != '[*]')
{
eval('document.forms[form_name].addbbcode' + butnumber + '.value ="' + buttext.substr(0,(buttext.length - 1)) + '"');
}
imageTag = false;
}
document.forms[form_name].elements[text_name].focus();
return;
}
else
{
// Open tags
// Close image tag before adding another
if (imageTag && (bbnumber != 14))
{
insert_text(bbtags[15]);
// Remove the close image tag from the list
lastValue = arraypop(bbcode) - 1;
// Return button back to normal state
document.forms[form_name].addbbcode14.value = 'Img';
imageTag = false;
}
// Open tag
insert_text(bbtags[bbnumber]);
// Check to stop additional tags after an unclosed image tag
if (bbnumber == 14 && imageTag == false)
{
imageTag = 1;
}
if (bbtags[bbnumber] != '[*]')
{
arraypush(bbcode, bbnumber + 1);
eval('document.forms[form_name].addbbcode'+bbnumber+'.value += "*"');
}
document.forms[form_name].elements[text_name].focus();
return;
}
storeCaret(document.forms[form_name].elements[text_name]);
}
/**
* From http://www.massless.org/mozedit/
*/
function mozWrap(txtarea, open, close)
{
var selLength = txtarea.textLength;
var selStart = txtarea.selectionStart;
var selEnd = txtarea.selectionEnd;
var scrollTop = txtarea.scrollTop;
if (selEnd == 1 || selEnd == 2)
{
selEnd = selLength;
}
var s1 = (txtarea.value).substring(0,selStart);
var s2 = (txtarea.value).substring(selStart, selEnd)
var s3 = (txtarea.value).substring(selEnd, selLength);
txtarea.value = s1 + open + s2 + close + s3;
txtarea.selectionStart = selEnd + open.length + close.length;
txtarea.selectionEnd = txtarea.selectionStart;
txtarea.focus();
txtarea.scrollTop = scrollTop;
return;
}
/**
* Insert at Claret position. Code from
* http://www.faqts.com/knowledge_base/view.phtml/aid/1052/fid/130
*/
function storeCaret(textEl)
{
if (textEl.createTextRange)
{
textEl.caretPos = document.selection.createRange().duplicate();
}
}
/**
* Color pallette
*/
function colorPalette(dir, width, height)
{
var r = 0, g = 0, b = 0;
var numberList = new Array(6);
numberList[0] = '00';
numberList[1] = '40';
numberList[2] = '80';
numberList[3] = 'BF';
numberList[4] = 'FF';
document.write('<table cellspacing="1" cellpadding="0" border="0" class="type2">');
for (r = 0; r < 5; r++)
{
if (dir == 'h')
{
document.writeln('<tr>');
}
for (g = 0; g < 5; g++)
{
if (dir == 'v')
{
document.writeln('<tr>');
}
for (b = 0; b < 5; b++)
{
color = String(numberList[r]) + String(numberList[g]) + String(numberList[b]);
document.write('<td style="line-height: ' + height + 'px; background-color:#' + color + '; width: ' + width + 'px; height: ' + height + 'px;">');
document.write('<a href="javascript:bbfontstyle(\'[color=#' + color + ']\', \'[/color]\');" onmouseover="helpline(\'s\');"><img src="images/spacer.gif" width="' + width + '" height="' + height + '" alt="#' + color + '" title="#' + color + '" /></a>');
document.writeln('</td>');
}
if (dir == 'v')
{
document.writeln('</tr>');
}
}
if (dir == 'h')
{
document.writeln('</tr>');
}
}
document.writeln('</table>');
}

View File

@@ -0,0 +1,100 @@
<!-- INCLUDE install_header.html -->
<form id="install_convert" method="post" action="{U_ACTION}">
<h2>{TITLE}</h2>
<p>{BODY}</p>
<!-- IF S_LIST -->
<table cellspacing="1">
<caption>{L_AVAILABLE_CONVERTORS}</caption>
<col class="col1" /><col class="col2" /><col class="col1" /><col class="col2" />
<thead>
<tr>
<th>{L_SOFTWARE}</th>
<th>{L_VERSION}</th>
<th>{L_AUTHOR}</th>
<th>{L_OPTIONS}</th>
</tr>
</thead>
<tbody>
<!-- IF .convertors -->
<!-- BEGIN convertors -->
<tr>
<td>{convertors.SOFTWARE}</td>
<td>{convertors.VERSION}</td>
<td>{convertors.AUTHOR}</td>
<td><a href="{convertors.U_CONVERT}">{L_CONVERT}</a></td>
</tr>
<!-- END convertors -->
<!-- ELSE -->
<tr>
<td>{L_NO_CONVERTORS}</td>
<td>-</td>
<td>-</td>
<td>-</td>
</tr>
<!-- ENDIF -->
</tbody>
</table>
<!-- ENDIF -->
<!-- IF .checks -->
<fieldset>
<!-- BEGIN checks -->
<!-- IF checks.S_LEGEND -->
<!-- IF not checks.S_FIRST_ROW -->
</fieldset>
<fieldset>
<!-- ENDIF -->
<legend>{checks.LEGEND}</legend>
<!-- IF checks.LEGEND_EXPLAIN --><p>{checks.LEGEND_EXPLAIN}</p><!-- ENDIF -->
<!-- ELSE -->
<dl>
<dt>{checks.TITLE}:</label><!-- IF checks.S_EXPLAIN --><br /><span class="explain">{checks.TITLE_EXPLAIN}</span><!-- ENDIF --></dt>
<dd>{checks.RESULT}</dd>
</dl>
<!-- ENDIF -->
<!-- END checks -->
</fieldset>
<!-- ENDIF -->
<!-- IF .options -->
<fieldset>
<!-- BEGIN options -->
<!-- IF options.S_LEGEND -->
<!-- IF not options.S_FIRST_ROW -->
</fieldset>
<fieldset>
<!-- ENDIF -->
<legend>{options.LEGEND}</legend>
<!-- ELSE -->
<dl>
<dt><label for="{options.KEY}">{options.TITLE}:</label><!-- IF options.S_EXPLAIN --><br /><span class="explain">{options.TITLE_EXPLAIN}</span><!-- ENDIF --></dt>
<dd>{options.CONTENT}</dd>
</dl>
<!-- ENDIF -->
<!-- END options -->
</fieldset>
<!-- ENDIF -->
<!-- IF L_SUBMIT -->
<fieldset class="submit-buttons">
<!-- IF L_MESSAGE --><p>{L_MESSAGE}</p><!-- ENDIF -->
{S_HIDDEN}
<!-- IF L_SUBMIT --><input class="button1" type="submit" id="submit" name="submit" value="{L_SUBMIT}" /><!-- ENDIF -->
</fieldset>
<!-- ENDIF -->
</form>
<!-- INCLUDE install_footer.html -->

View File

@@ -0,0 +1,8 @@
<!-- INCLUDE install_header.html -->
<div class="errorbox">
<h3>{MESSAGE_TITLE}</h3>
<p>{MESSAGE_TEXT}</p>
</div>
<!-- INCLUDE install_footer.html -->

View File

@@ -0,0 +1,25 @@
</div>
</div>
<span class="corners-bottom"><span></span></span>
</div>
</div>
<!--
We request you retain the full copyright notice below including the link to www.phpbb.com.
This not only gives respect to the large amount of time given freely by the developers
but also helps build interest, traffic and use of phpBB. If you (honestly) cannot retain
the full copyright we ask you at least leave in place the "Powered by phpBB" line, with
"phpBB" linked to www.phpbb.com. If you refuse to include even this then support on our
forums may be affected.
The phpBB Group : 2006
// -->
<div id="page-footer">
Powered by phpBB {VERSION} &copy; 2006 <a href="http://www.phpbb.com/">phpBB Group</a>
</div>
</div>
</body>
</html>

View File

@@ -0,0 +1,52 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" dir="{S_CONTENT_DIRECTION}">
<head>
<meta http-equiv="Content-Type" content="text/html; charset={S_CONTENT_ENCODING}" />
<meta http-equiv="Content-Style-Type" content="text/css" />
<meta http-equiv="imagetoolbar" content="no" />
<!-- IF META -->{META}<!-- ENDIF -->
<title>{PAGE_TITLE}</title>
<link href="../adm/style/admin.css" rel="stylesheet" type="text/css" media="screen" />
</head>
<body>
<div id="wrap">
<div id="page-header">
<h1>{L_INSTALL_PANEL}</h1>
<!-- IF S_LANG_SELECT -->
<br />
<form method="post">
<label for="language">{L_SELECT_LANG}:</label>
{S_LANG_SELECT}
<input class="button1" type="submit" id="change_lang" name="change_lang" value="{L_CHANGE}" />
</form>
<!-- ENDIF -->
</div>
<div id="page-body">
<div id="tabs">
<ul>
<!-- BEGIN t_block1 -->
<li<!-- IF t_block1.S_SELECTED --> id="activetab"<!-- ENDIF -->><a href="{t_block1.U_TITLE}"><span>{t_block1.L_TITLE}</span></a></li>
<!-- END t_block1 -->
</ul>
</div>
<div class="panel">
<span class="corners-top"><span></span></span>
<div id="content">
<div id="menu">
<ul>
<!-- BEGIN l_block1 -->
<li<!-- IF l_block1.S_SELECTED --> id="activemenu"<!-- ENDIF -->><a href="{l_block1.U_TITLE}"><span>{l_block1.L_TITLE}</span></a></li>
<!-- END l_block1 -->
<!-- BEGIN l_block2 -->
<li<!-- IF l_block2.S_SELECTED --> id="activemenu"<!-- ENDIF -->><span<!-- IF l_block2.S_COMPLETE --> class="completed"<!-- ENDIF -->>{l_block2.L_TITLE}</span></li>
<!-- END l_block2 -->
</ul>
</div>
<div id="main">

View File

@@ -0,0 +1,77 @@
<!-- INCLUDE install_header.html -->
<form id="install_install" method="post" action="{U_ACTION}">
<h2>{TITLE}</h2>
<p>{BODY}</p>
<!-- IF .checks -->
<fieldset>
<!-- BEGIN checks -->
<!-- IF checks.S_LEGEND -->
<!-- IF not checks.S_FIRST_ROW -->
</fieldset>
<fieldset>
<!-- ENDIF -->
<legend>{checks.LEGEND}</legend>
<!-- IF checks.LEGEND_EXPLAIN --><p>{checks.LEGEND_EXPLAIN}</p><!-- ENDIF -->
<!-- ELSE -->
<dl>
<dt>{checks.TITLE}:<!-- IF checks.S_EXPLAIN --><br /><span class="explain">{checks.TITLE_EXPLAIN}</span><!-- ENDIF --></dt>
<dd>{checks.RESULT}</dd>
</dl>
<!-- ENDIF -->
<!-- END checks -->
</fieldset>
<!-- ENDIF -->
<!-- IF .options -->
<fieldset>
<!-- BEGIN options -->
<!-- IF options.S_LEGEND -->
<!-- IF not options.S_FIRST_ROW -->
</fieldset>
<fieldset>
<!-- ENDIF -->
<legend>{options.LEGEND}</legend>
<!-- ELSE -->
<dl>
<dt><label for="{options.KEY}">{options.TITLE}:</label><!-- IF options.S_EXPLAIN --><br /><span class="explain">{options.TITLE_EXPLAIN}</span><!-- ENDIF --></dt>
<dd>{options.CONTENT}</dd>
</dl>
<!-- ENDIF -->
<!-- END options -->
</fieldset>
<!-- ENDIF -->
<!-- IF S_SHOW_DOWNLOAD -->
<fieldset>
<legend>{L_DL_CONFIG}</legend>
<p>{L_DL_CONFIG_EXPLAIN}</p>
</fieldset>
<fieldset class="submit-buttons">
{S_HIDDEN}
<input class="button1" type="submit" id="dlconfig" name="dlconfig" value="{L_DL_DOWNLOAD}" />&nbsp;<input class="button1" type="submit" id="dldone" name="dldone" value="{L_DL_DONE}" />
</fieldset>
<!-- ENDIF -->
<!-- IF L_SUBMIT -->
<fieldset class="submit-buttons">
{S_HIDDEN}
<!-- IF L_SUBMIT --><input class="button1" type="submit" id="submit" name="submit" value="{L_SUBMIT}" /><!-- ENDIF -->
</fieldset>
<!-- ENDIF -->
</form>
<!-- INCLUDE install_footer.html -->

View File

@@ -0,0 +1,6 @@
<!-- INCLUDE install_header.html -->
<h2>{TITLE}</h2>
<p>{BODY}</p>
<!-- INCLUDE install_footer.html -->

View File

@@ -0,0 +1,8 @@
<!-- INCLUDE overall_header.html -->
<div class="successbox">
<h3>{MESSAGE_TITLE}</h3>
<p>{MESSAGE_TEXT}</p>
</div>
<!-- INCLUDE overall_footer.html -->

View File

@@ -0,0 +1,33 @@
</div>
</div>
<span class="corners-bottom"><span></span></span>
</div>
</div>
<!--
We request you retain the full copyright notice below including the link to www.phpbb.com.
This not only gives respect to the large amount of time given freely by the developers
but also helps build interest, traffic and use of phpBB2. If you (honestly) cannot retain
the full copyright we ask you at least leave in place the "Powered by phpBB" line, with
"phpBB" linked to www.phpbb.com. If you refuse to include even this then support on our
forums may be affected.
The phpBB Group : 2006
// -->
<div id="page-footer">
<!-- IF S_COPYRIGHT_HTML -->
Powered by phpBB {VERSION} &copy; 2006 <a href="http://www.phpbb.com/">phpBB Group</a>
{L_TRANSLATION_INFO}
<!-- ENDIF -->
<!-- IF DEBUG_OUTPUT -->
<!-- IF S_COPYRIGHT_HTML --><br /><!-- ENDIF -->
{DEBUG_OUTPUT}
<!-- ENDIF -->
</div>
</div>
</body>
</html>

View File

@@ -0,0 +1,144 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" dir="{S_CONTENT_DIRECTION}">
<head>
<meta http-equiv="Content-Type" content="text/html; charset={S_CONTENT_ENCODING}" />
<meta http-equiv="Content-Style-Type" content="text/css" />
<meta http-equiv="imagetoolbar" content="no" />
<!-- IF META -->{META}<!-- ENDIF -->
<title>{PAGE_TITLE}</title>
<link href="style/admin.css" rel="stylesheet" type="text/css" media="screen" />
<script type="text/javascript">
<!--
var jump_page = '{LA_JUMP_PAGE}:';
var on_page = '{ON_PAGE}';
var per_page = '{PER_PAGE}';
var base_url = '{BASE_URL}';
/**
* Jump to page
*/
function jumpto()
{
var page = prompt(jump_page, on_page);
if (page !== null && !isNaN(page) && page > 0)
{
document.location.href = base_url.replace(/&amp;/g, '&') + '&start=' + ((page - 1) * per_page);
}
}
/**
* Set display of page element
* s[-1,0,1] = hide,toggle display,show
*/
function dE(n, s, type)
{
if (!type)
{
type = 'block';
}
var e = document.getElementById(n);
if (!s)
{
s = (e.style.display == '') ? -1 : 1;
}
e.style.display = (s == 1) ? type : 'none';
}
/**
* Mark/unmark checkboxes
* id = ID of parent container, name = name prefix, state = state [true/false]
*/
function marklist(id, name, state)
{
var parent = document.getElementById(id);
if (!parent)
{
eval('parent = document.' + id);
}
if (!parent)
{
return;
}
var rb = parent.getElementsByTagName('input');
for (var r = 0; r < rb.length; r++)
{
if (rb[r].name.substr(0, name.length) == name)
{
rb[r].checked = state;
}
}
}
/**
* Open trace popup
*/
function trace(link)
{
window.open(link, '_trace', 'height=515, resizable=yes, scrollbars=yes, width=680');
return false;
}
<!-- IF S_INCLUDE_SWATCH -->
/**
* Color swatch
*/
function swatch()
{
window.open('{UA_SWATCH}', '_swatch', 'height=150, resizable=yes, scrollbars=no, width=636');
return false;
}
<!-- ENDIF -->
//-->
</script>
</head>
<body>
<div id="wrap">
<div id="page-header">
<h1>{L_ADMIN_PANEL}</h1>
<p><a href="{U_ADM_INDEX}">{L_ADMIN_INDEX}</a> &bull; <a href="{U_INDEX}">{L_FORUM_INDEX}</a></p>
</div>
<div id="page-body">
<div id="tabs">
<ul>
<!-- BEGIN t_block1 -->
<li<!-- IF t_block1.S_SELECTED --> id="activetab"<!-- ENDIF -->><a href="{t_block1.U_TITLE}"><span>{t_block1.L_TITLE}</span></a></li>
<!-- END t_block1 -->
</ul>
</div>
<div class="panel">
<span class="corners-top"><span></span></span>
<div id="content">
<div id="menu">
<p>{L_LOGGED_IN_AS}<br /><strong>{USERNAME}</strong> [&nbsp;<a href="{U_LOGOUT}">{L_LOGOUT}</a>&nbsp;]</p>
<ul>
<!-- BEGIN l_block1 -->
<!-- IF l_block1.S_SELECTED -->
<!-- BEGIN l_block2 -->
<!-- IF .l_block1.l_block2.l_block3 -->
<li class="header">{l_block1.l_block2.L_TITLE}</li>
<!-- ENDIF -->
<!-- BEGIN l_block3 -->
<li<!-- IF l_block1.l_block2.l_block3.S_SELECTED --> id="activemenu"<!-- ENDIF -->><a href="{l_block1.l_block2.l_block3.U_TITLE}"><span>{l_block1.l_block2.l_block3.L_TITLE}</span></a></li>
<!-- END l_block3 -->
<!-- END l_block2 -->
<!-- ENDIF -->
<!-- END l_block1 -->
</ul>
</div>
<div id="main">

View File

@@ -0,0 +1,255 @@
<script type="text/javascript">
<!--
var active_pmask = '0';
var active_fmask = '0';
var active_cat = '0';
var role_options = new Array();
<!-- IF S_ROLE_JS_ARRAY -->
{S_ROLE_JS_ARRAY}
<!-- ENDIF -->
/**
* Show/hide option panels
* value = suffix for ID to show
*/
function swap_options(pmask, fmask, cat)
{
id = pmask + fmask + cat;
active_option = active_pmask + active_fmask + active_cat;
if (id == active_option)
{
return;
}
// Hide active options
dE('options' + active_option, -1);
dE('head' + active_pmask + active_fmask, 1, 'inline');
dE('apply' + active_pmask + active_fmask, -1);
// Display container
dE('options' + id, 1);
dE('head' + pmask + fmask, -1, 'inline');
dE('apply' + pmask + fmask, 1);
active_pmask = pmask;
active_fmask = fmask;
active_cat = cat;
}
/**
* Mark all radio buttons in one panel
* id = table ID container, s = status ['y'/'u'/'n']
*/
function mark_options(id, s)
{
var t = document.getElementById(id);
if (!t)
{
return;
}
var rb = t.getElementsByTagName('input');
for (var r = 0; r < rb.length; r++ )
{
if (rb[r].id.substr(rb[r].id.length-1) == s)
{
rb[r].checked = true;
}
}
}
/**
* Mark one radio button in one panel
* id = table ID container, field_name = the auth option, s = status ['y'/'u'/'n']
*/
function mark_one_option(id, field_name, s)
{
var t = document.getElementById(id);
if (!t)
{
return;
}
var rb = t.getElementsByTagName('input');
for (var r = 0; r < rb.length; r++ )
{
if (rb[r].id.substr(rb[r].id.length-field_name.length-3, field_name.length) == field_name && rb[r].id.substr(rb[r].id.length-1) == s)
{
rb[r].checked = true;
}
}
}
/**
* Reset role dropdown field to Select role... if an option gets changed
*/
function reset_role(id)
{
var t = document.getElementById(id);
if (!t)
{
return;
}
t.options[0].selected = true;
}
/**
* Load role and set options accordingly
*/
function set_role_settings(role_id, target_id)
{
settings = role_options[role_id];
if (!settings)
{
return;
}
// Mark all options to no (unset) first...
mark_options(target_id, 'u');
for (var r in settings)
{
mark_one_option(target_id, r, (settings[r] == 1) ? 'y' : 'n');
}
}
//-->
</script>
<!-- BEGIN p_mask -->
<div class="clearfix"></div>
<fieldset class="permissions">
<!-- IF p_mask.USER_GROUPS_DEFAULT or p_mask.USER_GROUPS_CUSTOM -->
<br />
<p>
<!-- IF p_mask.USER_GROUPS_DEFAULT --><b>{p_mask.NAME}</b> {L_USER_IS_MEMBER_OF_DEFAULT}: <b>{p_mask.USER_GROUPS_DEFAULT}</b><br /><!-- ENDIF -->
<!-- IF p_mask.USER_GROUPS_CUSTOM --><b>{p_mask.NAME}</b> {L_USER_IS_MEMBER_OF_CUSTOM}: <b>{p_mask.USER_GROUPS_CUSTOM}</b><!-- ENDIF -->
</p>
<!-- ENDIF -->
<table cellspacing="1" class="pmask">
<thead>
<tr>
<th style="text-align: left; width: 70%">{p_mask.NAME}<!-- IF p_mask.S_LOCAL --><span class="small" style="text-transform: none;"> [{p_mask.L_ACL_TYPE}]</span><!-- ENDIF --></th>
<th>{p_mask.CATEGORIES}</th>
</tr>
</thead>
<tbody>
<!-- BEGIN f_mask -->
<!-- IF p_mask.f_mask.S_ROW_COUNT is even --><tr class="row1"><!-- ELSE --><tr class="row2"><!-- ENDIF -->
<td class="name">
<table cellspacing="0" cellpadding="0" class="type2" style="background-color: transparent; border: 0;">
<tbody>
<tr>
<td width="16">
<span id="head{p_mask.S_ROW_COUNT}{p_mask.f_mask.S_ROW_COUNT}"<!-- IF p_mask.S_FIRST_ROW and p_mask.f_mask.S_FIRST_ROW --> style="display: none;"<!-- ENDIF -->>
<!-- IF not p_mask.S_VIEW --><input type="checkbox" class="radio" name="inherit[{p_mask.f_mask.UG_ID}][{p_mask.f_mask.FORUM_ID}]" value="1" /><!-- ELSE -->&nbsp;<!-- ENDIF -->
</span>
</td>
<td>{p_mask.f_mask.PADDING}<!-- IF p_mask.f_mask.FOLDER_IMAGE --> {p_mask.f_mask.FOLDER_IMAGE} <!-- ENDIF --><a href="javascript:swap_options('{p_mask.S_ROW_COUNT}', '{p_mask.f_mask.S_ROW_COUNT}', '0');">{p_mask.f_mask.NAME}</a></span></td>
<td style="text-align: right;">
<!-- IF p_mask.S_VIEW -->
&nbsp;
<!-- ELSE -->
<!-- IF p_mask.f_mask.S_ROLE_OPTIONS -->
<b>{L_ROLE}:</b>&nbsp; &nbsp;<select id="role{p_mask.S_ROW_COUNT}{p_mask.f_mask.S_ROW_COUNT}" name="role[{p_mask.f_mask.UG_ID}][{p_mask.f_mask.FORUM_ID}]" onchange="set_role_settings(this.options[selectedIndex].value, 'a_options{p_mask.S_ROW_COUNT}{p_mask.f_mask.S_ROW_COUNT}')">{p_mask.f_mask.S_ROLE_OPTIONS}</select>
<!-- ELSE -->
<b>{L_ROLE}:</b> {L_NO_ROLE_AVAILABLE}
<!-- ENDIF -->
<!-- ENDIF -->
</td>
</tr>
</tbody>
</table>
</td>
<!-- BEGIN category -->
<!-- IF p_mask.f_mask.category.S_YES -->
<td class="preset preset_yes">
<!-- ELSEIF p_mask.f_mask.category.S_NEVER -->
<td class="preset preset_never">
<!-- ELSEIF p_mask.f_mask.category.S_NO -->
<td class="preset preset_no">
<!-- ELSE -->
<td class="preset preset_custom">
<!-- ENDIF -->
<a href="javascript:swap_options('{p_mask.S_ROW_COUNT}', '{p_mask.f_mask.S_ROW_COUNT}', '{p_mask.f_mask.category.S_ROW_COUNT}');"><span></span></a></td>
<!-- END category -->
</tr>
<tr class="row3">
<td style="vertical-align: top;">
<div id="apply{p_mask.S_ROW_COUNT}{p_mask.f_mask.S_ROW_COUNT}" style="text-align: left; width: 98%; margin: 5px;<!-- IF p_mask.S_FIRST_ROW and p_mask.f_mask.S_FIRST_ROW --><!-- ELSE --> display: none;<!-- ENDIF -->">
<!-- IF not p_mask.S_VIEW -->
<div style="float: left; width: 60%;">
<p class="small">{L_APPLY_PERMISSIONS_EXPLAIN}</p>
<input class="button1" type="submit" name="psubmit[{p_mask.f_mask.UG_ID}][{p_mask.f_mask.FORUM_ID}]" value="{L_APPLY_PERMISSIONS}" />
</div>
<div style="float: right; text-align: right; width: 35%;">
<p class="small">
[<a href="javascript: mark_options('a_options{p_mask.S_ROW_COUNT}{p_mask.f_mask.S_ROW_COUNT}', 'y'); reset_role('role{p_mask.S_ROW_COUNT}{p_mask.f_mask.S_ROW_COUNT}');">{L_ALL_YES}</a>]<br />
[<a href="javascript: mark_options('a_options{p_mask.S_ROW_COUNT}{p_mask.f_mask.S_ROW_COUNT}', 'n'); reset_role('role{p_mask.S_ROW_COUNT}{p_mask.f_mask.S_ROW_COUNT}');">{L_ALL_NEVER}</a>]<br />
[<a href="javascript: mark_options('a_options{p_mask.S_ROW_COUNT}{p_mask.f_mask.S_ROW_COUNT}', 'u'); reset_role('role{p_mask.S_ROW_COUNT}{p_mask.f_mask.S_ROW_COUNT}');">{L_ALL_NO}</a>]
</p>
</div>
<!-- ELSE -->
&nbsp;
<!-- ENDIF -->
</div>
</td>
<td colspan="{p_mask.S_NUM_CATS}" id="a_options{p_mask.S_ROW_COUNT}{p_mask.f_mask.S_ROW_COUNT}" style="vertical-align: top; text-align: left;">
<div style="width: 350px; height: 0; line-height: 0;">&nbsp;</div>
<!-- BEGIN category -->
<table cellspacing="1" id="options{p_mask.S_ROW_COUNT}{p_mask.f_mask.S_ROW_COUNT}{p_mask.f_mask.category.S_ROW_COUNT}" class="type3"<!-- IF p_mask.S_FIRST_ROW and p_mask.f_mask.S_FIRST_ROW and p_mask.f_mask.category.S_FIRST_ROW --><!-- ELSE --> style="display: none;"<!-- ENDIF -->>
<thead>
<tr>
<th scope="col" style="text-align: left; padding-left: 0;"><strong>{L_ACL_SETTING} [{p_mask.f_mask.category.CAT_NAME}]</strong></th>
<!-- IF p_mask.S_VIEW -->
<th scope="col">{L_ACL_YES}</th>
<th scope="col">{L_ACL_NEVER}</th>
<!-- ELSE -->
<th scope="col"><a href="javascript: mark_options('options{p_mask.S_ROW_COUNT}{p_mask.f_mask.S_ROW_COUNT}{p_mask.f_mask.category.S_ROW_COUNT}', 'y'); reset_role('role{p_mask.S_ROW_COUNT}{p_mask.f_mask.S_ROW_COUNT}');">{L_ACL_YES}</a></th>
<th scope="col"><a href="javascript: mark_options('options{p_mask.S_ROW_COUNT}{p_mask.f_mask.S_ROW_COUNT}{p_mask.f_mask.category.S_ROW_COUNT}', 'u'); reset_role('role{p_mask.S_ROW_COUNT}{p_mask.f_mask.S_ROW_COUNT}');">{L_ACL_NO}</a></th>
<th scope="col"><a href="javascript: mark_options('options{p_mask.S_ROW_COUNT}{p_mask.f_mask.S_ROW_COUNT}{p_mask.f_mask.category.S_ROW_COUNT}', 'n'); reset_role('role{p_mask.S_ROW_COUNT}{p_mask.f_mask.S_ROW_COUNT}');">{L_ACL_NEVER}</a></th>
<!-- ENDIF -->
</tr>
</thead>
<tbody>
<!-- BEGIN mask -->
<!-- IF p_mask.f_mask.category.mask.S_ROW_COUNT is even --><tr class="row4"><!-- ELSE --><tr class="row3"><!-- ENDIF -->
<th><!-- IF p_mask.f_mask.category.mask.U_TRACE --><a href="#" onclick="javascript:trace('{p_mask.f_mask.category.mask.U_TRACE}')" title="{L_TRACE_SETTING}"><img src="images/icon_trace.gif" alt="{L_TRACE_SETTING}" /></a> <!-- ENDIF -->{p_mask.f_mask.category.mask.PERMISSION}</th>
<!-- IF p_mask.S_VIEW -->
<td<!-- IF p_mask.f_mask.category.mask.S_YES --> class="yes"<!-- ELSE --> class="no"<!-- ENDIF -->>&nbsp;</td>
<td<!-- IF p_mask.f_mask.category.mask.S_NEVER --> class="never"<!-- ELSE --> class="no"<!-- ENDIF -->>&nbsp;</td>
<!-- ELSE -->
<td class="no"><input onchange="reset_role('role{p_mask.S_ROW_COUNT}{p_mask.f_mask.S_ROW_COUNT}')" id="{p_mask.f_mask.category.mask.S_FIELD_NAME}_y" name="{p_mask.f_mask.category.mask.S_FIELD_NAME}" class="radio" type="radio"<!-- IF p_mask.f_mask.category.mask.S_YES --> checked="checked"<!-- ENDIF --> value="1" /></td>
<td class="no"><input onchange="reset_role('role{p_mask.S_ROW_COUNT}{p_mask.f_mask.S_ROW_COUNT}')" id="{p_mask.f_mask.category.mask.S_FIELD_NAME}_u" name="{p_mask.f_mask.category.mask.S_FIELD_NAME}" class="radio" type="radio"<!-- IF p_mask.f_mask.category.mask.S_NO --> checked="checked"<!-- ENDIF --> value="-1" /></td>
<td class="no"><input onchange="reset_role('role{p_mask.S_ROW_COUNT}{p_mask.f_mask.S_ROW_COUNT}')" id="{p_mask.f_mask.category.mask.S_FIELD_NAME}_n" name="{p_mask.f_mask.category.mask.S_FIELD_NAME}" class="radio" type="radio"<!-- IF p_mask.f_mask.category.mask.S_NEVER --> checked="checked"<!-- ENDIF --> value="0" /></td>
<!-- ENDIF -->
</tr>
<!-- END mask -->
</tbody>
</table>
<!-- END category -->
</td>
</tr>
<!-- END f_mask -->
</tbody>
</table>
</fieldset>
<!-- END p_mask -->

View File

@@ -0,0 +1,38 @@
<!-- BEGIN role_mask -->
<table cellspacing="1">
<caption><!-- IF role_mask.FORUM_ID -->{L_FORUM}: <!-- ENDIF -->{role_mask.NAME}</caption>
<tbody>
<tr>
<th>{L_USERS}</th>
</tr>
<tr>
<td class="row1">
<!-- BEGIN users -->
<a href="{role_mask.users.U_PROFILE}">{role_mask.users.USERNAME}</a><!-- IF not role_mask.users.S_LAST_ROW --> :: <!-- ENDIF -->
<!-- BEGINELSE -->
{L_USERS_NOT_ASSIGNED}
<!-- END users -->
</td>
</tr>
<tr>
<th>{L_GROUPS}</th>
</tr>
<tr>
<td class="row2">
<!-- BEGIN groups -->
<a href="{role_mask.groups.U_PROFILE}">{role_mask.groups.GROUP_NAME}</a><!-- IF not role_mask.groups.S_LAST_ROW --> :: <!-- ENDIF -->
<!-- BEGINELSE -->
{L_GROUPS_NOT_ASSIGNED}
<!-- END users -->
</td>
</tr>
</tbody>
</table>
<!-- BEGINELSE -->
<p>{L_ROLE_NOT_ASSIGNED}</p>
<!-- END role_mask -->

View File

@@ -0,0 +1,51 @@
<!-- INCLUDE simple_header.html -->
<div style="background-color: #fff; padding: 10px; margin-top: 10px;" class="permissions">
<!-- IF U_BACK --><a href="{U_BACK}" style="float: right">&laquo; {L_BACK}</a><!-- ENDIF -->
<h3>{L_TRACE_FOR}: {PERMISSION_USERNAME} / <!-- IF FORUM_NAME -->{FORUM_NAME} / <!-- ENDIF -->{PERMISSION} </h3>
<br />
<table cellspacing="1" class="type1">
<thead>
<tr>
<th>{L_TRACE_WHO}</th>
<th style="width: 50px;">{L_ACL_SETTING}</th>
<th style="width: 50px;">{L_TRACE_TOTAL}</th>
<th>{L_INFORMATION}</th>
</tr>
</thead>
<tbody>
<!-- BEGIN trace -->
<!-- IF trace.S_ROW_COUNT is even --><tr class="row4"><!-- ELSE --><tr class="row3"><!-- ENDIF -->
<td style="white-space: nowrap;"><strong>{trace.WHO}</strong></td>
<!-- IF trace.S_SETTING_NEVER -->
<td class="never">{L_ACL_NEVER}</td>
<!-- ELSEIF trace.S_SETTING_YES -->
<td class="yes">{L_ACL_YES}</td>
<!-- ELSE -->
<td class="no">{L_ACL_NO}</td>
<!-- ENDIF -->
<!-- IF trace.S_TOTAL_NEVER -->
<td class="never">{L_ACL_NEVER}</td>
<!-- ELSEIF trace.S_TOTAL_YES -->
<td class="yes">{L_ACL_YES}</td>
<!-- ELSE -->
<td class="no">{L_ACL_NO}</td>
<!-- ENDIF -->
<td>{trace.INFORMATION}</td>
</tr>
<!-- END trace -->
</tbody>
</table>
<br />
<!-- INCLUDE simple_footer.html -->
</div>

View File

@@ -0,0 +1,40 @@
<!-- INCLUDE simple_header.html -->
<script type="text/javascript">
<!--
/**
* Close previously opened popup
*/
function close_popup()
{
if (opener != null)
{
if (opener.close_waitscreen != null)
{
if (opener.close_waitscreen == 1)
{
opener.close_waitscreen = 0;
self.close();
return 0;
}
}
}
setTimeout("close_popup()", 1000);
return 0;
}
//-->
</script>
<div class="successbox">
<h3>{L_PROGRESS}</h3>
<img src="images/progress_bar.gif" alt="{L_PROGRESS}" />
<p>{L_PROGRESS_EXPLAIN}</p>
</div>
<script type="text/javascript">
<!--
close_popup();
//-->
</script>
<!-- INCLUDE simple_footer.html -->

View File

@@ -0,0 +1,8 @@
<!-- INCLUDE simple_header.html -->
<div class="errorbox">
<h3>{MESSAGE_TITLE}</h3>
<p>{MESSAGE_TEXT}</p>
</div>
<!-- INCLUDE simple_footer.html -->

View File

@@ -0,0 +1,31 @@
<div style="text-align: right;"><a href="#" onclick="javascript: self.close();">{L_CLOSE_WINDOW}</a></div>
<br /><br />
</div>
<!--
We request you retain the full copyright notice below including the link to www.phpbb.com.
This not only gives respect to the large amount of time given freely by the developers
but also helps build interest, traffic and use of phpBB2. If you (honestly) cannot retain
the full copyright we ask you at least leave in place the "Powered by phpBB" line, with
"phpBB" linked to www.phpbb.com. If you refuse to include even this then support on our
forums may be affected.
The phpBB Group : 2006
// -->
<div id="page-footer">
<!-- IF S_COPYRIGHT_HTML -->
<br />Powered by phpBB {VERSION} &copy; 2006 <a href="http://www.phpbb.com/">phpBB Group</a>
{TRANSLATION_INFO}
<!-- ENDIF -->
<!-- IF DEBUG_OUTPUT -->
<!-- IF S_COPYRIGHT_HTML --><br /><br /><!-- ENDIF -->
{DEBUG_OUTPUT}
<!-- ENDIF -->
</div>
</body>
</html>

View File

@@ -0,0 +1,92 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" dir="{S_CONTENT_DIRECTION}">
<head>
<meta http-equiv="Content-Type" content="text/html; charset={S_CONTENT_ENCODING}" />
<meta http-equiv="Content-Style-Type" content="text/css" />
<meta http-equiv="imagetoolbar" content="no" />
<!-- IF META -->{META}<!-- ENDIF -->
<title>{PAGE_TITLE}</title>
<link href="style/admin.css" rel="stylesheet" type="text/css" media="screen" />
<script type="text/javascript">
<!--
var jump_page = '{LA_JUMP_PAGE}:';
var on_page = '{ON_PAGE}';
var per_page = '{PER_PAGE}';
var base_url = '{BASE_URL}';
/**
* Jump to page
*/
function jumpto()
{
var page = prompt(jump_page, on_page);
if (page !== null && !isNaN(page) && page > 0)
{
document.location.href = base_url.replace(/&amp;/g, '&') + '&start=' + ((page - 1) * per_page);
}
}
/**
* Set display of page element
* s[-1,0,1] = hide,toggle display,show
*/
function dE(n, s, type)
{
if (!type)
{
type = 'block';
}
var e = document.getElementById(n);
if (!s)
{
s = (e.style.display == '') ? -1 : 1;
}
e.style.display = (s == 1) ? type : 'none';
}
/**
* Mark/unmark checkboxes
* id = ID of parent container, name = name prefix, state = state [true/false]
*/
function marklist(id, name, state)
{
var parent = document.getElementById(id);
if (!parent)
{
return;
}
var rb = parent.getElementsByTagName('input');
for (var r = 0; r < rb.length; r++)
{
if (rb[r].name.substr(0, name.length) == name)
{
rb[r].checked = state;
}
}
}
<!-- IF S_INCLUDE_SWATCH -->
/**
* Color swatch
*/
function swatch()
{
window.open('{UA_SWATCH}', '_swatch', 'height=150, resizable=yes, scrollbars=no, width=636');
return false;
}
<!-- ENDIF -->
//-->
</script>
</head>
<body>
<div id="page-body" style="padding: 0 10px;">

251
phpBB/adm/style/tooltip.js Normal file
View File

@@ -0,0 +1,251 @@
/*
javascript for Bubble Tooltips by Alessandro Fulciniti
- http://pro.html.it - http://web-graphics.com
obtained from: http://web-graphics.com/mtarchive/001717.php
phpBB Development Team:
- modified to adhere to our coding guidelines
- integration into our design
- added ability to perform tooltips on select elements
- further adjustements
*/
var head_text, tooltip_mode;
/**
* Enable tooltip replacements for links
*/
function enable_tooltips_link(id, headline, sub_id)
{
var links, i, hold;
head_text = headline;
if (!document.getElementById || !document.getElementsByTagName)
{
return;
}
hold = document.createElement('span');
hold.id = '_tooltip_container';
hold.setAttribute('id', '_tooltip_container');
hold.style.position = 'absolute';
document.getElementsByTagName('body')[0].appendChild(hold);
if (id == null)
{
links = document.getElementsByTagName('a');
}
else
{
links = document.getElementById(id).getElementsByTagName('a');
}
for (i = 0; i < links.length; i++)
{
if (sub_id)
{
if (links[i].id.substr(0, sub_id.length) == sub_id)
{
prepare(links[i]);
}
}
else
{
prepare(links[i]);
}
}
tooltip_mode = 'link';
}
/**
* Enable tooltip replacements for selects
*/
function enable_tooltips_select(id, headline, sub_id)
{
var links, i, hold;
head_text = headline;
if (!document.getElementById || !document.getElementsByTagName)
{
return;
}
hold = document.createElement('span');
hold.id = '_tooltip_container';
hold.setAttribute('id', '_tooltip_container');
hold.style.position = 'absolute';
document.getElementsByTagName('body')[0].appendChild(hold);
if (id == null)
{
links = document.getElementsByTagName('option');
}
else
{
links = document.getElementById(id).getElementsByTagName('option');
}
for (i = 0; i < links.length; i++)
{
if (sub_id)
{
if (links[i].parentNode.id.substr(0, sub_id.length) == sub_id)
{
prepare(links[i]);
}
}
else
{
prepare(links[i]);
}
}
tooltip_mode = 'select';
}
/**
* Prepare elements to replace
*/
function prepare(element)
{
var tooltip, text, desc, title;
text = element.getAttribute('title');
if (text == null || text.length == 0)
{
return;
}
element.removeAttribute('title');
tooltip = create_element('span', 'tooltip');
title = create_element('span', 'top');
title.appendChild(document.createTextNode(head_text));
tooltip.appendChild(title);
desc = create_element('span', 'bottom');
desc.innerHTML = text;
tooltip.appendChild(desc);
set_opacity(tooltip);
element.tooltip = tooltip;
element.onmouseover = show_tooltip;
element.onmouseout = hide_tooltip;
if (tooltip_mode == 'link')
{
element.onmousemove = locate;
}
}
/**
* Show tooltip
*/
function show_tooltip(e)
{
document.getElementById('_tooltip_container').appendChild(this.tooltip);
locate(this);
}
/**
* Hide tooltip
*/
function hide_tooltip(e)
{
var d = document.getElementById('_tooltip_container');
if (d.childNodes.length > 0)
{
d.removeChild(d.firstChild);
}
}
/**
* Set opacity on tooltip element
*/
function set_opacity(element)
{
element.style.filter = 'alpha(opacity:95)';
element.style.KHTMLOpacity = '0.95';
element.style.MozOpacity = '0.95';
element.style.opacity = '0.95';
}
/**
* Create new element
*/
function create_element(tag, c)
{
var x = document.createElement(tag);
x.className = c;
x.style.display = 'block';
return x;
}
/**
* Correct positioning of tooltip container
*/
function locate(e)
{
var posx = 0;
var posy = 0;
e = e.parentNode;
if (e.offsetParent)
{
for (var posx = 0, posy = 0; e.offsetParent; e = e.offsetParent)
{
posx += e.offsetLeft;
posy += e.offsetTop;
}
}
else
{
posx = e.offsetLeft;
posy = e.offsetTop;
}
if (tooltip_mode == 'link')
{
document.getElementById('_tooltip_container').style.top=(posy+20) + 'px';
document.getElementById('_tooltip_container').style.left=(posx-20) + 'px';
}
else
{
document.getElementById('_tooltip_container').style.top=(posy+30) + 'px';
document.getElementById('_tooltip_container').style.left=(posx-205) + 'px';
}
/*
if (e == null)
{
e = window.event;
}
if (e.pageX || e.pageY)
{
posx = e.pageX;
posy = e.pageY;
}
else if (e.clientX || e.clientY)
{
if (document.documentElement.scrollTop)
{
posx = e.clientX+document.documentElement.scrollLeft;
posy = e.clientY+document.documentElement.scrollTop;
}
else
{
posx = e.clientX+document.body.scrollLeft;
posy = e.clientY+document.body.scrollTop;
}
}
*/
}

View File

@@ -0,0 +1,20 @@
<!-- INCLUDE simple_header.html -->
<div class="panel" style="padding: 10px;">
<h1>{FILENAME}</h1>
<table>
<tbody>
<!-- BEGIN source -->
<tr valign="top">
<td class="sourcenum">{source.LINENUM}&nbsp;&nbsp;</td>
<td class="source">{source.LINE}</td>
</tr>
<!-- END source -->
</tbody>
</table>
</div>
<!-- INCLUDE simple_footer.html -->

41
phpBB/adm/swatch.php Normal file
View File

@@ -0,0 +1,41 @@
<?php
/**
*
* @package phpBB3
* @version $Id$
* @copyright (c) 2005 phpBB Group
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
*
*/
/**
* @ignore
*/
define('IN_PHPBB', true);
$phpbb_root_path = './../';
$phpEx = substr(strrchr(__FILE__, '.'), 1);
include($phpbb_root_path . 'common.' . $phpEx);
// Start session management
$user->session_begin(false);
$auth->acl($user->data);
$user->setup();
// Set custom template for admin area
$template->set_custom_template($phpbb_root_path . 'adm/style', 'admin');
$template->set_filenames(array(
'body' => 'colour_swatch.html')
);
$template->assign_vars(array(
'OPENER' => addslashes(request_var('form', '')),
'NAME' => request_var('name', ''),
'T_IMAGES_PATH' => "{$phpbb_root_path}images/",)
);
$template->display('body');
garbage_collection();
?>

View File

@@ -1,316 +0,0 @@
<?php
/***************************************************************************
* admin_board.php
* -------------------
* begin : Thursday, Jul 12, 2001
* copyright : (C) 2001 The phpBB Group
* email : support@phpbb.com
*
* $Id$
*
*
***************************************************************************/
define('IN_PHPBB', 1);
if( !empty($setmodules) )
{
$file = basename(__FILE__);
$module['General']['Configuration'] = "$file?mode=config";
return;
}
//
// Let's set the root dir for phpBB
//
$phpbb_root_path = "../";
require($phpbb_root_path . 'extension.inc');
require('pagestart.' . $phpEx);
include($phpbb_root_path . 'includes/functions_selects.'.$phpEx);
//
// Pull all config data
//
$sql = "SELECT *
FROM " . CONFIG_TABLE;
if(!$result = $db->sql_query($sql))
{
message_die(CRITICAL_ERROR, "Could not query config information in admin_board", "", __LINE__, __FILE__, $sql);
}
else
{
while( $row = $db->sql_fetchrow($result) )
{
$config_name = $row['config_name'];
$config_value = $row['config_value'];
$default_config[$config_name] = $config_value;
$new[$config_name] = ( isset($HTTP_POST_VARS[$config_name]) ) ? $HTTP_POST_VARS[$config_name] : $default_config[$config_name];
if( isset($HTTP_POST_VARS['submit']) )
{
$sql = "UPDATE " . CONFIG_TABLE . " SET
config_value = '" . str_replace("\'", "''", $new[$config_name]) . "'
WHERE config_name = '$config_name'";
if( !$db->sql_query($sql) )
{
message_die(GENERAL_ERROR, "Failed to update general configuration for $config_name", "", __LINE__, __FILE__, $sql);
}
}
}
if( isset($HTTP_POST_VARS['submit']) )
{
$message = $lang['Config_updated'] . "<br /><br />" . sprintf($lang['Click_return_config'], "<a href=\"" . append_sid("admin_board.$phpEx") . "\">", "</a>") . "<br /><br />" . sprintf($lang['Click_return_admin_index'], "<a href=\"" . append_sid("index.$phpEx?pane=right") . "\">", "</a>");
message_die(GENERAL_MESSAGE, $message);
}
}
$style_select = style_select($new['default_style'], 'default_style', "../templates");
$lang_select = language_select($new['default_lang'], 'default_lang', "../language");
$timezone_select = tz_select($new['board_timezone'], 'board_timezone');
$disable_board_yes = ( $new['board_disable'] ) ? "checked=\"checked\"" : "";
$disable_board_no = ( !$new['board_disable'] ) ? "checked=\"checked\"" : "";
$cookie_secure_yes = ( $new['cookie_secure'] ) ? "checked=\"checked\"" : "";
$cookie_secure_no = ( !$new['cookie_secure'] ) ? "checked=\"checked\"" : "";
$html_tags = $new['allow_html_tags'];
$override_user_style_yes = ( $new['override_user_style'] ) ? "checked=\"checked\"" : "";
$override_user_style_no = ( !$new['override_user_style'] ) ? "checked=\"checked\"" : "";
$html_yes = ( $new['allow_html'] ) ? "checked=\"checked\"" : "";
$html_no = ( !$new['allow_html'] ) ? "checked=\"checked\"" : "";
$bbcode_yes = ( $new['allow_bbcode'] ) ? "checked=\"checked\"" : "";
$bbcode_no = ( !$new['allow_bbcode'] ) ? "checked=\"checked\"" : "";
$activation_none = ( $new['require_activation'] == USER_ACTIVATION_NONE ) ? "checked=\"checked\"" : "";
$activation_user = ( $new['require_activation'] == USER_ACTIVATION_SELF ) ? "checked=\"checked\"" : "";
$activation_admin = ( $new['require_activation'] == USER_ACTIVATION_ADMIN ) ? "checked=\"checked\"" : "";
$board_email_form_yes = ( $new['board_email_form'] ) ? "checked=\"checked\"" : "";
$board_email_form_no = ( !$new['board_email_form'] ) ? "checked=\"checked\"" : "";
$gzip_yes = ( $new['gzip_compress'] ) ? "checked=\"checked\"" : "";
$gzip_no = ( !$new['gzip_compress'] ) ? "checked=\"checked\"" : "";
$privmsg_on = ( !$new['privmsg_disable'] ) ? "checked=\"checked\"" : "";
$privmsg_off = ( $new['privmsg_disable'] ) ? "checked=\"checked\"" : "";
$prune_yes = ( $new['prune_enable'] ) ? "checked=\"checked\"" : "";
$prune_no = ( !$new['prune_enable'] ) ? "checked=\"checked\"" : "";
$smile_yes = ( $new['allow_smilies'] ) ? "checked=\"checked\"" : "";
$smile_no = ( !$new['allow_smilies'] ) ? "checked=\"checked\"" : "";
$sig_yes = ( $new['allow_sig'] ) ? "checked=\"checked\"" : "";
$sig_no = ( !$new['allow_sig'] ) ? "checked=\"checked\"" : "";
$namechange_yes = ( $new['allow_namechange'] ) ? "checked=\"checked\"" : "";
$namechange_no = ( !$new['allow_namechange'] ) ? "checked=\"checked\"" : "";
$avatars_local_yes = ( $new['allow_avatar_local'] ) ? "checked=\"checked\"" : "";
$avatars_local_no = ( !$new['allow_avatar_local'] ) ? "checked=\"checked\"" : "";
$avatars_remote_yes = ( $new['allow_avatar_remote'] ) ? "checked=\"checked\"" : "";
$avatars_remote_no = ( !$new['allow_avatar_remote'] ) ? "checked=\"checked\"" : "";
$avatars_upload_yes = ( $new['allow_avatar_upload'] ) ? "checked=\"checked\"" : "";
$avatars_upload_no = ( !$new['allow_avatar_upload'] ) ? "checked=\"checked\"" : "";
$smtp_yes = ( $new['smtp_delivery'] ) ? "checked=\"checked\"" : "";
$smtp_no = ( !$new['smtp_delivery'] ) ? "checked=\"checked\"" : "";
$template->set_filenames(array(
"body" => "admin/board_config_body.tpl")
);
//
// Escape any quotes in the site description for proper display in the text
// box on the admin page
//
$new['site_desc'] = str_replace('"', '&quot;', $new['site_desc']);
$new['sitename'] = str_replace('"', '&quot;', strip_tags($new['sitename']));
$template->assign_vars(array(
"S_CONFIG_ACTION" => append_sid("admin_board.$phpEx"),
"L_YES" => $lang['Yes'],
"L_NO" => $lang['No'],
"L_CONFIGURATION_TITLE" => $lang['General_Config'],
"L_CONFIGURATION_EXPLAIN" => $lang['Config_explain'],
"L_GENERAL_SETTINGS" => $lang['General_settings'],
"L_SERVER_NAME" => $lang['Server_name'],
"L_SERVER_NAME_EXPLAIN" => $lang['Server_name_explain'],
"L_SERVER_PORT" => $lang['Server_port'],
"L_SERVER_PORT_EXPLAIN" => $lang['Server_port_explain'],
"L_SCRIPT_PATH" => $lang['Script_path'],
"L_SCRIPT_PATH_EXPLAIN" => $lang['Script_path_explain'],
"L_SITE_NAME" => $lang['Site_name'],
"L_SITE_DESCRIPTION" => $lang['Site_desc'],
"L_DISABLE_BOARD" => $lang['Board_disable'],
"L_DISABLE_BOARD_EXPLAIN" => $lang['Board_disable_explain'],
"L_ACCT_ACTIVATION" => $lang['Acct_activation'],
"L_NONE" => $lang['Acc_None'],
"L_USER" => $lang['Acc_User'],
"L_ADMIN" => $lang['Acc_Admin'],
"L_COOKIE_SETTINGS" => $lang['Cookie_settings'],
"L_COOKIE_SETTINGS_EXPLAIN" => $lang['Cookie_settings_explain'],
"L_COOKIE_DOMAIN" => $lang['Cookie_domain'],
"L_COOKIE_NAME" => $lang['Cookie_name'],
"L_COOKIE_PATH" => $lang['Cookie_path'],
"L_COOKIE_SECURE" => $lang['Cookie_secure'],
"L_COOKIE_SECURE_EXPLAIN" => $lang['Cookie_secure_explain'],
"L_SESSION_LENGTH" => $lang['Session_length'],
"L_PRIVATE_MESSAGING" => $lang['Private_Messaging'],
"L_INBOX_LIMIT" => $lang['Inbox_limits'],
"L_SENTBOX_LIMIT" => $lang['Sentbox_limits'],
"L_SAVEBOX_LIMIT" => $lang['Savebox_limits'],
"L_DISABLE_PRIVATE_MESSAGING" => $lang['Disable_privmsg'],
"L_ENABLED" => $lang['Enabled'],
"L_DISABLED" => $lang['Disabled'],
"L_ABILITIES_SETTINGS" => $lang['Abilities_settings'],
"L_MAX_POLL_OPTIONS" => $lang['Max_poll_options'],
"L_FLOOD_INTERVAL" => $lang['Flood_Interval'],
"L_FLOOD_INTERVAL_EXPLAIN" => $lang['Flood_Interval_explain'],
"L_BOARD_EMAIL_FORM" => $lang['Board_email_form'],
"L_BOARD_EMAIL_FORM_EXPLAIN" => $lang['Board_email_form_explain'],
"L_TOPICS_PER_PAGE" => $lang['Topics_per_page'],
"L_POSTS_PER_PAGE" => $lang['Posts_per_page'],
"L_HOT_THRESHOLD" => $lang['Hot_threshold'],
"L_DEFAULT_STYLE" => $lang['Default_style'],
"L_OVERRIDE_STYLE" => $lang['Override_style'],
"L_OVERRIDE_STYLE_EXPLAIN" => $lang['Override_style_explain'],
"L_DEFAULT_LANGUAGE" => $lang['Default_language'],
"L_DATE_FORMAT" => $lang['Date_format'],
"L_SYSTEM_TIMEZONE" => $lang['System_timezone'],
"L_ENABLE_GZIP" => $lang['Enable_gzip'],
"L_ENABLE_PRUNE" => $lang['Enable_prune'],
"L_ALLOW_HTML" => $lang['Allow_HTML'],
"L_ALLOW_BBCODE" => $lang['Allow_BBCode'],
"L_ALLOWED_TAGS" => $lang['Allowed_tags'],
"L_ALLOWED_TAGS_EXPLAIN" => $lang['Allowed_tags_explain'],
"L_ALLOW_SMILIES" => $lang['Allow_smilies'],
"L_SMILIES_PATH" => $lang['Smilies_path'],
"L_SMILIES_PATH_EXPLAIN" => $lang['Smilies_path_explain'],
"L_ALLOW_SIG" => $lang['Allow_sig'],
"L_MAX_SIG_LENGTH" => $lang['Max_sig_length'],
"L_MAX_SIG_LENGTH_EXPLAIN" => $lang['Max_sig_length_explain'],
"L_ALLOW_NAME_CHANGE" => $lang['Allow_name_change'],
"L_AVATAR_SETTINGS" => $lang['Avatar_settings'],
"L_ALLOW_LOCAL" => $lang['Allow_local'],
"L_ALLOW_REMOTE" => $lang['Allow_remote'],
"L_ALLOW_REMOTE_EXPLAIN" => $lang['Allow_remote_explain'],
"L_ALLOW_UPLOAD" => $lang['Allow_upload'],
"L_MAX_FILESIZE" => $lang['Max_filesize'],
"L_MAX_FILESIZE_EXPLAIN" => $lang['Max_filesize_explain'],
"L_MAX_AVATAR_SIZE" => $lang['Max_avatar_size'],
"L_MAX_AVATAR_SIZE_EXPLAIN" => $lang['Max_avatar_size_explain'],
"L_AVATAR_STORAGE_PATH" => $lang['Avatar_storage_path'],
"L_AVATAR_STORAGE_PATH_EXPLAIN" => $lang['Avatar_storage_path_explain'],
"L_AVATAR_GALLERY_PATH" => $lang['Avatar_gallery_path'],
"L_AVATAR_GALLERY_PATH_EXPLAIN" => $lang['Avatar_gallery_path_explain'],
"L_COPPA_SETTINGS" => $lang['COPPA_settings'],
"L_COPPA_FAX" => $lang['COPPA_fax'],
"L_COPPA_MAIL" => $lang['COPPA_mail'],
"L_COPPA_MAIL_EXPLAIN" => $lang['COPPA_mail_explain'],
"L_EMAIL_SETTINGS" => $lang['Email_settings'],
"L_ADMIN_EMAIL" => $lang['Admin_email'],
"L_EMAIL_SIG" => $lang['Email_sig'],
"L_EMAIL_SIG_EXPLAIN" => $lang['Email_sig_explain'],
"L_USE_SMTP" => $lang['Use_SMTP'],
"L_USE_SMTP_EXPLAIN" => $lang['Use_SMTP_explain'],
"L_SMTP_SERVER" => $lang['SMTP_server'],
"L_SMTP_USERNAME" => $lang['SMTP_username'],
"L_SMTP_USERNAME_EXPLAIN" => $lang['SMTP_username_explain'],
"L_SMTP_PASSWORD" => $lang['SMTP_password'],
"L_SMTP_PASSWORD_EXPLAIN" => $lang['SMTP_password_explain'],
"L_SUBMIT" => $lang['Submit'],
"L_RESET" => $lang['Reset'],
"SERVER_NAME" => $new['server_name'],
"SCRIPT_PATH" => $new['script_path'],
"SERVER_PORT" => $new['server_port'],
"SITENAME" => $new['sitename'],
"SITE_DESCRIPTION" => $new['site_desc'],
"S_DISABLE_BOARD_YES" => $disable_board_yes,
"S_DISABLE_BOARD_NO" => $disable_board_no,
"ACTIVATION_NONE" => USER_ACTIVATION_NONE,
"ACTIVATION_NONE_CHECKED" => $activation_none,
"ACTIVATION_USER" => USER_ACTIVATION_SELF,
"ACTIVATION_USER_CHECKED" => $activation_user,
"ACTIVATION_ADMIN" => USER_ACTIVATION_ADMIN,
"ACTIVATION_ADMIN_CHECKED" => $activation_admin,
"BOARD_EMAIL_FORM_ENABLE" => $board_email_form_yes,
"BOARD_EMAIL_FORM_DISABLE" => $board_email_form_no,
"MAX_POLL_OPTIONS" => $new['max_poll_options'],
"FLOOD_INTERVAL" => $new['flood_interval'],
"TOPICS_PER_PAGE" => $new['topics_per_page'],
"POSTS_PER_PAGE" => $new['posts_per_page'],
"HOT_TOPIC" => $new['hot_threshold'],
"STYLE_SELECT" => $style_select,
"OVERRIDE_STYLE_YES" => $override_user_style_yes,
"OVERRIDE_STYLE_NO" => $override_user_style_no,
"LANG_SELECT" => $lang_select,
"L_DATE_FORMAT_EXPLAIN" => $lang['Date_format_explain'],
"DEFAULT_DATEFORMAT" => $new['default_dateformat'],
"TIMEZONE_SELECT" => $timezone_select,
"S_PRIVMSG_ENABLED" => $privmsg_on,
"S_PRIVMSG_DISABLED" => $privmsg_off,
"INBOX_LIMIT" => $new['max_inbox_privmsgs'],
"SENTBOX_LIMIT" => $new['max_sentbox_privmsgs'],
"SAVEBOX_LIMIT" => $new['max_savebox_privmsgs'],
"COOKIE_DOMAIN" => $new['cookie_domain'],
"COOKIE_NAME" => $new['cookie_name'],
"COOKIE_PATH" => $new['cookie_path'],
"SESSION_LENGTH" => $new['session_length'],
"S_COOKIE_SECURE_ENABLED" => $cookie_secure_yes,
"S_COOKIE_SECURE_DISABLED" => $cookie_secure_no,
"GZIP_YES" => $gzip_yes,
"GZIP_NO" => $gzip_no,
"PRUNE_YES" => $prune_yes,
"PRUNE_NO" => $prune_no,
"HTML_TAGS" => $html_tags,
"HTML_YES" => $html_yes,
"HTML_NO" => $html_no,
"BBCODE_YES" => $bbcode_yes,
"BBCODE_NO" => $bbcode_no,
"SMILE_YES" => $smile_yes,
"SMILE_NO" => $smile_no,
"SIG_YES" => $sig_yes,
"SIG_NO" => $sig_no,
"SIG_SIZE" => $new['max_sig_chars'],
"NAMECHANGE_YES" => $namechange_yes,
"NAMECHANGE_NO" => $namechange_no,
"AVATARS_LOCAL_YES" => $avatars_local_yes,
"AVATARS_LOCAL_NO" => $avatars_local_no,
"AVATARS_REMOTE_YES" => $avatars_remote_yes,
"AVATARS_REMOTE_NO" => $avatars_remote_no,
"AVATARS_UPLOAD_YES" => $avatars_upload_yes,
"AVATARS_UPLOAD_NO" => $avatars_upload_no,
"AVATAR_FILESIZE" => $new['avatar_filesize'],
"AVATAR_MAX_HEIGHT" => $new['avatar_max_height'],
"AVATAR_MAX_WIDTH" => $new['avatar_max_width'],
"AVATAR_PATH" => $new['avatar_path'],
"AVATAR_GALLERY_PATH" => $new['avatar_gallery_path'],
"SMILIES_PATH" => $new['smilies_path'],
"INBOX_PRIVMSGS" => $new['max_inbox_privmsgs'],
"SENTBOX_PRIVMSGS" => $new['max_sentbox_privmsgs'],
"SAVEBOX_PRIVMSGS" => $new['max_savebox_privmsgs'],
"EMAIL_FROM" => $new['board_email'],
"EMAIL_SIG" => $new['board_email_sig'],
"SMTP_YES" => $smtp_yes,
"SMTP_NO" => $smtp_no,
"SMTP_HOST" => $new['smtp_host'],
"SMTP_USERNAME" => $new['smtp_username'],
"SMTP_PASSWORD" => $new['smtp_password'],
"COPPA_MAIL" => $new['coppa_mail'],
"COPPA_FAX" => $new['coppa_fax'])
);
$template->pparse("body");
include('page_footer_admin.'.$phpEx);
?>

File diff suppressed because it is too large Load Diff

View File

@@ -1,143 +0,0 @@
<?php
/***************************************************************************
* admin_disallow.php
* -------------------
* begin : Tuesday, Oct 05, 2001
* copyright : (C) 2001 The phpBB Group
* email : support@phpbb.com
*
* $Id$
*
*
***************************************************************************/
/***************************************************************************
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
***************************************************************************/
define('IN_PHPBB', 1);
if( !empty($setmodules) )
{
$filename = basename(__FILE__);
$module['Users']['Disallow'] = append_sid($filename);
return;
}
//
// Include required files, get $phpEx and check permissions
//
$phpbb_root_path = "../";
require($phpbb_root_path . 'extension.inc');
require('pagestart.' . $phpEx);
if( isset($HTTP_POST_VARS['add_name']) )
{
include($phpbb_root_path . 'includes/functions_validate.'.$phpEx);
$disallowed_user = ( isset($HTTP_POST_VARS['disallowed_user']) ) ? $HTTP_POST_VARS['disallowed_user'] : $HTTP_GET_VARS['disallowed_user'];
$disallowed_user = preg_replace( '/\*/', '%', $disallowed_user );
if( !validate_username($disallowed_user) )
{
$message = $lang['Disallowed_already'];
}
else
{
$sql = "INSERT INTO " . DISALLOW_TABLE . " (disallow_username)
VALUES('" . str_replace("\'", "''", $disallowed_user) . "')";
$result = $db->sql_query( $sql );
if ( !$result )
{
message_die(GENERAL_ERROR, "Could not add disallowed user.", "",__LINE__, __FILE__, $sql);
}
$message = $lang['Disallow_successful'];
}
$message .= "<br /><br />" . sprintf($lang['Click_return_disallowadmin'], "<a href=\"" . append_sid("admin_disallow.$phpEx") . "\">", "</a>") . "<br /><br />" . sprintf($lang['Click_return_admin_index'], "<a href=\"" . append_sid("index.$phpEx?pane=right") . "\">", "</a>");
message_die(GENERAL_MESSAGE, $message);
}
else if( isset($HTTP_POST_VARS['delete_name']) )
{
$disallowed_id = ( isset($HTTP_POST_VARS['disallowed_id']) ) ? intval( $HTTP_POST_VARS['disallowed_id'] ) : intval( $HTTP_GET_VARS['disallowed_id'] );
$sql = "DELETE FROM " . DISALLOW_TABLE . "
WHERE disallow_id = $disallowed_id";
$result = $db->sql_query($sql);
if( !$result )
{
message_die(GENERAL_ERROR, "Couldn't removed disallowed user.", "",__LINE__, __FILE__, $sql);
}
$message .= $lang['Disallowed_deleted'] . "<br /><br />" . sprintf($lang['Click_return_disallowadmin'], "<a href=\"" . append_sid("admin_disallow.$phpEx") . "\">", "</a>") . "<br /><br />" . sprintf($lang['Click_return_admin_index'], "<a href=\"" . append_sid("index.$phpEx?pane=right") . "\">", "</a>");
message_die(GENERAL_MESSAGE, $message);
}
//
// Grab the current list of disallowed usernames...
//
$sql = "SELECT *
FROM " . DISALLOW_TABLE;
$result = $db->sql_query($sql);
if( !$result )
{
message_die(GENERAL_ERROR, "Couldn't get disallowed users.", "", __LINE__, __FILE__, $sql );
}
$disallowed = $db->sql_fetchrowset($result);
//
// Ok now generate the info for the template, which will be put out no matter
// what mode we are in.
//
$disallow_select = '<select name="disallowed_id">';
if( trim($disallowed) == "" )
{
$disallow_select .= '<option value="">' . $lang['no_disallowed'] . '</option>';
}
else
{
$user = array();
for( $i = 0; $i < count($disallowed); $i++ )
{
$disallowed[$i]['disallow_username'] = preg_replace('/%/', '*', $disallowed[$i]['disallow_username']);
$disallow_select .= '<option value="' . $disallowed[$i]['disallow_id'] . '">' . $disallowed[$i]['disallow_username'] . '</option>';
}
}
$disallow_select .= '</select>';
$template->set_filenames(array(
"body" => "admin/disallow_body.tpl")
);
$template->assign_vars(array(
"S_DISALLOW_SELECT" => $disallow_select,
"S_FORM_ACTION" => append_sid("admin_disallow.$phpEx"),
"L_INFO" => $output_info,
"L_DISALLOW_TITLE" => $lang['Disallow_control'],
"L_DISALLOW_EXPLAIN" => $lang['Disallow_explain'],
"L_DELETE" => $lang['Delete_disallow'],
"L_DELETE_DISALLOW" => $lang['Delete_disallow_title'],
"L_DELETE_EXPLAIN" => $lang['Delete_disallow_explain'],
"L_ADD" => $lang['Add_disallow'],
"L_ADD_DISALLOW" => $lang['Add_disallow_title'],
"L_ADD_EXPLAIN" => $lang['Add_disallow_explain'],
"L_USERNAME" => $lang['Username'])
);
$template->pparse("body");
?>

View File

@@ -1,198 +0,0 @@
<?php
/***************************************************************************
* admin_forum_prune.php
* -------------------
* begin : Mon Jul 31, 2001
* copyright : (C) 2001 The phpBB Group
* email : support@phpbb.com
*
* $Id$
*
****************************************************************************/
/***************************************************************************
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
***************************************************************************/
define('IN_PHPBB', true);
if ( !empty($setmodules) )
{
$filename = basename(__FILE__);
$module['Forums']['Prune'] = $filename;
return;
}
//
// Load default header
//
$phpbb_root_path = '../';
require($phpbb_root_path . 'extension.inc');
require('pagestart.' . $phpEx);
require($phpbb_root_path . 'includes/prune.'.$phpEx);
require($phpbb_root_path . 'includes/functions_admin.'.$phpEx);
//
// Get the forum ID for pruning
//
if( isset($HTTP_GET_VARS[POST_FORUM_URL]) || isset($HTTP_POST_VARS[POST_FORUM_URL]) )
{
$forum_id = ( isset($HTTP_POST_VARS[POST_FORUM_URL]) ) ? $HTTP_POST_VARS[POST_FORUM_URL] : $HTTP_GET_VARS[POST_FORUM_URL];
if( $forum_id == -1 )
{
$forum_sql = '';
}
else
{
$forum_id = intval($forum_id);
$forum_sql = "AND forum_id = $forum_id";
}
}
else
{
$forum_id = '';
$forum_sql = '';
}
//
// Get a list of forum's or the data for the forum that we are pruning.
//
$sql = "SELECT f.*
FROM " . FORUMS_TABLE . " f, " . CATEGORIES_TABLE . " c
WHERE c.cat_id = f.cat_id
$forum_sql
ORDER BY c.cat_order ASC, f.forum_order ASC";
if( !($result = $db->sql_query($sql)) )
{
message_die(GENERAL_ERROR, 'Could not obtain list of forums for pruning', '', __LINE__, __FILE__, $sql);
}
$forum_rows = array();
while( $row = $db->sql_fetchrow($result) )
{
$forum_rows[] = $row;
}
//
// Check for submit to be equal to Prune. If so then proceed with the pruning.
//
if( isset($HTTP_POST_VARS['doprune']) )
{
$prunedays = ( isset($HTTP_POST_VARS['prunedays']) ) ? intval($HTTP_POST_VARS['prunedays']) : 0;
// Convert days to seconds for timestamp functions...
$prunedate = time() - ( $prunedays * 86400 );
$template->set_filenames(array(
'body' => 'admin/forum_prune_result_body.tpl')
);
for($i = 0; $i < count($forum_rows); $i++)
{
$p_result = prune($forum_rows[$i]['forum_id'], $prunedate);
sync('forum', $forum_rows[$i]['forum_id']);
$row_color = ( !($i % 2) ) ? $theme['td_color1'] : $theme['td_color2'];
$row_class = ( !($i % 2) ) ? $theme['td_class1'] : $theme['td_class2'];
$template->assign_block_vars('prune_results', array(
'ROW_COLOR' => '#' . $row_color,
'ROW_CLASS' => $row_class,
'FORUM_NAME' => $forum_rows[$i]['forum_name'],
'FORUM_TOPICS' => $p_result['topics'],
'FORUM_POSTS' => $p_result['posts'])
);
}
$template->assign_vars(array(
'L_FORUM_PRUNE' => $lang['Forum_Prune'],
'L_FORUM' => $lang['Forum'],
'L_TOPICS_PRUNED' => $lang['Topics_pruned'],
'L_POSTS_PRUNED' => $lang['Posts_pruned'],
'L_PRUNE_RESULT' => $lang['Prune_success'])
);
}
else
{
//
// If they haven't selected a forum for pruning yet then
// display a select box to use for pruning.
//
if( empty($HTTP_POST_VARS[POST_FORUM_URL]) )
{
//
// Output a selection table if no forum id has been specified.
//
$template->set_filenames(array(
'body' => 'admin/forum_prune_select_body.tpl')
);
$select_list = '<select name="' . POST_FORUM_URL . '">';
$select_list .= '<option value="-1">' . $lang['All_Forums'] . '</option>';
for($i = 0; $i < count($forum_rows); $i++)
{
$select_list .= '<option value="' . $forum_rows[$i]['forum_id'] . '">' . $forum_rows[$i]['forum_name'] . '</option>';
}
$select_list .= '</select>';
//
// Assign the template variables.
//
$template->assign_vars(array(
'L_FORUM_PRUNE' => $lang['Forum_Prune'],
'L_SELECT_FORUM' => $lang['Select_a_Forum'],
'L_LOOK_UP' => $lang['Look_up_Forum'],
'S_FORUMPRUNE_ACTION' => append_sid("admin_forum_prune.$phpEx"),
'S_FORUMS_SELECT' => $select_list)
);
}
else
{
$forum_id = intval($HTTP_POST_VARS[POST_FORUM_URL]);
//
// Output the form to retrieve Prune information.
//
$template->set_filenames(array(
'body' => 'admin/forum_prune_body.tpl')
);
$forum_name = ( $forum_id == -1 ) ? $lang['All_Forums'] : $forum_rows[0]['forum_name'];
$prune_data = $lang['Prune_topics_not_posted'] . " ";
$prune_data .= '<input type="text" name="prunedays" size="4"> ' . $lang['Days'];
$hidden_input = '<input type="hidden" name="' . POST_FORUM_URL . '" value="' . $forum_id . '">';
//
// Assign the template variables.
//
$template->assign_vars(array(
'FORUM_NAME' => $forum_name,
'L_FORUM_PRUNE' => $lang['Forum_Prune'],
'L_FORUM_PRUNE_EXPLAIN' => $lang['Forum_Prune_explain'],
'L_DO_PRUNE' => $lang['Do_Prune'],
'S_FORUMPRUNE_ACTION' => append_sid("admin_forum_prune.$phpEx"),
'S_PRUNE_DATA' => $prune_data,
'S_HIDDEN_VARS' => $hidden_input)
);
}
}
//
// Actually output the page here.
//
$template->pparse('body');
include('page_footer_admin.'.$phpEx);
?>

View File

@@ -1,351 +0,0 @@
<?php
/***************************************************************************
* admin_forumauth.php
* -------------------
* begin : Saturday, Feb 13, 2001
* copyright : (C) 2001 The phpBB Group
* email : support@phpbb.com
*
* $Id$
*
*
***************************************************************************/
/***************************************************************************
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
***************************************************************************/
define('IN_PHPBB', 1);
if( !empty($setmodules) )
{
$filename = basename(__FILE__);
$module['Forums']['Permissions'] = $filename;
return;
}
//
// Load default header
//
$no_page_header = TRUE;
$phpbb_root_path = "../";
require($phpbb_root_path . 'extension.inc');
require('pagestart.' . $phpEx);
//
// Start program - define vars
//
// View Read Post Reply Edit Delete Sticky Announce Vote Poll
$simple_auth_ary = array(
0 => array(AUTH_ALL, AUTH_ALL, AUTH_ALL, AUTH_ALL, AUTH_REG, AUTH_REG, AUTH_MOD, AUTH_MOD, AUTH_REG, AUTH_REG),
1 => array(AUTH_ALL, AUTH_ALL, AUTH_REG, AUTH_REG, AUTH_REG, AUTH_REG, AUTH_MOD, AUTH_MOD, AUTH_REG, AUTH_REG),
2 => array(AUTH_REG, AUTH_REG, AUTH_REG, AUTH_REG, AUTH_REG, AUTH_REG, AUTH_MOD, AUTH_MOD, AUTH_REG, AUTH_REG),
3 => array(AUTH_ALL, AUTH_ACL, AUTH_ACL, AUTH_ACL, AUTH_ACL, AUTH_ACL, AUTH_ACL, AUTH_MOD, AUTH_ACL, AUTH_ACL),
4 => array(AUTH_ACL, AUTH_ACL, AUTH_ACL, AUTH_ACL, AUTH_ACL, AUTH_ACL, AUTH_ACL, AUTH_MOD, AUTH_ACL, AUTH_ACL),
5 => array(AUTH_ALL, AUTH_MOD, AUTH_MOD, AUTH_MOD, AUTH_MOD, AUTH_MOD, AUTH_MOD, AUTH_MOD, AUTH_MOD, AUTH_MOD),
6 => array(AUTH_MOD, AUTH_MOD, AUTH_MOD, AUTH_MOD, AUTH_MOD, AUTH_MOD, AUTH_MOD, AUTH_MOD, AUTH_MOD, AUTH_MOD),
);
$simple_auth_types = array($lang['Public'], $lang['Registered'], $lang['Registered'] . " [" . $lang['Hidden'] . "]", $lang['Private'], $lang['Private'] . " [" . $lang['Hidden'] . "]", $lang['Moderators'], $lang['Moderators'] . " [" . $lang['Hidden'] . "]");
$forum_auth_fields = array("auth_view", "auth_read", "auth_post", "auth_reply", "auth_edit", "auth_delete", "auth_sticky", "auth_announce", "auth_vote", "auth_pollcreate");
$field_names = array(
"auth_view" => $lang['View'],
"auth_read" => $lang['Read'],
"auth_post" => $lang['Post'],
"auth_reply" => $lang['Reply'],
"auth_edit" => $lang['Edit'],
"auth_delete" => $lang['Delete'],
"auth_sticky" => $lang['Sticky'],
"auth_announce" => $lang['Announce'],
"auth_vote" => $lang['Vote'],
"auth_pollcreate" => $lang['Pollcreate']);
$forum_auth_levels = array("ALL", "REG", "PRIVATE", "MOD", "ADMIN");
$forum_auth_const = array(AUTH_ALL, AUTH_REG, AUTH_ACL, AUTH_MOD, AUTH_ADMIN);
if(isset($HTTP_GET_VARS[POST_FORUM_URL]) || isset($HTTP_POST_VARS[POST_FORUM_URL]))
{
$forum_id = (isset($HTTP_POST_VARS[POST_FORUM_URL])) ? intval($HTTP_POST_VARS[POST_FORUM_URL]) : intval($HTTP_GET_VARS[POST_FORUM_URL]);
$forum_sql = "AND forum_id = $forum_id";
}
else
{
unset($forum_id);
$forum_sql = "";
}
if( isset($HTTP_GET_VARS['adv']) )
{
$adv = intval($HTTP_GET_VARS['adv']);
}
else
{
unset($adv);
}
//
// Start program proper
//
if( isset($HTTP_POST_VARS['submit']) )
{
$sql = "";
if(!empty($forum_id))
{
$sql = "UPDATE " . FORUMS_TABLE . " SET ";
if(isset($HTTP_POST_VARS['simpleauth']))
{
$simple_ary = $simple_auth_ary[$HTTP_POST_VARS['simpleauth']];
for($i = 0; $i < count($simple_ary); $i++)
{
$sql .= $forum_auth_fields[$i] . " = " . $simple_ary[$i];
if($i < count($simple_ary) - 1)
{
$sql .= ", ";
}
}
$sql .= " WHERE forum_id = $forum_id";
}
else
{
for($i = 0; $i < count($forum_auth_fields); $i++)
{
$value = $HTTP_POST_VARS[$forum_auth_fields[$i]];
if($forum_auth_fields[$i] == 'auth_vote')
{
if( $HTTP_POST_VARS['auth_vote'] == AUTH_ALL )
{
$value = AUTH_REG;
}
}
$sql .= $forum_auth_fields[$i] . " = " . $value;
if($i < count($forum_auth_fields) - 1)
{
$sql .= ", ";
}
}
$sql .= " WHERE forum_id = $forum_id";
}
if($sql != "")
{
if(!$db->sql_query($sql))
{
message_die(GENERAL_ERROR, "Couldn't update auth table!", "", __LINE__, __FILE__, $sql);
}
}
$forum_sql = "";
$adv = 0;
}
$template->assign_vars(array(
"META" => '<meta http-equiv="refresh" content="3;url=' . append_sid("admin_forumauth.$phpEx?" . POST_FORUM_URL . "=$forum_id") . '">')
);
$message = $lang['Forum_auth_updated'] . '<br /><br />' . sprintf($lang['Click_return_forumauth'], '<a href="' . append_sid("admin_forumauth.$phpEx") . '">', "</a>");
message_die(GENERAL_MESSAGE, $message);
} // End of submit
//
// Get required information, either all forums if
// no id was specified or just the requsted if it
// was
//
$sql = "SELECT f.*
FROM " . FORUMS_TABLE . " f, " . CATEGORIES_TABLE . " c
WHERE c.cat_id = f.cat_id
$forum_sql
ORDER BY c.cat_order ASC, f.forum_order ASC";
if ( !($result = $db->sql_query($sql)) )
{
message_die(GENERAL_ERROR, "Couldn't obtain forum list", "", __LINE__, __FILE__, $sql);
}
$forum_rows = $db->sql_fetchrowset($result);
$db->sql_freeresult($result);
if( empty($forum_id) )
{
//
// Output the selection table if no forum id was
// specified
//
$template->set_filenames(array(
"body" => "admin/auth_select_body.tpl")
);
$select_list = '<select name="' . POST_FORUM_URL . '">';
for($i = 0; $i < count($forum_rows); $i++)
{
$select_list .= '<option value="' . $forum_rows[$i]['forum_id'] . '">' . $forum_rows[$i]['forum_name'] . '</option>';
}
$select_list .= '</select>';
$template->assign_vars(array(
"L_AUTH_TITLE" => $lang['Auth_Control_Forum'],
"L_AUTH_EXPLAIN" => $lang['Forum_auth_explain'],
"L_AUTH_SELECT" => $lang['Select_a_Forum'],
"L_LOOK_UP" => $lang['Look_up_Forum'],
"S_AUTH_ACTION" => append_sid("admin_forumauth.$phpEx"),
"S_AUTH_SELECT" => $select_list)
);
}
else
{
//
// Output the authorisation details if an id was
// specified
//
$template->set_filenames(array(
"body" => "admin/auth_forum_body.tpl")
);
$forum_name = $forum_rows[0]['forum_name'];
@reset($simple_auth_ary);
while( list($key, $auth_levels) = each($simple_auth_ary))
{
$matched = 1;
for($k = 0; $k < count($auth_levels); $k++)
{
$matched_type = $key;
if ( $forum_rows[0][$forum_auth_fields[$k]] != $auth_levels[$k] )
{
$matched = 0;
}
}
if ( $matched )
{
break;
}
}
//
// If we didn't get a match above then we
// automatically switch into 'advanced' mode
//
if(!isset($adv) && !$matched)
{
$adv = 1;
}
$s_column_span == 0;
if( empty($adv) )
{
$simple_auth = "<select name=\"simpleauth\">";
for($j = 0; $j < count($simple_auth_types); $j++)
{
if($matched_type == $j)
{
$simple_auth .= "<option value=\"$j\" selected>";
$simple_auth .= $simple_auth_types[$j];
$simple_auth .= "</option>";
}
else
{
$simple_auth .= "<option value=\"$j\">" . $simple_auth_types[$j] . "</option>";
}
}
$simple_auth .= "</select>";
$template->assign_block_vars("forum_auth_titles", array(
"CELL_TITLE" => $lang['Simple_mode'])
);
$template->assign_block_vars("forum_auth_data", array(
"S_AUTH_LEVELS_SELECT" => $simple_auth)
);
$s_column_span++;
}
else
{
//
// Output values of individual
// fields
//
for($j = 0; $j < count($forum_auth_fields); $j++)
{
$custom_auth[$j] = "&nbsp;<select name=\"" . $forum_auth_fields[$j] . "\">";
for($k = 0; $k < count($forum_auth_levels); $k++)
{
if ( $forum_rows[0][$forum_auth_fields[$j]] == $forum_auth_const[$k] )
{
$custom_auth[$j] .= "<option value=\"" . $forum_auth_const[$k] . "\" selected>";
$custom_auth[$j] .= $lang['Forum_' . $forum_auth_levels[$k]];
$custom_auth[$j] .= "</option>";
}
else
{
$custom_auth[$j] .= "<option value=\"" . $forum_auth_const[$k] . "\">". $lang['Forum_' . $forum_auth_levels[$k]] . "</option>";
}
}
$custom_auth[$j] .= "</select>&nbsp;";
$cell_title = $field_names[$forum_auth_fields[$j]];
$template->assign_block_vars("forum_auth_titles", array(
"CELL_TITLE" => $cell_title)
);
$template->assign_block_vars("forum_auth_data", array(
"S_AUTH_LEVELS_SELECT" => $custom_auth[$j])
);
$s_column_span++;
}
}
$adv_mode = (empty($adv)) ? "1" : "0";
$switch_mode = append_sid("admin_forumauth.$phpEx?" . POST_FORUM_URL . "=" . $forum_id . "&adv=". $adv_mode);
$switch_mode_text = ( empty($adv) ) ? $lang['Advanced_mode'] : $lang['Simple_mode'];
$u_switch_mode = '<a href="' . $switch_mode . '">' . $switch_mode_text . '</a>';
$s_hidden_fields = '<input type="hidden" name="' . POST_FORUM_URL . '" value="' . $forum_id . '">';
$template->assign_vars(array(
"FORUM_NAME" => $forum_name,
"L_AUTH_TITLE" => $lang['Auth_Control_Forum'],
"L_AUTH_EXPLAIN" => $lang['Forum_auth_explain'],
"L_SUBMIT" => $lang['Submit'],
"L_RESET" => $lang['Reset'],
"U_SWITCH_MODE" => $u_switch_mode,
"S_FORUMAUTH_ACTION" => append_sid("admin_forumauth.$phpEx"),
"S_COLUMN_SPAN" => $s_column_span,
"S_HIDDEN_FIELDS" => $s_hidden_fields)
);
}
include('page_header_admin.'.$phpEx);
$template->pparse("body");
include('page_footer_admin.'.$phpEx);
?>

View File

@@ -1,936 +0,0 @@
<?php
/***************************************************************************
* admin_forums.php
* -------------------
* begin : Thursday, Jul 12, 2001
* copyright : (C) 2001 The phpBB Group
* email : support@phpbb.com
*
* $Id$
*
*
***************************************************************************/
/***************************************************************************
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
***************************************************************************/
define('IN_PHPBB', 1);
if( !empty($setmodules) )
{
$file = basename(__FILE__);
$module['Forums']['Manage'] = $file;
return;
}
//
// Load default header
//
$phpbb_root_path = "../";
require($phpbb_root_path . 'extension.inc');
require('pagestart.' . $phpEx);
include($phpbb_root_path . 'includes/functions_admin.'.$phpEx);
$forum_auth_ary = array(
"auth_view" => AUTH_ALL,
"auth_read" => AUTH_ALL,
"auth_post" => AUTH_ALL,
"auth_reply" => AUTH_ALL,
"auth_edit" => AUTH_REG,
"auth_delete" => AUTH_REG,
"auth_sticky" => AUTH_REG,
"auth_announce" => AUTH_MOD,
"auth_vote" => AUTH_REG,
"auth_pollcreate" => AUTH_REG
);
//
// Mode setting
//
if( isset($HTTP_POST_VARS['mode']) || isset($HTTP_GET_VARS['mode']) )
{
$mode = ( isset($HTTP_POST_VARS['mode']) ) ? $HTTP_POST_VARS['mode'] : $HTTP_GET_VARS['mode'];
}
else
{
$mode = "";
}
// ------------------
// Begin function block
//
function get_info($mode, $id)
{
global $db;
switch($mode)
{
case 'category':
$table = CATEGORIES_TABLE;
$idfield = 'cat_id';
$namefield = 'cat_title';
break;
case 'forum':
$table = FORUMS_TABLE;
$idfield = 'forum_id';
$namefield = 'forum_name';
break;
default:
message_die(GENERAL_ERROR, "Wrong mode for generating select list", "", __LINE__, __FILE__);
break;
}
$sql = "SELECT count(*) as total
FROM $table";
if( !$result = $db->sql_query($sql) )
{
message_die(GENERAL_ERROR, "Couldn't get Forum/Category information", "", __LINE__, __FILE__, $sql);
}
$count = $db->sql_fetchrow($result);
$count = $count['total'];
$sql = "SELECT *
FROM $table
WHERE $idfield = $id";
if( !$result = $db->sql_query($sql) )
{
message_die(GENERAL_ERROR, "Couldn't get Forum/Category information", "", __LINE__, __FILE__, $sql);
}
if( $db->sql_numrows($result) != 1 )
{
message_die(GENERAL_ERROR, "Forum/Category doesn't exist or multiple forums/categories with ID $id", "", __LINE__, __FILE__);
}
$return = $db->sql_fetchrow($result);
$return['number'] = $count;
return $return;
}
function get_list($mode, $id, $select)
{
global $db;
switch($mode)
{
case 'category':
$table = CATEGORIES_TABLE;
$idfield = 'cat_id';
$namefield = 'cat_title';
break;
case 'forum':
$table = FORUMS_TABLE;
$idfield = 'forum_id';
$namefield = 'forum_name';
break;
default:
message_die(GENERAL_ERROR, "Wrong mode for generating select list", "", __LINE__, __FILE__);
break;
}
$sql = "SELECT *
FROM $table";
if( $select == 0 )
{
$sql .= " WHERE $idfield <> $id";
}
if( !$result = $db->sql_query($sql) )
{
message_die(GENERAL_ERROR, "Couldn't get list of Categories/Forums", "", __LINE__, __FILE__, $sql);
}
$cat_list = "";
while( $row = $db->sql_fetchrow($result) )
{
$s = "";
if ($row[$idfield] == $id)
{
$s = " selected=\"selected\"";
}
$catlist .= "<option value=\"$row[$idfield]\"$s>" . $row[$namefield] . "</option>\n";
}
return($catlist);
}
function renumber_order($mode, $cat = 0)
{
global $db;
switch($mode)
{
case 'category':
$table = CATEGORIES_TABLE;
$idfield = 'cat_id';
$orderfield = 'cat_order';
$cat = 0;
break;
case 'forum':
$table = FORUMS_TABLE;
$idfield = 'forum_id';
$orderfield = 'forum_order';
$catfield = 'cat_id';
break;
default:
message_die(GENERAL_ERROR, "Wrong mode for generating select list", "", __LINE__, __FILE__);
break;
}
$sql = "SELECT * FROM $table";
if( $cat != 0)
{
$sql .= " WHERE $catfield = $cat";
}
$sql .= " ORDER BY $orderfield ASC";
if( !$result = $db->sql_query($sql) )
{
message_die(GENERAL_ERROR, "Couldn't get list of Categories", "", __LINE__, __FILE__, $sql);
}
$i = 10;
$inc = 10;
while( $row = $db->sql_fetchrow($result) )
{
$sql = "UPDATE $table
SET $orderfield = $i
WHERE $idfield = " . $row[$idfield];
if( !$db->sql_query($sql) )
{
message_die(GENERAL_ERROR, "Couldn't update order fields", "", __LINE__, __FILE__, $sql);
}
$i += 10;
}
}
//
// End function block
// ------------------
//
// Begin program proper
//
if( isset($HTTP_POST_VARS['addforum']) || isset($HTTP_POST_VARS['addcategory']) )
{
$mode = ( isset($HTTP_POST_VARS['addforum']) ) ? "addforum" : "addcat";
if( $mode == "addforum" )
{
list($cat_id) = each($HTTP_POST_VARS['addforum']);
//
// stripslashes needs to be run on this because slashes are added when the forum name is posted
//
$forumname = stripslashes($HTTP_POST_VARS['forumname'][$cat_id]);
}
}
if( !empty($mode) )
{
switch($mode)
{
case 'addforum':
case 'editforum':
//
// Show form to create/modify a forum
//
if ($mode == 'editforum')
{
// $newmode determines if we are going to INSERT or UPDATE after posting?
$l_title = $lang['Edit_forum'];
$newmode = 'modforum';
$buttonvalue = $lang['Update'];
$forum_id = intval($HTTP_GET_VARS[POST_FORUM_URL]);
$row = get_info('forum', $forum_id);
$cat_id = $row['cat_id'];
$forumname = $row['forum_name'];
$forumdesc = $row['forum_desc'];
$forumstatus = $row['forum_status'];
//
// start forum prune stuff.
//
if( $row['prune_enable'] )
{
$prune_enabled = "checked=\"checked\"";
$sql = "SELECT *
FROM " . PRUNE_TABLE . "
WHERE forum_id = $forum_id";
if(!$pr_result = $db->sql_query($sql))
{
message_die(GENERAL_ERROR, "Auto-Prune: Couldn't read auto_prune table.", __LINE__, __FILE__);
}
$pr_row = $db->sql_fetchrow($pr_result);
}
else
{
$prune_enabled = '';
}
}
else
{
$l_title = $lang['Create_forum'];
$newmode = 'createforum';
$buttonvalue = $lang['Create_forum'];
$forumdesc = '';
$forumstatus = FORUM_UNLOCKED;
$forum_id = '';
$prune_enabled = '';
}
$catlist = get_list('category', $cat_id, TRUE);
$forumstatus == ( FORUM_LOCKED ) ? $forumlocked = "selected=\"selected\"" : $forumunlocked = "selected=\"selected\"";
$statuslist = "<option value=\"" . FORUM_UNLOCKED . "\" $forumunlocked>Unlocked</option>\n";
$statuslist .= "<option value=\"" . FORUM_LOCKED . "\" $forumlocked>Locked</option>\n";
$template->set_filenames(array(
"body" => "admin/forum_edit_body.tpl")
);
$s_hidden_fields = '<input type="hidden" name="mode" value="' . $newmode .'" /><input type="hidden" name="' . POST_FORUM_URL . '" value="' . $forum_id . '" />';
$template->assign_vars(array(
'S_FORUM_ACTION' => append_sid("admin_forums.$phpEx"),
'S_HIDDEN_FIELDS' => $s_hidden_fields,
'S_SUBMIT_VALUE' => $buttonvalue,
'S_CAT_LIST' => $catlist,
'S_STATUS_LIST' => $statuslist,
'S_PRUNE_ENABLED' => $prune_enabled,
'L_FORUM_TITLE' => $l_title,
'L_FORUM_EXPLAIN' => $lang['Forum_edit_delete_explain'],
'L_FORUM_SETTINGS' => $lang['Forum_settings'],
'L_FORUM_NAME' => $lang['Forum_name'],
'L_CATEGORY' => $lang['Category'],
'L_FORUM_DESCRIPTION' => $lang['Forum_desc'],
'L_FORUM_STATUS' => $lang['Forum_status'],
'L_AUTO_PRUNE' => $lang['Forum_pruning'],
'L_ENABLED' => $lang['Enabled'],
'L_PRUNE_DAYS' => $lang['prune_days'],
'L_PRUNE_FREQ' => $lang['prune_freq'],
'L_DAYS' => $lang['Days'],
'PRUNE_DAYS' => ( isset($pr_row['prune_days']) ) ? $pr_row['prune_days'] : 7,
'PRUNE_FREQ' => ( isset($pr_row['prune_freq']) ) ? $pr_row['prune_freq'] : 1,
'FORUM_NAME' => $forumname,
'DESCRIPTION' => $forumdesc)
);
$template->pparse("body");
break;
case 'createforum':
//
// Create a forum in the DB
//
if( trim($HTTP_POST_VARS['forumname']) == "" )
{
message_die(GENERAL_ERROR, "Can't create a forum without a name");
}
$sql = "SELECT MAX(forum_order) AS max_order
FROM " . FORUMS_TABLE . "
WHERE cat_id = " . intval($HTTP_POST_VARS[POST_CAT_URL]);
if( !$result = $db->sql_query($sql) )
{
message_die(GENERAL_ERROR, "Couldn't get order number from forums table", "", __LINE__, __FILE__, $sql);
}
$row = $db->sql_fetchrow($result);
$max_order = $row['max_order'];
$next_order = $max_order + 10;
$sql = "SELECT MAX(forum_id) AS max_id
FROM " . FORUMS_TABLE;
if( !$result = $db->sql_query($sql) )
{
message_die(GENERAL_ERROR, "Couldn't get order number from forums table", "", __LINE__, __FILE__, $sql);
}
$row = $db->sql_fetchrow($result);
$max_id = $row['max_id'];
$next_id = $max_id + 1;
//
// Default permissions of public ::
//
$field_sql = "";
$value_sql = "";
while( list($field, $value) = each($forum_auth_ary) )
{
$field_sql .= ", $field";
$value_sql .= ", $value";
}
// There is no problem having duplicate forum names so we won't check for it.
$sql = "INSERT INTO " . FORUMS_TABLE . " (forum_id, forum_name, cat_id, forum_desc, forum_order, forum_status, prune_enable" . $field_sql . ")
VALUES ('" . $next_id . "', '" . str_replace("\'", "''", $HTTP_POST_VARS['forumname']) . "', " . intval($HTTP_POST_VARS[POST_CAT_URL]) . ", '" . str_replace("\'", "''", $HTTP_POST_VARS['forumdesc']) . "', $next_order, " . intval($HTTP_POST_VARS['forumstatus']) . ", " . intval($HTTP_POST_VARS['prune_enable']) . $value_sql . ")";
if( !$result = $db->sql_query($sql) )
{
message_die(GENERAL_ERROR, "Couldn't insert row in forums table", "", __LINE__, __FILE__, $sql);
}
if( $HTTP_POST_VARS['prune_enable'] )
{
if( $HTTP_POST_VARS['prune_days'] == "" || $HTTP_POST_VARS['prune_freq'] == "")
{
message_die(GENERAL_MESSAGE, $lang['Set_prune_data']);
}
$sql = "INSERT INTO " . PRUNE_TABLE . " (forum_id, prune_days, prune_freq)
VALUES('" . $next_id . "', " . intval($HTTP_POST_VARS['prune_days']) . ", " . intval($HTTP_POST_VARS['prune_freq']) . ")";
if( !$result = $db->sql_query($sql) )
{
message_die(GENERAL_ERROR, "Couldn't insert row in prune table", "", __LINE__, __FILE__, $sql);
}
}
$message = $lang['Forums_updated'] . "<br /><br />" . sprintf($lang['Click_return_forumadmin'], "<a href=\"" . append_sid("admin_forums.$phpEx") . "\">", "</a>") . "<br /><br />" . sprintf($lang['Click_return_admin_index'], "<a href=\"" . append_sid("index.$phpEx?pane=right") . "\">", "</a>");
message_die(GENERAL_MESSAGE, $message);
break;
case 'modforum':
// Modify a forum in the DB
if( isset($HTTP_POST_VARS['prune_enable']))
{
if( $HTTP_POST_VARS['prune_enable'] != 1 )
{
$HTTP_POST_VARS['prune_enable'] = 0;
}
}
$sql = "UPDATE " . FORUMS_TABLE . "
SET forum_name = '" . str_replace("\'", "''", $HTTP_POST_VARS['forumname']) . "', cat_id = " . intval($HTTP_POST_VARS[POST_CAT_URL]) . ", forum_desc = '" . str_replace("\'", "''", $HTTP_POST_VARS['forumdesc']) . "', forum_status = " . intval($HTTP_POST_VARS['forumstatus']) . ", prune_enable = " . intval($HTTP_POST_VARS['prune_enable']) . "
WHERE forum_id = " . intval($HTTP_POST_VARS[POST_FORUM_URL]);
if( !$result = $db->sql_query($sql) )
{
message_die(GENERAL_ERROR, "Couldn't update forum information", "", __LINE__, __FILE__, $sql);
}
if( $HTTP_POST_VARS['prune_enable'] == 1 )
{
if( $HTTP_POST_VARS['prune_days'] == "" || $HTTP_POST_VARS['prune_freq'] == "" )
{
message_die(GENERAL_MESSAGE, $lang['Set_prune_data']);
}
$sql = "SELECT *
FROM " . PRUNE_TABLE . "
WHERE forum_id = " . intval($HTTP_POST_VARS[POST_FORUM_URL]);
if( !$result = $db->sql_query($sql) )
{
message_die(GENERAL_ERROR, "Couldn't get forum Prune Information","",__LINE__, __FILE__, $sql);
}
if( $db->sql_numrows($result) > 0 )
{
$sql = "UPDATE " . PRUNE_TABLE . "
SET prune_days = " . intval($HTTP_POST_VARS['prune_days']) . ", prune_freq = " . intval($HTTP_POST_VARS['prune_freq']) . "
WHERE forum_id = " . intval($HTTP_POST_VARS[POST_FORUM_URL]);
}
else
{
$sql = "INSERT INTO " . PRUNE_TABLE . " (forum_id, prune_days, prune_freq)
VALUES(" . intval($HTTP_POST_VARS[POST_FORUM_URL]) . ", " . intval($HTTP_POST_VARS['prune_days']) . ", " . intval($HTTP_POST_VARS['prune_freq']) . ")";
}
if( !$result = $db->sql_query($sql) )
{
message_die(GENERAL_ERROR, "Couldn't Update Forum Prune Information","",__LINE__, __FILE__, $sql);
}
}
$message = $lang['Forums_updated'] . "<br /><br />" . sprintf($lang['Click_return_forumadmin'], "<a href=\"" . append_sid("admin_forums.$phpEx") . "\">", "</a>") . "<br /><br />" . sprintf($lang['Click_return_admin_index'], "<a href=\"" . append_sid("index.$phpEx?pane=right") . "\">", "</a>");
message_die(GENERAL_MESSAGE, $message);
break;
case 'addcat':
// Create a category in the DB
if( trim($HTTP_POST_VARS['categoryname']) == '')
{
message_die(GENERAL_ERROR, "Can't create a category without a name");
}
$sql = "SELECT MAX(cat_order) AS max_order
FROM " . CATEGORIES_TABLE;
if( !$result = $db->sql_query($sql) )
{
message_die(GENERAL_ERROR, "Couldn't get order number from categories table", "", __LINE__, __FILE__, $sql);
}
$row = $db->sql_fetchrow($result);
$max_order = $row['max_order'];
$next_order = $max_order + 10;
//
// There is no problem having duplicate forum names so we won't check for it.
//
$sql = "INSERT INTO " . CATEGORIES_TABLE . " (cat_title, cat_order)
VALUES ('" . $HTTP_POST_VARS['categoryname'] . "', $next_order)";
if( !$result = $db->sql_query($sql) )
{
message_die(GENERAL_ERROR, "Couldn't insert row in categories table", "", __LINE__, __FILE__, $sql);
}
$message = $lang['Forums_updated'] . "<br /><br />" . sprintf($lang['Click_return_forumadmin'], "<a href=\"" . append_sid("admin_forums.$phpEx") . "\">", "</a>") . "<br /><br />" . sprintf($lang['Click_return_admin_index'], "<a href=\"" . append_sid("index.$phpEx?pane=right") . "\">", "</a>");
message_die(GENERAL_MESSAGE, $message);
break;
case 'editcat':
//
// Show form to edit a category
//
$newmode = 'modcat';
$buttonvalue = $lang['Update'];
$cat_id = intval($HTTP_GET_VARS[POST_CAT_URL]);
$row = get_info('category', $cat_id);
$cat_title = $row['cat_title'];
$template->set_filenames(array(
"body" => "admin/category_edit_body.tpl")
);
$s_hidden_fields = '<input type="hidden" name="mode" value="' . $newmode . '" /><input type="hidden" name="' . POST_CAT_URL . '" value="' . $cat_id . '" />';
$template->assign_vars(array(
'CAT_TITLE' => $cat_title,
'L_EDIT_CATEGORY' => $lang['Edit_Category'],
'L_EDIT_CATEGORY_EXPLAIN' => $lang['Edit_Category_explain'],
'L_CATEGORY' => $lang['Category'],
'S_HIDDEN_FIELDS' => $s_hidden_fields,
'S_SUBMIT_VALUE' => $buttonvalue,
'S_FORUM_ACTION' => append_sid("admin_forums.$phpEx"))
);
$template->pparse("body");
break;
case 'modcat':
// Modify a category in the DB
$sql = "UPDATE " . CATEGORIES_TABLE . "
SET cat_title = '" . str_replace("\'", "''", $HTTP_POST_VARS['cat_title']) . "'
WHERE cat_id = " . intval($HTTP_POST_VARS[POST_CAT_URL]);
if( !$result = $db->sql_query($sql) )
{
message_die(GENERAL_ERROR, "Couldn't update forum information", "", __LINE__, __FILE__, $sql);
}
$message = $lang['Forums_updated'] . "<br /><br />" . sprintf($lang['Click_return_forumadmin'], "<a href=\"" . append_sid("admin_forums.$phpEx") . "\">", "</a>") . "<br /><br />" . sprintf($lang['Click_return_admin_index'], "<a href=\"" . append_sid("index.$phpEx?pane=right") . "\">", "</a>");
message_die(GENERAL_MESSAGE, $message);
break;
case 'deleteforum':
// Show form to delete a forum
$forum_id = intval($HTTP_GET_VARS[POST_FORUM_URL]);
$select_to = '<select name="to_id">';
$select_to .= "<option value=\"-1\"$s>" . $lang['Delete_all_posts'] . "</option>\n";
$select_to .= get_list('forum', $forum_id, 0);
$select_to .= '</select>';
$buttonvalue = $lang['Move_and_Delete'];
$newmode = 'movedelforum';
$foruminfo = get_info('forum', $forum_id);
$name = $foruminfo['forum_name'];
$template->set_filenames(array(
"body" => "admin/forum_delete_body.tpl")
);
$s_hidden_fields = '<input type="hidden" name="mode" value="' . $newmode . '" /><input type="hidden" name="from_id" value="' . $forum_id . '" />';
$template->assign_vars(array(
'NAME' => $name,
'L_FORUM_DELETE' => $lang['Forum_delete'],
'L_FORUM_DELETE_EXPLAIN' => $lang['Forum_delete_explain'],
'L_MOVE_CONTENTS' => $lang['Move_contents'],
'L_FORUM_NAME' => $lang['Forum_name'],
"S_HIDDEN_FIELDS" => $s_hidden_fields,
'S_FORUM_ACTION' => append_sid("admin_forums.$phpEx"),
'S_SELECT_TO' => $select_to,
'S_SUBMIT_VALUE' => $buttonvalue)
);
$template->pparse("body");
break;
case 'movedelforum':
//
// Move or delete a forum in the DB
//
$from_id = intval($HTTP_POST_VARS['from_id']);
$to_id = intval($HTTP_POST_VARS['to_id']);
$delete_old = intval($HTTP_POST_VARS['delete_old']);
// Either delete or move all posts in a forum
if($to_id == -1)
{
include($phpbb_root_path . "includes/prune.$phpEx");
prune($from_id, 0); // Delete everything from forum
}
else
{
$sql = "SELECT *
FROM " . FORUMS_TABLE . "
WHERE forum_id IN ($from_id, $to_id)";
if( !$result = $db->sql_query($sql) )
{
message_die(GENERAL_ERROR, "Couldn't verify existence of forums", "", __LINE__, __FILE__, $sql);
}
if($db->sql_numrows($result) != 2)
{
message_die(GENERAL_ERROR, "Ambiguous forum ID's", "", __LINE__, __FILE__);
}
$sql = "UPDATE " . TOPICS_TABLE . "
SET forum_id = $to_id
WHERE forum_id = $from_id";
if( !$result = $db->sql_query($sql) )
{
message_die(GENERAL_ERROR, "Couldn't move topics to other forum", "", __LINE__, __FILE__, $sql);
}
$sql = "UPDATE " . POSTS_TABLE . "
SET forum_id = $to_id
WHERE forum_id = $from_id";
if( !$result = $db->sql_query($sql) )
{
message_die(GENERAL_ERROR, "Couldn't move posts to other forum", "", __LINE__, __FILE__, $sql);
}
sync('forum', $to_id);
}
$sql = "DELETE FROM " . FORUMS_TABLE . "
WHERE forum_id = $from_id";
if( !$result = $db->sql_query($sql) )
{
message_die(GENERAL_ERROR, "Couldn't delete forum", "", __LINE__, __FILE__, $sql);
}
$sql = "DELETE FROM " . AUTH_ACCESS_TABLE . "
WHERE forum_id = $from_id";
if( !$result = $db->sql_query($sql) )
{
message_die(GENERAL_ERROR, "Couldn't delete forum", "", __LINE__, __FILE__, $sql);
}
$sql = "DELETE FROM " . PRUNE_TABLE . "
WHERE forum_id = $from_id";
if( !$result = $db->sql_query($sql) )
{
message_die(GENERAL_ERROR, "Couldn't delete forum prune information!", "", __LINE__, __FILE__, $sql);
}
$message = $lang['Forums_updated'] . "<br /><br />" . sprintf($lang['Click_return_forumadmin'], "<a href=\"" . append_sid("admin_forums.$phpEx") . "\">", "</a>") . "<br /><br />" . sprintf($lang['Click_return_admin_index'], "<a href=\"" . append_sid("index.$phpEx?pane=right") . "\">", "</a>");
message_die(GENERAL_MESSAGE, $message);
break;
case 'deletecat':
//
// Show form to delete a category
//
$cat_id = intval($HTTP_GET_VARS[POST_CAT_URL]);
$buttonvalue = $lang['Move_and_Delete'];
$newmode = 'movedelcat';
$catinfo = get_info('category', $cat_id);
$name = $catinfo['cat_title'];
if ($catinfo['number'] == 1)
{
$sql = "SELECT count(*) as total
FROM ". FORUMS_TABLE;
if( !$result = $db->sql_query($sql) )
{
message_die(GENERAL_ERROR, "Couldn't get Forum count", "", __LINE__, __FILE__, $sql);
}
$count = $db->sql_fetchrow($result);
$count = $count['total'];
if ($count > 0)
{
message_die(GENERAL_ERROR, $lang['Must_delete_forums']);
}
else
{
$select_to = $lang['Nowhere_to_move'];
}
}
else
{
$select_to = '<select name="to_id">';
$select_to .= get_list('category', $cat_id, 0);
$select_to .= '</select>';
}
$template->set_filenames(array(
"body" => "admin/forum_delete_body.tpl")
);
$s_hidden_fields = '<input type="hidden" name="mode" value="' . $newmode . '" /><input type="hidden" name="from_id" value="' . $cat_id . '" />';
$template->assign_vars(array(
'NAME' => $name,
'L_FORUM_DELETE' => $lang['Forum_delete'],
'L_FORUM_DELETE_EXPLAIN' => $lang['Forum_delete_explain'],
'L_MOVE_CONTENTS' => $lang['Move_contents'],
'L_FORUM_NAME' => $lang['Forum_name'],
'S_HIDDEN_FIELDS' => $s_hidden_fields,
'S_FORUM_ACTION' => append_sid("admin_forums.$phpEx"),
'S_SELECT_TO' => $select_to,
'S_SUBMIT_VALUE' => $buttonvalue)
);
$template->pparse("body");
break;
case 'movedelcat':
//
// Move or delete a category in the DB
//
$from_id = intval($HTTP_POST_VARS['from_id']);
$to_id = intval($HTTP_POST_VARS['to_id']);
if (!empty($to_id))
{
$sql = "SELECT *
FROM " . CATEGORIES_TABLE . "
WHERE cat_id IN ($from_id, $to_id)";
if( !$result = $db->sql_query($sql) )
{
message_die(GENERAL_ERROR, "Couldn't verify existence of categories", "", __LINE__, __FILE__, $sql);
}
if($db->sql_numrows($result) != 2)
{
message_die(GENERAL_ERROR, "Ambiguous category ID's", "", __LINE__, __FILE__);
}
$sql = "UPDATE " . FORUMS_TABLE . "
SET cat_id = $to_id
WHERE cat_id = $from_id";
if( !$result = $db->sql_query($sql) )
{
message_die(GENERAL_ERROR, "Couldn't move forums to other category", "", __LINE__, __FILE__, $sql);
}
}
$sql = "DELETE FROM " . CATEGORIES_TABLE ."
WHERE cat_id = $from_id";
if( !$result = $db->sql_query($sql) )
{
message_die(GENERAL_ERROR, "Couldn't delete category", "", __LINE__, __FILE__, $sql);
}
$message = $lang['Forums_updated'] . "<br /><br />" . sprintf($lang['Click_return_forumadmin'], "<a href=\"" . append_sid("admin_forums.$phpEx") . "\">", "</a>") . "<br /><br />" . sprintf($lang['Click_return_admin_index'], "<a href=\"" . append_sid("index.$phpEx?pane=right") . "\">", "</a>");
message_die(GENERAL_MESSAGE, $message);
break;
case 'forum_order':
//
// Change order of forums in the DB
//
$move = intval($HTTP_GET_VARS['move']);
$forum_id = intval($HTTP_GET_VARS[POST_FORUM_URL]);
$forum_info = get_info('forum', $forum_id);
$cat_id = $forum_info['cat_id'];
$sql = "UPDATE " . FORUMS_TABLE . "
SET forum_order = forum_order + $move
WHERE forum_id = $forum_id";
if( !$result = $db->sql_query($sql) )
{
message_die(GENERAL_ERROR, "Couldn't change category order", "", __LINE__, __FILE__, $sql);
}
renumber_order('forum', $forum_info['cat_id']);
$show_index = TRUE;
break;
case 'cat_order':
//
// Change order of categories in the DB
//
$move = intval($HTTP_GET_VARS['move']);
$cat_id = intval($HTTP_GET_VARS[POST_CAT_URL]);
$sql = "UPDATE " . CATEGORIES_TABLE . "
SET cat_order = cat_order + $move
WHERE cat_id = $cat_id";
if( !$result = $db->sql_query($sql) )
{
message_die(GENERAL_ERROR, "Couldn't change category order", "", __LINE__, __FILE__, $sql);
}
renumber_order('category');
$show_index = TRUE;
break;
case 'forum_sync':
sync('forum', intval($HTTP_GET_VARS[POST_FORUM_URL]));
$show_index = TRUE;
break;
default:
message_die(GENERAL_MESSAGE, $lang['No_mode']);
break;
}
if ($show_index != TRUE)
{
include('page_footer_admin.'.$phpEx);
exit;
}
}
//
// Start page proper
//
$template->set_filenames(array(
"body" => "admin/forum_admin_body.tpl")
);
$template->assign_vars(array(
'S_FORUM_ACTION' => append_sid("admin_forums.$phpEx"),
'L_FORUM_TITLE' => $lang['Forum_admin'],
'L_FORUM_EXPLAIN' => $lang['Forum_admin_explain'],
'L_CREATE_FORUM' => $lang['Create_forum'],
'L_CREATE_CATEGORY' => $lang['Create_category'],
'L_EDIT' => $lang['Edit'],
'L_DELETE' => $lang['Delete'],
'L_MOVE_UP' => $lang['Move_up'],
'L_MOVE_DOWN' => $lang['Move_down'],
'L_RESYNC' => $lang['Resync'])
);
$sql = "SELECT cat_id, cat_title, cat_order
FROM " . CATEGORIES_TABLE . "
ORDER BY cat_order";
if( !$q_categories = $db->sql_query($sql) )
{
message_die(GENERAL_ERROR, "Could not query categories list", "", __LINE__, __FILE__, $sql);
}
if( $total_categories = $db->sql_numrows($q_categories) )
{
$category_rows = $db->sql_fetchrowset($q_categories);
$sql = "SELECT *
FROM " . FORUMS_TABLE . "
ORDER BY cat_id, forum_order";
if(!$q_forums = $db->sql_query($sql))
{
message_die(GENERAL_ERROR, "Could not query forums information", "", __LINE__, __FILE__, $sql);
}
if( $total_forums = $db->sql_numrows($q_forums) )
{
$forum_rows = $db->sql_fetchrowset($q_forums);
}
//
// Okay, let's build the index
//
$gen_cat = array();
for($i = 0; $i < $total_categories; $i++)
{
$cat_id = $category_rows[$i]['cat_id'];
$template->assign_block_vars("catrow", array(
'S_ADD_FORUM_SUBMIT' => "addforum[$cat_id]",
'S_ADD_FORUM_NAME' => "forumname[$cat_id]",
'CAT_ID' => $cat_id,
'CAT_DESC' => $category_rows[$i]['cat_title'],
'U_CAT_EDIT' => append_sid("admin_forums.$phpEx?mode=editcat&amp;" . POST_CAT_URL . "=$cat_id"),
'U_CAT_DELETE' => append_sid("admin_forums.$phpEx?mode=deletecat&amp;" . POST_CAT_URL . "=$cat_id"),
'U_CAT_MOVE_UP' => append_sid("admin_forums.$phpEx?mode=cat_order&amp;move=-15&amp;" . POST_CAT_URL . "=$cat_id"),
'U_CAT_MOVE_DOWN' => append_sid("admin_forums.$phpEx?mode=cat_order&amp;move=15&amp;" . POST_CAT_URL . "=$cat_id"),
'U_VIEWCAT' => append_sid($phpbb_root_path."index.$phpEx?" . POST_CAT_URL . "=$cat_id"))
);
for($j = 0; $j < $total_forums; $j++)
{
$forum_id = $forum_rows[$j]['forum_id'];
if ($forum_rows[$j]['cat_id'] == $cat_id)
{
$template->assign_block_vars("catrow.forumrow", array(
'FORUM_NAME' => $forum_rows[$j]['forum_name'],
'FORUM_DESC' => $forum_rows[$j]['forum_desc'],
'ROW_COLOR' => $row_color,
'NUM_TOPICS' => $forum_rows[$j]['forum_topics'],
'NUM_POSTS' => $forum_rows[$j]['forum_posts'],
'U_VIEWFORUM' => append_sid($phpbb_root_path."viewforum.$phpEx?" . POST_FORUM_URL . "=$forum_id"),
'U_FORUM_EDIT' => append_sid("admin_forums.$phpEx?mode=editforum&amp;" . POST_FORUM_URL . "=$forum_id"),
'U_FORUM_DELETE' => append_sid("admin_forums.$phpEx?mode=deleteforum&amp;" . POST_FORUM_URL . "=$forum_id"),
'U_FORUM_MOVE_UP' => append_sid("admin_forums.$phpEx?mode=forum_order&amp;move=-15&amp;" . POST_FORUM_URL . "=$forum_id"),
'U_FORUM_MOVE_DOWN' => append_sid("admin_forums.$phpEx?mode=forum_order&amp;move=15&amp;" . POST_FORUM_URL . "=$forum_id"),
'U_FORUM_RESYNC' => append_sid("admin_forums.$phpEx?mode=forum_sync&amp;" . POST_FORUM_URL . "=$forum_id"))
);
}// if ... forumid == catid
} // for ... forums
} // for ... categories
}// if ... total_categories
$template->pparse("body");
include('page_footer_admin.'.$phpEx);
?>

View File

@@ -1,359 +0,0 @@
<?php
/***************************************************************************
* admin_groups.php
* -------------------
* begin : Saturday, Feb 13, 2001
* copyright : (C) 2001 The phpBB Group
* email : support@phpbb.com
*
* $Id$
*
*
***************************************************************************/
/***************************************************************************
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
***************************************************************************/
define('IN_PHPBB', 1);
if( !empty($setmodules) )
{
$filename = basename(__FILE__);
$module['Groups']['Manage'] = $filename;
return;
}
//
// Load default header
//
$phpbb_root_path = "../";
require($phpbb_root_path . 'extension.inc');
require('pagestart.' . $phpEx);
if( isset($HTTP_POST_VARS[POST_GROUPS_URL]) || isset($HTTP_GET_VARS[POST_GROUPS_URL]) )
{
$group_id = ( isset($HTTP_POST_VARS[POST_GROUPS_URL]) ) ? intval($HTTP_POST_VARS[POST_GROUPS_URL]) : intval($HTTP_GET_VARS[POST_GROUPS_URL]);
}
else
{
$group_id = "";
}
//
// Mode setting
//
if( isset($HTTP_POST_VARS['mode']) || isset($HTTP_GET_VARS['mode']) )
{
$mode = ( isset($HTTP_POST_VARS['mode']) ) ? $HTTP_POST_VARS['mode'] : $HTTP_GET_VARS['mode'];
}
else
{
$mode = "";
}
if( isset($HTTP_POST_VARS['edit']) || isset($HTTP_POST_VARS['new']) )
{
//
// Ok they are editing a group or creating a new group
//
$template->set_filenames(array(
"body" => "admin/group_edit_body.tpl")
);
if ( isset($HTTP_POST_VARS['edit']) )
{
//
// They're editing. Grab the vars.
//
$sql = "SELECT *
FROM " . GROUPS_TABLE . "
WHERE group_single_user <> " . TRUE . "
AND group_id = $group_id";
if(!$result = $db->sql_query($sql))
{
message_die(GENERAL_ERROR, "Error getting group information", "", __LINE__, __FILE__, $sql);
}
if( !$db->sql_numrows($result) )
{
message_die(GENERAL_MESSAGE, $lang['Group_not_exist']);
}
$group_info = $db->sql_fetchrow($result);
$mode = "editgroup";
$template->assign_block_vars("group_edit", array());
}
else if( isset($HTTP_POST_VARS['new']) )
{
$group_info = array (
"group_name" => "",
"group_description" => "",
"group_moderator" => "",
"group_type" => GROUP_OPEN);
$group_open = "checked=\"checked\"";
$mode = "newgroup";
}
//
// Ok, now we know everything about them, let's show the page.
//
$sql = "SELECT user_id, username
FROM " . USERS_TABLE . "
WHERE user_id <> " . ANONYMOUS . "
ORDER BY username";
$u_result = $db->sql_query($sql);
if( !$u_result )
{
message_die(GENERAL_ERROR, "Couldn't obtain user info for moderator list", "", __LINE__, __FILE__, $sql);
}
$user_list = $db->sql_fetchrowset($u_result);
for($i = 0; $i < count($user_list); $i++)
{
if( $user_list[$i]['user_id'] == $group_info['group_moderator'] )
{
$group_moderator = $user_list[$i]['username'];
}
}
$group_open = ( $group_info['group_type'] == GROUP_OPEN ) ? "checked=\"checked\"" : "";
$group_closed = ( $group_info['group_type'] == GROUP_CLOSED ) ? "checked=\"checked\"" : "";
$group_hidden = ( $group_info['group_type'] == GROUP_HIDDEN ) ? "checked=\"checked\"" : "";
$s_hidden_fields = '<input type="hidden" name="mode" value="' . $mode . '" /><input type="hidden" name="' . POST_GROUPS_URL . '" value="' . $group_id . '" />';
$template->assign_vars(array(
"GROUP_NAME" => $group_info['group_name'],
"GROUP_DESCRIPTION" => $group_info['group_description'],
"GROUP_MODERATOR" => $group_moderator,
"L_GROUP_TITLE" => $lang['Group_administration'],
"L_GROUP_EDIT_DELETE" => ( isset($HTTP_POST_VARS['new']) ) ? $lang['New_group'] : $lang['Edit_group'],
"L_GROUP_NAME" => $lang['group_name'],
"L_GROUP_DESCRIPTION" => $lang['group_description'],
"L_GROUP_MODERATOR" => $lang['group_moderator'],
"L_FIND_USERNAME" => $lang['Find_username'],
"L_GROUP_STATUS" => $lang['group_status'],
"L_GROUP_OPEN" => $lang['group_open'],
"L_GROUP_CLOSED" => $lang['group_closed'],
"L_GROUP_HIDDEN" => $lang['group_hidden'],
"L_GROUP_DELETE" => $lang['group_delete'],
"L_GROUP_DELETE_CHECK" => $lang['group_delete_check'],
"L_SUBMIT" => $lang['Submit'],
"L_RESET" => $lang['Reset'],
"L_DELETE_MODERATOR" => $lang['delete_group_moderator'],
"L_DELETE_MODERATOR_EXPLAIN" => $lang['delete_moderator_explain'],
"L_YES" => $lang['Yes'],
"U_SEARCH_USER" => append_sid("../search.$phpEx?mode=searchuser"),
"S_GROUP_OPEN_TYPE" => GROUP_OPEN,
"S_GROUP_CLOSED_TYPE" => GROUP_CLOSED,
"S_GROUP_HIDDEN_TYPE" => GROUP_HIDDEN,
"S_GROUP_OPEN_CHECKED" => $group_open,
"S_GROUP_CLOSED_CHECKED" => $group_closed,
"S_GROUP_HIDDEN_CHECKED" => $group_hidden,
"S_GROUP_ACTION" => append_sid("admin_groups.$phpEx"),
"S_HIDDEN_FIELDS" => $s_hidden_fields)
);
$template->pparse('body');
}
else if( isset($HTTP_POST_VARS['group_update']) )
{
//
// Ok, they are submitting a group, let's save the data based on if it's new or editing
//
if( isset($HTTP_POST_VARS['group_delete']) )
{
$sql = "DELETE FROM " . GROUPS_TABLE . "
WHERE group_id = " . $group_id;
if ( !$result = $db->sql_query($sql) )
{
message_die(GENERAL_ERROR, "Couldn't update group", "", __LINE__, __FILE__, $sql);
}
$sql = "DELETE FROM " . USER_GROUP_TABLE . "
WHERE group_id = " . $group_id;
if ( !$result = $db->sql_query($sql) )
{
message_die(GENERAL_ERROR, "Couldn't update user_group", "", __LINE__, __FILE__, $sql);
}
$sql = "DELETE FROM " . AUTH_ACCESS_TABLE . "
WHERE group_id = " . $group_id;
if ( !$result = $db->sql_query($sql) )
{
message_die(GENERAL_ERROR, "Couldn't update auth_access", "", __LINE__, __FILE__, $sql);
}
$message = $lang['Deleted_group'] . "<br /><br />" . sprintf($lang['Click_return_groupsadmin'], "<a href=\"" . append_sid("admin_groups.$phpEx") . "\">", "</a>") . "<br /><br />" . sprintf($lang['Click_return_admin_index'], "<a href=\"" . append_sid("index.$phpEx?pane=right") . "\">", "</a>");;
message_die(GENERAL_MESSAGE, $message);
}
else
{
$group_type = isset($HTTP_POST_VARS['group_type']) ? intval($HTTP_POST_VARS['group_type']) : GROUP_OPEN;
$group_name = isset($HTTP_POST_VARS['group_name']) ? trim($HTTP_POST_VARS['group_name']) : "";
$group_description = isset($HTTP_POST_VARS['group_description']) ? trim($HTTP_POST_VARS['group_description']) : "";
$group_moderator = isset($HTTP_POST_VARS['username']) ? $HTTP_POST_VARS['username'] : "";
$delete_old_moderator = isset($HTTP_POST_VARS['delete_old_moderator']) ? intval($HTTP_POST_VARS['delete_old_moderator']) : "";
if( $group_name == "" )
{
message_die(GENERAL_MESSAGE, $lang['No_group_name']);
}
else if( $group_moderator == "" )
{
message_die(GENERAL_MESSAGE, $lang['No_group_moderator']);
}
$this_userdata = get_userdata($group_moderator);
$group_moderator = $this_userdata['user_id'];
if( !$group_moderator )
{
message_die(GENERAL_MESSAGE, $lang['No_group_moderator']);
}
if( $mode == "editgroup" )
{
$sql = "SELECT *
FROM " . GROUPS_TABLE . "
WHERE group_single_user <> " . TRUE . "
AND group_id = " . $group_id;
if(!$result = $db->sql_query($sql))
{
message_die(GENERAL_ERROR, "Error getting group information", "", __LINE__, __FILE__, $sql);
}
if( !$db->sql_numrows($result) )
{
message_die(GENERAL_MESSAGE, $lang['Group_not_exist']);
}
$group_info = $db->sql_fetchrow($result);
if ( $group_info['group_moderator'] != $group_moderator )
{
if ( $delete_old_moderator != "" )
{
$sql = "DELETE FROM " . USER_GROUP_TABLE . "
WHERE user_id = " . $group_info['group_moderator'] . "
AND group_id = " . $group_id;
if ( !$result = $db->sql_query($sql) )
{
message_die(GENERAL_ERROR, "Couldn't update group moderator", "", __LINE__, __FILE__, $sql);
}
}
$sql = "INSERT INTO " . USER_GROUP_TABLE . " (group_id, user_id, user_pending)
VALUES (" . $group_id . ", " . $group_moderator . ", 0)";
if ( !$result = $db->sql_query($sql) )
{
message_die(GENERAL_ERROR, "Couldn't update group moderator", "", __LINE__, __FILE__, $sql);
}
}
$sql = "UPDATE " . GROUPS_TABLE . "
SET group_type = $group_type, group_name = '" . str_replace("\'", "''", $group_name) . "', group_description = '" . str_replace("\'", "''", $group_description) . "', group_moderator = $group_moderator
WHERE group_id = $group_id";
if ( !$result = $db->sql_query($sql) )
{
message_die(GENERAL_ERROR, "Couldn't update group", "", __LINE__, __FILE__, $sql);
}
$message = $lang['Updated_group'] . "<br /><br />" . sprintf($lang['Click_return_groupsadmin'], "<a href=\"" . append_sid("admin_groups.$phpEx") . "\">", "</a>") . "<br /><br />" . sprintf($lang['Click_return_admin_index'], "<a href=\"" . append_sid("index.$phpEx?pane=right") . "\">", "</a>");;
message_die(GENERAL_MESSAGE, $message);
}
else if( $mode == "newgroup" )
{
$sql = "SELECT MAX(group_id) AS new_group_id
FROM " . GROUPS_TABLE;
if ( !$result = $db->sql_query($sql) )
{
message_die(GENERAL_ERROR, "Couldn't insert new group", "", __LINE__, __FILE__, $sql);
}
$row = $db->sql_fetchrow($result);
$new_group_id = $row['new_group_id'] + 1;
$sql = "INSERT INTO " . GROUPS_TABLE . " (group_id, group_type, group_name, group_description, group_moderator, group_single_user)
VALUES ($new_group_id, $group_type, '" . str_replace("\'", "''", $group_name) . "', '" . str_replace("\'", "''", $group_description) . "', $group_moderator, '0')";
if ( !$result = $db->sql_query($sql) )
{
message_die(GENERAL_ERROR, "Couldn't insert new group", "", __LINE__, __FILE__, $sql);
}
$sql = "INSERT INTO " . USER_GROUP_TABLE . " (group_id, user_id, user_pending)
VALUES ($new_group_id, $group_moderator, 0)";
if ( !$result = $db->sql_query($sql) )
{
message_die(GENERAL_ERROR, "Couldn't insert new user-group info", "", __LINE__, __FILE__, $sql);
}
$message = $lang['Added_new_group'] . "<br /><br />" . sprintf($lang['Click_return_groupsadmin'], "<a href=\"" . append_sid("admin_groups.$phpEx") . "\">", "</a>") . "<br /><br />" . sprintf($lang['Click_return_admin_index'], "<a href=\"" . append_sid("index.$phpEx?pane=right") . "\">", "</a>");;
message_die(GENERAL_MESSAGE, $message);
}
else
{
message_die(GENERAL_MESSAGE, $lang['Group_mode_not_selected']);
}
}
}
else
{
$sql = "SELECT group_id, group_name
FROM " . GROUPS_TABLE . "
WHERE group_single_user <> " . TRUE . "
ORDER BY group_name";
$g_result = $db->sql_query($sql);
$group_list = $db->sql_fetchrowset($g_result);
$select_list = "<select name=\"" . POST_GROUPS_URL . "\">";
for($i = 0; $i < count($group_list); $i++)
{
$select_list .= "<option value=\"" . $group_list[$i]['group_id'] . "\">" . $group_list[$i]['group_name'] . "</option>";
}
$select_list .= "</select>";
$template->set_filenames(array(
"body" => "admin/group_select_body.tpl")
);
$template->assign_vars(array(
"L_GROUP_TITLE" => $lang['Group_administration'],
"L_GROUP_EXPLAIN" => $lang['Group_admin_explain'],
"L_GROUP_SELECT" => $lang['Select_group'],
"L_LOOK_UP" => $lang['Look_up_group'],
"L_CREATE_NEW_GROUP" => $lang['New_group'],
"S_GROUP_ACTION" => append_sid("admin_groups.$phpEx"),
"S_GROUP_SELECT" => $select_list)
);
//
// Faking the IF... ELSE statements again...
//
if( count($group_list) > 0 )
{
$template->assign_block_vars("select_box", array());
}
$template->pparse('body');
}
include('page_footer_admin.'.$phpEx);
?>

View File

@@ -1,198 +0,0 @@
<?php
/***************************************************************************
* admin_mass_email.php
* -------------------
* begin : Thu May 31, 2001
* copyright : (C) 2001 The phpBB Group
* email : support@phpbb.com
*
* $Id$
*
****************************************************************************/
/***************************************************************************
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
***************************************************************************/
define('IN_PHPBB', 1);
if( !empty($setmodules) )
{
$filename = basename(__FILE__);
$module['General']['Mass_Email'] = $filename;
return;
}
//
// Load default header
//
$no_page_header = TRUE;
$phpbb_root_path = "../";
require($phpbb_root_path . 'extension.inc');
require('pagestart.' . $phpEx);
//
// Increase maximum execution time in case of a lot of users, but don't complain about it if it isn't
// allowed.
//
@set_time_limit(1200);
$message = "";
$subject = "";
//
// Do the job ...
//
if( isset($HTTP_POST_VARS['submit']) )
{
$group_id = intval($HTTP_POST_VARS[POST_GROUPS_URL]);
if( $group_id != -1 )
{
$sql = "SELECT u.user_email
FROM " . USERS_TABLE . " u, " . USER_GROUP_TABLE . " ug
WHERE ug.group_id = $group_id
AND ug.user_pending <> " . TRUE . "
AND u.user_id = ug.user_id";
}
else
{
$sql = "SELECT user_email
FROM " . USERS_TABLE;
}
if( !$result = $db->sql_query($sql) )
{
message_die(GENERAL_ERROR, "Coult not select group members!", __LINE__, __FILE__, $sql);
}
if( !$db->sql_numrows($result) )
{
//
// Output a relevant GENERAL_MESSAGE about users/group
// not existing
//
}
$email_list = $db->sql_fetchrowset($g_result);
$subject = stripslashes($HTTP_POST_VARS["subject"]);
$message = stripslashes($HTTP_POST_VARS["message"]);
//
// Error checking needs to go here ... if no subject and/or
// no message then skip over the send and return to the form
//
$error = FALSE;
if( !$error )
{
include($phpbb_root_path . 'includes/emailer.'.$phpEx);
//
// Let's do some checking to make sure that mass mail functions
// are working in win32 versions of php.
//
if( preg_match('/[c-z]:\\\.*/i', getenv('PATH')) && !$board_config['smtp_delivery'])
{
// We are running on windows, force delivery to use
// our smtp functions since php's are broken by default
$board_config['smtp_delivery'] = 1;
$board_config['smtp_host'] = get_cfg_var('SMTP');
}
$emailer = new emailer($board_config['smtp_delivery']);
$email_headers = "From: " . $board_config['board_email'] . "\n";
$bcc_list = "";
for($i = 0; $i < count($email_list); $i++)
{
if( $bcc_list != "" )
{
$bcc_list .= ", ";
}
$bcc_list .= $email_list[$i]['user_email'];
}
$email_headers .= "Bcc: $bcc_list\n";
$email_headers .= "Return-Path: " . $userdata['board_email'] . "\n";
$email_headers .= "X-AntiAbuse: Board servername - " . $server_name . "\n";
$email_headers .= "X-AntiAbuse: User_id - " . $userdata['user_id'] . "\n";
$email_headers .= "X-AntiAbuse: Username - " . $userdata['username'] . "\n";
$email_headers .= "X-AntiAbuse: User IP - " . decode_ip($user_ip) . "\r\n";
$emailer->use_template("admin_send_email");
$emailer->email_address($board_config['board_email']);
$emailer->set_subject($subject);
$emailer->extra_headers($email_headers);
$emailer->assign_vars(array(
"SITENAME" => $board_config['sitename'],
"BOARD_EMAIL" => $board_config['board_email'],
"MESSAGE" => $message)
);
$emailer->send();
$emailer->reset();
$message = $lang['Email_sent'] . "<br /><br />" . sprintf($lang['Click_return_admin_index'], "<a href=\"" . append_sid("index.$phpEx?pane=right") . "\">", "</a>");
message_die(GENERAL_MESSAGE, $message);
}
}
//
// Initial selection
//
$sql = "SELECT group_id, group_name
FROM ".GROUPS_TABLE . "
WHERE group_single_user <> 1";
$g_result = $db->sql_query($sql);
$group_list = $db->sql_fetchrowset($g_result);
$select_list = '<select name = "' . POST_GROUPS_URL . '">';
$select_list .= '<option value = "-1">' . $lang['All_users'] . '</option>';
for($i = 0;$i < count($group_list); $i++)
{
$select_list .= "<option value = \"" . $group_list[$i]['group_id'];
$select_list .= "\">" . $group_list[$i]['group_name'] . "</option>";
}
$select_list .= "</select>";
//
// Generate page
//
include('page_header_admin.'.$phpEx);
$template->set_filenames(array(
"body" => "admin/user_email_body.tpl")
);
$template->assign_vars(array(
"MESSAGE" => $message,
"SUBJECT" => $subject,
"L_EMAIL_TITLE" => $lang['Email'],
"L_EMAIL_EXPLAIN" => $lang['Mass_email_explain'],
"L_COMPOSE" => $lang['Compose'],
"L_RECIPIENTS" => $lang['Recipients'],
"L_EMAIL_SUBJECT" => $lang['Subject'],
"L_EMAIL_MSG" => $lang['Message'],
"L_EMAIL" => $lang['Email'],
"L_NOTICE" => $notice,
"S_USER_ACTION" => append_sid('admin_mass_email.'.$phpEx),
"S_GROUP_SELECT" => $select_list)
);
$template->pparse('body');
include('page_footer_admin.'.$phpEx);
?>

View File

@@ -1,365 +0,0 @@
<?php
/***************************************************************************
* admin_ranks.php
* -------------------
* begin : Thursday, Jul 12, 2001
* copyright : (C) 2001 The phpBB Group
* email : support@phpbb.com
*
* $Id$
*
*
***************************************************************************/
/***************************************************************************
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
***************************************************************************/
define('IN_PHPBB', 1);
if( !empty($setmodules) )
{
$file = basename(__FILE__);
$module['Users']['Ranks'] = "$file";
return;
}
//
// Let's set the root dir for phpBB
//
$phpbb_root_path = "../";
require($phpbb_root_path . 'extension.inc');
require('pagestart.' . $phpEx);
if( isset($HTTP_GET_VARS['mode']) || isset($HTTP_POST_VARS['mode']) )
{
$mode = ($HTTP_GET_VARS['mode']) ? $HTTP_GET_VARS['mode'] : $HTTP_POST_VARS['mode'];
}
else
{
//
// These could be entered via a form button
//
if( isset($HTTP_POST_VARS['add']) )
{
$mode = "add";
}
else if( isset($HTTP_POST_VARS['save']) )
{
$mode = "save";
}
else
{
$mode = "";
}
}
if( $mode != "" )
{
if( $mode == "edit" || $mode == "add" )
{
//
// They want to add a new rank, show the form.
//
$rank_id = ( isset($HTTP_GET_VARS['id']) ) ? intval($HTTP_GET_VARS['id']) : 0;
$s_hidden_fields = "";
if( $mode == "edit" )
{
if( empty($rank_id) )
{
message_die(GENERAL_MESSAGE, $lang['Must_select_rank']);
}
$sql = "SELECT * FROM " . RANKS_TABLE . "
WHERE rank_id = $rank_id";
if(!$result = $db->sql_query($sql))
{
message_die(GENERAL_ERROR, "Couldn't obtain rank data", "", __LINE__, __FILE__, $sql);
}
$rank_info = $db->sql_fetchrow($result);
$s_hidden_fields .= '<input type="hidden" name="id" value="' . $rank_id . '" />';
}
else
{
$rank_info['rank_special'] = 0;
}
$s_hidden_fields .= '<input type="hidden" name="mode" value="save" />';
$rank_is_special = ( $rank_info['rank_special'] ) ? "checked=\"checked\"" : "";
$rank_is_not_special = ( !$rank_info['rank_special'] ) ? "checked=\"checked\"" : "";
$template->set_filenames(array(
"body" => "admin/ranks_edit_body.tpl")
);
$template->assign_vars(array(
"RANK" => $rank_info['rank_title'],
"SPECIAL_RANK" => $rank_is_special,
"NOT_SPECIAL_RANK" => $rank_is_not_special,
"MINIMUM" => ( $rank_is_special ) ? "" : $rank_info['rank_min'],
"IMAGE" => ( $rank_info['rank_image'] != "" ) ? $rank_info['rank_image'] : "",
"IMAGE_DISPLAY" => ( $rank_info['rank_image'] != "" ) ? '<img src="../' . $rank_info['rank_image'] . '" />' : "",
"L_RANKS_TITLE" => $lang['Ranks_title'],
"L_RANKS_TEXT" => $lang['Ranks_explain'],
"L_RANK_TITLE" => $lang['Rank_title'],
"L_RANK_SPECIAL" => $lang['Rank_special'],
"L_RANK_MINIMUM" => $lang['Rank_minimum'],
"L_RANK_IMAGE" => $lang['Rank_image'],
"L_RANK_IMAGE_EXPLAIN" => $lang['Rank_image_explain'],
"L_SUBMIT" => $lang['Submit'],
"L_RESET" => $lang['Reset'],
"L_YES" => $lang['Yes'],
"L_NO" => $lang['No'],
"S_RANK_ACTION" => append_sid("admin_ranks.$phpEx"),
"S_HIDDEN_FIELDS" => $s_hidden_fields)
);
}
else if( $mode == "save" )
{
//
// Ok, they sent us our info, let's update it.
//
$rank_id = ( isset($HTTP_POST_VARS['id']) ) ? intval($HTTP_POST_VARS['id']) : 0;
$rank_title = ( isset($HTTP_POST_VARS['title']) ) ? trim($HTTP_POST_VARS['title']) : "";
$special_rank = ( $HTTP_POST_VARS['special_rank'] == 1 ) ? TRUE : 0;
$min_posts = ( isset($HTTP_POST_VARS['min_posts']) ) ? intval($HTTP_POST_VARS['min_posts']) : -1;
$rank_image = ( (isset($HTTP_POST_VARS['rank_image'])) ) ? trim($HTTP_POST_VARS['rank_image']) : "";
if( $rank_title == "" )
{
message_die(GENERAL_MESSAGE, $lang['Must_select_rank']);
}
if( $special_rank == 1 )
{
$max_posts = -1;
$min_posts = -1;
}
//
// The rank image has to be a jpg, gif or png
//
if($rank_image != "")
{
if ( !preg_match("/(\.gif|\.png|\.jpg)$/is", $rank_image))
{
$rank_image = "";
}
}
if( $rank_id )
{
$sql = "UPDATE " . RANKS_TABLE . "
SET rank_title = '" . str_replace("\'", "''", $rank_title) . "', rank_special = $special_rank, rank_min = $min_posts, rank_image = '" . str_replace("\'", "''", $rank_image) . "'
WHERE rank_id = $rank_id";
$message = $lang['Rank_updated'];
}
else
{
$sql = "INSERT INTO " . RANKS_TABLE . " (rank_title, rank_special, rank_min, rank_image)
VALUES ('" . str_replace("\'", "''", $rank_title) . "', $special_rank, $min_posts, '" . str_replace("\'", "''", $rank_image) . "')";
$message = $lang['Rank_added'];
}
if( !$result = $db->sql_query($sql) )
{
message_die(GENERAL_ERROR, "Couldn't update/insert into ranks table", "", __LINE__, __FILE__, $sql);
}
$message .= "<br /><br />" . sprintf($lang['Click_return_rankadmin'], "<a href=\"" . append_sid("admin_ranks.$phpEx") . "\">", "</a>") . "<br /><br />" . sprintf($lang['Click_return_admin_index'], "<a href=\"" . append_sid("index.$phpEx?pane=right") . "\">", "</a>");
message_die(GENERAL_MESSAGE, $message);
}
else if( $mode == "delete" )
{
//
// Ok, they want to delete their rank
//
if( isset($HTTP_POST_VARS['id']) || isset($HTTP_GET_VARS['id']) )
{
$rank_id = ( isset($HTTP_POST_VARS['id']) ) ? intval($HTTP_POST_VARS['id']) : intval($HTTP_GET_VARS['id']);
}
else
{
$rank_id = 0;
}
if( $rank_id )
{
$sql = "DELETE FROM " . RANKS_TABLE . "
WHERE rank_id = $rank_id";
if( !$result = $db->sql_query($sql) )
{
message_die(GENERAL_ERROR, "Couldn't delete rank data", "", __LINE__, __FILE__, $sql);
}
$sql = "UPDATE " . USERS_TABLE . "
SET user_rank = 0
WHERE user_rank = $rank_id";
if( !$result = $db->sql_query($sql) )
{
message_die(GENERAL_ERROR, $lang['No_update_ranks'], "", __LINE__, __FILE__, $sql);
}
$message = $lang['Rank_removed'] . "<br /><br />" . sprintf($lang['Click_return_rankadmin'], "<a href=\"" . append_sid("admin_ranks.$phpEx") . "\">", "</a>") . "<br /><br />" . sprintf($lang['Click_return_admin_index'], "<a href=\"" . append_sid("index.$phpEx?pane=right") . "\">", "</a>");
message_die(GENERAL_MESSAGE, $message);
}
else
{
message_die(GENERAL_MESSAGE, $lang['Must_select_rank']);
}
}
else
{
//
// They didn't feel like giving us any information. Oh, too bad, we'll just display the
// list then...
//
$template->set_filenames(array(
"body" => "admin/ranks_list_body.tpl")
);
$sql = "SELECT * FROM " . RANKS_TABLE . "
ORDER BY rank_min, rank_title";
if( !$result = $db->sql_query($sql) )
{
message_die(GENERAL_ERROR, "Couldn't obtain ranks data", "", __LINE__, __FILE__, $sql);
}
$rank_rows = $db->sql_fetchrowset($result);
$rank_count = count($rank_rows);
$template->assign_vars(array(
"L_RANKS_TITLE" => $lang['Ranks_title'],
"L_RANKS_TEXT" => $lang['Ranks_explain'],
"L_RANK" => $lang['Rank'],
"L_RANK_MINIMUM" => $lang['Rank_minimum'],
"L_SPECIAL_RANK" => $lang['Special_rank'],
"L_EDIT" => $lang['Edit'],
"L_DELETE" => $lang['Delete'],
"L_ADD_RANK" => $lang['Add_new_rank'],
"L_ACTION" => $lang['Action'],
"S_RANKS_ACTION" => append_sid("admin_ranks.$phpEx"))
);
for( $i = 0; $i < $rank_count; $i++)
{
$rank = $rank_rows[$i]['rank_title'];
$special_rank = $rank_rows[$i]['rank_special'];
$rank_id = $rank_rows[$i]['rank_id'];
$rank_min = $rank_rows[$i]['rank_min'];
if($special_rank)
{
$rank_min = $rank_max = "-";
}
$row_color = ( !($i % 2) ) ? $theme['td_color1'] : $theme['td_color2'];
$row_class = ( !($i % 2) ) ? $theme['td_class1'] : $theme['td_class2'];
$template->assign_block_vars("ranks", array(
"ROW_COLOR" => "#" . $row_color,
"ROW_CLASS" => $row_class,
"RANK" => $rank,
"RANK_MIN" => $rank_min,
"SPECIAL_RANK" => ( $special_rank == 1 ) ? $lang['Yes'] : $lang['No'],
"U_RANK_EDIT" => append_sid("admin_ranks.$phpEx?mode=edit&amp;id=$rank_id"),
"U_RANK_DELETE" => append_sid("admin_ranks.$phpEx?mode=delete&amp;id=$rank_id"))
);
}
}
}
else
{
//
// Show the default page
//
$template->set_filenames(array(
"body" => "admin/ranks_list_body.tpl")
);
$sql = "SELECT * FROM " . RANKS_TABLE . "
ORDER BY rank_min ASC, rank_special ASC";
if( !$result = $db->sql_query($sql) )
{
message_die(GENERAL_ERROR, "Couldn't obtain ranks data", "", __LINE__, __FILE__, $sql);
}
$rank_count = $db->sql_numrows($result);
$rank_rows = $db->sql_fetchrowset($result);
$template->assign_vars(array(
"L_RANKS_TITLE" => $lang['Ranks_title'],
"L_RANKS_TEXT" => $lang['Ranks_explain'],
"L_RANK" => $lang['Rank_title'],
"L_RANK_MINIMUM" => $lang['Rank_minimum'],
"L_SPECIAL_RANK" => $lang['Rank_special'],
"L_EDIT" => $lang['Edit'],
"L_DELETE" => $lang['Delete'],
"L_ADD_RANK" => $lang['Add_new_rank'],
"L_ACTION" => $lang['Action'],
"S_RANKS_ACTION" => append_sid("admin_ranks.$phpEx"))
);
for($i = 0; $i < $rank_count; $i++)
{
$rank = $rank_rows[$i]['rank_title'];
$special_rank = $rank_rows[$i]['rank_special'];
$rank_id = $rank_rows[$i]['rank_id'];
$rank_min = $rank_rows[$i]['rank_min'];
if( $special_rank == 1 )
{
$rank_min = $rank_max = "-";
}
$row_color = ( !($i % 2) ) ? $theme['td_color1'] : $theme['td_color2'];
$row_class = ( !($i % 2) ) ? $theme['td_class1'] : $theme['td_class2'];
$rank_is_special = ( $special_rank ) ? $lang['Yes'] : $lang['No'];
$template->assign_block_vars("ranks", array(
"ROW_COLOR" => "#" . $row_color,
"ROW_CLASS" => $row_class,
"RANK" => $rank,
"SPECIAL_RANK" => $rank_is_special,
"RANK_MIN" => $rank_min,
"U_RANK_EDIT" => append_sid("admin_ranks.$phpEx?mode=edit&amp;id=$rank_id"),
"U_RANK_DELETE" => append_sid("admin_ranks.$phpEx?mode=delete&amp;id=$rank_id"))
);
}
}
$template->pparse("body");
include('page_footer_admin.'.$phpEx);
?>

View File

@@ -1,541 +0,0 @@
<?php
/***************************************************************************
* admin_smilies.php
* -------------------
* begin : Thu May 31, 2001
* copyright : (C) 2001 The phpBB Group
* email : support@phpbb.com
*
* $Id$
*
****************************************************************************/
/***************************************************************************
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
***************************************************************************/
/**************************************************************************
* This file will be used for modifying the smiley settings for a board.
**************************************************************************/
define('IN_PHPBB', 1);
//
// First we do the setmodules stuff for the admin cp.
//
if( !empty($setmodules) )
{
$filename = basename(__FILE__);
$module['General']['Smilies'] = $filename;
return;
}
//
// Load default header
//
if( isset($HTTP_GET_VARS['export_pack']) )
{
if ( $HTTP_GET_VARS['export_pack'] == "send" )
{
$no_page_header = true;
}
}
$phpbb_root_path = "../";
require($phpbb_root_path . 'extension.inc');
require('pagestart.' . $phpEx);
//
// Check to see what mode we should operate in.
//
if( isset($HTTP_POST_VARS['mode']) || isset($HTTP_GET_VARS['mode']) )
{
$mode = ( isset($HTTP_POST_VARS['mode']) ) ? $HTTP_POST_VARS['mode'] : $HTTP_GET_VARS['mode'];
}
else
{
$mode = "";
}
$delimeter = '=+:';
//
// Read a listing of uploaded smilies for use in the add or edit smliey code...
//
$dir = @opendir($phpbb_root_path . $board_config['smilies_path']);
while($file = @readdir($dir))
{
if( !@is_dir($phpbb_root_path . $board_config['smilies_path'] . '/' . $file) )
{
$img_size = @getimagesize($phpbb_root_path . $board_config['smilies_path'] . '/' . $file);
if( $img_size[0] && $img_size[1] )
{
$smiley_images[] = $file;
}
else if( eregi('.pak$', $file) )
{
$smiley_paks[] = $file;
}
}
}
@closedir($dir);
//
// Select main mode
//
if( isset($HTTP_GET_VARS['import_pack']) || isset($HTTP_POST_VARS['import_pack']) )
{
//
// Import a list a "Smiley Pack"
//
$smile_pak = ( isset($HTTP_POST_VARS['smile_pak']) ) ? $HTTP_POST_VARS['smile_pak'] : $HTTP_GET_VARS['smile_pak'];
$clear_current = ( isset($HTTP_POST_VARS['clear_current']) ) ? $HTTP_POST_VARS['clear_current'] : $HTTP_GET_VARS['clear_current'];
$replace_existing = ( isset($HTTP_POST_VARS['replace']) ) ? $HTTP_POST_VARS['replace'] : $HTTP_GET_VARS['replace'];
if ( !empty($smile_pak) )
{
//
// The user has already selected a smile_pak file.. Import it.
//
if( !empty($clear_current) )
{
$sql = "DELETE
FROM " . SMILIES_TABLE;
if( !$result = $db->sql_query($sql) )
{
message_die(GENERAL_ERROR, "Couldn't delete current smilies", "", __LINE__, __FILE__, $sql);
}
}
else
{
$sql = "SELECT code
FROM ". SMILIES_TABLE;
if( !$result = $db->sql_query($sql) )
{
message_die(GENERAL_ERROR, "Couldn't get current smilies", "", __LINE__, __FILE__, $sql);
}
$cur_smilies = $db->sql_fetchrowset($result);
for( $i = 0; $i < count($cur_smilies); $i++ )
{
$k = $cur_smilies[$i]['code'];
$smiles[$k] = 1;
}
}
$fcontents = @file($phpbb_root_path . $board_config['smilies_path'] . '/'. $smile_pak);
if( empty($fcontents) )
{
message_die(GENERAL_ERROR, "Couldn't read smiley pak file", "", __LINE__, __FILE__, $sql);
}
for( $i = 0; $i < count($fcontents); $i++ )
{
$smile_data = explode($delimeter, trim(addslashes($fcontents[$i])));
for( $j = 2; $j < count($smile_data); $j++)
{
//
// Replace > and < with the proper html_entities for matching.
//
$smile_data[$j] = str_replace("<", "&lt;", $smile_data[$j]);
$smile_data[$j] = str_replace(">", "&gt;", $smile_data[$j]);
$k = $smile_data[$j];
if( $smiles[$k] == 1 )
{
if( !empty($replace_existing) )
{
$sql = "UPDATE " . SMILIES_TABLE . "
SET smile_url = '" . str_replace("\'", "''", $smile_data[0]) . "', emoticon = '" . str_replace("\'", "''", $smile_data[1]) . "'
WHERE code = '" . str_replace("\'", "''", $smile_data[$j]) . "'";
}
else
{
$sql = '';
}
}
else
{
$sql = "INSERT INTO " . SMILIES_TABLE . " (code, smile_url, emoticon)
VALUES('" . str_replace("\'", "''", $smile_data[$j]) . "', '" . str_replace("\'", "''", $smile_data[0]) . "', '" . str_replace("\'", "''", $smile_data[1]) . "')";
}
if( $sql != '' )
{
$result = $db->sql_query($sql);
if( !$result )
{
message_die(GENERAL_ERROR, "Couldn't update smilies!", "", __LINE__, __FILE__, $sql);
}
}
}
}
$message = $lang['smiley_import_success'] . "<br /><br />" . sprintf($lang['Click_return_smileadmin'], "<a href=\"" . append_sid("admin_smilies.$phpEx") . "\">", "</a>") . "<br /><br />" . sprintf($lang['Click_return_admin_index'], "<a href=\"" . append_sid("index.$phpEx?pane=right") . "\">", "</a>");
message_die(GENERAL_MESSAGE, $message);
}
else
{
//
// Display the script to get the smile_pak cfg file...
//
$smile_paks_select = "<select name='smile_pak'><option value=''>" . $lang['Select_pak'] . "</option>";
while( list($key, $value) = @each($smiley_paks) )
{
if ( !empty($value) )
{
$smile_paks_select .= "<option>" . $value . "</option>";
}
}
$smile_paks_select .= "</select>";
$hidden_vars = "<input type='hidden' name='mode' value='import'>";
$template->set_filenames(array(
"body" => "admin/smile_import_body.tpl")
);
$template->assign_vars(array(
"L_SMILEY_TITLE" => $lang['smiley_title'],
"L_SMILEY_EXPLAIN" => $lang['smiley_import_inst'],
"L_SMILEY_IMPORT" => $lang['smiley_import'],
"L_SELECT_LBL" => $lang['choose_smile_pak'],
"L_IMPORT" => $lang['import'],
"L_CONFLICTS" => $lang['smile_conflicts'],
"L_DEL_EXISTING" => $lang['del_existing_smileys'],
"L_REPLACE_EXISTING" => $lang['replace_existing'],
"L_KEEP_EXISTING" => $lang['keep_existing'],
"S_SMILEY_ACTION" => append_sid("admin_smilies.$phpEx"),
"S_SMILE_SELECT" => $smile_paks_select,
"S_HIDDEN_FIELDS" => $hidden_vars)
);
$template->pparse("body");
}
}
else if( isset($HTTP_POST_VARS['export_pack']) || isset($HTTP_GET_VARS['export_pack']) )
{
//
// Export our smiley config as a smiley pak...
//
if ( $HTTP_GET_VARS['export_pack'] == "send" )
{
$sql = "SELECT *
FROM " . SMILIES_TABLE;
if( !$result = $db->sql_query($sql) )
{
message_die(GENERAL_ERROR, "Couldn't delete smiley", "", __LINE__, __FILE__, $sql);
}
$resultset = $db->sql_fetchrowset($result);
$smile_pak = "";
for($i = 0; $i < count($resultset); $i++ )
{
$smile_pak .= $resultset[$i]['smile_url'] . $delimeter;
$smile_pak .= $resultset[$i]['emoticon'] . $delimeter;
$smile_pak .= $resultset[$i]['code'] . "\n";
}
header("Content-Type: text/x-delimtext; name=\"smiles.pak\"");
header("Content-disposition: attachment; filename=smiles.pak");
echo $smile_pak;
exit;
}
$message = sprintf($lang['export_smiles'], "<a href=\"" . append_sid("admin_smilies.$phpEx?export_pack=send", true) . "\">", "</a>") . "<br /><br />" . sprintf($lang['Click_return_smileadmin'], "<a href=\"" . append_sid("admin_smilies.$phpEx") . "\">", "</a>") . "<br /><br />" . sprintf($lang['Click_return_admin_index'], "<a href=\"" . append_sid("index.$phpEx?pane=right") . "\">", "</a>");
message_die(GENERAL_MESSAGE, $message);
}
else if( isset($HTTP_POST_VARS['add']) )
{
//
// Admin has selected to add a smiley.
//
$template->set_filenames(array(
"body" => "admin/smile_edit_body.tpl")
);
$filename_list = "";
for( $i = 0; $i < count($smiley_images); $i++ )
{
$filename_list .= '<option value="' . $smiley_images[$i] . '">' . $smiley_images[$i] . '</option>';
}
$s_hidden_fields = '<input type="hidden" name="mode" value="savenew" />';
$template->assign_vars(array(
"L_SMILEY_TITLE" => $lang['smiley_title'],
"L_SMILEY_CONFIG" => $lang['smiley_config'],
"L_SMILEY_EXPLAIN" => $lang['smiley_instr'],
"L_SMILEY_CODE" => $lang['smiley_code'],
"L_SMILEY_URL" => $lang['smiley_url'],
"L_SMILEY_EMOTION" => $lang['smiley_emot'],
"L_SUBMIT" => $lang['Submit'],
"L_RESET" => $lang['Reset'],
"SMILEY_IMG" => $phpbb_root_path . $board_config['smilies_path'] . '/' . $smiley_images[0],
"S_SMILEY_ACTION" => append_sid("admin_smilies.$phpEx"),
"S_HIDDEN_FIELDS" => $s_hidden_fields,
"S_FILENAME_OPTIONS" => $filename_list,
"S_SMILEY_BASEDIR" => $phpbb_root_path . $board_config['smilies_path'])
);
$template->pparse("body");
}
else if ( $mode != "" )
{
switch( $mode )
{
case 'delete':
//
// Admin has selected to delete a smiley.
//
$smiley_id = ( !empty($HTTP_POST_VARS['id']) ) ? $HTTP_POST_VARS['id'] : $HTTP_GET_VARS['id'];
$sql = "DELETE FROM " . SMILIES_TABLE . "
WHERE smilies_id = " . $smiley_id;
$result = $db->sql_query($sql);
if( !$result )
{
message_die(GENERAL_ERROR, "Couldn't delete smiley", "", __LINE__, __FILE__, $sql);
}
$message = $lang['smiley_del_success'] . "<br /><br />" . sprintf($lang['Click_return_smileadmin'], "<a href=\"" . append_sid("admin_smilies.$phpEx") . "\">", "</a>") . "<br /><br />" . sprintf($lang['Click_return_admin_index'], "<a href=\"" . append_sid("index.$phpEx?pane=right") . "\">", "</a>");
message_die(GENERAL_MESSAGE, $message);
break;
case 'edit':
//
// Admin has selected to edit a smiley.
//
$smiley_id = ( !empty($HTTP_POST_VARS['id']) ) ? $HTTP_POST_VARS['id'] : $HTTP_GET_VARS['id'];
$sql = "SELECT *
FROM " . SMILIES_TABLE . "
WHERE smilies_id = " . $smiley_id;
$result = $db->sql_query($sql);
if( !$result )
{
message_die(GENERAL_ERROR, $lang['smile_edit_err'], "", __LINE__, __FILE__, $sql);
}
$smile_data = $db->sql_fetchrow($result);
$filename_list = "";
for( $i = 0; $i < count($smiley_images); $i++ )
{
if( $smiley_images[$i] == $smile_data['smile_url'] )
{
$smiley_selected = "selected=\"selected\"";
$smiley_edit_img = $smiley_images[$i];
}
else
{
$smiley_selected = "";
}
$filename_list .= '<option value="' . $smiley_images[$i] . '"' . $smiley_selected . '>' . $smiley_images[$i] . '</option>';
}
$template->set_filenames(array(
"body" => "admin/smile_edit_body.tpl")
);
$s_hidden_fields = '<input type="hidden" name="mode" value="save" /><input type="hidden" name="smile_id" value="' . $smile_data['smilies_id'] . '" />';
$template->assign_vars(array(
"SMILEY_CODE" => $smile_data['code'],
"SMILEY_EMOTICON" => $smile_data['emoticon'],
"L_SMILEY_TITLE" => $lang['smiley_title'],
"L_SMILEY_CONFIG" => $lang['smiley_config'],
"L_SMILEY_EXPLAIN" => $lang['smile_desc'],
"L_SMILEY_CODE" => $lang['smiley_code'],
"L_SMILEY_URL" => $lang['smiley_url'],
"L_SMILEY_EMOTION" => $lang['smiley_emot'],
"L_SUBMIT" => $lang['Submit'],
"L_RESET" => $lang['Reset'],
"SMILEY_IMG" => $phpbb_root_path . $board_config['smilies_path'] . '/' . $smiley_edit_img,
"S_SMILEY_ACTION" => append_sid("admin_smilies.$phpEx"),
"S_HIDDEN_FIELDS" => $s_hidden_fields,
"S_FILENAME_OPTIONS" => $filename_list,
"S_SMILEY_BASEDIR" => $phpbb_root_path . $board_config['smilies_path'])
);
$template->pparse("body");
break;
case "save":
//
// Admin has submitted changes while editing a smiley.
//
//
// Get the submitted data, being careful to ensure that we only
// accept the data we are looking for.
//
$smile_code = ( isset($HTTP_POST_VARS['smile_code']) ) ? $HTTP_POST_VARS['smile_code'] : $HTTP_GET_VARS['smile_code'];
$smile_url = ( isset($HTTP_POST_VARS['smile_url']) ) ? $HTTP_POST_VARS['smile_url'] : $HTTP_GET_VARS['smile_url'];
$smile_emotion = ( isset($HTTP_POST_VARS['smile_emotion']) ) ? $HTTP_POST_VARS['smile_emotion'] : $HTTP_GET_VARS['smile_emotion'];
$smile_id = ( isset($HTTP_POST_VARS['smile_id']) ) ? intval($HTTP_POST_VARS['smile_id']) : intval($HTTP_GET_VARS['smile_id']);
//
// Convert < and > to proper htmlentities for parsing.
//
$smile_code = str_replace('<', '&lt;', $smile_code);
$smile_code = str_replace('>', '&gt;', $smile_code);
//
// Proceed with updating the smiley table.
//
$sql = "UPDATE " . SMILIES_TABLE . "
SET code = '" . str_replace("\'", "''", $smile_code) . "', smile_url = '" . str_replace("\'", "''", $smile_url) . "', emoticon = '" . str_replace("\'", "''", $smile_emotion) . "'
WHERE smilies_id = $smile_id";
$result = $db->sql_query($sql);
if( !$result )
{
message_die(GENERAL_ERROR, "Couldn't update smilies info", "", __LINE__, __FILE__, $sql);
}
$message = $lang['smiley_edit_success'] . "<br /><br />" . sprintf($lang['Click_return_smileadmin'], "<a href=\"" . append_sid("admin_smilies.$phpEx") . "\">", "</a>") . "<br /><br />" . sprintf($lang['Click_return_admin_index'], "<a href=\"" . append_sid("index.$phpEx?pane=right") . "\">", "</a>");
message_die(GENERAL_MESSAGE, $message);
break;
case "savenew":
//
// Admin has submitted changes while adding a new smiley.
//
//
// Get the submitted data being careful to ensure the the data
// we recieve and process is only the data we are looking for.
//
$smile_code = ( isset($HTTP_POST_VARS['smile_code']) ) ? $HTTP_POST_VARS['smile_code'] : $HTTP_GET_VARS['smile_code'];
$smile_url = ( isset($HTTP_POST_VARS['smile_url']) ) ? $HTTP_POST_VARS['smile_url'] : $HTTP_GET_VARS['smile_url'];
$smile_emotion = ( isset($HTTP_POST_VARS['smile_emotion']) ) ? $HTTP_POST_VARS['smile_emotion'] : $HTTP_GET_VARS['smile_emotion'];
//
// Convert < and > to proper htmlentities for parsing.
//
$smile_code = str_replace('<', '&lt;', $smile_code);
$smile_code = str_replace('>', '&gt;', $smile_code);
//
// Save the data to the smiley table.
//
$sql = "INSERT INTO " . SMILIES_TABLE . " (code, smile_url, emoticon)
VALUES ('" . str_replace("\'", "''", $smile_code) . "', '" . str_replace("\'", "''", $smile_url) . "', '" . str_replace("\'", "''", $smile_emotion) . "')";
$result = $db->sql_query($sql);
if( !$result )
{
message_die(GENERAL_ERROR, "Couldn't insert new smiley", "", __LINE__, __FILE__, $sql);
}
$message = $lang['smiley_add_success'] . "<br /><br />" . sprintf($lang['Click_return_smileadmin'], "<a href=\"" . append_sid("admin_smilies.$phpEx") . "\">", "</a>") . "<br /><br />" . sprintf($lang['Click_return_admin_index'], "<a href=\"" . append_sid("index.$phpEx?pane=right") . "\">", "</a>");
message_die(GENERAL_MESSAGE, $message);
break;
}
}
else
{
//
// This is the main display of the page before the admin has selected
// any options.
//
$sql = "SELECT *
FROM " . SMILIES_TABLE;
$result = $db->sql_query($sql);
if( !$result )
{
message_die(GENERAL_ERROR, "Couldn't obtain smileys from database", "", __LINE__, __FILE__, $sql);
}
$smilies = $db->sql_fetchrowset($result);
$template->set_filenames(array(
"body" => "admin/smile_list_body.tpl")
);
$template->assign_vars(array(
"L_ACTION" => $lang['Action'],
"L_SMILEY_TITLE" => $lang['smiley_title'],
"L_SMILEY_TEXT" => $lang['smile_desc'],
"L_DELETE" => $lang['Delete'],
"L_EDIT" => $lang['Edit'],
"L_SMILEY_ADD" => $lang['smile_add'],
"L_CODE" => $lang['Code'],
"L_EMOT" => $lang['Emotion'],
"L_SMILE" => $lang['Smile'],
"L_IMPORT_PACK" => $lang['import_smile_pack'],
"L_EXPORT_PACK" => $lang['export_smile_pack'],
"S_HIDDEN_FIELDS" => $s_hidden_fields,
"S_SMILEY_ACTION" => append_sid("admin_smilies.$phpEx"))
);
//
// Loop throuh the rows of smilies setting block vars for the template.
//
for($i = 0; $i < count($smilies); $i++)
{
//
// Replace htmlentites for < and > with actual character.
//
$smilies[$i]['code'] = str_replace('&lt;', '<', $smilies[$i]['code']);
$smilies[$i]['code'] = str_replace('&gt;', '>', $smilies[$i]['code']);
$row_color = ( !($i % 2) ) ? $theme['td_color1'] : $theme['td_color2'];
$row_class = ( !($i % 2) ) ? $theme['td_class1'] : $theme['td_class2'];
$template->assign_block_vars("smiles", array(
"ROW_COLOR" => "#" . $row_color,
"ROW_CLASS" => $row_class,
"SMILEY_IMG" => $phpbb_root_path . $board_config['smilies_path'] . '/' . $smilies[$i]['smile_url'],
"CODE" => $smilies[$i]['code'],
"EMOT" => $smilies[$i]['emoticon'],
"U_SMILEY_EDIT" => append_sid("admin_smilies.$phpEx?mode=edit&amp;id=" . $smilies[$i]['smilies_id']),
"U_SMILEY_DELETE" => append_sid("admin_smilies.$phpEx?mode=delete&amp;id=" . $smilies[$i]['smilies_id']))
);
}
//
// Spit out the page.
//
$template->pparse("body");
}
//
// Page Footer
//
include('page_footer_admin.'.$phpEx);
?>

View File

@@ -1,937 +0,0 @@
<?php
/***************************************************************************
* admin_styles.php
* -------------------
* begin : Thursday, Jul 12, 2001
* copyright : (C) 2001 The phpBB Group
* email : support@phpbb.com
*
* $Id$
*
*
***************************************************************************/
/***************************************************************************
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
***************************************************************************/
define('IN_PHPBB', 1);
if( !empty($setmodules) )
{
$file = basename(__FILE__);
$module['Styles']['Add_new'] = "$file?mode=addnew";
$module['Styles']['Create_new'] = "$file?mode=create";
$module['Styles']['Manage'] = "$file";
$module['Styles']['Export'] = "$file?mode=export";
return;
}
//
// Load default header
//
//
// Check if the user has cancled a confirmation message.
//
$phpbb_root_path = "../";
$confirm = ( isset($HTTP_POST_VARS['confirm']) ) ? TRUE : FALSE;
$cancel = ( isset($HTTP_POST_VARS['cancel']) ) ? TRUE : FALSE;
if( empty($HTTP_POST_VARS['send_file']) )
{
$no_page_header = ( $cancel ) ? TRUE : FALSE;
require($phpbb_root_path . 'extension.inc');
require('pagestart.' . $phpEx);
}
if( $cancel )
{
header("Location: " . append_sid("admin_styles.$phpEx"));
}
if( isset($HTTP_GET_VARS['mode']) || isset($HTTP_POST_VARS['mode']) )
{
$mode = ( isset($HTTP_GET_VARS['mode']) ) ? $HTTP_GET_VARS['mode'] : $HTTP_POST_VARS['mode'];
}
else
{
$mode = "";
}
switch( $mode )
{
case "addnew":
$install_to = ( isset($HTTP_GET_VARS['install_to']) ) ? urldecode($HTTP_GET_VARS['install_to']) : $HTTP_POST_VARS['install_to'];
$style_name = ( isset($HTTP_GET_VARS['style']) ) ? urldecode($HTTP_GET_VARS['style']) : $HTTP_POST_VARS['style'];
if( isset($install_to) )
{
include($phpbb_root_path. "templates/" . $install_to . "/theme_info.cfg");
$template_name = $$install_to;
$found = FALSE;
for($i = 0; $i < count($template_name) && !$found; $i++)
{
if( $template_name[$i]['style_name'] == $style_name )
{
while(list($key, $val) = each($template_name[$i]))
{
$db_fields[] = $key;
$db_values[] = str_replace("\'", "''" , $val);
}
}
}
$sql = "INSERT INTO " . THEMES_TABLE . " (";
for($i = 0; $i < count($db_fields); $i++)
{
$sql .= $db_fields[$i];
if($i != (count($db_fields) - 1))
{
$sql .= ", ";
}
}
$sql .= ") VALUES (";
for($i = 0; $i < count($db_values); $i++)
{
$sql .= "'" . $db_values[$i] . "'";
if($i != (count($db_values) - 1))
{
$sql .= ", ";
}
}
$sql .= ")";
if( !$result = $db->sql_query($sql) )
{
message_die(GENERAL_ERROR, "Could not insert theme data!", "", __LINE__, __FILE__, $sql);
}
$message = $lang['Theme_installed'] . "<br /><br />" . sprintf($lang['Click_return_styleadmin'], "<a href=\"" . append_sid("admin_styles.$phpEx") . "\">", "</a>") . "<br /><br />" . sprintf($lang['Click_return_admin_index'], "<a href=\"" . append_sid("index.$phpEx?pane=right") . "\">", "</a>");
message_die(GENERAL_MESSAGE, $message);
}
else
{
$installable_themes = array();
if( $dir = @opendir($phpbb_root_path. "templates/") )
{
while( $sub_dir = @readdir($dir) )
{
if( !is_file($phpbb_root_path . 'templates/' .$sub_dir) && !is_link($phpbb_root_path . 'templates/' .$sub_dir) && $sub_dir != "." && $sub_dir != ".." && $sub_dir != "CVS" )
{
if( @file_exists($phpbb_root_path. "templates/" . $sub_dir . "/theme_info.cfg") )
{
include($phpbb_root_path. "templates/" . $sub_dir . "/theme_info.cfg");
for($i = 0; $i < count($$sub_dir); $i++)
{
$working_data = $$sub_dir;
$style_name = $working_data[$i]['style_name'];
$sql = "SELECT themes_id
FROM " . THEMES_TABLE . "
WHERE style_name = '" . str_replace("\'", "''", $style_name) . "'";
if(!$result = $db->sql_query($sql))
{
message_die(GENERAL_ERROR, "Could not query themes table!", "", __LINE__, __FILE__, $sql);
}
if(!$db->sql_numrows($result))
{
$installable_themes[] = $working_data[$i];
}
}
}
}
}
$template->set_filenames(array(
"body" => "admin/styles_addnew_body.tpl")
);
$template->assign_vars(array(
"L_STYLES_TITLE" => $lang['Styles_admin'],
"L_STYLES_ADD_TEXT" => $lang['Styles_addnew_explain'],
"L_STYLE" => $lang['Style'],
"L_TEMPLATE" => $lang['Template'],
"L_INSTALL" => $lang['Install'],
"L_ACTION" => $lang['Action'])
);
for($i = 0; $i < count($installable_themes); $i++)
{
$row_color = ( !($i % 2) ) ? $theme['td_color1'] : $theme['td_color2'];
$row_class = ( !($i % 2) ) ? $theme['td_class1'] : $theme['td_class2'];
$template->assign_block_vars("styles", array(
"ROW_CLASS" => $row_class,
"ROW_COLOR" => "#" . $row_color,
"STYLE_NAME" => $installable_themes[$i]['style_name'],
"TEMPLATE_NAME" => $installable_themes[$i]['template_name'],
"U_STYLES_INSTALL" => append_sid("admin_styles.$phpEx?mode=addnew&amp;style=" . urlencode($installable_themes[$i]['style_name']) . "&amp;install_to=" . urlencode($installable_themes[$i]['template_name'])))
);
}
$template->pparse("body");
}
closedir($dir);
}
break;
case "create":
case "edit":
$submit = ( isset($HTTP_POST_VARS['submit']) ) ? TRUE : 0;
if( $submit )
{
//
// DAMN! Thats alot of data to validate...
//
$updated['style_name'] = $HTTP_POST_VARS['style_name'];
$updated['template_name'] = $HTTP_POST_VARS['template_name'];
$updated['head_stylesheet'] = $HTTP_POST_VARS['head_stylesheet'];
$updated['body_background'] = $HTTP_POST_VARS['body_background'];
$updated['body_bgcolor'] = $HTTP_POST_VARS['body_bgcolor'];
$updated['body_text'] = $HTTP_POST_VARS['body_text'];
$updated['body_link'] = $HTTP_POST_VARS['body_link'];
$updated['body_vlink'] = $HTTP_POST_VARS['body_vlink'];
$updated['body_alink'] = $HTTP_POST_VARS['body_alink'];
$updated['body_hlink'] = $HTTP_POST_VARS['body_hlink'];
$updated['tr_color1'] = $HTTP_POST_VARS['tr_color1'];
$updated_name['tr_color1_name'] = $HTTP_POST_VARS['tr_color1_name'];
$updated['tr_color2'] = $HTTP_POST_VARS['tr_color2'];
$updated_name['tr_color2_name'] = $HTTP_POST_VARS['tr_color2_name'];
$updated['tr_color3'] = $HTTP_POST_VARS['tr_color3'];
$updated_name['tr_color3_name'] = $HTTP_POST_VARS['tr_color3_name'];
$updated['tr_class1'] = $HTTP_POST_VARS['tr_class1'];
$updated_name['tr_class1_name'] = $HTTP_POST_VARS['tr_class1_name'];
$updated['tr_class2'] = $HTTP_POST_VARS['tr_class2'];
$updated_name['tr_class2_name'] = $HTTP_POST_VARS['tr_class2_name'];
$updated['tr_class3'] = $HTTP_POST_VARS['tr_class3'];
$updated_name['tr_class3_name'] = $HTTP_POST_VARS['tr_class3_name'];
$updated['th_color1'] = $HTTP_POST_VARS['th_color1'];
$updated_name['th_color1_name'] = $HTTP_POST_VARS['th_color1_name'];
$updated['th_color2'] = $HTTP_POST_VARS['th_color2'];
$updated_name['th_color2_name'] = $HTTP_POST_VARS['th_color2_name'];
$updated['th_color3'] = $HTTP_POST_VARS['th_color3'];
$updated_name['th_color3_name'] = $HTTP_POST_VARS['th_color3_name'];
$updated['th_class1'] = $HTTP_POST_VARS['th_class1'];
$updated_name['th_class1_name'] = $HTTP_POST_VARS['th_class1_name'];
$updated['th_class2'] = $HTTP_POST_VARS['th_class2'];
$updated_name['th_class2_name'] = $HTTP_POST_VARS['th_class2_name'];
$updated['th_class3'] = $HTTP_POST_VARS['th_class3'];
$updated_name['th_class3_name'] = $HTTP_POST_VARS['th_class3_name'];
$updated['td_color1'] = $HTTP_POST_VARS['td_color1'];
$updated_name['td_color1_name'] = $HTTP_POST_VARS['td_color1_name'];
$updated['td_color2'] = $HTTP_POST_VARS['td_color2'];
$updated_name['td_color2_name'] = $HTTP_POST_VARS['td_color2_name'];
$updated['td_color3'] = $HTTP_POST_VARS['td_color3'];
$updated_name['td_color3_name'] = $HTTP_POST_VARS['td_color3_name'];
$updated['td_class1'] = $HTTP_POST_VARS['td_class1'];
$updated_name['td_class1_name'] = $HTTP_POST_VARS['td_class1_name'];
$updated['td_class2'] = $HTTP_POST_VARS['td_class2'];
$updated_name['td_class2_name'] = $HTTP_POST_VARS['td_class2_name'];
$updated['td_class3'] = $HTTP_POST_VARS['td_class3'];
$updated_name['td_class3_name'] = $HTTP_POST_VARS['td_class3_name'];
$updated['fontface1'] = $HTTP_POST_VARS['fontface1'];
$updated_name['fontface1_name'] = $HTTP_POST_VARS['fontface1_name'];
$updated['fontface2'] = $HTTP_POST_VARS['fontface2'];
$updated_name['fontface2_name'] = $HTTP_POST_VARS['fontface2_name'];
$updated['fontface3'] = $HTTP_POST_VARS['fontface3'];
$updated_name['fontface3_name'] = $HTTP_POST_VARS['fontface3_name'];
$updated['fontsize1'] = intval($HTTP_POST_VARS['fontsize1']);
$updated_name['fontsize1_name'] = $HTTP_POST_VARS['fontsize1_name'];
$updated['fontsize2'] = intval($HTTP_POST_VARS['fontsize2']);
$updated_name['fontsize2_name'] = $HTTP_POST_VARS['fontsize2_name'];
$updated['fontsize3'] = intval($HTTP_POST_VARS['fontsize3']);
$updated_name['fontsize3_name'] = $HTTP_POST_VARS['fontsize3_name'];
$updated['fontcolor1'] = $HTTP_POST_VARS['fontcolor1'];
$updated_name['fontcolor1_name'] = $HTTP_POST_VARS['fontcolor1_name'];
$updated['fontcolor2'] = $HTTP_POST_VARS['fontcolor2'];
$updated_name['fontcolor2_name'] = $HTTP_POST_VARS['fontcolor2_name'];
$updated['fontcolor3'] = $HTTP_POST_VARS['fontcolor3'];
$updated_name['fontcolor3_name'] = $HTTP_POST_VARS['fontcolor3_name'];
$updated['span_class1'] = $HTTP_POST_VARS['span_class1'];
$updated_name['span_class1_name'] = $HTTP_POST_VARS['span_class1_name'];
$updated['span_class2'] = $HTTP_POST_VARS['span_class2'];
$updated_name['span_class2_name'] = $HTTP_POST_VARS['span_class2_name'];
$updated['span_class3'] = $HTTP_POST_VARS['span_class3'];
$updated_name['span_class3_name'] = $HTTP_POST_VARS['span_class3_name'];
$style_id = intval($HTTP_POST_VARS['style_id']);
//
// Wheeeew! Thank heavens for copy and paste and search and replace :D
//
if($mode == "edit")
{
$sql = "UPDATE " . THEMES_TABLE . " SET ";
$count = 0;
while(list($key, $val) = each($updated))
{
if($count != 0)
{
$sql .= ", ";
}
//
// I don't like this but it'll keep MSSQL from throwing
// an error and save me alot of typing
//
$sql .= ( stristr($key, "fontsize") ) ? "$key = $val" : "$key = '" . str_replace("\'", "''", $val) . "'";
$count++;
}
$sql .= " WHERE themes_id = $style_id";
if(!$result = $db->sql_query($sql))
{
message_die(GENERAL_ERROR, "Could not update themes table!", "", __LINE__, __FILE__, $sql);
}
//
// Check if there's a names table entry for this style
//
$sql = "SELECT themes_id
FROM " . THEMES_NAME_TABLE . "
WHERE themes_id = $style_id";
if(!$result = $db->sql_query($sql))
{
message_die(GENERAL_ERROR, "Could not get data from themes_name table", "", __LINE__, __FILE__, $sql);
}
if($db->sql_numrows($result) > 0)
{
$sql = "UPDATE " . THEMES_NAME_TABLE . "
SET ";
$count = 0;
while(list($key, $val) = each($updated_name))
{
if($count != 0)
{
$sql .= ", ";
}
$sql .= "$key = '$val'";
$count++;
}
$sql .= " WHERE themes_id = $style_id";
}
else
{
//
// Nope, no names entry so we create a new one.
//
$sql = "INSERT INTO " . THEMES_NAME_TABLE . " (themes_id, ";
while(list($key, $val) = each($updated_name))
{
$fields[] = $key;
$vals[] = str_replace("\'", "''", $val);
}
for($i = 0; $i < count($fields); $i++)
{
if($i > 0)
{
$sql .= ", ";
}
$sql .= $fields[$i];
}
$sql .= ") VALUES ($style_id, ";
for($i = 0; $i < count($vals); $i++)
{
if($i > 0)
{
$sql .= ", ";
}
$sql .= "'" . $vals[$i] . "'";
}
$sql .= ")";
}
if(!$result = $db->sql_query($sql))
{
message_die(GENERAL_ERROR, "Could not update themes name table!", "", __LINE__, __FILE__, $sql);
}
$message = $lang['Theme_updated'] . "<br /><br />" . sprintf($lang['Click_return_styleadmin'], "<a href=\"" . append_sid("admin_styles.$phpEx") . "\">", "</a>") . "<br /><br />" . sprintf($lang['Click_return_admin_index'], "<a href=\"" . append_sid("index.$phpEx?pane=right") . "\">", "</a>");
message_die(GENERAL_MESSAGE, $message);
}
else
{
//
// First, check if we already have a style by this name
//
$sql = "SELECT themes_id
FROM " . THEMES_TABLE . "
WHERE style_name = '" . str_replace("\'", "''", $updated['style_name']) . "'";
if(!$result = $db->sql_query($sql))
{
message_die(GENERAL_ERROR, "Could not query themes table", "", __LINE__, __FILE__, $sql);
}
if($db->sql_numrows($result))
{
message_die(GENERAL_ERROR, $lang['Style_exists'], $lang['Error']);
}
while(list($key, $val) = each($updated))
{
$field_names[] = $key;
if(stristr($key, "fontsize"))
{
$values[] = "$val";
}
else
{
$values[] = "'" . str_replace("\'", "''", $val) . "'";
}
}
$sql = "INSERT
INTO " . THEMES_TABLE . " (";
for($i = 0; $i < count($field_names); $i++)
{
if($i != 0)
{
$sql .= ", ";
}
$sql .= $field_names[$i];
}
$sql .= ") VALUES (";
for($i = 0; $i < count($values); $i++)
{
if($i != 0)
{
$sql .= ", ";
}
$sql .= $values[$i];
}
$sql .= ")";
if(!$result = $db->sql_query($sql))
{
message_die(GENERAL_ERROR, "Could not update themes table!", "", __LINE__, __FILE__, $sql);
}
$style_id = $db->sql_nextid();
//
// Insert names data
//
$sql = "INSERT INTO " . THEMES_NAME_TABLE . " (themes_id, ";
while(list($key, $val) = each($updated_name))
{
$fields[] = $key;
$vals[] = $val;
}
for($i = 0; $i < count($fields); $i++)
{
if($i > 0)
{
$sql .= ", ";
}
$sql .= $fields[$i];
}
$sql .= ") VALUES ($style_id, ";
for($i = 0; $i < count($vals); $i++)
{
if($i > 0)
{
$sql .= ", ";
}
$sql .= "'" . $vals[$i] . "'";
}
$sql .= ")";
if(!$result = $db->sql_query($sql))
{
message_die(GENERAL_ERROR, "Could not insert themes name table!", "", __LINE__, __FILE__, $sql);
}
$message = $lang['Theme_created'] . "<br /><br />" . sprintf($lang['Click_return_styleadmin'], "<a href=\"" . append_sid("admin_styles.$phpEx") . "\">", "</a>") . "<br /><br />" . sprintf($lang['Click_return_admin_index'], "<a href=\"" . append_sid("index.$phpEx?pane=right") . "\">", "</a>");
message_die(GENERAL_MESSAGE, $message);
}
}
else
{
if($mode == "edit")
{
$themes_title = $lang['Edit_theme'];
$themes_explain = $lang['Edit_theme_explain'];
$style_id = $HTTP_GET_VARS['style_id'];
$selected_names = array();
$selected_values = array();
//
// Fetch the Theme Info from the db
//
$sql = "SELECT *
FROM " . THEMES_TABLE . "
WHERE themes_id = $style_id";
if(!$result = $db->sql_query($sql))
{
message_die(GENERAL_ERROR, "Could not get data from themes table", "", __LINE__, __FILE__, $sql);
}
if ( $selected_values = $db->sql_fetchrow($result) )
{
while(list($key, $val) = @each($selected_values))
{
$selected[$key] = $val;
}
}
//
// Fetch the Themes Name data
//
$sql = "SELECT *
FROM " . THEMES_NAME_TABLE . "
WHERE themes_id = $style_id";
if(!$result = $db->sql_query($sql))
{
message_die(GENERAL_ERROR, "Could not get data from themes name table", "", __LINE__, __FILE__, $sql);
}
if ( $selected_names = $db->sql_fetchrow($result) )
{
while(list($key, $val) = @each($selected_names))
{
$selected[$key] = $val;
}
}
$s_hidden_fields = '<input type="hidden" name="style_id" value="' . $style_id . '" />';
}
else
{
$themes_title = $lang['Create_theme'];
$themes_explain = $lang['Create_theme_explain'];
}
$template->set_filenames(array(
"body" => "admin/styles_edit_body.tpl")
);
if( $dir = @opendir($phpbb_root_path . 'templates/') )
{
$s_template_select = '<select name="template_name">';
while( $file = @readdir($dir) )
{
if( !is_file($phpbb_root_path . 'templates/' . $file) && !is_link($phpbb_root_path . 'templates/' . $file) && $file != "." && $file != ".." && $file != "CVS" )
{
if($file == $selected['template_name'])
{
$s_template_select .= '<option value="' . $file . '" selected="selected">' . $file . "</option>\n";
}
else
{
$s_template_select .= '<option value="' . $file . '">' . $file . "</option>\n";
}
}
}
}
else
{
message_die(GENERAL_MESSAGE, $lang['No_template_dir']);
}
$s_hidden_fields .= '<input type="hidden" name="mode" value="' . $mode . '" />';
$template->assign_vars(array(
"L_THEMES_TITLE" => $themes_title,
"L_THEMES_EXPLAIN" => $themes_explain,
"L_THEME_NAME" => $lang['Theme_name'],
"L_TEMPLATE" => $lang['Template'],
"L_THEME_SETTINGS" => $lang['Theme_settings'],
"L_THEME_ELEMENT" => $lang['Theme_element'],
"L_SIMPLE_NAME" => $lang['Simple_name'],
"L_VALUE" => $lang['Value'],
"L_STYLESHEET" => $lang['Stylesheet'],
"L_BACKGROUND_IMAGE" => $lang['Background_image'],
"L_BACKGROUND_COLOR" => $lang['Background_color'],
"L_BODY_TEXT_COLOR" => $lang['Text_color'],
"L_BODY_LINK_COLOR" => $lang['Link_color'],
"L_BODY_VLINK_COLOR" => $lang['VLink_color'],
"L_BODY_ALINK_COLOR" => $lang['ALink_color'],
"L_BODY_HLINK_COLOR" => $lang['HLink_color'],
"L_TR_COLOR1" => $lang['Tr_color1'],
"L_TR_COLOR2" => $lang['Tr_color2'],
"L_TR_COLOR3" => $lang['Tr_color3'],
"L_TR_CLASS1" => $lang['Tr_class1'],
"L_TR_CLASS2" => $lang['Tr_class2'],
"L_TR_CLASS3" => $lang['Tr_class3'],
"L_TH_COLOR1" => $lang['Th_color1'],
"L_TH_COLOR2" => $lang['Th_color2'],
"L_TH_COLOR3" => $lang['Th_color3'],
"L_TH_CLASS1" => $lang['Th_class1'],
"L_TH_CLASS2" => $lang['Th_class2'],
"L_TH_CLASS3" => $lang['Th_class3'],
"L_TD_COLOR1" => $lang['Td_color1'],
"L_TD_COLOR2" => $lang['Td_color2'],
"L_TD_COLOR3" => $lang['Td_color3'],
"L_TD_CLASS1" => $lang['Td_class1'],
"L_TD_CLASS2" => $lang['Td_class2'],
"L_TD_CLASS3" => $lang['Td_class3'],
"L_FONTFACE_1" => $lang['fontface1'],
"L_FONTFACE_2" => $lang['fontface2'],
"L_FONTFACE_3" => $lang['fontface3'],
"L_FONTSIZE_1" => $lang['fontsize1'],
"L_FONTSIZE_2" => $lang['fontsize2'],
"L_FONTSIZE_3" => $lang['fontsize3'],
"L_FONTCOLOR_1" => $lang['fontcolor1'],
"L_FONTCOLOR_2" => $lang['fontcolor2'],
"L_FONTCOLOR_3" => $lang['fontcolor3'],
"L_SPAN_CLASS_1" => $lang['span_class1'],
"L_SPAN_CLASS_2" => $lang['span_class2'],
"L_SPAN_CLASS_3" => $lang['span_class3'],
"L_SAVE_SETTINGS" => $lang['Save_Settings'],
"THEME_NAME" => $selected['style_name'],
"HEAD_STYLESHEET" => $selected['head_stylesheet'],
"BODY_BACKGROUND" => $selected['body_background'],
"BODY_BGCOLOR" => $selected['body_bgcolor'],
"BODY_TEXT_COLOR" => $selected['body_text'],
"BODY_LINK_COLOR" => $selected['body_link'],
"BODY_VLINK_COLOR" => $selected['body_vlink'],
"BODY_ALINK_COLOR" => $selected['body_alink'],
"BODY_HLINK_COLOR" => $selected['body_hlink'],
"TR_COLOR1" => $selected['tr_color1'],
"TR_COLOR2" => $selected['tr_color2'],
"TR_COLOR3" => $selected['tr_color3'],
"TR_CLASS1" => $selected['tr_class1'],
"TR_CLASS2" => $selected['tr_class2'],
"TR_CLASS3" => $selected['tr_class3'],
"TH_COLOR1" => $selected['th_color1'],
"TH_COLOR2" => $selected['th_color2'],
"TH_COLOR3" => $selected['th_color3'],
"TH_CLASS1" => $selected['th_class1'],
"TH_CLASS2" => $selected['th_class2'],
"TH_CLASS3" => $selected['th_class3'],
"TD_COLOR1" => $selected['td_color1'],
"TD_COLOR2" => $selected['td_color2'],
"TD_COLOR3" => $selected['td_color3'],
"TD_CLASS1" => $selected['td_class1'],
"TD_CLASS2" => $selected['td_class2'],
"TD_CLASS3" => $selected['td_class3'],
"FONTFACE1" => $selected['fontface1'],
"FONTFACE2" => $selected['fontface2'],
"FONTFACE3" => $selected['fontface3'],
"FONTSIZE1" => $selected['fontsize1'],
"FONTSIZE2" => $selected['fontsize2'],
"FONTSIZE3" => $selected['fontsize3'],
"FONTCOLOR1" => $selected['fontcolor1'],
"FONTCOLOR2" => $selected['fontcolor2'],
"FONTCOLOR3" => $selected['fontcolor3'],
"SPAN_CLASS1" => $selected['span_class1'],
"SPAN_CLASS2" => $selected['span_class2'],
"SPAN_CLASS3" => $selected['span_class3'],
"TR_COLOR1_NAME" => $selected['tr_color1_name'],
"TR_COLOR2_NAME" => $selected['tr_color2_name'],
"TR_COLOR3_NAME" => $selected['tr_color3_name'],
"TR_CLASS1_NAME" => $selected['tr_class1_name'],
"TR_CLASS2_NAME" => $selected['tr_class2_name'],
"TR_CLASS3_NAME" => $selected['tr_class3_name'],
"TH_COLOR1_NAME" => $selected['th_color1_name'],
"TH_COLOR2_NAME" => $selected['th_color2_name'],
"TH_COLOR3_NAME" => $selected['th_color3_name'],
"TH_CLASS1_NAME" => $selected['th_class1_name'],
"TH_CLASS2_NAME" => $selected['th_class2_name'],
"TH_CLASS3_NAME" => $selected['th_class3_name'],
"TD_COLOR1_NAME" => $selected['td_color1_name'],
"TD_COLOR2_NAME" => $selected['td_color2_name'],
"TD_COLOR3_NAME" => $selected['td_color3_name'],
"TD_CLASS1_NAME" => $selected['td_class1_name'],
"TD_CLASS2_NAME" => $selected['td_class2_name'],
"TD_CLASS3_NAME" => $selected['td_class3_name'],
"FONTFACE1_NAME" => $selected['fontface1_name'],
"FONTFACE2_NAME" => $selected['fontface2_name'],
"FONTFACE3_NAME" => $selected['fontface3_name'],
"FONTSIZE1_NAME" => $selected['fontsize1_name'],
"FONTSIZE2_NAME" => $selected['fontsize2_name'],
"FONTSIZE3_NAME" => $selected['fontsize3_name'],
"FONTCOLOR1_NAME" => $selected['fontcolor1_name'],
"FONTCOLOR2_NAME" => $selected['fontcolor2_name'],
"FONTCOLOR3_NAME" => $selected['fontcolor3_name'],
"SPAN_CLASS1_NAME" => $selected['span_class1_name'],
"SPAN_CLASS2_NAME" => $selected['span_class2_name'],
"SPAN_CLASS3_NAME" => $selected['span_class3_name'],
"S_THEME_ACTION" => append_sid("admin_styles.$phpEx"),
"S_TEMPLATE_SELECT" => $s_template_select,
"S_HIDDEN_FIELDS" => $s_hidden_fields)
);
$template->pparse("body");
}
break;
case "export";
if($HTTP_POST_VARS['export_template'])
{
$template_name = $HTTP_POST_VARS['export_template'];
$sql = "SELECT *
FROM " . THEMES_TABLE . "
WHERE template_name = '$template_name'";
if(!$result = $db->sql_query($sql))
{
message_die(GENERAL_ERROR, "Could not get theme data for selected template", "", __LINE__, __FILE__, $sql);
}
$theme_rowset = $db->sql_fetchrowset($result);
if( count($theme_rowset) == 0 )
{
message_die(GENERAL_MESSAGE, $lang['No_themes']);
}
$theme_data = '<?php'."\n\n";
$theme_data .= "//\n// phpBB 2.x auto-generated theme config file for $template_name\n// Do not change anything in this file!\n//\n\n";
for($i = 0; $i < count($theme_rowset); $i++)
{
while(list($key, $val) = each($theme_rowset[$i]))
{
if(!intval($key) && $key != "0" && $key != "themes_id")
{
$theme_data .= '$' . $template_name . "[$i]['$key'] = \"" . addslashes($val) . "\";\n";
}
}
$theme_data .= "\n";
}
$theme_data .= '?' . '>'; // Done this to prevent highlighting editors getting confused!
@umask(0111);
$fp = @fopen($phpbb_root_path . 'templates/' . $template_name . '/theme_info.cfg', 'w');
if( !$fp )
{
//
// Unable to open the file writeable do something here as an attempt
// to get around that...
//
$s_hidden_fields = '<input type="hidden" name="theme_info" value="' . htmlspecialchars($theme_data) . '" />';
$s_hidden_fields .= '<input type="hidden" name="send_file" value="1" /><input type="hidden" name="mode" value="export" />';
$download_form = '<form action="' . append_sid("admin_styles.$phpEx") . '" method="post"><input type="submit" name="submit" value="' . $lang['Download'] . '" />' . $s_hidden_fields;
$template->set_filenames(array(
"body" => "message_body.tpl")
);
$template->assign_vars(array(
"MESSAGE_TITLE" => $lang['Export_themes'],
"MESSAGE_TEXT" => $lang['Download_theme_cfg'] . "<br /><br />" . $download_form)
);
$template->pparse('body');
exit();
}
$result = @fputs($fp, $theme_data, strlen($theme_data));
fclose($fp);
$message = $lang['Theme_info_saved'] . "<br /><br />" . sprintf($lang['Click_return_styleadmin'], "<a href=\"" . append_sid("admin_styles.$phpEx") . "\">", "</a>") . "<br /><br />" . sprintf($lang['Click_return_admin_index'], "<a href=\"" . append_sid("index.$phpEx?pane=right") . "\">", "</a>");
message_die(GENERAL_MESSAGE, $message);
}
else if($HTTP_POST_VARS['send_file'])
{
header("Content-Type: text/x-delimtext; name=\"theme_info.cfg\"");
header("Content-disposition: attachment; filename=theme_info.cfg");
echo stripslashes($HTTP_POST_VARS['theme_info']);
}
else
{
$template->set_filenames(array(
"body" => "admin/styles_exporter.tpl")
);
if( $dir = @opendir($phpbb_root_path . 'templates/') )
{
$s_template_select = '<select name="export_template">';
while( $file = @readdir($dir) )
{
if( !is_file($phpbb_root_path . 'templates/' . $file) && !is_link($phpbb_root_path . 'templates/' .$file) && $file != "." && $file != ".." && $file != "CVS" )
{
$s_template_select .= '<option value="' . $file . '">' . $file . "</option>\n";
}
}
$s_template_select .= '</select>';
}
else
{
message_die(GENERAL_MESSAGE, $lang['No_template_dir']);
}
$template->assign_vars(array(
"L_STYLE_EXPORTER" => $lang['Export_themes'],
"L_EXPORTER_EXPLAIN" => $lang['Export_explain'],
"L_TEMPLATE_SELECT" => $lang['Select_template'],
"L_SUBMIT" => $lang['Submit'],
"S_EXPORTER_ACTION" => append_sid("admin_styles.$phpEx?mode=export"),
"S_TEMPLATE_SELECT" => $s_template_select)
);
$template->pparse("body");
}
break;
case "delete":
$style_id = ( isset($HTTP_GET_VARS['style_id']) ) ? intval($HTTP_GET_VARS['style_id']) : intval($HTTP_POST_VARS['style_id']);
if( !$confirm )
{
if($style_id == $board_config['default_style'])
{
message_die(GENERAL_MESSAGE, $lang['Cannot_remove_style']);
}
$hidden_fields = '<input type="hidden" name="mode" value="'.$mode.'" /><input type="hidden" name="style_id" value="'.$style_id.'" />';
//
// Set template files
//
$template->set_filenames(array(
"confirm" => "confirm_body.tpl")
);
$template->assign_vars(array(
"MESSAGE_TITLE" => $lang['Confirm'],
"MESSAGE_TEXT" => $lang['Confirm_delete_style'],
"L_YES" => $lang['Yes'],
"L_NO" => $lang['No'],
"S_CONFIRM_ACTION" => append_sid("admin_styles.$phpEx"),
"S_HIDDEN_FIELDS" => $hidden_fields)
);
$template->pparse("confirm");
}
else
{
//
// The user has confirmed the delete. Remove the style, the style element
// names and update any users who might be using this style
//
$sql = "DELETE FROM " . THEMES_TABLE . "
WHERE themes_id = $style_id";
if(!$result = $db->sql_query($sql, BEGIN_TRANSACTION))
{
message_die(GENERAL_ERROR, "Could not remove style data!", "", __LINE__, __FILE__, $sql);
}
//
// There may not be any theme name data so don't throw an error
// if the SQL dosan't work
//
$sql = "DELETE FROM " . THEMES_NAME_TABLE . "
WHERE themes_id = $style_id";
$db->sql_query($sql);
$sql = "UPDATE " . USERS_TABLE . "
SET user_style = " . $board_config['default_style'] . "
WHERE user_style = $style_id";
if(!$result = $db->sql_query($sql, END_TRANSACTION))
{
message_die(GENERAL_ERROR, "Could not update user style information", "", __LINE__, __FILE__, $sql);
}
$message = $lang['Style_removed'] . "<br /><br />" . sprintf($lang['Click_return_styleadmin'], "<a href=\"" . append_sid("admin_styles.$phpEx") . "\">", "</a>") . "<br /><br />" . sprintf($lang['Click_return_admin_index'], "<a href=\"" . append_sid("index.$phpEx?pane=right") . "\">", "</a>");
message_die(GENERAL_MESSAGE, $message);
}
break;
default:
$sql = "SELECT themes_id, template_name, style_name
FROM " . THEMES_TABLE . "
ORDER BY template_name";
if(!$result = $db->sql_query($sql))
{
message_die(GENERAL_ERROR, "Could not get style information!", "", __LINE__, __FILE__, $sql);
}
$style_rowset = $db->sql_fetchrowset($result);
$template->set_filenames(array(
"body" => "admin/styles_list_body.tpl")
);
$template->assign_vars(array(
"L_STYLES_TITLE" => $lang['Styles_admin'],
"L_STYLES_TEXT" => $lang['Styles_explain'],
"L_STYLE" => $lang['Style'],
"L_TEMPLATE" => $lang['Template'],
"L_EDIT" => $lang['Edit'],
"L_DELETE" => $lang['Delete'])
);
for($i = 0; $i < count($style_rowset); $i++)
{
$row_color = ( !($i % 2) ) ? $theme['td_color1'] : $theme['td_color2'];
$row_class = ( !($i % 2) ) ? $theme['td_class1'] : $theme['td_class2'];
$template->assign_block_vars("styles", array(
"ROW_CLASS" => $row_class,
"ROW_COLOR" => $row_color,
"STYLE_NAME" => $style_rowset[$i]['style_name'],
"TEMPLATE_NAME" => $style_rowset[$i]['template_name'],
"U_STYLES_EDIT" => append_sid("admin_styles.$phpEx?mode=edit&amp;style_id=" . $style_rowset[$i]['themes_id']),
"U_STYLES_DELETE" => append_sid("admin_styles.$phpEx?mode=delete&amp;style_id=" . $style_rowset[$i]['themes_id']))
);
}
$template->pparse("body");
break;
}
if( !$HTTP_POST_VARS['send_file'] )
{
include('page_footer_admin.'.$phpEx);
}
?>

View File

@@ -1,941 +0,0 @@
<?php
/***************************************************************************
* admin_ug_auth.php
* -------------------
* begin : Saturday, Feb 13, 2001
* copyright : (C) 2001 The phpBB Group
* email : support@phpbb.com
*
* $Id$
*
*
***************************************************************************/
/***************************************************************************
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
***************************************************************************/
define('IN_PHPBB', 1);
if( !empty($setmodules) )
{
$filename = basename(__FILE__);
$module['Users']['Permissions'] = $filename . "?mode=user";
$module['Groups']['Permissions'] = $filename . "?mode=group";
return;
}
//
// Load default header
//
$no_page_header = TRUE;
$phpbb_root_path = "../";
require($phpbb_root_path . 'extension.inc');
require('pagestart.' . $phpEx);
$params = array('mode' => 'mode', 'user_id' => POST_USERS_URL, 'group_id' => POST_GROUPS_URL, 'adv' => 'adv');
while( list($var, $param) = @each($params) )
{
if ( !empty($HTTP_POST_VARS[$param]) || !empty($HTTP_GET_VARS[$param]) )
{
$$var = ( !empty($HTTP_POST_VARS[$param]) ) ? $HTTP_POST_VARS[$param] : $HTTP_GET_VARS[$param];
}
else
{
$$var = "";
}
}
//
// Start program - define vars
//
$forum_auth_fields = array('auth_view', 'auth_read', 'auth_post', 'auth_reply', 'auth_edit', 'auth_delete', 'auth_sticky', 'auth_announce', 'auth_vote', 'auth_pollcreate');
$auth_field_match = array(
'auth_view' => AUTH_VIEW,
'auth_read' => AUTH_READ,
'auth_post' => AUTH_POST,
'auth_reply' => AUTH_REPLY,
'auth_edit' => AUTH_EDIT,
'auth_delete' => AUTH_DELETE,
'auth_sticky' => AUTH_STICKY,
'auth_announce' => AUTH_ANNOUNCE,
'auth_vote' => AUTH_VOTE,
'auth_pollcreate' => AUTH_POLLCREATE);
$field_names = array(
'auth_view' => $lang['View'],
'auth_read' => $lang['Read'],
'auth_post' => $lang['Post'],
'auth_reply' => $lang['Reply'],
'auth_edit' => $lang['Edit'],
'auth_delete' => $lang['Delete'],
'auth_sticky' => $lang['Sticky'],
'auth_announce' => $lang['Announce'],
'auth_vote' => $lang['Vote'],
'auth_pollcreate' => $lang['Pollcreate']);
// ---------------
// Start Functions
//
function check_auth($type, $key, $u_access, $is_admin)
{
$auth_user = 0;
if( count($u_access) )
{
for($j = 0; $j < count($u_access); $j++)
{
$result = 0;
switch($type)
{
case AUTH_ACL:
$result = $u_access[$j][$key];
case AUTH_MOD:
$result = $result || $u_access[$j]['auth_mod'];
case AUTH_ADMIN:
$result = $result || $is_admin;
break;
}
$auth_user = $auth_user || $result;
}
}
else
{
$auth_user = $is_admin;
}
return $auth_user;
}
//
// End Functions
// -------------
if ( isset($HTTP_POST_VARS['submit']) && ( ( $mode == 'user' && $user_id ) || ( $mode == 'group' && $group_id ) ) )
{
$user_level = '';
if ( $mode == 'user' )
{
//
// Get group_id for this user_id
//
$sql = "SELECT g.group_id, u.user_level
FROM " . USER_GROUP_TABLE . " ug, " . USERS_TABLE . " u, " . GROUPS_TABLE . " g
WHERE u.user_id = $user_id
AND ug.user_id = u.user_id
AND g.group_id = ug.group_id
AND g.group_single_user = " . TRUE;
if ( !($result = $db->sql_query($sql)) )
{
message_die(GENERAL_ERROR, 'Could not select info from user/user_group table', '', __LINE__, __FILE__, $sql);
}
$row = $db->sql_fetchrow($result);
$group_id = $row['group_id'];
$user_level = $row['user_level'];
$db->sql_freeresult($result);
}
//
// Carry out requests
//
if ( $mode == 'user' && $HTTP_POST_VARS['userlevel'] == 'admin' && $user_level != ADMIN )
{
//
// Make user an admin (if already user)
//
if ( $userdata['user_id'] != $user_id )
{
$sql = "UPDATE " . USERS_TABLE . "
SET user_level = " . ADMIN . "
WHERE user_id = $user_id";
if ( !($result = $db->sql_query($sql)) )
{
message_die(GENERAL_ERROR, 'Could not update user level', '', __LINE__, __FILE__, $sql);
}
$sql = "DELETE FROM " . AUTH_ACCESS_TABLE . "
WHERE group_id = $group_id
AND auth_mod = 0";
if ( !($result = $db->sql_query($sql)) )
{
message_die(GENERAL_ERROR, "Couldn't delete auth access info", "", __LINE__, __FILE__, $sql);
}
//
// Delete any entries in auth_access, they are not required if user is becoming an
// admin
//
$sql = "UPDATE " . AUTH_ACCESS_TABLE . "
SET auth_view = 0, auth_read = 0, auth_post = 0, auth_reply = 0, auth_edit = 0, auth_delete = 0, auth_sticky = 0, auth_announce = 0
WHERE group_id = $group_id";
if ( !($result = $db->sql_query($sql)) )
{
message_die(GENERAL_ERROR, "Couldn't update auth access", "", __LINE__, __FILE__, $sql);
}
}
$message = $lang['Auth_updated'] . '<br /><br />' . sprintf($lang['Click_return_userauth'], '<a href="' . append_sid("admin_ug_auth.$phpEx?mode=$mode") . '">', '</a>') . '<br /><br />' . sprintf($lang['Click_return_admin_index'], '<a href="' . append_sid("index.$phpEx?pane=right") . '">', '</a>');
message_die(GENERAL_MESSAGE, $message);
}
else
{
if ( $mode == 'user' && $HTTP_POST_VARS['userlevel'] == 'user' && $user_level == ADMIN )
{
//
// Make admin a user (if already admin) ... ignore if you're trying
// to change yourself from an admin to user!
//
if ( $userdata['user_id'] != $user_id )
{
$sql = "UPDATE " . AUTH_ACCESS_TABLE . "
SET auth_view = 0, auth_read = 0, auth_post = 0, auth_reply = 0, auth_edit = 0, auth_delete = 0, auth_sticky = 0, auth_announce = 0
WHERE group_id = $group_id";
if ( !($result = $db->sql_query($sql)) )
{
message_die(GENERAL_ERROR, 'Could not update auth access', '', __LINE__, __FILE__, $sql);
}
//
// Update users level, reset to USER
//
$sql = "UPDATE " . USERS_TABLE . "
SET user_level = " . USER . "
WHERE user_id = $user_id";
if ( !($result = $db->sql_query($sql)) )
{
message_die(GENERAL_ERROR, 'Could not update user level', '', __LINE__, __FILE__, $sql);
}
}
$message = $lang['Auth_updated'] . '<br /><br />' . sprintf($lang['Click_return_userauth'], '<a href="' . append_sid("admin_ug_auth.$phpEx?mode=$mode") . '">', '</a>') . '<br /><br />' . sprintf($lang['Click_return_admin_index'], '<a href="' . append_sid("index.$phpEx?pane=right") . '">', '</a>');
}
else
{
$change_mod_list = ( isset($HTTP_POST_VARS['moderator']) ) ? $HTTP_POST_VARS['moderator'] : false;
if ( empty($adv) )
{
$change_acl_list = ( isset($HTTP_POST_VARS['private']) ) ? $HTTP_POST_VARS['private'] : false;
}
else
{
$change_acl_list = array();
for($j = 0; $j < count($forum_auth_fields); $j++)
{
$auth_field = $forum_auth_fields[$j];
while( list($forum_id, $value) = @each($HTTP_POST_VARS['private_' . $auth_field]) )
{
$change_acl_list[$forum_id][$auth_field] = $value;
}
}
}
$sql = "SELECT *
FROM " . FORUMS_TABLE . " f
ORDER BY forum_order";
if ( !($result = $db->sql_query($sql)) )
{
message_die(GENERAL_ERROR, "Couldn't obtain forum information", "", __LINE__, __FILE__, $sql);
}
$forum_access = array();
while( $row = $db->sql_fetchrow($result) )
{
$forum_access[] = $row;
}
$db->sql_freeresult($result);
$sql = ( $mode == 'user' ) ? "SELECT aa.* FROM " . AUTH_ACCESS_TABLE . " aa, " . USER_GROUP_TABLE . " ug, " . GROUPS_TABLE. " g WHERE ug.user_id = $user_id AND g.group_id = ug.group_id AND aa.group_id = ug.group_id AND g.group_single_user = " . TRUE : "SELECT * FROM " . AUTH_ACCESS_TABLE . " WHERE group_id = $group_id";
if ( !($result = $db->sql_query($sql)) )
{
message_die(GENERAL_ERROR, "Couldn't obtain user/group permissions", "", __LINE__, __FILE__, $sql);
}
$auth_access = array();
while( $row = $db->sql_fetchrow($result) )
{
$auth_access[$row['forum_id']] = $row;
}
$db->sql_freeresult($result);
$forum_auth_action = array();
$update_acl_status = array();
$update_mod_status = array();
for($i = 0; $i < count($forum_access); $i++)
{
$forum_id = $forum_access[$i]['forum_id'];
if (
( isset($auth_access[$forum_id]['auth_mod']) && $change_mod_list[$forum_id]['auth_mod'] != $auth_access[$forum_id]['auth_mod'] ) ||
( !isset($auth_access[$forum_id]['auth_mod']) && !empty($change_mod_list[$forum_id]['auth_mod']) )
)
{
$update_mod_status[$forum_id] = $change_mod_list[$forum_id]['auth_mod'];
if ( !$update_mod_status[$forum_id] )
{
$forum_auth_action[$forum_id] = 'delete';
}
else if ( !isset($auth_access[$forum_id]['auth_mod']) )
{
$forum_auth_action[$forum_id] = 'insert';
}
else
{
$forum_auth_action[$forum_id] = 'update';
}
}
for($j = 0; $j < count($forum_auth_fields); $j++)
{
$auth_field = $forum_auth_fields[$j];
if( $forum_access[$i][$auth_field] == AUTH_ACL && isset($change_acl_list[$forum_id][$auth_field]) )
{
if ( ( empty($auth_access[$forum_id]['auth_mod']) &&
( isset($auth_access[$forum_id][$auth_field]) && $change_acl_list[$forum_id][$auth_field] != $auth_access[$forum_id][$auth_field] ) ||
( !isset($auth_access[$forum_id][$auth_field]) && !empty($change_acl_list[$forum_id][$auth_field]) ) ) ||
!empty($update_mod_status[$forum_id])
)
{
$update_acl_status[$forum_id][$auth_field] = ( !empty($update_mod_status[$forum_id]) ) ? 0 : $change_acl_list[$forum_id][$auth_field];
if ( isset($auth_access[$forum_id][$auth_field]) && empty($update_acl_status[$forum_id][$auth_field]) && $forum_auth_action[$forum_id] != 'insert' && $forum_auth_action[$forum_id] != 'update' )
{
$forum_auth_action[$forum_id] = 'delete';
}
else if ( !isset($auth_access[$forum_id][$auth_field]) && !( $forum_auth_action[$forum_id] == 'delete' && empty($update_acl_status[$forum_id][$auth_field]) ) )
{
$forum_auth_action[$forum_id] = 'insert';
}
else if ( isset($auth_access[$forum_id][$auth_field]) && !empty($update_acl_status[$forum_id][$auth_field]) )
{
$forum_auth_action[$forum_id] = 'update';
}
}
else if ( ( empty($auth_access[$forum_id]['auth_mod']) &&
( isset($auth_access[$forum_id][$auth_field]) && $change_acl_list[$forum_id][$auth_field] == $auth_access[$forum_id][$auth_field] ) ) && $forum_auth_action[$forum_id] == 'delete' )
{
$forum_auth_action[$forum_id] = 'update';
}
}
}
}
//
// Checks complete, make updates to DB
//
$delete_sql = '';
while( list($forum_id, $action) = @each($forum_auth_action) )
{
if ( $action == 'delete' )
{
$delete_sql .= ( ( $delete_sql != '' ) ? ', ' : '' ) . $forum_id;
}
else
{
if ( $action == 'insert' )
{
$sql_field = '';
$sql_value = '';
while ( list($auth_type, $value) = @each($update_acl_status[$forum_id]) )
{
$sql_field .= ( ( $sql_field != '' ) ? ', ' : '' ) . $auth_type;
$sql_value .= ( ( $sql_value != '' ) ? ', ' : '' ) . $value;
}
$sql_field .= ( ( $sql_field != '' ) ? ', ' : '' ) . 'auth_mod';
$sql_value .= ( ( $sql_value != '' ) ? ', ' : '' ) . ( ( !isset($update_mod_status[$forum_id]) ) ? 0 : $update_mod_status[$forum_id]);
$sql = "INSERT INTO " . AUTH_ACCESS_TABLE . " (forum_id, group_id, $sql_field)
VALUES ($forum_id, $group_id, $sql_value)";
}
else
{
$sql_values = '';
while ( list($auth_type, $value) = @each($update_acl_status[$forum_id]) )
{
$sql_values .= ( ( $sql_values != '' ) ? ', ' : '' ) . $auth_type . ' = ' . $value;
}
$sql_values .= ( ( $sql_values != '' ) ? ', ' : '' ) . 'auth_mod = ' . ( ( !isset($update_mod_status[$forum_id]) ) ? 0 : $update_mod_status[$forum_id]);
$sql = "UPDATE " . AUTH_ACCESS_TABLE . "
SET $sql_values
WHERE group_id = $group_id
AND forum_id = $forum_id";
}
if( !($result = $db->sql_query($sql)) )
{
message_die(GENERAL_ERROR, "Couldn't update private forum permissions", "", __LINE__, __FILE__, $sql);
}
}
}
if ( $delete_sql != '' )
{
$sql = "DELETE FROM " . AUTH_ACCESS_TABLE . "
WHERE group_id = $group_id
AND forum_id IN ($delete_sql)";
if( !($result = $db->sql_query($sql)) )
{
message_die(GENERAL_ERROR, "Couldn't delete permission entries", "", __LINE__, __FILE__, $sql);
}
}
$l_auth_return = ( $mode == 'user' ) ? $lang['Click_return_userauth'] : $lang['Click_return_groupauth'];
$message = $lang['Auth_updated'] . '<br /><br />' . sprintf($l_auth_return, '<a href="' . append_sid("admin_ug_auth.$phpEx?mode=$mode") . '">', '</a>') . '<br /><br />' . sprintf($lang['Click_return_admin_index'], '<a href="' . append_sid("index.$phpEx?pane=right") . '">', '</a>');
}
//
// Update user level to mod for appropriate users
//
$sql = "SELECT u.user_id
FROM " . AUTH_ACCESS_TABLE . " aa, " . USER_GROUP_TABLE . " ug, " . USERS_TABLE . " u
WHERE ug.group_id = aa.group_id
AND u.user_id = ug.user_id
AND u.user_level NOT IN (" . MOD . ", " . ADMIN . ")
GROUP BY u.user_id
HAVING SUM(aa.auth_mod) > 0";
if ( !($result = $db->sql_query($sql)) )
{
message_die(GENERAL_ERROR, "Couldn't obtain user/group permissions", "", __LINE__, __FILE__, $sql);
}
$set_mod = '';
while( $row = $db->sql_fetchrow($result) )
{
$set_mod .= ( ( $set_mod != '' ) ? ', ' : '' ) . $row['user_id'];
}
$db->sql_freeresult($result);
//
// Update user level to user for appropriate users
//
switch ( SQL_LAYER )
{
case 'postgresql':
$sql = "SELECT u.user_id
FROM " . USERS_TABLE . " u, " . USER_GROUP_TABLE . " ug, " . AUTH_ACCESS_TABLE . " aa
WHERE ug.user_id = u.user_id
AND aa.group_id = ug.group_id
AND u.user_level NOT IN (" . USER . ", " . ADMIN . ")
GROUP BY u.user_id
HAVING SUM(aa.auth_mod) = 0
UNION (
SELECT u.user_id
FROM " . USERS_TABLE . " u
WHERE NOT EXISTS (
SELECT aa.auth_mod
FROM " . USER_GROUP_TABLE . " ug, " . AUTH_ACCESS_TABLE . " aa
WHERE ug.user_id = u.user_id
AND aa.group_id = ug.group_id
)
AND u.user_level NOT IN (" . USER . ", " . ADMIN . ")
GROUP BY u.user_id
)";
break;
case 'oracle':
$sql = "SELECT u.user_id
FROM " . USERS_TABLE . " u, " . USER_GROUP_TABLE . " ug, " . AUTH_ACCESS_TABLE . " aa
WHERE ug.user_id = u.user_id(+)
AND aa.group_id = ug.group_id(+)
AND u.user_level NOT IN (" . USER . ", " . ADMIN . ")
GROUP BY u.user_id
HAVING SUM(aa.auth_mod) = 0";
break;
default:
$sql = "SELECT u.user_id
FROM ( ( " . USERS_TABLE . " u
LEFT JOIN " . USER_GROUP_TABLE . " ug ON ug.user_id = u.user_id )
LEFT JOIN " . AUTH_ACCESS_TABLE . " aa ON aa.group_id = ug.group_id )
WHERE u.user_level NOT IN (" . USER . ", " . ADMIN . ")
GROUP BY u.user_id
HAVING SUM(aa.auth_mod) = 0";
break;
}
if ( !($result = $db->sql_query($sql)) )
{
message_die(GENERAL_ERROR, "Couldn't obtain user/group permissions", "", __LINE__, __FILE__, $sql);
}
$unset_mod = "";
while( $row = $db->sql_fetchrow($result) )
{
$unset_mod .= ( ( $unset_mod != '' ) ? ', ' : '' ) . $row['user_id'];
}
$db->sql_freeresult($result);
if ( $set_mod != '' )
{
$sql = "UPDATE " . USERS_TABLE . "
SET user_level = " . MOD . "
WHERE user_id IN ($set_mod)";
if( !($result = $db->sql_query($sql)) )
{
message_die(GENERAL_ERROR, "Couldn't update user level", "", __LINE__, __FILE__, $sql);
}
}
if ( $unset_mod != '' )
{
$sql = "UPDATE " . USERS_TABLE . "
SET user_level = " . USER . "
WHERE user_id IN ($unset_mod)";
if( !($result = $db->sql_query($sql)) )
{
message_die(GENERAL_ERROR, "Couldn't update user level", "", __LINE__, __FILE__, $sql);
}
}
message_die(GENERAL_MESSAGE, $message);
}
}
else if ( ( $mode == 'user' && ( isset($HTTP_POST_VARS['username']) || $user_id ) ) || ( $mode == 'group' && $group_id ) )
{
if ( isset($HTTP_POST_VARS['username']) )
{
$this_userdata = get_userdata($HTTP_POST_VARS['username']);
if ( !is_array($this_userdata) )
{
message_die(GENERAL_MESSAGE, $lang['No_such_user']);
}
$user_id = $this_userdata['user_id'];
}
//
// Front end
//
$sql = "SELECT *
FROM " . FORUMS_TABLE . " f
ORDER BY forum_order";
if ( !($result = $db->sql_query($sql)) )
{
message_die(GENERAL_ERROR, "Couldn't obtain forum information", "", __LINE__, __FILE__, $sql);
}
$forum_access = array();
while( $row = $db->sql_fetchrow($result) )
{
$forum_access[] = $row;
}
$db->sql_freeresult($result);
if( empty($adv) )
{
for($i = 0; $i < count($forum_access); $i++)
{
$forum_id = $forum_access[$i]['forum_id'];
$forum_auth_level[$forum_id] = AUTH_ALL;
for($j = 0; $j < count($forum_auth_fields); $j++)
{
$forum_access[$i][$forum_auth_fields[$j]] . ' :: ';
if ( $forum_access[$i][$forum_auth_fields[$j]] == AUTH_ACL )
{
$forum_auth_level[$forum_id] = AUTH_ACL;
$forum_auth_level_fields[$forum_id][] = $forum_auth_fields[$j];
}
}
}
}
$sql = "SELECT u.user_id, u.username, u.user_level, g.group_id, g.group_name, g.group_single_user FROM " . USERS_TABLE . " u, " . GROUPS_TABLE . " g, " . USER_GROUP_TABLE . " ug WHERE ";
$sql .= ( $mode == 'user' ) ? "u.user_id = $user_id AND ug.user_id = u.user_id AND g.group_id = ug.group_id" : "g.group_id = $group_id AND ug.group_id = g.group_id AND u.user_id = ug.user_id";
if ( !($result = $db->sql_query($sql)) )
{
message_die(GENERAL_ERROR, "Couldn't obtain user/group information", "", __LINE__, __FILE__, $sql);
}
$ug_info = array();
while( $row = $db->sql_fetchrow($result) )
{
$ug_info[] = $row;
}
$db->sql_freeresult($result);
$sql = ( $mode == 'user' ) ? "SELECT aa.*, g.group_single_user FROM " . AUTH_ACCESS_TABLE . " aa, " . USER_GROUP_TABLE . " ug, " . GROUPS_TABLE. " g WHERE ug.user_id = $user_id AND g.group_id = ug.group_id AND aa.group_id = ug.group_id AND g.group_single_user = 1" : "SELECT * FROM " . AUTH_ACCESS_TABLE . " WHERE group_id = $group_id";
if ( !($result = $db->sql_query($sql)) )
{
message_die(GENERAL_ERROR, "Couldn't obtain user/group permissions", "", __LINE__, __FILE__, $sql);
}
$auth_access = array();
$auth_access_count = array();
while( $row = $db->sql_fetchrow($result) )
{
$auth_access[$row['forum_id']][] = $row;
$auth_access_count[$row['forum_id']]++;
}
$db->sql_freeresult($result);
$is_admin = ( $mode == 'user' ) ? ( ( $ug_info[0]['user_level'] == ADMIN && $ug_info[0]['user_id'] != ANONYMOUS ) ? 1 : 0 ) : 0;
for($i = 0; $i < count($forum_access); $i++)
{
$forum_id = $forum_access[$i]['forum_id'];
unset($prev_acl_setting);
for($j = 0; $j < count($forum_auth_fields); $j++)
{
$key = $forum_auth_fields[$j];
$value = $forum_access[$i][$key];
switch( $value )
{
case AUTH_ALL:
case AUTH_REG:
$auth_ug[$forum_id][$key] = 1;
break;
case AUTH_ACL:
$auth_ug[$forum_id][$key] = ( !empty($auth_access_count[$forum_id]) ) ? check_auth(AUTH_ACL, $key, $auth_access[$forum_id], $is_admin) : 0;
$auth_field_acl[$forum_id][$key] = $auth_ug[$forum_id][$key];
if ( isset($prev_acl_setting) )
{
if ( $prev_acl_setting != $auth_ug[$forum_id][$key] && empty($adv) )
{
$adv = 1;
}
}
$prev_acl_setting = $auth_ug[$forum_id][$key];
break;
case AUTH_MOD:
$auth_ug[$forum_id][$key] = ( !empty($auth_access_count[$forum_id]) ) ? check_auth(AUTH_MOD, $key, $auth_access[$forum_id], $is_admin) : 0;
break;
case AUTH_ADMIN:
$auth_ug[$forum_id][$key] = $is_admin;
break;
default:
$auth_ug[$forum_id][$key] = 0;
break;
}
}
//
// Is user a moderator?
//
$auth_ug[$forum_id]['auth_mod'] = ( !empty($auth_access_count[$forum_id]) ) ? check_auth(AUTH_MOD, 'auth_mod', $auth_access[$forum_id], 0) : 0;
}
$i = 0;
@reset($auth_ug);
while( list($forum_id, $user_ary) = @each($auth_ug) )
{
if ( empty($adv) )
{
if ( $forum_auth_level[$forum_id] == AUTH_ACL )
{
$allowed = 1;
for($j = 0; $j < count($forum_auth_level_fields[$forum_id]); $j++)
{
if ( !$auth_ug[$forum_id][$forum_auth_level_fields[$forum_id][$j]] )
{
$allowed = 0;
}
}
$optionlist_acl = '<select name="private[' . $forum_id . ']">';
if ( $is_admin || $user_ary['auth_mod'] )
{
$optionlist_acl .= '<option value="1">' . $lang['Allowed_Access'] . '</option>';
}
else if ( $allowed )
{
$optionlist_acl .= '<option value="1" selected="selected">' . $lang['Allowed_Access'] . '</option><option value="0">'. $lang['Disallowed_Access'] . '</option>';
}
else
{
$optionlist_acl .= '<option value="1">' . $lang['Allowed_Access'] . '</option><option value="0" selected="selected">' . $lang['Disallowed_Access'] . '</option>';
}
$optionlist_acl .= '</select>';
}
else
{
$optionlist_acl = '&nbsp;';
}
}
else
{
for($j = 0; $j < count($forum_access); $j++)
{
if ( $forum_access[$j]['forum_id'] == $forum_id )
{
for($k = 0; $k < count($forum_auth_fields); $k++)
{
$field_name = $forum_auth_fields[$k];
if( $forum_access[$j][$field_name] == AUTH_ACL )
{
$optionlist_acl_adv[$forum_id][$k] = '<select name="private_' . $field_name . '[' . $forum_id . ']">';
if( isset($auth_field_acl[$forum_id][$field_name]) && !($is_admin || $user_ary['auth_mod']) )
{
if( !$auth_field_acl[$forum_id][$field_name] )
{
$optionlist_acl_adv[$forum_id][$k] .= '<option value="1">' . $lang['ON'] . '</option><option value="0" selected="selected">' . $lang['OFF'] . '</option>';
}
else
{
$optionlist_acl_adv[$forum_id][$k] .= '<option value="1" selected="selected">' . $lang['ON'] . '</option><option value="0">' . $lang['OFF'] . '</option>';
}
}
else
{
if( $is_admin || $user_ary['auth_mod'] )
{
$optionlist_acl_adv[$forum_id][$k] .= '<option value="1">' . $lang['ON'] . '</option>';
}
else
{
$optionlist_acl_adv[$forum_id][$k] .= '<option value="1">' . $lang['ON'] . '</option><option value="0" selected="selected">' . $lang['OFF'] . '</option>';
}
}
$optionlist_acl_adv[$forum_id][$k] .= '</select>';
}
}
}
}
}
$optionlist_mod = '<select name="moderator[' . $forum_id . ']">';
$optionlist_mod .= ( $user_ary['auth_mod'] ) ? '<option value="1" selected="selected">' . $lang['Is_Moderator'] . '</option><option value="0">' . $lang['Not_Moderator'] . '</option>' : '<option value="1">' . $lang['Is_Moderator'] . '</option><option value="0" selected="selected">' . $lang['Not_Moderator'] . '</option>';
$optionlist_mod .= '</select>';
$row_class = ( !( $i % 2 ) ) ? 'row2' : 'row1';
$row_color = ( !( $i % 2 ) ) ? $theme['td_color1'] : $theme['td_color2'];
$template->assign_block_vars('forums', array(
'ROW_COLOR' => '#' . $row_color,
'ROW_CLASS' => $row_class,
'FORUM_NAME' => $forum_access[$i]['forum_name'],
'U_FORUM_AUTH' => append_sid("admin_forumauth.$phpEx?f=" . $forum_access[$i]['forum_id']),
'S_MOD_SELECT' => $optionlist_mod)
);
if( !$adv )
{
$template->assign_block_vars('forums.aclvalues', array(
'S_ACL_SELECT' => $optionlist_acl)
);
}
else
{
for($j = 0; $j < count($forum_auth_fields); $j++)
{
$template->assign_block_vars('forums.aclvalues', array(
'S_ACL_SELECT' => $optionlist_acl_adv[$forum_id][$j])
);
}
}
$i++;
}
@reset($auth_user);
if ( $mode == 'user' )
{
$t_username = $ug_info[0]['username'];
$s_user_type = ( $is_admin ) ? '<select name="userlevel"><option value="admin" selected="selected">' . $lang['Auth_Admin'] . '</option><option value="user">' . $lang['Auth_User'] . '</option></select>' : '<select name="userlevel"><option value="admin">' . $lang['Auth_Admin'] . '</option><option value="user" selected="selected">' . $lang['Auth_User'] . '</option></select>';
}
else
{
$t_groupname = $ug_info[0]['group_name'];
}
$name = array();
$id = array();
for($i = 0; $i < count($ug_info); $i++)
{
if( ( $mode == 'user' && !$ug_info[$i]['group_single_user'] ) || $mode == 'group' )
{
$name[] = ( $mode == 'user' ) ? $ug_info[$i]['group_name'] : $ug_info[$i]['username'];
$id[] = ( $mode == 'user' ) ? intval($ug_info[$i]['group_id']) : intval($ug_info[$i]['user_id']);
}
}
if( count($name) )
{
$t_usergroup_list = '';
for($i = 0; $i < count($ug_info); $i++)
{
$t_usergroup_list .= ( ( $t_usergroup_list != '' ) ? ', ' : '' ) . '<a href="' . append_sid("admin_ug_auth.$phpEx?mode=$mode&amp;" . POST_GROUPS_URL . "=" . $id[$i]) . '">' . $name[$i] . '</a>';
}
}
else
{
$t_usergroup_list = $lang['None'];
}
$s_column_span = 2; // Two columns always present
if( !$adv )
{
$template->assign_block_vars('acltype', array(
'L_UG_ACL_TYPE' => $lang['Simple_Permission'])
);
$s_column_span++;
}
else
{
for($i = 0; $i < count($forum_auth_fields); $i++)
{
$cell_title = $field_names[$forum_auth_fields[$i]];
$template->assign_block_vars('acltype', array(
'L_UG_ACL_TYPE' => $cell_title)
);
$s_column_span++;
}
}
//
// Dump in the page header ...
//
include('page_header_admin.'.$phpEx);
$template->set_filenames(array(
"body" => 'admin/auth_ug_body.tpl')
);
$adv_switch = ( empty($adv) ) ? 1 : 0;
$u_ug_switch = ( $mode == 'user' ) ? POST_USERS_URL . "=" . $user_id : POST_GROUPS_URL . "=" . $group_id;
$switch_mode = append_sid("admin_ug_auth.$phpEx?mode=$mode&amp;" . $u_ug_switch . "&amp;adv=$adv_switch");
$switch_mode_text = ( empty($adv) ) ? $lang['Advanced_mode'] : $lang['Simple_mode'];
$u_switch_mode = '<a href="' . $switch_mode . '">' . $switch_mode_text . '</a>';
$s_hidden_fields = '<input type="hidden" name="mode" value="' . $mode . '" /><input type="hidden" name="adv" value="' . $adv . '" />';
$s_hidden_fields .= ( $mode == 'user' ) ? '<input type="hidden" name="' . POST_USERS_URL . '" value="' . $user_id . '" />' : '<input type="hidden" name="' . POST_GROUPS_URL . '" value="' . $group_id . '" />';
if ( $mode == 'user' )
{
$template->assign_block_vars('switch_user_auth', array());
$template->assign_vars(array(
'USERNAME' => $t_username,
'USER_LEVEL' => $lang['User_Level'] . " : " . $s_user_type,
'USER_GROUP_MEMBERSHIPS' => $lang['Group_memberships'] . ' : ' . $t_usergroup_list)
);
}
else
{
$template->assign_block_vars("switch_group_auth", array());
$template->assign_vars(array(
'USERNAME' => $t_groupname,
'GROUP_MEMBERSHIP' => $lang['Usergroup_members'] . ' : ' . $t_usergroup_list)
);
}
$template->assign_vars(array(
'L_USER_OR_GROUPNAME' => ( $mode == 'user' ) ? $lang['Username'] : $lang['Group_name'],
'L_USER_OR_GROUP' => ( $mode == 'user' ) ? $lang['User'] : $lang['Group'],
'L_AUTH_TITLE' => ( $mode == 'user' ) ? $lang['Auth_Control_User'] : $lang['Auth_Control_Group'],
'L_AUTH_EXPLAIN' => ( $mode == 'user' ) ? $lang['User_auth_explain'] : $lang['Group_auth_explain'],
'L_MODERATOR_STATUS' => $lang['Moderator_status'],
'L_PERMISSIONS' => $lang['Permissions'],
'L_SUBMIT' => $lang['Submit'],
'L_RESET' => $lang['Reset'],
'U_USER_OR_GROUP' => append_sid("admin_ug_auth.$phpEx"),
'U_SWITCH_MODE' => $u_switch_mode,
'S_COLUMN_SPAN' => $s_column_span,
'S_AUTH_ACTION' => append_sid("admin_ug_auth.$phpEx"),
'S_HIDDEN_FIELDS' => $s_hidden_fields)
);
}
else
{
//
// Select a user/group
//
include('page_header_admin.'.$phpEx);
$template->set_filenames(array(
'body' => ( $mode == 'user' ) ? 'admin/user_select_body.tpl' : 'admin/auth_select_body.tpl')
);
if ( $mode == 'user' )
{
$template->assign_vars(array(
'L_FIND_USERNAME' => $lang['Find_username'],
'U_SEARCH_USER' => append_sid("../search.$phpEx?mode=searchuser"))
);
}
else
{
$sql = "SELECT group_id, group_name
FROM " . GROUPS_TABLE . "
WHERE group_single_user <> " . TRUE;
if ( !($result = $db->sql_query($sql)) )
{
message_die(GENERAL_ERROR, "Couldn't get group list", "", __LINE__, __FILE__, $sql);
}
if ( $row = $db->sql_fetchrow($result) )
{
$select_list = '<select name="' . POST_GROUPS_URL . '">';
do
{
$select_list .= '<option value="' . $row['group_id'] . '">' . $row['group_name'] . '</option>';
}
while ( $row = $db->sql_fetchrow($result) );
$select_list .= '</select>';
}
$template->assign_vars(array(
'S_AUTH_SELECT' => $select_list)
);
}
$s_hidden_fields = '<input type="hidden" name="mode" value="' . $mode . '" />';
$l_type = ( $mode == 'user' ) ? "USER" : "AUTH";
$template->assign_vars(array(
'L_' . $l_type . '_TITLE' => ( $mode == 'user' ) ? $lang['Auth_Control_User'] : $lang['Auth_Control_Group'],
'L_' . $l_type . '_EXPLAIN' => ( $mode == 'user' ) ? $lang['User_auth_explain'] : $lang['Group_auth_explain'],
'L_' . $l_type . '_SELECT' => ( $mode == 'user' ) ? $lang['Select_a_User'] : $lang['Select_a_Group'],
'L_LOOK_UP' => ( $mode == 'user' ) ? $lang['Look_up_User'] : $lang['Look_up_Group'],
'S_HIDDEN_FIELDS' => $s_hidden_fields,
'S_' . $l_type . '_ACTION' => append_sid("admin_ug_auth.$phpEx"))
);
}
$template->pparse('body');
include('page_footer_admin.'.$phpEx);
?>

View File

@@ -1,485 +0,0 @@
<?php
/***************************************************************************
* admin_user_ban.php
* -------------------
* begin : Tuesday, Jul 31, 2001
* copyright : (C) 2001 The phpBB Group
* email : support@phpbb.com
*
* $Id$
*
*
***************************************************************************/
/***************************************************************************
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
***************************************************************************/
define('IN_PHPBB', 1);
if( !empty($setmodules) )
{
$filename = basename(__FILE__);
$module['Users']['Ban_Management'] = $filename;
return;
}
//
// Load default header
//
$phpbb_root_path = "../";
require($phpbb_root_path . 'extension.inc');
require('pagestart.' . $phpEx);
//
// Start program
//
if( isset($HTTP_POST_VARS['submit']) )
{
$user_bansql = "";
$email_bansql = "";
$ip_bansql = "";
$user_list = array();
if( isset($HTTP_POST_VARS['ban_user']) )
{
$user_list_temp = $HTTP_POST_VARS['ban_user'];
for($i = 0; $i < count($user_list_temp); $i++)
{
$user_list[] = trim($user_list_temp[$i]);
}
}
$ip_list = array();
if( isset($HTTP_POST_VARS['ban_ip']) )
{
$ip_list_temp = explode(",", $HTTP_POST_VARS['ban_ip']);
for($i = 0; $i < count($ip_list_temp); $i++)
{
if( preg_match("/^([0-9]{1,3})\.([0-9]{1,3})\.([0-9]{1,3})\.([0-9]{1,3})[ ]*\-[ ]*([0-9]{1,3})\.([0-9]{1,3})\.([0-9]{1,3})\.([0-9]{1,3})$/", trim($ip_list_temp[$i]), $ip_range_explode) )
{
//
// Don't ask about all this, just don't ask ... !
//
$ip_1_counter = $ip_range_explode[1];
$ip_1_end = $ip_range_explode[5];
while($ip_1_counter <= $ip_1_end)
{
$ip_2_counter = ($ip_1_counter == $ip_range_explode[1]) ? $ip_range_explode[2] : 0;
$ip_2_end = ($ip_1_counter < $ip_1_end) ? 254 : $ip_range_explode[6];
if($ip_2_counter == 0 && $ip_2_end == 254)
{
$ip_2_counter = 255;
$ip_2_fragment = 255;
$ip_list[] = encode_ip("$ip_1_counter.255.255.255");
}
while($ip_2_counter <= $ip_2_end)
{
$ip_3_counter = ($ip_2_counter == $ip_range_explode[2] && $ip_1_counter == $ip_range_explode[1]) ? $ip_range_explode[3] : 0;
$ip_3_end = ($ip_2_counter < $ip_2_end || $ip_1_counter < $ip_1_end) ? 254 : $ip_range_explode[7];
if($ip_3_counter == 0 && $ip_3_end == 254 )
{
$ip_3_counter = 255;
$ip_3_fragment = 255;
$ip_list[] = encode_ip("$ip_1_counter.$ip_2_counter.255.255");
}
while($ip_3_counter <= $ip_3_end)
{
$ip_4_counter = ($ip_3_counter == $ip_range_explode[3] && $ip_2_counter == $ip_range_explode[2] && $ip_1_counter == $ip_range_explode[1]) ? $ip_range_explode[4] : 0;
$ip_4_end = ($ip_3_counter < $ip_3_end || $ip_2_counter < $ip_2_end) ? 254 : $ip_range_explode[8];
if($ip_4_counter == 0 && $ip_4_end == 254)
{
$ip_4_counter = 255;
$ip_4_fragment = 255;
$ip_list[] = encode_ip("$ip_1_counter.$ip_2_counter.$ip_3_counter.255");
}
while($ip_4_counter <= $ip_4_end)
{
$ip_list[] = encode_ip("$ip_1_counter.$ip_2_counter.$ip_3_counter.$ip_4_counter");
$ip_4_counter++;
}
$ip_3_counter++;
}
$ip_2_counter++;
}
$ip_1_counter++;
}
}
else if( preg_match("/^([\w\-_]\.?){2,}$/is", trim($ip_list_temp[$i])) )
{
$ip = gethostbynamel(trim($ip_list_temp[$i]));
for($j = 0; $j < count($ip); $j++)
{
if( !empty($ip[$j]) )
{
$ip_list[] = encode_ip($ip[$j]);
}
}
}
else if( preg_match("/^([0-9]{1,3})\.([0-9\*]{1,3})\.([0-9\*]{1,3})\.([0-9\*]{1,3})$/", trim($ip_list_temp[$i])) )
{
$ip_list[] = encode_ip(str_replace("*", "255", trim($ip_list_temp[$i])));
}
}
}
$email_list = array();
if(isset($HTTP_POST_VARS['ban_email']))
{
$email_list_temp = explode(",", $HTTP_POST_VARS['ban_email']);
for($i = 0; $i < count($email_list_temp); $i++)
{
//
// This ereg match is based on one by php@unreelpro.com
// contained in the annotated php manual at php.com (ereg
// section)
//
if( eregi("^(([[:alnum:]\*]+([-_.][[:alnum:]\*]+)*\.?)|(\*))@([[:alnum:]]+([-_]?[[:alnum:]]+)*\.){1,3}([[:alnum:]]{2,6})$", trim($email_list_temp[$i])) )
{
$email_list[] = trim($email_list_temp[$i]);
}
}
}
$sql = "SELECT *
FROM " . BANLIST_TABLE;
if( !$result = $db->sql_query($sql) )
{
message_die(GENERAL_ERROR, "Couldn't obtain banlist information", "", __LINE__, __FILE__, $sql);
}
$current_banlist = $db->sql_fetchrowset($result);
$kill_session_sql = "";
for($i = 0; $i < count($user_list); $i++)
{
$in_banlist = false;
for($j = 0; $j < count($current_banlist); $j++)
{
if($user_list[$i] == $current_banlist[$j]['ban_userid'])
{
$in_banlist = true;
}
}
if(!$in_banlist)
{
$kill_session_sql .= ( ($kill_session_sql != "") ? " OR " : "" ) . "session_user_id = $user_list[$i]";
$sql = "INSERT INTO " . BANLIST_TABLE . " (ban_userid)
VALUES (" . $user_list[$i] . ")";
if( !$result = $db->sql_query($sql) )
{
message_die(GENERAL_ERROR, "Couldn't insert ban_userid info into database", "", __LINE__, __FILE__, $sql);
}
}
}
for($i = 0; $i < count($ip_list); $i++)
{
$in_banlist = false;
for($j = 0; $j < count($current_banlist); $j++)
{
if($ip_list[$i] == $current_banlist[$j]['ban_ip'])
{
$in_banlist = true;
}
}
if(!$in_banlist)
{
if( preg_match("/(ff\.)|(\.ff)/is", chunk_split($ip_list[$i], 2, ".")) )
{
$kill_ip_sql = "session_ip LIKE '" . str_replace(".", "", preg_replace("/(ff\.)|(\.ff)/is", "%", chunk_split($ip_list[$i], 2, "."))) . "'";
}
else
{
$kill_ip_sql = "session_ip = '" . $ip_list[$i] . "'";
}
$kill_session_sql .= ( ($kill_session_sql != "") ? " OR " : "" ) . $kill_ip_sql;
$sql = "INSERT INTO " . BANLIST_TABLE . " (ban_ip)
VALUES ('" . $ip_list[$i] . "')";
if( !$result = $db->sql_query($sql) )
{
message_die(GENERAL_ERROR, "Couldn't insert ban_ip info into database", "", __LINE__, __FILE__, $sql);
}
}
}
//
// Now we'll delete all entries from the
// session table with any of the banned
// user or IP info just entered into the
// ban table ... this will force a session
// initialisation resulting in an instant
// ban
//
if( $kill_session_sql != "" )
{
$sql = "DELETE FROM " . SESSIONS_TABLE . "
WHERE $kill_session_sql";
if( !$result = $db->sql_query($sql) )
{
message_die(GENERAL_ERROR, "Couldn't delete banned sessions from database", "", __LINE__, __FILE__, $sql);
}
}
for($i = 0; $i < count($email_list); $i++)
{
$in_banlist = false;
for($j = 0; $j < count($current_banlist); $j++)
{
if( $email_list[$i] == $current_banlist[$j]['ban_email'] )
{
$in_banlist = true;
}
}
if( !$in_banlist )
{
$sql = "INSERT INTO " . BANLIST_TABLE . " (ban_email)
VALUES ('" . str_replace("\'", "''", $email_list[$i]) . "')";
if( !$result = $db->sql_query($sql) )
{
message_die(GENERAL_ERROR, "Couldn't insert ban_email info into database", "", __LINE__, __FILE__, $sql);
}
}
}
$where_sql = "";
if(isset($HTTP_POST_VARS['unban_user']))
{
$user_list = $HTTP_POST_VARS['unban_user'];
for($i = 0; $i < count($user_list); $i++)
{
if($user_list[$i] != -1)
{
if($where_sql != "")
{
$where_sql .= ", ";
}
$where_sql .= $user_list[$i];
}
}
}
if( isset($HTTP_POST_VARS['unban_ip']) )
{
$ip_list = $HTTP_POST_VARS['unban_ip'];
for($i = 0; $i < count($ip_list); $i++)
{
if($ip_list[$i] != -1)
{
if($where_sql != "")
{
$where_sql .= ", ";
}
$where_sql .= $ip_list[$i];
}
}
}
if( isset($HTTP_POST_VARS['unban_email']) )
{
$email_list = $HTTP_POST_VARS['unban_email'];
for($i = 0; $i < count($email_list); $i++)
{
if($email_list[$i] != -1)
{
if($where_sql != "")
{
$where_sql .= ", ";
}
$where_sql .= $email_list[$i];
}
}
}
if( $where_sql != "" )
{
$sql = "DELETE FROM " . BANLIST_TABLE . "
WHERE ban_id IN ($where_sql)";
if( !$result = $db->sql_query($sql) )
{
message_die(GENERAL_ERROR, "Couldn't delete ban info from database", "", __LINE__, __FILE__, $sql);
}
}
$message = $lang['Ban_update_sucessful'] . "<br /><br />" . sprintf($lang['Click_return_banadmin'], "<a href=\"" . append_sid("admin_user_ban.$phpEx") . "\">", "</a>") . "<br /><br />" . sprintf($lang['Click_return_admin_index'], "<a href=\"" . append_sid("index.$phpEx?pane=right") . "\">", "</a>");
message_die(GENERAL_MESSAGE, $message);
}
else
{
$template->set_filenames(array(
'body' => 'admin/user_ban_body.tpl')
);
$template->assign_vars(array(
'L_BAN_TITLE' => $lang['Ban_control'],
'L_BAN_EXPLAIN' => $lang['Ban_explain'],
'L_BAN_EXPLAIN_WARN' => $lang['Ban_explain_warn'],
'L_IP_OR_HOSTNAME' => $lang['IP_hostname'],
'L_EMAIL_ADDRESS' => $lang['Email_address'],
'L_SUBMIT' => $lang['Submit'],
'L_RESET' => $lang['Reset'],
'S_BANLIST_ACTION' => append_sid("admin_user_ban.$phpEx"))
);
$userban_count = 0;
$sql = "SELECT user_id, username
FROM " . USERS_TABLE . "
WHERE user_id <> " . ANONYMOUS . "
ORDER BY username ASC";
if ( !($result = $db->sql_query($sql)) )
{
message_die(GENERAL_ERROR, 'Could not select current user_id ban list', '', __LINE__, __FILE__, $sql);
}
$user_list = $db->sql_fetchrowset($result);
$db->sql_freeresult($result);
$select_userlist = '';
for($i = 0; $i < count($user_list); $i++)
{
$select_userlist .= '<option value="' . $user_list[$i]['user_id'] . '">' . $user_list[$i]['username'] . '</option>';
$userban_count++;
}
$select_userlist = '<select name="ban_user[]" multiple="multiple" size="5">' . $select_userlist . '</select>';
$template->assign_vars(array(
'L_BAN_USER' => $lang['Ban_username'],
'L_BAN_USER_EXPLAIN' => $lang['Ban_username_explain'],
'L_BAN_IP' => $lang['Ban_IP'],
'L_BAN_IP_EXPLAIN' => $lang['Ban_IP_explain'],
'L_BAN_EMAIL' => $lang['Ban_email'],
'L_BAN_EMAIL_EXPLAIN' => $lang['Ban_email_explain'],
'S_BAN_USERLIST_SELECT' => $select_userlist)
);
$userban_count = 0;
$ipban_count = 0;
$emailban_count = 0;
$sql = "SELECT b.ban_id, u.user_id, u.username
FROM " . BANLIST_TABLE . " b, " . USERS_TABLE . " u
WHERE u.user_id = b.ban_userid
AND b.ban_userid <> 0
AND u.user_id <> " . ANONYMOUS . "
ORDER BY u.user_id ASC";
if ( !($result = $db->sql_query($sql)) )
{
message_die(GENERAL_ERROR, 'Could not select current user_id ban list', '', __LINE__, __FILE__, $sql);
}
$user_list = $db->sql_fetchrowset($result);
$db->sql_freeresult($result);
$select_userlist = '';
for($i = 0; $i < count($user_list); $i++)
{
$select_userlist .= '<option value="' . $user_list[$i]['ban_id'] . '">' . $user_list[$i]['username'] . '</option>';
$userban_count++;
}
if( $select_userlist == '' )
{
$select_userlist = '<option value="-1">' . $lang['No_banned_users'] . '</option>';
}
$select_userlist = '<select name="unban_user[]" multiple="multiple" size="5">' . $select_userlist . '</select>';
$sql = "SELECT ban_id, ban_ip, ban_email
FROM " . BANLIST_TABLE;
if ( !($result = $db->sql_query($sql)) )
{
message_die(GENERAL_ERROR, 'Could not select current ip ban list', '', __LINE__, __FILE__, $sql);
}
$banlist = $db->sql_fetchrowset($result);
$db->sql_freeresult($result);
$select_iplist = '';
$select_emaillist = '';
for($i = 0; $i < count($banlist); $i++)
{
$ban_id = $banlist[$i]['ban_id'];
if ( !empty($banlist[$i]['ban_ip']) )
{
$ban_ip = str_replace('255', '*', decode_ip($banlist[$i]['ban_ip']));
$select_iplist .= '<option value="' . $ban_id . '">' . $ban_ip . '</option>';
$ipban_count++;
}
else if ( !empty($banlist[$i]['ban_email']) )
{
$ban_email = $banlist[$i]['ban_email'];
$select_emaillist .= '<option value="' . $ban_id . '">' . $ban_email . '</option>';
$emailban_count++;
}
}
if ( $select_iplist == '' )
{
$select_iplist = '<option value="-1">' . $lang['No_banned_ip'] . '</option>';
}
if ( $select_emaillist == '' )
{
$select_emaillist = '<option value="-1">' . $lang['No_banned_email'] . '</option>';
}
$select_iplist = '<select name="unban_ip[]" multiple="multiple" size="5">' . $select_iplist . '</select>';
$select_emaillist = '<select name="unban_email[]" multiple="multiple" size="5">' . $select_emaillist . '</select>';
$template->assign_vars(array(
'L_UNBAN_USER' => $lang['Unban_username'],
'L_UNBAN_USER_EXPLAIN' => $lang['Unban_username_explain'],
'L_UNBAN_IP' => $lang['Unban_IP'],
'L_UNBAN_IP_EXPLAIN' => $lang['Unban_IP_explain'],
'L_UNBAN_EMAIL' => $lang['Unban_email'],
'L_UNBAN_EMAIL_EXPLAIN' => $lang['Unban_email_explain'],
'S_UNBAN_USERLIST_SELECT' => $select_userlist,
'S_UNBAN_IPLIST_SELECT' => $select_iplist,
'S_UNBAN_EMAILLIST_SELECT' => $select_emaillist,
'S_BAN_ACTION' => append_sid("admin_user_ban.$phpEx"))
);
}
$template->pparse('body');
include('page_footer_admin.'.$phpEx);
?>

File diff suppressed because it is too large Load Diff

View File

@@ -1,235 +0,0 @@
<?php
/***************************************************************************
* admin_words.php
* -------------------
* begin : Thursday, Jul 12, 2001
* copyright : (C) 2001 The phpBB Group
* email : support@phpbb.com
*
* $Id$
*
*
***************************************************************************/
/***************************************************************************
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
***************************************************************************/
define('IN_PHPBB', 1);
if( !empty($setmodules) )
{
$file = basename(__FILE__);
$module['General']['Word_Censor'] = "$file";
return;
}
//
// Load default header
//
$phpbb_root_path = "../";
require($phpbb_root_path . 'extension.inc');
require('pagestart.' . $phpEx);
if( isset($HTTP_GET_VARS['mode']) || isset($HTTP_POST_VARS['mode']) )
{
$mode = ($HTTP_GET_VARS['mode']) ? $HTTP_GET_VARS['mode'] : $HTTP_POST_VARS['mode'];
}
else
{
//
// These could be entered via a form button
//
if( isset($HTTP_POST_VARS['add']) )
{
$mode = "add";
}
else if( isset($HTTP_POST_VARS['save']) )
{
$mode = "save";
}
else
{
$mode = "";
}
}
if( $mode != "" )
{
if( $mode == "edit" || $mode == "add" )
{
$word_id = ( isset($HTTP_GET_VARS['id']) ) ? $HTTP_GET_VARS['id'] : 0;
$template->set_filenames(array(
"body" => "admin/words_edit_body.tpl")
);
$s_hidden_fields = '';
if( $mode == "edit" )
{
if( $word_id )
{
$sql = "SELECT *
FROM " . WORDS_TABLE . "
WHERE word_id = $word_id";
if(!$result = $db->sql_query($sql))
{
message_die(GENERAL_ERROR, "Could not query words table", "Error", __LINE__, __FILE__, $sql);
}
$word_info = $db->sql_fetchrow($result);
$s_hidden_fields .= '<input type="hidden" name="id" value="' . $word_id . '" />';
}
else
{
message_die(GENERAL_MESSAGE, $lang['No_word_selected']);
}
}
$template->assign_vars(array(
"WORD" => $word_info['word'],
"REPLACEMENT" => $word_info['replacement'],
"L_WORDS_TITLE" => $lang['Words_title'],
"L_WORDS_TEXT" => $lang['Words_explain'],
"L_WORD_CENSOR" => $lang['Edit_word_censor'],
"L_WORD" => $lang['Word'],
"L_REPLACEMENT" => $lang['Replacement'],
"L_SUBMIT" => $lang['Submit'],
"S_WORDS_ACTION" => append_sid("admin_words.$phpEx"),
"S_HIDDEN_FIELDS" => $s_hidden_fields)
);
$template->pparse("body");
include('page_footer_admin.'.$phpEx);
}
else if( $mode == "save" )
{
$word_id = ( isset($HTTP_POST_VARS['id']) ) ? $HTTP_POST_VARS['id'] : 0;
$word = ( isset($HTTP_POST_VARS['word']) ) ? trim($HTTP_POST_VARS['word']) : "";
$replacement = ( isset($HTTP_POST_VARS['replacement']) ) ? trim($HTTP_POST_VARS['replacement']) : "";
if($word == "" || $replacement == "")
{
message_die(GENERAL_MESSAGE, $lang['Must_enter_word']);
}
if( $word_id )
{
$sql = "UPDATE " . WORDS_TABLE . "
SET word = '" . str_replace("\'", "''", $word) . "', replacement = '" . str_replace("\'", "''", $replacement) . "'
WHERE word_id = $word_id";
$message = $lang['Word_updated'];
}
else
{
$sql = "INSERT INTO " . WORDS_TABLE . " (word, replacement)
VALUES ('" . str_replace("\'", "''", $word) . "', '" . str_replace("\'", "''", $replacement) . "')";
$message = $lang['Word_added'];
}
if(!$result = $db->sql_query($sql))
{
message_die(GENERAL_ERROR, "Could not insert data into words table", $lang['Error'], __LINE__, __FILE__, $sql);
}
$message .= "<br /><br />" . sprintf($lang['Click_return_wordadmin'], "<a href=\"" . append_sid("admin_words.$phpEx") . "\">", "</a>") . "<br /><br />" . sprintf($lang['Click_return_admin_index'], "<a href=\"" . append_sid("index.$phpEx?pane=right") . "\">", "</a>");
message_die(GENERAL_MESSAGE, $message);
}
else if( $mode == "delete" )
{
if( isset($HTTP_POST_VARS['id']) || isset($HTTP_GET_VARS['id']) )
{
$word_id = ( isset($HTTP_POST_VARS['id']) ) ? $HTTP_POST_VARS['id'] : $HTTP_GET_VARS['id'];
}
else
{
$word_id = 0;
}
if( $word_id )
{
$sql = "DELETE FROM " . WORDS_TABLE . "
WHERE word_id = $word_id";
if(!$result = $db->sql_query($sql))
{
message_die(GENERAL_ERROR, "Could not remove data from words table", $lang['Error'], __LINE__, __FILE__, $sql);
}
$message = $lang['Word_removed'] . "<br /><br />" . sprintf($lang['Click_return_wordadmin'], "<a href=\"" . append_sid("admin_words.$phpEx") . "\">", "</a>") . "<br /><br />" . sprintf($lang['Click_return_admin_index'], "<a href=\"" . append_sid("index.$phpEx?pane=right") . "\">", "</a>");
message_die(GENERAL_MESSAGE, $message);
}
else
{
message_die(GENERAL_MESSAGE, $lang['Must_specify_word']);
}
}
}
else
{
$template->set_filenames(array(
"body" => "admin/words_list_body.tpl")
);
$sql = "SELECT *
FROM " . WORDS_TABLE . "
ORDER BY word";
if( !$result = $db->sql_query($sql) )
{
message_die(GENERAL_ERROR, "Could not query words table", $lang['Error'], __LINE__, __FILE__, $sql);
}
$word_rows = $db->sql_fetchrowset($result);
$word_count = count($word_rows);
$template->assign_vars(array(
"L_WORDS_TITLE" => $lang['Words_title'],
"L_WORDS_TEXT" => $lang['Words_explain'],
"L_WORD" => $lang['Word'],
"L_REPLACEMENT" => $lang['Replacement'],
"L_EDIT" => $lang['Edit'],
"L_DELETE" => $lang['Delete'],
"L_ADD_WORD" => $lang['Add_new_word'],
"L_ACTION" => $lang['Action'],
"S_WORDS_ACTION" => append_sid("admin_words.$phpEx"),
"S_HIDDEN_FIELDS" => '')
);
for($i = 0; $i < $word_count; $i++)
{
$word = $word_rows[$i]['word'];
$replacement = $word_rows[$i]['replacement'];
$word_id = $word_rows[$i]['word_id'];
$row_color = ( !($i % 2) ) ? $theme['td_color1'] : $theme['td_color2'];
$row_class = ( !($i % 2) ) ? $theme['td_class1'] : $theme['td_class2'];
$template->assign_block_vars("words", array(
"ROW_COLOR" => "#" . $row_color,
"ROW_CLASS" => $row_class,
"WORD" => $word,
"REPLACEMENT" => $replacement,
"U_WORD_EDIT" => append_sid("admin_words.$phpEx?mode=edit&amp;id=$word_id"),
"U_WORD_DELETE" => append_sid("admin_words.$phpEx?mode=delete&amp;id=$word_id"))
);
}
}
$template->pparse("body");
include('page_footer_admin.'.$phpEx);
?>

View File

@@ -1,590 +0,0 @@
<?php
/***************************************************************************
* (admin) index.php
* -------------------
* begin : Saturday, Feb 13, 2001
* copyright : (C) 2001 The phpBB Group
* email : support@phpbb.com
*
* $Id$
*
*
***************************************************************************/
/***************************************************************************
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
***************************************************************************/
define('IN_PHPBB', 1);
//
// Load default header
//
$no_page_header = TRUE;
$phpbb_root_path = "../";
require($phpbb_root_path . 'extension.inc');
require('pagestart.' . $phpEx);
// ---------------
// Begin functions
//
function inarray($needle, $haystack)
{
for($i = 0; $i < sizeof($haystack); $i++ )
{
if( $haystack[$i] == $needle )
{
return true;
}
}
return false;
}
//
// End functions
// -------------
//
// Generate relevant output
//
if( isset($HTTP_GET_VARS['pane']) && $HTTP_GET_VARS['pane'] == 'left' )
{
$dir = @opendir(".");
$setmodules = 1;
while( $file = @readdir($dir) )
{
if( preg_match("/^admin_.*?\." . $phpEx . "$/", $file) )
{
include($file);
}
}
@closedir($dir);
unset($setmodules);
include('page_header_admin.'.$phpEx);
$template->set_filenames(array(
"body" => "admin/index_navigate.tpl")
);
$template->assign_vars(array(
"U_FORUM_INDEX" => append_sid("../index.$phpEx"),
"U_ADMIN_INDEX" => append_sid("index.$phpEx?pane=right"),
"L_FORUM_INDEX" => $lang['Main_index'],
"L_ADMIN_INDEX" => $lang['Admin_Index'],
"L_PREVIEW_FORUM" => $lang['Preview_forum'])
);
ksort($module);
while( list($cat, $action_array) = each($module) )
{
$cat = ( !empty($lang[$cat]) ) ? $lang[$cat] : preg_replace("/_/", " ", $cat);
$template->assign_block_vars("catrow", array(
"ADMIN_CATEGORY" => $cat)
);
ksort($action_array);
$row_count = 0;
while( list($action, $file) = each($action_array) )
{
$row_color = ( !($row_count%2) ) ? $theme['td_color1'] : $theme['td_color2'];
$row_class = ( !($row_count%2) ) ? $theme['td_class1'] : $theme['td_class2'];
$action = ( !empty($lang[$action]) ) ? $lang[$action] : preg_replace("/_/", " ", $action);
$template->assign_block_vars("catrow.modulerow", array(
"ROW_COLOR" => "#" . $row_color,
"ROW_CLASS" => $row_class,
"ADMIN_MODULE" => $action,
"U_ADMIN_MODULE" => append_sid($file))
);
$row_count++;
}
}
$template->pparse("body");
include('page_footer_admin.'.$phpEx);
}
elseif( isset($HTTP_GET_VARS['pane']) && $HTTP_GET_VARS['pane'] == 'right' )
{
include('page_header_admin.'.$phpEx);
$template->set_filenames(array(
"body" => "admin/index_body.tpl")
);
$template->assign_vars(array(
"L_WELCOME" => $lang['Welcome_phpBB'],
"L_ADMIN_INTRO" => $lang['Admin_intro'],
"L_FORUM_STATS" => $lang['Forum_stats'],
"L_WHO_IS_ONLINE" => $lang['Who_is_Online'],
"L_LOCATION" => $lang['Location'],
"L_LAST_UPDATE" => $lang['Last_updated'],
"L_IP_ADDRESS" => $lang['IP_Address'],
"L_STATISTIC" => $lang['Statistic'],
"L_VALUE" => $lang['Value'],
"L_NUMBER_POSTS" => $lang['Number_posts'],
"L_POSTS_PER_DAY" => $lang['Posts_per_day'],
"L_NUMBER_TOPICS" => $lang['Number_topics'],
"L_TOPICS_PER_DAY" => $lang['Topics_per_day'],
"L_NUMBER_USERS" => $lang['Number_users'],
"L_USERS_PER_DAY" => $lang['Users_per_day'],
"L_BOARD_STARTED" => $lang['Board_started'],
"L_AVATAR_DIR_SIZE" => $lang['Avatar_dir_size'],
"L_DB_SIZE" => $lang['Database_size'],
"L_FORUM_LOCATION" => $lang['Forum_Location'],
"L_STARTED" => $lang['Login'],
"L_GZIP_COMPRESSION" => $lang['Gzip_compression'])
);
//
// Get forum statistics
//
$total_posts = get_db_stat('postcount');
$total_users = get_db_stat('usercount');
$total_topics = get_db_stat('topiccount');
$start_date = create_date($board_config['default_dateformat'], $board_config['board_startdate'], $board_config['board_timezone']);
$boarddays = ( time() - $board_config['board_startdate'] ) / 86400;
$posts_per_day = sprintf("%.2f", $total_posts / $boarddays);
$topics_per_day = sprintf("%.2f", $total_topics / $boarddays);
$users_per_day = sprintf("%.2f", $total_users / $boarddays);
$avatar_dir_size = 0;
if ($avatar_dir = @opendir($phpbb_root_path . $board_config['avatar_path']))
{
while( $file = @readdir($avatar_dir) )
{
if( $file != "." && $file != ".." )
{
$avatar_dir_size += @filesize($phpbb_root_path . $board_config['avatar_path'] . "/" . $file);
}
}
@closedir($avatar_dir);
//
// This bit of code translates the avatar directory size into human readable format
// Borrowed the code from the PHP.net annoted manual, origanally written by:
// Jesse (jesse@jess.on.ca)
//
if($avatar_dir_size >= 1048576)
{
$avatar_dir_size = round($avatar_dir_size / 1048576 * 100) / 100 . " MB";
}
else if($avatar_dir_size >= 1024)
{
$avatar_dir_size = round($avatar_dir_size / 1024 * 100) / 100 . " KB";
}
else
{
$avatar_dir_size = $avatar_dir_size . " Bytes";
}
}
else
{
// Couldn't open Avatar dir.
$avatar_dir_size = $lang['Not_available'];
}
if($posts_per_day > $total_posts)
{
$posts_per_day = $total_posts;
}
if($topics_per_day > $total_topics)
{
$topics_per_day = $total_topics;
}
if($users_per_day > $total_users)
{
$users_per_day = $total_users;
}
//
// DB size ... MySQL only
//
// This code is heavily influenced by a similar routine
// in phpMyAdmin 2.2.0
//
if( preg_match("/^mysql/", SQL_LAYER) )
{
$sql = "SELECT VERSION() AS mysql_version";
if($result = $db->sql_query($sql))
{
$row = $db->sql_fetchrow($result);
$version = $row['mysql_version'];
if( preg_match("/^(3\.23|4\.)/", $version) )
{
$db_name = ( preg_match("/^(3\.23\.[6-9])|(3\.23\.[1-9][1-9])|(4\.)/", $version) ) ? "`$dbname`" : $dbname;
$sql = "SHOW TABLE STATUS
FROM " . $db_name;
if($result = $db->sql_query($sql))
{
$tabledata_ary = $db->sql_fetchrowset($result);
$dbsize = 0;
for($i = 0; $i < count($tabledata_ary); $i++)
{
if( $tabledata_ary[$i]['Type'] != "MRG_MyISAM" )
{
if( $table_prefix != "" )
{
if( strstr($tabledata_ary[$i]['Name'], $table_prefix) )
{
$dbsize += $tabledata_ary[$i]['Data_length'] + $tabledata_ary[$i]['Index_length'];
}
}
else
{
$dbsize += $tabledata_ary[$i]['Data_length'] + $tabledata_ary[$i]['Index_length'];
}
}
}
} // Else we couldn't get the table status.
}
else
{
$dbsize = $lang['Not_available'];
}
}
else
{
$dbsize = $lang['Not_available'];
}
}
else if( preg_match("/^mssql/", SQL_LAYER) )
{
$sql = "SELECT ((SUM(size) * 8.0) * 1024.0) as dbsize
FROM sysfiles";
if( $result = $db->sql_query($sql) )
{
$dbsize = ( $row = $db->sql_fetchrow($result) ) ? intval($row['dbsize']) : $lang['Not_available'];
}
else
{
$dbsize = $lang['Not_available'];
}
}
else
{
$dbsize = $lang['Not_available'];
}
if ( is_integer($dbsize) )
{
if( $dbsize >= 1048576 )
{
$dbsize = sprintf("%.2f MB", ( $dbsize / 1048576 ));
}
else if( $dbsize >= 1024 )
{
$dbsize = sprintf("%.2f KB", ( $dbsize / 1024 ));
}
else
{
$dbsize = sprintf("%.2f Bytes", $dbsize);
}
}
$template->assign_vars(array(
"NUMBER_OF_POSTS" => $total_posts,
"NUMBER_OF_TOPICS" => $total_topics,
"NUMBER_OF_USERS" => $total_users,
"START_DATE" => $start_date,
"POSTS_PER_DAY" => $posts_per_day,
"TOPICS_PER_DAY" => $topics_per_day,
"USERS_PER_DAY" => $users_per_day,
"AVATAR_DIR_SIZE" => $avatar_dir_size,
"DB_SIZE" => $dbsize,
"GZIP_COMPRESSION" => ( $board_config['gzip_compress'] ) ? $lang['ON'] : $lang['OFF'])
);
//
// End forum statistics
//
//
// Get users online information.
//
$sql = "SELECT u.user_id, u.username, u.user_session_time, u.user_session_page, s.session_logged_in, s.session_ip, s.session_start
FROM " . USERS_TABLE . " u, " . SESSIONS_TABLE . " s
WHERE s.session_logged_in = " . TRUE . "
AND u.user_id = s.session_user_id
AND u.user_id <> " . ANONYMOUS . "
AND u.user_session_time >= " . ( time() - 300 ) . "
ORDER BY u.user_session_time DESC";
if(!$result = $db->sql_query($sql))
{
message_die(GENERAL_ERROR, "Couldn't obtain regd user/online information.", "", __LINE__, __FILE__, $sql);
}
$onlinerow_reg = $db->sql_fetchrowset($result);
$sql = "SELECT session_page, session_logged_in, session_time, session_ip, session_start
FROM " . SESSIONS_TABLE . "
WHERE session_logged_in = 0
AND session_time >= " . ( time() - 300 ) . "
ORDER BY session_time DESC";
if(!$result = $db->sql_query($sql))
{
message_die(GENERAL_ERROR, "Couldn't obtain guest user/online information.", "", __LINE__, __FILE__, $sql);
}
$onlinerow_guest = $db->sql_fetchrowset($result);
$sql = "SELECT forum_name, forum_id
FROM " . FORUMS_TABLE;
if($forums_result = $db->sql_query($sql))
{
while($forumsrow = $db->sql_fetchrow($forums_result))
{
$forum_data[$forumsrow['forum_id']] = $forumsrow['forum_name'];
}
}
else
{
message_die(GENERAL_ERROR, "Couldn't obtain user/online forums information.", "", __LINE__, __FILE__, $sql);
}
$reg_userid_ary = array();
if( count($onlinerow_reg) )
{
$registered_users = 0;
for($i = 0; $i < count($onlinerow_reg); $i++)
{
if( !inarray($onlinerow_reg[$i]['user_id'], $reg_userid_ary) )
{
$reg_userid_ary[] = $onlinerow_reg[$i]['user_id'];
$username = $onlinerow_reg[$i]['username'];
if( $onlinerow_reg[$i]['user_allow_viewonline'] || $userdata['user_level'] == ADMIN )
{
$registered_users++;
$hidden = FALSE;
}
else
{
$hidden_users++;
$hidden = TRUE;
}
if( $onlinerow_reg[$i]['user_session_page'] < 1 )
{
switch($onlinerow_reg[$i]['user_session_page'])
{
case PAGE_INDEX:
$location = $lang['Forum_index'];
$location_url = "index.$phpEx?pane=right";
break;
case PAGE_POSTING:
$location = $lang['Posting_message'];
$location_url = "index.$phpEx?pane=right";
break;
case PAGE_LOGIN:
$location = $lang['Logging_on'];
$location_url = "index.$phpEx?pane=right";
break;
case PAGE_SEARCH:
$location = $lang['Searching_forums'];
$location_url = "index.$phpEx?pane=right";
break;
case PAGE_PROFILE:
$location = $lang['Viewing_profile'];
$location_url = "index.$phpEx?pane=right";
break;
case PAGE_VIEWONLINE:
$location = $lang['Viewing_online'];
$location_url = "index.$phpEx?pane=right";
break;
case PAGE_VIEWMEMBERS:
$location = $lang['Viewing_member_list'];
$location_url = "index.$phpEx?pane=right";
break;
case PAGE_PRIVMSGS:
$location = $lang['Viewing_priv_msgs'];
$location_url = "index.$phpEx?pane=right";
break;
case PAGE_FAQ:
$location = $lang['Viewing_FAQ'];
$location_url = "index.$phpEx?pane=right";
break;
default:
$location = $lang['Forum_index'];
$location_url = "index.$phpEx?pane=right";
}
}
else
{
$location_url = append_sid("admin_forums.$phpEx?mode=editforum&amp;" . POST_FORUM_URL . "=" . $onlinerow_reg[$i]['user_session_page']);
$location = $forum_data[$onlinerow_reg[$i]['user_session_page']];
}
$row_color = ( $registered_users % 2 ) ? $theme['td_color1'] : $theme['td_color2'];
$row_class = ( $registered_users % 2 ) ? $theme['td_class1'] : $theme['td_class2'];
$reg_ip = decode_ip($onlinerow_reg[$i]['session_ip']);
$template->assign_block_vars("reg_user_row", array(
"ROW_COLOR" => "#" . $row_color,
"ROW_CLASS" => $row_class,
"USERNAME" => $username,
"STARTED" => create_date($board_config['default_dateformat'], $onlinerow_reg[$i]['session_start'], $board_config['board_timezone']),
"LASTUPDATE" => create_date($board_config['default_dateformat'], $onlinerow_reg[$i]['user_session_time'], $board_config['board_timezone']),
"FORUM_LOCATION" => $location,
"IP_ADDRESS" => $reg_ip,
"U_WHOIS_IP" => "http://www.samspade.org/t/ipwhois?a=$reg_ip",
"U_USER_PROFILE" => append_sid("admin_users.$phpEx?mode=edit&amp;" . POST_USERS_URL . "=" . $onlinerow_reg[$i]['user_id']),
"U_FORUM_LOCATION" => append_sid($location_url))
);
}
}
}
else
{
$template->assign_vars(array(
"L_NO_REGISTERED_USERS_BROWSING" => $lang['No_users_browsing'])
);
}
//
// Guest users
//
if( count($onlinerow_guest) )
{
$guest_users = 0;
for($i = 0; $i < count($onlinerow_guest); $i++)
{
$guest_userip_ary[] = $onlinerow_guest[$i]['session_ip'];
$guest_users++;
if( $onlinerow_guest[$i]['session_page'] < 1 )
{
switch( $onlinerow_guest[$i]['session_page'] )
{
case PAGE_INDEX:
$location = $lang['Forum_index'];
$location_url = "index.$phpEx?pane=right";
break;
case PAGE_POSTING:
$location = $lang['Posting_message'];
$location_url = "index.$phpEx?pane=right";
break;
case PAGE_LOGIN:
$location = $lang['Logging_on'];
$location_url = "index.$phpEx?pane=right";
break;
case PAGE_SEARCH:
$location = $lang['Searching_forums'];
$location_url = "index.$phpEx?pane=right";
break;
case PAGE_PROFILE:
$location = $lang['Viewing_profile'];
$location_url = "index.$phpEx?pane=right";
break;
case PAGE_VIEWONLINE:
$location = $lang['Viewing_online'];
$location_url = "index.$phpEx?pane=right";
break;
case PAGE_VIEWMEMBERS:
$location = $lang['Viewing_member_list'];
$location_url = "index.$phpEx?pane=right";
break;
case PAGE_PRIVMSGS:
$location = $lang['Viewing_priv_msgs'];
$location_url = "index.$phpEx?pane=right";
break;
case PAGE_FAQ:
$location = $lang['Viewing_FAQ'];
$location_url = "index.$phpEx?pane=right";
break;
default:
$location = $lang['Forum_index'];
$location_url = "index.$phpEx?pane=right";
}
}
else
{
$location_url = append_sid("admin_forums.$phpEx?mode=editforum&amp;" . POST_FORUM_URL . "=" . $onlinerow_guest[$i]['session_page']);
$location = $forum_data[$onlinerow_guest[$i]['session_page']];
}
$row_color = ( $guest_users % 2 ) ? $theme['td_color1'] : $theme['td_color2'];
$row_class = ( $guest_users % 2 ) ? $theme['td_class1'] : $theme['td_class2'];
$guest_ip = decode_ip($onlinerow_guest[$i]['session_ip']);
$template->assign_block_vars("guest_user_row", array(
"ROW_COLOR" => "#" . $row_color,
"ROW_CLASS" => $row_class,
"USERNAME" => $lang['Guest'],
"STARTED" => create_date($board_config['default_dateformat'], $onlinerow_guest[$i]['session_start'], $board_config['board_timezone']),
"LASTUPDATE" => create_date($board_config['default_dateformat'], $onlinerow_guest[$i]['session_time'], $board_config['board_timezone']),
"FORUM_LOCATION" => $location,
"IP_ADDRESS" => $guest_ip,
"U_WHOIS_IP" => "http://www.samspade.org/t/ipwhois?a=$guest_ip",
"U_FORUM_LOCATION" => append_sid($location_url))
);
}
}
else
{
$template->assign_vars(array(
"L_NO_GUESTS_BROWSING" => $lang['No_users_browsing'])
);
}
$template->pparse("body");
include('page_footer_admin.'.$phpEx);
}
else
{
//
// Generate frameset
//
$template->set_filenames(array(
"body" => "admin/index_frameset.tpl")
);
$template->assign_vars(array(
"S_FRAME_NAV" => append_sid("index.$phpEx?pane=left"),
"S_FRAME_MAIN" => append_sid("index.$phpEx?pane=right"))
);
header ("Expires: " . gmdate("D, d M Y H:i:s", time()) . " GMT");
header ("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT");
$template->pparse("body");
exit;
}
?>

Some files were not shown because too many files have changed in this diff Show More