Commit graph

137 commits

Author SHA1 Message Date
ElementAB
b555fab819 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:38:51 -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
86612bb1ff Adding more PHP Doc comments. 2014-04-28 17:36:11 -04:00
jgen
298344048c Make these functions public to prevent scrutinizer from complaining. 2014-04-26 00:27:16 -04:00
jgen
141ec53236 Rename these class functions to prevent warnings from scrutinizer. 2014-04-25 15:55:31 -04:00
jgen
6724f2b75a Make these functions public to prevent scrutinizer from complaining. 2014-04-25 14:17:44 -04:00
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
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
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
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
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
6394cd8100 make shm-thumb use consistent across themes, with data-tags and data-post-id 2012-08-15 20:42:56 +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
38802c61cf more perms 2012-03-31 15:47:00 +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
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
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
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
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
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
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
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
a1b920777b pools link should now show in menubar 2012-01-26 09:56:35 +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
Daku
dc10fa22af change email form now shows in lite theme 2012-01-20 12:45:41 +00:00
Daku
df20a75271 removing holiday feature from lite theme 2012-01-20 12:45:39 +00:00
Daku
5ac53ceb84 Small holiday feature for lite theme. Loads extra stylesheet on certain holidays. 2012-01-17 03:52:38 +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
3b73013d1d This should fix the "Undefined variable" error. 2011-12-31 14:18:48 +00:00
Daku
66484a8e68 Thumbs should now be centered. 2011-12-25 10:04:07 +00:00
Shish
002df1a7ba keywords for images with lite theme 2011-12-23 14:28:42 +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
Shish
9361032cb6 user page needs current user 2011-10-20 18:12:14 +01: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
green-ponies (jgen)
6c3e91e01c changed script tags to include language 2011-08-12 21:40:51 -04: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
49f860683f more themes, more updates 2010-07-19 13:53:12 +01:00
Shish
38c3038ecb border cancelling; somewhat of an ugly hack... 2010-04-19 20:41:38 +01:00
Zach Hall
2a243b6a45 Removed some junk text from the lite theme. 2010-04-11 13:12:09 +01:00
Zach Hall
2c767706fa Titlebar updates - current page links 2010-04-08 13:23:16 +01:00
Zach Hall
7fa0e9eed8 Attribution updates to Lite theme, as well as blockquote fixing. 2010-04-07 12:43:42 +01:00
Zach Hall
f4bbc5ce04 Fixed a few theme glitches... everything should left-align now. 2010-04-07 12:43:32 +01:00
Zach Hall
9ca0652c13 Unnecessary files cleanup 2010-04-07 12:43:28 +01:00
Zach Hall
57d4041fe9 Minor tweaks 2010-04-07 12:43:24 +01:00
Zach Hall
e9818e8b42 Lite theme updates. Incorporated more Danbooru custom themes to get
the aligning right.
2010-04-07 12:43:19 +01:00
Zach Hall
556b3866a6 Initial commit of 'Lite' theme 2010-04-07 12:43:08 +01:00