<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[HEADS UP: print_info_box_np() - R.I.P]]></title><description><![CDATA[<p dir="auto">Package developers please note:</p>
<p dir="auto">The function print_info_box_np() has been retired. (Actually buried) It used to do some trickery such as detecting the word "apply" in a text string and automatically generating an "Apply" button.</p>
<p dir="auto">This proved to be problematic  when you wanted to use that word but did NOT want a button, when you wanted a button called something else, or when you were using a language other than English which used a different word for "apply".</p>
<p dir="auto">The function print_info_box() now accepts a button name and button text explicitly so you can create any button you like (or not), and to make things easier still, a new function print_apply_box() automatically creates an information box with an apply button in your language of choice. You might use it like this:</p>
<pre><code>print_apply_box(sprintf(gettext("The package configuration has been changed.%sYou must apply the changes in order for them to take effect.”), "
"));
</code></pre>
]]></description><link>https://forum.netgate.com/topic/94628/heads-up-print_info_box_np-r-i-p</link><generator>RSS for Node</generator><lastBuildDate>Sat, 07 Mar 2026 15:39:18 GMT</lastBuildDate><atom:link href="https://forum.netgate.com/topic/94628.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 25 Jan 2016 19:14:12 GMT</pubDate><ttl>60</ttl></channel></rss>