Line: 1 to 1 | |||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| |||||||||||||||||||
Changed: | |||||||||||||||||||
< < |
| ||||||||||||||||||
> > |
| ||||||||||||||||||
| |||||||||||||||||||
Line: 11 to 11 | |||||||||||||||||||
| |||||||||||||||||||
Changed: | |||||||||||||||||||
< < |
| ||||||||||||||||||
> > |
| ||||||||||||||||||
| |||||||||||||||||||
Changed: | |||||||||||||||||||
< < |
| ||||||||||||||||||
> > |
| ||||||||||||||||||
| |||||||||||||||||||
Changed: | |||||||||||||||||||
< < |
| ||||||||||||||||||
> > |
| ||||||||||||||||||
|
Line: 1 to 1 | |||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| |||||||||||||||||||||||||||||||||||||||||||
Changed: | |||||||||||||||||||||||||||||||||||||||||||
< < |
| ||||||||||||||||||||||||||||||||||||||||||
> > |
| ||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||
Changed: | |||||||||||||||||||||||||||||||||||||||||||
< < |
| ||||||||||||||||||||||||||||||||||||||||||
> > |
| ||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||
Added: | |||||||||||||||||||||||||||||||||||||||||||
> > |
| ||||||||||||||||||||||||||||||||||||||||||
|
Line: 1 to 1 | ||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||||||||||||||||||
Changed: | ||||||||||||||||||||||||||||||
< < |
| |||||||||||||||||||||||||||||
> > |
| |||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||
Changed: | ||||||||||||||||||||||||||||||
< < |
| |||||||||||||||||||||||||||||
> > |
| |||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||
Changed: | ||||||||||||||||||||||||||||||
< < |
| |||||||||||||||||||||||||||||
> > |
| |||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||
Added: | ||||||||||||||||||||||||||||||
> > |
| |||||||||||||||||||||||||||||
|
Line: 1 to 1 | |||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| |||||||||||||||||||
Line: 10 to 10 | |||||||||||||||||||
| |||||||||||||||||||
Added: | |||||||||||||||||||
> > |
| ||||||||||||||||||
|
Line: 1 to 1 | |||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| |||||||||||||||||||
Changed: | |||||||||||||||||||
< < |
| ||||||||||||||||||
> > |
| ||||||||||||||||||
|
Line: 1 to 1 | |||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| |||||||||||||||||||
Changed: | |||||||||||||||||||
< < |
| ||||||||||||||||||
> > |
| ||||||||||||||||||
| |||||||||||||||||||
Line: 12 to 12 | |||||||||||||||||||
| |||||||||||||||||||
Changed: | |||||||||||||||||||
< < |
| ||||||||||||||||||
> > |
|
Line: 1 to 1 | |||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| |||||||||||||||||||||||||||||||
Added: | |||||||||||||||||||||||||||||||
> > |
| ||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||
Deleted: | |||||||||||||||||||||||||||||||
< < |
| ||||||||||||||||||||||||||||||
|
Line: 1 to 1 | |||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| |||||||||||||||||||
Line: 6 to 6 | |||||||||||||||||||
| |||||||||||||||||||
Added: | |||||||||||||||||||
> > |
| ||||||||||||||||||
|
Line: 1 to 1 | |||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| |||||||||||||||||||
Deleted: | |||||||||||||||||||
< < |
| ||||||||||||||||||
| |||||||||||||||||||
Added: | |||||||||||||||||||
> > |
| ||||||||||||||||||
| |||||||||||||||||||
Added: | |||||||||||||||||||
> > |
| ||||||||||||||||||
| |||||||||||||||||||
Deleted: | |||||||||||||||||||
< < | %STARTINCLUDE% Filtrar por Município: <select name="municipio" onchange="document.location='?municipio='+this.value"> <option value="" style="font-size:85%; text-align:center"> -- Selecione -- </option> <option>Salvador</option> <option>Feira de Santana</option> <option>Camamu</option> </select> %TABLE{ tablewidth="100%" }% | *Posto* | *Município* | %SEARCH{"form.name='WebRedeForm' AND Tipo='%TIPO%' %URLPARAM{"municipio" multiple="AND Municpio='$item'"}%" type="query" order="topic" nonoise="on" format="| [[$topic][$formfield(Nome)]] | $formfield(Município) |"}% <script type="text/javascript"> function str2topic(sIn) { sIn = sIn.replace( /@/g, " %MAKETEXT{At}% " ).replace( /&/g, " %MAKETEXT{And}% " ) .replace( /\s|\||\\|\/|\[|\]|\(|\)|\{|\}|<|>|\!|\?|#|\$|%|"|'|\*|,|\.|~|\^|-|\+|=|;/g, " " ); // the ":" and "_" are good. var sOut = ""; var chgUpper = true; for ( var i = 0; i < sIn.length; i++ ) { var ch = sIn.charAt( i ); var chVal = ch.charCodeAt(0); var ch2 = ''; if( (chVal==192) || (chVal==193) || (chVal==194) || (chVal==195) ) { ch = 'A'; } if( chVal==196) { ch = 'A'; ch2 = 'E'; } if( chVal==197) { ch = 'A'; ch2 = 'A'; } if( chVal==198) { ch = 'A'; ch2 = 'E'; } if( chVal==199) { ch = 'C'; } if( (chVal==200) || (chVal==201) || (chVal==202) || (chVal==203) ) { ch = 'E'; } if( (chVal==204) || (chVal==205) || (chVal==206) || (chVal==207) ) { ch = 'I'; } if( chVal==208) { ch = 'd'; } if( chVal==209) { ch = 'N'; } if( (chVal==210) || (chVal==211) || (chVal==212) || (chVal==213) ) { ch = 'O'; } if( chVal==214) { ch = 'O'; ch2 = 'E'; } if( chVal==216) { ch = 'O'; ch2 = 'E'; } if( (chVal==217) || (chVal==218) || (chVal==219) ) { ch = 'U'; } if( chVal==220) { ch = 'U'; ch2 = 'E'; } if( chVal==221) { ch = 'Y'; } if( chVal==222) { ch = 'P'; } if( chVal==223) { ch = 's'; ch2 = 's'; } if( (chVal==224) || (chVal==225) || (chVal==226) || (chVal==227) ) { ch = 'a'; } if( chVal==228) { ch = 'a'; ch2 = 'e'; } if( chVal==229) { ch = 'a'; ch2 = 'a'; } if( chVal==230) { ch = 'a'; ch2 = 'e'; } if( chVal==231) { ch = 'c'; } if( (chVal==232) || (chVal==233) || (chVal==234) || (chVal==235) ) { ch = 'e'; } if( (chVal==236) || (chVal==237) || (chVal==238) || (chVal==239) ) { ch = 'i'; } if( chVal==240) { ch = 'd'; } if( chVal==241) { ch = 'n'; } if( (chVal==242) || (chVal==243) || (chVal==244) || (chVal==245) ) { ch = 'o'; } if( chVal==246) { ch = 'o'; ch2 = 'e'; } if( chVal==248) { ch = 'o'; ch2 = 'e'; } if( (chVal==249) || (chVal==250) || (chVal==251) ) { ch = 'u'; } if( chVal==252) { ch = 'u'; ch2 = 'e'; } if( chVal==253) { ch = 'y'; } if( chVal==254) { ch = 'p'; } if( chVal==255) { ch = 'y'; } if( ch!=' ' ) { if( chgUpper ) { ch = ch.toUpperCase(); chgUpper = false; } sOut+=ch; if( ch2!='') { sOut+=ch2; } } else { chgUpper = true; } } return sOut; } </script> <form action="https://%HTTP_HOST%%SCRIPTURLPATH{edit}%/%WEB%" onsubmit="this.topic.value=str2topic(this.Municpio.value+':'+this.Nome.value); this.Ttulo.value='Posto de %TIPO% de '+this.Municpio.value+': '+this.Nome.value" method="get"> %IF{"$'WIKINAME' ingroup 'ColibreGroup'" then=" <hr /> <h2>Cadastrar Novo Posto de %TIPO%</h2> <input type='hidden' name='topic' /> <input type='hidden' name='Ttulo' /> <input type='hidden' name='topicparent' value='%TOPIC%' /> <input type='hidden' name='formtemplate' value='WebRedeForm' /> Nome do Posto: %BR% <input name='Nome' /> %BR% Nome do Município: %BR% <input name='Municpio' /> %BR% %BR% <input type='submit' value='Cadastrar' /> "}% </form> %STOPINCLUDE% | ||||||||||||||||||
|
Line: 1 to 1 | |||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| |||||||||||||||||||||||||
Changed: | |||||||||||||||||||||||||
< < |
| ||||||||||||||||||||||||
> > |
| ||||||||||||||||||||||||
%STARTINCLUDE% |
Line: 1 to 1 | ||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Added: | ||||||||||||||||||||||||||||||||||||
> > |
%STARTINCLUDE% Filtrar por Município: <select name="municipio" onchange="document.location='?municipio='+this.value"> <option value="" style="font-size:85%; text-align:center"> -- Selecione -- </option> <option>Salvador</option> <option>Feira de Santana</option> <option>Camamu</option> </select> %TABLE{ tablewidth="100%" }% | *Posto* | *Município* | %SEARCH{"form.name='WebRedeForm' AND Tipo='%TIPO%' %URLPARAM{"municipio" multiple="AND Municpio='$item'"}%" type="query" order="topic" nonoise="on" format="| [[$topic][$formfield(Nome)]] | $formfield(Município) |"}% <script type="text/javascript"> function str2topic(sIn) { sIn = sIn.replace( /@/g, " %MAKETEXT{At}% " ).replace( /&/g, " %MAKETEXT{And}% " ) .replace( /\s|\||\\|\/|\[|\]|\(|\)|\{|\}|<|>|\!|\?|#|\$|%|"|'|\*|,|\.|~|\^|-|\+|=|;/g, " " ); // the ":" and "_" are good. var sOut = ""; var chgUpper = true; for ( var i = 0; i < sIn.length; i++ ) { var ch = sIn.charAt( i ); var chVal = ch.charCodeAt(0); var ch2 = ''; if( (chVal==192) || (chVal==193) || (chVal==194) || (chVal==195) ) { ch = 'A'; } if( chVal==196) { ch = 'A'; ch2 = 'E'; } if( chVal==197) { ch = 'A'; ch2 = 'A'; } if( chVal==198) { ch = 'A'; ch2 = 'E'; } if( chVal==199) { ch = 'C'; } if( (chVal==200) || (chVal==201) || (chVal==202) || (chVal==203) ) { ch = 'E'; } if( (chVal==204) || (chVal==205) || (chVal==206) || (chVal==207) ) { ch = 'I'; } if( chVal==208) { ch = 'd'; } if( chVal==209) { ch = 'N'; } if( (chVal==210) || (chVal==211) || (chVal==212) || (chVal==213) ) { ch = 'O'; } if( chVal==214) { ch = 'O'; ch2 = 'E'; } if( chVal==216) { ch = 'O'; ch2 = 'E'; } if( (chVal==217) || (chVal==218) || (chVal==219) ) { ch = 'U'; } if( chVal==220) { ch = 'U'; ch2 = 'E'; } if( chVal==221) { ch = 'Y'; } if( chVal==222) { ch = 'P'; } if( chVal==223) { ch = 's'; ch2 = 's'; } if( (chVal==224) || (chVal==225) || (chVal==226) || (chVal==227) ) { ch = 'a'; } if( chVal==228) { ch = 'a'; ch2 = 'e'; } if( chVal==229) { ch = 'a'; ch2 = 'a'; } if( chVal==230) { ch = 'a'; ch2 = 'e'; } if( chVal==231) { ch = 'c'; } if( (chVal==232) || (chVal==233) || (chVal==234) || (chVal==235) ) { ch = 'e'; } if( (chVal==236) || (chVal==237) || (chVal==238) || (chVal==239) ) { ch = 'i'; } if( chVal==240) { ch = 'd'; } if( chVal==241) { ch = 'n'; } if( (chVal==242) || (chVal==243) || (chVal==244) || (chVal==245) ) { ch = 'o'; } if( chVal==246) { ch = 'o'; ch2 = 'e'; } if( chVal==248) { ch = 'o'; ch2 = 'e'; } if( (chVal==249) || (chVal==250) || (chVal==251) ) { ch = 'u'; } if( chVal==252) { ch = 'u'; ch2 = 'e'; } if( chVal==253) { ch = 'y'; } if( chVal==254) { ch = 'p'; } if( chVal==255) { ch = 'y'; } if( ch!=' ' ) { if( chgUpper ) { ch = ch.toUpperCase(); chgUpper = false; } sOut+=ch; if( ch2!='') { sOut+=ch2; } } else { chgUpper = true; } } return sOut; } </script> <form action="https://%HTTP_HOST%%SCRIPTURLPATH{edit}%/%WEB%" onsubmit="this.topic.value=str2topic(this.Municpio.value+':'+this.Nome.value); this.Ttulo.value='Posto de %TIPO% de '+this.Municpio.value+': '+this.Nome.value" method="get"> %IF{"$'WIKINAME' ingroup 'ColibreGroup'" then=" <hr /> <h2>Cadastrar Novo Posto de %TIPO%</h2> <input type='hidden' name='topic' /> <input type='hidden' name='Ttulo' /> <input type='hidden' name='topicparent' value='%TOPIC%' /> <input type='hidden' name='formtemplate' value='WebRedeForm' /> Nome do Posto: %BR% <input name='Nome' /> %BR% Nome do Município: %BR% <input name='Municpio' /> %BR% %BR% <input type='submit' value='Cadastrar' /> "}% </form> %STOPINCLUDE%
|