blob: e1ea13e69afc5cff707591078604a460e9361f08 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
|
/* This is the main Javascript file. This file is processed by util/jsgen.pl to
* generate the final JS file(s) used by the site.
*
*
* Internationalization note:
*
* The translation keys to be inserted in the generates JS file are parsed
* from the source code. So when using mt(), make sure it is in the following
* format:
* mt('<exact translation key>',<more arguments>
* or
* mt('<exact translation key>')
* The single quotes and (lack of) spaces are significant!
*
* To use non-exact translation keys as argument to mt(), make sure to
* indicate which keys should be inserted in the header by adding a comment
* containing the following format:
* l10n /<perl regex>/
* any keys matching that regex will be included.
*
* In the case of an mt('<key>') without any extra arguments, the entire
* function call may be replaced by the TL string.
*
*
* Currently, most of the JS code dumps its functions and variables in the
* global namespace. This should be fixed, but for now, these are the prefixes
* being used:
*
* ctr -> Character <-> trait linking
* cvn -> Character <-> VN linking
* date -> Date selector
* dd -> dropdown
* ds -> dropdown search
* fil -> Filter selector
* iv -> image viewer
* jt -> Javascript Tabs
* med -> Release media selector
* prr -> Producer relation editor
* rl -> Release List dropdown
* rpr -> Release <-> producer linking
* rvn -> Release <-> visual novel linking
* scr -> VN screenshot uploader
* tgl -> VN tag linking
* tvs -> VN page tag spoilers
* vnr -> VN relation editor
* vns -> VN staff
* vnc -> VN cast
* sal -> Staff aliases editor
*/
VARS = /*VARS*/;
// Reusable library functions
//include lib.js
// Reusable widgets
//include iv.js
//include dropdown.js
//include dateselector.js
//include dropdownsearch.js
//include tabs.js
// Page/functionality-specific widgets
//include vnreldropdown.js
//include tagops.js
//include charops.js
//include filter.js
//include misc.js
// VN editing (/v+/edit)
//include vnrel.js
//include vnscr.js
//include vnstaff.js
//include vncast.js
// VN tag editing (/v+/tagmod)
//include vntagmod.js
// Release editing (/r+/edit)
//include relmedia.js
//include relvns.js
//include relprod.js
// Producer editing (/p+/edit)
//include prodrel.js
// Character editing (/c+/edit)
//include chartraits.js
//include charvns.js
// Staff editing (/s+/edit)
//include staffalias.js
|