home *** CD-ROM | disk | FTP | other *** search
- <?xml version="1.0"?>
-
- <?xml-stylesheet href="chrome://communicator/skin/" type="text/css"?>
- <?xml-stylesheet href="chrome://aim/skin/prefPanels.css" type="text/css"?>
-
- <!DOCTYPE window SYSTEM "chrome://communicator/locale/pref/pref-IM_privacy.dtd">
-
- <page xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
- xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
- onload="aimPreferenceOnload(); parent.initPanel('chrome://aim/content/pref-IM_privacy.xul'); PrefIMPrivacyOnLoad();"
- headertitle="&privacyPanel.title;">
-
- <script language="JavaScript">
- <![CDATA[
- _elementIDs = ["privacyView", "chatInvites"];
- ]]>
- </script>
- <script language="JavaScript" src="chrome://aim/content/aimHelpers.js"/>
- <script language="javascript" src="chrome://aim/content/prefIM.js"/>
-
- <description id="privacyOfflineIntro" />
- <radiogroup id="privacyMode">
-
- <groupbox id="contact">
- <caption label="&header1.label;"/>
-
- <grid flex="1">
- <columns>
- <column flex="1"/>
- <column flex="1"/>
- <column flex="1"/>
- </columns>
- <rows>
- <row>
- <radio id="allowradio" label="&allow.label;" />
- <spacer flex="1"/>
- <radio id="denyradio" label="&block.label;" />
- </row>
- <row>
- <!-- VISHY since the privacyMode is stored in feedbag, it is confusing to also have it in the prefs file.
- Instead we read and write the feedbag everytime this radio is modified and also at startup -->
- <vbox>
- <menulist id="allowmenulist">
- <menupopup>
- <menuitem class="small-margin" id="aim_privacy_contact_allowallusers" label="&allowAllUsers.label;" accesskey="&allowAllUsers.accesskey;" oncommand="privacyModeRadio(Components.interfaces.nsAimPrivacyModes.AllowAll);"/>
- <menuitem class="small-margin" id="aim_privacy_contact_allowbuddylistusers" label="&allowBuddyUsers.label;" accesskey="&allowBuddyUsers.accesskey;" oncommand="privacyModeRadio(Components.interfaces.nsAimPrivacyModes.AllowBuddies);"/>
- <menuitem class="small-margin" id="aim_privacy_contact_allowonlylist" label="&allowOnly.label;" accesskey="&allowOnly.accesskey;" oncommand="privacyModeRadio(Components.interfaces.nsAimPrivacyModes.AllowList);"/>
- </menupopup>
- </menulist>
- </vbox>
- <spacer flex="1"/>
- <vbox>
- <menulist id="denymenulist">
- <menupopup>
- <menuitem class="small-margin" id="aim_privacy_contact_blockallusers" label="&blockAllUsers.label;" accesskey="&blockAllUsers.accesskey;" oncommand="privacyModeRadio(Components.interfaces.nsAimPrivacyModes.DenyAll);"/>
- <menuitem class="small-margin" id="aim_privacy_contact_blockaimusers" label="&blockAimUsers.label;" accesskey="&blockAimUsers.accesskey;" oncommand="privacyModeRadio(Components.interfaces.nsAimPrivacyModes.DenyAim);"/>
- <menuitem class="small-margin" id="aim_privacy_contact_blocklistusers" label="&blockUsersBelow.label;" accesskey="&blockUsersBelow.accesskey;" oncommand="privacyModeRadio(Components.interfaces.nsAimPrivacyModes.DenyList);"/>
- </menupopup>
- </menulist>
- </vbox>
- </row>
-
- <row>
- <label value="&allowlist.label;" />
- <spacer flex="1"/>
- <label value="&blocklist.label;" />
- </row>
-
- <row>
- <listbox datasources="rdf:null" ref="NC:AIM/Privacy" id="Allow" flex="1" rows="3" >
- <template>
- <rule>
- <conditions>
- <content uri="?uri" />
- <triple subject="?uri" predicate="http://home.netscape.com/NC-rdf#Allow" object="?child" />
- <triple subject="?child" predicate="http://home.netscape.com/NC-rdf#ScreenName" object="?ScreenName" />
- </conditions>
- <action>
- <listitem uri="?child" label="?ScreenName"/>
- </action>
- </rule>
- </template>
- </listbox>
-
- <spacer flex="1"/>
-
- <listbox datasources="rdf:null" ref="NC:AIM/Privacy" id="Deny" flex="1" rows="3">
- <template>
- <rule>
- <conditions>
- <content uri="?uri" />
- <triple subject="?uri" predicate="http://home.netscape.com/NC-rdf#Deny" object="?child" />
- <triple subject="?child" predicate="http://home.netscape.com/NC-rdf#ScreenName" object="?ScreenName" />
- </conditions>
- <action>
- <listitem uri="?child" label="?ScreenName"/>
- </action>
- </rule>
- </template>
- </listbox>
-
- </row>
- <row>
- <hbox>
- <spacer flex="1"/>
- <button class="push dialog small-margin" id="button1" label="&addNameButton.label;" accesskey="&addNameButton.accesskey;"
- oncommand="PostGetUserDlg( 'Allow' );"/>
- <button class="push dialog small-margin" id="button2" label="&removeButton.label;" accesskey="&removeButton.accesskey;"
- oncommand="DeleteFromList( 'Allow' );"/>
- <spacer flex="1"/>
- </hbox>
-
- <spacer flex="1"/>
-
- <hbox>
- <spacer flex="1"/>
- <button class="push dialog small-margin" id="button3" label="&addNameButton.label;" accesskey="&addNameButton2.accesskey;"
- oncommand="PostGetUserDlg( 'Deny' );"/>
- <button class="push dialog small-margin" id="button4" label="&removeButton.label;" accesskey="&removeButton2.accesskey;"
- oncommand="DeleteFromList( 'Deny' );"/>
- <spacer flex="1"/>
- </hbox>
- </row>
- </rows>
- </grid>
-
- <hbox>
- <checkbox id="chatInvites" class="small-margin" label="&chatInvites.label;" accesskey="&chatInvites.accesskey;"
- pref="true" prefscope="0" preftype="bool" prefattribute="checked" prefstring="aim.chat.unavailable"
- oncommand="privacyChatInvites( this.checked );"/>
- </hbox>
-
-
- </groupbox>
- </radiogroup>
-
-
- <groupbox id="whocancontact">
- <caption label="&header3.label;"/>
-
- <!-- VISHY since the privacyView is stored in AOL MORF database, it is confusing to also have it in the prefs file.
- Instead we read and write the MORF DB everytime this radio is modified or read -->
- <hbox>
-
- <menulist id="privacyView" class="small-margin">
- <menupopup>
- <menuitem value="3" id="fulldisclosure" label="&myScreenName.label;"
- oncommand="privacyViewRadio(Components.interfaces.nsIAimAdminRegStatusPref.FullDisclosure);"/>
- <menuitem value="2" id="limiteddisclosure" label="&haveAnAccount.label;"
- oncommand="privacyViewRadio(Components.interfaces.nsIAimAdminRegStatusPref.LimitedDisclosure);"/>
- <menuitem value="1" id="nodisclosure" label="¬hingAboutMe.label;"
- oncommand="privacyViewRadio(Components.interfaces.nsIAimAdminRegStatusPref.NoDisclosure);"/>
- </menupopup>
- </menulist>
-
- <spacer flex="1" />
- </hbox>
- </groupbox>
-
- <groupbox id="whocancontact1">
- <caption label="&header2.label;"/>
- <hbox>
- <checkbox id="idle" class="small-margin" label="&idleTimeCheckbox.label;" accesskey="&idleTimeCheckbox.accesskey;"
- oncommand="privacyIdle(this.checked);"/>
-
- <checkbox id="mobile" class="small-margin" label="&showMobile.label;"
- oncommand="privacyMobile(this.checked);" />
-
- </hbox>
- <hbox>
- <checkbox id="showtyping" class="small-margin" label="&showTyping.label;"
- oncommand="privacyTyping(this.checked);" />
- </hbox>
- </groupbox>
- </page>
-