Commit Graph

5 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
13227f0bca added files 2013-10-26 18:06:58 -05:00