phpBB

Development Discussion Board

phpBB's testing ground of bleeding edge code
Advanced search

New template variables

General discussion of development ideas and the approaches taken in the 3.x branch of phpBB. The next feature release of phpBB 3 will be 3.1/Ascreaus followed by 3.2/Arsia.

Re: New template variables

Postby Arty » Tue Sep 27, 2011 7:48 am

Great. That's even better.

Small note: can you change "edit" to "Edit" and "quote" to "Quote" and remove <strong> for these two buttons for consistency with other text variables: Information, Profile, PM, Website and instant messenger buttons? Also "Report" button is missing. These are small buttons inside posts, they shouldn't be treated same way as big buttons outside of posts. Lower case and bold for them should be applied via css instead of being hard coded to language file.
Formerly known as CyberAlien.
User avatar
Arty
Styles Team
Styles Team
 
Posts: 796
Joined: Wed Mar 06, 2002 2:36 pm
Location: Mars

Re: New template variables

Postby nickvergessen » Tue Sep 27, 2011 10:16 am

Arty: as we also think this is a great addition for MODs as you can use the class no-icon to create a button without the icon and use normal text then, the strong markup should be in the language, or inside the button itself.
This is exactly the issue that I ment :P Maybe we should add those variables twice or just change the design for prosilver (all text bold and using a space, instead of separating one word from another by using bold for one).

@nextgengt: yes, mostly like that, but without css3, so it still works on IE6-9 almost correctly ;)
cheers nickvergessen :geek:
Member of phpBB Development-Team
No Support via PM — My MODs for phpBB 3.0.x
User avatar
nickvergessen
Development Team
Development Team
 
Posts: 350
Joined: Sun Oct 07, 2007 11:54 am
Location: Esslingen, Germany

Re: New template variables

Postby Arty » Tue Sep 27, 2011 10:46 am

No need to change design, <strong> works great for big buttons.

However, it doesn't belong to small buttons: quote and edit. They have completely different layout and they are separate from other buttons you've added <strong> to: they are small buttons specific to post, but other buttons are for whole thread.

Those two buttons are small, using upper case text. Whole text is bold, not just part of it, it is specific to style. Using <strong> for those two buttons is hard coding style specific css to language pack. There are many other buttons with same layout (Report *missing*, Information, Dost details, Website, PM, ICQ, etc..), so if you'd prefer to hard code <strong> into those language variables, you'll have to make copies for each of them. Or use css to apply bold and upper case for only 2 buttons without duplicating language variables.
Formerly known as CyberAlien.
User avatar
Arty
Styles Team
Styles Team
 
Posts: 796
Joined: Wed Mar 06, 2002 2:36 pm
Location: Mars

Previous

Return to [3.x] Discussion

Who is online

Users browsing this forum: No registered users and 6 guests