Add UI to control the looping of animated images (64831). r=hixie sr=ben a=asa

This commit is contained in:
blakeross%telocity.com 2001-06-08 16:44:17 +00:00
Родитель 380a75ccae
Коммит 2d68b181d4
2 изменённых файлов: 22 добавлений и 1 удалений

Просмотреть файл

@ -42,7 +42,7 @@
<script type="application/x-javascript">
<![CDATA[
var _elementIDs = ["accOrgImages", "networkImageBehaviour", "networkImageWarnAboutImages"];
var _elementIDs = ["accOrgImages", "networkImageBehaviour", "networkImageWarnAboutImages", "imageLooping"];
function init()
{
@ -117,5 +117,18 @@
</box>
</titledbox>
<titledbox orient="vertical">
<label value="&animLoopingDetails.label;"/>
<radiogroup id="imageLooping" orient="vertical" autostretch="never"
pref="true" preftype="string" prefstring="image.animation_mode"
prefattribute="value">
<radio group="imageLooping" value="normal" label="&animLoopForever.label;"
accesskey="&animLoopForever.accesskey;"/>
<radio group="imageLooping" value="once" label="&animLoopOnce.label;"
accesskey="&animLoopOnce.accesskey;"/>
<radio group="imageLooping" value="never" label="&animLoopNever.label;"
accesskey="&animLoopNever.accesskey;"/>
</radiogroup>
</titledbox>
</window>

Просмотреть файл

@ -19,3 +19,11 @@
<!ENTITY viewImagesExplanation.label "View list of sites about which image acceptance information is stored">
<!ENTITY viewImages.label "View Image Permissions">
<!ENTITY viewImages.accesskey "p">
<!ENTITY animLoopingTitle.label "Image Looping">
<!ENTITY animLoopingDetails.label "Animated images should loop:">
<!ENTITY animLoopForever.label "Forever">
<!ENTITY animLoopForever.accesskey "F">
<!ENTITY animLoopOnce.label "Once">
<!ENTITY animLoopOnce.accesskey "O">
<!ENTITY animLoopNever.label "Never">
<!ENTITY animLoopNever.accesskey "N">