зеркало из https://github.com/mozilla/pjs.git
fix bug 70747 [XUL Syntax] Replace <textfield> with <textbox>
r=blake, a=ben
This commit is contained in:
Родитель
de4ea97004
Коммит
95eb8ae2fa
|
@ -76,7 +76,7 @@
|
|||
prefattribute="checked" oncommand="ftpCheck();"/>
|
||||
</vbox>
|
||||
<hbox class="indent">
|
||||
<textfield id="advancedMailFTPAddress"
|
||||
<textbox id="advancedMailFTPAddress"
|
||||
pref="true" preftype="string" prefstring="network.ftp.anonymous_password"
|
||||
prefattribute="value" flex="2"/>
|
||||
<spring flex="1"/>
|
||||
|
|
|
@ -258,7 +258,7 @@
|
|||
<row autostretch="never">
|
||||
<text class="label" value="&mimetype.label;" accesskey="&mimetype.accesskey;"
|
||||
for="mimeType"/>
|
||||
<textfield id="mimeType" flex="1"/>
|
||||
<textbox id="mimeType" flex="1"/>
|
||||
</row>
|
||||
</rows>
|
||||
</grid>
|
||||
|
@ -279,7 +279,7 @@
|
|||
</box>
|
||||
<box autostretch="never">
|
||||
<radio data="2" value="&application.label;" accesskey="&application.accesskey;" oncommand="doEnabling();"/>
|
||||
<textfield id="appPath" flex="1" onchange="selectAppRadio();"/>
|
||||
<textbox id="appPath" flex="1" onchange="selectAppRadio();"/>
|
||||
</box>
|
||||
<box autostretch="never" halign="right">
|
||||
<button value="&browse.label;" accesskey="&browse.accesskey;"
|
||||
|
|
|
@ -63,7 +63,7 @@
|
|||
<row>
|
||||
<text class="label" value="&memCache.label;" accesskey="&memCache.accesskey;" for="browserCacheMemoryCache"/>
|
||||
<box autostretch="never">
|
||||
<textfield id="browserCacheMemoryCache" size="5" pref="true" preftype="int"
|
||||
<textbox id="browserCacheMemoryCache" size="5" pref="true" preftype="int"
|
||||
prefstring="browser.cache.memory_cache_size" prefattribute="value"/>
|
||||
<text class="label" value="&kbyes;"/>
|
||||
</box>
|
||||
|
@ -73,7 +73,7 @@
|
|||
<row>
|
||||
<text class="label" value="&diskCache.label;" accesskey="&diskCache.accesskey;" for="browserCacheDiskCache"/>
|
||||
<box autostretch="never">
|
||||
<textfield id="browserCacheDiskCache" size="5" pref="true" preftype="int"
|
||||
<textbox id="browserCacheDiskCache" size="5" pref="true" preftype="int"
|
||||
prefstring="browser.cache.disk_cache_size" prefattribute="value"/>
|
||||
<text class="label" value="&kbyes;"/>
|
||||
</box>
|
||||
|
|
|
@ -54,11 +54,11 @@
|
|||
prefattribute="checked"/>
|
||||
</vbox>
|
||||
<text class="label" value="&httpVersion.label;" for="httpVersionString"/>
|
||||
<textfield id="httpVersionString" wsm_persist="true" maxlength="3" flex="0"
|
||||
<textbox id="httpVersionString" wsm_persist="true" maxlength="3" flex="0"
|
||||
pref="true" preftype="string" prefstring="network.http.version"
|
||||
prefattribute="value"/>
|
||||
<text class="label" value="&acceptEncoding.label;" for="acceptEncodingString"/>
|
||||
<textfield id="acceptEncodingString" flex="1" wsm_persist="true"
|
||||
<textbox id="acceptEncodingString" flex="1" wsm_persist="true"
|
||||
pref="true" preftype="string" prefstring="network.http.accept-encoding"
|
||||
prefattribute="value"/>
|
||||
</titledbox>
|
||||
|
|
|
@ -42,13 +42,13 @@
|
|||
function DoEnabling()
|
||||
{
|
||||
var increments = document.getElementById("offlineNewsDownloadIncrements");
|
||||
var textfield = document.getElementById("offlineNewsDownloadDays");
|
||||
var textbox = document.getElementById("offlineNewsDownloadDays");
|
||||
var radio0 = document.getElementById("offlineNewsDownloadUseDays0");
|
||||
var radio1 = document.getElementById("offlineNewsDownloadUseDays1");
|
||||
var downloadByDate = document.getElementById("offlineNewsDownloadByDate");
|
||||
if( !downloadByDate.checked ) {
|
||||
increments.setAttribute( "disabled", "true" );
|
||||
textfield.setAttribute( "disabled", "true" );
|
||||
textbox.setAttribute( "disabled", "true" );
|
||||
radio0.setAttribute( "disabled", "true" );
|
||||
radio1.setAttribute( "disabled", "true" );
|
||||
}
|
||||
|
@ -57,10 +57,10 @@
|
|||
radio1.removeAttribute("disabled");
|
||||
if( radio0.checked ) {
|
||||
increments.removeAttribute( "disabled" );
|
||||
textfield.setAttribute( "disabled", "true" );
|
||||
textbox.setAttribute( "disabled", "true" );
|
||||
}
|
||||
else if( radio1.checked ) {
|
||||
textfield.removeAttribute( "disabled" );
|
||||
textbox.removeAttribute( "disabled" );
|
||||
increments.setAttribute( "disabled", "true" );
|
||||
}
|
||||
}
|
||||
|
|
|
@ -218,7 +218,7 @@
|
|||
<html>&fontScalingIntro;</html>
|
||||
<box autostretch="never">
|
||||
<text class="label" value="&resolution.label;" accesskey="&resolution.accesskey;" for="browserScreenResolution"/>
|
||||
<textfield id="browserScreenResolution" size="4" maxlength="3" value="&defaultScaling;" preftype="int" prefstring="browser.display.screen_resolution"/>
|
||||
<textbox id="browserScreenResolution" size="4" maxlength="3" value="&defaultScaling;" preftype="int" prefstring="browser.display.screen_resolution"/>
|
||||
<text class="label" value="&fontScalingExample;"/>
|
||||
</box>
|
||||
</titledbox>
|
||||
|
|
|
@ -82,7 +82,7 @@
|
|||
<html>&historyPages.label;</html>
|
||||
<box autostretch="never">
|
||||
<text class="label" value="&pageHis.label;" accesskey="&pageHis.accesskey;" for="histDay"/>
|
||||
<textfield id="histDay" size="3" wsm_persist="true"
|
||||
<textbox id="histDay" size="3" wsm_persist="true"
|
||||
pref="true" preftype="int" prefstring="browser.history_expire_days"
|
||||
prefattribute="value"/>
|
||||
<text class="label" value="&days.label;"/>
|
||||
|
@ -111,7 +111,7 @@
|
|||
<html>&shistoryDescription1.label;</html>
|
||||
<box autostretch="never">
|
||||
<text class="label" value="&shistoryDescription2.label;" accesskey="&shistory.accesskey;" for="shistMax"/>
|
||||
<textfield id="shistMax" size="3" wsm_persist="true"
|
||||
<textbox id="shistMax" size="3" wsm_persist="true"
|
||||
pref="true" preftype="int" prefstring="browser.sessionhistory.max_entries"
|
||||
prefattribute="value"/>
|
||||
<spring flex="1"/>
|
||||
|
|
|
@ -55,7 +55,7 @@
|
|||
|
||||
<box autostretch="never">
|
||||
<text class="label" value="&languages.customize.others.label;" for="languages.other"/>
|
||||
<textfield id="languages.other" size="6" />
|
||||
<textbox id="languages.other" size="6" />
|
||||
<text class="label" value="&languages.customize.others.examples;" for="languages.other"/>
|
||||
</box>
|
||||
|
||||
|
|
|
@ -126,7 +126,7 @@
|
|||
<radio group="mousewheelWithNoKeyAction" data="0" value="&scroll.label;" accesskey="&scroll.accesskey;"/>
|
||||
<box orient="vertical" autostretch="never">
|
||||
<hbox autostretch="never">
|
||||
<textfield id="mousewheelWithNoKeyNumlines" size="3"
|
||||
<textbox id="mousewheelWithNoKeyNumlines" size="3"
|
||||
pref="true" preftype="int" prefstring="mousewheel.withnokey.numlines"
|
||||
prefattribute="value"/>
|
||||
<text class="label" value="&scrollLines.label;"/>
|
||||
|
@ -149,7 +149,7 @@
|
|||
<radio group="mousewheelWithAltKeyAction" data="0" value="&scroll.label;" accesskey="&scroll.accesskey;"/>
|
||||
<box orient="vertical" autostretch="never">
|
||||
<hbox autostretch="never">
|
||||
<textfield id="mousewheelWithAltKeyNumlines" size="3"
|
||||
<textbox id="mousewheelWithAltKeyNumlines" size="3"
|
||||
pref="true" preftype="int" prefstring="mousewheel.withaltkey.numlines"
|
||||
prefattribute="value"/>
|
||||
<text class="label" value="&scrollLines.label;"/>
|
||||
|
@ -172,7 +172,7 @@
|
|||
<radio group="mousewheelWithCtrlKeyAction" data="0" value="&scroll.label;" accesskey="&scroll.accesskey;"/>
|
||||
<box orient="vertical" autostretch="never">
|
||||
<hbox autostretch="never">
|
||||
<textfield id="mousewheelWithCtrlKeyNumlines" size="3"
|
||||
<textbox id="mousewheelWithCtrlKeyNumlines" size="3"
|
||||
pref="true" preftype="int" prefstring="mousewheel.withcontrolkey.numlines"
|
||||
prefattribute="value"/>
|
||||
<text class="label" value="&scrollLines.label;"/>
|
||||
|
@ -195,7 +195,7 @@
|
|||
<radio group="mousewheelWithShiftKeyAction" data="0" value="&scroll.label;" accesskey="&scroll.accesskey;"/>
|
||||
<box orient="vertical" autostretch="never">
|
||||
<hbox autostretch="never">
|
||||
<textfield id="mousewheelWithShiftKeyNumlines" size="3"
|
||||
<textbox id="mousewheelWithShiftKeyNumlines" size="3"
|
||||
pref="true" preftype="int" prefstring="mousewheel.withshiftkey.numlines"
|
||||
prefattribute="value"/>
|
||||
<text class="label" value="&scrollLines.label;"/>
|
||||
|
|
|
@ -68,7 +68,7 @@
|
|||
<html>&homePageIntro.label;</html>
|
||||
<box autostretch="never">
|
||||
<text class="label" value="&location.label;" accesskey="&location.accesskey;" for="browserStartupHomepage"/>
|
||||
<textfield id="browserStartupHomepage" flex="1" wsm_persist="true"
|
||||
<textbox id="browserStartupHomepage" flex="1" wsm_persist="true"
|
||||
pref="true" preftype="string" prefstring="browser.startup.homepage"
|
||||
prefattribute="value"/> <!-- we may wish to change this to data
|
||||
when we support fancy formatted local filenames -->
|
||||
|
|
|
@ -75,57 +75,57 @@
|
|||
<row>
|
||||
<text class="label" value="&ftp.label;" accesskey="&ftp.accesskey;" for="networkProxyFTP"/>
|
||||
<box autostretch="never">
|
||||
<textfield id="networkProxyFTP" pref="true" preftype="string" prefstring="network.proxy.ftp"
|
||||
<textbox id="networkProxyFTP" pref="true" preftype="string" prefstring="network.proxy.ftp"
|
||||
prefattribute="value" flex="1"/>
|
||||
<text class="label" value="&port.label;" accesskey="&FTPport.accesskey;" for="networkProxyFTP_Port"/>
|
||||
<textfield id="networkProxyFTP_Port" pref="true" preftype="int" prefstring="network.proxy.ftp_port"
|
||||
<textbox id="networkProxyFTP_Port" pref="true" preftype="int" prefstring="network.proxy.ftp_port"
|
||||
prefattribute="value" size="5"/>
|
||||
</box>
|
||||
</row>
|
||||
<row>
|
||||
<text class="label" value="&gopher.label;" accesskey="&gopher.accesskey;" for="networkProxyGopher"/>
|
||||
<box autostretch="never">
|
||||
<textfield id="networkProxyGopher" pref="true" preftype="string" prefstring="network.proxy.gopher"
|
||||
<textbox id="networkProxyGopher" pref="true" preftype="string" prefstring="network.proxy.gopher"
|
||||
prefattribute="value" flex="1"/>
|
||||
<!-- gopher port doesn't have an accesskey because the window needs a redesign - bbaetz -->
|
||||
<text class="label" value="&port.label;" accesskey="&gopherPort.accesskey;" for="networkProxyGopher_Port"/>
|
||||
<textfield id="networkProxyGopher_Port" pref="true" preftype="int" prefstring="network.proxy.gopher_port"
|
||||
<textbox id="networkProxyGopher_Port" pref="true" preftype="int" prefstring="network.proxy.gopher_port"
|
||||
prefattribute="value" size="5"/>
|
||||
</box>
|
||||
</row>
|
||||
<row>
|
||||
<text class="label" value="&http.label;" accesskey="&http.accesskey;" for="networkProxyHTTP"/>
|
||||
<box autostretch="never">
|
||||
<textfield id="networkProxyHTTP" pref="true" preftype="string" prefstring="network.proxy.http"
|
||||
<textbox id="networkProxyHTTP" pref="true" preftype="string" prefstring="network.proxy.http"
|
||||
prefattribute="value" flex="1"/>
|
||||
<text class="label" value="&port.label;" accesskey="&HTTPport.accesskey;" for="networkProxyHTTP_Port"/>
|
||||
<textfield id="networkProxyHTTP_Port" pref="true" preftype="int" prefstring="network.proxy.http_port"
|
||||
<textbox id="networkProxyHTTP_Port" pref="true" preftype="int" prefstring="network.proxy.http_port"
|
||||
prefattribute="value" size="5"/>
|
||||
</box>
|
||||
</row>
|
||||
<row>
|
||||
<text class="label" value="&ssl.label;" accesskey="&ssl.accesskey;" for="networkProxySSL"/>
|
||||
<box autostretch="never">
|
||||
<textfield id="networkProxySSL" pref="true" preftype="string" prefstring="network.proxy.ssl"
|
||||
<textbox id="networkProxySSL" pref="true" preftype="string" prefstring="network.proxy.ssl"
|
||||
prefattribute="value" flex="1"/>
|
||||
<text class="label" value="&port.label;" accesskey="&SSLport.accesskey;" for="networkProxySSL_Port"/>
|
||||
<textfield id="networkProxySSL_Port" pref="true" preftype="int" prefstring="network.proxy.ssl_port"
|
||||
<textbox id="networkProxySSL_Port" pref="true" preftype="int" prefstring="network.proxy.ssl_port"
|
||||
prefattribute="value" size="5"/>
|
||||
</box>
|
||||
</row>
|
||||
<row>
|
||||
<text class="label" value="&socks.label;" accesskey="&socks.accesskey;" for="networkProxySOCKS"/>
|
||||
<box autostretch="never">
|
||||
<textfield id="networkProxySOCKS" pref="true" preftype="string" prefstring="network.proxy.socks"
|
||||
<textbox id="networkProxySOCKS" pref="true" preftype="string" prefstring="network.proxy.socks"
|
||||
prefattribute="value" flex="1"/>
|
||||
<text class="label" value="&port.label;" accesskey="&SOCKSport.accesskey;" for="networkProxySOCKS_Port"/>
|
||||
<textfield id="networkProxySOCKS_Port" pref="true" preftype="int" prefstring="network.proxy.socks_port"
|
||||
<textbox id="networkProxySOCKS_Port" pref="true" preftype="int" prefstring="network.proxy.socks_port"
|
||||
prefattribute="value" size="5"/>
|
||||
</box>
|
||||
</row>
|
||||
<row>
|
||||
<text class="label" value="&noproxy.label;" accesskey="&noproxy.accesskey;" for="networkProxyNone"/>
|
||||
<textfield id="networkProxyNone" pref="true" preftype="string" prefstring="network.proxy.no_proxies_on"
|
||||
<textbox id="networkProxyNone" pref="true" preftype="string" prefstring="network.proxy.no_proxies_on"
|
||||
prefattribute="value"/>
|
||||
</row>
|
||||
<row>
|
||||
|
@ -138,7 +138,7 @@
|
|||
<radio group="networkProxyType" data="2" value="&autoTypeRadio.label;" accesskey="&autoTypeRadio.accesskey;" oncommand="DoEnabling();"/>
|
||||
</box>
|
||||
<box class="indent" flex="1">
|
||||
<textfield id="networkProxyAutoconfigURL" flex="1"
|
||||
<textbox id="networkProxyAutoconfigURL" flex="1"
|
||||
pref="true" preftype="string" prefstring="network.proxy.autoconfig_url"
|
||||
prefattribute="value"/>
|
||||
<button id="autoReload" class="dialog" value="&reload.label;" accesskey="&reload.accesskey;"/>
|
||||
|
|
|
@ -205,7 +205,7 @@
|
|||
<row>
|
||||
<box autostretch="never">
|
||||
<text class="label" id="domainText" value="&domain.label;" accesskey="&domain.accesskey;" for="addDomain"/>
|
||||
<textfield id="addDomain" flex="1" oninput="doButtonEnabling();"/>
|
||||
<textbox id="addDomain" flex="1" oninput="doButtonEnabling();"/>
|
||||
</box>
|
||||
<button disabled="true" class="dialog" id="addDomainButton" value="&addDomain.label;" accesskey="&addDomain.accesskey;"
|
||||
oncommand="addDomain();"/>
|
||||
|
|
Загрузка…
Ссылка в новой задаче