Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2010-08-05 02:57:16

Gocom
Developer Emeritus
From: Helsinki, Finland
Registered: 2006-07-14
Posts: 4,533
Website

txp_css.php: Missing label

The “…or copy style as” string on the Styles pane isn’t linked to the field with <label> like it’s on Pages pane. To me it would be more consistent if both were linked :-)

The change could be pretty simple. In /include/txp_css.php @ line 87 from:

$copy = '<div class="copy-as">'.gTxt('copy_css_as').sp.fInput('text', 'newname', '', 'edit').sp.

To:

$copy = '<div class="copy-as"><label for="copy-css">'.gTxt('copy_css_as').'</label>'.sp.fInput('text', 'newname', '', 'edit', '', '', '', '', 'copy-css').sp.

Last edited by Gocom (2010-08-05 02:59:52)

Offline

#2 2010-08-05 08:20:19

Bloke
Developer
From: Leeds, UK
Registered: 2006-01-29
Posts: 11,391
Website GitHub

Re: txp_css.php: Missing label


The smd plugin menagerie — for when you need one more gribble of power from Textpattern. Bleeding-edge code available on GitHub.

Txp Builders – finely-crafted code, design and Txp

Offline

Board footer

Powered by FluxBB