Commit Graph

10 Commits

Author SHA1 Message Date
Parziphal
5776745bb8 Fixed issue #48. 2014-01-17 08:43:34 -05:00
Parziphal
12e3a57053 more changes related to advertisements.
added position to advertisements. with it, one can choose to either show an horizontal add only at top, bottom or both.
removed can_see_ads check from AdvertisementsHelper::print_advertisement() because it's already checked before calling it.
horizontal-bottom ads in post#index are centered.
removed "Reset hit count" checkbox in ads#edit.
Width and Height in ads form are now "number" fields.
Width and Height must now be set also for "Html" ads.
made ads#show a little nicer.
ads#create and ads#update redirect to ads#index if success.
some other related changes.

made ad#show a little nicer
2013-12-05 15:09:26 -05:00
Parziphal
ff28733e94 moved ad in post#index below pagination 2013-12-05 09:28:37 -05:00
Parziphal
e2533565bc more changes to advertisements
added two new ad spots, bottom of post#index and post#show.
spots can be selectively activated in the booru config. by default,
only original spots are active.
2013-12-04 15:19:11 -05:00
Parziphal
cd55735461 using jpeg's width and height in case sample's size isn't available.
this will fix the error in post#show of the image having 0 width and height
(thus not showing) if the image doesn't have a sample.
2013-12-02 10:59:03 -05:00
Parziphal
322e190a57 removed br after ad 2013-12-02 10:03:06 -05:00
Parziphal
a04e2e590c use jQuery's 'on' method 2013-11-21 14:03:07 -05:00
Parziphal
e26647dd41 removed post/referral partial 2013-11-21 14:00:42 -05:00
Parziphal
d1eab7ee6f fixed post#deleted_index 2013-11-03 10:31:27 -05:00
Parziphal
13227f0bca added files 2013-10-26 18:06:58 -05:00