diff --git a/bot_wtc.php b/bot_wtc.php index d06812c..2ae4e2f 100644 --- a/bot_wtc.php +++ b/bot_wtc.php @@ -277,12 +277,12 @@ function bot_get_sections() // =========================================================== // Update button -function bot_update_button() +function bot_update_button($btn_class='publish') { return n.'
' .n.eInput('bot_wtc_tab') .n.sInput('update') - .n.fInput('submit', 'update', gTxt('bot_wtc_update_button'), 'publish') + .n.fInput('submit', 'update', gTxt('bot_wtc_update_button'), $btn_class) .'
'; } @@ -598,7 +598,7 @@ function bot_advanced() return n.wrapRegion('bot_advanced', form( - bot_update_button(). + bot_update_button('publish-advanced'). n.'
'. n.'

'.gTxt('bot_wtc_items').'

'.$item_rows.'
'. '

'.gTxt('bot_wtc_hide_in_section').'

'.$sections_rows.'

'.gTxt("all").' | '.gTxt("none").'

'. @@ -1022,6 +1022,15 @@ function bot_wtc_css() clear: both; } + [type="submit"].publish-advanced, a.publish-advanced, button.publish-advanced { + background-color: #ffd21b; + background-image: linear-gradient(#ffe168,#ffd21b); + border: 1px solid #f7c600; + font-weight: 700; + height: 2.76923076923077em; + padding: .61538461538462em 1em; + } + a.bot_push { padding-right: 13px; line-height: 1.85;