Changeset 85021d1998197b2c6b82c654ebcf116b0aba00f2

Show
Ignore:
Timestamp:
05/22/08 18:39:55 (3 months ago)
Author:
Christopher Jung <bktheg@web.de>
git-committer:
Christopher Jung <bktheg@web.de> 1211474395 +0200
git-parent:

[f328b74996d55e5c1c40dc0bd3c12de224a1e75c]

git-author:
Christopher Jung <bktheg@web.de> 1211474395 +0200
Message:

[ref] Die Session-ID wird nun nicht mehr bei link_to und form_create_hidden ergaenzt

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • src/net/driftingsouls/ds2/server/framework/templates/TemplateCompiler.java

    r9eeebea r85021d1  
    150150                         
    151151                        if( paramlist.containsKey("module") ) { 
    152                                 text.append(paramlist.get("module")+"&amp;sess="); 
     152                                text.append(paramlist.get("module")+"&amp;"); 
    153153                                paramlist.remove("module");      
    154154                        } 
    155155                        else { 
    156                                 text.append("\"); str.append(templateEngine.getVar(\"global.module\")); str.append(\"&amp;sess="); 
    157                         } 
    158                          
    159                         text.append("\"); str.append(templateEngine.getVar(\"global.sess\")); str.append(\""); 
    160                          
    161                         text.append("&amp;action="+action); 
     156                                text.append("\"); str.append(templateEngine.getVar(\"global.module\")); str.append(\"&amp;"); 
     157                        } 
     158                         
     159                        text.append("action="+action); 
    162160                         
    163161                        if( paramlist.size() > 0 ) { 
     
    310308                        } 
    311309                         
    312                         text.append("<input type=\\\"hidden\\\" name=\\\"sess\\\" value=\\\"\"); str.append(templateEngine.getVar(\"global.sess\")); str.append(\"\\\" />\n"); 
    313                          
    314310                        for( Map.Entry<String, String> entry : paramlist.entrySet() ) { 
    315311                                text.append("<input type=\\\"hidden\\\" name=\\\""+entry.getKey()+"\\\" value=\\\""+entry.getValue()+"\\\" />\n");