Mercurial > tinyurl_creator
view chrome/content/create.xul @ 2:0d369fd33074
should not url encode special characters.
author | Yoshiki Yazawa <yaz@honeyplanet.jp> |
---|---|
date | Mon, 11 Aug 2008 20:51:28 +0900 |
parents | c14d52a3b2fe |
children |
line wrap: on
line source
<?xml version="1.0"?> <?xml-stylesheet href="chrome://communicator/skin/" type="text/css"?> <window id="tinyurl-create" title="Create TinyUrl" xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"> <script type="application/x-javascript" src="chrome://tinyurl/content/tinyurl.js"></script> <script type="application/x-javascript" src="chrome://tinyurl/content/saved.js"></script> <script type="application/x-javascript" src="chrome://tinyurl/content/create.js" /> <script type="application/x-javascript"> window.addEventListener("load", tinyurl_create_load, true); </script> <keyset> <key id="close-key" key="w" modifiers="accel" oncommand="self.close();" /> </keyset> <deck id="loading-steps" style="background: #FFC; padding: 20px;" flex="1"> <vbox pack="center" align="center"> <label value="Loading...." /> <spacer height="10" /> <button id="cancel-btn" label="Cancel" oncommand="tinyrl_create_cancel()" default="true" /> </vbox> <vbox style="font-weight: bold; padding: 10px text-align: center;" flex="1" align="center" pack="center"> <description id="tinyurl-label"></description> <description style="font-weight: normal;">has been copied to your clipboard.</description> <spacer height="7" /> <hbox> <button label="Close" id="close1-btn" oncommand="self.close()" /> <button label="Goto" oncommand="tinyurl_create_goto();" style="font-weight: normal;" /> <button label="Save" oncommand="tinyurl_create_openSave()" style="font-weight: normal;" /> </hbox> <spacer height="7" /> </vbox> <vbox pack="center" align="center"> <description style="color: #F00;"> An error occurred. Is your internet connection available? </description> <spacer height="10" /> <button label="Close" id="close2-btn" oncommand="self.close()" /> </vbox> </deck> </window>