| « Creative Commons plugin for b2evolution v1.8 | magpieRSS in b2evolution revisited » |
Code blocks on display is rude, dontcha think?
This goes in your _main.php:
<input type="submit" name="submit" class="submit" value="<?php echo T_('submit') ?>" />
<input type="reset" name="reset" class="submit" value="<?php echo T_('reset') ?>" />
Actually it's pretty much already there - you just gotta give the buttons a class. I don't know if you need to name the things or not. I do just because I want the buttons to feel like they have a friend, and we tend to refer to our friends by name.
This goes in your css file:
input.submit, input.reset {
background-color: #FF69B4;
color: #8A2BE2;
border: 1px solid #7FFF00;
font-weight: bold;
padding: 1px;
}
input.submit:hover {
color: #0000FF;
text-decoration: underline;
}
The :hover color works on one browser and decoration works on another. The colors in this little example are sort of extremes just to draw attention to them, but I forget which ones I picked. Come to think of it there are more than two browsers out there, but it's the thought that counts: you need both even though only one seems to do anything.
Like just a little while ago when I thought "I'm screwed because once again I am driving around without proof of insurance or ownership or permission from the guvamint to operate a motor vehicle and here we have a DWI road block point between me and my humble abode". I thought that, and therefore ate my Sonic french fries as quickly as possible so as not to lose the investment value (because it's hard to eat french fries when you are handcuffed and being whomped on by law enforcement agents who verify there are no video cameras in operation nearby), but as it turns out the pinhead behind me who stopped and started and stopped again and tried a side road that was blocked and obviously looked like he (or she I suppose) was thinking "I have my license and registration and proof of insurance AND I'm totally fucking wasted so I'm about to be royally screwed" was much more screwed than I was. The officer opted to wave me through with a friendly smile and a pleasant greeting. The sorry sap behind me was not so fortunate. I'm going to have to do something about this 'driving without documentation thing. Either drive where they don't do road blocks or carry all that paperwork around with me. I guess.
My categories suck. I'm going to have to do something about that. I should go with "things", "stuff", "topic", "subject", "issues", "events", "nonsense", "gibberish", "whatever", "pointless", and (of course) "crap", then a little bit of scripting to (a) randomly select a cat for whatever I happen to be writing and (b) randomly change a post from one cat to another. Except my flying posts. Those are special. Flying is, well, you know: flying.
Fuck it! I'm not going to do anything about anything.