X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~yarrgweb/git?p=ypp-sc-tools.db-live.git;a=blobdiff_plain;f=yarrg%2Fweb%2Fqtextstring;h=e046c56c3d4f90c7fe4b3034836015ca64e73879;hp=93eb1249633499550bf763cb7c33ccd1c735115b;hb=5f3c445b5b9eda482c8098c115a9b5282e55f001;hpb=f2f25e1201a92e62c3eeb35cdec0a62539e18cb5 diff --git a/yarrg/web/qtextstring b/yarrg/web/qtextstring index 93eb124..e046c56 100644 --- a/yarrg/web/qtextstring +++ b/yarrg/web/qtextstring @@ -97,6 +97,7 @@ function <%$p%>Ready() { register_onload(<%$p%>Needed); +% if (!printable($m)) { content %> id="<% $thingstring %>" name="<% $thingstring %>" onchange="<%$p%>Needed();" onkeyup="<%$p%>Later();" @@ -104,6 +105,11 @@ register_onload(<%$p%>Needed); ><% defined($helpref) ? "[?]" : '' %>
 

+% } else { +<% $stringval |h %> +
+
+% } <%perl> if ($significant_nonempty || length $thingstring) {