Commit graph

343 commits

Author SHA1 Message Date
jgen
dcadfc395a Move this code back down. 2014-04-25 14:14:22 -04:00
jgen
780d5f8709 More linting. Explicitly declare these class variables, as well as comment out dead code. 2014-04-24 22:13:00 -04:00
jgen
b3077d5bcd Removing the closing PHP "?>" tag as per style guidelines. 2014-04-24 19:13:20 -04:00
jgen
2706f72ce4 Update and fix the PHPDoc comments. 2014-04-24 19:08:23 -04:00
jgen
ab3f9850e4 Removing the closing PHP "?>" tag as per style guidelines. 2014-04-24 19:01:47 -04:00
jgen
286e75bef0 Scrutinizer complains that these functions aren't defined, yet they really are. 2014-04-24 18:45:54 -04:00
jgen
0501e05cff Comment out dead code/vars. 2014-04-24 05:09:16 -04:00
jgen
868f8c9225 Commenting out dead variables and dead code. 2014-04-24 04:44:28 -04:00
jgen
f9c8a1720e Comment out dead variables. 2014-04-24 04:41:13 -04:00
jgen
2dc6e054c8 These sorts are necessary on the header arrays, otherwise the relative priority of certain headers is not respected. 2014-04-23 23:28:05 -04:00
jgen
ff722906b7 Holy shit, this is really really nasty old JS code. I would love to dump this if possible. 2014-04-19 23:06:48 -04:00
jgen
c527ae91d6 More linting and cleanup. 2014-04-19 04:17:28 -04:00
Shish
db5aa56300 remove a bunch of dead code 2014-03-29 11:44:34 +00:00
Shish
da29912646 tidy up a bunch of lint errors 2014-03-17 22:05:37 +00:00
Daku
e78ddc69f3 fix strict standard errors 2014-02-25 21:51:52 +00:00
Daku
34e90c1cfc updated date/links in footer 2014-02-25 17:56:51 +00:00
jgen
f4f94e6273 Merge pull request #379 from DakuTree/patch-2
Misc tweaks/fixes (fixes/closes issue 17 & 323)
2014-02-21 13:40:15 -05:00
Daku
1909f9072e use mt_rand() instead of rand()
rand() isn't so random on windows: http://tjl.co/blog/code/followup-php-rand-vs-mt_rand/
mt_rand() is also slightly faster
2014-02-16 04:43:38 +00:00
Daku
629f9940c3 thumbnail border-color for post relationships
also removed build_thumb_html from themes (mostly old versions of the default base function)
2014-02-04 18:41:40 +00:00
jgen
b01ca89220 Some more small speed related tweaks. 2013-10-04 17:53:26 -04:00
jgen
234b8c4f51 Removing this line as this file does not exist and simply causes 404 errors. 2013-10-03 21:08:13 -04:00
Shish
39753fe7a9 Finish the process of removing $query from thumb links. (Forgot to remove $query from the thumb links) 2013-07-07 10:34:19 +01:00
Shish
47c1b5d094 move query-string-passing to JS rather than embedding in the HTML, so that the HTML can be commonised and cached better 2013-07-05 22:32:16 +01:00
Daniel Oaks
bf0146cc41 Danbooru2 theme, initial tag categories extension, tag list update/rework 2013-06-23 09:42:15 +10:00
Daniel Oaks
06dd72fe66 Danbooru2 theme 2013-06-19 20:09:22 +01:00
Shish
2859d58191 regex and trimming updates for danbooru and lite themes 2013-06-13 12:42:30 +01:00
Shish
17cd89455d Merge pull request #270 from Diftraku/master
Fix PHP errors about Strict Standards
2012-12-31 13:08:58 -08:00
Shish
35a3986c35 compatible declrations for danbooru theme 2012-12-30 15:46:25 +00:00
Diftraku
09a18b8710 Fix errors about PHP complaining of strict standards, Pools extension needs an overhaul due to display errors being different in BaseThemelet than it is in the ext/pools/main.php 2012-12-26 20:35:00 +02:00
Shish
89a0308007 a terrible hack, because subclasses can't add optional extra params... 2012-08-18 19:55:52 +01:00
Shish
68e2ca798e make futaba:view:display_page make ext:view:display_page 2012-08-18 19:48:51 +01:00
Shish
6394cd8100 make shm-thumb use consistent across themes, with data-tags and data-post-id 2012-08-15 20:42:56 +01:00
Shish
8c39c29528 make tag hiding a little more consistent 2012-08-15 20:22:25 +01:00
Shish
64e2b88b0a remove theme dependencies on private _get_internal_parts 2012-06-22 19:37:23 +01:00
Shish
37b3dd60b6 flash_message(str) function and support in themes 2012-06-09 17:00:25 +01:00
Shish
bfd4ddea17 check for classes being loaded, not files existing 2012-05-23 10:39:21 +01:00
Shish
e07bf2500b warm setup theme 2012-05-12 10:10:58 +01:00
Shish
854a5d9833 ratings is not necessarily installed... 2012-05-12 09:50:55 +01:00
Shish
38802c61cf more perms 2012-03-31 15:47:00 +01:00
Shish
9cebbae6b8 show delete link if user can delete comments 2012-03-31 15:46:21 +01:00
Shish
4856af9c49 more perms 2012-03-31 12:33:55 +01:00
Daku
a825c1cd46 this seemed to cause the info block to move above the image.. 2012-03-30 05:18:08 +01:00
Daku
7bb769917f lite should now work a bit better with blocked tags 2012-03-30 05:04:40 +01:00
Shish
5dd2886b53 common shimmie styles 2012-03-13 08:03:53 +00:00
Shish
8f020993ac forminess 2012-03-13 07:53:41 +00:00
Shish
8ba40b091e actually, the inherent padding is enough 2012-03-12 15:42:55 +00:00
Shish
78d13ff214 many theme updates 2012-03-12 05:31:19 +00:00
Shish
3eb1f1c2ab move move common code into base classes 2012-03-12 05:08:40 +00:00
Shish
15777b3bb5 move common themelt parts into a base class 2012-03-12 05:04:29 +00:00
Shish
a455b804e3 pagination 2012-03-12 04:59:56 +00:00
Shish
aaf9280ee4 more styling 2012-03-12 04:56:30 +00:00
Shish
f2dfbb9080 no background for image-list 2012-03-12 04:41:57 +00:00
Shish
c638af1d76 consistent block rendering 2012-03-12 04:39:04 +00:00
Shish
40b09c8ee1 less divvy comments 2012-03-12 03:28:08 +00:00
Shish
5d6cf955af refactoring styles 2012-03-12 03:06:14 +00:00
Shish
7d027494b6 toggle-id -> toggle-sel 2012-03-12 02:50:41 +00:00
Shish
7bdc00ac4e downtime css -> downtime file 2012-03-12 02:47:37 +00:00
Shish
c6c4f06de8 html5iness 2012-03-12 02:45:39 +00:00
Shish
dfd38b1b84 style tweaks 2012-03-12 02:17:38 +00:00
Shish
c1f73c6258 HTML5 elements 2012-03-11 16:18:37 +00:00
Shish
6cb31e1299 remove ancient unmaintained themes 2012-03-11 16:02:33 +00:00
Shish
c78ad128bf forms 2012-03-11 15:49:40 +00:00
Shish
b5bca91bee toggler in default setup theme 2012-03-10 02:04:15 +00:00
Shish
1db23314b8 only toggler for hidable element 2012-03-06 21:25:45 +00:00
Shish
e4c97ee80e witchcraft 2012-03-06 15:38:42 +00:00
Shish
cba1e76b1f only force-wrap comments 2012-03-05 10:24:01 +00:00
Shish
03cfb5bc24 html5 boilerplate header 2012-03-05 10:14:58 +00:00
Daku
8e4ae87c65 fix for image pages not loading for danbooru/lite themes 2012-03-04 22:18:02 +00:00
Josh Sutinen
4f37b48070 Apply word-wrap: break-word; to all body contents to force reallylongunbreakablestrings to be broken per the theme's dimensions rather than the arbitrary 80 characters set by the bbcode extension 2012-03-03 12:43:04 -05:00
Shish
15fdd2e0b7 replace lots of javascript with a little jquery 2012-03-02 23:57:27 +00:00
Shish
a4f2c417ec CSS3 powarr 2012-02-22 14:27:56 +00:00
Shish
af7704825b use HTTP status codes with error messages 2012-02-16 15:37:05 +00:00
Shish
c2bf42ef5a less passing of $page 2012-02-15 08:59:24 +00:00
Shish
2da52689cf upload box style 2012-02-12 12:00:19 +00:00
Shish
5241ed24b5 more style to file 2012-02-12 11:37:12 +00:00
Shish
4555d35cdb Content-Type is specified in the page headers, specifying in the HTML too is unnecessary 2012-02-12 11:30:41 +00:00
Shish
5eab692a97 have themes/x/style.css auto-loaded, and put it after the ext/*/style.css so it can override them 2012-02-12 11:29:41 +00:00
Shish
6c29ccee40 split extension styles, so other themes can use them better 2012-02-12 11:25:58 +00:00
Shish
40eb00519e argh browsers 2012-02-12 10:19:40 +00:00
Shish
84fae296e5 this seems more reliable 2012-02-12 10:05:26 +00:00
Shish
a2459da61b even better columns: CSS 2012-02-12 09:51:25 +00:00
Shish
830105193d better settings columning 2012-02-12 09:22:11 +00:00
Shish
3077cb596a working, styled info box for default theme 2012-02-11 11:02:08 +00:00
Shish
1035309f2c comment info in the default theme 2012-02-11 08:34:07 +00:00
Shish
a4617b0efc border-box makes sense for input elements 2012-02-11 01:47:43 +00:00
Shish
a93247327a editable tags by default, and hide .edit by default 2012-02-11 00:52:42 +00:00
Shish
fbbdc898b0 Move image uploader info into the image info editor, make it editable 2012-02-09 17:03:39 +00:00
Shish
339f2b0497 more jquery magic, less inline scripting 2012-02-09 14:45:18 +00:00
green-ponies (jgen)
7bb971cef0 Merge remote-tracking branch 'remotes/shish/master' into pools_fixes 2012-02-08 23:25:52 -05:00
green-ponies (jgen)
b4a384c2b1 Added some minuscule theming the default theme. 2012-02-08 16:57:29 -05:00
Shish Moom
3b99605521 Merge pull request #116 from green-ponies/speed_tweaks
More Speed tweaks
2012-02-07 21:53:00 -08:00
green-ponies (jgen)
d69fa6ae9d Merge branch 'master' into speed_tweaks 2012-02-07 23:21:56 -05:00
Daku
1fd565fa87 can't check if rating is null if it doesn't exist... 2012-02-07 00:02:51 +00:00
Shish
0e25c82fc5 Merge branch 'master' of github.com:shish/shimmie2 2012-02-06 14:42:49 +00:00
Shish
a9ec9b6b70 comment info box 2012-02-06 14:42:38 +00:00
Shish
9fd10fb6d2 more explicit credit for the shimmie team :3 2012-02-06 05:34:06 +00:00
green-ponies (jgen)
68e9bd694e Storing copies of config variables outside of for loops. 2012-02-04 14:17:52 -05:00
Daku
899bc22538 my favorites/feed tab should only show if ext is enabled 2012-01-31 14:58:54 +00:00
Shish
aed5e1a30e hand merge of speed tweaks 2012-01-31 13:20:43 +00:00
Daku
4400b385b3 this should get rid of the Call to ftp://ftp. function error 2012-01-26 10:27:32 +00:00