source: trunk/expressoMail1_2/js/fckeditor/editor/_source/internals/fckurlparams.js @ 389

Revision 389, 986 bytes checked in by niltonneto, 16 years ago (diff)

Ver Tickets no Trac #286 e #287.
Inclusão de template de assinatura padrão.
Assinatura também disponível em formato de texto rico.
Inclusão da biblioteca FCKEditor.

  • Property svn:executable set to *
Line 
1/*
2 * FCKeditor - The text editor for internet
3 * Copyright (C) 2003-2006 Frederico Caldeira Knabben
4 *
5 * Licensed under the terms of the GNU Lesser General Public License:
6 *              http://www.opensource.org/licenses/lgpl-license.php
7 *
8 * For further information visit:
9 *              http://www.fckeditor.net/
10 *
11 * "Support Open Source software. What about a donation today?"
12 *
13 * File Name: fckurlparams.js
14 *      Defines the FCKURLParams object that is used to get all parameters
15 *      passed by the URL QueryString (after the "?").
16 *
17 * File Authors:
18 *              Frederico Caldeira Knabben (fredck@fckeditor.net)
19 */
20
21// #### URLParams: holds all URL passed parameters (like ?Param1=Value1&Param2=Value2)
22var FCKURLParams = new Object() ;
23
24var aParams = document.location.search.substr(1).split('&') ;
25for ( var i = 0 ; i < aParams.length ; i++ )
26{
27        var aParam = aParams[i].split('=') ;
28        var sParamName  = aParam[0] ;
29        var sParamValue = aParam[1] ;
30
31        FCKURLParams[ sParamName ] = sParamValue ;
32}
Note: See TracBrowser for help on using the repository browser.