Log in

View Full Version : Blank Announcement Buttons?


BigJohnny
09-07-2010, 12:29 AM
I never noticed this before, but my board has been inactive for a while so I'm wondering if i'm missing a phrase somewhere.

This happens in the announcement manager, the buttons still work to make a new announcement, just the buttons are blank.

BigJohnny
09-12-2010, 12:08 PM
anyone know where the "new" text comes from on those buttons? phrases? hardcoded? what?

kh99
09-12-2010, 12:49 PM
Yeah, it looks like it's a phrase called 'new' (and the tooltip is 'post_new_announcement')

BigJohnny
09-13-2010, 09:59 PM
anyone happen to know where I could find out the phrase variables name???? I'll try uploading files to the cpstyles directory again.

kh99
09-13-2010, 10:58 PM
I wasn't trying to be a smartass - the variable name actually is 'new'.

Here's relevant the section of admincp/announcement.php:


$cell[] = $announcements;
$cell[] = '<input type="submit" class="button" value="' . $vbphrase['new'] . '" title="' . $vbphrase['post_new_announcement'] . '" />';
print_cells_row($cell, 0, '', -1);
print_table_break();

BigJohnny
09-14-2010, 12:28 AM
ya I didn't mean to imply you were being a smartass, but when searching for "new" in the phrase manager, you get a LOT of results.

I need to find out if I'm missing a phrase or what happened. That little chunk of code helps thanks.

you happen to know what the "phrase type" is?

EDIT

Nevermind, they simply werent there. I added a new phrase, "new" and boom, its back.''

Whats the other var there? post_new_announcement ?? I have that phrase 3 times, but the little table row above the button has no text..... is there supposed to be words there?