summaryrefslogtreecommitdiff
path: root/lib/VNDB/Util/FormHTML.pm
AgeCommit message (Collapse)AuthorFilesLines
2009-08-15More sensible placing of the submit button on /v+/tagmodYorhel1-17/+17
2009-08-04Implemented double-post prevention3dB1-0/+1
-- Created a subroutine to check for any recent posts made by a user -- Added double-post checking and error messages to the form handler & html generator
2009-07-05Added spoiler options for tag filters on VN searchYorhel1-2/+10
2009-07-04Implemented copy-add release featureYorhel1-0/+1
2009-07-04Implemented support for multilingual releasesYorhel1-5/+6
The 'language' column in releases_rev has been replaced with a releases_lang table. As this is quite a big change, there may still be bugs floating around somewhere.
2009-05-22<optgroup> support for the select input type in FormHTMLYorhel1-2/+10
The third argument in the options item list is considered as the label for the optgroup the item is in.
2009-05-21Implemented the date selector in JavaScriptYorhel1-15/+1
This way, we can just use our internal database date format for client-side communication as well. The calculation is now done in a centralized place in script.js, rather than all over the place in the Perl code. This'll also make it possible to make the date selector more interactive. But that doesn't have a very high priority at the moment, the good old three-selection-boxes-thing works fine. Current implementation has only been tested on FF3, though I doubt other browsers will complain.
2009-05-10Moved date input field from Handler/Releases.pm to Util/FormHTML.pmYorhel1-0/+19
2009-03-22Merge branch 'tagging' into betaYorhel1-2/+12
Conflicts: lib/VNDB/DB/Discussions.pm util/updates/update_2.3.sql
2009-03-21Replacing all occurences of 'discussion tags' with 'discussion boards'Yorhel1-2/+2
Which is a more accurate description, and doesn't confuse with the tagging system. Note than even all internal uses of the word 'tag' have been replaced, as I'm not a huge fan of different terminology in the code and UI. This update might break some things related to the discussion board.
2009-03-14Separated table for tag aliases + proper checking of unique aliases and namesYorhel1-1/+7
2009-02-28Improvements in vntagmod table layout, and saving votes in the DB worksYorhel1-0/+2
And a "Don't forget to submit" text, and various important bugfixes, and... geez, time for a coke with some cookies!
2009-02-22Renaming tags.aliases to tags.aliasYorhel1-1/+0
Consistent with all other aliases field
2009-02-21Link to CSS entry on Wikipedia to the user profile pagesYorhel1-1/+3
...for the clueless people.
2009-02-15Check for existing tag with the same name on tag creation or editYorhel1-0/+3
2009-01-10Fixed message when uploaded VN image >500kBYorhel1-1/+1
2009-01-10Limit account creation to one account a day per IPYorhel1-0/+1
This would at least annoy the people who'll try to manipulate the rankings, and will make finding duplicate users a bit easier. (Not that it's really a problem at the moment)
2008-12-26'All items' tab to multi-tab formsYorhel1-0/+3
2008-12-14Fixed all XHTML validation bugs I could findYorhel1-2/+2
With two exceptions: - Empty browse tables (/u1/list, /u3/hist, ..) - Empty <tbody> on /v+/edit and /v/new I'm not purist enough to work around those bugs. (well, maybe I'll fix the empty browse table thing, as it's not really user friendly either)
2008-12-09Code cleanup: removed leading spaces and combined ↵Yorhel1-1/+1
DB/{Votes,VNList,WishList}.pm into ULists.pm
2008-12-06Send -> sentYorhel1-1/+1
(21:22:44) Bigblah: "Form could not be send:" (21:22:51) Bigblah: i suggest "sent"
2008-12-04Added release-form fields to %formerr_namesYorhel1-0/+9
2008-12-04Release edit form -> Javascript-powered media selectorYorhel1-1/+1
2008-12-02Adding/editing releasesYorhel1-2/+2
Using plain input boxes for the media, producers and VNs for debugging, these will be replaced with proper JS-powered forms.
2008-11-29Added interface to upload and modify the screenshotsYorhel1-1/+1
Interface and code are mostly the same as the 1.x version, but with some tiny improvements.
2008-11-28VN image upload worksYorhel1-0/+2
2008-11-22Allow passing a subroutine ref to the static form type to make things readableYorhel1-1/+1
2008-11-22Added category editorYorhel1-13/+25
Copied a lot from 1.x, doesn't look very nice, either...
2008-11-22Automatically fill out VN general info + some form validation + sorted ↵Yorhel1-10/+17
%formerr_names
2008-11-22General info part of the VN edit formYorhel1-3/+5
...the easy part
2008-11-22Fixed htmlForm to allow multiple formsubs, and wrote a javascript tab switcherYorhel1-17/+30
This JS tab switcher (prefixed jt*) can be used for about anything where you need client-side tabs, not limited only to forms. Only one tab sequence is allowed on one page, though.
2008-11-16Added reply/post edit/new thread functionalityYorhel1-1/+5
Most of the code, or at least the design, was stolen from 1.X, as those functions were fine. Links to these forms is still pending...
2008-11-14Adding new producer works + abstracted adding of new items and revisionsYorhel1-0/+1
...and those URL regexes are getting more and more complex >.>
2008-11-13Fixed a bug with formError() ending a tag too manyYorhel1-4/+1
2008-11-13Automatically fill out the producer edit form, added form validationYorhel1-1/+7
2008-11-13Producer edit form HTML + layoutYorhel1-5/+25
2008-11-13Each form part always has it's own mainboxYorhel1-31/+19
...because it's pretty hard to make forms in mainboxes together with other content look good, and because this is easier to code. :-) It does look a bit weird with very small forms (1-2 fields), but we don't have many of those anyway.
2008-11-11User settings editing now works, and some small bugfixes and style changesYorhel1-4/+43
I still don't really like the form creation and handling code... it's just ugly and I doubt anyone would be able to understand what I'm doing.
2008-11-10A couple of spelling and grammar mistakesapplehq1-1/+1
These were lines added in 093f26da8e4eccdb875ec74332c7d5b1854336c5.
2008-11-10Creating a new account now works, and a few small style-related changesYorhel1-0/+4
2008-11-09Password-reset-form now worksYorhel1-0/+2
I'm staring with all the simple user-management stuff, as you may have noticed.
2008-11-09Added some functionality to the form generator and finished the login formYorhel1-9/+41
The layout of the form isn't the best and the form generator isn't dynamic enough to build beautiful forms, but it is pretty powerful and should make it very easy to write large forms. Rapid development > Design (a.k.a. writing forms manually is a pain in the ass)
2008-11-08Made a start on the form generatorYorhel1-4/+68
Just playing with a conceptual design at this point, the current functions don't really do much yet
2008-11-02Added javascript nospam protection + warning for non-JS-enabled browsersYorhel1-1/+1
And renamed Home.pm -> Misc.pm and div.formerr -> div.warning while I was at it
2008-11-01Added easy method to create user friendly failed form validation messagesYorhel1-0/+57