Background: #fff
Foreground: #000
PrimaryPale: #8cf
PrimaryLight: #18f
PrimaryMid: #04b
PrimaryDark: #014
SecondaryPale: #ffc
SecondaryLight: #fe8
SecondaryMid: #db4
SecondaryDark: #841
TertiaryPale: #eee
TertiaryLight: #ccc
TertiaryMid: #999
TertiaryDark: #666
Error: #f88
<!--{{{-->
<div class='toolbar' macro='toolbar [[ToolbarCommands::EditToolbar]]'></div>
<div class='title' macro='view title'></div>
<div class='editor' macro='edit title'></div>
<div macro='annotations'></div>
<div class='editor' macro='edit text'></div>
<div class='editor' macro='edit tags'></div><div class='editorFooter'><span macro='message views.editor.tagPrompt'></span><span macro='tagChooser excludeLists'></span></div>
<!--}}}-->
To get started with this blank [[TiddlyWiki]], you'll need to modify the following tiddlers:
* [[SiteTitle]] & [[SiteSubtitle]]: The title and subtitle of the site, as shown above (after saving, they will also appear in the browser title bar)
* [[MainMenu]]: The menu (usually on the left)
* [[DefaultTiddlers]]: Contains the names of the tiddlers that you want to appear when the TiddlyWiki is opened
You'll also need to enter your username for signing your edits: <<option txtUserName>>
<<importTiddlers>>
<!--{{{-->
<link rel='alternate' type='application/rss+xml' title='RSS' href='index.xml' />
<!--}}}-->
These [[InterfaceOptions]] for customising [[TiddlyWiki]] are saved in your browser

Your username for signing your edits. Write it as a [[WikiWord]] (eg [[JoeBloggs]])

<<option txtUserName>>
<<option chkSaveBackups>> [[SaveBackups]]
<<option chkAutoSave>> [[AutoSave]]
<<option chkRegExpSearch>> [[RegExpSearch]]
<<option chkCaseSensitiveSearch>> [[CaseSensitiveSearch]]
<<option chkAnimate>> [[EnableAnimations]]

----
Also see [[AdvancedOptions]]
<!--{{{-->
<div class='header' role='banner' macro='gradient vert [[ColorPalette::PrimaryLight]] [[ColorPalette::PrimaryMid]]'>
<div class='headerShadow'>
<span class='siteTitle' refresh='content' tiddler='SiteTitle'></span>&nbsp;
<span class='siteSubtitle' refresh='content' tiddler='SiteSubtitle'></span>
</div>
<div class='headerForeground'>
<span class='siteTitle' refresh='content' tiddler='SiteTitle'></span>&nbsp;
<span class='siteSubtitle' refresh='content' tiddler='SiteSubtitle'></span>
</div>
</div>
<div id='mainMenu' role='navigation' refresh='content' tiddler='MainMenu'></div>
<div id='sidebar'>
<div id='sidebarOptions' role='navigation' refresh='content' tiddler='SideBarOptions'></div>
<div id='sidebarTabs' role='complementary' refresh='content' force='true' tiddler='SideBarTabs'></div>
</div>
<div id='displayArea' role='main'>
<div id='messageArea'></div>
<div id='tiddlerDisplay'></div>
</div>
<!--}}}-->
/*{{{*/
body {background:[[ColorPalette::Background]]; color:[[ColorPalette::Foreground]];}

a {color:[[ColorPalette::PrimaryMid]];}
a:hover {background-color:[[ColorPalette::PrimaryMid]]; color:[[ColorPalette::Background]];}
a img {border:0;}

h1,h2,h3,h4,h5,h6 {color:[[ColorPalette::SecondaryDark]]; background:transparent;}
h1 {border-bottom:2px solid [[ColorPalette::TertiaryLight]];}
h2,h3 {border-bottom:1px solid [[ColorPalette::TertiaryLight]];}

.button {color:[[ColorPalette::PrimaryDark]]; border:1px solid [[ColorPalette::Background]];}
.button:hover {color:[[ColorPalette::PrimaryDark]]; background:[[ColorPalette::SecondaryLight]]; border-color:[[ColorPalette::SecondaryMid]];}
.button:active {color:[[ColorPalette::Background]]; background:[[ColorPalette::SecondaryMid]]; border:1px solid [[ColorPalette::SecondaryDark]];}

.header {background:[[ColorPalette::PrimaryMid]];}
.headerShadow {color:[[ColorPalette::Foreground]];}
.headerShadow a {font-weight:normal; color:[[ColorPalette::Foreground]];}
.headerForeground {color:[[ColorPalette::Background]];}
.headerForeground a {font-weight:normal; color:[[ColorPalette::PrimaryPale]];}

.tabSelected {color:[[ColorPalette::PrimaryDark]];
	background:[[ColorPalette::TertiaryPale]];
	border-left:1px solid [[ColorPalette::TertiaryLight]];
	border-top:1px solid [[ColorPalette::TertiaryLight]];
	border-right:1px solid [[ColorPalette::TertiaryLight]];
}
.tabUnselected {color:[[ColorPalette::Background]]; background:[[ColorPalette::TertiaryMid]];}
.tabContents {color:[[ColorPalette::PrimaryDark]]; background:[[ColorPalette::TertiaryPale]]; border:1px solid [[ColorPalette::TertiaryLight]];}
.tabContents .button {border:0;}

#sidebar {}
#sidebarOptions input {border:1px solid [[ColorPalette::PrimaryMid]];}
#sidebarOptions .sliderPanel {background:[[ColorPalette::PrimaryPale]];}
#sidebarOptions .sliderPanel a {border:none;color:[[ColorPalette::PrimaryMid]];}
#sidebarOptions .sliderPanel a:hover {color:[[ColorPalette::Background]]; background:[[ColorPalette::PrimaryMid]];}
#sidebarOptions .sliderPanel a:active {color:[[ColorPalette::PrimaryMid]]; background:[[ColorPalette::Background]];}

.wizard {background:[[ColorPalette::PrimaryPale]]; border:1px solid [[ColorPalette::PrimaryMid]];}
.wizard h1 {color:[[ColorPalette::PrimaryDark]]; border:none;}
.wizard h2 {color:[[ColorPalette::Foreground]]; border:none;}
.wizardStep {background:[[ColorPalette::Background]]; color:[[ColorPalette::Foreground]];
	border:1px solid [[ColorPalette::PrimaryMid]];}
.wizardStep.wizardStepDone {background:[[ColorPalette::TertiaryLight]];}
.wizardFooter {background:[[ColorPalette::PrimaryPale]];}
.wizardFooter .status {background:[[ColorPalette::PrimaryDark]]; color:[[ColorPalette::Background]];}
.wizard .button {color:[[ColorPalette::Foreground]]; background:[[ColorPalette::SecondaryLight]]; border: 1px solid;
	border-color:[[ColorPalette::SecondaryPale]] [[ColorPalette::SecondaryDark]] [[ColorPalette::SecondaryDark]] [[ColorPalette::SecondaryPale]];}
.wizard .button:hover {color:[[ColorPalette::Foreground]]; background:[[ColorPalette::Background]];}
.wizard .button:active {color:[[ColorPalette::Background]]; background:[[ColorPalette::Foreground]]; border: 1px solid;
	border-color:[[ColorPalette::PrimaryDark]] [[ColorPalette::PrimaryPale]] [[ColorPalette::PrimaryPale]] [[ColorPalette::PrimaryDark]];}

.wizard .notChanged {background:transparent;}
.wizard .changedLocally {background:#80ff80;}
.wizard .changedServer {background:#8080ff;}
.wizard .changedBoth {background:#ff8080;}
.wizard .notFound {background:#ffff80;}
.wizard .putToServer {background:#ff80ff;}
.wizard .gotFromServer {background:#80ffff;}

#messageArea {border:1px solid [[ColorPalette::SecondaryMid]]; background:[[ColorPalette::SecondaryLight]]; color:[[ColorPalette::Foreground]];}
#messageArea .button {color:[[ColorPalette::PrimaryMid]]; background:[[ColorPalette::SecondaryPale]]; border:none;}

.popupTiddler {background:[[ColorPalette::TertiaryPale]]; border:2px solid [[ColorPalette::TertiaryMid]];}

.popup {background:[[ColorPalette::TertiaryPale]]; color:[[ColorPalette::TertiaryDark]]; border-left:1px solid [[ColorPalette::TertiaryMid]]; border-top:1px solid [[ColorPalette::TertiaryMid]]; border-right:2px solid [[ColorPalette::TertiaryDark]]; border-bottom:2px solid [[ColorPalette::TertiaryDark]];}
.popup hr {color:[[ColorPalette::PrimaryDark]]; background:[[ColorPalette::PrimaryDark]]; border-bottom:1px;}
.popup li.disabled {color:[[ColorPalette::TertiaryMid]];}
.popup li a, .popup li a:visited {color:[[ColorPalette::Foreground]]; border: none;}
.popup li a:hover {background:[[ColorPalette::SecondaryLight]]; color:[[ColorPalette::Foreground]]; border: none;}
.popup li a:active {background:[[ColorPalette::SecondaryPale]]; color:[[ColorPalette::Foreground]]; border: none;}
.popupHighlight {background:[[ColorPalette::Background]]; color:[[ColorPalette::Foreground]];}
.listBreak div {border-bottom:1px solid [[ColorPalette::TertiaryDark]];}

.tiddler .defaultCommand {font-weight:bold;}

.shadow .title {color:[[ColorPalette::TertiaryDark]];}

.title {color:[[ColorPalette::SecondaryDark]];}
.subtitle {color:[[ColorPalette::TertiaryDark]];}

.toolbar {color:[[ColorPalette::PrimaryMid]];}
.toolbar a {color:[[ColorPalette::TertiaryLight]];}
.selected .toolbar a {color:[[ColorPalette::TertiaryMid]];}
.selected .toolbar a:hover {color:[[ColorPalette::Foreground]];}

.tagging, .tagged {border:1px solid [[ColorPalette::TertiaryPale]]; background-color:[[ColorPalette::TertiaryPale]];}
.selected .tagging, .selected .tagged {background-color:[[ColorPalette::TertiaryLight]]; border:1px solid [[ColorPalette::TertiaryMid]];}
.tagging .listTitle, .tagged .listTitle {color:[[ColorPalette::PrimaryDark]];}
.tagging .button, .tagged .button {border:none;}

.footer {color:[[ColorPalette::TertiaryLight]];}
.selected .footer {color:[[ColorPalette::TertiaryMid]];}

.error, .errorButton {color:[[ColorPalette::Foreground]]; background:[[ColorPalette::Error]];}
.warning {color:[[ColorPalette::Foreground]]; background:[[ColorPalette::SecondaryPale]];}
.lowlight {background:[[ColorPalette::TertiaryLight]];}

.zoomer {background:none; color:[[ColorPalette::TertiaryMid]]; border:3px solid [[ColorPalette::TertiaryMid]];}

.imageLink, #displayArea .imageLink {background:transparent;}

.annotation {background:[[ColorPalette::SecondaryLight]]; color:[[ColorPalette::Foreground]]; border:2px solid [[ColorPalette::SecondaryMid]];}

.viewer .listTitle {list-style-type:none; margin-left:-2em;}
.viewer .button {border:1px solid [[ColorPalette::SecondaryMid]];}
.viewer blockquote {border-left:3px solid [[ColorPalette::TertiaryDark]];}

.viewer table, table.twtable {border:2px solid [[ColorPalette::TertiaryDark]];}
.viewer th, .viewer thead td, .twtable th, .twtable thead td {background:[[ColorPalette::SecondaryMid]]; border:1px solid [[ColorPalette::TertiaryDark]]; color:[[ColorPalette::Background]];}
.viewer td, .viewer tr, .twtable td, .twtable tr {border:1px solid [[ColorPalette::TertiaryDark]];}

.viewer pre {border:1px solid [[ColorPalette::SecondaryLight]]; background:[[ColorPalette::SecondaryPale]];}
.viewer code {color:[[ColorPalette::SecondaryDark]];}
.viewer hr {border:0; border-top:dashed 1px [[ColorPalette::TertiaryDark]]; color:[[ColorPalette::TertiaryDark]];}

.highlight, .marked {background:[[ColorPalette::SecondaryLight]];}

.editor input {border:1px solid [[ColorPalette::PrimaryMid]];}
.editor textarea {border:1px solid [[ColorPalette::PrimaryMid]]; width:100%;}
.editorFooter {color:[[ColorPalette::TertiaryMid]];}
.readOnly {background:[[ColorPalette::TertiaryPale]];}

#backstageArea {background:[[ColorPalette::Foreground]]; color:[[ColorPalette::TertiaryMid]];}
#backstageArea a {background:[[ColorPalette::Foreground]]; color:[[ColorPalette::Background]]; border:none;}
#backstageArea a:hover {background:[[ColorPalette::SecondaryLight]]; color:[[ColorPalette::Foreground]]; }
#backstageArea a.backstageSelTab {background:[[ColorPalette::Background]]; color:[[ColorPalette::Foreground]];}
#backstageButton a {background:none; color:[[ColorPalette::Background]]; border:none;}
#backstageButton a:hover {background:[[ColorPalette::Foreground]]; color:[[ColorPalette::Background]]; border:none;}
#backstagePanel {background:[[ColorPalette::Background]]; border-color: [[ColorPalette::Background]] [[ColorPalette::TertiaryDark]] [[ColorPalette::TertiaryDark]] [[ColorPalette::TertiaryDark]];}
.backstagePanelFooter .button {border:none; color:[[ColorPalette::Background]];}
.backstagePanelFooter .button:hover {color:[[ColorPalette::Foreground]];}
#backstageCloak {background:[[ColorPalette::Foreground]]; opacity:0.6; filter:alpha(opacity=60);}
/*}}}*/
/*{{{*/
* html .tiddler {height:1%;}

body {font-size:.75em; font-family:arial,helvetica; margin:0; padding:0;}

h1,h2,h3,h4,h5,h6 {font-weight:bold; text-decoration:none;}
h1,h2,h3 {padding-bottom:1px; margin-top:1.2em;margin-bottom:0.3em;}
h4,h5,h6 {margin-top:1em;}
h1 {font-size:1.35em;}
h2 {font-size:1.25em;}
h3 {font-size:1.1em;}
h4 {font-size:1em;}
h5 {font-size:.9em;}

hr {height:1px;}

a {text-decoration:none;}

dt {font-weight:bold;}

ol {list-style-type:decimal;}
ol ol {list-style-type:lower-alpha;}
ol ol ol {list-style-type:lower-roman;}
ol ol ol ol {list-style-type:decimal;}
ol ol ol ol ol {list-style-type:lower-alpha;}
ol ol ol ol ol ol {list-style-type:lower-roman;}
ol ol ol ol ol ol ol {list-style-type:decimal;}

.txtOptionInput {width:11em;}

#contentWrapper .chkOptionInput {border:0;}

.externalLink {text-decoration:underline;}

.indent {margin-left:3em;}
.outdent {margin-left:3em; text-indent:-3em;}
code.escaped {white-space:nowrap;}

.tiddlyLinkExisting {font-weight:bold;}
.tiddlyLinkNonExisting {font-style:italic;}

/* the 'a' is required for IE, otherwise it renders the whole tiddler in bold */
a.tiddlyLinkNonExisting.shadow {font-weight:bold;}

#mainMenu .tiddlyLinkExisting,
	#mainMenu .tiddlyLinkNonExisting,
	#sidebarTabs .tiddlyLinkNonExisting {font-weight:normal; font-style:normal;}
#sidebarTabs .tiddlyLinkExisting {font-weight:bold; font-style:normal;}

.header {position:relative;}
.header a:hover {background:transparent;}
.headerShadow {position:relative; padding:4.5em 0 1em 1em; left:-1px; top:-1px;}
.headerForeground {position:absolute; padding:4.5em 0 1em 1em; left:0; top:0;}

.siteTitle {font-size:3em;}
.siteSubtitle {font-size:1.2em;}

#mainMenu {position:absolute; left:0; width:10em; text-align:right; line-height:1.6em; padding:1.5em 0.5em 0.5em 0.5em; font-size:1.1em;}

#sidebar {position:absolute; right:3px; width:16em; font-size:.9em;}
#sidebarOptions {padding-top:0.3em;}
#sidebarOptions a {margin:0 0.2em; padding:0.2em 0.3em; display:block;}
#sidebarOptions input {margin:0.4em 0.5em;}
#sidebarOptions .sliderPanel {margin-left:1em; padding:0.5em; font-size:.85em;}
#sidebarOptions .sliderPanel a {font-weight:bold; display:inline; padding:0;}
#sidebarOptions .sliderPanel input {margin:0 0 0.3em 0;}
#sidebarTabs .tabContents {width:15em; overflow:hidden;}

.wizard {padding:0.1em 1em 0 2em;}
.wizard h1 {font-size:2em; font-weight:bold; background:none; padding:0; margin:0.4em 0 0.2em;}
.wizard h2 {font-size:1.2em; font-weight:bold; background:none; padding:0; margin:0.4em 0 0.2em;}
.wizardStep {padding:1em 1em 1em 1em;}
.wizard .button {margin:0.5em 0 0; font-size:1.2em;}
.wizardFooter {padding:0.8em 0.4em 0.8em 0;}
.wizardFooter .status {padding:0 0.4em; margin-left:1em;}
.wizard .button {padding:0.1em 0.2em;}

#messageArea {position:fixed; top:2em; right:0; margin:0.5em; padding:0.5em; z-index:2000; _position:absolute;}
.messageToolbar {display:block; text-align:right; padding:0.2em;}
#messageArea a {text-decoration:underline;}

.tiddlerPopupButton {padding:0.2em;}
.popupTiddler {position: absolute; z-index:300; padding:1em; margin:0;}

.popup {position:absolute; z-index:300; font-size:.9em; padding:0; list-style:none; margin:0;}
.popup .popupMessage {padding:0.4em;}
.popup hr {display:block; height:1px; width:auto; padding:0; margin:0.2em 0;}
.popup li.disabled {padding:0.4em;}
.popup li a {display:block; padding:0.4em; font-weight:normal; cursor:pointer;}
.listBreak {font-size:1px; line-height:1px;}
.listBreak div {margin:2px 0;}

.tabset {padding:1em 0 0 0.5em;}
.tab {margin:0 0 0 0.25em; padding:2px;}
.tabContents {padding:0.5em;}
.tabContents ul, .tabContents ol {margin:0; padding:0;}
.txtMainTab .tabContents li {list-style:none;}
.tabContents li.listLink { margin-left:.75em;}

#contentWrapper {display:block;}
#splashScreen {display:none;}

#displayArea {margin:1em 17em 0 14em;}

.toolbar {text-align:right; font-size:.9em;}

.tiddler {padding:1em 1em 0;}

.missing .viewer,.missing .title {font-style:italic;}

.title {font-size:1.6em; font-weight:bold;}

.missing .subtitle {display:none;}
.subtitle {font-size:1.1em;}

.tiddler .button {padding:0.2em 0.4em;}

.tagging {margin:0.5em 0.5em 0.5em 0; float:left; display:none;}
.isTag .tagging {display:block;}
.tagged {margin:0.5em; float:right;}
.tagging, .tagged {font-size:0.9em; padding:0.25em;}
.tagging ul, .tagged ul {list-style:none; margin:0.25em; padding:0;}
.tagClear {clear:both;}

.footer {font-size:.9em;}
.footer li {display:inline;}

.annotation {padding:0.5em; margin:0.5em;}

* html .viewer pre {width:99%; padding:0 0 1em 0;}
.viewer {line-height:1.4em; padding-top:0.5em;}
.viewer .button {margin:0 0.25em; padding:0 0.25em;}
.viewer blockquote {line-height:1.5em; padding-left:0.8em;margin-left:2.5em;}
.viewer ul, .viewer ol {margin-left:0.5em; padding-left:1.5em;}

.viewer table, table.twtable {border-collapse:collapse; margin:0.8em 1.0em;}
.viewer th, .viewer td, .viewer tr,.viewer caption,.twtable th, .twtable td, .twtable tr,.twtable caption {padding:3px;}
table.listView {font-size:0.85em; margin:0.8em 1.0em;}
table.listView th, table.listView td, table.listView tr {padding:0 3px 0 3px;}

.viewer pre {padding:0.5em; margin-left:0.5em; font-size:1.2em; line-height:1.4em; overflow:auto;}
.viewer code {font-size:1.2em; line-height:1.4em;}

.editor {font-size:1.1em;}
.editor input, .editor textarea {display:block; width:100%; font:inherit;}
.editorFooter {padding:0.25em 0; font-size:.9em;}
.editorFooter .button {padding-top:0; padding-bottom:0;}

.fieldsetFix {border:0; padding:0; margin:1px 0px;}

.zoomer {font-size:1.1em; position:absolute; overflow:hidden;}
.zoomer div {padding:1em;}

* html #backstage {width:99%;}
* html #backstageArea {width:99%;}
#backstageArea {display:none; position:relative; overflow: hidden; z-index:150; padding:0.3em 0.5em;}
#backstageToolbar {position:relative;}
#backstageArea a {font-weight:bold; margin-left:0.5em; padding:0.3em 0.5em;}
#backstageButton {display:none; position:absolute; z-index:175; top:0; right:0;}
#backstageButton a {padding:0.1em 0.4em; margin:0.1em;}
#backstage {position:relative; width:100%; z-index:50;}
#backstagePanel {display:none; z-index:100; position:absolute; width:90%; margin-left:3em; padding:1em;}
.backstagePanelFooter {padding-top:0.2em; float:right;}
.backstagePanelFooter a {padding:0.2em 0.4em;}
#backstageCloak {display:none; z-index:20; position:absolute; width:100%; height:100px;}

.whenBackstage {display:none;}
.backstageVisible .whenBackstage {display:block;}
/*}}}*/
/***
StyleSheet for use when a translation requires any css style changes.
This StyleSheet can be used directly by languages such as Chinese, Japanese and Korean which need larger font sizes.
***/
/*{{{*/
body {font-size:0.8em;}
#sidebarOptions {font-size:1.05em;}
#sidebarOptions a {font-style:normal;}
#sidebarOptions .sliderPanel {font-size:0.95em;}
.subtitle {font-size:0.8em;}
.viewer table.listView {font-size:0.95em;}
/*}}}*/
/*{{{*/
@media print {
#mainMenu, #sidebar, #messageArea, .toolbar, #backstageButton, #backstageArea {display: none !important;}
#displayArea {margin: 1em 1em 0em;}
noscript {display:none;} /* Fixes a feature in Firefox 1.5.0.2 where print preview displays the noscript content */
}
/*}}}*/
<!--{{{-->
<div class='toolbar' role='navigation' macro='toolbar [[ToolbarCommands::ViewToolbar]]'></div>
<div class='title' macro='view title'></div>
<div class='subtitle'><span macro='view modifier link'></span>, <span macro='view modified date'></span> (<span macro='message views.wikified.createdPrompt'></span> <span macro='view created date'></span>)</div>
<div class='tagging' macro='tagging'></div>
<div class='tagged' macro='tags'></div>
<div class='viewer' macro='view text wikified'></div>
<div class='tagClear'></div>
<!--}}}-->
[img[../Logos/cog.png]]
____
 {{skye{<<hideWhen !localStorage.username>>{{icon{  <<showPopup tiddler:admin label:admin width:800px popupClass:sticky>><<setIcon ../Logos/smallCog.png "" notext>>}}} }}} 

<<showPopup tiddler:AdminMenu##login label:login width:600px popupClass:sticky>><<setIcon ../Logos/32login.png "" notext>>

<<showPopup tiddler:bookmarklets label:bookmarklets width:600px popupClass:sticky>><<setIcon ../Logos/rating.png "" notext>>
/%
!!login
<html><iframe src="Login/index.html" width=100% height=320px></iframe></html>
<script label="atualiza">config.refreshers.content(document.getElementById("barraMenu"));</script>
!!end
%/
[img[ ../Logos/cracha.png]]
{{right{<<showPopup tiddler:myPerfil label:story popupClass:sticky width:900px>><<setIcon ../Logos/smallNote.png "" notext>>}}}<script>
var out="|Nome|email|telefone/whatapp|nome completo|facebook|\n";
var lista="Cursos/"+localStorage.curso+"/alunos";
lista=getText(lista);
//return lista;
lista=lista.split("#\n");
//return "alunos ="+lista.length;
for(i=0;i<lista.length-1;i++)
{
var alunoFile="Alunos/"+lista[i]+"/perfil";
//return "looking for "+lista[i];
var alunoDet=getText(alunoFile);
//return "details for "+lista[i]+"="+alunoDet;
alunoChk=alunoDet.split("|");

out+='|<script label="'+alunoChk[0]+'">var url="http://piratepad.nl/'+alunoChk[0]+'";window.open(url,"myPerfil","right=20,top=20,width=700,height=600,toolbar=no,scrollbars=yes,titlebar=no",false);</scr'+'ipt>|'+alunoChk[1]+'|'+alunoChk[3]+'|'+alunoChk[4]+'|'+alunoChk[5]+'|\n';
}
return out;
</script>
[img[../Logos/slideshow.png]]
{{icone{<script label="slideshare">window.open('http://pt.slideshare.net/skye/','_blank','right=20,top=20,width=1000,height=600,toolbar=no,scrollbars=yes,titlebar=no',true);</script><<setIcon ../Logos/slideshare.png "" notext>>}}} 
<script>
var out=""
var aps=getCSV("temas");
return "apps ="+aps;
aps=aps.split("\r\n");
for(i=0;i<aps.length-1;i++)
{
var setLS=' <script label="'+aps[i]+'">localStorage.showLista="'+aps[i]+'";localStorage.leftMenu="apresenta";config.refreshers.content(document.getElementById("leftMenu"));</scri'+'pt>';

out+=setLS+"<br>";
}
return out;
</script>
/%
!!leftMenu
<<wikify {{localStorage.showLista}}>>
<script>
var out="";
var tids=getCSV("apresenta/apresentacoes");
//return tids;
tids=tids.split("\r\n");
//return "length="+tids.length;
for(t=1;t<tids.length-1;t++)
{
var tidDet=tids[t].split(":");
//return tidDet[2];
if((tidDet[2]==localStorage.showLista) && (tidDet[11]=="all" || localStorage.curso==tidDet[11]))
{
//return "found one";
if(tidDet[1]=="odp"){var icon='<<setIcon ../Logos/openoffice.png "" text>'+'>';}
if(tidDet[1]=="ppt"){var icon='<<setIcon ../Logos/powerpoint.png "" text>'+'>';}
if(tidDet[1]=="pdf"){var icon='<<setIcon ../Logos/pdf_small.png "" text>'+'>';}
if(tidDet[1]=="slideshare"){var icon='<<setIcon ../Logos/slideshare.png "" text>'+'>';}
if(tidDet[1]=="icloud"){var icon='<<setIcon ../Logos/apple.png "" text>'+'>';}
out+='<script label="'+tidDet[0]+'">localStorage.item="'+tidDet[0]+'";localStorage.itemMenu="apresenta";localStorage.urlExt="'+tidDet[5]+'";localStorage.url="'+tidDet[10]+'/'+tidDet[9]+'";localStorage.show="'+tidDet[1]+'";config.refreshers.content(document.getElementById("itemMenu"));</scr'+'ipt>'+icon+'<br>';
}
}
return out;
</script>

!!itemMenu
<<wikify {{'<script src="atividade.php?tipo=apresenta&aluno='+localStorage.username+'&desc='+localStorage.item+'"></scr'+'ipt>'}}>>
<script>
var show=localStorage.show;
if(show.indexOf("odp")!=-1){var url='apresenta/webodf.php?file='+localStorage.url;var out='<html><iframe src="'+url+'" width=100% height=500px></iframe></html>';}
if(show.indexOf("ppt")!=-1){out="esta apresentacao é em formato do Powerpoint!!! que nao pode ser exhibida em um nevegador do internet!!! Desculpa!!";}
if(show.indexOf("pdf")!=-1){var url='apresenta/'+localStorage.url;var out='<html><iframe src="'+url+'" width=100% height=500px></iframe></html>';}
if(show.indexOf("slideshare")!=-1){var out='<html><iframe src="http://'+localStorage.urlExt+'" width=90% height=90%px></iframe></h'+'tml>';}
if(show.indexOf("icloud")!=-1){var out='<script>window.open("https://'+localStorage.urlExt+'", "new","",true);</scr'+'ipt>';}
// if(show.indexOf("txt")!=-1){out="";}
return out;
</script>


!!end
%/
{{item{<<showWhen localStorage.username>>{{bold{{{center{__<<wikify {{localStorage.username}}>>__ no curso - __<<wikify {{localStorage.curso}}>>__}}} }}} }}}
<<showPopup tiddler:BatePapoMenu##show label:batepapo width:500px popupClass:sticky>><<setIcon ../Logos/chat.png "" notext>>
/%
!!show
<<wikify {{'<script src="atividade.php?tipo=batepapo&aluno='+localStorage.username+'&desc=batepapo"></script>'}}>>
<<wikify {{'<html><iframe src="Cursos/'+localStorage.curso+'/blog/index.html" width=500px height=500px style="border:none;"></iframe></html>'}}>>
%/
[img[../Logos/sm_calendar.png]]

<<showPopup tiddler:CalendarMenu##google label:abrirMeuCalendario width:800px popupClass:sticky>>
<<showPopup tiddler:CalendarMenu##newUser label:syncMeuCalendario width:800px popupClass:sticky>>
/%
!!google
<script>var alunoFile='Alunos/'+localStorage.username+'/calendar';var calendar=getText(alunoFile);return '<html><iframe src="https://calendar.google.com/calendar/embed?height=600&amp;wkst=2&amp;bgcolor=%23cccccc&amp;'+calendar+'&amp;ctz=America%2FFortaleza" style="border-width:0" width="800" height="600" frameborder="0" scrolling="no"></iframe></html>';</script>
<<wikify {{'<script src="atividade.php?tipo=noticia&aluno='+localStorage.username+'&desc=abrirCalendario"></scr'+'ipt>'}}>>
!!newUser
Para que seu calendario seja apresentado aqui, precisara por voce ver o codigo do google do seu calendario e normalmente tambem o cor que voce usava (especialmente quando voce tem mais de um calendario). Esse codigo normalmente sera na formato de um numero de 24 ou mais letras e numeros (ver as configuracoes sua agenda, ver o codigo para compartilhar....e o parte que fala __src=MUITAS_NUMEROS%40__ ..... pegar os numeros....nao precisa o parte do src nim %40...) so os numeros e digitar eles aqui
<<option txtCalendario>> <script label="addicionar meu calendario">var cal=config.options.txtCalendario;var url="?cal="+cal+"&aluno="+localStorage.username; return '{{{<script src="calendar.php?cal='+cal+'&aluno='+localStorage.username+'"></scr'+'ipt>}}}'</script>
!!end
%/
<<wikify {{'<<tiddler CenterMenu##'+localStorage.centerMenu+'>'+'>'}}>>
<script src="atividade.php?tipo=entrou&aluno='+localStorage.username+'&desc=entrou"></script>

/%
!!cursoTexto
<<wikify {{localStorage.centroTexto}}>>

En caso que voce é um participante nesse curso, e esta entrando por o primeiro vez, lembra que voce precisa fazer seu login, como explicamos por email particular. Pode fazer isso agora!
Em caso que voce nao recebio um email como instrucoes de como fazer seu Login.....<<showPopup tiddler:mail label:"email Skye agora!" width:400px popupClass:sticky>>

Em caso voce esta só olhando, interessado em Permacultura e esse curso, mas ainda nao esta inscrito, tera algumas ferramentas desse sistems disponivel por voce olhar, e tem muito do sistema disliga e nao disponivel por voce, sendo que areas especificas os participantes e seus trabalhos. <script label="Me_deixa_entrar!">localStorage.login="visitante";localStorage.curso="QQ";</script>

!!noLogin
<<wikify {{localStorage.centroTexto}}>>

!!bemVindo
Bem vindo de Volta.....seus mensagems...
<<tiddler noticias>>
!!end
%/

<<clock2 fancy>>
/***
| Name:|Clock2|
| Author:|Simon Baird|
| Description:|A skinnable, sizeable analog clock|
| Source:|http://tiddlyspot.com/mptw/#Clock2|
| Requires:|Firefox 1.5.x or maybe Safari|
| Version:|1.0.6|
| Date:|8-Jul-2008|
!!Note
* Does not work in IE or Opera due to lack of canvas support.
* If you make a nice skin send it to me and I will include it here.
*I'm not actively maintaining this plugin
* See also http://randomibis.com/coolclock/
!!Ideas
* Can we support IE with this? http://sourceforge.net/projects/excanvas
* Skin should specify order of drawing so things can be on top of other things
* Fix it so we can have filled and/or stroked elements
* Skin should allow any number of moving and static elements
* Make download and example for non-TW use
* Make floating draggable?
!!Examples
{{{
<<clock2 fancy>><<clock2 120>>
<<clock2 chunkySwiss>> <<clock2 60 chunkySwiss noSeconds>><<clock2 '{
	outerBorder: { lineWidth: 60, radius:55, color: "#dd8877", alpha: 1 },
	smallIndicator: { lineWidth: 4, startAt: 80, endAt: 95, color: "white", alpha: 1 },
	largeIndicator: { lineWidth: 12, startAt: 77, endAt: 89, color: "#dd8877", alpha: 1 },
	hourHand: { lineWidth: 15, startAt: -15, endAt: 50, color: "white", alpha: 1 },
	minuteHand: { lineWidth: 10, startAt: 24, endAt: 200, color: "#771100", alpha: 0.6 },
	secondHand: { lineWidth: 3, startAt: 22, endAt: 83, color: "green", alpha: 0 },
	secondDecoration: { lineWidth: 1, startAt: 52, radius: 26, fillColor: "white", color: "red", alpha: 0.2 }
}'>>

}}}
<<clock2 fancy>><<clock2 120>>
<<clock2 chunkySwiss>> <<clock2 60 chunkySwiss noSeconds>><<clock2 '{
	outerBorder: { lineWidth: 60, radius:55, color: "#dd8877", alpha: 1 },
	smallIndicator: { lineWidth: 4, startAt: 80, endAt: 95, color: "white", alpha: 1 },
	largeIndicator: { lineWidth: 12, startAt: 77, endAt: 89, color: "#dd8877", alpha: 1 },
	hourHand: { lineWidth: 15, startAt: -15, endAt: 50, color: "white", alpha: 1 },
	minuteHand: { lineWidth: 10, startAt: 24, endAt: 200, color: "#771100", alpha: 0.6 },
	secondHand: { lineWidth: 3, startAt: 22, endAt: 83, color: "green", alpha: 0 },
	secondDecoration: { lineWidth: 1, startAt: 52, radius: 26, fillColor: "white", color: "red", alpha: 0.2 }
}'>>

See also BigClock.
!!Code
***/
//{{{

window.CoolClock = function(canvasId,displayRadius,skinId,showSecondHand) {
	return this.init(canvasId,displayRadius,skinId,showSecondHand);
}

CoolClock.config = {
	clockTracker: {},
	tickDelay: 1000,
	longTickDelay: 15000,
	defaultRadius: 85,
	renderRadius: 100,
	defaultSkin: "swissRail",
	skins:	{
		// try making your own...
		swissRail: {
			outerBorder: { lineWidth: 1, radius:95, color: "black", alpha: 1 },
			smallIndicator: { lineWidth: 2, startAt: 89, endAt: 93, color: "black", alpha: 1 },
			largeIndicator: { lineWidth: 4, startAt: 80, endAt: 93, color: "black", alpha: 1 },
			hourHand: { lineWidth: 8, startAt: -15, endAt: 50, color: "black", alpha: 1 },
			minuteHand: { lineWidth: 7, startAt: -15, endAt: 75, color: "black", alpha: 1 },
			secondHand: { lineWidth: 1, startAt: -20, endAt: 85, color: "red", alpha: 1 },
			secondDecoration: { lineWidth: 1, startAt: 70, radius: 4, fillColor: "red", color: "red", alpha: 1 }
		},
		chunkySwiss: {
			outerBorder: { lineWidth: 5, radius:97, color: "black", alpha: 1 },
			smallIndicator: { lineWidth: 4, startAt: 89, endAt: 93, color: "black", alpha: 1 },
			largeIndicator: { lineWidth: 8, startAt: 80, endAt: 93, color: "black", alpha: 1 },
			hourHand: { lineWidth: 12, startAt: -15, endAt: 60, color: "black", alpha: 1 },
			minuteHand: { lineWidth: 10, startAt: -15, endAt: 85, color: "black", alpha: 1 },
			secondHand: { lineWidth: 4, startAt: -20, endAt: 85, color: "red", alpha: 1 },
			secondDecoration: { lineWidth: 2, startAt: 70, radius: 8, fillColor: "red", color: "red", alpha: 1 }
		},
		fancy: {
			outerBorder: { lineWidth: 5, radius:95, color: "green", alpha: 0.7 },
			smallIndicator: { lineWidth: 1, startAt: 80, endAt: 93, color: "black", alpha: 0.4 },
			largeIndicator: { lineWidth: 1, startAt: 30, endAt: 93, color: "black", alpha: 0.5 },
			hourHand: { lineWidth: 8, startAt: -15, endAt: 50, color: "blue", alpha: 0.7 },
			minuteHand: { lineWidth: 7, startAt: -15, endAt: 92, color: "red", alpha: 0.7 },
			secondHand: { lineWidth: 10, startAt: 80, endAt: 85, color: "blue", alpha: 0.3 },
			secondDecoration: { lineWidth: 1, startAt: 30, radius: 50, fillColor: "blue", color: "red", alpha: 0.15 }
		}
	}
};

CoolClock.prototype = {
	init: function(canvasId,displayRadius,skinId,showSecondHand) {
		this.canvasId = canvasId;
		this.displayRadius = displayRadius || CoolClock.config.defaultRadius;
		this.skinId = skinId || CoolClock.config.defaultSkin;
		this.showSecondHand = typeof showSecondHand == "boolean" ? showSecondHand : true;
		this.tickDelay = CoolClock.config[ this.showSecondHand ? "tickDelay" : "longTickDelay"];

		this.canvas = document.getElementById(canvasId);
		this.canvas.setAttribute("width",this.displayRadius*2);
		this.canvas.setAttribute("height",this.displayRadius*2);

		this.renderRadius = CoolClock.config.renderRadius; 

		var scale = this.displayRadius / this.renderRadius;
		this.ctx = this.canvas.getContext("2d");
		this.ctx.scale(scale,scale);

		CoolClock.config.clockTracker[canvasId] = this;
		this.tick();
		return this;
	},

	fullCircle: function(skin) {
		this.fullCircleAt(this.renderRadius,this.renderRadius,skin);
	},

	fullCircleAt: function(x,y,skin) {
		with (this.ctx) {
			save();
			globalAlpha = skin.alpha;
			lineWidth = skin.lineWidth;
			if (!document.all)
				beginPath();
			arc(x, y, skin.radius, 0, 2*Math.PI, false);
			if (skin.fillColor) {
				fillStyle = skin.fillColor
				fill();
			}
			else {
				// XXX why not stroke and fill
				strokeStyle = skin.color;
				stroke();
			}
			restore();
		}
	},

	radialLineAtAngle: function(angleFraction,skin) {
		with (this.ctx) {
			save();
			translate(this.renderRadius,this.renderRadius);
			rotate(Math.PI * (2 * angleFraction - 0.5));
			globalAlpha = skin.alpha;
			strokeStyle = skin.color;
			lineWidth = skin.lineWidth;
			if (skin.radius) {
				this.fullCircleAt(skin.startAt,0,skin)
			}
			else {
				beginPath();
				moveTo(skin.startAt,0)
				lineTo(skin.endAt,0);
				stroke();
			}
			restore();
		}
	},

	render: function(hour,min,sec) {
		var skin = CoolClock.config.skins[this.skinId];
		this.ctx.clearRect(0,0,this.renderRadius*2,this.renderRadius*2);

		this.fullCircle(skin.outerBorder);

		for (var i=0;i<60;i++)
			this.radialLineAtAngle(i/60,skin[ i%5 ? "smallIndicator" : "largeIndicator"]);
				
		this.radialLineAtAngle((hour+min/60)/12,skin.hourHand);
		this.radialLineAtAngle((min+sec/60)/60,skin.minuteHand);
		if (this.showSecondHand) {
			this.radialLineAtAngle(sec/60,skin.secondHand);
			this.radialLineAtAngle(sec/60,skin.secondDecoration);
		}
	},


	nextTick: function() {
		setTimeout("CoolClock.config.clockTracker['"+this.canvasId+"'].tick()",this.tickDelay);
	},

	stillHere: function() {
		return document.getElementById(this.canvasId) != null;
	},

	refreshDisplay: function() {
		var now = new Date();
		this.render(now.getHours(),now.getMinutes(),now.getSeconds());
	},

	tick: function() {
		if (this.stillHere()) {
			this.refreshDisplay()
			this.nextTick();
		}
	}
}



config.macros.clock2 = {
	counter: 0,
	handler: function (place,macroName,params,wikifier,paramString,tiddler) {
		var size,skin,seconds,skinData;
		for (var i=0;i<params.length;i++)
			if (/^d+$/.exec(params[i]))
				size = params[i];
			else if (params[i] == "noSeconds")
				seconds = false;
			else if (/^{/.exec(params[i]))
				eval("skinData = " + params[i]);
			else
				skin = params[i];
		if (skinData) {
			CoolClock.config.skins.customSkin = skinData;
			skin = "customSkin";
		}
		var canvas = createTiddlyElement(place,"canvas","clockcanvas"+this.counter);
		var clock = new CoolClock("clockcanvas"+this.counter,size,skin,seconds);
		this.counter++;
	}
}

//}}}
/***
|Name|CoreTweaks|
|Source|http://www.TiddlyTools.com/#CoreTweaks|
|Version||
|Author|Eric Shulman|
|License|http://www.TiddlyTools.com/#LegalStatements|
|~CoreVersion|2.2.0|
|Type|plugin|
|Description|a small collection of overrides to TW core functions|
This tiddler contains small changes to TW core functions that correct or enhance standard features or behaviors.
***/
//{{{
// calculate TW version number - used to determine which tweaks should be applied
var ver=version.major+version.minor/10+version.revision/100;
//}}}
/***
----

***/
// // closed: won't fix //(leave as core tweaks)//
// // {{block{
/***
!!!637 TiddlyLink tooltip - custom formatting
***/
// // {{groupbox small{
/***
http://trac.tiddlywiki.org/ticket/637 - CLOSED: WON'T FIX
This tweak modifies the tooltip format that appears when you mouseover a link to a tiddler.  It adds an option to control the date format, as well as displaying the size of the tiddler (in bytes)

Tiddler link tooltip format:
{{stretch{<<option txtTiddlerLinkTootip>>}}}
^^where: %0=title, %1=username, %2=modification date, %3=size in bytes, %4=description slice, %5=first N characters of tiddler content^^
Tiddler link tooltip date format:
{{stretch{<<option txtTiddlerLinkTooltipDate>>}}}
Tiddler excerpt limit (chars):
{{stretch{<<option txtTiddlerLinkTooltipLimit>>}}}
***/
//{{{
config.messages.tiddlerLinkTooltip='%0 - %1, %2 (%3 bytes) - %4';
config.messages.tiddlerLinkTooltipDate='DDD, MMM DDth YYYY 0hh12:0mm AM';
config.messages.tiddlerLinkTooltipLimit=50;

config.options.txtTiddlerLinkTootip=
	config.options.txtTiddlerLinkTootip||config.messages.tiddlerLinkTooltip;
config.options.txtTiddlerLinkTooltipDate=
	config.options.txtTiddlerLinkTooltipDate||config.messages.tiddlerLinkTooltipDate;
config.options.txtTiddlerLinkTooltipLimit=
	config.options.txtTiddlerLinkTooltipLimit||config.messages.tiddlerLinkTooltipLimit;

Tiddler.prototype.getSubtitle = function() {
	var modifier = this.modifier;
	if(!modifier) modifier = config.messages.subtitleUnknown;
	var modified = this.modified;
	if(modified) modified = modified.formatString(config.options.txtTiddlerLinkTooltipDate);
	else modified = config.messages.subtitleUnknown;
	var descr=store.getTiddlerSlice(this.title,'Description')||'';
	var txt=this.text.substr(0,config.options.txtTiddlerLinkTooltipLimit);
	if (this.text.length>config.options.txtTiddlerLinkTooltipLimit) txt+="...";
	return config.options.txtTiddlerLinkTootip.format([this.title,modifier,modified,this.text.length,descr,txt]);
};
//}}}
// // }}}}}}// // {{block{
/***
!!!607 add HREF link on permaview command
***/
// // {{groupbox small{
/***
http://trac.tiddlywiki.org/ticket/607 - CLOSED: WON'T FIX
This tweak automatically sets the HREF for the 'permaview' sidebar command link so you can use the 'right click' context menu for faster, easier bookmarking.  Note that this does ''not'' automatically set the permaview in the browser's current location URL... it just sets the HREF on the command link.  You still have to click the link to apply the permaview.
***/
//{{{
config.macros.permaview.handler = function(place)
{
	var btn=createTiddlyButton(place,this.label,this.prompt,this.onClick);
	addEvent(btn,'mouseover',this.setHREF);
	addEvent(btn,'focus',this.setHREF);
};
config.macros.permaview.setHREF = function(event){
	var links = [];
	story.forEachTiddler(function(title,element) {
		links.push(String.encodeTiddlyLink(title));
	});
	var newURL=document.location.href;
	var hashPos=newURL.indexOf('#');
	if (hashPos!=-1) newURL=newURL.substr(0,hashPos);
	this.href=newURL+'#'+encodeURIComponent(links.join(' '));
}
//}}}
// // }}}}}}// // {{block{
/***
!!!458 add permalink-like HREFs on internal TiddlyLinks
***/
// // {{groupbox small{
/***
http://trac.tiddlywiki.org/ticket/458 - CLOSED: WON'T FIX
This tweak assigns a permalink-like HREF to internal Tiddler links (which normally do not have any HREF defined).  This permits the link's context menu (right-click) to include 'open link in another window/tab' command.  Based on a request from Dustin Spicuzza.
***/
//{{{
window.coreTweaks_createTiddlyLink=window.createTiddlyLink;
window.createTiddlyLink=function(place,title,includeText,theClass,isStatic,linkedFromTiddler,noToggle)
{
	// create the core button, then add the HREF (to internal links only)
	var link=window.coreTweaks_createTiddlyLink.apply(this,arguments);
	if (!isStatic)
		link.href=document.location.href.split('#')[0]+'#'+encodeURIComponent(String.encodeTiddlyLink(title));
	return link;
}
//}}}
// // }}}}}}
// // to be fixed in 2.6.0:
// // {{block{
/***
!!!1151 adjust popup placement when root element is in scrolled DIV
***/
// // {{groupbox small{
/***
http://trac.tiddlywiki.org/ticket/1151
When a popup link is placed inside a DIV with style "overflow:scroll" or "overflow:auto" and that DIV is then scrolled, the position of the resulting popup appears further down the page that intended, because it is not adjusting for the relative scroll offset of the containing DIV.  This tweak patches the Popup.place() function to calculate and subtract the current scroll offset from the computed popup position, so that it appears in the correct location on the page.

Test case: //(scroll to the bottom of this DIV and click on "test popup")//
{{groupbox{
 <<tiddler ScrollBox with: CoreTweaks##1151test 12em>>}}}/%
!1151test
<<tiddler About>>
<<showPopup tiddler:About label:"test popup" tip:About popupClass:sticky>>
!end
%/
***/
//{{{
window.findScrollOffsetX=function(obj) {
	var x=0;
	while(obj) {
		if (obj.scrollLeft && obj.nodeName!='HTML')
			x+=obj.scrollLeft;
		obj=obj.parentNode;
	}
	return -x;
}

window.findScrollOffsetY=function(obj) {
	var y=0;
	while(obj) {
		if (obj.scrollTop && obj.nodeName!='HTML')
			y+=obj.scrollTop;
		obj=obj.parentNode;
	}
	return -y;
}

var fn=Popup.place.toString();
if (fn.indexOf('findScrollOffsetX')==-1) { // only once
	fn=fn.replace(/var\s*rootLeft\s*=/,'var rootLeft = window.findScrollOffsetX(root) +');
	fn=fn.replace(/var\s*rootTop\s*=/,'var rootTop = window.findScrollOffsetY(root) +');
	eval('Popup.place='+fn);
}
//}}}
// // }}}}}}// // {{block{
/***
!!!1147 tiddler macro with params does not refresh
***/
// // {{groupbox small{
/***
http://trac.tiddlywiki.org/ticket/1147
when the {{{<<tiddler SomeTiddler>>}}} macro is handled, the resulting span has extra attributes: {{{refresh='content'}}} and {{{tiddler='SomeTiddler'}}}.  If SomeTiddler is changed, {{{store.notify('SomeTiddler')}}} triggers {{{refreshDisplay()}}}, which automatically re-renders transcluded content in any span that has these extra attributes.  However, when additional arguments are passed by using {{{<<tiddler SomeTiddler with: arg arg arg ...>>}}} then the resulting span does NOT get the extra attributes noted above and, as a consequence, the transcluded content is not being refreshed, even though the underlying tiddler has changed

To correct this, in {{{config.macros.tiddler.handler}}}:
*set the 'refresh' and 'tiddler' attributes even when arguments are present in the macro
*store the arguments themselves in an attribute (e.g, 'args'), using as a space-separated, bracketed list
Then, in {{{config.refreshers.content}}}:
*retrieve the stored arguments (if any) and the tiddler source
*substitute arguments into source and re-render the span with the updated content

***/
//{{{
config.refreshers.content=function(e,changeList) {
		var title = e.getAttribute("tiddler");
		var force = e.getAttribute("force");
		var args = e.getAttribute("args"); // ADDED
		if(force != null || changeList == null || changeList.indexOf(title) != -1) {
			removeChildren(e);
//			wikify(store.getTiddlerText(title,""),e,null,store.fetchTiddler(title)); // REMOVED
			config.macros.tiddler.transclude(e,title,args); // ADDED
			return true;
		} else
			return false;
};

config.macros.tiddler.handler=function(place,macroName,params,wikifier,paramString,tiddler) {
	params = paramString.parseParams("name",null,true,false,true);
	var names = params[0]["name"];
	var tiddlerName = names[0];
	var className = names[1] || null;
	var args = params[0]["with"];
	var wrapper = createTiddlyElement(place,"span",null,className);
//	if(!args) { // REMOVED
		wrapper.setAttribute("refresh","content");
		wrapper.setAttribute("tiddler",tiddlerName);
// 	} // REMOVED
	if(args!==undefined) wrapper.setAttribute("args",'[['+args.join(']] [[')+']]'); // ADDED
	this.transclude(wrapper,tiddlerName,args); // REFACTORED TO ...tiddler.transclude
}

// REFACTORED FROM ...tiddler.handler
config.macros.tiddler.transclude=function(wrapper,tiddlerName,args) {
	var text = store.getTiddlerText(tiddlerName); if (!text) return;
	var stack = config.macros.tiddler.tiddlerStack;
	if(stack.indexOf(tiddlerName) !== -1) return;
	stack.push(tiddlerName);
	try {
		if (typeof args == "string") args=args.readBracketedList(); // ADDED
		var n = args ? Math.min(args.length,9) : 0;
		for(var i=0; i<n; i++) {
			var placeholderRE = new RegExp("\\$" + (i + 1),"mg");
			text = text.replace(placeholderRE,args[i]);
		}
		config.macros.tiddler.renderText(wrapper,text,tiddlerName,null); // REMOVED UNUSED 'params'
	} finally {
		stack.pop();
	}
};
//}}}
// // }}}}}}// // {{block{
/***
!!!1134 allow leading whitespace in section headings / TBD handle shadow tiddler sections
***/
// // {{groupbox small{
/***
http://trac.tiddlywiki.org/ticket/1134
This tweak REPLACES and extends {{{store.getTiddlerText()}}} so it can return sections defined in shadow tiddlers as well as permitting use of leading whitespace in section headings.
***/
//{{{
TiddlyWiki.prototype.getTiddlerText = function(title,defaultText)
{
	if(!title) return defaultText;
	var parts = title.split(config.textPrimitives.sectionSeparator);
	var title = parts[0];
	var section = parts[1];
	var parts = title.split(config.textPrimitives.sliceSeparator);
	var title = parts[0];
	var slice = parts[1]?this.getTiddlerSlice(title,parts[1]):null;
	if(slice) return slice;
	var tiddler = this.fetchTiddler(title);
	var text = defaultText;
	if(this.isShadowTiddler(title))
		text = this.getShadowTiddlerText(title);
	if(tiddler)
		text = tiddler.text;
	if(!section) return text;
	var re = new RegExp("(^!{1,6}[ \t]*" + section.escapeRegExp() + "[ \t]*\n)","mg");
	re.lastIndex = 0;
	var match = re.exec(text);
	if(match) {
		var t = text.substr(match.index+match[1].length);
		var re2 = /^!/mg;
		re2.lastIndex = 0;
		match = re2.exec(t); //# search for the next heading
		if(match)
			t = t.substr(0,match.index-1);//# don't include final \n
		return t;
	}
	return defaultText;
};
//}}}
// // }}}}}}// // {{block{
/***
!!!824 ~WindowTitle - alternative to combined ~SiteTitle/~SiteSubtitle in window titlebar
***/
// // {{groupbox small{
/***
http://trac.tiddlywiki.org/ticket/824 - OPEN
This tweak allows definition of an optional [[WindowTitle]] tiddler that, when present, provides alternative text for display in the browser window's titlebar, instead of using the combined text content from [[SiteTitle]] and [[SiteSubtitle]] (which will still be displayed as usual in the TiddlyWiki document header area).

Note: this ticket replaces http://trac.tiddlywiki.org/ticket/401 (closed), which proposed using a custom [[PageTitle]] tiddler for this purpose.  ''If you were using the previous '401 ~PageTitle' tweak, you will need to rename [[PageTitle]] to [[WindowTitle]] to continue to use your custom window title text''
***/
//{{{
config.shadowTiddlers.WindowTitle='<<tiddler SiteTitle>> - <<tiddler SiteSubtitle>>';
window.getPageTitle=function() { return wikifyPlain('WindowTitle'); }
store.addNotification('WindowTitle',refreshPageTitle); // so title stays in sync with tiddler changes
//}}}
// // }}}}}}// // {{block{
/***
!!!471 'creator' field for new tiddlers
***/
// // {{groupbox small{
/***
http://trac.tiddlywiki.org/ticket/471 - OPEN
This tweak HIJACKS the core's saveTiddler() function to automatically add a 'creator' field to a tiddler when it is FIRST created. You can use """<<view creator>>""" (or """<<view creator wikified>>""" if you prefer) to show this value embedded directly within the tiddler content, or {{{<span macro="view creator"></span>}}} in the ViewTemplate and/or EditTemplate to display the creator value in each tiddler.  
***/
//{{{
// hijack saveTiddler()
TiddlyWiki.prototype.CoreTweaks_creatorSaveTiddler=TiddlyWiki.prototype.saveTiddler;
TiddlyWiki.prototype.saveTiddler=function(title,newTitle,newBody,modifier,modified,tags,fields)
{
	var existing=store.tiddlerExists(title);
	var tiddler=this.CoreTweaks_creatorSaveTiddler.apply(this,arguments);
	if (!existing) store.setValue(title,'creator',config.options.txtUserName);
	return tiddler;
}
//}}}
// // }}}}}}
// // fixed in ~TW2.4.3
// // {{block{
/***
!!!444 'tiddler' and 'place' - global variables for use in computed macro parameters
***/
// // {{groupbox small{
/***
http://trac.tiddlywiki.org/ticket/444 - CLOSED:FIXED - TW2.4.3 - http://trac.tiddlywiki.org/changeset/8367
When invoking a macro, this tweak makes the current containing tiddler object and DOM rendering location available as global variables (window.tiddler and window.place, respectively).  These globals can then be used within //computed macro parameters// to retrieve tiddler-relative and/or DOM-relative values or perform tiddler-specific side-effect functionality.
***/
//{{{
if (ver<2.43) {
window.coreTweaks_invokeMacro = window.invokeMacro;
window.invokeMacro = function(place,macro,params,wikifier,tiddler) {
	var here=story.findContainingTiddler(place);
	window.tiddler=here?store.getTiddler(here.getAttribute('tiddler')):tiddler;
	window.place=place;
	window.coreTweaks_invokeMacro.apply(this,arguments);
}
}
//}}}
// // }}}}}}
// // fixed in ~TW2.4.2:
// // {{block{
/***
!!!823 apply option values via paramifiers (e.g. #chk...and #txt...)
***/
// // {{groupbox small{
/***
http://trac.tiddlywiki.org/ticket/823 - CLOSED:FIXED - TW2.4.2 http://trac.tiddlywiki.org/changeset/7988
This tweak extends and ''//replaces//'' the core {{{invokeParamifier()}}} function to support use of ''option paramifiers'' that set TiddlyWiki option values on-the-fly, directly from a document URL.

If a paramifier begins with 'chk' (checkbox) or 'txt' (text field), it's value will be automatically stored in {{{config.options.*}}}, adding to or overriding any existing 'chk' or 'txt' option values that may have already been loaded from browser cookies and/or assigned by the TW core or plugin initialization functions using hard-coded default values.  Note: option values that have been overriden by paramifiers are only applied during the current document session, and are not //automatically// retained.  However, if you edit an overridden option value during that session, then the modified value is, of course, saved in a browser cookie, as usual.
***/
//{{{
if (ver<2.42) {
function invokeParamifier(params,handler)
{
	if(!params || params.length == undefined || params.length <= 1)
		return;
	for(var t=1; t<params.length; t++) {
		var p = config.paramifiers[params[t].name];
		if(p && p[handler] instanceof Function)
			p[handler](params[t].value);
		else { // not a paramifier with handler()... check for an 'option' prefix
			var h=config.optionHandlers[params[t].name.substr(0,3)];
			if (h && h.set instanceof Function)
				h.set(params[t].name,params[t].value);
		}
	}
}
}
//}}}
// // }}}}}}
// // open tickets:
// // {{block{
/***
!!!608/609/610 toolbars - toggles, separators and transclusion
***/
// // {{groupbox small{
/***
http://trac.tiddlywiki.org/ticket/608 - OPEN (more/less toggle)
http://trac.tiddlywiki.org/ticket/609 - OPEN (separators)
http://trac.tiddlywiki.org/ticket/610 - OPEN (wikify tiddler/slice/section content)

This combination tweak extends the """<<toolbar>>""" macro to add use of '<' to insert a 'less' menu command (the opposite of '>' == 'more'), as well as use of '*' to insert linebreaks and "!" to insert a vertical line separator between toolbar items.  In addition, this tweak add the ability to use references to tiddlernames, slices, or sections and render their content inline within the toolbar, allowing easy creation of new toolbar commands using TW content (such as macros, links, inline scripts, etc.)

To produce a one-line style, with "less" at the end, use
| ViewToolbar| foo bar baz > yabba dabba doo < |
or to use a two-line style with more/less toggle:
| ViewToolbar| foo bar baz > < * yabba dabba doo |
***/
//{{{
merge(config.macros.toolbar,{
	moreLabel: 'more\u25BC',
	morePrompt: 'Show additional commands',
	lessLabel: '\u25C4less',
	lessPrompt: 'Hide additional commands',
	separator: '|'
});
config.macros.toolbar.onClickMore = function(ev) {
	var e = this.nextSibling;
	e.style.display = 'inline'; // show menu
	this.style.display = 'none'; // hide button
	return false;
};
config.macros.toolbar.onClickLess = function(ev) {
	var e = this.parentNode;
	var m = e.previousSibling;
	e.style.display = 'none'; // hide menu
	m.style.display = 'inline'; // show button
	return false;
};
config.macros.toolbar.handler = function(place,macroName,params,wikifier,paramString,tiddler) {
	for(var t=0; t<params.length; t++) {
		var c = params[t];
		switch(c) {
			case '!':  // ELS - SEPARATOR (added)
				createTiddlyText(place,this.separator);
				break;
			case '*':  // ELS - LINEBREAK (added)
				createTiddlyElement(place,'BR');
				break;
			case '<': // ELS - LESS COMMAND (added)
				var btn = createTiddlyButton(place,
					this.lessLabel,this.lessPrompt,config.macros.toolbar.onClickLess,'moreCommand');
				break;
			case '>':
				var btn = createTiddlyButton(place,
					this.moreLabel,this.morePrompt,config.macros.toolbar.onClickMore,'moreCommand');
				var e = createTiddlyElement(place,'span',null,'moreCommand');
				e.style.display = 'none';
				place = e;
				break;
			default:
				var theClass = '';
				switch(c.substr(0,1)) {
					case '+':
						theClass = 'defaultCommand';
						c = c.substr(1);
						break;
					case '-':
						theClass = 'cancelCommand';
						c = c.substr(1);
						break;
				}
				if(c in config.commands)

					this.createCommand(place,c,tiddler,theClass);
				else { // ELS - WIKIFY TIDDLER/SLICE/SECTION (added)
					if (c.substr(0,1)=='~') c=c.substr(1); // ignore leading ~
					var txt=store.getTiddlerText(c);
					if (txt) {
						// trim any leading/trailing newlines
						txt=txt.replace(/^\n*/,'').replace(/\n*$/,'');
						// trim PRE format wrapper if any
						txt=txt.replace(/^\{\{\{\n/,'').replace(/\n\}\}\}$/,'');
						// render content into toolbar
						wikify(txt,createTiddlyElement(place,'span'),null,tiddler);
					}
				} // ELS - end WIKIFY CONTENT
				break;
		}
	}
};
//}}}
// // }}}}}}// // {{block{
/***
!!!529 IE fixup - case-sensitive element lookup of tiddler elements
***/
// // {{groupbox small{
/***
http://trac.tiddlywiki.org/ticket/529 - OPEN
This tweak hijacks the standard browser function, document.getElementById(), to work-around the case-INsensitivity error in Internet Explorer (all versions up to and including IE7) //''Note: This tweak is only applied when using IE, and only for lookups of rendered tiddler elements within the containing 'tiddlerDisplay' element.''//
***/
//{{{
if (config.browser.isIE) {
document.coreTweaks_coreGetElementById=document.getElementById;
document.getElementById=function(id) {
	var e=document.coreTweaks_coreGetElementById(id);
	if (!e || !e.parentNode || e.parentNode.id!='tiddlerDisplay') return e;
	for (var i=0; i<e.parentNode.childNodes.length; i++)
		if (id==e.parentNode.childNodes[i].id) return e.parentNode.childNodes[i];
	return null;
};
}
//}}}
// // }}}}}}// // {{block{
/***
!!!890 add conditional test to """<<tiddler>>""" macro
***/
// // {{groupbox small{
/***
http://trac.tiddlywiki.org/ticket/890 - OPEN
This tweak extends the {{{<<tiddler>>}}} macro syntax so you can include a javascript-based //test expression// to determine if the tiddler transclusion should be performed:
{{{
<<tiddler TiddlerName if:{{...}} with: param param etc.>>
}}}
If the test is ''true'', then the tiddler is transcluded as usual.  If the test is ''false'', then the transclusion is skipped and //no output is produced//.
***/
//{{{
config.macros.tiddler.if_handler = config.macros.tiddler.handler;
config.macros.tiddler.handler = function(place,macroName,params,wikifier,paramString,tiddler)
{
	params = paramString.parseParams('name',null,true,false,true);
	if (!getParam(params,'if',true)) return;
	this.if_handler.apply(this,arguments);
};
//}}}
// // }}}}}}// // {{block{
/***
!!!831 backslash-quoting for embedding newlines in 'line-mode' formats
***/
// // {{groupbox small{
/***
http://trac.tiddlywiki.org/ticket/831 - OPEN
This tweak pre-processes source content to convert 'double-backslash-newline' into {{{<br>}}} before wikify(), so that literal newlines can be embedded in line-mode wiki syntax (e.g., tables, bullets, etc.)
***/
//{{{
window.coreWikify = wikify;
window.wikify = function(source,output,highlightRegExp,tiddler)
{
	if (source) arguments[0]=source.replace(/\\\\\n/mg,'<br>');
	coreWikify.apply(this,arguments);
}
//}}}
// // }}}}}}// // {{block{
/***
!!!683 FireFox3 Import bug: 'browse' button replacement
***/
// // {{groupbox small{
/***
http://trac.tiddlywiki.org/ticket/683 - OPEN
The web standard 'type=file' input control that has been used as a local path/file picker for TiddlyWiki no longer works as expected in FireFox3, which has, for security reasons, limited javascript access to this control so that *no* local filesystem path information can be revealed, even when it is intentional and necessary, as it is with TiddlyWiki.  This tweak provides alternative HTML source that patches the backstage import panel.  It replaces the 'type=file' input control with a text+button combination of controls that invokes a system-native secure 'file-chooser' dialog box to provide TiddlyWiki with access to a complete path+filename so that TW functions properly locate user-selected local files.
>Note: ''This tweak also requires http://trac.tiddlywiki.org/ticket/604 - cross-platform askForFilename()''
***/
//{{{
if (window.Components) {
	var fixhtml='<input name="txtBrowse" style="width:30em"><input type="button" value="..."'
		+' onClick="window.browseForFilename(this.previousSibling,true)">';
	var cmi=config.macros.importTiddlers;
	cmi.step1Html=cmi.step1Html.replace(/<input type='file' size=50 name='txtBrowse'>/,fixhtml);
}

merge(config.messages,{selectFile:'Please enter or select a file'}); // ready for I18N translation

window.browseForFilename=function(target,mustExist) { // note: both params are optional
	var msg=config.messages.selectFile;
	if (target && target.title) msg=target.title; // use target field tooltip (if any) as dialog prompt text
	// get local path for current document
	var path=getLocalPath(document.location.href);
	var p=path.lastIndexOf('/'); if (p==-1) p=path.lastIndexOf('\\'); // Unix or Windows
	if (p!=-1) path=path.substr(0,p+1); // remove filename, leave trailing slash
	var file=''
	var result=window.askForFilename(msg,path,file,mustExist); // requires #604
	if (target && result.length) // set target field and trigger handling
		{ target.value=result; target.onchange(); }
	return result; 
}
//}}}
// // }}}}}}// // {{block{
/***
!!!604 cross-platform askForFilename()
***/
// // {{groupbox small{
/***
http://trac.tiddlywiki.org/ticket/604 - OPEN
invokes a system-native secure 'file-chooser' dialog box to provide TiddlyWiki with access to a complete path+filename so that TW functions properly locate user-selected local files.
***/
//{{{
window.askForFilename=function(msg,path,file,mustExist) {
	var r = window.mozAskForFilename(msg,path,file,mustExist);
	if(r===null || r===false)
		r = window.ieAskForFilename(msg,path,file,mustExist);
	if(r===null || r===false)
		r = window.javaAskForFilename(msg,path,file,mustExist);
	if(r===null || r===false)
		r = prompt(msg,path+file);
	return r||'';
}

window.mozAskForFilename=function(msg,path,file,mustExist) {
	if(!window.Components) return false;
	try {
		netscape.security.PrivilegeManager.enablePrivilege('UniversalXPConnect');
		var nsIFilePicker = window.Components.interfaces.nsIFilePicker;
		var picker = Components.classes['@mozilla.org/filepicker;1'].createInstance(nsIFilePicker);
		picker.init(window, msg, mustExist?nsIFilePicker.modeOpen:nsIFilePicker.modeSave);
		var thispath = Components.classes['@mozilla.org/file/local;1'].createInstance(Components.interfaces.nsILocalFile);
		thispath.initWithPath(path);
		picker.displayDirectory=thispath;
		picker.defaultExtension='html';
		picker.defaultString=file;
		picker.appendFilters(nsIFilePicker.filterAll|nsIFilePicker.filterText|nsIFilePicker.filterHTML);
		if (picker.show()!=nsIFilePicker.returnCancel)
			var result=picker.file.path;
	}
	catch(ex) { displayMessage(ex.toString()); }
	return result;
}

window.ieAskForFilename=function(msg,path,file,mustExist) {
	if(!config.browser.isIE) return false;
	try {
		var s = new ActiveXObject('UserAccounts.CommonDialog');
		s.Filter='All files|*.*|Text files|*.txt|HTML files|*.htm;*.html|';
		s.FilterIndex=3; // default to HTML files;
		s.InitialDir=path;
		s.FileName=file;
		return s.showOpen()?s.FileName:'';
	}
	catch(ex) { displayMessage(ex.toString()); }
	return result;
}

window.javaAskForFilename=function(msg,path,file,mustExist) {
	if(!document.applets['TiddlySaver']) return false;
	// TBD: implement java-based askFile(...) function
	try { return document.applets['TiddlySaver'].askFile(msg,path,file,mustExist); } 
	catch(ex) { displayMessage(ex.toString()); }
}
//}}}
// // }}}}}}// // {{block{
/***
!!!657 wrap tabs onto multiple lines
***/
// // {{groupbox small{
/***
http://trac.tiddlywiki.org/ticket/657 - OPEN
This tweak inserts an extra space element following each tab, allowing them to wrap onto multiple lines if needed.
***/
//{{{
config.macros.tabs.handler = function(place,macroName,params)
{
	var cookie = params[0];
	var numTabs = (params.length-1)/3;
	var wrapper = createTiddlyElement(null,'div',null,'tabsetWrapper ' + cookie);
	var tabset = createTiddlyElement(wrapper,'div',null,'tabset');
	tabset.setAttribute('cookie',cookie);
	var validTab = false;
	for(var t=0; t<numTabs; t++) {
		var label = params[t*3+1];
		var prompt = params[t*3+2];
		var content = params[t*3+3];
		var tab = createTiddlyButton(tabset,label,prompt,this.onClickTab,'tab tabUnselected');
		createTiddlyElement(tab,'span',null,null,' ',{style:'font-size:0pt;line-height:0px'}); // ELS
		tab.setAttribute('tab',label);
		tab.setAttribute('content',content);
		tab.title = prompt;
		if(config.options[cookie] == label)
			validTab = true;
	}
	if(!validTab)
		config.options[cookie] = params[1];
	place.appendChild(wrapper);
	this.switchTab(tabset,config.options[cookie]);
};
//}}}
// // }}}}}}// // {{block{
/***
!!!628 hide 'no such macro' errors
***/
// // {{groupbox small{
/***
http://trac.tiddlywiki.org/ticket/628 - OPEN
When invoking a macro that is not defined, this tweak prevents the display of the 'error in macro... no such macro' message.  This is useful when rendering tiddler content or templates that reference macros that are defined by //optional// plugins that have not been installed in the current document.

<<option chkHideMissingMacros>> hide 'no such macro' error messages
***/
//{{{
if (config.options.chkHideMissingMacros===undefined)
	config.options.chkHideMissingMacros=false;

window.coreTweaks_missingMacro_invokeMacro = window.invokeMacro;
window.invokeMacro = function(place,macro,params,wikifier,tiddler) {
	if (!config.macros[macro] || !config.macros[macro].handler)
		if (config.options.chkHideMissingMacros) return;
	window.coreTweaks_missingMacro_invokeMacro.apply(this,arguments);
}
//}}}
// // }}}}}}
// // <<foldHeadings>>
<script>
var out="";
    var xmlHttp = null;
    xmlHttp = new XMLHttpRequest();
    var discFile="Cursos/"+localStorage.curso+"/Notas/cadernos.txt";
    xmlHttp.open( "GET",discFile, false);
    xmlHttp.send( null );
    var tags =xmlHttp.responseText;
//return discFile+".."+tags;
var tagItems=tags.split("#\n");
tagItems=tagItems.sort();
for (i=0;i<tagItems.length;i++)
{
var dets=tagItems[i].split("|");
if(dets[2]=="caderno")
{
out+='<script label="'+dets[0]+'">localStorage.caderno="'+dets[0]+'";localStorage.cadernoText="'+dets[5]+'";config.refreshers.content(document.getElementById("listaMenu"));</scri'+'pt><br>{{small{'+dets[5]+'}}}<br>';
}
}
localStorage.cadernos=out;
config.refreshers.content(document.getElementById("leftMenu"));

// get list details for caderno

var lista="<br>";
    var xmlHttp = null;
    xmlHttp = new XMLHttpRequest();
    var discFile="Cursos/"+localStorage.curso+"/Notas/cadernos.txt";
    xmlHttp.open( "GET",discFile, false);
    xmlHttp.send( null );
    var indexLista=xmlHttp.responseText;
//return indexLista;
var indexListaLines=indexLista.split("#\n");

for (t=2;t<indexListaLines.length;t++)
{
var indexListaDetalhes=indexListaLines[t].split("|");
//return indexListaDetalhes[2]+"&"+indexListaDetalhes[1];
//return "return="+indexListaDetalhes[1]+" == "+localStorage.caderno;
if ((indexListaDetalhes[2]=="lista") && (indexListaDetalhes[1]==localStorage.caderno))
{
lista+='<script label="'+indexListaDetalhes[0]+'">localStorage.lista="'+indexListaDetalhes[0]+'";config.refreshers.content(document.getElementById("itemMenu"));</scri'+'pt><br>{{small{'+indexListaDetalhes[5]+'}}}<br>----<br>';
}
}
localStorage.items=lista;
config.refreshers.content(document.getElementById("listaMenu"));

</script>
[[frontPage]]
[img[../Logos/usb_drive.png]]
____
{{icone{<script label="goodleDrive">window.open('https://drive.google.com/drive/u/0/my-drive','_blank','right=20,top=20,width=1000,height=600,toolbar=no,scrollbars=yes,titlebar=no',true);var url="atividade.php?tipo=drive&aluno="+localStorage.username+"&desc=goggleDrive";return '<scr'+'ipt src="'+url+'"></scr'+'ipt>';</script><<setIcon ../Logos/24gdrive.png "" notext>>}}}

 {{icone{<script label="onedrive">window.open('https://onedrive.live.com/','_blank','right=20,top=20,width=1000,height=600,toolbar=no,scrollbars=yes,titlebar=no',true);var url="atividade.php?tipo=drive&aluno="+localStorage.username+"&desc=oneDrive";return '<scr'+'ipt src="'+url+'"></scr'+'ipt>';</script><<setIcon ../Logos/OneDrive.png "" notext>>}}}

{{icone{<script label="dropbox">window.open('https://www.dropbox.com/home/','_blank','right=20,top=20,width=1000,height=600,toolbar=no,scrollbars=yes,titlebar=no',true);var url="atividade.php?tipo=drive&aluno="+localStorage.username+"&desc=dropBox";return '<scr'+'ipt src="'+url+'"></scr'+'ipt>';</script><<setIcon ../Logos/dropbox.png "" notext>>}}}

{{icone{<script label="box">window.open('https://app.box.com/files','_blank','right=20,top=20,width=1000,height=600,toolbar=no,scrollbars=yes,titlebar=no',true);var url="atividade.php?tipo=drive&aluno="+localStorage.username+"&desc=boxDrive";return '<scr'+'ipt src="'+url+'"></scr'+'ipt>';</script><<setIcon ../Logos/box.png "" notext>>}}}
[img[../Logos/mail.png]] -Emails
____
<<tiddler mail>>
[img[../Logos/64curso.png]] - Estudando
____
<<showPopup tiddler:Refs label:refs width:600px popupClass:sticky>><<setIcon ../Logos/research32.png "" notext>> 
<script label="aulas">localStorage.leftMenu="aulas";story.displayTiddler(null,"aulas");</script><<setIcon ../Logos/cursoSum.png "" text>>
<script label="LObjetos">localStorage.leftMenu="tema";localStorage.listaMenu="tema";localStorage.itemMenu="tema";story.displayTiddler(null,"listaLObjetos");</script><<setIcon ../Logos/temas.png "" text>>
<<tiddler projetos##Inicial>>

<<showPopup label:foro tiddler:Foro##Foro popupClass:sticky width:1000px>>
/%
!!Foro
<html><iframe src="../miniBB/" width=100% height=400px></iframe></html>
!!new
%/

../miniBB/2016_PDC_AMMA/index.php
<<wikify {{'<<tiddler Forum##'+localStorage.curso+'>'+'>'}}>>
/%
!!2016_PDC_CREDE4
<<wikify {{'<html><iframe src="../miniBB/'+localStorage.curso+'/index.php" width=100% height=600px></ifraame></html>'}}>>
!!all
<<wikify {{'<html><iframe src="../miniBB/all/index.php" width=100% height=600px></ifraame></html>'}}>>
!!end
%/
<<showPopup tiddler:ForumMenu##show label:foro popupClass:sticky width:800px>><<setIcon ../Logos/forum.png "" notext>>
/%
!!show
<<wikify {{'<script src="atividade.php?tipo=foro&aluno='+localStorage.username+'&desc=abrirForo"></scr'+'ipt>'}}>>
<script>
var url="Cursos/"+localStorage.curso+"/forum/index.html";
return '<html><iframe src='+url+' width=100% height=800px></iframe></html>';
</script>
!!end
%/
function getCSV(source)
{
var lista="";
    var xmlHttp = null;
    xmlHttp = new XMLHttpRequest();
    var discFile=source+".csv";
    xmlHttp.open( "GET",discFile, false);
    xmlHttp.send( null );
    var indexLista=xmlHttp.responseText;
if(xmlHttp.status!=200){indexLista="";}

return indexLista;
};
function getText(source)
{
var lista="";
    var xmlHttp = null;
    xmlHttp = new XMLHttpRequest();
    var discFile=source+".txt";
    xmlHttp.open( "GET",discFile, false);
    xmlHttp.send( null );
    var indexLista=xmlHttp.responseText;
if(xmlHttp.status!=200){indexLista="";}

return indexLista;
};
<script>config.options.chkHttpReadOnly=false;
readOnly=false;
config.options.txtUploadUsername="Skye";
config.options.txtUploadFilename="empty.html";
config.options.pasUploadPassword="xcaan100";
</script>
/***
|Name|HTMLFormattingPlugin|
|Source|http://www.TiddlyTools.com/#HTMLFormattingPlugin|
|Documentation|http://www.TiddlyTools.com/#HTMLFormattingPluginInfo|
|Version|2.4.1|
|Author|Eric Shulman|
|License|http://www.TiddlyTools.com/#LegalStatements|
|~CoreVersion|2.1|
|Type|plugin|
|Description|embed wiki syntax formatting inside of HTML content|
The ~HTMLFormatting plugin allows you to ''mix wiki-style formatting syntax within HTML formatted content'' by extending the action of the standard TiddlyWiki formatting handler.
!!!!!Documentation
>see [[HTMLFormattingPluginInfo]]
!!!!!Configuration
<<<
Use {{{<hide linebreaks>}}} within HTML content to wiki-style rendering of line breaks.  To //always// omit all line breaks from the rendered output, you can set this option:
><<option chkHTMLHideLinebreaks>> ignore all line breaks
which can also be 'hard coded' into your document by adding the following to a tiddler, tagged with <<tag systemConfig>>
>{{{config.options.chkHTMLHideLinebreaks=true;}}}
<<<
!!!!!Revisions
<<<
2010.05.07 2.4.1 added chkHTMLHideLinebreaks option
| see [[HTMLFormattingPluginInfo]] for additional revision details |
2005.06.26 1.0.0 Initial Release (as code adaptation - pre-dates TiddlyWiki plugin architecture!!)
<<<
!!!!!Code
***/
//{{{
version.extensions.HTMLFormattingPlugin= {major: 2, minor: 4, revision: 1, date: new Date(2010,5,7)};

// find the formatter for HTML and replace the handler
initHTMLFormatter();
function initHTMLFormatter()
{
	for (var i=0; i<config.formatters.length && config.formatters[i].name!="html"; i++);
	if (i<config.formatters.length)	config.formatters[i].handler=function(w) {
		if (!this.lookaheadRegExp)  // fixup for TW2.0.x
			this.lookaheadRegExp = new RegExp(this.lookahead,"mg");
		this.lookaheadRegExp.lastIndex = w.matchStart;
		var lookaheadMatch = this.lookaheadRegExp.exec(w.source)
		if(lookaheadMatch && lookaheadMatch.index == w.matchStart) {
			var html=lookaheadMatch[1];
			// if <nowiki> is present, just let browser handle it!
			if (html.indexOf('<nowiki>')!=-1)
				createTiddlyElement(w.output,"span").innerHTML=html;
			else {
				// if <hide linebreaks> is present, or chkHTMLHideLinebreaks is set
				// suppress wiki-style literal handling of newlines
				if (config.options.chkHTMLHideLinebreaks||(html.indexOf('<hide linebreaks>')!=-1))
					html=html.replace(/\n/g,' ');
				// remove all \r's added by IE textarea and mask newlines and macro brackets
				html=html.replace(/\r/g,'').replace(/\n/g,'\\n').replace(/<</g,'%%(').replace(/>>/g,')%%');
				// create span, let browser parse HTML
				var e=createTiddlyElement(w.output,"span"); e.innerHTML=html;
				// then re-render text nodes as wiki-formatted content
				wikifyTextNodes(e,w);
			}
			w.nextMatch = this.lookaheadRegExp.lastIndex; // continue parsing
		}
	}
}

// wikify #text nodes that remain after HTML content is processed (pre-order recursion)
function wikifyTextNodes(theNode,w)
{
	function unmask(s) { return s.replace(/\%%\(/g,'<<').replace(/\)\%%/g,'>>').replace(/\\n/g,'\n'); }
	switch (theNode.nodeName.toLowerCase()) {
		case 'style': case 'option': case 'select':
			theNode.innerHTML=unmask(theNode.innerHTML);
			break;
		case 'textarea':
			theNode.value=unmask(theNode.value);
			break;
		case '#text':
			var txt=unmask(theNode.nodeValue);
			var newNode=createTiddlyElement(null,"span");
			theNode.parentNode.replaceChild(newNode,theNode);
			wikify(txt,newNode,highlightHack,w.tiddler);
			break;
		default:
			for (var i=0;i<theNode.childNodes.length;i++)
				wikifyTextNodes(theNode.childNodes.item(i),w); // recursion
			break;
	}
}
//}}}
/***
|Name:|HideWhenPlugin|
|Description:|Allows conditional inclusion/exclusion in templates|
|Version:|3.1 ($Rev: 3919 $)|
|Date:|$Date: 2008-03-13 02:03:12 +1000 (Thu, 13 Mar 2008) $|
|Source:|http://mptw.tiddlyspot.com/#HideWhenPlugin|
|Author:|Simon Baird <simon.baird@gmail.com>|
|License:|http://mptw.tiddlyspot.com/#TheBSDLicense|
For use in ViewTemplate and EditTemplate. Example usage:
{{{<div macro="showWhenTagged Task">[[TaskToolbar]]</div>}}}
{{{<div macro="showWhen tiddler.modifier == 'BartSimpson'"><img src="bart.gif"/></div>}}}
***/
//{{{

window.hideWhenLastTest = false;

window.removeElementWhen = function(test,place) {
	window.hideWhenLastTest = test;
	if (test) {
		removeChildren(place);
		place.parentNode.removeChild(place);
	}
};


merge(config.macros,{

	hideWhen: { handler: function(place,macroName,params,wikifier,paramString,tiddler) {
		removeElementWhen( eval(paramString), place);
	}},

	showWhen: { handler: function(place,macroName,params,wikifier,paramString,tiddler) {
		removeElementWhen( !eval(paramString), place);
	}},

	hideWhenTagged: { handler: function (place,macroName,params,wikifier,paramString,tiddler) {
		removeElementWhen( tiddler.tags.containsAll(params), place);
	}},

	showWhenTagged: { handler: function (place,macroName,params,wikifier,paramString,tiddler) {
		removeElementWhen( !tiddler.tags.containsAll(params), place);
	}},

	hideWhenTaggedAny: { handler: function (place,macroName,params,wikifier,paramString,tiddler) {
		removeElementWhen( tiddler.tags.containsAny(params), place);
	}},

	showWhenTaggedAny: { handler: function (place,macroName,params,wikifier,paramString,tiddler) {
		removeElementWhen( !tiddler.tags.containsAny(params), place);
	}},

	hideWhenTaggedAll: { handler: function (place,macroName,params,wikifier,paramString,tiddler) {
		removeElementWhen( tiddler.tags.containsAll(params), place);
	}},

	showWhenTaggedAll: { handler: function (place,macroName,params,wikifier,paramString,tiddler) {
		removeElementWhen( !tiddler.tags.containsAll(params), place);
	}},

	hideWhenExists: { handler: function(place,macroName,params,wikifier,paramString,tiddler) {
		removeElementWhen( store.tiddlerExists(params[0]) || store.isShadowTiddler(params[0]), place);
	}},

	showWhenExists: { handler: function(place,macroName,params,wikifier,paramString,tiddler) {
		removeElementWhen( !(store.tiddlerExists(params[0]) || store.isShadowTiddler(params[0])), place);
	}},

	hideWhenTitleIs: { handler: function(place,macroName,params,wikifier,paramString,tiddler) {
		removeElementWhen( tiddler.title == params[0], place);
	}},

	showWhenTitleIs: { handler: function(place,macroName,params,wikifier,paramString,tiddler) {
		removeElementWhen( tiddler.title != params[0], place);
	}},

	'else': { handler: function(place,macroName,params,wikifier,paramString,tiddler) {
		removeElementWhen( !window.hideWhenLastTest, place);
	}}

});

//}}}
[[Inicial]]<<setIcon ../Logos/home.png "" notext>>
/***
|Name|ImageSizePlugin|
|Source|http://www.TiddlyTools.com/#ImageSizePlugin|
|Version|1.2.3|
|Author|Eric Shulman|
|License|http://www.TiddlyTools.com/#LegalStatements|
|~CoreVersion|2.1|
|Type|plugin|
|Description|adds support for resizing images|
This plugin adds optional syntax to scale an image to a specified width and height and/or interactively resize the image with the mouse.
!!!!!Usage
<<<
The extended image syntax is:
{{{
[img(w+,h+)[...][...]]
}}}
where ''(w,h)'' indicates the desired width and height (in CSS units, e.g., px, em, cm, in, or %). Use ''auto'' (or a blank value) for either dimension to scale that dimension proportionally (i.e., maintain the aspect ratio). You can also calculate a CSS value 'on-the-fly' by using a //javascript expression// enclosed between """{{""" and """}}""". Appending a plus sign (+) to a dimension enables interactive resizing in that dimension (by dragging the mouse inside the image). Use ~SHIFT-click to show the full-sized (un-scaled) image. Use ~CTRL-click to restore the starting size (either scaled or full-sized).
<<<
!!!!!Examples
<<<
{{{
[img(100px+,75px+)[images/meow2.jpg]]
}}}
[img(100px+,75px+)[images/meow2.jpg]]
{{{
[<img(34%+,+)[images/meow.gif]]
[<img(21% ,+)[images/meow.gif]]
[<img(13%+, )[images/meow.gif]]
[<img( 8%+, )[images/meow.gif]]
[<img( 5% , )[images/meow.gif]]
[<img( 3% , )[images/meow.gif]]
[<img( 2% , )[images/meow.gif]]
[img(  1%+,+)[images/meow.gif]]
}}}
[<img(34%+,+)[images/meow.gif]]
[<img(21% ,+)[images/meow.gif]]
[<img(13%+, )[images/meow.gif]]
[<img( 8%+, )[images/meow.gif]]
[<img( 5% , )[images/meow.gif]]
[<img( 3% , )[images/meow.gif]]
[<img( 2% , )[images/meow.gif]]
[img(  1%+,+)[images/meow.gif]]
{{tagClear{
}}}
<<<
!!!!!Revisions
<<<
2011.09.03 [1.2.3] bypass addStretchHandlers() if no '+' suffix is used (i.e., not resizable)
2010.07.24 [1.2.2] moved tip/dragtip text to config.formatterHelpers.imageSize object to enable customization
2009.02.24 [1.2.1] cleanup width/height regexp, use '+' suffix for resizing
2009.02.22 [1.2.0] added stretchable images
2008.01.19 [1.1.0] added evaluated width/height values
2008.01.18 [1.0.1] regexp for "(width,height)" now passes all CSS values to browser for validation
2008.01.17 [1.0.0] initial release
<<<
!!!!!Code
***/
//{{{
version.extensions.ImageSizePlugin= {major: 1, minor: 2, revision: 3, date: new Date(2011,9,3)};
//}}}
//{{{
var f=config.formatters[config.formatters.findByField("name","image")];
f.match="\\[[<>]?[Ii][Mm][Gg](?:\\([^,]*,[^\\)]*\\))?\\[";
f.lookaheadRegExp=/\[([<]?)(>?)[Ii][Mm][Gg](?:\(([^,]*),([^\)]*)\))?\[(?:([^\|\]]+)\|)?([^\[\]\|]+)\](?:\[([^\]]*)\])?\]/mg;
f.handler=function(w) {
	this.lookaheadRegExp.lastIndex = w.matchStart;
	var lookaheadMatch = this.lookaheadRegExp.exec(w.source)
	if(lookaheadMatch && lookaheadMatch.index == w.matchStart) {
		var floatLeft=lookaheadMatch[1];
		var floatRight=lookaheadMatch[2];
		var width=lookaheadMatch[3];
		var height=lookaheadMatch[4];
		var tooltip=lookaheadMatch[5];
		var src=lookaheadMatch[6];
		var link=lookaheadMatch[7];

		// Simple bracketted link
		var e = w.output;
		if(link) { // LINKED IMAGE
			if (config.formatterHelpers.isExternalLink(link)) {
				if (config.macros.attach && config.macros.attach.isAttachment(link)) {
					// see [[AttachFilePluginFormatters]]
					e = createExternalLink(w.output,link);
					e.href=config.macros.attach.getAttachment(link);
					e.title = config.macros.attach.linkTooltip + link;
				} else
					e = createExternalLink(w.output,link);
			} else 
				e = createTiddlyLink(w.output,link,false,null,w.isStatic);
			addClass(e,"imageLink");
		}

		var img = createTiddlyElement(e,"img");
		if(floatLeft) img.align="left"; else if(floatRight) img.align="right";
		if(width||height) {
			var x=width.trim(); var y=height.trim();
			var stretchW=(x.substr(x.length-1,1)=='+'); if (stretchW) x=x.substr(0,x.length-1);
			var stretchH=(y.substr(y.length-1,1)=='+'); if (stretchH) y=y.substr(0,y.length-1);
			if (x.substr(0,2)=="{{")
				{ try{x=eval(x.substr(2,x.length-4))} catch(e){displayMessage(e.description||e.toString())} }
			if (y.substr(0,2)=="{{")
				{ try{y=eval(y.substr(2,y.length-4))} catch(e){displayMessage(e.description||e.toString())} }
			img.style.width=x.trim(); img.style.height=y.trim();
			if (stretchW||stretchH) config.formatterHelpers.addStretchHandlers(img,stretchW,stretchH);
		}
		if(tooltip) img.title = tooltip;

		// GET IMAGE SOURCE
		if (config.macros.attach && config.macros.attach.isAttachment(src))
			src=config.macros.attach.getAttachment(src); // see [[AttachFilePluginFormatters]]
		else if (config.formatterHelpers.resolvePath) { // see [[ImagePathPlugin]]
			if (config.browser.isIE || config.browser.isSafari) {
				img.onerror=(function(){
					this.src=config.formatterHelpers.resolvePath(this.src,false);
					return false;
				});
			} else
				src=config.formatterHelpers.resolvePath(src,true);
		}
		img.src=src;
		w.nextMatch = this.lookaheadRegExp.lastIndex;
	}
}

config.formatterHelpers.imageSize={
	tip: 'SHIFT-CLICK=show full size, CTRL-CLICK=restore initial size',
	dragtip: 'DRAG=stretch/shrink, '
}

config.formatterHelpers.addStretchHandlers=function(e,stretchW,stretchH) {
	e.title=((stretchW||stretchH)?this.imageSize.dragtip:'')+this.imageSize.tip;
	e.statusMsg='width=%0, height=%1';
	e.style.cursor='move';
	e.originalW=e.style.width;
	e.originalH=e.style.height;
	e.minW=Math.max(e.offsetWidth/20,10);
	e.minH=Math.max(e.offsetHeight/20,10);
	e.stretchW=stretchW;
	e.stretchH=stretchH;
	e.onmousedown=function(ev) { var ev=ev||window.event;
		this.sizing=true;
		this.startX=!config.browser.isIE?ev.pageX:(ev.clientX+findScrollX());
		this.startY=!config.browser.isIE?ev.pageY:(ev.clientY+findScrollY());
		this.startW=this.offsetWidth;
		this.startH=this.offsetHeight;
		return false;
	};
	e.onmousemove=function(ev) { var ev=ev||window.event;
		if (this.sizing) {
			var s=this.style;
			var currX=!config.browser.isIE?ev.pageX:(ev.clientX+findScrollX());
			var currY=!config.browser.isIE?ev.pageY:(ev.clientY+findScrollY());
			var newW=(currX-this.offsetLeft)/(this.startX-this.offsetLeft)*this.startW;
			var newH=(currY-this.offsetTop )/(this.startY-this.offsetTop )*this.startH;
			if (this.stretchW) s.width =Math.floor(Math.max(newW,this.minW))+'px';
			if (this.stretchH) s.height=Math.floor(Math.max(newH,this.minH))+'px';
			clearMessage(); displayMessage(this.statusMsg.format([s.width,s.height]));
		}
		return false;
	};
	e.onmouseup=function(ev) { var ev=ev||window.event;
		if (ev.shiftKey) { this.style.width=this.style.height=''; }
		if (ev.ctrlKey)  { this.style.width=this.originalW; this.style.height=this.originalH; }
		this.sizing=false;
		clearMessage();
		return false;
	};
	e.onmouseout=function(ev) { var ev=ev||window.event;
		this.sizing=false;
		clearMessage();
		return false;
	};
}
//}}}
On 29/11/2015 15:29:31, Skye loaded 3 tiddlers from
[[apresenta/Energizadores.txt|apresenta/Energizadores.txt]]:
<<<
#[[MainMenu]] - updated
#[[test title]] - updated
#[[two]] - updated
<<<

----
On 29/11/2015 15:29:31, Skye loaded 3 tiddlers from
[[apresenta/Energizadores.txt|apresenta/Energizadores.txt]]:
<<<
#[[MainMenu]] - updated
#[[test title]] - updated
#[[two]] - updated
<<<

----
On 29/11/2015 15:29:30, Skye loaded 3 tiddlers from
[[apresenta/Energizadores.txt|apresenta/Energizadores.txt]]:
<<<
#[[MainMenu]] - updated
#[[test title]] - updated
#[[two]] - updated
<<<

----
On 29/11/2015 15:29:30, Skye loaded 3 tiddlers from
[[apresenta/Energizadores.txt|apresenta/Energizadores.txt]]:
<<<
#[[MainMenu]] - updated
#[[test title]] - updated
#[[two]] - updated
<<<

----
On 29/11/2015 15:29:30, Skye loaded 3 tiddlers from
[[apresenta/Energizadores.txt|apresenta/Energizadores.txt]]:
<<<
#[[MainMenu]] - updated
#[[test title]] - updated
#[[two]] - updated
<<<

----
On 29/11/2015 15:29:29, Skye loaded 3 tiddlers from
[[apresenta/Energizadores.txt|apresenta/Energizadores.txt]]:
<<<
#[[MainMenu]] - updated
#[[test title]] - updated
#[[two]] - updated
<<<

----
On 29/11/2015 15:29:29, Skye loaded 3 tiddlers from
[[apresenta/Energizadores.txt|apresenta/Energizadores.txt]]:
<<<
#[[MainMenu]] - updated
#[[test title]] - updated
#[[two]] - updated
<<<

----
On 29/11/2015 15:29:29, Skye loaded 3 tiddlers from
[[apresenta/Energizadores.txt|apresenta/Energizadores.txt]]:
<<<
#[[MainMenu]] - updated
#[[test title]] - updated
#[[two]] - updated
<<<

----
On 29/11/2015 15:29:28, Skye loaded 3 tiddlers from
[[apresenta/Energizadores.txt|apresenta/Energizadores.txt]]:
<<<
#[[MainMenu]] - updated
#[[test title]] - updated
#[[two]] - updated
<<<

----
On 29/11/2015 15:29:28, Skye loaded 3 tiddlers from
[[apresenta/Energizadores.txt|apresenta/Energizadores.txt]]:
<<<
#[[MainMenu]] - updated
#[[test title]] - updated
#[[two]] - updated
<<<

----
On 29/11/2015 15:29:28, Skye loaded 3 tiddlers from
[[apresenta/Energizadores.txt|apresenta/Energizadores.txt]]:
<<<
#[[MainMenu]] - updated
#[[test title]] - updated
#[[two]] - updated
<<<

----
On 29/11/2015 15:29:27, Skye loaded 3 tiddlers from
[[apresenta/Energizadores.txt|apresenta/Energizadores.txt]]:
<<<
#[[MainMenu]] - updated
#[[test title]] - updated
#[[two]] - updated
<<<

----
On 29/11/2015 15:29:27, Skye loaded 3 tiddlers from
[[apresenta/Energizadores.txt|apresenta/Energizadores.txt]]:
<<<
#[[MainMenu]] - updated
#[[test title]] - updated
#[[two]] - updated
<<<

----
On 29/11/2015 15:29:27, Skye loaded 3 tiddlers from
[[apresenta/Energizadores.txt|apresenta/Energizadores.txt]]:
<<<
#[[MainMenu]] - updated
#[[test title]] - updated
#[[two]] - updated
<<<

----
On 29/11/2015 15:29:26, Skye loaded 3 tiddlers from
[[apresenta/Energizadores.txt|apresenta/Energizadores.txt]]:
<<<
#[[MainMenu]] - updated
#[[test title]] - updated
#[[two]] - updated
<<<

----
On 29/11/2015 15:29:26, Skye loaded 3 tiddlers from
[[apresenta/Energizadores.txt|apresenta/Energizadores.txt]]:
<<<
#[[MainMenu]] - updated
#[[test title]] - updated
#[[two]] - updated
<<<

----
On 29/11/2015 15:29:26, Skye loaded 3 tiddlers from
[[apresenta/Energizadores.txt|apresenta/Energizadores.txt]]:
<<<
#[[MainMenu]] - updated
#[[test title]] - updated
#[[two]] - updated
<<<

----
On 29/11/2015 15:29:25, Skye loaded 3 tiddlers from
[[apresenta/Energizadores.txt|apresenta/Energizadores.txt]]:
<<<
#[[MainMenu]] - updated
#[[test title]] - updated
#[[two]] - updated
<<<

----
On 29/11/2015 15:29:25, Skye loaded 3 tiddlers from
[[apresenta/Energizadores.txt|apresenta/Energizadores.txt]]:
<<<
#[[MainMenu]] - updated
#[[test title]] - updated
#[[two]] - updated
<<<

----
On 29/11/2015 15:29:25, Skye loaded 3 tiddlers from
[[apresenta/Energizadores.txt|apresenta/Energizadores.txt]]:
<<<
#[[MainMenu]] - updated
#[[test title]] - updated
#[[two]] - updated
<<<

----
On 29/11/2015 15:29:24, Skye loaded 3 tiddlers from
[[apresenta/Energizadores.txt|apresenta/Energizadores.txt]]:
<<<
#[[MainMenu]] - updated
#[[test title]] - updated
#[[two]] - updated
<<<

----
On 29/11/2015 15:29:24, Skye loaded 3 tiddlers from
[[apresenta/Energizadores.txt|apresenta/Energizadores.txt]]:
<<<
#[[MainMenu]] - updated
#[[test title]] - updated
#[[two]] - updated
<<<

----
On 29/11/2015 15:29:24, Skye loaded 3 tiddlers from
[[apresenta/Energizadores.txt|apresenta/Energizadores.txt]]:
<<<
#[[MainMenu]] - updated
#[[test title]] - updated
#[[two]] - updated
<<<

----
On 29/11/2015 15:29:23, Skye loaded 3 tiddlers from
[[apresenta/Energizadores.txt|apresenta/Energizadores.txt]]:
<<<
#[[MainMenu]] - updated
#[[test title]] - updated
#[[two]] - updated
<<<

----
On 29/11/2015 15:29:23, Skye loaded 3 tiddlers from
[[apresenta/Energizadores.txt|apresenta/Energizadores.txt]]:
<<<
#[[MainMenu]] - updated
#[[test title]] - updated
#[[two]] - updated
<<<

----
On 29/11/2015 15:29:23, Skye loaded 3 tiddlers from
[[apresenta/Energizadores.txt|apresenta/Energizadores.txt]]:
<<<
#[[MainMenu]] - updated
#[[test title]] - updated
#[[two]] - updated
<<<

----
On 29/11/2015 15:29:22, Skye loaded 3 tiddlers from
[[apresenta/Energizadores.txt|apresenta/Energizadores.txt]]:
<<<
#[[MainMenu]] - updated
#[[test title]] - updated
#[[two]] - updated
<<<

----
On 29/11/2015 15:29:22, Skye loaded 3 tiddlers from
[[apresenta/Energizadores.txt|apresenta/Energizadores.txt]]:
<<<
#[[MainMenu]] - updated
#[[test title]] - updated
#[[two]] - updated
<<<

----
On 29/11/2015 15:29:22, Skye loaded 3 tiddlers from
[[apresenta/Energizadores.txt|apresenta/Energizadores.txt]]:
<<<
#[[MainMenu]] - updated
#[[test title]] - updated
#[[two]] - updated
<<<

----
On 29/11/2015 15:29:22, Skye loaded 3 tiddlers from
[[apresenta/Energizadores.txt|apresenta/Energizadores.txt]]:
<<<
#[[MainMenu]] - updated
#[[test title]] - updated
#[[two]] - updated
<<<

----
On 29/11/2015 15:29:21, Skye loaded 3 tiddlers from
[[apresenta/Energizadores.txt|apresenta/Energizadores.txt]]:
<<<
#[[MainMenu]] - updated
#[[test title]] - updated
#[[two]] - updated
<<<

----
On 29/11/2015 15:29:21, Skye loaded 3 tiddlers from
[[apresenta/Energizadores.txt|apresenta/Energizadores.txt]]:
<<<
#[[MainMenu]] - updated
#[[test title]] - updated
#[[two]] - updated
<<<

----
On 29/11/2015 15:29:21, Skye loaded 3 tiddlers from
[[apresenta/Energizadores.txt|apresenta/Energizadores.txt]]:
<<<
#[[MainMenu]] - updated
#[[test title]] - updated
#[[two]] - updated
<<<

----
On 29/11/2015 15:29:20, Skye loaded 3 tiddlers from
[[apresenta/Energizadores.txt|apresenta/Energizadores.txt]]:
<<<
#[[MainMenu]] - updated
#[[test title]] - updated
#[[two]] - updated
<<<

----
On 29/11/2015 15:29:20, Skye loaded 3 tiddlers from
[[apresenta/Energizadores.txt|apresenta/Energizadores.txt]]:
<<<
#[[MainMenu]] - updated
#[[test title]] - updated
#[[two]] - updated
<<<

----
On 29/11/2015 15:29:20, Skye loaded 3 tiddlers from
[[apresenta/Energizadores.txt|apresenta/Energizadores.txt]]:
<<<
#[[MainMenu]] - updated
#[[test title]] - updated
#[[two]] - updated
<<<

----
On 29/11/2015 15:29:20, Skye loaded 3 tiddlers from
[[apresenta/Energizadores.txt|apresenta/Energizadores.txt]]:
<<<
#[[MainMenu]] - updated
#[[test title]] - updated
#[[two]] - updated
<<<

----
On 29/11/2015 15:29:19, Skye loaded 3 tiddlers from
[[apresenta/Energizadores.txt|apresenta/Energizadores.txt]]:
<<<
#[[MainMenu]] - updated
#[[test title]] - updated
#[[two]] - updated
<<<

----
On 29/11/2015 15:29:19, Skye loaded 3 tiddlers from
[[apresenta/Energizadores.txt|apresenta/Energizadores.txt]]:
<<<
#[[MainMenu]] - updated
#[[test title]] - updated
#[[two]] - updated
<<<

----
On 29/11/2015 15:29:19, Skye loaded 3 tiddlers from
[[apresenta/Energizadores.txt|apresenta/Energizadores.txt]]:
<<<
#[[MainMenu]] - updated
#[[test title]] - updated
#[[two]] - updated
<<<

----
On 29/11/2015 15:29:18, Skye loaded 3 tiddlers from
[[apresenta/Energizadores.txt|apresenta/Energizadores.txt]]:
<<<
#[[MainMenu]] - updated
#[[test title]] - updated
#[[two]] - updated
<<<

----
On 29/11/2015 15:29:18, Skye loaded 3 tiddlers from
[[apresenta/Energizadores.txt|apresenta/Energizadores.txt]]:
<<<
#[[MainMenu]] - updated
#[[test title]] - updated
#[[two]] - updated
<<<

----
On 29/11/2015 15:29:18, Skye loaded 3 tiddlers from
[[apresenta/Energizadores.txt|apresenta/Energizadores.txt]]:
<<<
#[[MainMenu]] - updated
#[[test title]] - updated
#[[two]] - updated
<<<

----
On 29/11/2015 15:29:18, Skye loaded 3 tiddlers from
[[apresenta/Energizadores.txt|apresenta/Energizadores.txt]]:
<<<
#[[MainMenu]] - added
#[[test title]] - added
#[[two]] - added
<<<
[img[../Logos/sm_info.png]]
<html><iframe src="Info/index.html" width=800px height=460px></iframe></html>
<script>
localStorage.centroTexto=getText("Info/BemVindo");
localStorage.centerMenu="bemVindo";config.refreshers.content(document.getElementById("centerMenu"));
</script>
/***
|Name|InlineJavascriptPlugin|
|Source|http://www.TiddlyTools.com/#InlineJavascriptPlugin|
|Documentation|http://www.TiddlyTools.com/#InlineJavascriptPluginInfo|
|Version|1.9.6|
|Author|Eric Shulman|
|License|http://www.TiddlyTools.com/#LegalStatements|
|~CoreVersion|2.1|
|Type|plugin|
|Description|Insert Javascript executable code directly into your tiddler content.|
''Call directly into TW core utility routines, define new functions, calculate values, add dynamically-generated TiddlyWiki-formatted output'' into tiddler content, or perform any other programmatic actions each time the tiddler is rendered.
!!!!!Documentation
>see [[InlineJavascriptPluginInfo]]
!!!!!Revisions
<<<
2010.12.15 1.9.6 allow (but ignore) type="..." syntax
|please see [[InlineJavascriptPluginInfo]] for additional revision details|
2005.11.08 1.0.0 initial release
<<<
!!!!!Code
***/
//{{{
version.extensions.InlineJavascriptPlugin= {major: 1, minor: 9, revision: 6, date: new Date(2010,12,15)};

config.formatters.push( {
	name: "inlineJavascript",
	match: "\\<script",
	lookahead: "\\<script(?: type=\\\"[^\\\"]*\\\")?(?: src=\\\"([^\\\"]*)\\\")?(?: label=\\\"([^\\\"]*)\\\")?(?: title=\\\"([^\\\"]*)\\\")?(?: key=\\\"([^\\\"]*)\\\")?( show)?\\>((?:.|\\n)*?)\\</script\\>",
	handler: function(w) {
		var lookaheadRegExp = new RegExp(this.lookahead,"mg");
		lookaheadRegExp.lastIndex = w.matchStart;
		var lookaheadMatch = lookaheadRegExp.exec(w.source)
		if(lookaheadMatch && lookaheadMatch.index == w.matchStart) {
			var src=lookaheadMatch[1];
			var label=lookaheadMatch[2];
			var tip=lookaheadMatch[3];
			var key=lookaheadMatch[4];
			var show=lookaheadMatch[5];
			var code=lookaheadMatch[6];
			if (src) { // external script library
				var script = document.createElement("script"); script.src = src;
				document.body.appendChild(script); document.body.removeChild(script);
			}
			if (code) { // inline code
				if (show) // display source in tiddler
					wikify("{{{\n"+lookaheadMatch[0]+"\n}}}\n",w.output);
				if (label) { // create 'onclick' command link
					var link=createTiddlyElement(w.output,"a",null,"tiddlyLinkExisting",wikifyPlainText(label));
					var fixup=code.replace(/document.write\s*\(/gi,'place.bufferedHTML+=(');
					link.code="function _out(place,tiddler){"+fixup+"\n};_out(this,this.tiddler);"
					link.tiddler=w.tiddler;
					link.onclick=function(){
						this.bufferedHTML="";
						try{ var r=eval(this.code);
							if(this.bufferedHTML.length || (typeof(r)==="string")&&r.length)
								var s=this.parentNode.insertBefore(document.createElement("span"),this.nextSibling);
							if(this.bufferedHTML.length)
								s.innerHTML=this.bufferedHTML;
							if((typeof(r)==="string")&&r.length) {
								wikify(r,s,null,this.tiddler);
								return false;
							} else return r!==undefined?r:false;
						} catch(e){alert(e.description||e.toString());return false;}
					};
					link.setAttribute("title",tip||"");
					var URIcode='javascript:void(eval(decodeURIComponent(%22(function(){try{';
					URIcode+=encodeURIComponent(encodeURIComponent(code.replace(/\n/g,' ')));
					URIcode+='}catch(e){alert(e.description||e.toString())}})()%22)))';
					link.setAttribute("href",URIcode);
					link.style.cursor="pointer";
					if (key) link.accessKey=key.substr(0,1); // single character only
				}
				else { // run script immediately
					var fixup=code.replace(/document.write\s*\(/gi,'place.innerHTML+=(');
					var c="function _out(place,tiddler){"+fixup+"\n};_out(w.output,w.tiddler);";
					try	 { var out=eval(c); }
					catch(e) { out=e.description?e.description:e.toString(); }
					if (out && out.length) wikify(out,w.output,w.highlightRegExp,w.tiddler);
				}
			}
			w.nextMatch = lookaheadMatch.index + lookaheadMatch[0].length;
		}
	}
} )
//}}}

// // Backward-compatibility for TW2.1.x and earlier
//{{{
if (typeof(wikifyPlainText)=="undefined") window.wikifyPlainText=function(text,limit,tiddler) {
	if(limit > 0) text = text.substr(0,limit);
	var wikifier = new Wikifier(text,formatter,null,tiddler);
	return wikifier.wikifyPlain();
}
//}}}

// // GLOBAL FUNCTION: $(...) -- 'shorthand' convenience syntax for document.getElementById()
//{{{
if (typeof($)=='undefined') { function $(id) { return document.getElementById(id.replace(/^#/,'')); } }
//}}}
<<wikify {{'<<tiddler ItemMenu##'+localStorage.itemMenu+'>'+'>'}}>>

/%
!!apresenta
<<tiddler ApresentaMenu##itemMenu>>
!!LObjetos
<<tiddler listaLObjetos##itemMenu>>

!!Projetos
<<tiddler Projetos##itemMenu>>

!!seminarios
<<tiddler seminarios##itemMenu>>

!!temas
<<tiddler temas##item>>

!!imageMap
<<tiddler imageMap##itemMenu>>

!!albums
<<tiddler albums##itemMenu>>

!!escolasResilientes
<script>
var tid=getText("escolasResilientes/"+localStorage.item);
return '__{{center{{{bigger{'+localStorage.item+'}}} }}}__<br>'+tid;
</script>

!!noticias
<script>
return getText("Cursos/"+localStorage.curso+"/Documentos/"+localStorage.url);
</script>

!!documentos
<<tiddler documentos##itemMenu>>

!!relatorios
<html><form method=GET target=responseframe action="criarDiario.php" style="display:inline">
	<input type=hidden name=curso value="">
        <input type=text name=title value="" style="width:250px;">..novo relatorio - com data.
	<input type=hidden name=username value=""><input type=hidden name=tipo value="diario">
	<input type=hidden name=when value="">
	<textarea rows=26 cols=100 name=msg style="width:99%" onfocus="this.select()"></textarea><br>
	<input type="submit" value="criar" onclick='
'></form>
<iframe src="" name="responseframe" id="responseframe" marginheight=0 style="display:block;border:0;padding:0;margin:0;width:100%;height:50px;"></iframe><hide linebreaks>
</html><script>
var form=place.lastChild.getElementsByTagName('form')[0];
form.curso.value=localStorage.curso;
form.username.value=localStorage.username;
var date=new Date();
form.when.value=date.formatString("YYYY-MM-DD");
form.title.value=form.when.value;
</script>

!!inicio
{{center{{{bold{__Escrevendo__}}} }}}{{twocolumns{[[Notas]]<<setIcon ../Logos/notes.png "" notext>> - notacoes
<script label="diario">localStorage.leftMenu="diario";config.refreshers.content(document.getElementById("leftMenu"));</script><<setIcon ../Logos/blueBook.png "" notext>> - diario[[relatorio]]<<setIcon ../Logos/relatorio.png "" notext>> - relatorio
[[albums]]<<setIcon ../Logos/64curso.png "" text>>[[imageMap]]<<setIcon ../Logos/imageMap.png "" notext>> - mapas
[[documentos]]<<setIcon ../Logos/64Documentos.png "" notext>> - doc's}}}



!!relatorios

!!aulas
<<tiddler aulas##items>>

!!diario
<<tiddler diario##itemMenu>>

!!write
__<<wikify {{localStorage.capitulo}}>>__{{right{<script label="parafagoNova">localStorage.tipo="parafago";localStorage.parafago="";localStorage.texto="";config.refreshers.content(document.getElementById("refsMenu"));</script><<setIcon ../../Logos/book-open.png "" notext>> <<showPopup tiddler:editSection popupClass:sticky width:400px label:editarCaderno>><<setIcon ../../Logos/sm_edit.png "" notext>>}}}
----
<script>
var out="";
var tids=getText(localStorage.capitulo);
//return tids;
tids=tids.split("#\r\n");
for(i=1;i<tids.length;i++)
{
var lines=tids[i].split("|");
out+='<script label="'+lines[0]+'">localStorage.parafago="'+lines[0]+'";localStorage.showMenu="escrever";config.refreshers.content(document.getElementById("showMenu"));localStorage.tipo="parafago";localStorage.texto="'+lines[5]+'";config.refreshers.content(document.getElementById("refsMenu"));</scr'+'ipt><br>';
}
return out;
</script>

!!notas
<<tiddler Notas##itemMenu>>

!!newItem
<html><form method=GET enctype="multipart/form-data" target=responseframe action="../caderno.php" style="display:inline">
	<input type=hidden name=curso value="">
    <input type=text name=lista value="">
        <input type=text name=title value="">Nome do Item<br>
	<input type=hidden name=username value="">
	<input type=hidden name=formato value="">
	<input type=hidden name=when value="">
        <input type=hidden name=caderno value="">
	<input type=hidden name=lang value="">
        <input type=hidden name=tipo value="item">
Uma descricao simples esse item (so texto)    
	<textarea rows=9 cols=50 name=msg style="width:99%" onfocus="this.select()"></textarea><br>
	<input type="submit" value="criar" onclick='
this.form.formato.value="texto";
'> (so com texto)<br><br>
         <input type=text name=url value="" style="width:70%" onfocus="this.select()">- url<input type="submit" value="...comURL" onclick ='this.form.formato.value="url";'>
<input type=file name="upURL"><input type=submit value="...upload PDF" onclick='this.form.formato.value="pdf";''>
<input type=file name="upURL"><input type=submit value="...upload Foto" onclick=' this.form.formato.value="foto";''>
<input type=file name="upURL"><input type=submit value="...upload Video" onclick='this.form.formato.value="video";''>
<input type=file name="upURL"><input type=submit value="...upload Musica" onclick='this.form.formato.value="som";'>
</form>

<iframe src="" name="responseframe" id="responseframe" marginheight=0 style="display:block;border:0;padding:0;margin:0;width:100%;height:50px;"></iframe><hide linebreaks>
</html><script>
var form=place.lastChild.getElementsByTagName('form')[0];
form.curso.value=localStorage.curso;
form.lang.value=localStorage.language;
form.username.value=localStorage.username;
form.lista.value=localStorage.lista;
form.caderno.value=localStorage.lista;
var date=new Date();
form.when.value=date.formatString("YYYY-MM-DD_hh:mm");
</script>
{{fine{Nota:so usa umas das butoes pra atualizar esse item.....so texto, ou com URL (a url seja atuada no item, ou uploading arquivos desde seu computador a seja disponivel no item. Tem cuidado que voce deleciona a arquivo certo e clicar certo - por exemplo si voce seleciona um foto (.png ou .jpg) e depois clicar uploadPDF....o sistema nao funciona porque ele esta anticidando um PDf e voce mandou um JPG!}}}
!!end
%/
<<wikify {{'<<tiddler LeftMenu##'+localStorage.leftMenu+'>'+'>'}}>>
/%
!!apresenta
<<tiddler ApresentaMenu##leftMenu>>

!!cursoTexto
<<wikify {{localStorage.texto}}>>
!!apresenta
<<tiddler apresenta##leftMenu>>

!!projetoDetalhes
<<tiddler projetoDetalhes##leftMenu>>
 
!!LObjetos
<<tiddler listaLObjetos##leftMenu>>

!!printPage
<script>story.displayTiddler(null,"printPage");</script>

!!projeto
<<wikify {{'<html><iframe src="Alunos/'+localStorage.username+'/'+localStorage.projeto+'/projeto.html" width=100% height=600px></iframe></html>'}}>>

!!forum
<<wikify {{'<<tiddler LeftMenu##'+localStorage.curso+'>'+'>'}}>>

!!2016_PDC_CREDE4
<<wikify {{'<html><iframe src="../miniBB/'+localStorage.curso+'/index.php" width=100% height=600px></ifraame></html>'}}>>

!!aulas
<<tiddler aulas##aulas>>

!!imageMap
<<tiddler imageMap##leftMenu>>

!!Projetos
<<tiddler Projetos##leftMenu>>
!!ProjetoDocs
<<tiddler Projetos##Docs>>
!!seminarios
{{center{__Seminarios__}}}
<<tiddler seminarios##leftMenu>>

!!professores
{{center{{{bold{__Professores__}}}}}}
<<wikify {{localStorage.texto}}>>


!!albums
<<tiddler albums##lista>>

!!escolasResilientes
<<tiddler desenvolvimento##escolasResilientes>>

!!dinamicas

Estudando varias formas para educar e conduzir trabalhos mais coletivos, como cursos, conferencias, reunioes....
----
<<showPopup tiddler:dinamicas##cursos label:cursos popupClass:sticky width:200px>>
<<showPopup tiddler:dinamicas##conferencias label:conferencias/seminarios popupClass:sticky width:200px>>
<<showPopup tiddler:dinamicas##reunioes label:reunioes popupClass:sticky width:200px>>
<<showPopup tiddler:dinamicas##projetos label:projetosSociais popupClass:sticky width:200px>>

!!padroes

Outra maneira estudar e organizar o conhecimento, usando os conceitos das padroes originalmente desenvolvido por Christopher Alexander em seu livro "Linguage das Padores"
----
<<showPopup tiddler:Permacultura label:Permacultura width:200px popupClass:yellow>>
Ecologia
Social
Financiera
<<showPopup tiddler:Educacao label:Educacao width:200px popupClass:sandybrown>>
<<showPopup tiddler:Governanca label:Governanca width:200px popupClass:sandybrown>>


!!desProjetos
<<tiddler desenvolvimento##deProjetos>>

!!noticias
{{bold{{{center{__Noticias__}}} }}}
<script>
var out="";
var url="Cursos/"+localStorage.curso+"/cursoAcoes";
var tids=getText(url);
tids=tids.split("#\n");
for (i=1;i<tids.length-1;i++)
{
var tidDet=tids[i].split("|");
if(tidDet[1]=="noticia"){

out+='<script label="'+tidDet[0]+'">localStorage.url="'+tidDet[9]+'";localStorage.leftMenu="noticias";localStorage.itemMenu="noticias";story.displayTiddler(null,"Documentos");config.refreshers.content(document.getElementById("leftMenu"));config.refreshers.content(document.getElementById("itemMenu"));</scri'+'pt><br>';
}
}
return out;
</script>

!!documentos
<<tiddler documentos##lista>>


!!pesquisas
<<tiddler pesquisas##lista>>


!!relatorios
{{center{{{bold{__Meus Relatorios__}}} }}}

<script>
var out="";
var url="Cursos/"+localStorage.curso+"/Alunos/"+localStorage.username+"/relatorios";
var tids=getText(url);
tids=tids.split("#\n");
for(i=0;i<tids.length-1;i++)
{
var tidDet=tids[i].split("|");
out+='<script label="'+tidDet[0]+'">story.displayTiddler(null,"diario");localStorage.item="'+tidDet[0]+'";localStorage.text="'+tidDet[5]+'";localStorage.listaMenu="relatorios";localStorage.itemMenu="relatorios";localStorage.leftMenu="relatorios";config.refreshers.content(document.getElementById("listaMenu"));config.refreshers.content(document.getElementById("leftMenu"));config.refreshers.content(document.getElementById("itemMenu"));</scr'+'ipt><br>';
}
return out;
</script>

!!tema
{{center{__Temas__}}}
<<wikify {{localStorage.temaLista}}>>


!!tags
<<tiddler tagsSys>><<tiddler LoadAttachmentTiddlers>><<tiddler tagsTree>>

!!diario
<<tiddler diario##search>>

!!write
<<tiddler write##leftMenu>>

!!notas
<<tiddler Notas##leftMenu>>

!!inicio
{{center{{{bold{__Minhas Contas__}}} }}}
<<tiddler meusTrabalhos>>

!!newCaderno
<html><form method=GET target=responseframe action="../caderno.php" style="display:inline">
	<input type=text name=curso value="">
        <input type=text name=title value="">Nome<br>
	<input type=hidden name=username value="">
	<input type=hidden name=when value="">
	<input type=hidden name=lang value="">
        <input type=hidden name=tipo value="caderno">
        <input type=hidden name=caderno value="">
	<textarea rows=7 cols=50 name=msg style="width:99%" onfocus="this.select()"></textarea><br>
         <input type=text name=url value="" style="width:70%" onfocus="this.select()"> - ref url?<br>
	<input type="submit" value="criar" onclick="
localStorage.caderno=this.form.caderno.value;
localStorage.cadernoText=this.form.msg.value;
"></form>
<iframe src="" name="responseframe" id="responseframe" marginheight=0 style="display:block;border:0;padding:0;margin:0;width:100%;height:50px;"></iframe><hide linebreaks>
</html><script>
var form=place.lastChild.getElementsByTagName('form')[0];
form.curso.value=localStorage.curso;
form.lang.value=localStorage.language;
form.username.value=localStorage.username;
var date=new Date();
form.when.value=date.formatString("YYYY-MM-DD_hh:mm");
</script>
!!editarCaderno
<html><form method=post target=responseframe action="AAA/editarCaderno.php" style="display:inline">
	<input type=hidden name=curso value="">
        <input type=hidden name=title value="">
	<input type=hidden name=username value="">
	<input type=hidden name=when value="">
	<input type=hidden name=lang value="">
<input type=hidden name=tipo value="caderno">
<input type=hidden name=caderno value="">
	<font size=-2>Descricao:</font><br>
	<textarea rows=7 cols=50 name=msg style="width:99%" onfocus="this.select()"></textarea><br>
         <input type=text name=url value="" style="width:70%" onfocus="this.select()"> - ref url?<br>
	<input type="submit" value="criar" onclick="

"></form>
<iframe src="" name="responseframe" id="responseframe" warginheight=0 style="display:block;border:0;padding:0;margin:0;width:100%;height:30px;"></iframe><hide linebreaks>
</html><script>
var form=place.lastChild.getElementsByTagName('form')[0];
form.curso.value=localStorage.curso;
form.username.value=localStorage.username;
form.msg.value=localStorage.cadernoText;
form.caderno.value=localStorage.caderno;
form.lang.value=localStorage.language;
var date=new Date();
form.when.value=date.formatString("YYYY-MM-DD_hh:mm");
</script>
!!end
%/
<<wikify {{'<<tiddler ListaMenu##'+localStorage.listaMenu+'>'+'>'}}>>
/%

!!LObjetos
<<tiddler listaLObjetos##listaMenu>>

!!inicio
{{center{{{bold{__Estudando__}}} }}} {{twocolumns{
<script label="Apresentacoes">localStorage.leftMenu="apresenta";localStorage.listaMenu="apresenta";localStorage.itemMenu="apresenta";story.closeAllTiddlers();story.displayTiddler(null,"apresenta");</script><<setIcon ../Logos/presentation.png "" text>>
[[pesquisas]]<<setIcon ../Logos/64books.png "" text>>}}}

!!projetoDetalhes
<<tiddler projetoDetalhes##listaMenu>>

!!seminarios
<<wikify {{localStorage.text}}>>

!!dinamicas
<script>
var out="";
var tids=getText("dinamicas/"+localStorage.tema);
var tidsList=tids.split("#\n");
//return tids;
for (i=0;i<tidsList.length;i++)
{
var tidsDet=tidsList[i].split("|");
out+='<script label="'+tidsDet[0]+'">localStorage.itemMenu="dinamicas";localStorage.item="'+tidsDet[0]+'";config.refreshers.content(document.getElementById("itemMenu"));</scri'+'pt><br>';
}
return out;
</script>


!!escolasResilientes
<<wikify {{localStorage.tema}}>>{{right{<<showPopup tiddler:escolasResilientes##itemNovo label:novo popupClass:sticky width:500px>><<setIcon ../Cursos/Logos/smallStorage.png "" notext>>}}}
----
<script>
var out="";
var tids=getText("escolasResilientes/all");
var tidsList=tids.split("#\n");
//return tids;
for (i=0;i<tidsList.length;i++)
{
var tidsDet=tidsList[i].split("|");
out+='<script label="'+tidsDet[0]+'">localStorage.itemMenu="escolasResilientes";localStorage.item="'+tidsDet[0]+'";config.refreshers.content(document.getElementById("itemMenu"));</scri'+'pt><br>';
}
return out;
</script>


!!relatorios

{{center{{{bold{__<<wikify {{localStorage.item}}>>__}}}}}}
<<wikify {{localStorage.text}}>>

!!aulas
<<tiddler aulas##listaMenu>>

!!temas
<<tiddler temas##listaItems>>

!!diario
<<tiddler diario##listaItems>>




!!write
__<<wikify {{localStorage.secao}}>>__{{right{<script label="capiituloNova">localStorage.tipo="capitulo";localStorage.capitulo="";localStorage.parafago="";localStorage.texto="";localStorage.acao="new";config.refreshers.content(document.getElementById("refsMenu"));</script><<setIcon ../../Logos/book-open.png "" notext>>}}}
----
<script>
var out="";
var tids=getText(localStorage.secao);
//return tids;
tids=tids.split("#\n");
for(i=0;i<tids.length-1;i++)
{
var lines=tids[i].split("|");
out+='<script label="'+lines[0]+'">localStorage.capitulo="'+lines[0]+'";localStorage.itemMenu="escrever";localStorage.showMenu="blank";config.refreshers.content(document.getElementById("itemMenu"));config.refreshers.content(document.getElementById("showMenu"));localStorage.parafago="";localStorage.tipo="capitulo";localStorage.acao="correct";localStorage.texto="'+lines[5]+'";config.refreshers.content(document.getElementById("refsMenu"));</scr'+'ipt><br>';
}
return out;
</script>

!!notas
<<tiddler Notas##listaMenu>>

!!newLista
<html><form method=GET target=responseframe action="../caderno.php" style="display:inline">
	<input type=text name=curso value="">
    <input type=text name=caderno value="">
        <input type=text name=title value="">Nome do Lista<br>
	<input type=hidden name=username value="">
	<input type=hidden name=when value="">
	<input type=hidden name=lang value="">
        <input type=hidden name=tipo value="lista">
    
	<textarea rows=7 cols=50 name=msg style="width:99%" onfocus="this.select()"></textarea><br>
         <input type=text name=url value="" style="width:70%" onfocus="this.select()"> - ref url?<br>
	<input type="submit" value="criar" onclick="
localStorage.caderno=this.form.caderno.value;
localStorage.cadernoText=this.form.msg.value;
"></form>
<iframe src="" name="responseframe" id="responseframe" marginheight=0 style="display:block;border:0;padding:0;margin:0;width:100%;height:50px;"></iframe><hide linebreaks>
</html><script>
var form=place.lastChild.getElementsByTagName('form')[0];
form.curso.value=localStorage.curso;
form.lang.value=localStorage.language;
form.username.value=localStorage.username;
form.caderno.value=localStorage.caderno;
var date=new Date();
form.when.value=date.formatString("YYYY-MM-DD_hh:mm");
</script>
!!end
%/
.<script> config.options.txtUsername=localStorage.username;config.options.txtCurso=localStorage.curso;config.options.txtEmail=localStorage.email;</script>{{medium{<<option txtEmail>>email
.<<option txtUsername>>Nome
.<<option txtCurso>>Curso
.<script label="login">
if(localStorage.username==config.options.txtUsername){return "ben vindo de volta";}
///// confira viabilidade do curso
var cursos=getCSV("Cursos/cursos");
var cursoLista=cursos.split("\r\n");
for(i=1;i<cursoLista.length;i++)
{
  if (cursoLista[i].indexOf(config.options.txtCurso)!=-1)
  {
  ///found curso, chk if previously registrado
  var cursoDets= cursoLista[i].split(":");
  // chk if curso is open ou closed
  if(cursoDets[2]=="no")
    {
     var url="Cursos/"+config.options.txtCurso+"/Documentos/contatos";
     var lista=getCSV(url);
     //return lista;
     var contactos=lista.split("\r\n");
     //return "length="+contactos.length;
     for (i=0;i<contactos.length;i++)
       {
       var items=contactos[i].split(":");
       if(items[1]==config.options.txtEmail){return "found ya!";}
       }
    return "Nao tenho voce na lista por esse curso!<br>"; 
    }
  if(cursoDets[2]=="yes")
      {var alunosExistentes=getText("Cursos/"+localStorage.curso+"/alunos");
       var alunos=alunosExistentes.split("#\n");
       for (e=1;e<alunos.length;e++)
           {var alunoDet=alunos[e].split("|");
            if(alunoDet[0]==config.options.txtUsername){return " voce voltara!";}
           }
       alert ("voce precisara registrar por o curso");

  }
}
return "Nao conhece esse curso<br>";
</script>}}}
	*[[test title]]n*[[two]]

<script>
/*
 * Treeview 1.4 - jQuery plugin to hide and show branches of a tree
 * 
 * http://bassistance.de/jquery-plugins/jquery-plugin-treeview/
 * http://docs.jquery.com/Plugins/Treeview
 *
 * Copyright (c) 2007 Jörn Zaefferer
 *
 * Dual licensed under the MIT and GPL licenses:
 *   http://www.opensource.org/licenses/mit-license.php
 *   http://www.gnu.org/licenses/gpl.html
 *
 * Revision: $Id: jquery.treeview.js 4684 2008-02-07 19:08:06Z joern.zaefferer $
 *
 */


;(function($) {

	$.extend($.fn, {
		swapClass: function(c1, c2) {
			var c1Elements = this.filter('.' + c1);
			this.filter('.' + c2).removeClass(c2).addClass(c1);
			c1Elements.removeClass(c1).addClass(c2);
			return this;
		},
		replaceClass: function(c1, c2) {
			return this.filter('.' + c1).removeClass(c1).addClass(c2).end();
		},
		hoverClass: function(className) {
			className = className || "hover";
			return this.hover(function() {
				$(this).addClass(className);
			}, function() {
				$(this).removeClass(className);
			});
		},
		heightToggle: function(animated, callback) {
			animated ?
				this.animate({ height: "toggle" }, animated, callback) :
				this.each(function(){
					jQuery(this)[ jQuery(this).is(":hidden") ? "show" : "hide" ]();
					if(callback)
						callback.apply(this, arguments);
				});
		},
		heightHide: function(animated, callback) {
			if (animated) {
				this.animate({ height: "hide" }, animated, callback);
			} else {
				this.hide();
				if (callback)
					this.each(callback);				
			}
		},
		prepareBranches: function(settings) {
			if (!settings.prerendered) {
				// mark last tree items
				this.filter(":last-child:not(ul)").addClass(CLASSES.last);
				// collapse whole tree, or only those marked as closed, anyway except those marked as open
				this.filter((settings.collapsed ? "" : "." + CLASSES.closed) + ":not(." + CLASSES.open + ")").find(">ul").hide();
			}
			// return all items with sublists
			return this.filter(":has(>ul)");
		},
		applyClasses: function(settings, toggler) {
			this.filter(":has(>ul):not(:has(>a))").find(">span").click(function(event) {
				toggler.apply($(this).next());
			}).add( $("a", this) ).hoverClass();
			
			if (!settings.prerendered) {
				// handle closed ones first
				this.filter(":has(>ul:hidden)")
						.addClass(CLASSES.expandable)
						.replaceClass(CLASSES.last, CLASSES.lastExpandable);
						
				// handle open ones
				this.not(":has(>ul:hidden)")
						.addClass(CLASSES.collapsable)
						.replaceClass(CLASSES.last, CLASSES.lastCollapsable);
						
	            // create hitarea
				this.prepend("<div class="" + CLASSES.hitarea + ""/>").find("div." + CLASSES.hitarea).each(function() {
					var classes = "";
					$.each($(this).parent().attr("class").split(" "), function() {
						classes += this + "-hitarea ";
					});
					$(this).addClass( classes );
				});
			}
			
			// apply event to hitarea
			this.find("div." + CLASSES.hitarea).click( toggler );
		},
		treeview: function(settings) {
			
			settings = $.extend({
				cookieId: "treeview"
			}, settings);
			
			if (settings.add) {
				return this.trigger("add", [settings.add]);
			}
			
			if ( settings.toggle ) {
				var callback = settings.toggle;
				settings.toggle = function() {
					return callback.apply($(this).parent()[0], arguments);
				};
			}
		
			// factory for treecontroller
			function treeController(tree, control) {
				// factory for click handlers
				function handler(filter) {
					return function() {
						// reuse toggle event handler, applying the elements to toggle
						// start searching for all hitareas
						toggler.apply( $("div." + CLASSES.hitarea, tree).filter(function() {
							// for plain toggle, no filter is provided, otherwise we need to check the parent element
							return filter ? $(this).parent("." + filter).length : true;
						}) );
						return false;
					};
				}
				// click on first element to collapse tree
				$("a:eq(0)", control).click( handler(CLASSES.collapsable) );
				// click on second to expand tree
				$("a:eq(1)", control).click( handler(CLASSES.expandable) );
				// click on third to toggle tree
				$("a:eq(2)", control).click( handler() ); 
			}
		
			// handle toggle event
			function toggler() {
				$(this)
					.parent()
					// swap classes for hitarea
					.find(">.hitarea")
						.swapClass( CLASSES.collapsableHitarea, CLASSES.expandableHitarea )
						.swapClass( CLASSES.lastCollapsableHitarea, CLASSES.lastExpandableHitarea )
					.end()
					// swap classes for parent li
					.swapClass( CLASSES.collapsable, CLASSES.expandable )
					.swapClass( CLASSES.lastCollapsable, CLASSES.lastExpandable )
					// find child lists
					.find( ">ul" )
					// toggle them
					.heightToggle( settings.animated, settings.toggle );
				if ( settings.unique ) {
					$(this).parent()
						.siblings()
						// swap classes for hitarea
						.find(">.hitarea")
							.replaceClass( CLASSES.collapsableHitarea, CLASSES.expandableHitarea )
							.replaceClass( CLASSES.lastCollapsableHitarea, CLASSES.lastExpandableHitarea )
						.end()
						.replaceClass( CLASSES.collapsable, CLASSES.expandable )
						.replaceClass( CLASSES.lastCollapsable, CLASSES.lastExpandable )
						.find( ">ul" )
						.heightHide( settings.animated, settings.toggle );
				}
			}
			
			function serialize() {
				function binary(arg) {
					return arg ? 1 : 0;
				}
				var data = [];
				branches.each(function(i, e) {
					data[i] = $(e).is(":has(>ul:visible)") ? 1 : 0;
				});
				$.cookie(settings.cookieId, data.join("") );
			}
			
			function deserialize() {
				var stored = $.cookie(settings.cookieId);
				if ( stored ) {
					var data = stored.split("");
					branches.each(function(i, e) {
						$(e).find(">ul")[ parseInt(data[i]) ? "show" : "hide" ]();
					});
				}
			}
			
			// add treeview class to activate styles
			this.addClass("treeview");
			
			// prepare branches and find all tree items with child lists
			var branches = this.find("li").prepareBranches(settings);
			
			switch(settings.persist) {
			case "cookie":
				var toggleCallback = settings.toggle;
				settings.toggle = function() {
					serialize();
					if (toggleCallback) {
						toggleCallback.apply(this, arguments);
					}
				};
				deserialize();
				break;
			case "location":
				var current = this.find("a").filter(function() { return this.href.toLowerCase() == location.href.toLowerCase(); });
				if ( current.length ) {
					current.addClass("selected").parents("ul, li").add( current.next() ).show();
				}
				break;
			}
			
			branches.applyClasses(settings, toggler);
				
			// if control option is set, create the treecontroller and show it
			if ( settings.control ) {
				treeController(this, settings.control);
				$(settings.control).show();
			}
			
			return this.bind("add", function(event, branches) {
				$(branches).prev()
					.removeClass(CLASSES.last)
					.removeClass(CLASSES.lastCollapsable)
					.removeClass(CLASSES.lastExpandable)
				.find(">.hitarea")
					.removeClass(CLASSES.lastCollapsableHitarea)
					.removeClass(CLASSES.lastExpandableHitarea);
				$(branches).find("li").andSelf().prepareBranches(settings).applyClasses(settings, toggler);
			});
		}
	});



	// classes used by the plugin
	// need to be styled via external stylesheet, see first example
	var CLASSES = $.fn.treeview.classes = {
		open: "open",
		closed: "closed",
		expandable: "expandable",
		expandableHitarea: "expandable-hitarea",
		lastExpandableHitarea: "lastExpandable-hitarea",
		collapsable: "collapsable",
		collapsableHitarea: "collapsable-hitarea",
		lastCollapsableHitarea: "lastCollapsable-hitarea",
		lastCollapsable: "lastCollapsable",
		lastExpandable: "lastExpandable",
		last: "last",
		hitarea: "hitarea"
	};
	
	// provide backwards compability
	$.fn.Treeview = $.fn.treeview;


	
})(jQuery);
</script>



<script>
var sc_project=4838317; 
var sc_invisible=1; 
var sc_partition=56; 
var sc_click_stat=1; 
var sc_security="9ff8d9d0"; 
</script>

<!--{{{-->
<link rel='alternate' type='application/rss+xml' title='RSS' href='index.xml' />
<!--}}}-->
[img[../Logos/smallWebpage.png]]
____
{{icone{<script label="messenger - de facebook">window.open('https://www.messenger.com','_blank','right=20,top=20,width=1000,height=600,toolbar=no,scrollbars=yes,titlebar=no',true);var url="atividade.php?tipo=extra&aluno="+localStorage.username+"&desc=rede/Messenger";return '<scr'+'ipt src="'+url+'"></scr'+'ipt>';</script><<setIcon ../Logos/messenger.png "" notext>>}}}

{{icone{<script label="facebook">window.open('http://www.facebook.com','_blank','right=20,top=20,width=1000,height=600,toolbar=no,scrollbars=yes,titlebar=no',true);var url="atividade.php?tipo=extra&aluno="+localStorage.username+"&desc=rede/Facebook";return '<scr'+'ipt src="'+url+'"></scr'+'ipt>';</script><<setIcon ../Logos/facebook.png "" notext>>}}} 

{{icone{<script label="twitter">window.open('https://twitter.com/?lang=pt','_blank','right=20,top=20,width=1000,height=600,toolbar=no,scrollbars=yes,titlebar=no',true);var url="atividade.php?tipo=extra&aluno="+localStorage.username+"&desc=rede/Twitter";return '<scr'+'ipt src="'+url+'"></scr'+'ipt>';</script><<setIcon ../Logos/twitter.png "" notext>>}}}

{{icone{<<showPopup tiddler:MessengerMenu##piratepad label:piratepad width:300px popupClass:sticky>><<setIcon ../Logos/piratepad.png "" notext>>}}}
/%
!!piratepad
Isso e um sistema simples para gerar e compartilhar documentos mais compridas, como relatorios .....ainda nao funciona!!!! ate pouco!!!
!!end
%/
[img[../Logos/midia.png]]

<<showPopup label:videos tiddler:MidiaMenu##videos popupClass:sticky width:800px>>
<<showPopup label:som tiddler:MidiaMenu##som popupClass:sticky width:800px>>
<<showPopup label:apresentacao tiddler:MidiaMenu##apresenta popupClass:sticky width:800px>>
/%
!!videos
<html><iframe src="/SkyeRiquelme/Dropbox/Videos/" width=800px height=500px></iframe></html>
!!som
<html><iframe src="/SkyeRiquelme/Dropbox/Som/" width=800px height=500px></iframe></html>
!!apresenta
<html><iframe src="/SkyeRiquelme/XAMPP/htdocs/Curso3/apresenta/" width=800px height=500px></iframe></html>
!!end
%/
[img[../Logos/small_discuss.png]] Misc
____
{{icone{<script label="blogger">window.open('http://unigaia-brasil.blogspot.com.br/','_blank','right=20,top=20,width=1000,height=600,toolbar=no,scrollbars=yes,titlebar=no',true);</script><<setIcon ../Logos/blog.png "" notext>>}}} 

{{icone{<script label="Bitrix">window.open('https://skye.bitrix24.com/',
'_blank','right=20,top=20,width=1000,height=600,toolbar=no,scrollbars=yes,titlebar=no',true);</script><<setIcon ../Logos/bitrix.png "" notext>>}}} 

{{icone{<script label="slash">window.open('https://unigaia-brasil.slack.com/','_blank','right=20,top=20,width=1000,height=600,toolbar=no,scrollbars=yes,titlebar=no',true);</script><<setIcon ../Logos/slash.png "" notext>>}}} 

{{icon{<script label="hangout">window.open('https://hangouts.google.com/','_blank','right=20,top=20,width=1000,height=600,toolbar=no,scrollbars=yes,titlebar=no',true);</script><<setIcon ../Logos/24hangouts.png "" notext>>}}} 

{{icon{<script label="skype">window.open('https://secure.skype.com/portal/overview','_blank','right=20,top=20,width=1000,height=600,toolbar=no,scrollbars=yes,titlebar=no',true);</script><<setIcon ../Logos/Newskype.png "" notext>>}}} 
.{{icone{<script label="blogger">window.open('http://unigaia-brasil.blogspot.com.br/','_blank','right=20,top=20,width=1000,height=600,toolbar=no,scrollbars=yes,titlebar=no',true);var url="atividade.php?tipo=extra&aluno="+localStorage.username+"&desc=blogger";return '<scr'+'ipt src="'+url+'"></scr'+'ipt>';</script><<setIcon ../Logos/blog.png "" notext>>}}}   
{{icone{<script label="Bitrix">window.open('https://skye.bitrix24.com/',
'_blank','right=20,top=20,width=1000,height=600,toolbar=no,scrollbars=yes,titlebar=no',true);var url="atividade.php?tipo=extra&aluno="+localStorage.username+"&desc=bitrix";return '<scr'+'ipt src="'+url+'"></scr'+'ipt>';</script><<setIcon ../Logos/bitrix.png "" notext>>}}} 
{{icone{<script label="slash">window.open('https://unigaia-brasil.slack.com/','_blank','right=20,top=20,width=1000,height=600,toolbar=no,scrollbars=yes,titlebar=no',true);var url="atividade.php?tipo=extra&aluno="+localStorage.username+"&desc=slash";return '<scr'+'ipt src="'+url+'"></scr'+'ipt>';</script><<setIcon ../Logos/slash.png "" notext>>}}} 
{{icone{<script label="hangout">window.open('https://hangouts.google.com/','_blank','right=20,top=20,width=1000,height=600,toolbar=no,scrollbars=yes,titlebar=no',true);var url="atividade.php?tipo=extra&aluno="+localStorage.username+"&desc=hangoutst";return '<scr'+'ipt src="'+url+'"></scr'+'ipt>';</script><<setIcon ../Logos/24hangout.png "" notext>>}}} 
<script>

</script>
<script>
config.options.chkNotaEdit=false;config.options.txtTags="";
localStorage.leftMenu="notas";config.refreshers.content(document.getElementById("leftMenu"));
localStorage.listaMenu="notas";config.refreshers.content(document.getElementById("listaMenu"));
localStorage.itemMenu="notas";config.refreshers.content(document.getElementById("itemMenu"));
</script>
/%

!!leftMenu
{{right{<<showPopup tiddler:LeftMenu##newCaderno width:400px popupClass:sticky label:cadernoNovo>><<setIcon ../Logos/book-open.png "" notext>> <<showPopup tiddler:editCaderno popupClass:sticky width:400px label:editarCaderno>><<setIcon ../Logos/sm_edit.png "" notext>>}}}<script>var url="Alunos/"+localStorage.username+"/Notas";return '<script src="dir.php?path='+url+'"></sc'+'ript>';</script><script>var url="Cursos/"+localStorage.curso+"/Notas";return '<script src="dir.php?path='+url+'"></sc'+'ript>';</script>
<script> 
var out="{{center{__Meus Notacoes das Temas__}}}<br>";
var fileName="Alunos/"+localStorage.username+"/Notas/lista";
    var notasLista =getText(fileName);
notasLista=notasLista.split("|");

for(i=0;i<notasLista.length;i++)
{
if(notasLista[i]!="lista"){out+=notasLista[i]+"<br>";}
}
out+="<br><br>{{center{__Notas do Curso__}}}<br>";
var fileName="Cursos/"+localStorage.curso+"/Notas/lista";
    var notasLista =getText(fileName);
notasLista=notasLista.split("|");

for(i=0;i<notasLista.length;i++)
{
if(notasLista[i]!="lista"){out+='<script label=" '+notasLista[i]+'">var url="Cursos/'+localStorage.curso+'/Notas/'+notasLista[i]+'";localStorage.notaTexto=getText(url);localStorage.notaTitle="'+notasLista[i]+'";config.refreshers.content(document.getElementById("listaMenu"));</scr'+'ipt><br>';}
}
return out;
</script>

!!listaMenu
<<wikify {{"{{center{__"+localStorage.notaTitle+"__}"+"}"+"}<br>"+localStorage.notaTexto}}>>

!!itemMenu
<html><form method=GET target=responseframe action="notaCriar.php" style="display:inline">
	<input type=hidden name=curso value="">
        <input type=text name=title value="" style="width:250px;">..novo Nota....<br><input type=text name=tag value="" >-etiquetas
	<input type=hidden name=username value=""><input =hidden name=tipo value="nota">
	<input type=hidden name=when value=""><input type=hidden name=editing value="">
	<textarea rows=25 cols=100 name=msg style="width:99%" onfocus="this.select()"></textarea><br>
	<input type="submit" value="criar" onclick='
config.options.chkNotaEdit=false;
config.refreshers.content(document.getElementById("leftMenu"));
'></form>
<iframe src="" name="responseframe" id="responseframe" marginheight=0 style="display:block;border:0;padding:0;margin:0;width:100%;height:50px;"></iframe><hide linebreaks>
</html><script>
var form=place.lastChild.getElementsByTagName('form')[0];
form.curso.value=localStorage.curso;
form.username.value=localStorage.username;
var date=new Date();
form.when.value=date.formatString("YYYY-MM-DD_hh:mm");
if(config.options.chkDiarioEdit==false){form.title.value=form.when.value;}
if(config.options.chkDiarioEdit==true){form.title.value=localStorage.diarioItem;}
if(config.options.chkDiarioEdit==false){form.msg.value="";}
if(config.options.chkDiarioEdit==true){form.msg.value=localStorage.diarioText;}
if(config.options.chkDiarioEdit==true){form.tag.value=config.options.txtTags;}
form.editing.value=config.options.chkDiarioEdit;
</script>
!!end
%/
[img[../Logos/lista.png]]
____
{{center{
{{icone{<script label="evernote">window.open('https://www.evernote.com/','_blank','right=20,top=20,width=1000,height=600,toolbar=no,scrollbars=yes,titlebar=no',true);var url="atividade.php?tipo=extra&aluno="+localStorage.username+"&desc=evernote";return '<scr'+'ipt src="'+url+'"></scr'+'ipt>';</script><<setIcon ../Logos/evernote.jpg "" notext>>}}}  

{{icone{<script label="goodleDocs">window.open('https://docs.google.com/document/u/0/','_blank','right=20,top=20,width=1000,height=600,toolbar=no,scrollbars=yes,titlebar=no',true);var url="atividade.php?tipo=extra&aluno="+localStorage.username+"&desc=googleDocs";return '<scr'+'ipt src="'+url+'"></scr'+'ipt>';</script><<setIcon ../Logos/googledocs.png "" notext>>}}}  

{{icone{<script label="oneNote">window.open('https://www.onenote.com/notebooks?auth=1','_blank','right=20,top=20,width=1000,height=600,toolbar=no,scrollbars=yes,titlebar=no',true);var url="atividade.php?tipo=extra&aluno="+localStorage.username+"&desc=oneNote";return '<scr'+'ipt src="'+url+'"></scr'+'ipt>';</script><<setIcon ../Logos/onenote.png "" notext>>}}} 

{{icone{<script label="trello">window.open('https://trello.com/','_blank','right=20,top=20,width=1000,height=600,toolbar=no,scrollbars=yes,titlebar=no',true);var url="atividade.php?tipo=extra&aluno="+localStorage.username+"&desc=r
trello";return '<scr'+'ipt src="'+url+'"></scr'+'ipt>';</script><<setIcon ../Logos/trello.png "" notext>>}}} 

{{icone{<script label="mohio">window.open('https://www.moh.io/mohiomap/app.php#cn?Mohiomap&en?Google|root&en?Google|0B6-wuSrLmnp7U0FZVWJJcThpbmM','_blank','right=20,top=20,width=1000,height=600,toolbar=no,scrollbars=yes,titlebar=no',true);var url="atividade.php?tipo=extra&aluno="+localStorage.username+"&desc=mohio";return '<scr'+'ipt src="'+url+'"></scr'+'ipt>';</script><<setIcon ../Logos/22mohio.png "" notext>>}}} 

{{icone{<script label="workflowy">window.open('https://workflowy.com/','_blank','right=20,top=20,width=1000,height=600,toolbar=no,scrollbars=yes,titlebar=no',true);var url="atividade.php?tipo=extra&aluno="+localStorage.username+"&desc=workFlowy";return '<scr'+'ipt src="'+url+'"></scr'+'ipt>';</script><<setIcon ../Logos/workflowy.png "" notext>>}}} 

{{icone{<script label="nimbus">window.open('https://nimbus.everhelper.me/client/recent','_blank','right=20,top=20,width=1000,height=600,toolbar=no,scrollbars=yes,titlebar=no',true);var url="atividade.php?tipo=extra&aluno="+localStorage.username+"&desc=nimbusNote";return '<scr'+'ipt src="'+url+'"></scr'+'ipt>';</script><<setIcon ../Logos/nimbus.png "" notext>>}}}

{{icone{<script label="keep">window.open('https://keep.google.com/','_blank','right=20,top=20,width=1000,height=600,toolbar=no,scrollbars=yes,titlebar=no',true);var url="atividade.php?tipo=extra&aluno="+localStorage.username+"&desc=googleKeep";return '<scr'+'ipt src="'+url+'"></scr'+'ipt>';</script><<setIcon ../Logos/keep.png "" notext>>}}}
}}}
<<showPopup tiddler :NoticiasMenu##show label:Noticias width:400px popupClass:sticky>><<setIcon ../Logos/sm_notice.png "" notext>>

/%
!!show
{{right{<<showPopup tiddler:NoticiasMenu##novas label:novas width:400px popupClass:sticky>><<setIcon ../Logos/sm_edit.png "" notext>>}}}<<wikify {{'<script src="atividade.php?tipo=noticia&aluno='+localStorage.username+'&desc=ler"></scr'+'ipt>'}}>>
<script>
var out="";
var url="Cursos/"+localStorage.curso+"/cursoAcoes";
//return "url="+url;
var tids=getText(url);
//return "tids="+tids;
tids=tids.replace(/\r/g, "");
tids=tids.split("#\n");
for (i=0;i<tids.length-1;i++)
{
var tidDet=tids[i].split("|");
if((tidDet[1]=="noticia") && ((tidDet[2]=="tudo") || (tidDet[2]==localStorage.username)))
{
out+="__"+tidDet[0]+" (de: "+tidDet[8]+" - a "+tidDet[7]+")__<br>.."+tidDet[5]+"nn";
}
}
return out;
</script>
!!novas
<html><form method=GET target=responseframe action="noticiasADD.php" style="display:inline">
	<input type=hidden name=curso value="">
        <input type=text name=title value="" style="width:250px;">titulo (breve)
        <input type=text name=toWhom value=""> para quiem (ou"tudo")
	<input type=hidden name=username value="">
        <input type=hidden name=tipo value="noticia">
	<input type=hidden name=when value="">
	<textarea rows=26 cols=100 name=msg style="width:99%" onfocus="this.select()"></textarea><br>
	<input type="submit" value="criar" onclick='
'></form>
<iframe src="" name="responseframe" id="responseframe" marginheight=0 style="display:block;border:0;padding:0;margin:0;width:100%;height:50px;"></iframe><hide linebreaks>
</html><script>
var form=place.lastChild.getElementsByTagName('form')[0];
form.curso.value=localStorage.curso;
form.username.value=localStorage.username;
var date=new Date();
form.when.value=date.formatString("YYYY-MM-DD_hh:mm");
form.toWhom.value="tudo";
</script>
!!end
%/
<script>
var file=localStorage.pasta+"/"+localStorage.item;
return getText(file);
//var tids=getText(file);
//localStorage.text=tids;
</script>
<!--{{{-->
<div id='titleMenu' role='navigation' refresh='content' force='true' tiddler='TitleMenu'></div>
<div id='logoMenu' role='navigation' refresh='content' force='true' tiddler='LogoMenu'></div>
<div id='barraMenu' role='navigation' refresh='content' force='true' tiddler='BarraMenu'></div>
<div id='topMenu' role='navigation' refresh='content' force='true' tiddler='TopMenu'></div>
<div id='calendarMenu' role='navigation' refresh='content' force='true' tiddler='CalendarMenu'></div>
<div id='batepapoMenu' role='navigation' refresh='content' force='true' tiddler='BatePapoMenu'></div>
<div id='projetoMenu' role='navigation' refresh='content' force='true' tiddler='ProjetoMenu'></div>
<div id='drivesMenu' role='navigation' refresh='content' force='true' tiddler='DrivesMenu'></div>
<div id='notesMenu' role='navigation' refresh='content' force='true' tiddler='NotesMenu'></div>
<div id='messengerMenu' role='navigation' refresh='content' force='true' tiddler='MessengerMenu'></div>
<div id='emailMenu' role='navigation' refresh='content' force='true' tiddler='EmailMenu'></div>
<div id='adminMenu' role='navigation' refresh='content' force='true' tiddler='AdminMenu'></div>
<div id='apresentaMenu' role='navigation' refresh='content' force='true' tiddler='ApresentaMenu'></div>
<div id='radioMenu' role='navigation' refresh='content' force='true' tiddler='RadioMenu'></div>
<div id='miscMenu' role='navigation' refresh='content' force='true' tiddler='MiscMenu'></div>
<div id='relogMenu' role='navigation' refresh='content' force='true' tiddler='RelogMenu'></div>
<div id='forumMenu' role='navigation' refresh='content' force='true' tiddler='ForumMenu'></div>
<div id='estudandoMenu' role='navigation' refresh='content' force='true' tiddler='EstudandoMenu'></div>
<div id='midiaMenu' role='navigation' refresh='content' force='true' tiddler='MidiaMenu'></div>
<div id='alunosMenu' role='navigation' refresh='content' force='true' tiddler='AlunosMenu'></div>
<div id='tagsMenu' role='navigation' refresh='content' force='true' tiddler='TagsMenu'></div>
<div id='homeMenu' role='navigation' refresh='content' force='true' tiddler='HomeMenu'></div>
<div id='loginMenu' role='navigation' refresh='content' force='true' tiddler='LoginMenu'></div>
<div id='noticiasMenu' role='navigation' refresh='content' force='true' tiddler='NoticiasMenu'></div>
<div id='infoMenu' role='navigation' refresh='content' force='true' tiddler='InfoMenu'></div>

<div id='displayArea' role='main'>
<div id='messageArea'></div>
<div id='tiddlerDisplay'></div>
</div>
<!--}}}-->
/***
|''Name:''|PasswordOptionPlugin|
|''Description:''|Extends TiddlyWiki options with non encrypted password option.|
|''Version:''|1.0.2|
|''Date:''|Apr 19, 2007|
|''Source:''|http://tiddlywiki.bidix.info/#PasswordOptionPlugin|
|''Author:''|BidiX (BidiX (at) bidix (dot) info)|
|''License:''|[[BSD open source license|http://tiddlywiki.bidix.info/#%5B%5BBSD%20open%20source%20license%5D%5D ]]|
|''~CoreVersion:''|2.2.0 (Beta 5)|
***/
//{{{
version.extensions.PasswordOptionPlugin = {
	major: 1, minor: 0, revision: 2, 
	date: new Date("Apr 19, 2007"),
	source: 'http://tiddlywiki.bidix.info/#PasswordOptionPlugin',
	author: 'BidiX (BidiX (at) bidix (dot) info',
	license: '[[BSD open source license|http://tiddlywiki.bidix.info/#%5B%5BBSD%20open%20source%20license%5D%5D]]',
	coreVersion: '2.2.0 (Beta 5)'
};

config.macros.option.passwordCheckboxLabel = "Lembrar esta ";
config.macros.option.passwordInputType = "password"; // password | text
setStylesheet(".pasOptionInput {width: 11em;}n","passwordInputTypeStyle");

merge(config.macros.option.types, {
	'pas': {
		elementType: "input",
		valueField: "value",
		eventName: "onkeyup",
		className: "pasOptionInput",
		typeValue: config.macros.option.passwordInputType,
		create: function(place,type,opt,className,desc) {
			// password field
			config.macros.option.genericCreate(place,'pas',opt,className,desc);
			// checkbox linked with this password "save this password on this computer"
			config.macros.option.genericCreate(place,'chk','chk'+opt,className,desc);			
			// text savePasswordCheckboxLabel
			place.appendChild(document.createTextNode(config.macros.option.passwordCheckboxLabel));
		},
		onChange: config.macros.option.genericOnChange
	}
});

merge(config.optionHandlers['chk'], {
	get: function(name) {
		// is there an option linked with this chk ?
		var opt = name.substr(3);
		if (config.options[opt]) 
			saveOptionCookie(opt);
		return config.options[name] ? "true" : "false";
	}
});

merge(config.optionHandlers, {
	'pas': {
 		get: function(name) {
			if (config.options["chk"+name]) {
				return encodeCookie(config.options[name].toString());
			} else {
				return "";
			}
		},
		set: function(name,value) {config.options[name] = decodeCookie(value);}
	}
});

// need to reload options to load passwordOptions
loadOptionsCookie();

/*
if (!config.options['pasPassword'])
	config.options['pasPassword'] = '';

merge(config.optionsDesc,{
		pasPassword: "Test password"
	});
*/
//}}}
[img[../Logos/design.png]]
{{floatright{<<showPopup tiddler:ProjetoMenu##newProjeto label:projetoNovo width:400px popupClass:sticky>><<setIcon ../Logos/simple.png "" notext>> <<showPopup tiddler:ProjetoMenu##upload label:upload width:300px popupClass:sticky>>}}}
!!! meusProjetos 
<script>var out="";
var projetos=getText("Alunos/"+localStorage.username+"/projetos");
projetos=projetos.split("|");
for(i=0;i<projetos.length-1;i++)
{
out+='<script label="'+projetos[i]+'">localStorage.projeto="'+projetos[i]+'";localStorage.leftMenu="projeto";</scr'+'ipt><br>';
}
return out;
</script>
storu.displayTiddler(null,"projeto");
!!!Documentos
|Documentos|Fotos|Albums|MindMapas|
|<<tiddler ProjetoMenu##docs>>|<<tiddler ProjetoMenu##fotos>>|<<tiddler ProjetoMenu##album>>|<<tiddler ProjetoMenu##mmental>>|

!!!Dragon Dreaming
Em Permacultura é comun para aproveitar a metodologia do <<showPopup tiddler:ProjetoMenu##DD label:Dragon_Dreaming width:900px popupClass:sticky>> para planejar monitorar nossos projetos...especialmente por projetos de carater mais social. Por projetos de puro design arquitetonica ou paisagista, nao precisara usar esta metodologia (ver designMetodologia). Entao aqui explicamos um pouco mais da metodologia Dragon Dreaming, e isso tambem funciona como um guia passo-a-passo em planejando seu projeto.



/%
!!!upload
Voce pode usar esta <script label="forma">prompt ( "need to set paramenters and use generic uploader!!");</script> para upload documentos a sua pasta do projeto. Isso pode ser relatorios, imagens/mapas, contratos, lista das materiais.......


!!docs
<script>var url="dir.php?path=Alunos/"+localStorage.username+"/"+localStorage.projeto+"/Documentos";return '<script src="'+url+'"></scr'+'ipt>';</script>
<script>var out="";
var listaTxt="Alunos/"+localStorage.username+"/"+localStorage.projeto+"/Documentos/";
var docs=getText(listaTxt+"lista");
//return docs;
docs=docs.split("|");
for(i=0;i<docs.length-2;i++)
{
if(docs[i]!="lista")
{
if(docs[i].indexOf("odp")!=-1){out+='<script label="'+docs[i]+'">localStorage.url="'+listaTxt+docs[i]+'";story.displayTiddler(null,"projetoDetalhes");localStorage.tipo="odp";</scr'+'ipt><br>';}
else{out+='<script label="'+docs[i]+'">localStorage.url="'+listaTxt+docs[i]+'.txt";localStorage.tipo="texto";story.displayTiddler(null,"projetoDetalhes");</scr'+'ipt><br>';}
}
}
localStorage.texto="Documentos<br>"+out+"<br>";
return out;
</script>
!!fotos
<script>var url="dir.php?path=Alunos/"+localStorage.username+"/"+localStorage.projeto+"/Fotos";return '<script src="'+url+'"></scr'+'ipt>';</script>
<script>var out="";
var listaTxt="Alunos/"+localStorage.username+"/"+localStorage.projeto+"/Fotos/";
var docs=getText(listaTxt+"lista");
//return docs;
docs=docs.split("|");
for(i=0;i<docs.length-2;i++)
{
if(docs[i]!="lista")
{

out+='<script label="foto">localStorage.url="'+listaTxt+docs[i]+'";localStorage.tipo="foto";story.displayTiddler(null,"projetoDetalhes");</scr'+'ipt><<setIcon '+listaTxt+docs[i]+' "width:100px;height:auto;" notext>'+'> ';
}
}
localStorage.texto=localStorage.texto+"Fotos<br>"+out;
return out;
</script>

!!!Albums dos Fotos (do Projeto)
lista seus albums
!!!Bate Papo
<<showPopup tiddler:ProjetoMenu##chat label:"abrir batepapo por esse projeto" width:500px popupClass:sticky>>

!!chat
<<wikify {{'Alunos/'+localStorage.username+'/'+localStorage.projeto+'/chat.html'}}>>
<<wikify {{'<html><iframe src="Alunos/'+localStorage.username+'/'+localStorage.projeto+'/chat.html" width=500px height=500px></iframe></ht'+'ml>'}}>>

!!DD
<html><iframe src="http://www.dragondreaming.org/wp-content/uploads/DragonDreaming_eBook_portuguese_V02.06.pdf" width=900px, height=600px></iframe></html>

!!Inicial
{{center{__Projetos__}}}
Parte importante dos cursos a distanca sera seus projetos praticos. Voce vem planejar, implementar, relatar e avaliar. Isso acontecera aqui...logo!
!!newProjeto
Nota, para criar um projeto por o curso, o sistema criara uma pasta em sua pasta no sistema, com nome do projeto. Nesta pasta voce podem guardar documentos, foos, aldums dos fotos relevantes o projeto. Usamos o titulo do projeto como uma etiqueta (entao escola um titulo simples.... por exemplo __hortaEscolaMeu__...usando esta formato "wikiWord"). Isso permite que quando voce esta pesquisando, escivendo diarios ou notinhas, voce podem etiquetar eles com o titulo do projeto, e o sistema tem como selecionar esse material no contexto seu projeto.
<<option txtmeuProjeto>><script label="criar">var url="projetoNovo.php?projeto="+config.options.txtmeuProjeto+"%20username="+localStorage.username+"%20curso="+localStorage.curso;return '<script src="'+url+'"></'+'script>';</script>

!!end
%/
<script>
localStorage.leftMenu="Projetos";config.refreshers.content(document.getElementById("leftMenu"));localStorage.itemMenu="Projetos";
</script>
/%
!!leftMenu
{{center{__PROJETOS__<br>
__Geral__}}}
<script>
var out="";
var url="Projetos/projetos";
//return url;
var tids=getText(url);
//return tids;
tids=tids.split("#\n");
for (i=0;i<tids.length-1;i++)
{
out+='<script label="'+tids[i]+'">localStorage.projetoTipo="geral";localStorage.projeto="'+tids[i]+'";localStorage.leftMenu="ProjetoDocs";config.refreshers.content(document.getElementById("leftMenu"));</scr'+'ipt><br>';
}
return out;
</script>
{{center{__Curso__}}}
<script>
var out="";
var url="Cursos/"+localStorage.curso+"/projetos";
//return url;
var tids=getText(url);
//return tids;
tids=tids.split("#\n");
for (i=0;i<tids.length-1;i++)
{
out+='<script label="'+tids[i]+'">localStorage.projetoTipo="curso";localStorage.projeto="'+tids[i]+'";localStorage.leftMenu="ProjetoDocs";config.refreshers.content(document.getElementById("leftMenu"));</scr'+'ipt><br>';
}
return out;
</script>
{{center{__Particular__}}}
<script>
var out="";
var url="Alunos/"+localStorage.username+"/projetos";
//return url;
var tids=getText(url);
//return tids;
tids=tids.split("#\n");
for (i=0;i<tids.length-1;i++)
{
out+='<script label="'+tids[i]+'">localStorage.projetoTipo="aluno";localStorage.projeto="'+tids[i]+'";localStorage.leftMenu="ProjetoDocs";config.refreshers.content(document.getElementById("leftMenu"));</scr'+'ipt><br>';
}
return out;
</script>

!!Docs
{{center{''<<wikify {{localStorage.projeto}}>>''
__Documentos__}}}
<script>
var out="";
if(localStorage.projetoTipo=="aluno"){var url="Alunos/"+localStorage.username+"/"+localStorage.projeto;}
if(localStorage.projetoTipo=="curso"){var url="Cursos/"+localStorage.curso+"/"+localStorage.projeto;}
if(localStorage.projetoTipo=="geral"){var url="Cursos/"+localStorage.projeto;}
//return url;
var tids=getText(url);
//return tids;
tids=tids.split("#\n");
for (i=0;i<tids.length-1;i++)
{
var tidDet=tids[i].split("|");
out+='<script label="'+tidDet[0]+'">localStorage.tipo="'+tidDet[2]+'";localStorage.tag="'+tidDet[6]+'";localStorage.url="'+tidDet[9]+'";config.refreshers.content(document.getElementById("leftMenu"));config.refreshers.content(document.getElementById("topMenu"));;config.refreshers.content(document.getElementById("itemMenu"));</scr'+'ipt><br>';
}
return out;
</script>


!!itemMenu
<script>
var out="";
if(localStorage.tipo=="album"){out='<html><iframe src="Projetos/'+localStorage.projeto+'/'+localStorage.url+'" width=100% height=500px><iframe></ht'+'ml>';}
if(localStorage.tipo=="mapaMental"){out='<html><iframe src="Projetos/'+localStorage.projeto+'/'+localStorage.url+'.html" width=100% height=500px><iframe></ht'+'ml>';}
if(localStorage.tipo=="foto"){out='[img(900px,auto)[Projetos/'+localStorage.projeto+'/'+localStorage.url+']]';}
return out;
</script>

!!end
%/
[img[../Logos/mixlr.png]]
____
<script>config.options.mixlr_user_login="4fe2b6dc170e46c75bd6d50077382730392e94cc52a1f4daf0250984efa640396922072cbca1a0d0632b43c3df1ad8fb4f52f9eea23e8ad46149eb9a642cb56f::3814135";</script>
<html><iframe src="https://mixlr.com/users/3814135/embed" width="100%" height="180px" scrolling="no" frameborder="no" marginheight="0" marginwidth="0"></iframe><small><a href="http://mixlr.com/skyeriquelme" style="color:#1a1a1a;text-align:left; font-family:Helvetica, sans-serif; font-size:11px;"></a></small></html>
{{center{__Refs por <<wikify {{localStorage.tag}}>>__}}}
<script>
var out="";
var tag=localStorage.tag;
var file="bancoDados/"+tag;
//if(localStorage.fonte=="aluno"){var file="Alunos/"+localStorage.username+"/participacao";}
var tids=getText(file);
tids=tids.split("#\n");
for(i=0;i<tids.length-1;i++)
{
var tidDet=tids[i].split("|");
if(tidDet[2]=="pdf")
{
var link='<script label="'+tidDet[10]+'">localStorage.url="'+tidDet[10]+'";window.open("RefsWindow.html","'+tidDet[10]+'","width=800;height=600;toolbar=yes;scrollbars=yes;titlebar=yes;",true);</scr'+'ipt><<setIcon ../Logos/small_pdf.png size:40  notext>> - '+tidDet[0];
}

if(tidDet[2]=="html"){var icon="[img[../Logos/smallWebpage.png]]";
var link='<script label="'+tidDet[0]+'">localStorage.url="'+tidDet[10]+'";window.open("RefsWindow.html","_blank","width=800;height=600;toolbar=yes;scrollbars=yes;titlebar=yes;",true);</scri'+'pt>';}

if(tidDet[2]=="video"){var icon="[img[../Logos/film_small.png]]";
var link='<script label="'+tidDet[0]+'">localStorage.url="'+tidDet[10]+'";window.open("RefsWindo.html","Refs","width=500;height=350;toolbar=yes;scrollbars=yes;titlebar=yes;",true);</scri'+'pt>';}

out+=link+"<br>";
}
localStorage.tagLista=out;
return out;
</script>





<<wikify {{'<<tiddler RefsMenu##'+localStorage.refsMenu+'>'+'>'}}>>
/%

!!write
<<tiddler write##refsMenu>>

!!inicio
{{center{{{bold{Admin}}} }}} {{twocolumns{{{icon{<<showWhen 'localStorage.username=="Skye" || localStorage.username=="Ivone"'>>{{show{<script label="blogger">window.open('correja.html','_blank','right=20,top=20,width=900,height=500,toolbar=no,scrollbars=yes,titlebar=no',true);</script><<setIcon ../Logos/at.png "" text>>}}}
[[Aprendizagem]]<<setIcon ../Logos/student.png "" notext>> - creditos
<<showPopup tiddler:tools label:tools popupClass:sticky width:700px>><<setIcon ../Logos/tools.png "" notext>> - configs
{{icon{<<showWhen 'localStorage.username=="Skye"'>>{{show{<script label="adminSkye">window.open('XXMin/adminSkye.html','_blank','right=20,top=20,width=900,height=500,toolbar=no,scrollbars=yes,titlebar=no',true);</script><<setIcon ../Logos/configSkye.png "" text>>}}} <<showPopup tiddler:Clock width:200px label:HorariosFusarios>><<setIcon ../Logos/32intClocks.png "" notext>>}}} }}}
!!end
%/
[img[../Logos/Clock.png]]
____
<<tiddler Clock>>
/***
|Name|SetIconPlugin|
|Source|http://www.TiddlyTools.com/#SetIconPlugin|
|Documentation|http://www.TiddlyTools.com/#SetIconPluginInfo|
|Version|1.9.1|
|Author|Eric Shulman|
|License|http://www.TiddlyTools.com/#LegalStatements|
|~CoreVersion|2.3|
|Type|plugin|
|Description|add an image to a toolbar, macro, or slider link|
!!!!!Documentation
>see [[SetIconPluginInfo]]
!!!!!Configuration
<<<
<<option chkIconsShowImage>> show images on links
<<option chkIconsShowText>> include link text with images
default image style: {{stretch{<<option txtIconsCSS>>}}}
<<<
!!!!!Revisions
<<<
2011.10.02 1.9.1 use plain text instead of innerHTML for link tooltips
2011.10.02 1.9.0 added 'find:...' macro param (for use with tabsets)
| see [[SetIconPluginInfo]] for additional revision details |
2008.05.09 1.0.0 initial release (as inline script)
<<<
!!!!!Code
***/
//{{{
version.extensions.SetIconPlugin= {major: 1, minor: 9, revision: 1, date: new Date(2011,10,2)};

if (config.options.chkIconsShowImage===undefined)
	config.options.chkIconsShowImage=true;
if (config.options.chkIconsShowText===undefined)
	config.options.chkIconsShowText=true;
if (config.options.txtIconsCSS===undefined)
	config.options.txtIconsCSS="vertical-align:middle;width:auto;height:auto";

config.macros.setIcon = {
	handler: function(place,macroName,params,wikifier,paramString,tiddler) {
		if (!config.options.chkIconsShowImage) return; // text-only - do nothing
		var src=params[0]; if (!src) return;  // no image src specified - do nothing
		var p=paramString.parseParams('name',null,true,false,true);
		var label=getParam(p,'find'); if (label) params.shift(); // optional find:"..."
		var css=params[1]; if (!css||!css.length) css=config.options.txtIconsCSS;
		var after=params[2]&&params[2].toUpperCase()=="RIGHT";
		var notext=params[2]&&params[2].toUpperCase()=="NOTEXT";

		// find nearest link element
		var btn=place.lastChild; // look for sibling link
		while (btn && (btn.nodeName!="A" || label&&!btn.innerHTML.startsWith(label)))
			btn=btn.previousSibling;
		if (!btn) { // look for child link
			var links=place.getElementsByTagName("A");
			for (var i=links.length-1; i>=0; i--)
				if (!label || links[i].innerHTML.startsWith(label)) { btn=links[i]; break; }
		}
		if (!btn) { // look for parent link
			var btn=place.parentNode.lastChild;
			while (btn && (btn.nodeName!="A" || label&&!btn.innerHTML.startsWith(label)))
				btn=btn.previousSibling;
		}
		if (!btn) { // look for cousin link (e.g. TABS in TABSETS)
			var links=place.parentNode.getElementsByTagName("A");
			for (var i=links.length-1; i>=0; i--)
				if (!label || links[i].innerHTML.startsWith(label)) { btn=links[i]; alert('found'); break; }
		}
		if (!btn) return; // can't find a link - do nothing

		// set icon and command text/tip
		var txt=btn.innerHTML; var tip=getPlainText(btn);
		if (config.macros.attach && config.macros.attach.isAttachment(src))
			src=config.macros.attach.getAttachment(src); // retrieve attachment (if any)
		btn.innerHTML="<img src='"+src+"' style='"+css+"'>";
		if (config.options.chkIconsShowText && !notext)
			btn.innerHTML=after?txt+btn.innerHTML:btn.innerHTML+txt;
		else
			btn.title=tip+" - "+btn.title; // add text to tooltip

		// adjust nested slider button text/tip
		if (btn.getAttribute("closedtext")!=null) {
			btn.setAttribute("closedtext",btn.innerHTML);
			btn.setAttribute("openedtext",btn.innerHTML);
			if (!config.options.chkIconsShowText || notext) {
				btn.setAttribute("closedtip",txt.toUpperCase()+": "+btn.getAttribute("closedtip"));
				btn.setAttribute("openedtip",txt.toUpperCase()+": "+btn.getAttribute("openedtip"));
			}
		}
	}
};
//}}}
<<tiddler noticias>>
/***
|Name|[[ShowPopupPlugin]]|
|Source|http://www.TiddlyTools.com/#ShowPopupPlugin|
|Version|2.1.1|
|Author|Eric Shulman|
|License|http://www.TiddlyTools.com/#LegalStatements|
|~CoreVersion|2.1|
|Type|plugin|
|Description|display tiddler content in a TiddlyWiki popup panel|
!!!!!Documenatation
>see [[ShowPopupPluginInfo]]
!!!!!Revisions
<<<
2011.03.13 2.1.1 in click(), removed check for popup already shown (prevents nested popups!)
| Please see [[ShowPopupPluginInfo]] for previous revision details |
2006.09.09 1.0.0 initial release (transclusion)
<<<
!!!!!Code
***/
//{{{
version.extensions.ShowPopupPlugin=
	{ major:2, minor:1, revision:1, date:new Date(2011,3,13) };
config.macros.showPopup = {
	tip: 'display "%0" in a popup',
	init: function() {
		config.shadowTiddlers.ShowPopup =
			'<<showPopup tiddler:[[$1]] label:"$2" tip:"$3" buttonClass:"button $4" width:"$5" popupClass:"$6" "$7">>';
		config.annotations.ShowPopup =
			'created by ShowPopupPlugin';
	},
	handler: function(place,macroName,params,wikifier,paramString,tiddler) {
		var p=paramString.parseParams('name',null,true,false,true);
		var tid=getParam(p,'tiddler','TiddlerName');
		var label=getParam(p,'label',tid);
		var tip=getParam(p,'tip',this.tip.format([tid]));
		var buttonClass=getParam(p,'buttonClass','');
		var width=getParam(p,'width','auto');
		var popupClass=getParam(p,'popupClass','');
		var above=params.contains('above');
		var mouseover=params.contains('mouseover');
		var b=createTiddlyButton(place, label, tip, this.click, buttonClass, null, null,
			{ tid:tid, popupClass:popupClass, width:width, above:above });
		b.innerHTML=label; // render HTML for entities, images, etc
		if (mouseover) b.onmouseover=b.onclick;  // option: mouseover triggers click
	},
	click: function(ev) { var ev=ev||window.event;
		// DISABLED if (Popup.find(this)!=-1)return false; // popup already shown!
		var p=Popup.create(this); if(!p)return false; // popup not created!
		addClass(p,this.getAttribute('popupClass'));
		var d=createTiddlyElement(p,'div');
		var s=d.style; s.whiteSpace='normal'; s.width=this.getAttribute('width'); s.padding='2px';
		wikify(store.getTiddlerText(this.getAttribute('tid'),''),d);
		if (this.getAttribute('above')!='true') Popup.show();
		else Popup.show('top','left',{x:0,y:-jQuery(d).outerHeight()});
		ev.cancelBubble=true; if(ev.stopPropagation)ev.stopPropagation(); return false;
	}
}
//}}}
/***
|Name|SimpleMessagePlugin|
|Version|0.1|
|Author|Michael Mahemoff, Osmosoft|
|''License:''|[[BSD open source license]]|
|~CoreVersion|2.2|
***/

/*{{{*/
(function() {
if(!version.extensions.SimpleMessagePlugin) {

  version.extensions.SimpleMessagePlugin = {installed:true};
  version.extensions.SimpleMessagePlugin.delay = 3000;
  
  var timer;

  var _displayMessage = displayMessage;
  displayMessage = function() {
    if (timer) {
      timer=null;
      clearTimeout(timer);
    }
    timer = setTimeout(clearMessage, version.extensions.SimpleMessagePlugin.delay);
    _displayMessage.apply(this, arguments);
  }

  var _clearMessage = clearMessage;
  clearMessage = function() {
    clearTimeout(timer);
    return _clearMessage.apply(this, arguments);
  }

} // end of 'install only once'
})();
/*}}}*/
/***
|Name|SinglePageModePlugin|
|Source|http://www.TiddlyTools.com/#SinglePageModePlugin|
|Documentation|http://www.TiddlyTools.com/#SinglePageModePluginInfo|
|Version|2.9.7|
|Author|Eric Shulman|
|License|http://www.TiddlyTools.com/#LegalStatements|
|~CoreVersion|2.1|
|Type|plugin|
|Description|Show tiddlers one at a time with automatic permalink, or always open tiddlers at top/bottom of page.|
This plugin allows you to configure TiddlyWiki to navigate more like a traditional multipage web site with only one tiddler displayed at a time.
!!!!!Documentation
>see [[SinglePageModePluginInfo]]
!!!!!Configuration
<<<
<<option chkSinglePageMode>> Display one tiddler at a time
><<option chkSinglePagePermalink>> Automatically permalink current tiddler
><<option chkSinglePageKeepFoldedTiddlers>> Don't close tiddlers that are folded
><<option chkSinglePageKeepEditedTiddlers>> Don't close tiddlers that are being edited
<<option chkTopOfPageMode>> Open tiddlers at the top of the page
<<option chkBottomOfPageMode>> Open tiddlers at the bottom of the page
<<option chkSinglePageAutoScroll>> Automatically scroll tiddler into view (if needed)

Notes:
* The "display one tiddler at a time" option can also be //temporarily// set/reset by including a 'paramifier' in the document URL: {{{#SPM:true}}} or {{{#SPM:false}}}.
* If more than one display mode is selected, 'one at a time' display takes precedence over both 'top' and 'bottom' settings, and if 'one at a time' setting is not used, 'top of page' takes precedence over 'bottom of page'.
* When using Apple's Safari browser, automatically setting the permalink causes an error and is disabled.
<<<
!!!!!Revisions
<<<
2010.11.30 2.9.7 use story.getTiddler()
2008.10.17 2.9.6 changed chkSinglePageAutoScroll default to false
| Please see [[SinglePageModePluginInfo]] for previous revision details |
2005.08.15 1.0.0 Initial Release.  Support for BACK/FORWARD buttons adapted from code developed by Clint Checketts.
<<<
!!!!!Code
***/
//{{{
version.extensions.SinglePageModePlugin= {major: 2, minor: 9, revision: 7, date: new Date(2010,11,30)};
//}}}
//{{{
config.paramifiers.SPM = { onstart: function(v) {
	config.options.chkSinglePageMode=eval(v);
	if (config.options.chkSinglePageMode && config.options.chkSinglePagePermalink && !config.browser.isSafari) {
		config.lastURL = window.location.hash;
		if (!config.SPMTimer) config.SPMTimer=window.setInterval(function() {checkLastURL();},1000);
	}
} };
//}}}
//{{{
if (config.options.chkSinglePageMode==undefined)
	config.options.chkSinglePageMode=false;
if (config.options.chkSinglePagePermalink==undefined)
	config.options.chkSinglePagePermalink=true;
if (config.options.chkSinglePageKeepFoldedTiddlers==undefined)
	config.options.chkSinglePageKeepFoldedTiddlers=false;
if (config.options.chkSinglePageKeepEditedTiddlers==undefined)
	config.options.chkSinglePageKeepEditedTiddlers=false;
if (config.options.chkTopOfPageMode==undefined)
	config.options.chkTopOfPageMode=false;
if (config.options.chkBottomOfPageMode==undefined)
	config.options.chkBottomOfPageMode=false;
if (config.options.chkSinglePageAutoScroll==undefined)
	config.options.chkSinglePageAutoScroll=false;
//}}}
//{{{
config.SPMTimer = 0;
config.lastURL = window.location.hash;
function checkLastURL()
{
	if (!config.options.chkSinglePageMode)
		{ window.clearInterval(config.SPMTimer); config.SPMTimer=0; return; }
	if (config.lastURL == window.location.hash) return; // no change in hash
	var tids=decodeURIComponent(window.location.hash.substr(1)).readBracketedList();
	if (tids.length==1) // permalink (single tiddler in URL)
		story.displayTiddler(null,tids[0]);
	else { // restore permaview or default view
		config.lastURL = window.location.hash;
		if (!tids.length) tids=store.getTiddlerText("DefaultTiddlers").readBracketedList();
		story.closeAllTiddlers();
		story.displayTiddlers(null,tids);
	}
}


if (Story.prototype.SPM_coreDisplayTiddler==undefined)
	Story.prototype.SPM_coreDisplayTiddler=Story.prototype.displayTiddler;
Story.prototype.displayTiddler = function(srcElement,tiddler,template,animate,slowly)
{
	var title=(tiddler instanceof Tiddler)?tiddler.title:tiddler;
	var tiddlerElem=story.getTiddler(title); // ==null unless tiddler is already displayed
	var opt=config.options;
	var single=opt.chkSinglePageMode && !startingUp;
	var top=opt.chkTopOfPageMode && !startingUp;
	var bottom=opt.chkBottomOfPageMode && !startingUp;
	if (single) {
		story.forEachTiddler(function(tid,elem) {
			// skip current tiddler and, optionally, tiddlers that are folded.
			if (	tid==title
				|| (opt.chkSinglePageKeepFoldedTiddlers && elem.getAttribute("folded")=="true"))
				return;
			// if a tiddler is being edited, ask before closing
			if (elem.getAttribute("dirty")=="true") {
				if (opt.chkSinglePageKeepEditedTiddlers) return;
				// if tiddler to be displayed is already shown, then leave active tiddler editor as is
				// (occurs when switching between view and edit modes)
				if (tiddlerElem) return;
				// otherwise, ask for permission
				var msg="'"+tid+"' is currently being edited.\n\n";
				msg+="Press OK to save and close this tiddler\nor press Cancel to leave it opened";
				if (!confirm(msg)) return; else story.saveTiddler(tid);
			}
			story.closeTiddler(tid);
		});
	}
	else if (top)
		arguments[0]=null;
	else if (bottom)
		arguments[0]="bottom";
	if (single && opt.chkSinglePagePermalink && !config.browser.isSafari) {
		window.location.hash = encodeURIComponent(String.encodeTiddlyLink(title));
		config.lastURL = window.location.hash;
		document.title = wikifyPlain("SiteTitle") + " - " + title;
		if (!config.SPMTimer) config.SPMTimer=window.setInterval(function() {checkLastURL();},1000);
	}
	if (tiddlerElem && tiddlerElem.getAttribute("dirty")=="true") { // editing... move tiddler without re-rendering
		var isTopTiddler=(tiddlerElem.previousSibling==null);
		if (!isTopTiddler && (single || top))
			tiddlerElem.parentNode.insertBefore(tiddlerElem,tiddlerElem.parentNode.firstChild);
		else if (bottom)
			tiddlerElem.parentNode.insertBefore(tiddlerElem,null);
		else this.SPM_coreDisplayTiddler.apply(this,arguments); // let CORE render tiddler
	} else
		this.SPM_coreDisplayTiddler.apply(this,arguments); // let CORE render tiddler
	var tiddlerElem=story.getTiddler(title);
	if (tiddlerElem&&opt.chkSinglePageAutoScroll) {
		// scroll to top of page or top of tiddler
		var isTopTiddler=(tiddlerElem.previousSibling==null);
		var yPos=isTopTiddler?0:ensureVisible(tiddlerElem);
		// if animating, defer scroll until after animation completes
		var delay=opt.chkAnimate?config.animDuration+10:0;
		setTimeout("window.scrollTo(0,"+yPos+")",delay); 
	}
}

if (Story.prototype.SPM_coreDisplayTiddlers==undefined)
	Story.prototype.SPM_coreDisplayTiddlers=Story.prototype.displayTiddlers;
Story.prototype.displayTiddlers = function() {
	// suspend single/top/bottom modes when showing multiple tiddlers
	var opt=config.options;
	var saveSPM=opt.chkSinglePageMode; opt.chkSinglePageMode=false;
	var saveTPM=opt.chkTopOfPageMode; opt.chkTopOfPageMode=false;
	var saveBPM=opt.chkBottomOfPageMode; opt.chkBottomOfPageMode=false;
	this.SPM_coreDisplayTiddlers.apply(this,arguments);
	opt.chkBottomOfPageMode=saveBPM;
	opt.chkTopOfPageMode=saveTPM;
	opt.chkSinglePageMode=saveSPM;
}
//}}}

/***
|Name|StickyPopupPlugin|
|Source|http://www.TiddlyTools.com/#StickyPopupPlugin|
|Version|1.0.1|
|Author|Eric Shulman|
|License|http://www.TiddlyTools.com/#LegalStatements|
|~CoreVersion|2.1|
|Type|plugin|
|Description|allow mouse interactions inside popups without automatically closing them|
Usually, when a TW popup is displayed, it is automatically closed whenever a click occurs //anywhere// in the document, either //inside// or //outside// the popup itself.  This plugin makes popups persistent (a.k.a, "sticky"), allowing you to perform multiple mouse interactions on content //inside// the popup (e.g., entering form fields, opening links, selecting text, etc.), remaining visible until you click //outside// the popup or perform an action that opens another popup (only one popup can be displayed at any given time).
!!!!!Configuration
<<<
You can cause popups to behave in a persistent ("sticky") manner simply by selecting the option checkbox below.  The selected popup display behavior will be applied to ALL popups in the document automatically.
><<option chkStickyPopups>> make all popups "sticky"
>{{{usage: <<option chkStickyPopups>>}}}
<<<
!!!!!Usage
<<<
If you are developing your own plugins or inline scripts that create popups programmatically using the core function:
{{{
Popup.create(this)
}}}
you can provide additional parameters that specify the desired CSS classname(s) to assign to the popup DOM element.  The default class when none is specified is simply "popup".  To create a //sticky// popup, simply enter a custom class combination like this:
{{{
Popup.create(this,null,"sticky popup")
}}}
<<<
!!!!!Revisions
<<<
2008.05.16 [1.0.1] added try..catch around addEvent/removeEvent calls to avoid error in Opera
2007.11.25 [1.0.0] initial release - moved from [[CoreTweaks]]
<<<
!!!!!Code
***/
//{{{
version.extensions.StickyPopupPlugin= {major: 1, minor: 0, revision: 1, date: new Date(2008,5,16)};

if (config.options.chkStickyPopups==undefined) config.options.chkStickyPopups=false;

Popup.stickyPopup_onDocumentClick = function(ev)
{
	// if click is in a sticky popup, ignore it so popup will remain visible
	var e = ev ? ev : window.event; var target = resolveTarget(e);
	var p=target; while (p) {
		if (hasClass(p,"popup") && (hasClass(p,"sticky")||config.options.chkStickyPopups)) break;
		else p=p.parentNode;
	}
	if (!p) // not in sticky popup (or sticky popups disabled)... use normal click handling
		Popup.onDocumentClick(ev);
	return true;
};
try{removeEvent(document,"click",Popup.onDocumentClick);}catch(e){};
try{addEvent(document,"click",Popup.stickyPopup_onDocumentClick);}catch(e){};
//}}}
body {font-family: Helvetica;color:#694D17;background-color:#FFE87F;}
a {color:brown;}
a:hover {background-color:transparent; color:red;}
.viewer .button {border:0px solid transparent;}

.txtOptionInput {width:10em; height:11px;font-size:.65em;}

#contentWrapper {margin:5px auto;background-color:#FFE87F; width:1200px;}
#topMenu{position:relative;width:260px;left:0px;top:-20px;height:82px;background-color:#DBB05D;border-style:solid;border-color:russet;border-width:1px 3px 3px 1px;border-radius: 20px 20px 20px 20px;}

#titleMenu {position:absolute;left:350px;width:400px;height:50px;top:15px;z-index:20;}
#logoMenu {position:absolute;left:1000px;width:200px;height:70px;top:-5px;opacity:0.0;}
#barraMenu {position:absolute; width:500px;top:60px;left:330px; height:20px;}

#infoMenu {position:absolute;top:2px;left:930px;width:24px;height:24px;z-index:40;opacity:0.5;overflow:auto;}
#noticiasMenu {position:absolute;top:2px;left:900px;width:24px;height:24px;z-index:40;opacity:0.5;overflow:auto;}
#batepapoMenu {position:absolute;top:2px;left:870px;width:24px;height:24px;z-index:40;opacity:0.5;overflow:auto;}
#notesMenu {position:absolute;top:2px;left:840px;width:24px;height:20px;z-index:40;opacity:0.5;overflow:auto;}
#messengerMenu {position:absolute;top:2px;left:810px;width:24px;height:24px;z-index:40;opacity:0.5;overflow:auto;}
#alunosMenu {position:absolute;top:2px;left:780px;width:24px;height:24px;z-index:40;opacity:0.5;overflow:auto;}
#radioMenu {position:absolute;top:2px;left:750px;width:24px;height:24px;z-index:40;opacity:0.5;overflow:auto;}
#miscMenu {position:absolute;top:2px;left:720px;width:24px;height:24px;z-index:40;opacity:0.5;overflow:auto;}
#projetoMenu {position:absolute;top:2px;left:680px;width:24px;height:24px;z-index:40;opacity:0.5;overflow:auto;}
#forumMenu {position:absolute;top:2px;left:650px;width:24px;height:24px;z-index:40;opacity:0.5;overflow:auto;}
#apresentaMenu {position:absolute;top:2px;left:620px;width:24px;height:24px;z-index:40;opacity:0.5;overflow:auto;}
#estudandoMenu {position:absolute;top:2px;left:590px;width:24px;height:24px;z-index:40;opacity:0.5;overflow:auto;}
#tagsMenu {position:absolute;top:2px;left:560px;width:24px;height:24px;z-index:40;opacity:0.5;overflow:auto;}
#midiaMenu {position:absolute;top:2px;left:530px;width:24px;height:24px;z-index:40;opacity:0.5;overflow:auto;}
#emailMenu {position:absolute;top:2px;left:490px;width:24px;height:24px;z-index:40;opacity:0.5;overflow:auto;}
#drivesMenu {position:absolute;top:2px;left:460px;width:30px;height:24px;z-index:40;opacity:0.5;overflow:auto;}
#calendarMenu {position:absolute;top:2px;left:430px;width:24px;height:24px;z-index:40;opacity:0.5;overflow:auto;}
#relogMenu {position:absolute;top:2px;left:400px;width:24px;height:24px;z-index:40;opacity:0.5;overflow:auto;}
#adminMenu {position:absolute;top:2px;left:370px;width:24px;height:24px;z-index:40;opacity:0.5;overflow:auto;}
#homeMenu {position:absolute;top:2px;left:340px;width:24px;height:24px;z-index:40;opacity:0.5;overflow:auto;}

#loginMenu {position:absolute;top:2px;left:300px;width:24px;height:24px;z-index:40;opacity:0.5;overflow:auto;}

#infoMenu:hover {width:820px;height:500px;left:350px;background-color:#FFD47F;opacity:0.9;solid;border-color:brown;border-width:1px 3px 3px 1px;border-radius: 20px;}
#projetoMenu:hover {width:600px;height:800px;left:550px;background-color:#FFD47F;opacity:0.9;solid;border-color:brown;border-width:1px 3px 3px 1px;border-radius: 20px;}
#calendarMenu:hover {width:180px;height:100px;z-index:40;background-color:#DBB05D;border-style:solid;border-color:russet;border-width:1px 3px 3px 1px;border-radius: 20px 20px 20px 20px;opacity:0.95;}
#drivesMenu:hover {width:40px;height:300px;opacity:1;z-index:40;solid;border-color:brown;border-width:1px 3px 3px 1px;border-radius: 20px;}
#notesMenu:hover {width:40px;height:340px;solid;border-color:brown;border-width:1px 3px 3px 1px;border-radius: 20px;opacity:1;}
#messengerMenu:hover {width:36px;height:300px;solid;border-color:brown;border-width:1px 3px 3px 1px;border-radius: 20px;opacity:1;}
#emailMenu:hover {width:420px;height:300px;background-color:#FFD47F;opacity:0.9;solid;border-color:brown;border-width:1px 3px 3px 1px;border-radius: 20px;}
#adminMenu:hover {width:36px;height:300px;opacity:1;solid;border-color:brown;border-width:1px 3px 3px 1px;border-radius: 20px;}
#apresentaMenu:hover {width:200px;height:400px;background-color:#DBB05D;border-style:solid;border-color:russet;border-width:1px 3px 3px 1px;border-radius: 20px 20px 20px 20px;opacity:0.9;solid;border-color:brown;border-width:1px 3px 3px 1px;border-radius: 20px;}
#radioMenu:hover {width:420px;height:240px;background-color:#FFD47F;opacity:0.9;solid;border-color:brown;border-width:1px 3px 3px 1px;border-radius: 20px;}
#miscMenu:hover {width:36px;height:300px;opacity:1;solid;border-color:brown;border-width:1px 3px 3px 1px;border-radius: 20px;}
#relogMenu:hover {width:170px;height:220px;opacity:1;solid;border-color:brown;border-width:1px 3px 3px 1px;border-radius: 20px;}
#estudandoMenu:hover {width:170px;height:200px;background-color:#DBB05D;border-style:solid;border-color:russet;border-width:1px 3px 3px 1px;border-radius: 20px 20px 20px 20px;opacity:0.9;solid;border-color:brown;border-width:1px 3px 3px 1px;border-radius: 20px;}
#midiaMenu:hover {width:120px;height:120px;background-color:#DBB05D;border-style:solid;border-color:russet;border-width:1px 3px 3px 1px;border-radius: 20px 20px 20px 20px;opacity:0.9;solid;border-color:brown;border-width:1px 3px 3px 1px;border-radius: 20px;}
#alunosMenu:hover {width:900px;height:500px;left:200px;background-color:#DBB05D;border-style:solid;border-color:russet;border-width:1px 3px 3px 1px;border-radius: 20px 20px 20px 20px;opacity:0.9;solid;border-color:brown;border-width:1px 3px 3px 1px;border-radius: 20px;}
#tagsMenu:hover {width:60px;height:80px;background-color:#FFD47F;opacity:0.9;solid;border-color:brown;border-width:1px 3px 3px 1px;border-radius: 20px;}
#homeMenu:hover {width:30px;height:30px;background-color:#FFD47F;opacity:0.9;solid;border-color:brown;border-width:1px 3px 3px 1px;border-radius: 20px;}
#logoMenu:hover {background-color:#DBB05D;border-style:solid;border-color:russet;border-width:1px 3px 3px 1px;border-radius: 20px 20px 20px 20px;opacity:0.9;}

.popup {background-color:#FFD47F; color:brown; width:auto; height:auto;border-style:solid;border-radius:1em;padding:5px 5px 5px 5px;}
.popup a:link {color:brown;fonte-weight:bold;border-width:0px;}
.opaque {border-style:solid;border-color:brown;border-width:1px 3px 3px 1px;border-radius: 20px;opacity:.7;background-color:beige;}
.alert {border-style:solid;border-color:brown;border-width:1px 3px 3px 1px;border-radius: 20px;opacity:.0;background-color:yellow;}

.icon {background:transparent;border:none;}

.player (width:100px;}


.header { background-color: #edead5;  height: 50px;left:150px; top:-50px;}
.tiddlyLinkExisting .tiddlyLink {color:red;}
.externalLink {color:red;} 

.button {color:transparent; }
.button:hover {color:[[ColorPalette::PrimaryDark]]; background:transparent; }
.button:active {color:[[ColorPalette::Background]]; background:transparent;}

#backstageButton a {background:none; color:transparent; border:none;}
#backstageButton a:hover {background:yellow; color:orange; border:none;}

[[StyleSheetAdjustments]]
[[StyleSheetShortcuts]]
/***
|Name|StyleSheetAdjustments|
|Source|http://www.TiddlyTools.com/#StyleSheetAdjustments|
|Version||
|Author|Eric Shulman|
|License|http://www.TiddlyTools.com/#LegalStatements|
|~CoreVersion|2.1|
|Type|CSS|
|Description|adjust TiddlyWiki default shadow stylesheets definitions|
***/

[[StyleSheetPlugins]] /* include adjustments to plugin-supplied definitions */
[[StyleSheetShortcuts]] /* include formatting "shortcut" definitions */
[[Jash.css]] /* Javascript Shell (jash) Styles */

/***
These 'style tweaks' can be easily included in other stylesheet tiddler so they can share a baseline look-and-feel that can then be customized to create a wide variety of 'flavors'.
/***
!body /%==================================================%/
IE needs explicit "position:static" declaration (fixes 'partial background display bug')
***/
/*{{{*/
body { font-family: Verdana,Arial,Helvetica; position:static; }
/*}}}*/

/***
!backstage /%==================================================%/
fix for bug #347/#349, wherein backstageCloak covers backstagePanel whenever fixed elements are present
***/
/*{{{*/
#backstageCloak { z-index:49; }
#backstagePanel { margin:0em 0.5em 0em 0.5em; } 
#backstageButton a:hover
	{background-color:transparent !important;}

/*}}}*/

/***
!common colors /%==================================================%/
***/
/*{{{*/
/* these seem to have been omitted from the core defaults for link styles */
a { color:#014; }
a:hover	{ color:#def; }
/*}}}*/

/***
!HTML forms /%==================================================%/
***/
/*{{{*/
/* eliminate whitespace before/after form controls */
form { margin:0;padding:0; }
/*}}}*/

/***
!basic styling /%==================================================%/
***/
/*{{{*/
/* reduce whitespace before/after horizontal rule */
hr { margin:2px 0 1px 0;padding:0; }
/*}}}*/

/***
!header and titles /%==================================================%/
IE needs explicit "position:static" declaration (fixes 'background display hides text bug')
***/
/*{{{*/
.header
	{ background:transparent; padding:.2em 1em; position:static; margin-bottom:.5em; }
.headerShadow, .headerForeground
	{ padding:.5em; }
.header a, .header .button, .header .tiddlyLinkExisting, .header .tiddlyLinkNonExisting
	{ font-weight: normal; }
.header .externalLink,
.siteSubtitle a, .siteSubtitle .button, .siteSubtitle .tiddlyLinkExisting, .siteSubtitle .tiddlyLinkNonExisting
	{ text-decoration:none; }
.header table
	{ border-collapse: collapse !important; }

/*}}}*/

/***
!displayArea /%==================================================%/
***/
/*{{{*/
#displayArea
	{ margin:0em 17em 0em 11em; }
/*}}}*/


/***
!popups /%==================================================%/
white-space:nowrap prevents items from wrapping if popup is near right edge of window
z-index:1000 makes sure popup is above EVERYTHING else
***/
/*{{{*/
.popup
	{ white-space: nowrap; z-index:1000; color: #000; background: #ffe; border: 1px solid #000;
		-moz-border-radius-topright: 5px; -moz-border-radius-bottomleft: 5px; -moz-border-radius-bottomright: 5px;
		-webkit-border-top-right-radius: 5px; -webkit-border-bottom-left-radius: 5px; -webkit-border-bottom-right-radius: 5px; }
.popup a, .popup .button, .popup .tiddlyLinkExisting, .popup .tiddlyLinkNonExisting
	{ font-weight: normal; font-style: normal; }
.popup hr
	{ color: #000; background: #ddd; border: 0; }
.popup li.disabled
	{ color: #999; }
.popup li a, .popup li a:visited
	{ color: #300; padding:1px; }
.popup li a:hover
	{ background: #006; color: #fff !important;}
/*}}}*/

/***
!messageArea /%==================================================%/
***/
/*{{{*/
#messageArea
	{ font-size:90%; -moz-border-radius:1em;-webkit-border-radius:1em; background:#eee; }
/*}}}*/

/***
!main menu (left sidebar) /%==================================================%/
***/
/*{{{*/
#mainMenu
	{ z-index:1; width:9em; text-align:left; margin:0; margin-left:1.5em; padding:0; clear:both; }
*[id="mainMenu"] /* moz browsers only */
	{ width:auto !important; } 
/*}}}*/

/***
!sidebar (right sidebar) /%==================================================%/
***/
/*{{{*/
#sidebar
	{ width:18em; margin-right:1em; clear:both; }
#sidebarTabs .tab
	{ font-size:90%; -moz-border-radius-topleft:.5em; -moz-border-radius-topright:.5em;
		-webkit-border-top-left-radius:.5em; -webkit-border-top-right-radius:.5em; }
#sidebarTabs .tabContents
	{ background:transparent; border:1px solid #999; padding:.5em; height:auto; overflow:auto; width:92.5%; }
#sidebarTabs .tabContents .tabContents
	{ background:transparent; border:1px solid #999; padding:.5em; height:auto; }
#sidebarOptions input[type="text"]
	{ font-size:8pt; }
}
*/
/*}}}*/

/***
!tabs /%==================================================%/
***/
/*{{{*/
.tabset
	{ padding: 0.2em 0 0 0; }
.tab
	{ padding:0 1px 0 1px; }
.viewer .tab
	{ padding:0 .5em 0 .5em; }
.tabSelected
	{ border: 1px solid; border-bottom: 0px !important; margin-bottom:-2px !important;
		 -moz-border-radius-topleft:.5em; -moz-border-radius-topright:.5em;
		 -webkit-border-top-left-radius:.5em; -webkit-border-top-right-radius:.5em;}
.tabUnselected
	{ border: 1px solid #999; border-bottom:0px;
		-moz-border-radius-topleft:.5em; -moz-border-radius-topright:.5em;
		-webkit-border-top-left-radius:.5em; -webkit-border-top-right-radius:.5em;}
.tabContents
	{ border: 1px solid; -moz-border-radius:1em;-webkit-border-radius:1em; padding: 1em; }
/*}}}*/

/***
!tiddler display elements /%==================================================%/
***/
/*{{{*/
.tiddler { padding: 0 1em 1em 1em; }
.annotation {
	border: 1px solid;
	-moz-border-radius:.5em;
	-webkit-border-radius:.5em;
	margin: .5em 0;
	padding: .2em .5em;
	font-size:90%;
}
.button, .button:hover, .button:active,
.viewer .button, .viewer .button:hover, .viewer .button:active
	{ background:transparent; border:0; }
.toolbar
	{ float:right; display:inline; padding-bottom:0; visibility:hidden; }
.selected .toolbar
	{ visibility:visible; }
.toolbar .floatingPanel
	{ visibility:visible !important; } /* make sure floating panels from toolbars don't disappear on mouseout */
.toolbar .button, .toolbar a
	{ background:transparent; margin:0px 1px; padding:0px .2em; -moz-border-radius:.5em;-webkit-border-radius:.5em; }
.toolbar
	{color:[[ColorPalette::TertiaryLight]];}
.toolbar a
	{color:[[ColorPalette::TertiaryLight]];}
.selected .toolbar
	{color:[[ColorPalette::Foreground]];}
.selected .toolbar, .selected .toolbar .button, .selected .toolbar a
	{ color:#006; }
.toolbar .button:hover, .toolbar a:hover
	{ border:1px solid #69c !important; background:#006 !important; color:#fff !important; }
.shadow .tagging, .shadow .tagged
	{ display:none; }
.tagging, .tagged
	{ background-color: #ccc; border: 1px solid; }
.selected .tagging, .selected .tagged
	{ background-color:#eee; border: 1px solid #999; }
.tagging, .tagged
	{ -moz-border-radius:1em;-webkit-border-radius:1em; }
.subtitle
	{ font-size:90%; }
.shadow input, .shadow textarea, .shadow button, .shadow checkbox, .shadow radio, .shadow select
	{ font-size:90%; }
.shadow input, .shadow textarea, .shadow button, .shadow checkbox, .shadow radio, .shadow select
	{ font-size:90%; }
.editor input
	{ font-size: 8pt;}
.editor textarea
	{ font-size: 8pt; font-family:monospace; }
.editor select
	{ font-size: 8pt; border:1px solid; }
.title
	{ font-size: 12pt; line-height:120%; }
.viewer
	{ font-size: 9pt; padding: 0.7em; text-align:justify; }
.viewer pre, .viewer code, .viewer blockquote
	{ font-size:8pt; text-align:left; }
.viewer pre 
	{ background:transparent; border:1px solid; }
.viewer table, .viewer table tr, .viewer table td
	{ border:1px solid; }
.viewer hr {
	margin: 1px; padding:1px;
	border:0;
	border-top: solid 1px #666;
	color: #666;
}
.viewer blockquote {
	line-height: 1.5em;
	padding-left: 1em;
	margin-left: 1em;
	border-left: 1px dotted;
}
/*}}}*/
/*{{{*/
body {background:[[ColorPalette::Background]]; color:[[ColorPalette::Foreground]];}

a {color:[[ColorPalette::PrimaryMid]];}
a:hover {background-color:[[ColorPalette::PrimaryMid]]; color:[[ColorPalette::Background]];}
a img {border:0;}

h1,h2,h3,h4,h5,h6 {color:[[ColorPalette::SecondaryDark]]; background:transparent;}
h1 {border-bottom:2px solid [[ColorPalette::TertiaryLight]];}
h2,h3 {border-bottom:1px solid [[ColorPalette::TertiaryLight]];}

.button {color:[[ColorPalette::PrimaryDark]]; border:1px solid [[ColorPalette::Background]];}
.button:hover {color:[[ColorPalette::PrimaryDark]]; background:[[ColorPalette::SecondaryLight]]; border-color:[[ColorPalette::SecondaryMid]];}
.button:active {color:[[ColorPalette::Background]]; background:[[ColorPalette::SecondaryMid]]; border:1px solid [[ColorPalette::SecondaryDark]];}

.header {background:[[ColorPalette::PrimaryMid]];}
.headerShadow {color:[[ColorPalette::Foreground]];}
.headerShadow a {font-weight:normal; color:[[ColorPalette::Foreground]];}
.headerForeground {color:[[ColorPalette::Background]];}
.headerForeground a {font-weight:normal; color:[[ColorPalette::PrimaryPale]];}

.tabSelected {color:[[ColorPalette::PrimaryDark]];
	background:[[ColorPalette::TertiaryPale]];
	border-left:1px solid [[ColorPalette::TertiaryLight]];
	border-top:1px solid [[ColorPalette::TertiaryLight]];
	border-right:1px solid [[ColorPalette::TertiaryLight]];
}
.tabUnselected {color:[[ColorPalette::Background]]; background:[[ColorPalette::TertiaryMid]];}
.tabContents {color:[[ColorPalette::PrimaryDark]]; background:[[ColorPalette::TertiaryPale]]; border:1px solid [[ColorPalette::TertiaryLight]];}
.tabContents .button {border:0;}

#sidebar {}
#sidebarOptions input {border:1px solid [[ColorPalette::PrimaryMid]];}
#sidebarOptions .sliderPanel {background:[[ColorPalette::PrimaryPale]];}
#sidebarOptions .sliderPanel a {border:none;color:[[ColorPalette::PrimaryMid]];}
#sidebarOptions .sliderPanel a:hover {color:[[ColorPalette::Background]]; background:[[ColorPalette::PrimaryMid]];}
#sidebarOptions .sliderPanel a:active {color:[[ColorPalette::PrimaryMid]]; background:[[ColorPalette::Background]];}

.wizard {background:[[ColorPalette::PrimaryPale]]; border:1px solid [[ColorPalette::PrimaryMid]];}
.wizard h1 {color:[[ColorPalette::PrimaryDark]]; border:none;}
.wizard h2 {color:[[ColorPalette::Foreground]]; border:none;}
.wizardStep {background:[[ColorPalette::Background]]; color:[[ColorPalette::Foreground]];
	border:1px solid [[ColorPalette::PrimaryMid]];}
.wizardStep.wizardStepDone {background:[[ColorPalette::TertiaryLight]];}
.wizardFooter {background:[[ColorPalette::PrimaryPale]];}
.wizardFooter .status {background:[[ColorPalette::PrimaryDark]]; color:[[ColorPalette::Background]];}
.wizard .button {color:[[ColorPalette::Foreground]]; background:[[ColorPalette::SecondaryLight]]; border: 1px solid;
	border-color:[[ColorPalette::SecondaryPale]] [[ColorPalette::SecondaryDark]] [[ColorPalette::SecondaryDark]] [[ColorPalette::SecondaryPale]];}
.wizard .button:hover {color:[[ColorPalette::Foreground]]; background:[[ColorPalette::Background]];}
.wizard .button:active {color:[[ColorPalette::Background]]; background:[[ColorPalette::Foreground]]; border: 1px solid;
	border-color:[[ColorPalette::PrimaryDark]] [[ColorPalette::PrimaryPale]] [[ColorPalette::PrimaryPale]] [[ColorPalette::PrimaryDark]];}

.wizard .notChanged {background:transparent;}
.wizard .changedLocally {background:#80ff80;}
.wizard .changedServer {background:#8080ff;}
.wizard .changedBoth {background:#ff8080;}
.wizard .notFound {background:#ffff80;}
.wizard .putToServer {background:#ff80ff;}
.wizard .gotFromServer {background:#80ffff;}

#messageArea {border:1px solid [[ColorPalette::SecondaryMid]]; background:[[ColorPalette::SecondaryLight]]; color:[[ColorPalette::Foreground]];}
#messageArea .button {color:[[ColorPalette::PrimaryMid]]; background:[[ColorPalette::SecondaryPale]]; border:none;}

.popupTiddler {background:[[ColorPalette::TertiaryPale]]; border:2px solid [[ColorPalette::TertiaryMid]];}

.popup {background:[[ColorPalette::TertiaryPale]]; color:[[ColorPalette::TertiaryDark]]; border-left:1px solid [[ColorPalette::TertiaryMid]]; border-top:1px solid [[ColorPalette::TertiaryMid]]; border-right:2px solid [[ColorPalette::TertiaryDark]]; border-bottom:2px solid [[ColorPalette::TertiaryDark]];}
.popup hr {color:[[ColorPalette::PrimaryDark]]; background:[[ColorPalette::PrimaryDark]]; border-bottom:1px;}
.popup li.disabled {color:[[ColorPalette::TertiaryMid]];}
.popup li a, .popup li a:visited {color:[[ColorPalette::Foreground]]; border: none;}
.popup li a:hover {background:[[ColorPalette::SecondaryLight]]; color:[[ColorPalette::Foreground]]; border: none;}
.popup li a:active {background:[[ColorPalette::SecondaryPale]]; color:[[ColorPalette::Foreground]]; border: none;}
.popupHighlight {background:[[ColorPalette::Background]]; color:[[ColorPalette::Foreground]];}
.listBreak div {border-bottom:1px solid [[ColorPalette::TertiaryDark]];}

.tiddler .defaultCommand {font-weight:bold;}

.shadow .title {color:[[ColorPalette::TertiaryDark]];}

.title {color:[[ColorPalette::SecondaryDark]];}
.subtitle {color:[[ColorPalette::TertiaryDark]];}

.toolbar {color:[[ColorPalette::PrimaryMid]];}
.toolbar a {color:[[ColorPalette::TertiaryLight]];}
.selected .toolbar a {color:[[ColorPalette::TertiaryMid]];}
.selected .toolbar a:hover {color:[[ColorPalette::Foreground]];}

.tagging, .tagged {border:1px solid [[ColorPalette::TertiaryPale]]; background-color:[[ColorPalette::TertiaryPale]];}
.selected .tagging, .selected .tagged {background-color:[[ColorPalette::TertiaryLight]]; border:1px solid [[ColorPalette::TertiaryMid]];}
.tagging .listTitle, .tagged .listTitle {color:[[ColorPalette::PrimaryDark]];}
.tagging .button, .tagged .button {border:none;}

.footer {color:[[ColorPalette::TertiaryLight]];}
.selected .footer {color:[[ColorPalette::TertiaryMid]];}

.error, .errorButton {color:[[ColorPalette::Foreground]]; background:[[ColorPalette::Error]];}
.warning {color:[[ColorPalette::Foreground]]; background:[[ColorPalette::SecondaryPale]];}
.lowlight {background:[[ColorPalette::TertiaryLight]];}

.zoomer {background:none; color:[[ColorPalette::TertiaryMid]]; border:3px solid [[ColorPalette::TertiaryMid]];}

.imageLink, #displayArea .imageLink {background:transparent;}

.annotation {background:[[ColorPalette::SecondaryLight]]; color:[[ColorPalette::Foreground]]; border:2px solid [[ColorPalette::SecondaryMid]];}

.viewer .listTitle {list-style-type:none; margin-left:-2em;}
.viewer .button {border:1px solid [[ColorPalette::SecondaryMid]];}
.viewer blockquote {border-left:3px solid [[ColorPalette::TertiaryDark]];}

.viewer table, table.twtable {border:2px solid [[ColorPalette::TertiaryDark]];}
.viewer th, .viewer thead td, .twtable th, .twtable thead td {background:[[ColorPalette::SecondaryMid]]; border:1px solid [[ColorPalette::TertiaryDark]]; color:[[ColorPalette::Background]];}
.viewer td, .viewer tr, .twtable td, .twtable tr {border:1px solid [[ColorPalette::TertiaryDark]];}

.viewer pre {border:1px solid [[ColorPalette::SecondaryLight]]; background:[[ColorPalette::SecondaryPale]];}
.viewer code {color:[[ColorPalette::SecondaryDark]];}
.viewer hr {border:0; border-top:dashed 1px [[ColorPalette::TertiaryDark]]; color:[[ColorPalette::TertiaryDark]];}

.highlight, .marked {background:[[ColorPalette::SecondaryLight]];}

.editor input {border:1px solid [[ColorPalette::PrimaryMid]];}
.editor textarea {border:1px solid [[ColorPalette::PrimaryMid]]; width:100%;}
.editorFooter {color:[[ColorPalette::TertiaryMid]];}
.readOnly {background:[[ColorPalette::TertiaryPale]];}

#backstageArea {background:[[ColorPalette::Foreground]]; color:[[ColorPalette::TertiaryMid]];}
#backstageArea a {background:[[ColorPalette::Foreground]]; color:[[ColorPalette::Background]]; border:none;}
#backstageArea a:hover {background:[[ColorPalette::SecondaryLight]]; color:[[ColorPalette::Foreground]]; }
#backstageArea a.backstageSelTab {background:[[ColorPalette::Background]]; color:[[ColorPalette::Foreground]];}
#backstageButton a {background:none; color:[[ColorPalette::Background]]; border:none;}
#backstageButton a:hover {background:[[ColorPalette::Foreground]]; color:[[ColorPalette::Background]]; border:none;}
#backstagePanel {background:[[ColorPalette::Background]]; border-color: [[ColorPalette::Background]] [[ColorPalette::TertiaryDark]] [[ColorPalette::TertiaryDark]] [[ColorPalette::TertiaryDark]];}
.backstagePanelFooter .button {border:none; color:[[ColorPalette::Background]];}
.backstagePanelFooter .button:hover {color:[[ColorPalette::Foreground]];}
#backstageCloak {background:[[ColorPalette::Foreground]]; opacity:0.6; filter:alpha(opacity=60);}
/*}}}*/
/*{{{*/
* html .tiddler {height:1%;}

body {font-size:.75em; font-family:arial,helvetica; margin:0; padding:0;}

h1,h2,h3,h4,h5,h6 {font-weight:bold; text-decoration:none;}
h1,h2,h3 {padding-bottom:1px; margin-top:1.2em;margin-bottom:0.3em;}
h4,h5,h6 {margin-top:1em;}
h1 {font-size:1.35em;}
h2 {font-size:1.25em;}
h3 {font-size:1.1em;}
h4 {font-size:1em;}
h5 {font-size:.9em;}

hr {height:1px;}

a {text-decoration:none;}

dt {font-weight:bold;}

ol {list-style-type:decimal;}
ol ol {list-style-type:lower-alpha;}
ol ol ol {list-style-type:lower-roman;}
ol ol ol ol {list-style-type:decimal;}
ol ol ol ol ol {list-style-type:lower-alpha;}
ol ol ol ol ol ol {list-style-type:lower-roman;}
ol ol ol ol ol ol ol {list-style-type:decimal;}

.txtOptionInput {width:10em; height:12px;font-size:.75em;}

#contentWrapper .chkOptionInput {border:0;}

.externalLink {text-decoration:underline;}

.indent {margin-left:3em;}
.outdent {margin-left:3em; text-indent:-3em;}
code.escaped {white-space:nowrap;}

.tiddlyLinkExisting {font-weight:bold;}
.tiddlyLinkNonExisting {font-style:italic;}

/* the 'a' is required for IE, otherwise it renders the whole tiddler in bold */
a.tiddlyLinkNonExisting.shadow {font-weight:bold;}

#mainMenu .tiddlyLinkExisting,
	#mainMenu .tiddlyLinkNonExisting,
	#sidebarTabs .tiddlyLinkNonExisting {font-weight:normal; font-style:normal;}
#sidebarTabs .tiddlyLinkExisting {font-weight:bold; font-style:normal;}

.header {position:relative;}
.header a:hover {background:transparent;}
.headerShadow {position:relative; padding:4.5em 0 1em 1em; left:-1px; top:-1px;}
.headerForeground {position:absolute; padding:4.5em 0 1em 1em; left:0; top:0;}

.siteTitle {font-size:3em;}
.siteSubtitle {font-size:1.2em;}

#mainMenu {position:absolute; left:0; width:10em; text-align:right; line-height:1.6em; padding:1.5em 0.5em 0.5em 0.5em; font-size:1.1em;}

#sidebar {position:absolute; right:3px; width:16em; font-size:.9em;}
#sidebarOptions {padding-top:0.3em;}
#sidebarOptions a {margin:0 0.2em; padding:0.2em 0.3em; display:block;}
#sidebarOptions input {margin:0.4em 0.5em;}
#sidebarOptions .sliderPanel {margin-left:1em; padding:0.5em; font-size:.85em;}
#sidebarOptions .sliderPanel a {font-weight:bold; display:inline; padding:0;}
#sidebarOptions .sliderPanel input {margin:0 0 0.3em 0;}
#sidebarTabs .tabContents {width:15em; overflow:hidden;}

.wizard {padding:0.1em 1em 0 2em;}
.wizard h1 {font-size:2em; font-weight:bold; background:none; padding:0; margin:0.4em 0 0.2em;}
.wizard h2 {font-size:1.2em; font-weight:bold; background:none; padding:0; margin:0.4em 0 0.2em;}
.wizardStep {padding:1em 1em 1em 1em;}
.wizard .button {margin:0.5em 0 0; font-size:1.2em;}
.wizardFooter {padding:0.8em 0.4em 0.8em 0;}
.wizardFooter .status {padding:0 0.4em; margin-left:1em;}
.wizard .button {padding:0.1em 0.2em;}

#messageArea {position:fixed; top:2em; right:0; margin:0.5em; padding:0.5em; z-index:2000; _position:absolute;}
.messageToolbar {display:block; text-align:right; padding:0.2em;}
#messageArea a {text-decoration:underline;}

.tiddlerPopupButton {padding:0.2em;}
.popupTiddler {position: absolute; z-index:300; padding:1em; margin:0;}

.popup {position:absolute; z-index:300; font-size:.9em; padding:0; list-style:none; margin:0;}
.popup .popupMessage {padding:0.4em;}
.popup hr {display:block; height:1px; width:auto; padding:0; margin:0.2em 0;}
.popup li.disabled {padding:0.4em;}
.popup li a {display:block; padding:0.4em; font-weight:normal; cursor:pointer;}
.listBreak {font-size:1px; line-height:1px;}
.listBreak div {margin:2px 0;}

.tabset {padding:1em 0 0 0.5em;}
.tab {margin:0 0 0 0.25em; padding:2px;}
.tabContents {padding:0.5em;}
.tabContents ul, .tabContents ol {margin:0; padding:0;}
.txtMainTab .tabContents li {list-style:none;}
.tabContents li.listLink { margin-left:.75em;}

#contentWrapper {display:block;}
#splashScreen {display:none;}

#displayArea {margin:1em 17em 0 14em;}

.toolbar {text-align:right; font-size:.9em;}

.tiddler {padding:1em 1em 0;}

.missing .viewer,.missing .title {font-style:italic;}

.title {font-size:1.6em; font-weight:bold;}

.missing .subtitle {display:none;}
.subtitle {font-size:1.1em;}

.tiddler .button {padding:0.2em 0.4em;}

.tagging {margin:0.5em 0.5em 0.5em 0; float:left; display:none;}
.isTag .tagging {display:block;}
.tagged {margin:0.5em; float:right;}
.tagging, .tagged {font-size:0.9em; padding:0.25em;}
.tagging ul, .tagged ul {list-style:none; margin:0.25em; padding:0;}
.tagClear {clear:both;}

.footer {font-size:.9em;}
.footer li {display:inline;}

.annotation {padding:0.5em; margin:0.5em;}

* html .viewer pre {width:99%; padding:0 0 1em 0;}
.viewer {line-height:1.4em; padding-top:0.5em;}
.viewer .button {margin:0 0.25em; padding:0 0.25em;}
.viewer blockquote {line-height:1.5em; padding-left:0.8em;margin-left:2.5em;}
.viewer ul, .viewer ol {margin-left:0.5em; padding-left:1.5em;}

.viewer table, table.twtable {border-collapse:collapse; margin:0.8em 1.0em;}
.viewer th, .viewer td, .viewer tr,.viewer caption,.twtable th, .twtable td, .twtable tr,.twtable caption {padding:3px;}
table.listView {font-size:0.85em; margin:0.8em 1.0em;}
table.listView th, table.listView td, table.listView tr {padding:0 3px 0 3px;}

.viewer pre {padding:0.5em; margin-left:0.5em; font-size:1.2em; line-height:1.4em; overflow:auto;}
.viewer code {font-size:1.2em; line-height:1.4em;}

.editor {font-size:1.1em;}
.editor input, .editor textarea {display:block; width:100%; font:inherit;}
.editorFooter {padding:0.25em 0; font-size:.9em;}
.editorFooter .button {padding-top:0; padding-bottom:0;}

.fieldsetFix {border:0; padding:0; margin:1px 0px;}

.zoomer {font-size:1.1em; position:absolute; overflow:hidden;}
.zoomer div {padding:1em;}

* html #backstage {width:99%;}
* html #backstageArea {width:99%;}
#backstageArea {display:none; position:relative; overflow: hidden; z-index:150; padding:0.3em 0.5em;}
#backstageToolbar {position:relative;}
#backstageArea a {font-weight:bold; margin-left:0.5em; padding:0.3em 0.5em;}
#backstageButton {display:none; position:absolute; z-index:175; top:0; right:0;}
#backstageButton a {padding:0.1em 0.4em; margin:0.1em;}
#backstage {position:relative; width:100%; z-index:50;}
#backstagePanel {display:none; z-index:100; position:absolute; width:90%; margin-left:3em; padding:1em;}
.backstagePanelFooter {padding-top:0.2em; float:right;}
.backstagePanelFooter a {padding:0.2em 0.4em;}
#backstageCloak {display:none; z-index:20; position:absolute; width:100%; height:100px;}

.whenBackstage {display:none;}
.backstageVisible .whenBackstage {display:block;}
/*}}}*/
/*{{{*/
@page {
  size: A4;
  margin: 0;
}
@media print {
#mainMenu, #topMenu, #barraMenu, #messageArea, .toolbar, #backstageButton, #backstageArea, #titleMenu, #logoMenu {display: none !important;}
#leftMenu {background-color:transparent;width:1px;z-index:1px;}
#displayArea {margin: -1em 1em 1em 1em;z-index:30;}

.tiddler {left:-400px;z-index:40;}
noscript {display:none;} /* Fixes a feature in Firefox 1.5.0.2 where print preview displays the noscript content */
}
/*}}}*/
/***
|Name|StyleSheetShortcuts|
|Source|http://www.TiddlyTools.com/#StyleSheetShortcuts|
|Version||
|Author|Eric Shulman|
|License|http://www.TiddlyTools.com/#LegalStatements|
|~CoreVersion|2.1|
|Type|CSS|
|Description|'convenience' classes for common formatting, alignment, boxes, tables, etc.|

These 'style tweaks' can be easily included in other stylesheet tiddler so they can share a baseline look-and-feel that can then be customized to create a wide variety of 'flavors'.
***/
/*{{{*/

/* text alignments */
.left
	{ display:block;text-align:left; }
.center
	{ display:block;text-align:center; }
.center table
	{ margin:auto !important; }
.right	
	{ display:block;text-align:right; }
.justify
	{ display:block;text-align:justify; }
.indent
	{ display:block;margin:0;padding:0;border:0;margin-left:2em; }
.floatleft
	{ float:left; }
.floatright
	{ float:right; }
.valignTop, .valignTop table, .valignTop tbody, .valignTop th, .valignTop tr, .valignTop td
	{ vertical-align:top; }
.valignBottom, .valignBottom table, .valignBottom tbody, .valignBottom th, .valignBottom tr, .valignBottom td
	{ vertical-align:bottom; }
.clear
	{ clear:both; }
.wrap
	{ white-space:normal; }
.nowrap
	{ white-space:nowrap; }
.hidden
	{ display:none; }
.show
	{ display:inline !important; }
.span
	{ display:span; }
.block
	{ display:block; }
.relative
	{ position:relative; }
.absolute
	{ position:absolute; }

/* font sizes */
.big
	{ font-size:14pt;line-height:120% }
.medium
	{ font-size:12pt;line-height:120% }
.normal
	{ font-size:9pt;line-height:120% }
.small
	{ font-size:8pt;line-height:120% }
.fine
	{ font-size:7pt;line-height:120% }
.tiny
	{ font-size:6pt;line-height:120% }
.larger
	{ font-size:120%; }
.smaller
	{ font-size:80%; }

/* font styles */
.bold
	{ font-weight:bold; }
.italic
	{ font-style:italic; }
.underline
	{ text-decoration:underline; }

/* plain list items (no bullets or indent) */
.nobullets li { list-style-type: none; margin-left:-2em; }

/* vertical tabsets - courtesy of Tobias Beer */
.vTabs .tabset {float:left;display:block;padding:0px;margin-top:.5em;min-width:20%;}
.vTabs .tabset .tab {display:block;text-align:right;padding:2px 3px 2px 7px; margin:0 1px 1px 0;}
.vTabs .tabContents {margin-left:20%;max-width:80%;padding:5px;}
.vTabs .tabContents .tabContents {border:none; background:transparent;}

/* multi-column tiddler content (not supported in Internet Explorer) */
.twocolumns { display:block;
	-moz-column-count:2; -moz-column-gap:1em; -moz-column-width:50%; /* FireFox */
	-webkit-column-count:2; -webkit-column-gap:1em; -webkit-column-width:50%; /* Safari */
	column-count:2; column-gap:1em; column-width:50%; /* Opera */
}
.threecolumns { display:block;
	-moz-column-count:3; -moz-column-gap:1em; -moz-column-width:33%; /* FireFox */
	-webkit-column-count:3; -webkit-column-gap:1em; -webkit-column-width:33%; /* Safari */
	column-count:3; column-gap:1em; column-width:33%; /* Opera */
}
.fourcolumns { display:block;
	-moz-column-count:4; -moz-column-gap:1em; -moz-column-width:22%; /* FireFox */
	-webkit-column-count:4; -webkit-column-gap:1em; -webkit-column-width:25%; /* Safari */
	column-count:4; column-gap:1em; column-width:25%; /* Opera */
}

/* page breaks */
.breakbefore { page-break-before:always; }
.breakafter { page-break-before:always; } 

/* show/hide browser-specific content for InternetExplorer vs. non-IE ("moz") browsers */
*[class="ieOnly"]
	{ display:none; } /* hide in moz (uses CSS selector) */
* html .mozOnly, *:first-child+html .mozOnly
	{ display: none; } /* hide in IE (uses IE6/IE7 CSS hacks) */

/* borderless tables */
.borderless, .borderless table, .borderless td, .borderless tr, .borderless th, .borderless tbody
	{ border:0 !important; margin:0 !important; padding:0 !important; }
.widetable, .widetable table
	{ width:100%; }

/* thumbnail images (fixed-sized scaled images) */
.thumbnail img { height:5em !important; }

/* stretchable images (auto-size to fit tiddler) */
.stretch img { width:95%; }

/* grouped content */
.outline
	{ display:block; padding:1em; -moz-border-radius:1em;-webkit-border-radius:1em; border:1px solid; }
.menubox
	{ display:block; padding:1em; -moz-border-radius:1em;-webkit-border-radius:1em; border:1px solid; background:#fff; color:#000; }
.menubox .button, .menubox .tiddlyLinkExisting, .menubox .tiddlyLinkNonExisting
	{ color:#009 !important; }
.groupbox
	{ display:block; padding:1em; -moz-border-radius:1em;-webkit-border-radius:1em; border:1px solid; background:#ffe; color:#000; }

.groupbox a, .groupbox .button, .groupbox .tiddlyLinkExisting, .groupbox .tiddlyLinkNonExisting
	{ color:#009 !important; }
.groupbox code
	{ color:#333 !important; }
.botton {padding:2px;color:brown; background-color:beige;border-style:solid;border-color:brown;border-width:1px 3px 3px 1px;border-radius: 20px;height:20px;}
.borderleft
	{ margin:0;padding:0;border:0;margin-left:1em; border-left:1px dotted; padding-left:.5em; }
.borderright
	{ margin:0;padding:0;border:0;margin-right:1em; border-right:1px dotted; padding-right:.5em; }
.borderbottom
	{ margin:0;padding:1px 0;border:0;border-bottom:1px dotted; margin-bottom:1px; padding-bottom:1px; }
.bordertop
	{ margin:0;padding:0;border:0;border-top:1px dotted; margin-top:1px; padding-top:1px; }
.containerOrange {padding:5px;color:brown; background-color:khaki;border-style:solid;border-color:brown;border-width:1px 2px 2px 1px;border-radius: 20px;height:20px;}

.containerAdmin {padding:5px;color:brown; background-color:sandybrown; border-style:solid;border-color:brown;border-width:1px 2px 2px 1px;border-radius: 20px;height:20px;}

.containerAtual {padding:5px;color:brown; background-color:moccasin;border-style:solid;border-color:brown;border-width:1px 2px 2px 1px;border-radius: 20px;height:20px;}

/* scrolled content */
.scrollbars { overflow:auto; }
.height10em { height:10em; }
.height15em { height:15em; }
.height20em { height:20em; }
.height25em { height:25em; }
.height30em { height:30em; }
.height35em { height:35em; }
.height40em { height:40em; }

/* compact form */
.smallform
	{ white-space:nowrap; }
.smallform input, .smallform textarea, .smallform button, .smallform checkbox, .smallform radio, .smallform select
	{ font-size:8pt; }

/* stretchable edit fields and textareas (auto-size to fit tiddler) */
.stretch input { width:99%; }
.stretch textarea { width:99%; }

/* compact input fields (limited to a few characters for entering percentages and other small values) */
.onechar input   { width:1em; }
.twochar input   { width:2em; }
.threechar input { width:3em; }
.fourchar input  { width:4em; }
.fivechar input  { width:5em; }

/* text colors */
.white { color:#fff !important }
.gray  { color:#999 !important }
.black { color:#000 !important }
.red   { color:#f66 !important }
.green { color:#0c0 !important }
.blue  { color:#99f !important }

/* rollover highlighting */
.mouseover 
	{color:[[ColorPalette::TertiaryLight]] !important;}
.mouseover a
	{color:[[ColorPalette::TertiaryLight]] !important;}
.selected .mouseover
	{color:[[ColorPalette::Foreground]] !important;}
.selected .mouseover .button, .selected .mouseover a
	{color:[[ColorPalette::PrimaryDark]] !important;}

/* rollover zoom text */
.zoomover
	{ font-size:80% !important; }
.selected .zoomover
	{ font-size:100% !important; }

/* [[ColorPalette]] text colors */
.Background	{ color:[[ColorPalette::Background]];	 }
.Foreground	{ color:[[ColorPalette::Foreground]];	 }
.PrimaryPale	{ color:[[ColorPalette::PrimaryPale]];	 }
.PrimaryLight	{ color:[[ColorPalette::PrimaryLight]];	 }
.PrimaryMid	{ color:[[ColorPalette::PrimaryMid]];	 }
.PrimaryDark	{ color:[[ColorPalette::PrimaryDark]];	 }
.SecondaryPale	{ color:[[ColorPalette::SecondaryPale]]; }
.SecondaryLight	{ color:[[ColorPalette::SecondaryLight]];}
.SecondaryMid	{ color:[[ColorPalette::SecondaryMid]];	 }
.SecondaryDark	{ color:[[ColorPalette::SecondaryDark]]; }
.TertiaryPale	{ color:[[ColorPalette::TertiaryPale]];	 }
.TertiaryLight	{ color:[[ColorPalette::TertiaryLight]]; }
.TertiaryMid	{ color:[[ColorPalette::TertiaryMid]];	 }
.TertiaryDark	{ color:[[ColorPalette::TertiaryDark]];	 }
.Error		{ color:[[ColorPalette::Error]];	 }

/* [[ColorPalette]] background colors */
.BGBackground	  { background-color:[[ColorPalette::Background]];	}
.BGForeground	  { background-color:[[ColorPalette::Foreground]];	}
.BGPrimaryPale	  { background-color:[[ColorPalette::PrimaryPale]];	}
.BGPrimaryLight	  { background-color:[[ColorPalette::PrimaryLight]];	}
.BGPrimaryMid	  { background-color:[[ColorPalette::PrimaryMid]];	}
.BGPrimaryDark	  { background-color:[[ColorPalette::PrimaryDark]];	}
.BGSecondaryPale  { background-color:[[ColorPalette::SecondaryPale]]; 	}
.BGSecondaryLight { background-color:[[ColorPalette::SecondaryLight]];	}
.BGSecondaryMid	  { background-color:[[ColorPalette::SecondaryMid]];	}
.BGSecondaryDark  { background-color:[[ColorPalette::SecondaryDark]]; 	}
.BGTertiaryPale	  { background-color:[[ColorPalette::TertiaryPale]];	}
.BGTertiaryLight  { background-color:[[ColorPalette::TertiaryLight]]; 	}
.BGTertiaryMid	  { background-color:[[ColorPalette::TertiaryMid]];	}
.BGTertiaryDark	  { background-color:[[ColorPalette::TertiaryDark]];	}
.BGError	  { background-color:[[ColorPalette::Error]];	 	}
/*}}}*/
/***
|Name|TaggedTemplateTweak|
|Source|http://www.TiddlyTools.com/#TaggedTemplateTweak|
|Documentation|http://www.TiddlyTools.com/#TaggedTemplateTweakInfo|
|Version|1.6.1|
|Author|Eric Shulman|
|License|http://www.TiddlyTools.com/#LegalStatements|
|~CoreVersion|2.1|
|Type|plugin|
|Description|use alternative ViewTemplate/EditTemplate for specific tiddlers|
This plugin extends the core function, story.chooseTemplateForTiddler(), so that any given tiddler can be viewed and/or edited using alternatives to the standard tiddler templates.
!!!!!Documentation
>see [[TaggedTemplateTweakInfo]]
!!!!!Revisions
<<<
2009.09.02 [1.6.1] apply field-based template (if any) *before* tag-based template
| please see [[TaggedTemplateTweakInfo]] for previous revision details |
2007.06.11 [1.0.0] initial release
<<<
!!!!!Code
***/
//{{{
version.extensions.TaggedTemplateTweak= {major: 1, minor: 6, revision: 1, date: new Date(2009,9,2)};

if (!config.options.txtTemplateTweakFieldname)	
	config.options.txtTemplateTweakFieldname='template';

Story.prototype.taggedTemplate_chooseTemplateForTiddler = Story.prototype.chooseTemplateForTiddler
Story.prototype.chooseTemplateForTiddler = function(title,template)
{
	// get core template and split into theme and template name
	var coreTemplate=this.taggedTemplate_chooseTemplateForTiddler.apply(this,arguments);
	var theme=""; var template=coreTemplate;
	var parts=template.split(config.textPrimitives.sectionSeparator);
	if (parts[1]) { theme=parts[0]; template=parts[1]; }
	else theme=config.options.txtTheme||""; // if theme is not specified
	theme+=config.textPrimitives.sectionSeparator;

	// look for template using title as prefix
	if (!store.getTaggedTiddlers(title).length) { // if tiddler is not a tag
		if (store.getTiddlerText(theme+title+template))
			{ return theme+title+template; } // theme##TitleTemplate
		if (store.getTiddlerText(title+template))
			{ return title+template; }	 // TitleTemplate
	}

	// look for templates using custom field value as prefix
	var v=store.getValue(title,config.options.txtTemplateTweakFieldname);
	if (store.getTiddlerText(theme+v+template))
		{ return theme+v+template; }	// theme##valueTemplate
	if (store.getTiddlerText(v+template))
		{ return v+template; }		// valueTemplate

	// look for template using tags as prefix
	var tiddler=store.getTiddler(title);
	if (!tiddler) return coreTemplate; // tiddler doesn't exist... use core result
	for (i=0; i<tiddler.tags.length; i++) {
		var t=tiddler.tags[i]+template; // add tag prefix to template
		var c=t.substr(0,1).toUpperCase()+t.substr(1); // capitalized for WikiWord title
		if (store.getTiddlerText(theme+t))	{ return theme+t; } // theme##tagTemplate
		if (store.getTiddlerText(theme+c))	{ return theme+c; } // theme##TagTemplate
		if (store.getTiddlerText(t)) 		{ return t; }	    // tagTemplate
		if (store.getTiddlerText(c))		{ return c; }	    // TagTemplate
	}
	
	// no match... use core result
	return coreTemplate;
}
//}}}

[img[ ../Logos/tags.png]]
<<showPopup tiddler:TagsMenu##alfa label:alfa width:600px popupClass:sticky>>
<<showPopup tiddler:TagsMenu##tema label:tema width:600px popupClass:sticky>>
/%
!!alfa
{{four{<script>var out="";
var source="Tags/tags_pt";
var tids=getText(source);
tids=tids.split("#\n");
tids=tids.sort();
//return "length="+tids.length;
for (i=0;i<tids.length;i++)
{
var tidDet=tids[i].split("|");
out+='<script label="'+tidDet[0]+'">localStorage.tag="'+tidDet[0]+'";localStorage.tagsTexto="__'+tidDet[0]+'__<br>'+tidDet[5]+'";localStorage.topMenu="tags";config.refreshers.content(document.getElementById("topMenu"));</scri'+'pt><br>';
}
localStorage.allTagLista=out;
return out;</script>}}}
/%
!!tema
{{fourcolumns{<script>var tags=tagsTema();return tags;</script>}}}
!!end
%/
''<<wikify {{localStorage.item}}>>''{{floatright{<script label="apresenta">story.displayTiddler(null,"TemaSlideShow");</script><<setIcon ../Logos/small_presentation.png "" notext>> <<showPopup tiddler:uploadTema label:uploadTema width:400px popupClass:sticky>><<setIcon ../Logos/upload.png "" notext>> <<showPopup tiddler:printSubTema width:600px popupClass:sticky>><<setIcon ../Logos/printer.png "" notext>>  {{chk{<<showWhen localStorage.curso=="all">><<showPopup tiddler:corrijaTextos label:corrija width:400px  popupClass:sticky>><<setIcon ../Logos/sm_edit.png "" notext>>  <<showPopup tiddler:subTema label:add width:400px  popupClass:sticky>><<setIcon ../Logos/small_camera.png "" notext>> <<showWhen localStorage.subTema=="dinamicas">><<showPopup tiddler:addDinamica lable;dinamica popupClass:sticky width:400px>><<setIcon ../Logos/dinamica_small.png "" notext>>  }}} }}}

{{chk{<<showWhen localStorage.chkAula=="no">><<wikify {{localStorage.subItemText}}>>}}}
<script>
var out="";
    var itemList=getText(localStorage.pasta+"/"+localStorage.item);
//return itemList;
var items=itemList.replace(/\r/g,"");
var texto=items.indexOf("texto=>")+8;
items=items.substring(texto);
items=items.split("#\n");
//return "length="+items.length;
var display="";
for(t=0;t<items.length-1;t++)
{
var itemDetails=items[t].split("|");
var uploadDoc="";
if(itemDetails[2]=="fotoL"){
var show='{{center{<<tiddler ThumbThing with: "'+itemDetails[9]+'" 200px auto 600px auto>>}}}';
}
if(itemDetails[2]=="fotoP"){
var show='{{center{<<tiddler ThumbThing with: "'+itemDetails[9]+'" 200px auto 600px auto>>}}}';
}
if(itemDetails[2]=="video"){
show='{{center{<html><iframe src="http://youtube.com/embed/'+itemDetails[9]+'" width=250px height=200px></iframe></html>}}}';
}
if(itemDetails[2]=="pdf"){
show='{{center{<script label="open">var url="AAA/Url.html#'+itemDetails[9]+'";window.open(url,"_blank","right=20,top=20,width=1000,height=600,toolbar=no,scrollbars=yes,titlebar=no",true);</scri'+'pt><<setIcon Logos/pdf.png "" notext>'+'>}}}';
}
if(itemDetails[2]=="som"){
show='{{center{<<player "'+itemDetails[10]+'" 300px 30px true false>'+'>}}}';
}
if(itemDetails[1]=="uploadDoc")
{
uploadDoc='<script>localStorage.docTipo="temaDocumento";</scri'+'pt><<showPopup tiddler:Upload_PDF label:upload popupClass:sticky width:400px>'+'><<setIcon Logos/smallPDF.png "" notext>'+'>';

}
var comment='<script>localStorage.fonte="'+itemDetails[0]+'";var popup= "<<showPopup tiddler:showComment width:420px label:comment popupClass:sticky>><<setIcon ../Logos/simple.png size:40 notext>>";return popup;</scri'+'pt>';
var refs='<script>localStorage.fonte="'+itemDetails[0]+'";localStorage.tag="'+itemDetails[6]+'";var popup= "<<showPopup tiddler:Refs label:tec width:420px popupClass:sticky>><<setIcon ../Logos/small_pdf.png size:40 notext>>";return popup;</scri'+'pt>';

display+='|'+show+'[[fonte|'+itemDetails[10]+']]{{floatright{'+uploadDoc+comment+'}}}|__'+itemDetails[0]+refs+'__<br>{{small{'+itemDetails[5]+'}}}|\n';
}

localStorage.showTime=display;
return display;
</script>
<<tiddler reportAtividade>>
/%
!info
|Name|ThumbThing|
|Source|http://www.TiddlyTools.com/#ThumbThing|
|Version|1.2.0|
|Author|Eric Shulman|
|License|http://www.TiddlyTools.com/#LegalStatements|
|~CoreVersion|2.1|
|Type|transclusion|
|Description|display a scaled 'thumbnail' image with popup for full-sized image|

Usage:
<<<
{{{
<<tiddler ThumbThing with: image thumbWidth thumbHeight fullWidth fullHeight>>
}}}
*{{{image}}} is one of:
**a local path/file
**a remote URL reference
**the title of a tiddler containing an attached image (see [[AttachFilePlugin]])
*{{{thumbWidth, thumbHeight, fullWidth, fullHeight}}} are CSS measurements.  Use 'auto' (or omit values) for default (full-sized) image height and/or width. For proportional scaling, specify a fixed-width OR fixed-height and use 'auto' for the other dimension.
<<<
Example:
<<<
{{{
<<tiddler ThumbThing with: images/meow2.jpg 100px>>
}}}
<<tiddler ThumbThing with: images/meow2.jpg 100px>>
<<<
See also:
>[[AllThumbs]]
!end

!show
<html><hide linebreaks>
<img src="$1" style="border=0;width:$2;height:$3;" title="$1" onclick="
	var p=Popup.create(this); if (!p) return; var s=p.style; s.border=s.padding='0'; s.background='none';
	p.innerHTML='<img src=\x22$1\x22 style=\x22border:1px solid #999;background:#eee;width:$4;height:$5\x22>';
	Popup.show(); event.cancelBubble=true; if(event.stopPropagation)event.stopPropagation(); return(false);
"></html>
!end
%/<<tiddler {{'ThumbThing##'+('$1'=='$'+'1'?'info':'show')}} with:
	{{var cma=config.macros.attach; (cma&&cma.isAttachment('$1'))?cma.getAttachment('$1'):'$1';}}
	[[$2]] [[$3]] [[$4]] [[$5]]>>
[img[Titulo.gif]]
<<wikify {{"<<tiddler TopMenu##"+localStorage.topMenu+">"+">"}}>>
/%
!!tags
...<<wikify {{localStorage.tagsTexto}}>>
!!end
%/
<script>
//config.refreshers.content(document.getElementById("listMenu"));
localStorage.show="show";
function myTimer() {
    var texto = getText(localStorage.show);
return texto;
}

var myMessage = setInterval(myTimer, 100);

return "texto="+myMessage;


</script>
| !date | !user | !location | !storeUrl | !uploadDir | !toFilename | !backupdir | !origin |
| 31/10/2016 14:06:02 | YourName | [[/|http://www.unigaia-brasil.org/Permacultura/]] | [[store.php|http://www.unigaia-brasil.org/Permacultura/store.php]] | . | [[index.html | http://www.unigaia-brasil.org/Permacultura/index.html]] |  |
/***
|''Name:''|UploadPlugin|
|''Description:''|Save to web a TiddlyWiki|
|''Version:''|4.1.4|
|''Date:''|2008-08-11|
|''Source:''|http://tiddlywiki.bidix.info/#UploadPlugin|
|''Documentation:''|http://tiddlywiki.bidix.info/#UploadPluginDoc|
|''Author:''|BidiX (BidiX (at) bidix (dot) info)|
|''License:''|[[BSD open source license|http://tiddlywiki.bidix.info/#%5B%5BBSD%20open%20source%20license%5D%5D ]]|
|''~CoreVersion:''|2.2.0|
|''Requires:''|PasswordOptionPlugin|
***/
//{{{
version.extensions.UploadPlugin = {
	major: 4, minor: 1, revision: 4,
	date: new Date("2008-08-11"),
	source: 'http://tiddlywiki.bidix.info/#UploadPlugin',
	author: 'BidiX (BidiX (at) bidix (dot) info',
	coreVersion: '2.2.0'
};

//
// Environment
//

if (!window.bidix) window.bidix = {}; // bidix namespace
bidix.debugMode = false;	// true to activate both in Plugin and UploadService
	
//
// Upload Macro
//

config.macros.upload = {
// default values
	defaultBackupDir: '',	//no backup
	defaultStoreScript: "store.php",
	defaultToFilename: "index.html",
	defaultUploadDir: ".",
	authenticateUser: true	// UploadService Authenticate User
};
	
config.macros.upload.label = {
	promptOption: "Save and Upload this TiddlyWiki with UploadOptions",
	promptParamMacro: "Save and Upload this TiddlyWiki in %0",
	saveLabel: "save to web", 
	saveToDisk: "save to disk",
	uploadLabel: "upload"	
};

config.macros.upload.messages = {
	noStoreUrl: "No store URL in parmeters or options",
	usernameOrPasswordMissing: "Username or password missing"
};

config.macros.upload.handler = function(place,macroName,params) {
	if (readOnly)
		return;
	var label;
	if (document.location.toString().substr(0,4) == "http") 
		label = this.label.saveLabel;
	else
		label = this.label.uploadLabel;
	var prompt;
	if (params[0]) {
		prompt = this.label.promptParamMacro.toString().format([this.destFile(params[0], 
			(params[1] ? params[1]:bidix.basename(window.location.toString())), params[3])]);
	} else {
		prompt = this.label.promptOption;
	}
	createTiddlyButton(place, label, prompt, function() {config.macros.upload.action(params);}, null, null, this.accessKey);
};

config.macros.upload.action = function(params)
{
		// for missing macro parameter set value from options
		if (!params) params = {};
		var storeUrl = params[0] ? params[0] : config.options.txtUploadStoreUrl;
		var toFilename = params[1] ? params[1] : config.options.txtUploadFilename;
		var backupDir = params[2] ? params[2] : config.options.txtUploadBackupDir;
		var uploadDir = params[3] ? params[3] : config.options.txtUploadDir;
		var username = params[4] ? params[4] : config.options.txtUploadUserName;
		var password = config.options.pasUploadPassword; // for security reason no password as macro parameter	
		// for still missing parameter set default value
		if ((!storeUrl) && (document.location.toString().substr(0,4) == "http")) 
			storeUrl = bidix.dirname(document.location.toString())+'/'+config.macros.upload.defaultStoreScript;
		if (storeUrl.substr(0,4) != "http")
			storeUrl = bidix.dirname(document.location.toString()) +'/'+ storeUrl;
		if (!toFilename)
			toFilename = bidix.basename(window.location.toString());
		if (!toFilename)
			toFilename = config.macros.upload.defaultToFilename;
		if (!uploadDir)
			uploadDir = config.macros.upload.defaultUploadDir;
		if (!backupDir)
			backupDir = config.macros.upload.defaultBackupDir;
		// report error if still missing
		if (!storeUrl) {
			alert(config.macros.upload.messages.noStoreUrl);
			clearMessage();
			return false;
		}
		if (config.macros.upload.authenticateUser && (!username || !password)) {
			alert(config.macros.upload.messages.usernameOrPasswordMissing);
			clearMessage();
			return false;
		}
		bidix.upload.uploadChanges(false,null,storeUrl, toFilename, uploadDir, backupDir, username, password); 
		return false; 
};

config.macros.upload.destFile = function(storeUrl, toFilename, uploadDir) 
{
	if (!storeUrl)
		return null;
		var dest = bidix.dirname(storeUrl);
		if (uploadDir && uploadDir != '.')
			dest = dest + '/' + uploadDir;
		dest = dest + '/' + toFilename;
	return dest;
};

//
// uploadOptions Macro
//

config.macros.uploadOptions = {
	handler: function(place,macroName,params) {
		var wizard = new Wizard();
		wizard.createWizard(place,this.wizardTitle);
		wizard.addStep(this.step1Title,this.step1Html);
		var markList = wizard.getElement("markList");
		var listWrapper = document.createElement("div");
		markList.parentNode.insertBefore(listWrapper,markList);
		wizard.setValue("listWrapper",listWrapper);
		this.refreshOptions(listWrapper,false);
		var uploadCaption;
		if (document.location.toString().substr(0,4) == "http") 
			uploadCaption = config.macros.upload.label.saveLabel;
		else
			uploadCaption = config.macros.upload.label.uploadLabel;
		
		wizard.setButtons([
				{caption: uploadCaption, tooltip: config.macros.upload.label.promptOption, 
					onClick: config.macros.upload.action},
				{caption: this.cancelButton, tooltip: this.cancelButtonPrompt, onClick: this.onCancel}
				
			]);
	},
	options: [
		"txtUploadUserName",
		"pasUploadPassword",
		"txtUploadStoreUrl",
		"txtUploadDir",
		"txtUploadFilename",
		"txtUploadBackupDir",
		"chkUploadLog",
		"txtUploadLogMaxLine"		
	],
	refreshOptions: function(listWrapper) {
		var opts = [];
		for(i=0; i<this.options.length; i++) {
			var opt = {};
			opts.push();
			opt.option = "";
			n = this.options[i];
			opt.name = n;
			opt.lowlight = !config.optionsDesc[n];
			opt.description = opt.lowlight ? this.unknownDescription : config.optionsDesc[n];
			opts.push(opt);
		}
		var listview = ListView.create(listWrapper,opts,this.listViewTemplate);
		for(n=0; n<opts.length; n++) {
			var type = opts[n].name.substr(0,3);
			var h = config.macros.option.types[type];
			if (h && h.create) {
				h.create(opts[n].colElements['option'],type,opts[n].name,opts[n].name,"no");
			}
		}
		
	},
	onCancel: function(e)
	{
		backstage.switchTab(null);
		return false;
	},
	
	wizardTitle: "Upload with options",
	step1Title: "These options are saved in cookies in your browser",
	step1Html: "<input type='hidden' name='markList'></input><br>",
	cancelButton: "Cancel",
	cancelButtonPrompt: "Cancel prompt",
	listViewTemplate: {
		columns: [
			{name: 'Description', field: 'description', title: "Description", type: 'WikiText'},
			{name: 'Option', field: 'option', title: "Option", type: 'String'},
			{name: 'Name', field: 'name', title: "Name", type: 'String'}
			],
		rowClasses: [
			{className: 'lowlight', field: 'lowlight'} 
			]}
};

//
// upload functions
//

if (!bidix.upload) bidix.upload = {};

if (!bidix.upload.messages) bidix.upload.messages = {
	//from saving
	invalidFileError: "The original file '%0' does not appear to be a valid TiddlyWiki",
	backupSaved: "Backup saved",
	backupFailed: "Failed to upload backup file",
	rssSaved: "RSS feed uploaded",
	rssFailed: "Failed to upload RSS feed file",
	emptySaved: "Empty template uploaded",
	emptyFailed: "Failed to upload empty template file",
	mainSaved: "Main TiddlyWiki file uploaded",
	mainFailed: "Failed to upload main TiddlyWiki file. Your changes have not been saved",
	//specific upload
	loadOriginalHttpPostError: "Can't get original file",
	aboutToSaveOnHttpPost: 'About to upload on %0 ...',
	storePhpNotFound: "The store script '%0' was not found."
};

bidix.upload.uploadChanges = function(onlyIfDirty,tiddlers,storeUrl,toFilename,uploadDir,backupDir,username,password)
{
	var callback = function(status,uploadParams,original,url,xhr) {
		if (!status) {
			displayMessage(bidix.upload.messages.loadOriginalHttpPostError);
			return;
		}
		if (bidix.debugMode) 
			alert(original.substr(0,500)+"\n...");
		// Locate the storeArea div's 
		var posDiv = locateStoreArea(original);
		if((posDiv[0] == -1) || (posDiv[1] == -1)) {
			alert(config.messages.invalidFileError.format([localPath]));
			return;
		}
		bidix.upload.uploadRss(uploadParams,original,posDiv);
	};
	
	if(onlyIfDirty && !store.isDirty())
		return;
	clearMessage();
	// save on localdisk ?
	if (document.location.toString().substr(0,4) == "file") {
		var path = document.location.toString();
		var localPath = getLocalPath(path);
		saveChanges();
	}
	// get original
	var uploadParams = new Array(storeUrl,toFilename,uploadDir,backupDir,username,password);
	var originalPath = document.location.toString();
	// If url is a directory : add index.html
	if (originalPath.charAt(originalPath.length-1) == "/")
		originalPath = originalPath + "index.html";
	var dest = config.macros.upload.destFile(storeUrl,toFilename,uploadDir);
	var log = new bidix.UploadLog();
	log.startUpload(storeUrl, dest, uploadDir,  backupDir);
	displayMessage(bidix.upload.messages.aboutToSaveOnHttpPost.format([dest]));
	if (bidix.debugMode) 
		alert("about to execute Http - GET on "+originalPath);
	var r = doHttp("GET",originalPath,null,null,username,password,callback,uploadParams,null);
	if (typeof r == "string")
		displayMessage(r);
	return r;
};

bidix.upload.uploadRss = function(uploadParams,original,posDiv) 
{
	var callback = function(status,params,responseText,url,xhr) {
		if(status) {
			var destfile = responseText.substring(responseText.indexOf("destfile:")+9,responseText.indexOf("\n", responseText.indexOf("destfile:")));
			displayMessage(bidix.upload.messages.rssSaved,bidix.dirname(url)+'/'+destfile);
			bidix.upload.uploadMain(params[0],params[1],params[2]);
		} else {
			displayMessage(bidix.upload.messages.rssFailed);			
		}
	};
	// do uploadRss
	if(config.options.chkGenerateAnRssFeed) {
		var rssPath = uploadParams[1].substr(0,uploadParams[1].lastIndexOf(".")) + ".xml";
		var rssUploadParams = new Array(uploadParams[0],rssPath,uploadParams[2],'',uploadParams[4],uploadParams[5]);
		var rssString = generateRss();
		// no UnicodeToUTF8 conversion needed when location is "file" !!!
		if (document.location.toString().substr(0,4) != "file")
			rssString = convertUnicodeToUTF8(rssString);	
		bidix.upload.httpUpload(rssUploadParams,rssString,callback,Array(uploadParams,original,posDiv));
	} else {
		bidix.upload.uploadMain(uploadParams,original,posDiv);
	}
};

bidix.upload.uploadMain = function(uploadParams,original,posDiv) 
{
	var callback = function(status,params,responseText,url,xhr) {
		var log = new bidix.UploadLog();
		if(status) {
			// if backupDir specified
			if ((params[3]) && (responseText.indexOf("backupfile:") > -1))  {
				var backupfile = responseText.substring(responseText.indexOf("backupfile:")+11,responseText.indexOf("\n", responseText.indexOf("backupfile:")));
				displayMessage(bidix.upload.messages.backupSaved,bidix.dirname(url)+'/'+backupfile);
			}
			var destfile = responseText.substring(responseText.indexOf("destfile:")+9,responseText.indexOf("\n", responseText.indexOf("destfile:")));
			displayMessage(bidix.upload.messages.mainSaved,bidix.dirname(url)+'/'+destfile);
			store.setDirty(false);
			log.endUpload("ok");
		} else {
			alert(bidix.upload.messages.mainFailed);
			displayMessage(bidix.upload.messages.mainFailed);
			log.endUpload("failed");			
		}
	};
	// do uploadMain
	var revised = bidix.upload.updateOriginal(original,posDiv);
	bidix.upload.httpUpload(uploadParams,revised,callback,uploadParams);
};

bidix.upload.httpUpload = function(uploadParams,data,callback,params)
{
	var localCallback = function(status,params,responseText,url,xhr) {
		url = (url.indexOf("nocache=") < 0 ? url : url.substring(0,url.indexOf("nocache=")-1));
		if (xhr.status == 404)
			alert(bidix.upload.messages.storePhpNotFound.format([url]));
		if ((bidix.debugMode) || (responseText.indexOf("Debug mode") >= 0 )) {
			alert(responseText);
			if (responseText.indexOf("Debug mode") >= 0 )
				responseText = responseText.substring(responseText.indexOf("\n\n")+2);
		} else if (responseText.charAt(0) != '0') 
			alert(responseText);
		if (responseText.charAt(0) != '0')
			status = null;
		callback(status,params,responseText,url,xhr);
	};
	// do httpUpload
	var boundary = "---------------------------"+"AaB03x";	
	var uploadFormName = "UploadPlugin";
	// compose headers data
	var sheader = "";
	sheader += "--" + boundary + "\r\nContent-disposition: form-data; name=\"";
	sheader += uploadFormName +"\"\r\n\r\n";
	sheader += "backupDir="+uploadParams[3] +
				";user=" + uploadParams[4] +
				";password=" + uploadParams[5] +
				";uploaddir=" + uploadParams[2];
	if (bidix.debugMode)
		sheader += ";debug=1";
	sheader += ";;\r\n"; 
	sheader += "\r\n" + "--" + boundary + "\r\n";
	sheader += "Content-disposition: form-data; name=\"userfile\"; filename=\""+uploadParams[1]+"\"\r\n";
	sheader += "Content-Type: text/html;charset=UTF-8" + "\r\n";
	sheader += "Content-Length: " + data.length + "\r\n\r\n";
	// compose trailer data
	var strailer = new String();
	strailer = "\r\n--" + boundary + "--\r\n";
	data = sheader + data + strailer;
	if (bidix.debugMode) alert("about to execute Http - POST on "+uploadParams[0]+"\n with \n"+data.substr(0,500)+ " ... ");
	var r = doHttp("POST",uploadParams[0],data,"multipart/form-data; ;charset=UTF-8; boundary="+boundary,uploadParams[4],uploadParams[5],localCallback,params,null);
	if (typeof r == "string")
		displayMessage(r);
	return r;
};

// same as Saving's updateOriginal but without convertUnicodeToUTF8 calls
bidix.upload.updateOriginal = function(original, posDiv)
{
	if (!posDiv)
		posDiv = locateStoreArea(original);
	if((posDiv[0] == -1) || (posDiv[1] == -1)) {
		alert(config.messages.invalidFileError.format([localPath]));
		return;
	}
	var revised = original.substr(0,posDiv[0] + startSaveArea.length) + "\n" +
				store.allTiddlersAsHtml() + "\n" +
				original.substr(posDiv[1]);
	var newSiteTitle = getPageTitle().htmlEncode();
	revised = revised.replaceChunk("<title"+">","</title"+">"," " + newSiteTitle + " ");
	revised = updateMarkupBlock(revised,"PRE-HEAD","MarkupPreHead");
	revised = updateMarkupBlock(revised,"POST-HEAD","MarkupPostHead");
	revised = updateMarkupBlock(revised,"PRE-BODY","MarkupPreBody");
	revised = updateMarkupBlock(revised,"POST-SCRIPT","MarkupPostBody");
	return revised;
};

//
// UploadLog
// 
// config.options.chkUploadLog :
//		false : no logging
//		true : logging
// config.options.txtUploadLogMaxLine :
//		-1 : no limit
//      0 :  no Log lines but UploadLog is still in place
//		n :  the last n lines are only kept
//		NaN : no limit (-1)

bidix.UploadLog = function() {
	if (!config.options.chkUploadLog) 
		return; // this.tiddler = null
	this.tiddler = store.getTiddler("UploadLog");
	if (!this.tiddler) {
		this.tiddler = new Tiddler();
		this.tiddler.title = "UploadLog";
		this.tiddler.text = "| !date | !user | !location | !storeUrl | !uploadDir | !toFilename | !backupdir | !origin |";
		this.tiddler.created = new Date();
		this.tiddler.modifier = config.options.txtUserName;
		this.tiddler.modified = new Date();
		store.addTiddler(this.tiddler);
	}
	return this;
};

bidix.UploadLog.prototype.addText = function(text) {
	if (!this.tiddler)
		return;
	// retrieve maxLine when we need it
	var maxLine = parseInt(config.options.txtUploadLogMaxLine,10);
	if (isNaN(maxLine))
		maxLine = -1;
	// add text
	if (maxLine != 0) 
		this.tiddler.text = this.tiddler.text + text;
	// Trunck to maxLine
	if (maxLine >= 0) {
		var textArray = this.tiddler.text.split('\n');
		if (textArray.length > maxLine + 1)
			textArray.splice(1,textArray.length-1-maxLine);
			this.tiddler.text = textArray.join('\n');		
	}
	// update tiddler fields
	this.tiddler.modifier = config.options.txtUserName;
	this.tiddler.modified = new Date();
	store.addTiddler(this.tiddler);
	// refresh and notifiy for immediate update
	story.refreshTiddler(this.tiddler.title);
	store.notify(this.tiddler.title, true);
};

bidix.UploadLog.prototype.startUpload = function(storeUrl, toFilename, uploadDir,  backupDir) {
	if (!this.tiddler)
		return;
	var now = new Date();
	var text = "\n| ";
	var filename = bidix.basename(document.location.toString());
	if (!filename) filename = '/';
	text += now.formatString("0DD/0MM/YYYY 0hh:0mm:0ss") +" | ";
	text += config.options.txtUserName + " | ";
	text += "[["+filename+"|"+location + "]] |";
	text += " [[" + bidix.basename(storeUrl) + "|" + storeUrl + "]] | ";
	text += uploadDir + " | ";
	text += "[[" + bidix.basename(toFilename) + " | " +toFilename + "]] | ";
	text += backupDir + " |";
	this.addText(text);
};

bidix.UploadLog.prototype.endUpload = function(status) {
	if (!this.tiddler)
		return;
	this.addText(" "+status+" |");
};

//
// Utilities
// 

bidix.checkPlugin = function(plugin, major, minor, revision) {
	var ext = version.extensions[plugin];
	if (!
		(ext  && 
			((ext.major > major) || 
			((ext.major == major) && (ext.minor > minor))  ||
			((ext.major == major) && (ext.minor == minor) && (ext.revision >= revision))))) {
			// write error in PluginManager
			if (pluginInfo)
				pluginInfo.log.push("Requires " + plugin + " " + major + "." + minor + "." + revision);
			eval(plugin); // generate an error : "Error: ReferenceError: xxxx is not defined"
	}
};

bidix.dirname = function(filePath) {
	if (!filePath) 
		return;
	var lastpos;
	if ((lastpos = filePath.lastIndexOf("/")) != -1) {
		return filePath.substring(0, lastpos);
	} else {
		return filePath.substring(0, filePath.lastIndexOf("\\"));
	}
};

bidix.basename = function(filePath) {
	if (!filePath) 
		return;
	var lastpos;
	if ((lastpos = filePath.lastIndexOf("#")) != -1) 
		filePath = filePath.substring(0, lastpos);
	if ((lastpos = filePath.lastIndexOf("/")) != -1) {
		return filePath.substring(lastpos + 1);
	} else
		return filePath.substring(filePath.lastIndexOf("\\")+1);
};

bidix.initOption = function(name,value) {
	if (!config.options[name])
		config.options[name] = value;
};

//
// Initializations
//

// require PasswordOptionPlugin 1.0.1 or better
bidix.checkPlugin("PasswordOptionPlugin", 1, 0, 1);

// styleSheet
setStylesheet('.txtUploadStoreUrl, .txtUploadBackupDir, .txtUploadDir {width: 22em;}',"uploadPluginStyles");

//optionsDesc
merge(config.optionsDesc,{
	txtUploadStoreUrl: "Url of the UploadService script (default: store.php)",
	txtUploadFilename: "Filename of the uploaded file (default: in index.html)",
	txtUploadDir: "Relative Directory where to store the file (default: . (downloadService directory))",
	txtUploadBackupDir: "Relative Directory where to backup the file. If empty no backup. (default: ''(empty))",
	txtUploadUserName: "Upload Username",
	pasUploadPassword: "Upload Password",
	chkUploadLog: "do Logging in UploadLog (default: true)",
	txtUploadLogMaxLine: "Maximum of lines in UploadLog (default: 10)"
});

// Options Initializations
bidix.initOption('txtUploadStoreUrl','');
bidix.initOption('txtUploadFilename','');
bidix.initOption('txtUploadDir','');
bidix.initOption('txtUploadBackupDir','');
bidix.initOption('txtUploadUserName','');
bidix.initOption('pasUploadPassword','');
bidix.initOption('chkUploadLog',true);
bidix.initOption('txtUploadLogMaxLine','10');


// Backstage
merge(config.tasks,{
	uploadOptions: {text: "upload", tooltip: "Change UploadOptions and Upload", content: '<<uploadOptions>>'}
});
config.backstageTasks.push("uploadOptions");


//}}}
/***
|''Name:''|UploadTiddlerMacro|
|''Description:''|Define a macro to upload a tiddler using UploadTiddlerPlugin (see UploadTiddlerPlugin for details).|
|''Version:''|1.0.0|
|''Date:''|2008-09-30|
|''Source:''|http://tiddlywiki.bidix.info/#UploadTiddlerMacro|
|''Usage:''|{{{<<uploadTiddler [tiddlerTitle]>>}}}<br>{{{tiddlerTitle: if omitted the title of the current tiddler}}}|
|''Author:''|BidiX (BidiX (at) bidix (dot) info)|
|''License:''|[[BSD open source license|http://tiddlywiki.bidix.info/#%5B%5BBSD%20open%20source%20license%5D%5D ]]|
|''CoreVersion:''|2.2.0|
|''Requires:''|UploadTiddlerPlugin|
***/
//{{{
version.extensions.UploadTiddlerMacro = {
	major: 1, minor: 0, revision: 0, 
	date: new Date("2008-09-30"),
	source: 'http://tiddlywiki.bidix.info/#UploadTiddlerMacro',
	author: 'BidiX (BidiX (at) bidix (dot) info',
	coreVersion: '2.2.0'
};

config.macros.uploadTiddler = {
	label: "uploadTiddler",
	prompt: "upload tiddler '%0' using UploadTiddlerOptions ",
	warning: "Are you sure you want to upload '%0'?",
	messages: {
		fileUploaded: "tiddler '%0' uploaded to file '%1'",
		fileNotUploaded: "tiddler '%0' NOT uploaded"
	},

	handler: function(place, macroName, params, wikifier,paramString, tiddler) {
		var tiddlerTitle = params[0];
		if (!tiddlerTitle) { 
			tiddlerTitle = tiddler.title;
		} else {
			tiddler = store.getTiddler(tiddlerTitle);
		}
		createTiddlyButton(place, this.label, this.prompt.format([tiddlerTitle]), 
			function () {
				config.macros.uploadTiddler.upload(tiddlerTitle, tiddler); 
				return false;}, 
			null, null, null);
	},

	upload:  function(tiddlerTitle, tiddler) {
		var saved_chkUploadTiddler = config.options.chkUploadTiddler;
		config.options.chkUploadTiddler = true; 
		bidix.uploadTiddler.upload(tiddlerTitle, tiddler,tiddlerTitle);
		config.options.chkUploadTiddler = saved_chkUploadTiddler;
	}
};

//
// Utilities
// 
if (!window.bidix) window.bidix = {}; // bidix namespace

bidix.checkPlugin = function(plugin, major, minor, revision) {
	var ext = version.extensions[plugin];
	if (!
		(ext  && 
			((ext.major > major) || 
			((ext.major == major) && (ext.minor > minor))  ||
			((ext.major == major) && (ext.minor == minor) && (ext.revision >= revision))))) {
			// write error in PluginManager
			if (pluginInfo)
				pluginInfo.log.push("Requires " + plugin + " " + major + "." + minor + "." + revision);
			eval(plugin); // generate an error : "Error: ReferenceError: xxxx is not defined"
	}
};

//
// Initializations
//

// require UploadTiddlerPlugin 1.2.2 or better
bidix.checkPlugin("UploadTiddlerPlugin", 1, 2, 2);


//}}}
/***
|''Name:''|UploadTiddlerPlugin|
|''Description:''|Upload a tiddler and Update a remote TiddlyWiki |
|''Version:''|1.2.2|
|''Date:''|2008-09-13|
|''Source:''|http://tiddlywiki.bidix.info/#UploadTiddlerPlugin|
|''Usage:''|Uses {{{<<uploadOptions>>}}}<br>with those UploadTiddler Options : <br>chkUploadTiddler: <<option chkUploadTiddler>><br>txtUploadTiddlerStoreUrl: <<option txtUploadTiddlerStoreUrl>><br>chkUploadTiddlerFromFile: <<option chkUploadTiddlerFromFile>>|
|''Author:''|BidiX (BidiX (at) bidix (dot) info)|
|''[[License]]:''|[[BSD open source license|http://tiddlywiki.bidix.info/#%5B%5BBSD%20open%20source%20license%5D%5D ]]|
|''CoreVersion:''|2.3.0|
***/
//{{{
version.extensions.UploadTiddlerPlugin = {
	major: 1, minor: 2, revision: 2, 
	date: new Date("2008-09-13"),
	source: 'http://tiddlywiki.bidix.info/#UploadTiddlerPlugin',
	author: 'BidiX (BidiX (at) bidix (dot) info',
	coreVersion: '2.3.0'
};

if (!window.bidix) window.bidix = {}; // bidix namespace
bidix.debugMode = false;
bidix.uploadTiddler = {
	messages: {
		aboutToSaveTiddler: "About to update tiddler '%0'...",
		aboutToRemotelySaveTiddler: "About to REMOTELY update tiddler '%0'...",
		storeTiddlerNotFound: "Script store tiddler '%0' not found",
		tiddlerSaved: "Tiddler '%0' updated in '%1' using '%2' "
	},
	upload: function(title,tiddler,oldTitle) {
		var callback = function(status,params,responseText,url,xhr) {
			if (xhr.status == 404) {
				alert(bidix.uploadTiddler.messages.storeTiddlerNotFound.format([url]));
				return;
			}
			if ((bidix.debugMode) || (responseText.indexOf("Debug mode") >= 0 )) {
				alert(responseText);
				if (responseText.indexOf("Debug mode") >= 0 )
					responseText = responseText.substring(responseText.indexOf("nn")+2);
			} else if (responseText.charAt(0) != '0') 
				alert(responseText);
			else 
				displayMessage(bidix.uploadTiddler.messages.tiddlerSaved.format([params[0], params[1], params[2]]));
				store.setDirty(false);
			}

		if ((config.options['chkUploadTiddler']) && 
				((document.location.toString().substr(0,4) == "http") || config.options['chkUploadTiddlerFromFile'])) {
			clearMessage();
			if (document.location.toString().substr(0,4) != "http")
				displayMessage(bidix.uploadTiddler.messages.aboutToRemotelySaveTiddler.format([title]));
			else
				displayMessage(bidix.uploadTiddler.messages.aboutToSaveTiddler.format([title]));
			var ExtTiddler = null;
			var html = null;
			if (tiddler) {
				ExtTiddler = store.getSaver().externalizeTiddler(store,tiddler);
				html = wikifyStatic(tiddler.text,null,tiddler).htmlEncode();
			}
			var form = "title="+encodeURIComponent(title);
			form = form + "&tiddler="+(ExtTiddler?encodeURIComponent(ExtTiddler):'');
			form = form + "&html="+(html?encodeURIComponent(html):'');
			var filename = (config.options['txtUploadFilename']?config.options['txtUploadFilename']:'index.html');
			form = form +"&oldTitle="+encodeURIComponent(oldTitle);
			form = form +"&fileName="+encodeURIComponent(filename);
			form = form +"&backupDir="+encodeURIComponent(config.options['txtUploadBackupDir']);
			form = form +"&user="+encodeURIComponent(config.options['txtUploadUserName']);
			form = form +"&password="+encodeURIComponent(config.options['pasUploadPassword']);
			form = form +"&uploadir="+encodeURIComponent(config.options['txtUploadDir']);
			form = form +"&debug="+encodeURIComponent(0);
			var storeScript = (config.options.txtUploadTiddlerStoreUrl 
								? config.options.txtUploadTiddlerStoreUrl : 'storeTiddler.php');
			var r = doHttp("POST",storeScript,form+"n",'application/x-www-form-urlencoded',
				config.options['txtUploadUserName'],config.options['pasUploadPassword'],callback,Array(title,filename, storeScript),null);
		}
	}
}
TiddlyWiki.prototype.saveTiddler_bidix = TiddlyWiki.prototype.saveTiddler;
TiddlyWiki.prototype.saveTiddler = function(oldTitle,newTitle,newBody,modifier,modified,tags,fields,clearChangeCount,created) {
	var tiddler = TiddlyWiki.prototype.saveTiddler_bidix.apply(this,arguments);
	var title = (newTitle?newTitle:oldTitle);
	if (oldTitle == title)
		oldTitle = '';
	bidix.uploadTiddler.upload(title, tiddler, oldTitle);
}
TiddlyWiki.prototype.removeTiddler_bidix =TiddlyWiki.prototype.removeTiddler;
TiddlyWiki.prototype.removeTiddler = function(title) {
	TiddlyWiki.prototype.removeTiddler_bidix.apply(this,arguments);
	bidix.uploadTiddler.upload(title, null);
}

//
// Initializations
//

bidix.initOption = function(name,value) {
	if (!config.options[name])
		config.options[name] = value;
};

// styleSheet
setStylesheet('.txtUploadTiddlerStoreUrl {width: 22em;}',"uploadTiddlerPluginStyles");

//optionsDesc
merge(config.optionsDesc,{
	txtUploadTiddlerStoreUrl: "Url of the UploadTiddlerService script (default: storeTiddler.php)",
	chkUploadTiddler: "Do per Tiddler upload using txtUploadTiddlerStoreUrl (default: false)",
	chkUploadTiddlerFromFile: "Upload tiddler even if TiddlyWiki is located on local file (default: false)"
});

// Options Initializations
bidix.initOption('txtUploadTiddlerStoreUrl','');
bidix.initOption('chkUploadTiddler','');
bidix.initOption('chkUploadTiddlerFromFile','');


// add options in backstage UploadOptions
if (config.macros.uploadOptions) {
	if (config.macros.uploadOptions.options) {
		config.macros.uploadOptions.options.push("txtUploadTiddlerStoreUrl","chkUploadTiddler", "chkUploadTiddlerFromFile");
	}
}

//}}}
{{left{
''Upload Arquivo (.pdf)''
<html><nowiki><form enctype="multipart/form-data" action="uploadPDF.php" method="POST" target=responseframe>
<input type="hidden" name="filename" ><input type="hidden" name="tarefa" value="">
<input type="text" name="title" value="" style="width:250px;">titulo<br>
<input type="text" name="editora" value="" style="width:250px;">editora<br>
<input type="text" name="autor" value="" style="width:250px;">autor<br>
<input type="text" name="isbn" value="" style="width:250px;">isbn<br>
<input  type=text name="etiquetas"  value="" style="width:250px">etiquetas<br>
<input type=text name = "username" value="" style="width:250px;">aluno<br>
<input  type=text name="curso" value="" style="width:250px;">curso<br>
<input  type=text name="tipo" value="" style="width:100px;">PDF (so uma etiqueta), Livro, Artigo, Leido, Pasta<br>
 <input type=text name="fonte" value="" style="width:100px;"> <input type=text name="doctipo" value="" style="width:100px;"><br>
<textarea name="comment" rows="6" cols="48" style="width:320px;"></textarea><br>Nota: escrive uma descricao breve do livro aqui...em caso de um sumario mais completa, upload seu arquivo, em PDF usando a proxima butao.<br><input type=hidden name="user"><input type="file" name="url" id="url">
<input type="submit" value="mandar" onclick=''>
</form><iframe src="" name="responseframe" id="responseframe" marginheight=0     style="display:block;border:0;padding:0;margin:0;width:100%;height:50px;"></iframe></html><script>
var form=place.lastChild.getElementsByTagName('form')[0];
form.title.value=localStorage.titulo;
form.username.value=localStorage.username;
form.curso.value=localStorage.curso;
form.doctipo.value=localStorage.docTipo;
form.fonte.value=localStorage.item;
form.etiquetas.value=localStorage.TagSearch;
if(localStorage.docTipo=="Livros"){form.fonte.value="livros";form.etiquetas.value="";}</script>
{{small{Nota:usar esta forma para mandar um documento/definir/describir seu tarefa resposta e depois seleciona o arquivo em seu computador e mandar ele por UniGaia-Brasil. Nesse momento, voce pode "upload" arquivos em formato PDF..... por favor guardar seus arquivos nesse formato - em caso voce nao sabe como fazer isso, ou nao tem um programa com esse capacidade....me contacta direitament.}}} }}}
<!--{{{-->
<div class='toolbar' role='navigation' macro='toolbar [[ToolbarCommands::ViewToolbar]]'></div>

<div class='title' macro='view title'></div>
<div class='viewer' macro='view text wikified'></div>
<span macro='tiddler TiddlerBackgrounds' style='display:none'></span>
<div class='tagClear'></div>
<!--}}}-->
/***
|Name|WikifyPlugin|
|Source|http://www.TiddlyTools.com/#WikifyPlugin|
|Documentation|http://www.TiddlyTools.com/#WikifyPluginInfo|
|Version|1.2.0|
|Author|Eric Shulman|
|License|http://www.TiddlyTools.com/#LegalStatements|
|~CoreVersion|2.1|
|Type|plugin|
|Description|insert sections, slices, fields, literals, or computed values into a wiki-format output|
!!!!!Documentation
> see [[WikifyPluginInfo]]
!!!!!Revisions
<<<
2011.03.07 1.2.0 added handling in getFieldReference() for retrieving section values
|please see [[WikifyPluginInfo]] for additional revision details|
2007.06.22 1.0.0 initial release
<<<
!!!!!Code
***/
//{{{
version.extensions.WikifyPlugin= {major: 1, minor: 2, revision: 0, date: new Date(2011,3,7)};

config.macros.wikify={
	handler: function(place,macroName,params,wikifier,paramString,tiddler) {
		var fmt=params.shift();
		var values=[];
		var out="";
		if (!fmt.match(/%[0-9]/g) && params.length) // format has no markers, just join all params with spaces
			out=fmt+" "+params.join(" ");
		else { // format param has markers, get values and perform substitution
			while (p=params.shift()) values.push(this.getFieldReference(place,p));
			out=fmt.format(values);
		}
		if (macroName=="wikiCalc") out=eval(out).toString();
		wikify(out.unescapeLineBreaks(),place,null,tiddler);
	},
	getFieldReference: function(place,p) {
		if (typeof p != "string") return p; // literal non-string value... just return it...

		var val=undefined;
		var here=story.findContainingTiddler(place);
		var current=here?here.getAttribute('tiddler'):'';

		// SLICES: "::slicename" OR "here::slicename" OR "tiddlername::slicename"
		var parts=p.split(config.textPrimitives.sliceSeparator);
		var tid=parts[0]; var slice=parts[1];
		if (slice) { // slice reference
			if (!tid || !tid.length || tid=="here") tid=current;
			var val=store.getTiddlerSlice(tid,slice);
		}

		// SECTIONS: "##sectionname" OR "here##sectionname" OR "tiddlername##sectionname"
		if (!slice) {
			var parts=p.split(config.textPrimitives.sectionSeparator);
			var tid=parts[0]; var section=parts[1];
			if (section) {
				if (!tid || !tid.length || tid=="here") tid=current;
				var val=store.getTiddlerText(tid+config.textPrimitives.sectionSeparator+section);
			}
		}

		// FIELDS: "fieldname" OR "fieldname@tiddlername"
		if (!slice && !section) {
			var parts=p.split("@");
		 	var field=parts[0]; var tid=parts[1];
			if (!tid || !tid.length || tid=="here") tid=current;
			var val=store.getValue(tid,field);
		}

		// not a slice, section or field, or value not found... return value unchanged
		return val===undefined?p:val;
	}
}
//}}}
//{{{
// define alternative macroName for triggering pre-rendering call to eval()
config.macros.wikiCalc=config.macros.wikify;
//}}}
<script>window.open(localStorage.url,localStorage.atividade,"width=1000;titlemenu=0;location=0;menubar=0;;",false);</script>
PDC_UniGaia-Brasil
<<tiddler SideBarOptions>>{{small{{{fourcolumns{<<tiddler SideBarTabs>>}}}}}}
<script>
localStorage.leftMenu="albums";
config.refreshers.content(document.getElementById("leftMenu"));
</script>
/%
!!itemMenu
<<wikify {{'<html><iframe src="Cursos/'+localStorage.curso+'/Albums/'+localStorage.url+'" width=100% height=500px></iframe></ht'+'ml>'}}>>

!!lista
{{center{__Albums dos Fotos__}}}
<script>
var out="";
var curso="Cursos/"+localStorage.curso+"/albums";
var albums=getText(curso);
albums=albums.split("#\n");

for(i=0;i<albums.length-1;i++)
{
albumInd=albums[i].split("|");
out='<script label="'+albumInd[0]+'">localStorage.itemMenu="albums";localStorage.item="'+albumInd[0]+'";localStorage.url="'+albumInd[9]+'";config.refreshers.content(document.getElementById("itemMenu"));</scr'+'ipt><br>';
}
return out;
</script>
!!end
%/
<script>
localStorage.leftMenu="apresenta";config.refreshers.content(document.getElementById("leftMenu"));
localStorage.listaMenu="apresenta";
localStorage.itemMenu="apresenta";
</script>
/%
!!leftMenu
{{center{__Apresentacoes  __}}}
----
<script>
var out="porTema<br>";
var url="apresenta/apresenta";
var tids=getText(url);
//return tids;
tids=tids.split("|");
for(i=0;i<tids.length;i++)
{
out+='<script label="'+tids[i]+'">localStorage.item="'+tids[i]+'";localStorage.listaMenu="apresenta";config.refreshers.content(document.getElementById("listaMenu"));</scr'+'ipt><br>';
}
out+="<br>__os Cursos e Projetos__<br>";
var url="apresenta/cursos";
var tids=getText(url);
//return tids;
tids=tids.split("|");
for(i=0;i<tids.length;i++)
{
out+='<script label="'+tids[i]+'">localStorage.listaMenu="apresenta";localStorage.item="'+tids[i]+'";config.refreshers.content(document.getElementById("listaMenu"));</scr'+'ipt><br>';
}


return out;
</script>



!!listaMenu
<script>
var out="<br>{{center{__Atividades por "+localStorage.item+"__}}}<br>";
var tids=getText("aulas/"+localStorage.item);
//return tids;
tids=tids.replace(/\r/g,"");
tids=tids.split("#\n");
for(i=0;i<tids.length;i++)
{
var lines=tids[i].split("|");

out+='<script label="'+lines[0]+'">localStorage.itemMenu="aulas";localStorage.atividade="'+lines[0]+'";localStorage.tipo="'+lines[1]+'";localStorage.url="'+lines[9]+'";localStorage.class="'+lines[2]+'";localStorage.text="'+lines[5]+'";localStorage.fonte="'+lines[3]+'";config.refreshers.content(document.getElementById("itemMenu"));</scr'+'ipt><br>';

}
return out;
</script>

!!items
<script>
if(localStorage.tipo=="texto"){var texto= getText("LObjetos/"+localStorage.fonte);var start=texto.indexOf("texto=>");return texto.substring(start);}
if(localStorage.tipo=="fotoInicio")
 {var texto=getText("LObjetos/"+localStorage.fonte);
 var fotoInicio=texto.indexOf("fotoInicio=>")+12;
 var fotoFim=texto.indexOf("fotoFim=>");
 var startText=texto.indexOf("texto=>")+7;
 return '[>img(200px,auto)[FotoShows/'+texto.substring(fotoInicio,fotoFim-2)+']]<br>'+texto.substring(startText);
 }
if(localStorage.tipo=="fotoFim")
 {var texto=getText("LObjetos/"+localStorage.fonte);
 var fotoInicio=texto.indexOf("fotoInicio=>")+12;
 var fotoFim=texto.indexOf("fotoFim=>");
 var startText=texto.indexOf("texto=>")+7;
 var tags=texto.indexOf("tags=>");
//return texto.substring(fotoFim+9,tags);
 return '[>img(200px,auto)[FotoShows/'+texto.substring(fotoInicio,fotoFim-2)+']]<br>'+texto.substring(startText)+'[img(400px,auto)[FotoShows/'+texto.substring(fotoFim+9,tags)+']]';
 }
if(localStorage.tipo=="tema"+localStorage.font=="dinamica"){return getText("aulas/"+localStorage.url);}
if(localStorage.tipo=="caixa"){
             return "<<tiddler WindowOpen>"+">";}
if(localStorage.tipo=="dinamica" && localStorage.font=="doc"){return getText("Cursos/"+localStorage.curso+"/Documentos/"+localStorage.url);}
if(localStorage.tipo=="tema"){localStorage.item=localStorage.fonte;localStorage.pasta="LObjetos"; return "<<tiddler TemaViewer >"+">";}
if(localStorage.tipo=="oldTema"){localStorage.item=localStorage.fonte;localStorage.pasta="LObjetos"; return "<<tiddler OldTema >"+">";}
if(localStorage.tipo=="dinamica" && localStorage.font=="video"){var url="http://www.youtube.com/embed/"+localStorage.url+"?autoplay=1";return  '{{center{<html><iframe width="620" height="415" src='+url+'></ifr'+'ame></'+'html>}}}';}
if ((localStorage.tipo=="dinamica") && (localStorage.font=="odp")) 
{
var url="apresenta/webodf.php?file="+localStorage.url;
var window='<script label="abrir">window.open("'+url+'","_blank","right=20,top=20,width=1000,height=600,toolbar=no,scrollbars=yes,titlebar=no",true);</sc'+'ript>';
return window+'<<setIcon ../Logos/presentation_small.png "" notext>'+'><br><html><iframe src="'+url+'" width=100%  height=500px></iframe></html>';}
</script>
!!end
%/


<script>
localStorage.leftMenu="apresenta";config.refreshers.content(document.getElementById("leftMenu"));
localStorage.listaMenu="apresenta";
localStorage.itemMenu="apresenta";
</script>
/%
!!leftMenu
{{center{__Apresentacoes  __}}}
----
<script>
var out="porTema<br>";
var url="apresenta/apresenta";
var tids=getText(url);
//return tids;
tids=tids.split("|");
for(i=0;i<tids.length;i++)
{
out+='<script label="'+tids[i]+'">localStorage.item="'+tids[i]+'";localStorage.listaMenu="apresenta";config.refreshers.content(document.getElementById("listaMenu"));</scr'+'ipt><br>';
}
out+="<br>__os Cursos e Projetos__<br>";
var url="apresenta/cursos";
var tids=getText(url);
//return tids;
tids=tids.split("|");
for(i=0;i<tids.length;i++)
{
out+='<script label="'+tids[i]+'">localStorage.listaMenu="apresenta";localStorage.item="'+tids[i]+'";config.refreshers.content(document.getElementById("listaMenu"));</scr'+'ipt><br>';
}


return out;
</script>



!!listaMenu
<script>
var out="<br>{{center{__Atividades por "+localStorage.item+"__}}}<br>";
var tids=getText("aulas/"+localStorage.item);
//return tids;
tids=tids.replace(/\r/g,"");
tids=tids.split("#\n");
for(i=0;i<tids.length;i++)
{
var lines=tids[i].split("|");

out+='<script label="'+lines[0]+'">localStorage.itemMenu="aulas";localStorage.atividade="'+lines[0]+'";localStorage.tipo="'+lines[1]+'";localStorage.url="'+lines[9]+'";localStorage.class="'+lines[2]+'";localStorage.text="'+lines[5]+'";localStorage.fonte="'+lines[3]+'";config.refreshers.content(document.getElementById("itemMenu"));</scr'+'ipt><br>';

}
return out;
</script>

!!items
<script>
if(localStorage.tipo=="texto"){var texto= getText("LObjetos/"+localStorage.fonte);var start=texto.indexOf("texto=>");return texto.substring(start);}
if(localStorage.tipo=="fotoInicio")
 {var texto=getText("LObjetos/"+localStorage.fonte);
 var fotoInicio=texto.indexOf("fotoInicio=>")+12;
 var fotoFim=texto.indexOf("fotoFim=>");
 var startText=texto.indexOf("texto=>")+7;
 return '[>img(200px,auto)[FotoShows/'+texto.substring(fotoInicio,fotoFim-2)+']]<br>'+texto.substring(startText);
 }
if(localStorage.tipo=="fotoFim")
 {var texto=getText("LObjetos/"+localStorage.fonte);
 var fotoInicio=texto.indexOf("fotoInicio=>")+12;
 var fotoFim=texto.indexOf("fotoFim=>");
 var startText=texto.indexOf("texto=>")+7;
 var tags=texto.indexOf("tags=>");
//return texto.substring(fotoFim+9,tags);
 return '[>img(200px,auto)[FotoShows/'+texto.substring(fotoInicio,fotoFim-2)+']]<br>'+texto.substring(startText)+'[img(400px,auto)[FotoShows/'+texto.substring(fotoFim+9,tags)+']]';
 }
if(localStorage.tipo=="tema"+localStorage.font=="dinamica"){return getText("aulas/"+localStorage.url);}
if(localStorage.tipo=="caixa"){
             return "<<tiddler WindowOpen>"+">";}
if(localStorage.tipo=="dinamica" && localStorage.font=="doc"){return getText("Cursos/"+localStorage.curso+"/Documentos/"+localStorage.url);}
if(localStorage.tipo=="tema"){localStorage.item=localStorage.fonte;localStorage.pasta="LObjetos"; return "<<tiddler TemaViewer >"+">";}
if(localStorage.tipo=="oldTema"){localStorage.item=localStorage.fonte;localStorage.pasta="LObjetos"; return "<<tiddler OldTema >"+">";}
if(localStorage.tipo=="dinamica" && localStorage.font=="video"){var url="http://www.youtube.com/embed/"+localStorage.url+"?autoplay=1";return  '{{center{<html><iframe width="620" height="415" src='+url+'></ifr'+'ame></'+'html>}}}';}
if ((localStorage.tipo=="dinamica") && (localStorage.font=="odp")) 
{
var url="apresenta/webodf.php?file="+localStorage.url;
var window='<script label="abrir">window.open("'+url+'","_blank","right=20,top=20,width=1000,height=600,toolbar=no,scrollbars=yes,titlebar=no",true);</sc'+'ript>';
return window+'<<setIcon ../Logos/presentation_small.png "" notext>'+'><br><html><iframe src="'+url+'" width=100%  height=500px></iframe></html>';}
</script>
!!end
%/
<script>
localStorage.leftMenu="aulas";config.refreshers.content(document.getElementById("leftMenu"));
localStorage.listaMenu="aulas";
localStorage.itemMenu="aulas";
</script>
/%
!!aulas
{{center{aulas para curso:  __<<wikify {{localStorage.curso}}>>__}}}
----
<script>
var out="";
var url="Cursos/"+localStorage.curso+"/aulas";
var tids=getCSV(url);
//return "aula lista="+tids;
tids=tids.split("\n");
for(i=1;i<tids.length;i++)
{
var tidDet=tids[i].split(":");
if(tidDet[1]=="aula"){
out+='<script label="'+tidDet[0]+'">localStorage.listaMenu="aulas";localStorage.item="'+tidDet[0]+'";config.refreshers.content(document.getElementById("listaMenu"));</scr'+'ipt><br>';
}
}
return out;
</script>

!!listaMenu
<script>
var out="{{center{__Atividades por "+localStorage.item+"__}}}<br>";
var tids=getCSV("Cursos/"+localStorage.curso+"/aulas");
//return tids;
tids=tids.split("\n");
for(i=0;i<tids.length;i++)
{
var lines=tids[i].split(":");
if(lines[3]==localStorage.item){
out+='<script label="'+lines[0]+'">localStorage.itemMenu="aulas";localStorage.item="'+lines[0]+'";localStorage.objeto="'+lines[9]+'";localStorage.tipo="'+lines[1]+'";config.refreshers.content(document.getElementById("itemMenu"));</scr'+'ipt><br>';}

}
return out;
</script>

!!items
<<wikify {{'<script src="atividade.php?tipo=aula&aluno='+localStorage.username+'&desc='+localStorage.tipo+'/'+localStorage.objeto+'"></scr'+'ipt>'}}>>
<script>
//return "tipo="+localStorage.objeto;
if(localStorage.tipo=="dinamica"){var textFile=localStorage.objeto;return getText(textFile);}
if(localStorage.tipo=="lobjeto"){return '<<tiddler displayLobjeto>'+'>';}
if(localStorage.tipo=="tema"){return '<<tiddler displayLobjeto>'+'>';}
if(localStorage.tipo=="url"){var iframe='<html><iframe src="http://'+localStorage.objeto+'" width=100% height=500px></iframe></ht'+'ml>';return iframe;}
if(localStorage.tipo=="csv"){return '<<tiddler displayCSVobjeto>'+'>'}
if(localStorage.tipo=="texto"){var textFile="LObjetos/"+localStorage.objeto;return getText(textFile);}
if(localStorage.tipo=="info"){var textFile="Info/"+localStorage.objeto;return getText(textFile);}
if(localStorage.tipo=="odp"){var url='apresenta/webodf.php?file='+localStorage.objeto;var out='<html><iframe src="'+url+'" width=100% height=500px></iframe></html>';return out;}
</script>
!!end
%/


<script>
localStorage.item="ecoConstruindo";
var out="<br>{{center{__Atividades por "+localStorage.item+"__}}}<br>";
var lista="";
    var xmlHttp = null;
    xmlHttp = new XMLHttpRequest();
    var discFile="aulas/"+localStorage.item+".csv";
//return discFile;
    xmlHttp.open( "GET",discFile, false);
    xmlHttp.send( null );
    var tids=xmlHttp.responseText;
if(xmlHttp.status!=200){indexLista="";}

//return tids;
tids=tids.replace(/\r/g,"");
tids=tids.split("#\n");
for(i=0;i<tids.length;i++)
{
var lines=tids[i].split(",");

out+='<script label="'+lines[0]+'">localStorage.itemMenu="aulas";localStorage.objeto="'+lines[3]+'";localStorage.tipo="'+lines[1]+'";config.refreshers.content(document.getElementById("itemMenu"));</scr'+'ipt><br>';

}
return out;
</script>
Bookmarklets sao pequenas pedacos de codigo, que ficam em seu barra dos ferramentas, e executar trabalhos usados com frequencia.  Voce pode ser acustmado eles....muitas servicos instala bookmarklets em seu navegador (ver os icons ao lado seu barra da navegacao).

Pois, por o curso, tem algumas bookmarklets que facilita nosso trabalho (para usar eles, simplesmente clicar direita e rasta estas buttoes por seu barra dos favoritos - nota que sera util criar uma pasta dos bookmarklets por esse curso...tipo "PDC"...e coloca seus bookmarklets)-

<html><nowiki><a href="javascript:void(window.open('http://www.unigaia-brasil.org/Permacultura/aulas.html#txtGenero:addBancoDados%20txtFonte:[['+location.href+'%20]]%20txtTitle:[['+document.title+'%20]]%20txtDominio:[['+window.location.hostname+'%20]]%20%20%20txtCitado:[['+window.getSelection()+'%20]]','SkyeRefs','width=800,height=400,toolbar=yes,scrollbars=yes,titlebar=yes',true));">WWWRef</a></html>- isso é um dos mais importantes e usamos ele muito! Esencialmente é nosso sistema dos favoritos colhetivos. Quando voce esta pesquisando uma tema relevante o curso...e achar uma referencia que voce quer compartilhar com nos....simplesmente clicar esse bookmarklet e, em um tempinho vai abrir uma forma...com os detalhes da pagina...e com opcao por voce adicionar mais informacao e comentarios.....ao fim..clicar o tipo do arquivo (video, pdf, html, som,foto) e ele sera salva em nosso banco dos dados colhetovos.
<html><iframe src="../chat/index.php?channel=2016_PDC_AMMA" width=100% height=640px></iframe></html>
<script>

return;
</script>

<html><iframe src="chat.html" width=100% height=600px></iframe></html>
<script>
var out="";
var tids=getText("Cursos/"+localStorage.curso+"/comentarios");
tids=tids.split("#\n");
for (i=0;i<tids.length;i++)
{
var tidDet=tids[i].split("|");
if(tidDet[1]==localStorage.tema)
{
out+="* "+tidDet[5]+' ('+tidDet[8]+') <br>';
}
}
return out;
</script>
<script>localStorage.leftMenu="desProjetos";
config.refreshers.content(document.getElementById("leftMenu"));
</script>
/%
!!deProjetos
Aqui tem varios projetos e desenvolvimentos por parte do UniGaia-Brasil, depende na classificacao seu curso e registro, voce vao ver a lista desses projetos aqui......simplesmente escolha!
----
<script label="escolasResilientes">localStorage.leftMenu="escolasResilientes";localStorage.itemMenu="escolasResilientes";config.refreshers.content(document.getElementById("leftMenu"));config.refreshers.content(document.getElementById("itemMenu"));</script>

<script label="padroes">localStorage.leftMenu="padroes";localStorage.itemMenu="padroes";config.refreshers.content(document.getElementById("leftMenu"));config.refreshers.content(document.getElementById("itemMenu"));</script>

<script label="dinamicas(educacao)">localStorage.leftMenu="dinamicas";localStorage.itemMenu="dinamicas";config.refreshers.content(document.getElementById("leftMenu"));config.refreshers.content(document.getElementById("itemMenu"));</script>


!!escolasResilientes
{{center{{{__EscolasResilientes__}}}
----
<<showPopup tiddler:escolasResilientes##Temas label:Temas popupClass:sticky width:140px>>
----
<script label="Todas as Paginas">localStorage.listaMenu="escolasResilientes";localStorage.tema="all";config.refreshers.content(document.getElementById("listaMenu"));</script>
----
<<showPopup tiddler:escolasResilientes##Atividades label:Atividades popupClass:sticky width:140px>>
----
<<showPopup tiddler:escolasResilientes##AudioVisuais label:AudioVisuais popupClass:sticky width:200px>>
----
<script>localStorage.item="intro";localStorage.itemMenu="escolasResilientes";config.refreshers.content(document.getElementById("itemMenu"));</script>
!!end
%/
<script>
config.options.chkDiarioEdit=false;config.options.txtTags="";
localStorage.leftMenu="diario";config.refreshers.content(document.getElementById("leftMenu"));
localStorage.listaMenu="diario";config.refreshers.content(document.getElementById("listaMenu"));
localStorage.itemMenu="diario";config.refreshers.content(document.getElementById("itemMenu"));
</script>
/%

!!listaItems

{{floatleft{{{bold{__<<wikify {{localStorage.diarioItem}}>>__}}}}}}{{floatright{<script label="edit">config.options.chkDiarioEdit=true;config.refreshers.content(document.getElementById("itemMenu"));</script><<setIcon ../Logos/sm_edit.png "" notext>>}}}
<<wikify {{localStorage.diarioText}}>>

!!search
{{center{{{bold{__Meus Diarios__}}} }}}{{floatright{<script label="atualiza">var url="Alunos/"+localStorage.username+"/diario.txt";window.open(url,"Atualiza","width=100, height=100",true);window.close();</script>}}}
<script>
localStorage.diarioText="";
localStorage.diarioItem="";
var out="<br>";
var url="Alunos/"+localStorage.username+"/diario";
var tids=getText(url);
//return tids;
tids=tids.split("#\n");
for(i=0;i<tids.length-1;i++)
{
var tidDet=tids[i].split("|");
out+='<script label="'+tidDet[0]+'">story.displayTiddler(null,"diario");localStorage.diarioItem="'+tidDet[0]+'";localStorage.diarioText="'+tidDet[5]+'";localStorage.listaMenu="diario";config.options.txtTags="'+tidDet[6]+'";config.refreshers.content(document.getElementById("listaMenu"));config.refreshers.content(document.getElementById("itemMenu"));</scr'+'ipt><br>'
}
return out;
</script>


!!itemMenu
<html><form method=GET target=responseframe action="diarioCriar.php" style="display:inline">
	<input type=hidden name=curso value="">
        <input type=text name=title value="" style="width:250px;">..novo diario (usando data como titulo)....<br><input type=text name=tag value="" >-etiquetas
	<input type=hidden name=username value=""><input =hidden name=tipo value="diario">
	<input type=hidden name=when value=""><input type=hidden name=editing value="">
	<textarea rows=25 cols=100 name=msg style="width:99%" onfocus="this.select()"></textarea><br>
	<input type="submit" value="criar" onclick='
config.options.chkDiarioEdit=false;
config.refreshers.content(document.getElementById("leftMenu"));
'></form>
<iframe src="" name="responseframe" id="responseframe" marginheight=0 style="display:block;border:0;padding:0;margin:0;width:100%;height:50px;"></iframe><hide linebreaks>
</html><script>
var form=place.lastChild.getElementsByTagName('form')[0];
form.curso.value=localStorage.curso;
form.username.value=localStorage.username;
var date=new Date();
form.when.value=date.formatString("YYYY-MM-DD_hh:mm");
if(config.options.chkDiarioEdit==false){form.title.value=form.when.value;}
if(config.options.chkDiarioEdit==true){form.title.value=localStorage.diarioItem;}
if(config.options.chkDiarioEdit==false){form.msg.value="";}
if(config.options.chkDiarioEdit==true){form.msg.value=localStorage.diarioText;}
if(config.options.chkDiarioEdit==true){form.tag.value=config.options.txtTags;}
form.editing.value=config.options.chkDiarioEdit;
</script>
!!end
%/
<script>
var url="dinamicas/"+localStorage.objeto;
return getText(url);
</script>
!!cursos
<script>
var out="";
var tids=getText("dinamicas/dinamicas");
//return tids;
tids=tids.split("#\n");
for(i=0;i<tids.length-1;i++)
{
out+='<script label=" '+tids[i]+'">localStorage.tema="'+tids[i]+'";localStorage.listaMenu="dinamicas";config.refreshers.content(document.getElementById("listaMenu"));</scri'+'pt><br>';
}
return out;
</script>

!!conferencias
<script>
var out="";
var tids=getText("dinamicas/conferencias");
//return tids;
tids=tids.split("#\n");
for(i=0;i<tids.length-1;i++)
{
out+='<script label=" '+tids[i]+'">localStorage.tema="'+tids[i]+'";localStorage.listaMenu="dinamicas";config.refreshers.content(document.getElementById("listaMenu"));</scri'+'pt><br>';
}
return out;
</script>

!!reunioes
<script>
var out="";
var tids=getText("dinamicas/reunioes");
//return tids;
tids=tids.split("#\n");
for(i=0;i<tids.length-1;i++)
{
out+='<script label=" '+tids[i]+'">localStorage.tema="'+tids[i]+'";localStorage.listaMenu="dinamicas";config.refreshers.content(document.getElementById("listaMenu"));</scri'+'pt><br>';
}
return out;
</script>

!!projetos
<script>
var out="";
var tids=getText("dinamicas/projetos");
//return tids;
tids=tids.split("#\n");
for(i=0;i<tids.length-1;i++)
{
out+='<script label=" '+tids[i]+'">localStorage.tema="'+tids[i]+'";localStorage.listaMenu="dinamicas";config.refreshers.content(document.getElementById("listaMenu"));</scri'+'pt><br>';
}
return out;
</script>
<script>
localStorage.leftMenu="tema";config.refreshers.content(document.getElementById("leftMenu"));
localStorage.listaMenu="temas";localStorage.tema=config.options.txtFonte;config.refreshers.content(document.getElementById("listaMenu"));
localStorage.itemMenu="temas";config.refreshers.content(document.getElementById("itemMenu"));
var out='<scri'+'pt src="entered.php?username='+localStorage.username+' curso='+localStorage.curso+'"></scr'+'ipt>';
config.options.chkSinglePageMode=true;
config.options.chkBackstage=false;
readOnly=false
config.options.chkHttpReadOnly=false;
return out;
</script>
<script>
var out="";
var url="LObjetos/"+localStorage.objeto;
//return "url="+url;
var tids=getCSV(url);
//return tids;
var tidsLines=tids.split("\r\n");
localStorage.tipo=tidsLines[1].split(":")[0];
//return "tipo="+localStorage.tipo;
localStorage.fotoInicio=tidsLines[1].split(":")[1];
//return localStorage.fotoInicio;
localStorage.fotoFim=tidsLines[1].split(":")[2];
localStorage.tags=tidsLines[1].split(":")[3];
localStorage.mapaMental=tidsLines[1].split(":")[4];
localStorage.imageMap=tidsLines[1].split(":")[6];
localStorage.video=tidsLines[1].split(":")[7];
localStorage.extra=tidsLines[1].split(":")[8];
localStorage.texto=tidsLines[1].split(":")[5];
out+="__"+localStorage.item+"__<br>";
if(localStorage.fotoInicio){out+='{{floatright{<<tiddler ThumbThing with: FotoShows/'+localStorage.tags+'/'+localStorage.fotoInicio+' 200px auto 600px auto>'+'>}}}';}
if(localStorage.texto){out+=localStorage.texto+"<br>";}
if(localStorage.mapaMenta){out+='<<tiddler ThumbThing with: FotoShows/'+localStorage.tags+'/'+localStorage.mapMental+' 400px auto 600px auto>'+'><br>';}
if(localStorage.imageMap){out+='<<tiddler ThumbThing with: FotoShows/'+localStorage.tags+'/'+localStorage.imagemap+' 400px auto 600px auto>'+'><br>';}
if(localStorage.video){out+='<html><iframe src="http://youtube.com/embed/'+localStorage.video+'" width=500px height=440px></iframe></ht'+'ml><br>';}
out+="n";
for(i=4;i<tidsLines.length;i++)
{
var tidsDet=tidsLines[i].split(":");
if(tidsDet[1]=="foto"){out+="|<<tiddler ThumbThing with: FotoShows/"+tidsDet[6]+"/"+tidsDet[9]+" 200px auto 600ps auto>>|__"+tidsDet[0]+"__<br>"+tidsDet[5]+"|\n";}
if(tidsDet[1]=="video"){out+='|<html><iframe src="http://youtube.com/embed/'+tidsDet[9]+'" width=360px height=250px></iframe></ht'+'ml>|__'+tidsDet[0]+'__<br>'+tidsDet[5]+'|\n';}
if(tidsDet[1]=="texto"){var thistexto=getText("LObjetos/"+tidsDet[9]);var textCorr=thistexto.replace(/\n/g,"<br>");out+='|>|'+textCorr+'|\n';}
if(tidsDet[1]=="url"){out+='<html><iframe src="http://'+tidsDet[9]+'" width=100% height=500px></iframe></ht'+'ml>'+textCorr+'|\n';}
}

return out;
</script>
<script>
// incoming parameters = ls.objeto = objetoName, 
var titulo=localStorage.objeto;
var item="LObjetos/"+titulo;
var objeto=getText(item);
//return objeto;

////////////////////////////////////get tags data and update logoMenu
var tags=objeto.indexOf("tags=>");
var texto=objeto.indexOf("texto=>");
localStorage.tag=objeto.substring(tags+6,texto-1);
//return ".."+localStorage.tag+".."+tags+texto+"vv";
var tagList=getText("Tags/tags_pt");
//return tagList;
tagList=tagList.split("#\n")
//return "length="+tagList.length;
for(t=0;t<tagList.length;t++)
{
var tagDet=tagList[t].split("|");
if(tagDet[0]==localStorage.tag){localStorage.tagsTexto="__"+tagDet[0]+"__<br>"+tagDet[5];}
}
//return "t="+t;
if(t==tagList.length){localStorage.tagsTexto="__"+localStorage.tag+"__";}
config.refreshers.content(document.getElementById("logoMenu"));

/////////////////////////////////check display options
if(objeto.indexOf("tipo=>tema")!=-1)
{
//return "this is a tema item, with.."+localStorage.tag
localStorage.item=titulo;
localStorage.pasta="LObjetos";
var out='<<tiddler TemaViewer>>';
}

if(objeto.indexOf("tipo=>texto")!=-1)
{
//return "a texto objeto";
if(objeto.indexOf("fotoInicio=>")!=-1)
 {
  var fotoInicio=objeto.indexOf("fotoInicio=>")+12;
  var fotoFim=objeto.indexOf("fotoFim=>");
  out="[>img(200px,auto)[FotoShows/"+objeto.substring(fotoInicio,fotoFim-2)+"]]<br>"+objeto.substring(texto+8)+"<br>"+objeto.substring(fotoFim+9,tags);
 }
else {var out=objeto.substring(texto+8);}
}

if(objeto.indexOf("tipo=>video")!=-1)
{
var video=objeto.indexOf("video=>")+7;
out=objeto.substring(texto+8)+'<br>{{center{<html><iframe src="http://www.youtube.com/embed/'+video+'" width=600px height=400px></iframe></html>}}}';
}
if(objeto.indexOf("tipo=>odp")!=-1)
{var url='apresenta/webodf.php?file='+objeto.substring(texto+8);var out='<html><iframe src="'+url+'" width=100% height=500px></iframe></html>';
}

return out;
</script>
<script>
localStorage.leftMenu="documentos";config.refreshers.content(document.getElementById("leftMenu"));
</script>
/%
!!lista
{{center{{{bold{__Documentos - Curso__  <<showPopup tiddler:info##documentos width:300px label:docs>><<setIcon ../Logos/sm_info.png "" notext>> <script label="newDoc">localStorage.url=prompt("titulo seu novo documento");localStorage.itemMenu="documentos";localStorage.tipo="documento";config.refreshers.content(document.getElementById("itemMenu"));</script><<setIcon ../Logos/sm_edit.png "" notext>>}}} }}}

<script>
var out="";
var url="Alunos/"+localStorage.username+"/diario";
var tids=getText(url);
tids=tids.split("#\n");
for(i=1;i<tids.length-1;i++)
{
var tidDet=tids[i].split("|");
if(tidDet[1]=="documento"){out+='<script label="'+tidDet[0]+'">localStorage.item="'+tidDet[0]+'";localStorage.itemMenu="documentos";localStorage.leftMenu="documentos";localStorage.url="'+tidDet[9]+'";config.refreshers.content(document.getElementById("leftMenu"));config.refreshers.content(document.getElementById("itemMenu"));</scr'+'ipt><br>';}
}
return out;
</script>

!!itemMenu
<<wikify {{localStorage.url}}>>
<script>
if(localStorage.tipo=="mapaMental")
{
var url='Cursos/'+localStorage.curso+'/Documentos/'+localStorage.url;
return '<html><iframe src="'+url+'" width=100% height=500px></html></ifra'+'me>';}
if(localStorage.tipo=="documento")
{
return '<html><iframe src="http://piratepad.nl/'+localStorage.url+'" width=100% height=600px></iframe></html>';}
</script>
!!end
%/
|Name|escView|
|PageTemplate|escView##PageTemplate|

!PageTemplate
<!--{{{-->
<div id='titleMenu' role='navigation' refresh='content' tiddler='TitleMenu'></div>
<div id='logoMenu' role='navigation' refresh='content' tiddler='LogoMenu'></div>
<div id='barraMenu' role='navigation' refresh='content' tiddler='BarraMenu'></div>
<div id='topMenu' role='navigation' refresh='content' tiddler='TopMenu'></div>
<div id='leftMenu' role='navigation' refresh='content' tiddler='LeftMenu'></div>
<div id='listaMenu' role='navigation' refresh='content' force='true' tiddler='ListaMenu'></div>
<div id='itemMenu' role='navigation' refresh='content' force='true' tiddler='ItemMenu'></div>
<div id='showMenu' role='navigation' refresh='content' force='true' tiddler='ShowMenu'></div>
<div id='refsMenu' role='navigation' refresh='content' force='true' tiddler='RefsMenu'></div>
<div id='fiveMenu' role='navigation' refresh='content' force='true' tiddler='FiveMenu'></div>

<div id='displayArea' role='main' refresh='content'>
<div id='messageArea'></div>

</div>
<!--}}}-->
<!--{{{-->
[[escView##PageTemplate]]

<html>
<style>body { font-family: Helvetica;color:#996633;}
#leftMenu{position:fixed;left:20px;top:80px;width:240px;;border-style:solid;border-color:maroon;border-width:1px 3px 3px 1px;border-radius: 20px;height:510px;overflow:auto;}
#listaMenu {position:relative;left: -29px;top:1926px;border-style:solid;border-color:brown;border-width:1px 3px 3px 1px;border-radius: 20px;height:240px;width:310px;overflow:auto;}
#itemMenu {position:relative;left: 288px;top:1694px;border-style:solid;border-color:brown;border-width:1px 3px 3px 1px;border-radius: 20px;height:220px;width:310px;overflow:auto;opacity:.9;}
#showMenu {position:relative;left:604px;top:1442px;;border-style:solid;border-color:brown;border-width:1px 3px 3px 1px;border-radius: 20px;height:520px;width:310px;overflow:auto;}
#refsMenu {position:relative;left:-28px;top:1182px;border-style:solid;border-color:brown;border-width:1px 3px 3px 1px;border-radius: 20px;height:260px;width:310px;overflow:auto;}
#fiveMenu {position:relative;left:290px;top:910px;border-style:solid;border-color:brown;border-width:1px 3px 3px 1px;border-radius: 20px;height:260px;width:310px;overflow:auto;}
#displayArea{position:relative;top:-2790px;left:130px;width:600px;height:400px;background-color:lightyellow;}

#leftMenu:hover {background-color:#ffc;}
#listaMenu:hover {background-color:#ffc;}
#itemMenu:hover {background-color:#ffc;}
#showMenu:hover {background-color:#ffc;}
#refsMenu:hover {background-color:#ffc;}
#fiveMenu:hover {background-color:#ffc;}


.popup {background-color:#E8E0AE; color:brown; width:auto; height:auto;border-style:solid;border-radius:1em;padding:5px 5px 5px 5px;}
.popup a:link {color:brown;fonte-weight:bold;border-width:0px;}
.opaque {border-style:solid;border-color:brown;border-width:1px 3px 3px 1px;border-radius: 20px;opacity:.7;background-color:beige;}
.alert {border-style:solid;border-color:brown;border-width:1px 3px 3px 1px;border-radius: 20px;opacity:.0;background-color:yellow;}

.tiddler{top:600px;}
.tiddler:hover {background:transparent;}
.header { background-color: #edead5;  height: 50px;left:150px; top:-50px;}
.tiddlyLinkExisting .tiddlyLink {color:red;}
.externalLink {color:red;} 
.viewer pre {background-color:transparent;}
.viewer table, table.twtable {border:none;}

[[StyleSheetAdjustments]]
[[StyleSheetShortcuts]]
</style>
</html>
<div class='toolbar' role='navigation' macro='toolbar [[ToolbarCommands::ViewToolbar]]'></div>
<div class='viewer' macro='view text wikified'></div>
<div class='tagClear'></div>
<!--}}}-->

{{center{{{larger{<<wikify {{localStorage.item}}>>}}}}}}
<script>
var out="{{{"+localStorage.texto+"}}}";
return out;
</script>
!!Temas
{{right{<<showPopup tiddler:escolasResilientes##temaNova label:TemaNova width:300px popupClass:sticky>><<setIcon ../Cursos/Logos/smallStorage.png "" notext>>}}}
<script>
var out="";
var tids=getText("escolasResilientes/Temas");
tids=tids.split("n");
//return "tids="+tids[0];
for (i=0;i<tids.length-1;i++)
{
out+='<script label="'+tids[i]+'">localStorage.tema="'+tids[i]+'";   localStorage.listaMenu="escolasResilientes";config.refreshers.content(document.getElementById("listaMenu"));</scri'+'pt><br>';
}
return out;
</script>

!!temaNova
<html><form method=post target=responseframe action="TemaNova.php" style="display:inline">
<input type=text name=title>Nome da Tema Nova
<input type=submit value="cria-lhe" onclick=''>
</form></html>
!!end


!!Todas
<script>
var out=new Array();
var temas=new Array();
var lista="";
temas=getText("escolasResilientes/Temas");
temas=temas.split("n");
for(i=0;i<temas.length;i++)
{
//return temas[i];
var temaList=getText(temas[i]);
temaList=temaList.split("n");
//return temaList[0];
out=out.concat(temaList);
}
out=out.sort();
for(t=0;t<out.length;t++)
{
if(out[t]){lista+=out[t]+"<br>";}
}
return lista;
</script>

!!Atividades

<script>
var out="";
var tids=getText("escolasResilientes/atividades");
var tidsList=tids.split("n");
for (i=0;i<tidsList.length;i++)
{
var tidsDet=tidsList[i].split("|");
out+='<script label="'+tidsDet[0]+'">localStorage.itemMenu="atividade";localStorage.item="'+tidsDet[0]+'";story.displayTiddler(null,"ItemDisplay");config.refreshers.content(document.getElementById("itemMenu"));</scri'+'pt><br>';
}
return out;
</script>
!!AudioVisual
<script>
var hash=window.location.hash;
//return hash+"do="+config.options.txtDo+"tema="+config.options.txtId;
if(!hash){

// login chk and set parameters
if(localStorage.username && localStorage.curso)
  {
  //welcome existing student
  config.options.chkSinglePageMode=true;
  config.options.chkSinglePagePermalink=false;
  config.options.chkBackstage=false;
  readOnly=true;
  config.options.chkHttpReadOnly=true;
  if(localStorage.username=="Skye"){config.options.chkBackstage=true;readOnly=false;config.options.chkHttpReadOnly=false;}
  localStorage.centroTexto=getText("Info/BemVindo");
  localStorage.centerMenu="bemVindo";
  localStorage.login="aluno";
//  story.closeAlliddlers();
  story.displayTiddler(null,"CenterMessage");
  ///uploadparameters???
return out;
  }
if(!localStorage.username || !localStorage.curso)
  {
  // get new student to enrol
  localStorage.login="no";
  localStorage.centroTexto=getText("Info/noLogin");
localStorage.centerMenu="noLogin";
  story.closeAllTiddlers();
  story.displayTiddler(null,"CenterMessage");
  config.refreshers.content(document.getElementById("centerMenu"));
  return "";
  }
}
if(hash)
{
localStorage.login="noLogin";
if(config.options.txtDo=="aula"){localStorage.leftMenu="aulas";localStorage.listaMenu="aulas";localStorage.item=config.options.txtId;story.displayTiddler(null,"aulas");config.refreshers.content(document.getElementById("listaMenu"));return "";}
if(config.options.txtDo=="lobjeto"){localStorage.leftMenu="lobjeto";localStorage.listaMenu="lobjetos";localStorage.item=config.options.txtId;story.dislayTiddler(null,"listaLObjetos");config.refreshers.content(document.getElementById("listaMenu"));return "";}
return "nao entendi o formato esse link....???";
}

</script>
<script>localStorage.itemMenu="imageMap";localStorage.leftMenu="imageMap";config.refreshers.content(document.getElementById("leftMenu"));</script>

/%
!!itemMenu
<<wikify {{'<html><iframe src="ImageMapping/'+localStorage.mapaUrl+'" width=100% height=500px></iframe></html>'}}>>

!!leftMenu
{{floatright{<<showPopup tiddler:imageMap##newMap label:novo popupClass:sticky width:300px>>}}}
----
<script>var url=localStorage.cursoImageMapping="/ImageMapping/";return '<script src="dir.php?path='+url+'"></scr'+'ipt>';</script>
<script>var url="ImageMapping/"+localStorage.username;return '<script src="dir.php?path='+url+'"></scr'+'ipt>';</script>
<script>
out="__Mapas do Curso__<br>";
var cursoMapas="ImageMapping/"+localStorage.curso+"/lista";
var mapas=getText(cursoMapas);
mapas=mapas.split("|");
for(i=0;i<mapas.length;i++)
{
if(mapas[i]!="lista"){out+='<script label="'+mapas[i]+'">localStorage.listaMenu="imageMap";localStorage.mapaUrl="/'+localStorage.curso+'/'+mapas[i]+'";config.refreshers.content(document.getElementById("itemMenu"));</scr'+'ipt><br>';}
}
out+="<br>__Minhas Mapas__<br>";
var cursoMapas="ImageMapping/"+localStorage.username+"/lista";
var mapas=getText(cursoMapas);
mapas=mapas.split("|");
for(i=0;i<mapas.length;i++)
{
if(mapas[i]!="lista"){out+=mapas[i]+"<br>";}
}
return out;
</script>

!!end
%/
<script>localStorage.leftMenu="LObjetos";config.refreshers.content(document.getElementById("leftMenu"));</script>
/%
!!leftMenu
{{right{<<showPopup tiddler:info##lobjetos width:300px>><<setIcon ../Logos/sm_info.png "" notext>>}}}
<script src="dir.php?path=LObjetos"></script>
<script>
var out="";
var objetosLista=getText("LObjetos/lista");
var objetos=objetosLista.split("|");
objetos=objetos.sort(function (a, b) {return a.toLowerCase().localeCompare(b.toLowerCase());});
for(i=0;i<objetos.length;i++)
{
var object=objetos[i].replace(".txt","");
object=object.replace(".csv","");
out+='<script label="'+object+'">localStorage.objeto="'+object+'";localStorage.listaMenu="LObjetos";localStorage.itemMenu="LObjetos";config.refreshers.content(document.getElementById("listaMenu"));</scr'+'ipt><br>';
}
return "{{small{"+out+"}}}";
</script>

!!listaMenu
<<wikify {{'<script src="atividade.php?tipo=lobjeto&aluno='+localStorage.username+'&desc='+localStorage.objeto+'"></scr'+'ipt>'}}>>
<script>config.options.txtTabs="Meu";
config.refreshers.content(document.getElementById("itemMenu"));
</script><<tiddler displayLobjeto>>

!!itemMenu
<<tabs txtTabs Meu "" listaLObjetos##meu Curso "" listaLObjetos##curso Geral "" listaLObjetos##geral Refs "" listaLObjetos##refs Apresent "" listaLObjetos##apresenta>>
!!meu
<script>localStorage.noteFile="Alunos/"+localStorage.username+"/"+localStorage.tag;
localStorage.nota=getText(localStorage.noteFile);
</script><<tiddler listaLObjetos##forma>>
!!curso
<script>localStorage.noteFile="Cursos/"+localStorage.curso+"/"+localStorage.tag;
localStorage.nota=getText(localStorage.noteFile);
</script><<tiddler listaLObjetos##forma>>
!!geral
<<wikify {{localStorage.tag}}>>
<script>localStorage.noteFile="Notas/"+localStorage.tag;
localStorage.nota=getText(localStorage.noteFile);
</script><<tiddler listaLObjetos##forma>>
!!forma
<html><form method=post target=responseframe action="notaText.php"><input type=submit value="guardar"><br><input type=text name=noteFile value="" style="width:90%">
<textarea name=nota rows="20" columns="40" style="width:260px;" onfocus="this.select()"></textarea>
</form><iframe src="" name="responseframe" id="responseframe" style="width:100%;height:50px;border:none;"></iframe></html><script>
var form=place.lastChild.getElementsByTagName('form')[0];
form.noteFile.value=localStorage.noteFile;
form.nota.value=localStorage.nota;
</script>

!!refs
<<tiddler Refs>>
!!end
%/

|Name|listaView|
|PageTemplate|listaView##PageTemplate|

!PageTemplate
<!--{{{-->
<div id='leftMenu' role='navigation' refresh='content' tiddler='LeftMenu'></div>
<div id='listaMenu' role='navigation' refresh='content' force='true' tiddler='ListaMenu'></div>
<div id='itemMenu' role='navigation' refresh='content' force='true' tiddler='ItemMenu'></div>
<div id='displayArea' role='main'>
<div id='messageArea'></div>
<div id='tiddlerDisplay'></div>
</div>
<!--}}}-->
<!--{{{-->
[[listaView##PageTemplate]]

<html>
<style>
body {font-family: Helvetica;color:#694D17;background-color:#FFE87F; }

a {color:brown;}
a:hover {background-color:transparent; color:red;}
.viewer .button {border:0px solid transparent;}

#displayArea{position:absolute;top:70px;left:90px;width:800px;}
#leftMenu{position:absolute;left:-168px;top:14px;width:240px;background-color:#DBC55D; border-style:solid;border-color:maroon;border-width:1px 3px 3px 1px;border-radius: 20px;height:625px;overflow:auto;opacity:.9;}
#listaMenu {position:absolute;left: 78px;top:12px;background-color:#DBC55D;border-style:solid;border-color:brown;border-width:1px 3px 3px 1px;border-radius: 20px;height:625px;width:240px;overflow:auto;opacity:.9;}
#itemMenu {position:absolute;left: 324px;top:12px;background-color:#DBC55D;border-style:solid;border-color:brown;border-width:1px 3px 3px 1px;border-radius: 20px;height:600px;width:700px;overflow:auto;opacity:.9;}


[[StyleSheetAdjustments]]
[[StyleSheetShortcuts]]
</style>
</html>
<div class='toolbar' role='navigation' macro='toolbar [[ToolbarCommands::ViewToolbar]]'></div>
<div class='viewer' macro='view text wikified'></div>
<div class='tagClear'></div>
<!--}}}-->

{{smallform{<html><form method=post target=responseframe action="AAA/mailText.php" style="display:inline">
	<input type=hidden name=to value="skye.skye@unigaia-brasil.org">
	<input type=hidden name=name><input type=hidden name=from><br>
	<input type=hidden name=subj value="Mensagem por Skye">
	<font size=-2>Seu Mensagem/Su Mensaje:</font><br>
	<textarea rows=7 cols=50 name=msg style="width:99%" onfocus="this.select()"></textarea><br>
	<div style="text-align:center">
	<font size=-2>Digitar seu mensagem e depois clic<br>Tecleas tu mensaje y después clic</font> 
	<input type="submit" value="send"
		onclick="
                        var f=this.form;
                        f.name.value=localStorage.username;
                        f.from.value=localStorage.email;
			if (!f.from.value){ alert('Voce n㯠tem email registrado');} 
			if (!f.msg.value.length)
				{ alert('Please enter a message'); f.msg.focus(); return false; }
			var target=this.form.nextSibling;
			target.style.display='block';
		">
	</div>
</form><div class="fine" style="text-align:center;display:none">
	server response:<br>
	<iframe src="" name="responseframe" id="responseframe"
		marginheight=0 style="display:block;border:0;padding:0;margin:0;width:100%;height:9em;">
	</iframe>
</div><hide linebreaks></html>}}}
|Name|messageView|
|PageTemplate|messageView##PageTemplate|

!PageTemplate
<!--{{{-->
<div id='centerMenu' role='navigation' refresh='content' tiddler='CenterMenu'></div>
<div id='displayArea' role='main'>
<div id='messageArea'></div>
<div id='tiddlerDisplay'></div>
</div>
<!--}}}-->
<!--{{{-->
[[messageView##PageTemplate]]

<html><style>
body {font-family: Helvetica;color:#694D17;background-color:#FFE87F;}
a {color:brown;}
a:hover {background-color:transparent; color:red;}
.viewer .button {border:0px solid transparent;}

#centerMenu{position:absolute; left:-38px; top:20px; width:600px; background-color:#DBC55D; border-style:solid;border-color:maroon;border-width:1px 3px 3px 1px;border-radius: 20px;height:400px;overflow:auto;opacity:.9;}
#displayArea {position:absolute; top:120px; left:260px; width:500px; height:50px;}


[[StyleSheetAdjustments]]
[[StyleSheetShortcuts]]
</style>
</html>
<div class='toolbar' role='navigation' macro='toolbar [[ToolbarCommands::ViewToolbar]]'></div>
<div class='viewer' macro='view text wikified'></div>
<div class='tagClear'></div>
<!--}}}-->
<script>
var out="";
var studentFile="Alunos/"+localStorage.username+"/participacao";
var tids=getText(studentFile);
//return tids;
tids=tids.replace(/r/g, "");
var tidsArray=tids.split("#\n");
for (i=0;i<tidsArray.length-1;i++)
{
var tidsDet=tidsArray[i].split("|");
if(tidsDet[0]=="entered"){out+=tidsDet[7]+" - entrou pra estudar?<br>";}
if(tidsDet[2]=="pdf"){out+="Ref: [["+tidsDet[0]+"|"+tidsDet[9]+"]]<br>";}
if(tidsDet[1]=="comment"){out+="Commentario: __"+tidsDet[0]+"__ - "+tidsDet[5]+"<br>";}
}

return '{{fine{'+out+'}}}';
</script>
|Name|middleView|
|PageTemplate|middleView##PageTemplate|

!PageTemplate
<!--{{{-->
<div id='leftMenu' role='navigation' refresh='content' tiddler='LeftMenu'></div>
<div id='listaMenu' role='navigation' refresh='content' force='true' tiddler='ListaMenu'></div>
<div id='itemMenu' role='navigation' refresh='content' force='true' tiddler='ItemMenu'></div>
<div id='displayArea' role='main'>
<div id='messageArea'></div>
<div id='tiddlerDisplay'></div>
</div>
<!--}}}-->
<!--{{{-->
[[listaView##PageTemplate]]

<html><style>
body {font-family: Helvetica;color:#694D17;background-color:#FFE87F;}
a {color:brown;}
a:hover {background-color:transparent; color:red;}
.viewer .button {border:0px solid transparent;}

#displayArea{position:absolute;top:80px;left:90px;width:900px;height:400px;Z-index:10;}
#leftMenu{position:absolute;left:-170px;top:6px;width:200px;background-color:#DBC55D;border-style:solid;border-color:maroon;border-width:1px 3px 3px 1px;border-radius: 20px;height:625px;overflow:auto;z-index:20;}
#listaMenu {position:absolute;left: 34px;top:6px;background-color:#DBC55D;border-style:solid;border-color:brown;border-width:1px 3px 3px 1px;border-radius: 20px;height:625px;width:686px;overflow:auto;z-index:20;}
#itemMenu {position:absolute;left: 724px;top:6px;background-color:#DBC55D;border-style:solid;border-color:brown;border-width:1px 3px 3px 1px;border-radius: 20px;height:600px;width:300px;overflow:auto;z-index:20;}


[[StyleSheetAdjustments]]
[[StyleSheetShortcuts]]
</style>
</html>
<div class='toolbar' role='navigation' macro='toolbar [[ToolbarCommands::ViewToolbar]]'></div>
<div class='viewer' macro='view text wikified'></div>
<div class='tagClear'></div>
<!--}}}-->
Podem utilizar esta pagina, para escrever um pouco a respeito voce mesmo...seus interesses, seu habilidades, porque voce esta fazendo esse curso, que voce quer aprender, quer voce podem contribuir...seu projetos...e pode ser fotos (desde que sao publicados no internet)...grato
<<wikify {{'<html><iframe src="firepadChk.html#'+localStorage.username+'" width=100% height=500px></iframe></ht'+'ml>'}}>>
|Name|oneView|
|PageTemplate|oneView##PageTemplate|

!PageTemplate
<!--{{{-->
<div id='leftMenu' role='navigation' refresh='content' tiddler='LeftMenu'></div>
<div id='displayArea' role='main'>
<div id='messageArea'></div>
<div id='tiddlerDisplay'></div>
</div>
<!--}}}-->
<!--{{{-->
[[oneView##PageTemplate]]

<html>
<style>body { font-family: Helvetica;color:#996633;}
#displayArea{position:absolute;top:70px;left:140px;width:900px;background-color:transparente;}
#leftMenu{position:absolute;left:-220px;top:18px;width:240px;background-color:#DBC55D;border-style:solid;border-color:maroon;border-width:1px 3px 3px 1px;border-radius: 20px;height:500px;overflow:auto;}

.popup {background-color:#E8E0AE; color:brown; width:auto; height:auto;border-style:solid;border-radius:1em;padding:5px 5px 5px 5px;}
.popup a:link {color:brown;fonte-weight:bold;border-width:0px;}
.opaque {border-style:solid;border-color:brown;border-width:1px 3px 3px 1px;border-radius: 20px;opacity:.7;background-color:beige;}
.alert {border-style:solid;border-color:brown;border-width:1px 3px 3px 1px;border-radius: 20px;opacity:.0;background-color:yellow;}

.tiddler{background-color:transparent;z-index:1;}
.header { background-color: #edead5;  height: 50px;left:150px; top:-50px;}
.tiddlyLinkExisting .tiddlyLink {color:red;}
.externalLink {color:red;} 
.viewer pre {background-color:transparent;}

[[StyleSheetAdjustments]]
[[StyleSheetShortcuts]]
</style>
</html>
<div class='toolbar' role='navigation' macro='toolbar [[ToolbarCommands::ViewToolbar]]'></div>
<div class='viewer' macro='view text wikified'></div>
<div class='tagClear'></div>
<!--}}}-->
<<wikify {{'[[outra janela|'+localStorage.url+']]'}}>>
<<wikify {{'<html><iframe src=" '+localStorage.url+'" width=100% height=500px></iframe></html>'}}>>
<script>
localStorage.leftMenu="pesquisas";
localStorage.listaMenu="pesquisas";
localStorage.itemMenu="pesquisas";
config.refreshers.content(document.getElementById("leftMenu"));
</script>
/%
!!lista
Meus Pesquisas Recentes
<script>localStorage.fonte="aluno";</script>
<<tiddler Refs>>
!!end
%/
<script>
var out="";
var tids=getText(localStorage.livro);
tids=tids.split("#\n");
for(i=0;i<tids.length;i++)
{
var tidDet=tids[i].split("|");
out+="__"+tidDet[0]+"__<br>"+tidDet[5]+"<br>";
var capitulos=getText(tidDet[0]);
capitulos=capitulos.split("#\n");
for(j=0;j<capitulos.length;j++)
   {
   var capDet=capitulos[j].split("|");
   out+="..."+capDet[0]+"<br>"+capDet[5]+"<br>";
   var parafagos=getText(capDet[0]);
   parafagos=parafagos.split("#\n");
   for (k=0;k<parafagos.length;k++)
      {
      var paraDet=parafagos[k].split("|");
      out+="......"+paraDet[0]+"<br>"+paraDet[5]+"<br>";
      var linhas=getText(paraDet[0]);
      linhas=linhas.split("#\n");
      for(m=0;m<linhas.length;m++)
        {
        var linDet=linhas[m].split("|");
        out+="........"+linDet[0]+"<br>"+linDet[5]+"<br>";
        }
      out+="<br>";
      }
out+="<br>";
   }
out+="<br>";  
}
return out;

</script>
<script>
localStorage.printItem="LObjetos/"+config.options.txtFonte;
var objeto=getText(localStorage.printItem);
var out="__"+localStorage.printItem+"__<br>";
var fotoInicio=objeto.indexOf("fotoInicio=>")+12;
var fotoFim=objeto.indexOf("fotoFim=>");
var tags=objeto.indexOf("tags=>");
var texto=objeto.indexOf("texto=>")+7;
out+=objeto.substring(fotoInicio,fotoFim-2)+"<br>"+objeto.substring(texto)+"<br>"+objeto.substring(fotoFim+9,tags);
return out;
</script>
''__<<wikify {{localStorage.item}}>>__''
<<wikify {{localStorage.text}}>>

<<wikify {{localStorage.showTime}}>>
<script>
localStorage.listaMenu="professores";
localStorage.itemMenu="professores";
localStorage.leftMenu="professores";
var out="";
var tids=getText("Cursos/"+localStorage.curso+"/professores");
// return tids;
tids=tids.split("#\n");
for(i=1;i<tids.length-1;i++)
{
var items=tids[i].split("|");
out+='<script label="'+items[0]+'">localStorage.lista="'+items[0]+'";localStorage.itemTexto="'+items[5]+'";config.refreshers.content(document.getElementById("listaMenu"));</scr'+'ipt><br>';
}
localStorage.texto=out;
config.refreshers.content(document.getElementById("leftMenu"));
</script>
/%
!!end
%/
'<script>localStorage.leftMenu="projetoDetalhes";
localStorage.listaMenu="projetoDetalhes";
localStorage.itemMenu="projetoDetalhes";
config.refreshers.content(document.getElementById("leftMenu"));
config.refreshers.content(document.getElementById("listaMenu"));
config.refreshers.content(document.getElementById("itemMenu"));
</script>
/%
!!leftMenu
<<wikify {{localStorage.texto}}>>
!!listaMenu
<<wikify {{"[img(600px,auto)["+localStorage.url+"]]"}}>>
<script>
if(localStorage.tipo=="foto"){return '[img(600px,auto)['+localStorage.url+']]';}
if(localStorage.tipo=="odp"){return '<html><iframe sr"'+localStorage.url+'" width=100% height=500px></iframe></h'+'tml>';}
if(localStorage.tipo=="texto"){return '{{{<script>return getText('+localStorage.url+');</sc'+'ript>}}}'}
</script>
!!itemMenu
!!end
%/
<script>localStorage.leftMenu="projeto";config.refreshers.content(document.getElementById("leftMenu"));</script>
<script>
localStorage.leftMenu="relatorios";
localStorage.listaMenu="relatorios";
localStorage.itemMenu="relatorios";
config.refreshers.content(document.getElementById("leftMenu"));
</script>
<script>
localStorage.leftMenu="seminarios";localStorage.listaMenu="seminarios";localStorage.itemMenu="seminarios";localStorage.refsMenu="seminarios";localStorage.showMenu="seminarios";localStorage.fiveMenu="seminarios"
config.refreshers.content(document.getElementById("leftMenu"));
</script>
/%
!!leftMenu
Seminarios sao estudos mais profundos do que temas. Normalmente sao compostas de varias paginas, referencias, desenhos e sugestoes para estudar ou pratica mais.
----
{{center{
<script>
var out="";
var url="Cursos/"+localStorage.curso+"/programa";
var tids=getText(url);
tids=tids.split("#\n");
for(i=0;i<tids.length;i++)
{
var tidDet=tids[i].split("|");
if(tidDet[2]=="seminario"){
out+='<script label="'+tidDet[0]+'">localStorage.tag="'+tidDet[0]+'";localStorage.item="'+tidDet[0]+'";config.refreshers.content(document.getElementById("itemMenu"));config.refreshers.content(document.getElementById("topMenu"));</scr'+'ipt><br>';}
}
return out;
</script>}}}

!!itemMenu
<<wikify {{ '<html><iframe src="seminarios/'+localStorage.item+'" width=100% height=500px></iframe></ht'+'ml>'}}>>
!!end
%/
<html><iframe src="chat.html" width=420 height=600></iframe></html>
<script>
var slideShow="";
var fotoList=getText("FotoShows/aguaAntigua/fotoShow");
var items=fotoList.replace(/r/g, "");
items=items.split("#\n");
for (id=0;id<items.length-1;id++)
{
var details=items[id].split("|");
if(details[1]=="fotoL"){slideShow+='<div class="slide"><br><h1>'+details[0]+'</h1><br><img src="FotoShows/aguaAntigua/'+details[10]+'" width="700px" height="450px" style="position: static; vertical-align: center"/><br> <p class="small">'+details[5]+'</p></div><br>';}
if(details[1]=="fotoP"){slideShow+='<div class="slide"><br><h1>'+details[0]+'</h1><br><img src="FotoShows/aguaAntigua/'+details[10]+'"  width="420px" height="650px" class="right" style="position: static; vertical-align: center"/><br> <p class="left" >'+details[5]+'</p><br></div><br>';}
}
slideShow+='</body></html>';
return '{{{'+slideShow+'}}}';
</script>
<html><iframe src="testSliddy.html" width=820px height=600px></iframe></html>
[[*|SideBarTabs]]

<script>
if(config.options.txtTearch="printPage"){config.options.txtThem="wide";config.options.txtTemplateTweakFieldname="wide";story.displayTiddler(null, "printPage");}
</script>
function tagsTema()
{
var out="";
var list="";
    var returnText =getText("Tags/tags_pt");
//return returnText;

///// make referencias list

var etiquetas=returnText.split("#\n");
//return "length="+etiquetas.length;
for(t=0;t<etiquetas.length;t++)
{
var etiText=etiquetas[t].split("|");
if(etiText[2]=="Referencia"){out+=etiText[0]+"<br>";}
}
//return out;
var referencias=out.split("<br>");

//////work through each Referencia

for(e=0;e<referencias.length-1;e++)
{
//return referencias[e];
list+='<br>__<script label="'+referencias[e]+'">localStorage.tag="'+referencias[0]+'";localStorage.leftMenu="tags";config.refreshers.content(document.getElementById("leftMenu"));</scrip'+'t>__<br>';
//return list;

///// look for items that match current referencia

for(t=0;t<etiquetas.length-1;t++)
 {
 var etiText=etiquetas[t].split("|");
 if(etiText[6].indexOf(referencias[e])!="-1")
	{
	list+='<script label="'+etiText[0]+'">localStorage.tag="'+etiText[0]+'";localStorage.tagsTexto="__'+etiText[0]+'__<br>'+etiText[5]+'";localStorage.topMenu="tags";config.refreshers.content(document.getElementById("topMenu"));</scrip'+'t><br>';
	
	///// search for sub items to tag etiText[0]
	
    for(s=0;s<etiquetas.length-1;s++)
        {
         var etiText1=etiquetas[s].split("|");
		 if(etiText1!=etiText)
		    {
			 if(etiText1[6].indexOf(etiText[0])!="-1") 
				{
				list+='{{right{<script label="'+etiText1[0]+'">localStorage.tag="'+etiText1[0]+'";localStorage.tagsTexto="__'+etiText[0]+'__<br>'+etiText[5]+'";localStorage.topMenu="tags";config.refreshers.content(document.getElementById("topMenu"));</scrip'+'t>}}}';
				}
			}	
        }
    }

 }
}
return list;
};
$1
$2
$3
$4
<<tiddler ThumbThing with: $1 300px auto 600px auto>>
<<tiddler ThumbThing with: $1 auto 300px auto 600px>>
<html><iframe src="http://www.youtube.com/embed/$1?autoplay=0" width=360px height=280px></iframe></html>
<<wikify {{localStorage.leftMenu+localStorage.tema}}>>
<script>
var out="";
var temaLista=getText("Cursos/cursosTemas");
//return temaLista;
temaLista=temaLista.split("#\n");
var temaNames=temaLista[0].split("|");
//return "names="+temaNames;
for (i=1;i<temaLista.length-1;i++)
{
var cursoLista=temaLista[i].split("|");
if(cursoLista[0]==localStorage.curso)
{

//return "curso="+cursoLista[0];
  for(t=1;t<24;t++)
  { 
     if(cursoLista[t]=="X"){out+='<script label="'+temaNames[t]+'">story.displayTiddler(null,"temas");localStorage.leftMenu="tema";localStorage.listaMenu="temas";localStorage.tema="'+temaNames[t]+'";config.refreshers.content(document.getElementById("listaMenu"));config.refreshers.content(document.getElementById("leftMenu"));</scr'+'ipt><br>';}
  }
}
}
localStorage.temaLista=out;
config.refreshers.content(document.getElementById("leftMenu"));
</script>
/%
!!listaItems
{{center{{{bold{__<<wikify {{localStorage.tema}}>>__}}}}}}
----
<script>
var out="";
var tids=getText("Cursos/"+localStorage.curso+"/programa");
//return tids;
tids=tids.split("#\n");
var itemNames=tids[0].split("|");
var itemNo=tids[0].split("|");
for(i=0;i<tids.length-1;i++)
{
var items=tids[i].split("|");
if(items[3]==localStorage.tema)
{
out+='<script label="'+items[0]+'">localStorage.itemMenu="temas";localStorage.tipo="'+items[1]+'";localStorage.item="'+items[0]+'";localStorage.url="'+items[9]+'";localStorage.text="'+items[5]+'";localStorage.pasta="Temas";config.refreshers.content(document.getElementById("itemMenu"));</scr'+'ipt><br>';
}
}
return out;
</script>

!!item
..<<wikify {{localStorage.text}}>>
----
<script>
var out="";
if(localStorage.tipo=="display"){var out="<<tiddler TemaViewer>>";}
if(localStorage.tipo=="slideshow"){var out='<scri'+'pt src="Temas/temaSlideShow.php?tema='+localStorage.item+'&curso='+localStorage.curso+'"></scr'+'ipt>';}
if(localStorage.tipo=="slider"){out='<html><iframe src=" '+localStorage.url+'" width=100% height=600px></iframe></h'+'tml>';}
return out;
</script>
!!end
%/
<script>localStorage.leftMenu="tema";localStorage.itemMenu="tema";localStorage.listaMenu="tema";localStorage.tema=config.options.txtDirect;localStorage.open="no";config.refreshers.content(document.getElementById("leftMenu"));config.refreshers.content(document.getElementById("listaMenu"));config.refreshers.content(document.getElementById("itemMenu"));</script>
<script label="test">return "tids="+getText("Cursos/2016_PDC_CREDE4/aulas");</script>
<html><iframe src="Cursos/" width=100% height=500px></iframe></html>
<html><iframe src="keynote/keynote.bat"></iframe></html>
<script>
var tag="bancodados/mudancasClimaticas";
var out="";
//var tag=localStorage.tag;
var tids=getText(tag);
tids=tids.split("#\n");
for(i=0;i<tids.length-1;i++)
{
var link = '{{{<script>var out = "<<showPopup tiddler:pdfViewer label:show popupClass:sticky width:900px>"+"><<setIcon ../Logos/small_pdf.png [[]] notext>"+">";return out;</sc'+'ript>}}}';
out+=link+"<br>";
}
return out;
</script>
<html><iframe src="http://tinychat.com/2015_PDC_escolaJaimeLaurindo" width=100% height=500px></iframe></html>
Algumas ferramentas uteis por nos.....
BOOKMARKLETS
Esses links (abaixo) sao em verdade "bookmarklets", ou pequenas pedaços de código quais podem sentar/ficar em seu barra das favoritas, e quando voce clicar eles...eles fazer uma operacao simples e util. Para instalar eles, simplesmente clicar e segurar o mouse acima um...e rastar ele por seu barra dos favoritas, colocando ele onde voce quiser - eu mesmo criar uma pasta das favoritas na barra e agrupar items a juntos.....por exemplo pode ser util por voce criar uma pasta de nome __PDC__ (ou semelhante) e agrupar o endereco da pagina principal, esse bookmarklets, um link por sua conta em evernote..... 

{{botton{<html><nowiki><a href="javascript:void(window.open('http://www.unigaia-brasil.org/Permacultura/aulas.html#txtGenero:addBancoDados%20txtFonte:[['+location.href+'%20]]%20txtTitle:[['+document.title+'%20]]%20txtDominio:[['+window.location.hostname+'%20]]%20%20%20txtCitado:[['+window.getSelection()+'%20]]','SimpleRef','width=800,height=500,toolbar=yes,scrollbars=yes,titlebar=yes',true));">WWWReferencia</a></html>}}} - para gravar referencia do internet no sistema das favoritas coletivas.
{{botton{<html><nowiki><a href="javascript:void(window.open('http://www.unigaia-brasil.org/Permacultura/data.html#txtGenero:InternetReference','SkyeRefs','width=800,height=500,toolbar=yes,scrollbars=yes,titlebar=yes',true));">UploadReferencia</a></html>}}} - para upload um arquivo ou foto seu, para compartilhar com nos.
{{botton{<html><nowiki><a href="javascript:void(window.open('http://www.unigaia-brasil.org/Permacultura/Tags/empty.html','Tags','width=400,height=600,toolbar=yes,scrollbars=yes,titlebar=yes',true));">Etiquetas</a></html>}}} - verifica as etiquetas que estamos utilizando.
<<loadTiddlers all "apresenta/Energizadores.txt">>
|Name|twoView|
|PageTemplate|twoView##PageTemplate|

!PageTemplate
<!--{{{-->
<div id='leftMenu' role='navigation' refresh='content' tiddler='LeftMenu'></div>
<div id='itemMenu' role='navigation' refresh='content' force='true' tiddler='ItemMenu'></div>
<div id='displayArea' role='main'>
<div id='messageArea'></div>
<div id='tiddlerDisplay'></div>
</div>
<!--}}}-->
<!--{{{-->
[[twoView##PageTemplate]]

<html><style>
body {font-family: Helvetica;color:#694D17;background-color:#FFE87F;}
a {color:brown;}
a:hover {background-color:transparent; color:red;}
.viewer .button {border:0px solid transparent;}

#displayArea{position:absolute;top:76px;left:96px;width:600px;height:400px;}
#leftMenu{position:absolute;left:-175px;top:10px;width:200px;background-color:#DBC55D;border-style:solid;border-color:maroon;border-width:1px 3px 3px 1px;border-radius: 20px;height:625px;overflow:auto;}
#itemMenu{position:absolute;left:30px;top:10px;width:980px;background-color:#DBC55D;border-style:solid;border-color:maroon;border-width:1px 3px 3px 1px;border-radius: 20px;height:625px;overflow:auto;}


.popup {background-color:#E8E0AE; color:brown; width:auto; height:auto;border-style:solid;border-radius:1em;padding:5px 5px 5px 5px;}
.popup a:link {color:brown;fonte-weight:bold;border-width:0px;}
.opaque {border-style:solid;border-color:brown;border-width:1px 3px 3px 1px;border-radius: 20px;opacity:.7;background-color:beige;}
.alert {border-style:solid;border-color:brown;border-width:1px 3px 3px 1px;border-radius: 20px;opacity:.0;background-color:yellow;}

.tiddler{background-color:transparent;z-index:1;}
.header { background-color: #edead5;  height: 50px;left:150px; top:-50px;}
.tiddlyLinkExisting .tiddlyLink {color:red;}
.externalLink {color:red;} 
.viewer pre {background-color:transparent;}

[[StyleSheetAdjustments]]
[[StyleSheetShortcuts]]
</style>
</html>
<div class='toolbar' role='navigation' macro='toolbar [[ToolbarCommands::ViewToolbar]]'></div>
<div class='viewer' macro='view text wikified'></div>
<div class='tagClear'></div>
<!--}}}-->
{{left{
<html><nowiki><form enctype="multipart/form-data" action="uploadProjetoDoc.php" method="POST" target=responseframe>
<input type="hidden" name="filename" >
<input type="text" name="title" value="" style="width:250px;">titulo<br>
<input  type=text name="etiquetas"  value="" style="width:250px">etiquetas<br>
<input type=text name = "username" value="" style="width:250px;">aluno<br>
<input  type=text name="curso" value="" style="width:250px;">curso<br>
<select name="tipo" style="width:100px;">
<option>pdf</option>
<option>odp</option>
<option>foto</option>
<option>mmental</option>
</select><br>
<textarea name="comment" rows="6" cols="48" style="width:320px;"></textarea><br>Nota: escrive uma descricao breve do documento.<br><input type=hidden name="user"><input type="file" name="url" id="url">
<input type="submit" value="mandar" onclick=''>
</form><iframe src="" name="responseframe" id="responseframe" marginheight=0     style="display:block;border:0;padding:0;margin:0;width:100%;height:50px;"></iframe></html><script>
var form=place.lastChild.getElementsByTagName('form')[0];
form.title.value=localStorage.titulo;
form.username.value=localStorage.username;
form.curso.value=localStorage.projeto;
form.etiquetas.value=localStorage.tag;
</script>
|Name|wideView|
|PageTemplate|wideView##PageTemplate|

!PageTemplate
<!--{{{-->
<div id='leftMenu' role='navigation' refresh='content' tiddler='LeftMenu'></div>
<div id='batepapoMenu' role='navigation' refresh='content' tiddler='BatePapoMenu'></div>
<div id='displayArea' role='main'>
<div id='messageArea'></div>
<div id='tiddlerDisplay'></div>
</div>
<!--}}}-->
<!--{{{-->
[[wideView##PageTemplate]]

<html>
<style>body {font-family: Helvetica;color:#694D17;}

a {color:brown;}
a:hover {background-color:transparent; color:red;}
.viewer .button {border:0px solid transparent;}

#contentWrapper {margin:5px auto;background-color:#FFE87F; width:1200px;}

#displayArea{position:absolute;top:70px;left:-80px;width:1200px;background-color:transparent;z-index:1;}
#leftMenu{position:absolute;left:-2px;top:16px;width:1200px;background-color:#DBC55D;border-style:solid;border-color:maroon;border-width:1px 3px 3px 1px;border-radius: 20px;height:500px;overflow:auto;opacity:.9;z-index:35;}




.popup {background-color:#FFD47F; color:brown; width:auto; height:auto;border-style:solid;border-radius:1em;padding:5px 5px 5px 5px;}
.popup a:link {color:brown;fonte-weight:bold;border-width:0px;}
.opaque {border-style:solid;border-color:brown;border-width:1px 3px 3px 1px;border-radius: 20px;opacity:.7;background-color:beige;}
.alert {border-style:solid;border-color:brown;border-width:1px 3px 3px 1px;border-radius: 20px;opacity:.0;background-color:yellow;}

.tiddler{z-index:-100;}
.header { background-color: #edead5;  height: 50px;left:150px; top:-50px;}
.tiddlyLinkExisting .tiddlyLink {color:red;}
.externalLink {color:red;} 
.viewer pre {background-color:transparent;}

[[StyleSheetAdjustments]]
[[StyleSheetShortcuts]]
</style>
</html>
<div class='toolbar' role='navigation' macro='toolbar [[ToolbarCommands::ViewToolbar]]'></div>
<div class='viewer' macro='view text wikified'></div>
<div class='tagClear'></div>
<!--}}}-->
<script>
localStorage.leftMenu="write";
localStorage.listaMenu="write";
localStorage.itemMenu="write";
localStorage.showMenu="write";
localStorage.refsMenu="write";
config.refreshers.content(document.getElementById("showMenu"));config.refreshers.content(document.getElementById("leftMenu"));config.refreshers.content(document.getElementById("itemMenu"));config.refreshers.content(document.getElementById("listaMenu"));
config.refreshers.content(document.getElementById("refsMenu"));
</script>
/%
!!leftMenu
{{right{[[print]]<<setIcon ../Logos/printer.png "" notext>> <<showPopup tiddler:write##books width:400px popupClass:sticky label:livros>><<setIcon ../Logos/smallbook.png "" notext>><script label="secaoNova">localStorage.tipo="secao";localStorage.secao="";localStorage.capitulo="";localStorage.parafago="";localStorage.linha="";localStorage.texto="";localStorage.acao="new";config.refreshers.content(document.getElementById("refsMenu"));</script><<setIcon ../Logos/book-open.png "" notext>>}}}
<<wikify {{localStorage.livro}}>>
----
<script>
var out="";
var tids=getText(localStorage.livro);
//return tids;
tids=tids.split("#\n");
//return "length="+tids.length;
for(i=1;i<tids.length-1;i++)
{
var lines=tids[i].split("|");
//return "second="+lines[0];
out+='<script label="'+lines[0]+'">localStorage.secao="'+lines[0]+'";localStorage.listaMenu="escrever";localStorage.itemMenu="blank";localStorage.showMenu="blank";config.refreshers.content(document.getElementById("listaMenu"));config.refreshers.content(document.getElementById("itemMenu"));config.refreshers.content(document.getElementById("showMenu"));localStorage.capitulo="";localStorage.parafago="";localStorage.tipo="secao";localStorage.texto="'+lines[5]+'";localStorage.acao="correct";config.refreshers.content(document.getElementById("refsMenu"));</scr'+'ipt><br>';
}
return out;
</script>

!!books
{{right{<script label="newBook">localStorage.tipo="livro";localStorage.livro="";localStorage.secao="";localStorage.capitulo="";localStorage.parafago="";config.refreshers.content(document.getElementById("refsMenu"));</script><<setIcon ../Logos/smallbook.png "" notext>>}}}
<script>
var out="";
var tids=getText("livros");
//return tids;
tids=tids.split("#\n");
tids=tids.sort();
for(i=1;i<tids.length-1;i++)
{
var lines=tids[i].split("|");
out+='<script label="'+lines[0]+'">localStorage.livro="'+lines[0]+'";localStorage.listaMenu="getSecoes";localStorage.itemMenu="blank";localStorage.showMenu="blank";config.refreshers.content(document.getElementById("leftMenu"));config.refreshers.content(document.getElementById("listaMenu"));config.refreshers.content(document.getElementById("itemMenu"));config.refreshers.content(document.getElementById("showMenu"));</scr'+'ipt><br>';
}
return out;
</script>
!!refsMenu
<html><form method=GET target=responseframe action="writing.php" style="display:inline">
	<input type=hidden name=curso value="">
        livro=<input type=text name=livro value="" style="width:250px;">
	<input type=hidden name=username value=""><input type=hidden name=titulo><input type=hidden name=fileName><input type=hidden name=acao>
	<input type=hidden name=when value=""><input type=hidden name=tipo value="">
	..secao=<input type=text name=secao value=""  style="width:250px;">
	..capitulo=<input type=text name=capitulo value=""  style="width:250px;"><br>
	parafago=<input type=text name=parafago value=""  style="width:250px;">
         linha=<input type=text name=linha value=""  style="width:250px;"><br>
        projeto/relatorio/estudo..=><input type=text name=format value="">  conexao=<input type=text name=tag value=""> <br>
	<textarea rows=6 cols=100 name=msg style="width:99%" onfocus="this.select()"></textarea><br>
	<input type="submit" value="criar/corregir" onclick='
if(localStorage.tipo=="livro"){this.form.titulo.value=this.form.livro.value;
this.form.fileName.value=this.form.tag.value;}
if(localStorage.tipo=="secao"){this.form.titulo.value=this.form.secao.value;
this.form.fileName.value=this.form.livro.value;}
if(localStorage.tipo=="capitulo"){this.form.titulo.value=this.form.capitulo.value;
this.form.fileName.value=this.form.secao.value;}
if(localStorage.tipo=="parafago"){this.form.titulo.value=this.form.parafago.value;
this.form.fileName.value=this.form.capitulo.value;}
if(localStorage.tipo=="linha"){this.form.titulo.value=this.form.linha.value;this.form.fileName.value=this.form.parafago.value;}
'></form>
<iframe src="" name="responseframe" id="responseframe" marginheight=0 style="display:block;border:0;padding:0;margin:0;width:100%;height:50px;"></iframe><hide linebreaks>
</html><script>
var form=place.lastChild.getElementsByTagName('form')[0];
form.curso.value=localStorage.curso;
form.livro.value=localStorage.livro;
form.msg.value=localStorage.texto;
form.acao.value=localStorage.acao;
form.secao.value=localStorage.secao;
form.capitulo.value=localStorage.capitulo;
form.parafago.value=localStorage.parafago;
form.linha.value=localStorage.linha;
form.tipo.value=localStorage.tipo;
form.username.value=localStorage.username;
var date=new Date();
form.when.value=date.formatString("YYYY-MM-DD_hh:mm");
</script>
!!end
%/
|Name|writeView|
|PageTemplate|writeView##PageTemplate|

!PageTemplate
<!--{{{-->
<div id='leftMenu' role='navigation' refresh='content' tiddler='LeftMenu'></div>
<div id='listaMenu' role='navigation' refresh='content' force='true' tiddler='ListaMenu'></div>
<div id='itemMenu' role='navigation' refresh='content' force='true' tiddler='ItemMenu'></div>
<div id='showMenu' role='navigation' refresh='content' force='true' tiddler='ShowMenu'></div>
<div id='refsMenu' role='navigation' refresh='content' force='true' tiddler='RefsMenu'></div>
<div id='displayArea' role='main'>
<div id='messageArea'></div>
<div id='tiddlerDisplay'></div>
</div>
<!--}}}-->
<!--{{{-->
[[writeView##PageTemplate]]

<html>
<style>body { font-family: Helvetica;color:#996633;}

#displayArea{position:relative;top:-1970px;left:480px;width:600px;height:400px;background-color:lightyellow;}
#leftMenu{position:relative;left:-618px;top:1850px;width:290px;;border-style:solid;border-color:maroon;border-width:1px 3px 3px 1px;border-radius: 20px;height:240px;overflow:auto;opacity:.7;}
#listaMenu {position:relative;left: -320px;top:1554px;border-style:solid;border-color:brown;border-width:1px 3px 3px 1px;border-radius: 20px;height:280px;width:290px;overflow:auto; opacity:.9;}
#itemMenu {position:relative;left: -22px;top:1310px;border-style:solid;border-color:brown;border-width:1px 3px 3px 1px;border-radius: 20px;height:280px;width:290px;overflow:auto;opacity:.9;}
#showMenu {position:relative;left:280px;top:1026px;;border-style:solid;border-color:brown;border-width:1px 3px 3px 1px;border-radius: 20px;height:280px;width:290px;overflow:auto;}
#refsMenu {position:relative;left:-620px;top:1010px;border-style:solid;border-color:brown;border-width:1px 3px 3px 1px;border-radius: 20px;height:300px;width:1190px;overflow:auto;}


.popup {background-color:#E8E0AE; color:brown; width:auto; height:auto;border-style:solid;border-radius:1em;padding:5px 5px 5px 5px;}
.popup a:link {color:brown;fonte-weight:bold;border-width:0px;}
.opaque {border-style:solid;border-color:brown;border-width:1px 3px 3px 1px;border-radius: 20px;opacity:.7;background-color:beige;}
.alert {border-style:solid;border-color:brown;border-width:1px 3px 3px 1px;border-radius: 20px;opacity:.0;background-color:yellow;}

.tiddler{top:600px;}
.header { background-color: #edead5;  height: 50px;left:150px; top:-50px;}
.tiddlyLinkExisting .tiddlyLink {color:red;}
.externalLink {color:red;} 
.viewer pre {background-color:transparent;}

[[StyleSheetAdjustments]]
[[StyleSheetShortcuts]]
</style>
</html>
<div class='toolbar' role='navigation' macro='toolbar [[ToolbarCommands::ViewToolbar]]'></div>
<div class='viewer' macro='view text wikified'></div>
<div class='tagClear'></div>
<!--}}}-->