Commit graph

195 commits

Author SHA1 Message Date
ElementAB
3d17310581 Fixed information box link generation
Fixed issue where the information box would generate an incorrect link for the image source if the source was given as https:// instead of http://.
2014-12-25 01:36:18 -06:00
jgen
2bf4c667a7 Some more comments. 2014-04-29 01:51:13 -04:00
jgen
317028a63b More PHP Doc comments. 2014-04-29 01:33:03 -04:00
jgen
b3077d5bcd Removing the closing PHP "?>" tag as per style guidelines. 2014-04-24 19:13:20 -04:00
jgen
f9c8a1720e Comment out dead variables. 2014-04-24 04:41:13 -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
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
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
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
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
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
Shish
5dd2886b53 common shimmie styles 2012-03-13 08:03:53 +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
c638af1d76 consistent block rendering 2012-03-12 04:39:04 +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
c6c4f06de8 html5iness 2012-03-12 02:45:39 +00:00
Shish
c1f73c6258 HTML5 elements 2012-03-11 16:18:37 +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
Shish
15fdd2e0b7 replace lots of javascript with a little jquery 2012-03-02 23:57:27 +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
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
339f2b0497 more jquery magic, less inline scripting 2012-02-09 14:45:18 +00: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
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
Daku
4400b385b3 this should get rid of the Call to ftp://ftp. function error 2012-01-26 10:27:32 +00:00
Daku
e10f863f1c fixed problem with random image tab not showing
popular by day/month/year should only show if ext is enabled
2012-01-26 10:27:32 +00:00
Daku
77ac43e261 added popular by day/month/year to sublinks 2012-01-26 10:27:31 +00:00
Daku
cd1087b7a7 oops, forgot to remove class used for lite theme :x 2012-01-26 09:56:34 +00:00
Daku
9f3da77ea9 added random image button to the sublinks bar + help link should now either use the wiki or ext_doc/index 2012-01-26 09:56:33 +00:00
Daku
602f76da53 lite/danbooru themes now show rating in statistics box 2012-01-26 09:56:31 +00:00
Shish
8cfa72d7cf copyright bumps 2012-01-01 20:36:51 +00:00
Daku
dc4d156e1a contact link should now properly link to email 2011-12-31 14:18:54 +00:00
Daku
b9bd4db41e Tag list should now show under the search block, instead of under every other block 2011-12-31 14:18:53 +00:00
Daku
660f9ca4b0 Changed "'thumb_width', 'thumb_height'" > "$config->get_int('thumb_width'), $config->get_int('thumb_height')" 2011-12-21 20:52:06 +00:00
Daku
c7852423d4 Added a feature which removes the size tag from mp3 tooltips. 2011-12-16 21:29:46 +00:00
Daku
56931b0eaa Changed the 192x192 default to use the max thumbnail size. Made this work with SVG aswell. 2011-12-16 18:36:08 +00:00
Daku
a38327b6d3 Made flash thumbnails have a default 192x192 resolution. 2011-12-16 16:34:23 +00:00
green-ponies (jgen)
c30c898c4e Changing files to use the $page->add_http_header() method instead. 2011-09-04 14:06:50 -04:00
green-ponies (jgen)
fca286913e Working on moving header() inside of the global $page data structure. 2011-09-04 14:06:34 -04:00
Diftraku
d6acd31028 Quick fix to danbooru theme 2011-03-05 02:43:34 +02:00
zshall
57972632e4 Added admin setting ability back where it belongs in lite and danbooru themes. 2011-02-22 17:37:25 +00:00
Shish
df1142b493 new year 2011-01-01 15:58:44 +00:00
Shish
20987de933 several themes used the same script.js, and several extensions depend upon these scripts -- move all the functions to a single .js file in lib 2010-12-22 22:40:26 +00:00
Shish
49f860683f more themes, more updates 2010-07-19 13:53:12 +01:00
Shish
b9f21571eb remove error marker >_< 2010-04-11 13:13:58 +01:00
Erik Youngren
75b8790054 Propogate 375c73d to the rest of the default themes. 2010-04-08 14:01:32 +01:00
Zach Hall
ac141b21c5 Err... forgot one line, but now it's finished. 2010-04-08 13:23:16 +01:00
Zach Hall
2c767706fa Titlebar updates - current page links 2010-04-08 13:23:16 +01:00
Zach Hall
d3c921e8f3 Blotter Extension 2010-02-18 14:05:34 +00:00
Zach Hall
acb2a923a0 "Change e-mail" was missing in the danbooru theme. 2010-02-01 00:16:36 +00:00
Zach Hall
fcf2ed252f CAPTCHA in Danbooru user signup form. 2010-01-28 13:35:21 +00:00
Shish
a1589ee722 wider danbooru margin 2010-01-18 08:21:22 +00:00
Shish
863932e4ec Copyright notice updates 2010-01-11 15:10:07 +00:00
Shish
c7b4cf8ead documentation updates 2010-01-04 12:41:04 +00:00
Shish
5dc5701ea5 give comments their own subnav 2010-01-04 11:52:07 +00:00
Shish
8e676abd62 for the danbooru subnav bar, assume that the front page = post/list 2010-01-04 11:24:48 +00:00
Shish
3305cb758f style tips on danbooru 2010-01-03 09:57:38 +00:00
Shish
2a924a1840 add subheading support to all themes 2010-01-03 09:56:07 +00:00
Shish
ed4b62dc71 make the version string ungooglable 2010-01-03 09:41:31 +00:00
Shish
612332a1a7 more danbooru updates 2010-01-03 09:36:53 +00:00
Shish
ce6e8aa9ae updates for the danbooru theme 2010-01-03 08:55:43 +00:00
Shish
3bb3ee2e86 securimage support as an alternative captcha 2010-01-03 08:15:52 +00:00
Shish
c7408d3445 make danbooru aware of specific extensions 2009-12-30 07:00:47 +00:00
Shish
578a1e46fb more dos2unix 2009-11-24 14:12:20 +00:00
Shish
4c86f6842c not /all/ input elements should be 100% wide 2009-10-09 12:07:35 +01:00
Shish
a1725f7fe3 only show the recent few comments on each image (for the long comment list) 2009-08-19 00:33:18 +01:00
Shish
39bd7a763f update other themes 2009-08-18 22:33:36 +01:00
Shish
d6b3da3461 danbooru theme updates by zshall <http://seemslegit.com> 2009-08-13 19:41:55 +01:00
Shish
dc6dafd817 default to showing user links in danbooru submenu 2009-08-11 15:37:56 +01:00
Shish
7555ada953 comment theme API changes 2009-08-04 17:45:09 +01:00
Shish
63be20458d themable user links 2009-08-03 10:46:40 +01:00
Shish
57884973f5 link to help 2009-07-28 23:22:08 +01:00
Shish
a79b9047fb danbooru theme updates 2009-07-28 23:07:44 +01:00
Shish
d850a562db updateses 2009-07-28 01:09:00 +01:00
Shish
a16b3db48c somewhat updated danbooru comment theme 2009-07-28 00:54:47 +01:00