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>
<!--}}}-->
<<wikify {{'<script src="AtividadeAcontecendo.php?Username='+localStorage.username+'&Tema=Aula/Iniciando&Atividade=Abrindo&Curso='+localStorage.curso+'"></scr'+'ipt>'}}>>
<script>
sessionStorage.oneMenu="aula";
sessionStorage.twoMenu="aula";
sessionStorage.aulaTwo="{{big{Olha Mae, sim futuro}}}[>img[http://www.johnbyronkuhner.com/wp-content/uploads/2011/10/look-mom-no-future.jpg]]";
sessionStorage.aulaOne='{{floatright{<html><iframe src="https://www.youtube.com/embed/EpvuS0EbywI" width=300px height=170px></iframe></html><br><html><iframe src="https://www.youtube.com/embed/14w8WC1I3S4" width=300px height=170px></iframe></html><br><html><iframe src="https://www.youtube.com/embed/H2QxFM9y0tY" width=300px height=170px></iframe></html>}}}<br>Bem Vindos.<br><br>Estamos iniciando uma nova versão do curso de Design em Permacultura (o PDC). Nova, porque temos novos professores entrando e iniciando os estudos conosco. Nova, porque estou mudando o formato e sequeêcia do curso.<br><br>Esse curso é dedicado a ativista sueca, Greta Thunberg. Isso não é só uma dedicação usando o nome dela e em reconhecimento ao trabalho e dedicação dela. Mas o curso é inspirado  e re-organizado acima dos desafios e apresentações dela.<br><br>Ela fala que nossa sociedade esta enfrentando uma __crise existencial__ e que temos, no máximo 20 anos para acertar isso. Isso é a ciênçia e dados das mudanças climáticas.<br><br>Como é essa crise? Quais são os desafios? E quais são as propostas e práticas que precisamos começar a implantar hoje, para dar às nossas crianças uma chance de um futuro?<br><br>Estudaremos esses assuntos, na perspectiva da Permacultura, Resiliência e Biofilia. Para essa aula, assistir esses vídeos (é possível legendar!)...assistir com atenção.... como você entende a mensagem dela?<br><br> Além dos vídeos, inclui referências a algunas artigos, e peço que pesquisem mais informações a respeito dela, e os assuntos do que ela está falando.';
config.refreshers.content(document.getElementById("twoMenu"));
config.refreshers.content(document.getElementById("oneMenu"));
</script>





<<wikify {{'<script src="AtividadeAcontecendo.php?Username='+localStorage.username+'&Tema=Aula/$1&Atividade=$2&Curso='+localStorage.curso+'"></scr'+'ipt>'}}>>
<<wikify {{"<<tiddler OpenNote with:"+tiddler.title+">"+">"}}>>
<script src="dir.php?path=Apresenta"></script>
<script>
sessionStorage.pdfdisplay="closed";
var lista="";
    var xmlHttp = null;
    xmlHttp = new XMLHttpRequest();
    var discFile="Apresenta/lista.txt";
    xmlHttp.open( "GET",discFile, false);
    xmlHttp.send( null );
    var indexLista=xmlHttp.responseText;
if(xmlHttp.status!=200){indexLista="empty";}
//return indexLista+"no="+xmlHttp.status;
var tids=indexLista.split("|");

//return tids[1];
//return "length="+tids.length;
tids=tids.sort();
for(i=0;i<tids.length-2;i++){

if((tids[i]!="lista.txt") && (tids[i].indexOf(".pdf")!=-1)){
var thisItem=tids[i].replace(".pdf","");
lista+='<script label="'+thisItem+'">sessionStorage.item="'+thisItem+'";sessionStorage.dir="Apresenta";sessionStorage.tipo="pdf";if(sessionStorage.pdfdisplay=="closed"){displayTiddler(true,"PDFDisplay");}if(sessionStorage.pdfdisplay=="open"){story.refreshTiddler("PDFDisplay", null,true);}sessionStorage.pdfdisplay="open";</scr'+'ipt><br>';
}
}
return lista;
</script>
<script src="dir.php?path=Apresenta"></script>
<script>
sessionStorage.pdfdisplay="closed";
var lista="";
    var xmlHttp = null;
    xmlHttp = new XMLHttpRequest();
    var discFile="Apresenta/lista.txt";
    xmlHttp.open( "GET",discFile, false);
    xmlHttp.send( null );
    var indexLista=xmlHttp.responseText;
if(xmlHttp.status!=200){indexLista="empty";}
//return indexLista+"no="+xmlHttp.status;
var tids=indexLista.split("|");

//return tids[1];
//return "length="+tids.length;
tids=tids.sort();
for(i=0;i<tids.length-2;i++){

if((tids[i]!="lista.txt") && (tids[i].indexOf(".pdf")!=-1)){
var thisItem=tids[i].replace(".pdf","");
lista+='<script label="'+thisItem+'">sessionStorage.item="'+thisItem+'";sessionStorage.dir="Apresenta";sessionStorage.tipo="pdf";if(sessionStorage.pdfdisplay=="closed"){displayTiddler(true,"PDFDisplay");}if(sessionStorage.pdfdisplay=="open"){story.refreshTiddler("PDFDisplay", null,true);}sessionStorage.pdfdisplay="open";</scr'+'ipt><br>';
}
}
return lista;
</script>
||2aManha|2aTarde|3aManha|3aTarde|4aManha|4aTarde|5aManha|5aTarde|6aManha|6aTarde|
|EMTI FL|||||||XXX|||
|EMTI ELCG|||XXX|||||XXX||
|EMTI ProfJG|||||||||||
|EEEP LELP|||||||||||
|EEM MDL|||||||||XXX|XXX|
|EMTI PadJAM||||||||||XXX|
|EMTI AFAD||||||||XXX|||
|EEEP GAL||||||||||
|EMTI DepMA||||||||XXX||
|EEEP GTG||||||||||
{{materia{<script label="atualiza">
var newTabUrl="OpenNote/"+sessionStorage.Nota+".txt";
var childWindow = window.open(newTabUrl);
childWindow.location.href=newTabUrl;
</script>}}}
Lendo e avaliando as tarefas dos alunos
<<option txtOCurso>> ?Curso
<<option txtAluno>> Quem?
<script label="chk Atividade">
var atividadeFile="Cursos/"+config.options.txtOCurso+"/"+config.options.txtAluno+"/atividade.txt";
var lista="|data|aluno|download|tarefa|jornal|aha|projeto|foro|misc|n";
    var xmlHttp = null;
    xmlHttp = new XMLHttpRequest();
    var discFile=atividadeFile;
//return discFile;
    xmlHttp.open( "GET",discFile, false);
    xmlHttp.send( null );
    var indexLista=xmlHttp.responseText;
//return indexLista;
var dataLista=indexLista.split("#");
for(i=0;i<dataLista.length-1;i++){
var dataDets=dataLista[i].split("|");
if(dataDets[4]){var jornal='<script label="'+dataDets[4]+'">sessionStorage.atividade="jornal";sessionStorage.item="'+dataDets[4]+'";sessionStorage.aluno="'+config.options.txtAluno+'";displayTiddler(true,"AvalItem");</scr'+'ipt>';}
else{var jornal='';}

if(dataDets[3]){var tarefa='<script label="'+dataDets[3]+'">sessionStorage.atividade="tarefa";sessionStorage.item="'+dataDets[3]+'";sessionStorage.aluno="'+config.options.txtAluno+'";displayTiddler(true,"AvalTarefa");</scr'+'ipt>';}
else{var tarefa='';}

lista+='|'+dataDets[0]+'|'+dataDets[1]+'|'+dataDets[2]+'|'+tarefa+'|'+jornal+'|'+dataDets[5]+'|'+dataDets[6]+'|'+dataDets[7]+'|'+dataDets[8]+'|n';
}
return lista;
</script>
Alem de só recebendo informação, respondendo as tarefas e ate partipicando no Foro, é posivel contribuir os estudos de todos por meio de um banco dos dados. Temas que nos interesse. Quando voce é pesquisando o internet e acha uma pagina or pdf ou video ou grafico tão interessante que que compartilhar o item com todo o curso, simplesmente usar o  {{bookmarklet{<<showPopup tiddler:Bookmarklet label:"bookmarklet do curso instalado" width:500px popupClass:sticky>>}}}. Addicionando items com o bookmarklet, e eles aparecem aqui!!!

<script src="dir.php?path=Temas"></script>
{{small{{{fourcolumns{
<script>
sessionStorage.pdfdisplay="closed";
var lista="";
    var xmlHttp = null;
    xmlHttp = new XMLHttpRequest();
    var discFile="Temas/lista.txt";
//return discFile;
    xmlHttp.open( "GET",discFile, false);
    xmlHttp.send( null );
    var indexLista=xmlHttp.responseText;
var listings=indexLista.split("|");

listings=listings.sort();
//return listings[1];

for(i=2;i<listings.length;i++){
listings[i]=listings[i].replace(".txt","");
if(listings[i]!="lista"){lista+='<script label="'+listings[i]+'">displayTiddler(true,"Duas");sessionStorage.tag="'+listings[i]+'";sessionStorage.oneMenu="tags";sessionStorage.twoMenu="tags";sessionStorage.tema="'+listings[i]+'";config.refreshers.content(document.getElementById("oneMenu"));config.refreshers.content(document.getElementById("twoMenu"));</scr'+'ipt><br>';}
}
return lista;
</script>}}} }}}




{{center{{{medium{__Bem vindo à página da Permacultura nas escolas do Ceará__}}}}}}

<script>if(!localStorage.username){return "Parece que essa é sua primeira visita em nossa página. Por favor, faça o login, o sistema se lembrará de você.  Caso você precise acessar  por computadores diferentes ou você limper os registros do navegador....será preciso fazer o [[login|Login]] novamente.<br>"}
</script>A esquerda estão os links da navegação para os cursos atuais ou programados para o segundo semestre de 2019. Clicar neles para acessar as áreas de seu interesse.

Nos links você pode ver apresentações feitas anteriormente, temas estudados,  listas dos participantes,  registros fotográficos de visitas realizadas nas escolas e...muito mais!!!!  Navegar e ver o que você pode encontrar!!!

Em caso que achas links ou partesquais não estam funcionando, me mandar email ou whatsapp, como os detalhes e vou acertar o mais rapido posivel.

SKYE.<script>
var lista="";
config.options.txtUsername=localStorage.username;
    var xmlHttp = null;
    xmlHttp = new XMLHttpRequest();
    var discFile="Cursos/"+localStorage.curso+"/"+localStorage.username+"/atividade.txt";
//return discFile;
    xmlHttp.open( "GET",discFile, false);
    xmlHttp.send( null );
    var indexLista=xmlHttp.responseText;
if(xmlHttp.status!=200){
localStorage.username="";
config.refreshers.content(document.getElementById("leftMenu"));
return "NOTA: ummmm!, voce esta registrado, mas nao tem uma  pasta no sistema...pode ser porque é uma registro antigo. Porfavor fazer seu login de novo.... desculpa por isso, mas o sistema mudou bastante recente!!! Grato.";}

sessionStorage.continuando="";
if(localStorage.username=="Skye"){config.options.chkUploadTiddler="true"; config.options.pasUploadPassword="xcaan100";}
if(localStorage.username=="Ivone"){config.options.chkUploadTiddler="true"; config.options.pasUploadPassword="xcaan100";}
if(localStorage.username=="Aline"){config.options.chkUploadTiddler="true"; config.options.pasUploadPassword="xcaan100";}
else{config.options.chkUploadTiddler="false";}
</script>
Nota:Aqui tem disponivel para abaixar, algumas livros relevenate nossos estudos. En caso que voce tem livros para compartilhar com nos (deve ser em formato pdf), <<showPopup tiddler:UploadLivros label:"pode passar por nos!" width:500px popupClass:sticky>>
Nota: por causa de politica dos caches em Brasil, pode demorrar algumas horas por o arquivo aparece na lista.

{{threecolumns{<script src="dir.php?path=Biblioteca"></script>
<script>
var lista="";
    var xmlHttp = null;
    xmlHttp = new XMLHttpRequest();
    var discFile="Biblioteca/lista.txt";
//return "file= "+discFile;
    xmlHttp.open( "GET",discFile, false);
    xmlHttp.send( null );
    var indexLista=xmlHttp.responseText;
if(xmlHttp.status!=200){indexLista="empty";}
//return indexLista+"no="+xmlHttp.status;
var tids=indexLista.split("|");

//return tids[1];
//return "length="+tids.length;
tids=tids.sort();
for(i=0;i<tids.length-2;i++){

if((tids[i]!="lista.txt") && (tids[i].indexOf(".pdf")!=-1)){
var thisItem=tids[i].replace(".pdf","");
lista+='<script label="'+thisItem+'">sessionStorage.item="'+thisItem+'";sessionStorage.tipo="pdf";sessionStorage.dir="Biblioteca";if(sessionStorage.pdfdisplay=="closed"){displayTiddler(true,"PDFDisplay");}if(sessionStorage.pdfdisplay=="open"){story.refreshTiddler("PDFDisplay", null,true);}sessionStorage.pdfdisplay="open";</scr'+'ipt><br>';
}
}
return lista;
</script>}}}
<<wikify {{'<script src="AtividadeAcontecendo.php?Username='+localStorage.username+'&Tema=Instal_Bookmarklets&Atividade=Abrindo&Curso='+localStorage.curso+'"></scr'+'ipt>'}}>>Um bookmarklet é um pedaco pequena de codigo. Nesse caso que gravar informação basica de uma pagina e gravar ela em nosso banco do dados.  È como uma lista dos favoritas, mas uma lista disponivel por todos nos.

Bom, Por abaixo tem duas bookmarklets, simplesmente rastar eles por seu barra dos favoritas. Eu gosta cria uma pasta/grupo na barra dos favoritas e colocar todas as coisas conectado ao curso em ela. Rastar os bookmarklets.

Agora, na proxima vez quando esta pesquisando uma coisa, e acha um item (pagina ou video) bem interessante, tanta que quer compartilhar com nos, simplesmente clicar no bookmarklet (desde a pagina do interesse). Nota que tem cinco bookmarklets....uma por paginas do web e pdfs, uma para YouTube, uma para videos de Vimeo e uma para videos TED.  Isso abrira um tabelinha simples, com detalhes a pagina, titulo, URL, seu nome e o curso. Voce vai digitar uma etiqueta por esta item.... para organizar nosso trabalho.... e depois clicar "gravar". Em segundas voce recebera uma mensagem que o item foi gravada...e agora voce podem fechar a tabela. Feito! Simples!

<html><a href="javascript:void(window.open('http://www.unigaia-brasil.org/Adapta/data.html#txtGenero:html%20txtFonte:[['+location.href+']]%20txtTitle:[['+document.title+'%20]]%20txtDominio:[['+window.location.hostname+'%20]]%20%20%20txtCitado:[['+window.getSelection()+'%20]]','SkyeRefs','width=500,height=400,toolbar=yes,scrollbars=yes,titlebar=yes',true));">PaginaAdapta</a></html>
<html><a href="javascript:void(window.open('http://www.unigaia-brasil.org/Adaptas/data.html#txtGenero:Youtube%20txtFonte:[['+location.href+']]%20txtTitle:[['+document.title+']]%20txtDominio:[['+window.location.hostname+'%20]]%20%20%20txtCitado:[['+window.getSelection()+'%20]]','SkyeRefs','width=500,height=400,toolbar=yes,scrollbars=yes,titlebar=yes',true));">YouTubeAdapta</a></html>
<html><a href="javascript:void(window.open('http://www.unigaia-brasil.org/Adapta/data.html#txtGenero:Vimeo%20txtFonte:[['+location.href+']]%20txtTitle:[['+document.title+'%20]]%20txtDominio:[['+window.location.hostname+'%20]]%20%20%20txtCitado:[['+window.getSelection()+'%20]]','SkyeRefs','width=500,height=400,toolbar=yes,scrollbars=yes,titlebar=yes',true));">VimeoAdapta</a></html>
<html><a href="javascript:void(window.open('http://www.unigaia-brasil.org/Adapta/data.html#txtGenero:TEDTalks%20txtFonte:[['+location.href+']]%20txtTitle:[['+document.title+'%20]]%20txtDominio:[['+window.location.hostname+'%20]]%20%20%20txtCitado:[['+window.getSelection()+'%20]]','SkyeRefs','width=500,height=400,toolbar=yes,scrollbars=yes,titlebar=yes',true));">TEDTalksAdapta</a></html>
<html><a href="javascript:void(window.open('http://www.unigaia-brasil.org/Adaptas/data.html#txtGenero:Noticia%20txtFonte:[['+location.href+']]%20txtTitle:[['+document.title+'%20]]%20txtDominio:[['+window.location.hostname+'%20]]%20%20%20txtCitado:[['+window.getSelection()+'%20]]','SkyeRefs','width=500,height=400,toolbar=yes,scrollbars=yes,titlebar=yes',true));">NoticiasAdapta</a></html>
<<wikify {{"<<tiddler OpenNote with:"+tiddler.title+">"+">"}}>>
<<wikify {{sessionStorage.tema}}>><html><nowiki><form action="addForo.php" method="POST"  target="responseFrame">
<input type=hidden name="username" value=""><input type=hidden name=when value=""><input type=hidden name=tema value="">
<textarea name="comment" rows="4 cols="50" style="width:400px;" value=" " ></textarea><br>
<input type=submit value="Meu Comentario" onclick='
return "<<tiddler Acontecendo>>";
'>
</form><iframe src="" name="responseFrame" id="responseFrame" width=400px height=1px style="border:0;"></iframe>
</html><script>var form=place.lastChild.getElementsByTagName('form')[0];
form.username.value=localStorage.username;
form.tema.value=sessionStorage.tema;
var date=new Date();
form.when.value=date.formatString("YYYY-MM-DD_hh:mm");
return "<<tiddler Acontecendo with: Foro "+sessionStorage.tema+">"+">";
</script><script>
sessionStorage.chatItem="0";
var lista="";
    var xmlHttp = null;
    xmlHttp = new XMLHttpRequest();
    var discFile="Foro/"+sessionStorage.tema+".txt";
//return discFile;
    xmlHttp.open( "GET",discFile, false);
    xmlHttp.send( null );
    var indexLista=xmlHttp.responseText;
//return indexLista;
if(xmlHttp.status!=200){indexLista="empty";}
//return indexLista+"no="+xmlHttp.status;

var tids=indexLista.split("#");
var length=tids.length-1;
sessionStorage.chatItem=length;
if(length>20){length=20;}
for(i=0;i<length;i++){

var tidsDets=tids[i].split("|");
lista+=tidsDets[2]+"- "+tidsDets[1]+" ("+tidsDets[0]+")<br>";
}


return lista;
</script>
Alem do texto simples, voce pode inserir imagens e videos. Nos duas casos eles deven ser disponivel no rede... e por isso tem endereco, o URL. Para inserir items simplesmente copia o codigo, e inserir o url certo onde fala URL. Tem cuidado não delete os marcas {{{'}}}

{{{<<tiddler Right with: 'URL'>>}}} - inserir foto a dirieta do texto (sera 300px de largura)!
{{{<<tiddler Right2 with: 'URL#1' 'URL#2'>>}}} - inserir duas fotos (uma acima outra) a direita do texto.... nota as duas URLs!
{{{<<tiddler Right3 with: 'URL#1' 'URL#2' 'URL#3'>>}}} - inserir three fotos (uma acima outra) a direita do texto.... nota as duas URLs!
{{{<<tiddler RightHalf with: 'URL'>>}}} - inserir foto a dirieto - 500px de largura
{{{<<tiddler Left with: 'URL'>>}}} - inserir foto a esquerda do texto
{{{<<tiddler LeftHalf with: 'URL'>>}}} - inserir foto a esquerda do texto - 500px de largura
{{{<<tiddler Left3 with: 'URL#1' 'URL#2' 'URL#3'>>}}} - inserir 3 fotos a esquerda do texto
{{{[img(800px,auto)[URL]]}}} - foto 800px de largura onde o texto esta inserido, o texto não fluir em volta ele!
{{{<<tiddler Youtube with: Codigo 300 210>>}}} - por um video desde Youtube a direita do texto, simplesmente inserir o numero do video, tipo "Y6poks_98"
{{{<<tiddler Vimeo with: 'Codigo' 300 210>>}}} - por um video desde Vimeo...nesse caso o Codigo sera tipo "mother_trees_talk".
//{{{
// re-label default text for some standard UI elements
config.commands.permalink.text="link";
config.commands.references.text="references";
merge(config.macros.toolbar,{ moreLabel: 'more\u25BC', lessLabel: '\u25C4less' });

// allows custom response when tiddler does not exist (e.g. redirection to alternative tiddler)
config.shadowTiddlers.MissingTiddler=config.views.wikified.defaultText.replace(/%0/,'$1'); // default to standard message
config.views.wikified.defaultText='<<tiddler MissingTiddler with: [[%0]]>>';

// wrap AdvancedOptions and PluginManager default content in a groupbox (and use a smaller font)
config.shadowTiddlers.AdvancedOptions=
	config.shadowTiddlers.AdvancedOptions.replace(
		/<<options>>/,
		"{{small groupbox{<<options>>}}}");

config.shadowTiddlers.PluginManager=
	config.shadowTiddlers.PluginManager.replace(
		/<<plugins>>/,
		"{{small groupbox{<<plugins>>}}}");

// message used by ConfirmExitPlugin when no changes have been made
config.messages.confirmExit_nochanges='\tTiddlyTools... Small Tools for Big Ideas™\n\t'
	+store.getTiddlerText("SiteUrl",document.location.protocol=="http"?document.location.href:"");
//}}}
<<wikify {{"<<tiddler OpenNote with:"+tiddler.title+">"+">"}}>>
<<wikify {{sessionStorage.continuando}}>>
/***
|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>>
<<wikify {{sessionStorage.Nota}}>>
<html><nowiki><form action="Corr_Estudo.php" method="POST"  target="responseFrame">
<input type=hidden name=when value=""><input type=hidden name=title value="">
<textarea name="comment" rows="20 cols="70" style="width:700px;" value=" " ></textarea><br>
<input type=submit value='Correja' onclick=""'>

</form><iframe src="" name="responseFrame" id="responseFrame" width=400px height=50px style="border:0;"></iframe>
</html><script>var form=place.lastChild.getElementsByTagName('form')[0];
var date=new Date();
form.when.value=date.formatString("YYYY-MM-DD");lista="";
var tarefas="";

    var xmlHttp = null;
    xmlHttp = new XMLHttpRequest();
    var discFile="OpenEstudo/"+sessionStorage.Nota+".txt";
//return discFile;
    xmlHttp.open( "GET",discFile, false);
    xmlHttp.send( null );
form.comment.value=xmlHttp.responseText;
form.title.value=sessionStorage.Nota;


</script>
<<wikify {{sessionStorage.Nota}}>>{{floatright{{{dropdown{<<showPopup tiddler:Codigos label:Codigos popupClass:sticky width:750px>>}}}}}}
<html><nowiki><form action="Corr_Nota.php" method="POST"  target="responseFrame">
<input type=hidden name=when value=""><input type=hidden name=title value="">
<textarea name="comment" rows="20 cols="70" style="width:700px;" value=" " ></textarea><br>
<input type=submit value='Correja' onclick=""'>

</form><iframe src="" name="responseFrame" id="responseFrame" width=400px height=50px style="border:0;"></iframe>
</html><script>var form=place.lastChild.getElementsByTagName('form')[0];
var date=new Date();
form.when.value=date.formatString("YYYY-MM-DD");lista="";
var tarefas="";

    var xmlHttp = null;
    xmlHttp = new XMLHttpRequest();
    var discFile="OpenNote/"+sessionStorage.Nota+".txt";
//return discFile;
    xmlHttp.open( "GET",discFile, false);
    xmlHttp.send( null );
form.comment.value=xmlHttp.responseText;
form.title.value=sessionStorage.Nota;


</script>
<<wikify {{"<<tiddler OpenNote with:"+tiddler.title+">"+">"}}>>
[[StartHere]]
<<wikify {{"<<tiddler OpenNote with:"+tiddler.title+">"+">"}}>>

<!--{{{-->
<div class='toolbar' macro='toolbar [[ToolbarCommands::EditToolbar]]'></div>
<div class='title' macro='view title'></div>
<div class='editor' macro='edit title'></div>
<div class='editor' macro='edit tags'></div>
<div macro='annotations'></div>
<div class='editor' macro='edit text'></div>

<div>macro='tagChooser excludeLists'></div>
<div class='editorFooter'><span macro='message views.editor.tagPrompt'></span></div>
<!--}}}-->
<script>sessionStorage.open='<<wikify {{"<<tiddler OpenNote with:"+tiddler.title+">"+">"}}>'+'>';</script>{{floatright{{{materia{<<newTiddler label:Novo tag:Estudos text:{{sessionStorage.open}}>>}}}}}}<script>
var lista="";
var tids=store.getTaggedTiddlers("Estudos");
for(i=0;i<tids.length;i++){
lista+="[["+tids[i].title+"]]<br>";
}
return lista;
</script>
<<wikify {{"<<tiddler OpenNote with:"+tiddler.title+">"+">"}}>>
<script src="dir.php?path=PDFs"></script>
{{fourcolumns{<script>
sessionStorage.pdfdisplay="closed";
var lista="";
    var xmlHttp = null;
    xmlHttp = new XMLHttpRequest();
    var discFile="PDFs/lista.txt";
    xmlHttp.open( "GET",discFile, false);
    xmlHttp.send( null );
    var indexLista=xmlHttp.responseText;
if(xmlHttp.status!=200){indexLista="empty";}
//return indexLista+"<br>no="+xmlHttp.status;
var tids=indexLista.split("|");
tids=tids.sort();
//return "length= "+tids.length;
for(i=2;i<tids.length;i++){
if(tids[i]!="lista.txt"){
var thisItem=tids[i].replace(".pdf","");
lista+='<script label="'+thisItem+'">sessionStorage.item="'+thisItem+'";sessionStorage.dir="PDFs";sessionStorage.tipo="pdf";if(sessionStorage.pdfdisplay=="closed"){displayTiddler(true,"PDFDisplay");}if(sessionStorage.pdfdisplay=="open"){story.refreshTiddler("PDFDisplay", null,true);}sessionStorage.pdfdisplay="open";</scr'+'ipt><br>';
}
}
return lista;
</script>}}}
<script src="dir.php?path=Foro"></script>
{{fourcolumns{<script>
sessionStorage.pdfdisplay="closed";
var lista="";
    var xmlHttp = null;
    xmlHttp = new XMLHttpRequest();
    var discFile="Foro/lista.txt";
    xmlHttp.open( "GET",discFile, false);
    xmlHttp.send( null );
    var indexLista=xmlHttp.responseText;
if(xmlHttp.status!=200){indexLista="empty";}
//return indexLista+"no="+xmlHttp.status;
var tids=indexLista.split("|");

//return tids[1];
//return "length="+tids.length;
for(i=0;i<tids.length-2;i++){
if((tids[i]!="lista.txt") && (tids[i].indexOf(".txt")!=-1)){
var thisItem=tids[i].replace(".txt","");
lista+='<script label="'+thisItem+'">displayTiddler(true,"Duas");sessionStorage.item="'+thisItem+'";sessionStorage.oneMenu="foro";sessionStorage.twoMenu="foro";sessionStorage.pdfdisplay="closed";config.refreshers.content(document.getElementById("oneMenu"));config.refreshers.content(document.getElementById("twoMenu"));</scr'+'ipt><br>';
}
}
return lista;
</script>}}}
<<tiddler ThumbThing with: 'https://i.dailymail.co.uk/1s/2019/07/24/09/16429044-7280105-image-m-10_1563955691675.jpg' 100px auto 600px auto>>
{{tiny{Greta Thunberg, ativista por a clima, falando por uma demonstração em Inglaterra, 2019 }}}
<script src="dir.php?path=Temas"></script>
{{small{{{fourcolumns{
<script>
sessionStorage.pdfdisplay="closed";
var lista="";
    var xmlHttp = null;
    xmlHttp = new XMLHttpRequest();
    var discFile="Temas/lista.txt";
//return discFile;
    xmlHttp.open( "GET",discFile, false);
    xmlHttp.send( null );
    var indexLista=xmlHttp.responseText;
var listings=indexLista.split("|");

listings=listings.sort();
//return listings[1];
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>>
<<tiddler Options>>
<<tiddler SideBarTabs>>
/***
|Name:|HideWhenPlugin|
|Description:|Allows conditional inclusion/exclusion in templates|
|Version:|3.2a|
|Date:|27-Jun-2011|
|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>}}}

Warning: the showWhen and hideWhen macros will blindly eval paramString.
This could be used to execute harmful javascript from a tiddler.

(TODO: Make some effort to sanitize paramString. Perhaps disallow the equals sign?)
***/
//{{{

window.hideWhenLastTest = false;

window.removeElementWhen = function(test,place) {
  window.hideWhenLastTest = test;
  if (test) {
    jQuery(place).empty()
    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 );
  }}

});

//}}}
/***
|Name|ImageSizePlugin|
|Source|http://www.TiddlyTools.com/#ImageSizePlugin|
|Version|1.2.1|
|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
<<<
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: 1, date: new Date(2009,2,24)};
//}}}
//{{{
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();
			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.addStretchHandlers=function(e,stretchW,stretchH) {
	e.title=((stretchW||stretchH)?'DRAG=stretch/shrink, ':'')
		+'SHIFT-CLICK=show full size, CTRL-CLICK=restore initial size';
	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;
	};
}
//}}}
<script>
var tags=tiddler.tags;
return tags;
if(tags.indexOf("tema")=="tema"){return "{{materia{[[Imprimir|ImprimirTema]]}"+"}"+"}";}
if(tags.indexOf("tema")!="tema"){return "";}
</script>
<script>
sessionStorage.temaItem="Oficina-AdaptaProfunda";
var lista="{{big{"+sessionStorage.temaItem+"}}}<br>";
//var lista="";
    var xmlHttp = null;
    xmlHttp = new XMLHttpRequest();
    var discFile="OpenNote/"+sessionStorage.temaItem+".txt";
    xmlHttp.open( "GET",discFile, false);
    xmlHttp.send( null );
    var indexLista=xmlHttp.responseText;
if(xmlHttp.status!=200){indexLista="empty";}
lista+=indexLista+"<br>";
var tids=store.getTaggedTiddlers(sessionStorage.temaItem);
tids=tids.sort();
for(i=0;i<tids.length;i++){
var thisTid= tids[i].title;
    var xmlHttp = null;
    xmlHttp = new XMLHttpRequest();
    var discFile="OpenNote/"+thisTid+".txt";
    xmlHttp.open( "GET",discFile, false);
    xmlHttp.send( null );
lista+="{{medium{"+thisTid+"}}}<br>"+xmlHttp.responseText+"<br>";
}

return lista;
</script>
Bom....tem 3 partes principais desse sistema -
!!!Sub-Temas
Uma "e ai" por todo a Dragon Dreaming sera um docmento bem grande. Vamos dividir ele entre sub-partes..por nossa conveniancia. Não discutir uma coisas deve ser em uma tema ou outra...coloca nas dois!!!

Depois seu Login, clicar na tema que voce quer trabalhar por agora!

!!!Gravando nosso "e ai" 
Na barra acima tem dois "botões" simples e uteis. Depois voce escolha a tema por agora, clicar "abrir_EAI" para que a lista das items desta tema aparece na parte central do sistema.

Voce podem editar, adicionar... items por esse "e ai" e depois.....lembrar para guardar seu trabalho...clicar "salvar_EAI" ...confirmando o mensagem que voce vem substituir seu novo trabalho acima o trabalho anterior!

!!!Modificando um "e ai"
Tem varias maneiras como voce podem modificar um "e ai" existente.....
*Adicionar - usar o botão "Adicionar" para abrir uma painel que permite voce digitar seu nova contribuição. Depois termina...lembrar clicar "guardar" (do painel) para registrar seu trabalho. Que, por agora sea colocado no parte acima da lista do "e ai" aberta.
*Modificar um item de outra pessoa - abrir o item em questão clicando "editar" (a lado direita o titulo do item). Ditar como quiser e depois clicar "guardar" para registrar seu trabalho. Nota: esse sistema é colaborativo...entaõ podemos editar o trabalho dos outros....mas isso com respeito, amor, consideração e MUITO cuidado.
*Re-organizar dos Items - quando um item novo esta criado...ele esta colocado acima a lista do "e ai"...... mas nos queremos nosso "e ai" em sequencia cronologico..mas ou menos. Então, seleciona o titulo de qualquer item na lista e simplesmente rastar ele acima ou abaixa..... mudando o sequencia dos items. Simples! E depois..lembrar gravar a nova sequencia....com "salvar_EAI".
*Compactar/Epandir - quando uma tema tem muitos items.... re-organizando lista compridas será mas demorada...especialmente quando pessoas escrevem ietms bem longos. Então, o sistema podem compactar (por nosso conveniencia) os items....mostrando só o titulo e o primeiro parafagro. O botão acima "compactarTudos"....compactara Todos!!!!...... e "expandirTodos"...ela...expandira todos. Tambem cada item podem ser expandida ou compactado individualmente. Com esta ferramenta será mais facil re-organizara nosso trabalho.

Notas:
* 1 - isso não é um tipo twitter onde colocamos notinhas bem breves......isso vem echer o sistema com muitos items.......por outro lado, isso não é oportunidade voce escriver o "manual definitivo do dragon dreaming"!!!! sar seu intelligencia...fazer items que será util e interessante por todos nos.
*2 - depois fazendo items por uma tema..... voce podem "salvar_EAI"...e seleciona outra tema.....e continuará.
*3 - temas - ainda não escrivi um parte que deixara voces criar novas temas...isso fica pouco mais complicado...mas vou fazer......por agora...para adicionar outra tema....mandar sua contribução por email..e vou incluirá o mais rapido posivel.
<script>localStorage.class="passado";localStorage.opening="yes";</script> Bem Vindo.

Este sistema foi criado para me auxiliar a planejar projetos usando a metodologia do "Dragon Dreaming". O sistema me dá acesso aos documentos e princípios do Dragon Dreaming, minhas pesquisas a respeito dos projetos e uma maneira de monitorá-los. Eu acho o sistema útil. 

Mesmo que exista algumas partes que somente eu possa mexer (como a apresentação do Karabirrdt).... eu acredito que este sistema também possa ser útil a outras pessoas.

Grato, e bem vindo!

Skye. 
<script>config.options.txtUploadDir="";config.options.txtUploadFilename="eAi.html";config.options.txtUploadStoreUrl="store.php";config.options.txtUploadTiddlerStoreUrl="storeTiddler.php";pasUploadPassword="";chkUploadTiddler=true;</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(/^#/,'')); } }
//}}}
{{floatleft{{{imageThird{[img(300px,auto)[$1]]}}}}}}
{{floatleft{{{imageThird{[img(300px,auto)[$1]]
[img(300px,auto)[$2]]
[img(300px,auto)[$3]]}}}}}}
<<wikify {{'<<tiddler LeftMenu##'+sessionStorage.leftMenu+'>'+'>'}}>>
/%
!!Main
{{floatleft{{{item{<script label="home">displayTiddler(true,"StartHere");</script><<setIcon  ../Logos/home.png  ""  notext>><<showPopup tiddler:emailSkye label:Contacto width:500px popupClass:sticky>><<setIcon ../Logos/mail.png "" notext>><<showPopup tiddler:Escolas label:Escolas width:500px popupClass:lightgreen>><<setIcon ../escolasResilientes/Images/school.png "" notext>> }}} }}} {{floatright{<<showPopup tiddler:info label:Ajuda width:600px popupClass:lightgreen>><<setIcon ../Logos/sm_info.png "" notext>>}}}<<tiddler FotoSemana>>
----
<script>if(localStorage.username){return "<<tiddler LeftMenu##Registrado>"+">";}else{displayTiddler(true,"Novo Visitante");}</script>{{right{<script>if(localStorage.username=="Skye" || localStorage.username=="Ivone" || localStorage.username=="Aline"){return '<<showPopup tiddler:admin label:Skye popupClass:sandybrown width:90px>><<setIcon ../Logos/smallCog.png "" notext>>';}</script>[[Login]]}}}
----
{{medium{A Oficina}}}
<script>
var lista="";
var tids=store.getTaggedTiddlers("Oficina");
for(i=0;i<tids.length;i++){

lista+="[["+tids[i].title+"]]<br>";
}
return lista;
</script>



!!Registrado
{{apresenta{<<showPopup tiddler:Apresentacoes label:"Apresentações" popupClass:sticky width:200px>>}}}
{{book{<<showPopup tiddler:Posteres label:"Posteres" popupClass:sticky width:200px>>}}}
{{book{<<showPopup tiddler:BancoDados label:"Banco dados" width:700px popupClass:sticky>>}}}
{{book{<<showPopup tiddler:Biblioteca label:"Biblioteca" popupClass:sticky width:800px>>}}}
{{book{<<showPopup tiddler:Pessoas label:"Pessoas" popupClass:sticky width:300px>>}}}
{{book{<<showPopup tiddler:Estudos label:"Estudos" popupClass:sticky width:300px>>}}}
<<tiddler OpenWindow2 with: 'Skyes Blogg' 'http://www.unigaia-brasil.org/skye/'>>
<<tiddler OpenWindow2 with:Foro_Geral ../AdaptacaoProfunda>>
----

!!end
%/
__$1__
<script>
var lista="";
    var xmlHttp = null;
    xmlHttp = new XMLHttpRequest();
    var discFile="Temas/$1.txt";
//return discFile;
    xmlHttp.open( "GET",discFile, false);
    xmlHttp.send( null );
    var indexLista=xmlHttp.responseText;
//return indexLista;
var listings=indexLista.split("#");
listings=listings.sort();
for(i=1;i<listings.length;i++){
var item=listings[i].split("|");
var open='window.open("'+item[10]+'","Skye","width=800",true)';
//return open;
lista+='{{openWindow{<script label="'+item[0]+'">return '+open+';</scr'+'ipt>}}}<br>';
}
return lista;
</script>
<script>sessionStorage.oneMenu="login";sessionStorage.twoMenu="login";config.refreshers.content(document.getElementById("oneMenu")); config.refreshers.content(document.getElementById("twoMenu"));</script>

/%
!!Registro
__{{big{ Registração por Usuarios Novos}}}__
<script>sessionStorage.pdfdisplay="closed";
if(localStorage.username){config.options.txtUsername=localStorage.username;}else{config.options.txtUsername="";}
config.options.txtSenha="";
config.options.txtCurso="AdaptacaoProfunda";
config.options.txtEscola="AdaptacaoProfunda";

if(localStorage.name){config.options.txtName=localStorage.name;}else{config.options.txtName="";}
if(localStorage.email){config.options.txtEmail=localStorage.email;}else{config.options.txtEmail="";}
if(localStorage.whatsapp){config.options.txtWhatsApp=localStorage.whatsapp;}else{config.options.txtWhatsApp="";}
if(localStorage.professor){config.options.txtProfessor=localStorage.professor;}else{config.options.txtProfessor="";}
if(localStorage.ensinando){config.options.txtEnsinando=localStorage.ensinando;}else{config.options.txtEnsinando="";}
</script>
{{medium{
<<option txtUsername>> Nome Login (simples, sem espacos, sem acentos)
<<option txtSenha>> Senha (numeros e letras minisculos ou maisculos)
<<option txtName>> Nome Completo
<<option txtEmail>> Seu email
<<option txtWhatsApp>> Seu telefone(do WhatsApp)..lembra o DDD
<<option txtProfessor>> Professor do Que? (ou Professão)<br>

{{bookmarklet{<script label="Registrar">

if(config.options.txtName=="undefined"){return "<br>Precisa um Nome!!!";}
localStorage.name=config.options.txtName;

localStorage.senha=config.options.txtSenha;

var username=config.options.txtUsername;
if(config.options.txtUsername=="undefined" || username.indexOf(" ")!=-1){return "<br>Precisa um Nome Simples sem espacos!!!";}

var lista="";
    var xmlHttp = null;
    xmlHttp = new XMLHttpRequest();
    var discFile="Cursos/"+config.options.txtCurso+"/"+config.options.txtUsername+"/atividade.txt";
//return discFile;
    xmlHttp.open( "GET",discFile, false);
    xmlHttp.send( null );
    var indexLista=xmlHttp.responseText;
if(xmlHttp.status==200){var reLogin=confirm("Um usuario com esse nome Login existe! Voce é refazendo seu login?....OK en caso de reFazendo... ou cancel é login para pessoa nova");
if(!reLogin){return "<br><br><br>porfavor escolha outra nome login, e fazer. Grato!";}}

localStorage.username=config.options.txtUsername;

if(config.options.txtEscola=="undefined"){return "<br>Qual é sua Escola?";}
localStorage.escola=config.options.txtEscola;

var email=config.options.txtEmail;
if(config.options.txtEmail=="undefined" || email.indexOf("@")==-1 ){return "<br>Precisa um email valido!!!";}
localStorage.email=config.options.txtEmail;

if(config.options.txtWhatsApp=="undefined"){return "<br>Não tem Whatsapp, por minimo precisamos um numero telefone!";}
localStorage.whatsapp=config.options.txtWhatsApp;

localStorage.professor=config.options.txtProfessor;


var curso="no";
    var xmlHttp = null;
    xmlHttp = new XMLHttpRequest();
    var discFile="cursos.txt";
    xmlHttp.open( "GET",discFile, false);
    xmlHttp.send( null );
    var indexLista=xmlHttp.responseText;
if(xmlHttp.status!=200){indexLista="empty";}
//return indexLista+"no="+xmlHttp.status;
var tids=indexLista.split("#");
for(i=0;i<tids.length;i++){
var dets=tids[i].split("|");
if(dets[1]==config.options.txtCurso || config.options.txtCurso=="PhD"){curso="yes";localStorage.curso=config.options.txtCurso;}
}
if(curso=="yes")
{
config.refreshers.content(document.getElementById("leftMenu"));displayTiddler(true,"NewStudent");
return '<br><script src="chkLogin.php?Nome='+localStorage.name+'&Username='+localStorage.username+'&Senha='+localStorage.senha+'&Curso='+localStorage.curso+'&Escola='+localStorage.escola+'&Email='+localStorage.email+'&WhatsApp='+localStorage.whatsapp+'&Professor='+localStorage.professor+'&Ensinando='+localStorage.ensinando+'&ReLogin='+reLogin+'"></scr'+'ipt>';
}
else{return "<br>Não conhece esse curso";}

</script>}}} }}}



!!Voltando
__{{big{Login, por usuarios previamente registrados!}}}__

{{medium{
<<option txtUsername>> Nome Login
<<option txtSenha>> Senha<br><br>{{bookmarklet{<script label="Login">
localStorage.senha=config.options.txtSenha;
localStorage.username=config.options.txtUsername;
    var xmlHttp = null;
    xmlHttp = new XMLHttpRequest();
    var discFile="Cursos/"+localStorage.curso+"/"+localStorage.username+"/"+config.options.txtSenha+".txt";
//return discFile;
    xmlHttp.open( "GET",discFile, false);
    xmlHttp.send( null );
    var indexLista=xmlHttp.responseText;
//return "status="+xmlHttp.status;
if(xmlHttp.status==200){
config.refreshers.content(document.getElementById("leftMenu"));
var reLogin=true;
displayTiddler(true,"StartHere");
return '<br><script src="AtividadeAcontecendo.php?Username='+localStorage.username+'&Tema=.&Atividade=Re-registrando&Curso='+localStorage.curso+'"></scr'+'ipt>';
return "Gotcha!";
}
else{return "<br>Não ache esse senha...tentar de novo, ou refazer seu registro";}
</script>}}}



{{small{Nota: em caso que esquece seu login ou senha, refazer seu registro e confirma que voce esta voltando!}}}

!!Escolas
...addionar sua escola <<showPopup tiddler:EscolaNova label:"adicionar escola nova" width:600px popupClass:sticky>>
... ou seleciona desde a lista das escolas onde estamos trabalhando agora...
<script>
var lista="";
    var xmlHttp = null;
    xmlHttp = new XMLHttpRequest();
    var discFile="escolas.txt";
    xmlHttp.open( "GET",discFile, false);
    xmlHttp.send( null );
    var indexLista=xmlHttp.responseText;
if(xmlHttp.status!=200){indexLista="empty";}
//return indexLista+"no="+xmlHttp.status;
var tids=indexLista.split("#");
for(i=0;i<tids.length-1;i++){
var dets=tids[i].split("|");

lista+='<script label="'+dets[2]+' '+dets[3]+'">localStorage.escola="'+dets[2]+' '+dets[3]+'";config.refreshers.content(document.getElementById("oneMenu")); </scr'+'ipt> do '+dets[4]+'<br>';
}
return lista;
</script>


!!Cursos
<script>
var lista="";
    var xmlHttp = null;
    xmlHttp = new XMLHttpRequest();
    var discFile="cursos.txt";
    xmlHttp.open( "GET",discFile, false);
    xmlHttp.send( null );
    var indexLista=xmlHttp.responseText;
if(xmlHttp.status!=200){indexLista="empty";}
//return indexLista+"no="+xmlHttp.status;
var tids=indexLista.split("#");
for(i=0;i<tids.length-1;i++){
var dets=tids[i].split("|");

lista+='<script label="'+dets[1]+'">localStorage.curso="'+dets[1]+'";config.refreshers.content(document.getElementById("oneMenu")); </scr'+'ipt> - '+dets[2]+'<br>';
}
return lista;
</script>

!!end
%/
<<wikify {{'<<tiddler MainHead##'+sessionStorage.mainHead+'>'+'>'}}>>
/%
!!Main
{{floatleft{{{small{<<showPopup tiddler:Continuando label:subitemsTags width:200px>><<setIcon ../Logos/layeredMap_small.png "" notext>><<showPopup tiddler:TagCloud label:Tags width:500px>><<setIcon ../Logos/tags_small.png "" notext>><script>if(localStorage.username){return "..usuario: <<showPopup tiddler:MeuArquivo label:"+localStorage.username+" popupClass:sandybrown width:300px>>";}</script>}}}}}}{{floatright{{{icon{<script>return "<<showPopup tiddler:Chat label:"+sessionStorage.chatItems+" popupClass:sticky width:400px>>";</script><<setIcon ../Logos/small_bubble.png "" notext>>}}}}}} {{center{{{large{ Adaptação Profunda<<showPopup tiddler:admin label:. width:500px popupClassSticky>> }}} }}}{{center{{{small{{{ital{A verdade é que temos medo, mas corajoso o suficiente para dizer isso. A verdade é, estamos de luto, mas são orgulhosos o suficiente para dizer isso. A verdade é, estamos traumatizados, mas estamos abertos o suficiente para dizer isso}}}. - Jem Bendell}}}}}}
!!end
%/
<script>
var meusPontos=0;
var totalPontos=0;
//get aluno progress file
    var xmlHttp = null;
    xmlHttp = new XMLHttpRequest();
    var discFile="Cursos/"+localStorage.curso+"/"+localStorage.username+"/progresso.txt";
//return discFile;
    xmlHttp.open( "GET",discFile, false);
    xmlHttp.send( null );
    var pontosLista=xmlHttp.responseText;
//return pontosLista;
var pontos=pontosLista.split("|");

//sessionStorage.pdfdisplay="&quot;closed&quot;;



var lista="";
    var xmlHttp = null;
    xmlHttp = new XMLHttpRequest();
    var discFile="Tarefas/ListaTarefas.txt";
//return discFile;
    xmlHttp.open( "GET",discFile, false);
    xmlHttp.send( null );
    var indexLista=xmlHttp.responseText;
var listings=indexLista.split("#");
for(i=0;i<listings.length-1;i++){
var item=listings[i].split("&");
if(!item[0]){var materia="";}
else{var materia='<script label="'+item[0]+'">sessionStorage.item="'+item[0]+'";sessionStorage.dir="Materias";sessionStorage.tipo="pdf";if(sessionStorage.pdfdisplay=="open"){story.refreshTiddler("PDFDisplay", null,true);}if(sessionStorage.pdfdisplay=="closed"){story.displayTiddler(true,"PDFDisplay");}sessionStorage.pdfdisplay="open";</sc'+'ript>';}

var tarefaLink='<script label="'+item[1]+'">story.displayTiddler(true,"Duas");sessionStorage.tarefa="'+item[1]+'";sessionStorage.oneMenu="tarefa";config.refreshers.content(document.getElementById("oneMenu"));</scr'+'ipt>';



//return "pontos, "+i+"="+pontos[i];
if(pontos[i]){meusPontos+=parseInt(pontos[i]);}
if(i>0 && item[4]){totalPontos=totalPontos+parseInt(item[4]);}

lista+='|'+materia+'|'+tarefaLink+'|'+item[2]+'|'+item[3]+'|'+item[4]+'|'+pontos[i]+'|\n';
}
lista+='|||||'+totalPontos+'|'+meusPontos+'|';
return lista;
</script>

{{small{<script>
lista="";
var tarefas="";
//var total=parseInt("0");

    var xmlHttp = null;
    xmlHttp = new XMLHttpRequest();
    var discFile="Cursos/"+localStorage.curso+"/"+config.options.txtUsername+"/meuArquivo.txt";
//return discFile;
    xmlHttp.open( "GET",discFile, false);
    xmlHttp.send( null );
    var indexLista=xmlHttp.responseText;
//return "output="+indexLista;
var listingTarefas=indexLista.split("#");

var atividades=listingTarefas.sort();

for(s=0;s<atividades.length;s++){
//return "found"+atividades[1]+listingTarefas[1];
lista+="|"+atividades[s]+"|\n";
}
//lista+="||"+total+"|";
return lista;
</script>}}}
{{small{<script>
lista="";
var tarefas="";
var total=parseInt("0");

    var xmlHttp = null;
    xmlHttp = new XMLHttpRequest();
    var discFile="Tarefas/ListaTarefas.txt";
//return discFile;
    xmlHttp.open( "GET",discFile, false);
    xmlHttp.send( null );
    var tarefaLista=xmlHttp.responseText;
var tarefas=tarefaLista.split("#");

    var xmlHttp = null;
    xmlHttp = new XMLHttpRequest();
    var discFile="Cursos/"+localStorage.curso+"/"+localStorage.username+"/progresso.txt";
//return discFile;
    xmlHttp.open( "GET",discFile, false);
    xmlHttp.send( null );
    var indexLista=xmlHttp.responseText;
//return indexLista;
var listingTarefas=indexLista.split("|");


for(s=1;s<tarefas.length-1;s++){
var tarefaNo=tarefas[s].split("&");
if(listingTarefas[s]){total=total+parseInt(listingTarefas[s]);}
lista+="|"+tarefaNo[1]+"|"+listingTarefas[s]+"|\n";
}
lista+="||"+total+"|";
return lista;
</script>}}}
<<wikify {{"<<tiddler OpenNote with:"+tiddler.title+">"+">"}}>>
<html><nowiki><form action="AddNoticiaBreve.php" method="POST"  target="responseFrame">
<input type=hidden name=when value="">
<textarea name="comment" rows="6 cols="60" style="width:470px;" value=" " ></textarea><br>
<input type=submit value='Gravar' onclick=""'>

</form><iframe src="" name="responseFrame" id="responseFrame" width=400px height=50px style="border:0;"></iframe>
</html><script>var form=place.lastChild.getElementsByTagName('form')[0];
var date=new Date();
form.when.value=date.formatString("YYYY-MM-DD");
</script>
{{medium{Bem Vindo, <<wikify {{localStorage.username}}>> a esse curso da Permacultura.

O painel do navegação agora deve ser aberta ao lado esquerda. Ele tem varios funções, que com tempo voce aprenderá usar. Por agora, pra iniciar, clicar "Materias" para ver a lista das materias e as sub-temas do curso. E claro, começamos no inicio. Então clicar na materia "Introdução". Isso abrirá um documento  nesta mesma janela. Voce podem baixar esse documento (como todas as materias é um documento pdf), ou estudar ele aqui mesmo.

Esse documento inicial, explicara mais a respeito o curso, como ele funciona, e como navegar nesta pagina.

De novo, bem vindo, e lembra que a aprendizagem é um processo individual e coletiva. Ver a possibilidade para animar outros professores em sua escola, fazer o curso com voce, formando um grupo dos estudos em sua escola. Tambem, no lado individual, lembra que voce pode perguntar e comuniar com nos em qualquer momento - pode usar o "contactar" a esquerda para mandar um mensagem por email, ou, em pouco tempo vamos addicionar voce por o grupo dos estudos, usando o numero do whatsapp que voce digitou agora.

Grato

Skye 


}}}
{{materia{<<showPopup tiddler:NossasVisitas##list width:300px label:Visitas popupClass:sticky>>}}}/%
!!list
<script src="dir.php?path=NossasVisitas"></script>{{right{{{tarefa{<<showPopup tiddler:NossasVisitas##new label:open/new width:600px popupClass:sticky>>}}}}}}__Seleciona e addicionar ou correjir__<script>
var lista="";
    var xmlHttp = null;
    xmlHttp = new XMLHttpRequest();
    var discFile="NossasVisitas/lista.txt";
    xmlHttp.open( "GET",discFile, false);
    xmlHttp.send( null );
    var indexLista=xmlHttp.responseText;
if(xmlHttp.status!=200){indexLista="empty";}
//return indexLista+"<br>no="+xmlHttp.status;
//return "lista ="+indexLista;
var tids=indexLista.split("|");
tids=tids.sort();
//return "length= "+tids.length;
for(i=1;i<tids.length;i++){
if(tids[i]!="lista.txt"){
var thisItem=tids[i].replace(".txt","");
lista+='<script label="'+thisItem+'">sessionStorage.NossaVisita="'+thisItem+'";</scr'+'ipt><br>';
}
}
return lista;
</script>
!!new
<html><nowiki><form action="addNossaVisita.php" method="POST"  target="responseFrame">
<input type=hidden name=when value=""><input name=title value="">
<textarea name="comment" rows="20 cols="60" style="width:590px;" value=" " ></textarea><br>
<input type=submit value='Cria/Correja' onclick=""'>

</form><iframe src="" name="responseFrame" id="responseFrame" width=400px height=50px style="border:0;"></iframe>
</html><script>var form=place.lastChild.getElementsByTagName('form')[0];
var date=new Date();
form.when.value=date.formatString("YYYY-MM-DD");lista="";
var tarefas="";

    var xmlHttp = null;
    xmlHttp = new XMLHttpRequest();
    var discFile="NossasVisitas/"+sessionStorage.NossaVisita+".txt";
//return discFile;
    xmlHttp.open( "GET",discFile, false);
    xmlHttp.send( null );
form.comment.value=xmlHttp.responseText;
form.title.value=sessionStorage.NossaVisita;
</script>
!!end
%/
{{center{{{medium{__Noticias Recentes__}}}}}}
<script>
var lista="";
    var xmlHttp = null;
    xmlHttp = new XMLHttpRequest();
    var discFile="Noticias/lista.txt";
    xmlHttp.open( "GET",discFile, false);
    xmlHttp.send( null );
    var indexLista=xmlHttp.responseText;
if(xmlHttp.status!=200){indexLista="empty";}
//return indexLista+"no="+xmlHttp.status;
var tids=indexLista.split("#");
var count=tids.length-1;
if(count>3){count=3;}
for(i=0;i<count;i++){
var dets=tids[i].split("|");
lista+="{{bold{__"+dets[0]+"__}}}<br>"+dets[5]+"<br>fonte: "+dets[10]+" <br>por: "+dets[8]+" ("+dets[7]+")<br><br>";
}
return lista;
</script>
<<tiddler Acontecendo with: NoticiasBreves Abrindo>>
<script>
var lista="";
    var xmlHttp = null;
    xmlHttp = new XMLHttpRequest();
    var discFile="OpenNote/NoticiasBreves.txt";
//return discFile;
    xmlHttp.open( "GET",discFile, false);
    xmlHttp.send( null );
var listaNoticias=xmlHttp.responseText;
var noticias=listaNoticias.split("#");
var punto=noticias[i].indexOf(".");
//return"return="+ punto;
for(i=0;i<5;i++){
lista+=noticias[i]+"<br><br>";}
return lista;
</script>
Bom Dia,
Bem Vinda esta pagina, que é mais especificamente por pessoas participando no curso da Permacultura a Distanca, focalizado em professores do rede estadual da educação do Ceará.

No momento voce tem como accessar quase nada na informação  disponivel aqui. Mas pode registrar e isso abrirá a navegação da pagina. Professores e ate alunos das escolas do Ceará podem registra usando a butão "Login" a esquerda. Mas lembra definir seu escola, seu email, whats app!!!!
<<wikify {{'<<tiddler OneMenu##'+sessionStorage.oneMenu+'>'+'>'}}>>

/%
!!start
<<tiddler [[Bem Vindo]]>>
----
<<tiddler RefsRecentes>>

!!aula
<<wikify {{sessionStorage.aulaOne}}>>

!!login
<<tiddler Login##Registro>>

!!Videos
<<tiddler Videos>>

!!tarefa
<<tiddler TarefaDescricao>>

!!Youtube
<<wikify {{'<html><iframe src="https://www.youtube.com/embed/'+sessionStorage.item+'" width=490px height=380px></ifra'+'me></ht'+'ml>'}}>>

!!jornal
<<wikify {{'<script src="AtividadeAcontecendo.php?Username='+localStorage.username+'&Tema=Jornal&Atividade=Lendo&Curso='+localStorage.curso+'"></scr'+'ipt>'}}>>
{{medium{__Jornais Previas__}}}
<script>
var lista="";
    var xmlHttp = null;
    xmlHttp = new XMLHttpRequest();
    var discFile="Cursos/"+localStorage.curso+"/"+localStorage.username+"/jornal.txt";
//return discFile;
    xmlHttp.open( "GET",discFile, false);
    xmlHttp.send( null );
    var indexLista=xmlHttp.responseText;
//return indexLista;
var listings=indexLista.split("#");
for(i=0;i<listings.length-1;i++){
var item=listings[i].split("|");
lista+="__ "+item[0]+"__<br>"+item[3]+"<br><br>";
}
return lista;
</script>

!!aha
<<wikify {{'<script src="AtividadeAcontecendo.php?Username='+localStorage.username+'&Tema=Ahas&Atividade=Lendo&Curso='+localStorage.curso+'"></scr'+'ipt>'}}>>
{{medium{__Ahas! Previas__}}}
<script>
var lista="";
    var xmlHttp = null;
    xmlHttp = new XMLHttpRequest();
    var discFile="Cursos/"+localStorage.curso+"/"+localStorage.username+"/aha.txt";
//return discFile;
    xmlHttp.open( "GET",discFile, false);
    xmlHttp.send( null );
    var indexLista=xmlHttp.responseText;
var listings=indexLista.split("#");
for(i=0;i<listings.length-1;i++){
var item=listings[i].split("|");
lista+="__ "+item[0]+"__<br>"+item[3]+"<br><br>";
}
return lista;
</script>

!!progresso
<<showPopup tiddler:ProgressoCurso label:"Progresso Geral" width:800px popupClass>yellow>>
{{medium{__Listando Meus Ativididades__}}}
{{small{
<script>
var lista="|Data|Abrio|Resposta Tarefa|na Jornal|Uma Ahas|Meu Projeto|N0 Foro|Outras|n";
    var xmlHttp = null;
    xmlHttp = new XMLHttpRequest();
    var discFile="Cursos/"+localStorage.curso+"/"+localStorage.username+"/atividade.txt";
//return discFile;
    xmlHttp.open( "GET",discFile, false);
    xmlHttp.send( null );
    var indexLista=xmlHttp.responseText;
//return indexLista;
var listings=indexLista.split("#");
for(i=0;i<30;i++){
var item=listings[i].split("|");
lista+="|"+item[0]+"|"+item[1]+"|"+item[2]+"|"+item[3]+"|"+item[4]+"|"+item[5]+"|"+item[6]+"|"+item[7]+"|n";
}
return lista;
</script>}}}

!!tags
<<tiddler Tags>>

!!foro
{{medium{Comentarios Previos}}}
{{small{
<script>
var lista="";
    var xmlHttp = null;
    xmlHttp = new XMLHttpRequest();
    var discFile="Foro/"+sessionStorage.item+".txt";
//return discFile;
    xmlHttp.open( "GET",discFile, false);
    xmlHttp.send( null );
    var indexLista=xmlHttp.responseText;
var listings=indexLista.split("#");
for(i=0;i<listings.length-1;i++){
var item=listings[i].split("|");
lista+="__"+item[0]+"__ - "+item[5]+" -"+item[4]+" no: "+item[3]+"<br>";

} 
return lista;
</script>}}}

!!end
%/
<<wikify {{'<<tiddler OneSkyeMenu##'+sessionStorage.oneSkyeMenu+'>'+'>'}}>>
/%
!!avalTarefa

<script>
var lista="";
    var xmlHttp = null;
    xmlHttp = new XMLHttpRequest();
    var discFile="Cursos/"+localStorage.curso+"/"+sessionStorage.aluno+"/"+sessionStorage.tarefa+".txt";
return discFile;
    xmlHttp.open( "GET",discFile, false);
    xmlHttp.send( null );
    var indexLista=xmlHttp.responseText;
return indexLista;
</script>

!!chkAluno
<<wikify {{sessionStorage.aluno+", "+sessionStorage.curso}}>>
{{small{
<script>
var lista="|Data|Abrio|Resposta Tarefa|na Jornal|Uma Ahas|Meu Projeto|N0 Foro|Outras|n";
    var xmlHttp = null;
    xmlHttp = new XMLHttpRequest();
    var discFile="Cursos/"+sessionStorage.curso+"/"+sessionStorage.aluno+"/atividade.txt";
//return discFile;
    xmlHttp.open( "GET",discFile, false);
    xmlHttp.send( null );
    var indexLista=xmlHttp.responseText;
//return indexLista;
var listings=indexLista.split("#");
for(i=0;i<listings.length-1;i++){
var item=listings[i].split("|");
lista+="|"+item[0]+"|"+item[1]+"|"+item[2]+"|"+item[3]+"|"+item[4]+"|"+item[5]+"|"+item[6]+"|"+item[7]+"|n";
}
return lista;
</script>}}}
!!end
%/
{{book{<script label="$1">window.open("$2","Skye","width=1000,height=700",true);return '<script src="AtividadeAcontecendo.php?Username='+localStorage.username+'&Tema=WWW_EssenciaPermacultura&Atividade=Abrindo&Curso='+localStorage.curso+'"></scr'+'ipt>';</script>}}}
<<tiddler Acontecendo with: $1 Abrindo>>
<script>
sessionStorage.tema="$1";
sessionStorage.Nota="$1";
var lista="";

var tiddler=store.getTiddler("$1");
sessionStorage.TemaTags=tiddler.tags;
    var xmlHttp = null;
    xmlHttp = new XMLHttpRequest();
    var discFile="OpenEstudo/$1.txt";
//return discFile;
    xmlHttp.open( "GET",discFile, false);
    xmlHttp.send( null );
config.refreshers.content(document.getElementById("mainHead"));
return xmlHttp.responseText;

</script>

<script>
var tagsList=sessionStorage.TemaTags;
if(tagsList.indexOf("tema")!=-1)
{
var lista="";
var tids=store.getTaggedTiddlers("$1");
for(i=0;i<tids.length;i++){
lista+="{{materia{[["+tids[i].title+"]]}}}<br>";
}
sessionStorage.continuando=lista;
}
</script>
<<tiddler Acontecendo with: $1 Abrindo>>
<script>
sessionStorage.tema="$1";
sessionStorage.Nota="$1";

var tiddler=store.getTiddler("$1");
sessionStorage.TemaTags=tiddler.tags;
//return sessionStorage.TemaTags;
    var xmlHttp = null;
    xmlHttp = new XMLHttpRequest();
    var discFile="OpenNote/$1.txt";
//return discFile;
    xmlHttp.open( "GET",discFile, false);
    xmlHttp.send( null );
config.refreshers.content(document.getElementById("mainHead"));
return xmlHttp.responseText;
</script>

<script>
var tagsList=sessionStorage.TemaTags;
var lista="";
var tids=store.getTaggedTiddlers("$1");
for(i=0;i<tids.length;i++){
lista+="{{materia{[["+tids[i].title+"]]}}}<br>";

sessionStorage.continuando=lista;
}
return lista;
</script>
{{openWindow{<script label="$1">window.open("$2","Skye","width=1000,height=700",true);return '<script src="AtividadeAcontecendo.php?Username='+localStorage.username+'&Tema=WWW_EssenciaPermacultura&Atividade=Abrindo&Curso='+localStorage.curso+'"></scr'+'ipt>';</script>}}}
<<wikify {{"<<tiddler OpenNote with:"+tiddler.title+">"+">"}}>>
<script>
var out="";
var tids=store.getTaggedTiddlers("aula");
for(i=0;i<tids.length;i++)
{
out+="[["+tids[i].title+"]]<br>";
}
return out;
</script>
{{small{clic no modulo para abrir na janela principal.}}}
<<wikify {{"<<tiddler OpenNote with:"+tiddler.title+">"+">"}}>>
{{medium{
<script>
var out="";
var tids=store.getTaggedTiddlers("OutrasTemas");
for(i=0;i<tids.length;i++)
{
out+='<script label="'+tids[i].title+'">localStorage.tema="'+tids[i].title+'";story.displayTiddler(null,"'+tids[i].title+'");</sc'+'ript><br>';
}
return out;
</script>}}}
<<wikify {{'http://www.unigaia-brasil.org/escolasResilientes/'+sessionStorage.dir+'/'+sessionStorage.item+'.'+sessionStorage.tipo}}>> 
<script>if(localStorage.username==""){story.displayTiddler(true,"RememberLogin");}</script><<wikify {{'<script src="AtividadeAcontecendo.php?Username='+localStorage.username+'&Tema='+sessionStorage.dir+'/'+sessionStorage.item+'&Atividade=Abrindo&Curso='+localStorage.curso+'"></scr'+'ipt>'}}>><<wikify {{ '<html><iframe src="http://www.unigaia-brasil.org/escolasResilientes/'+sessionStorage.dir+'/'+sessionStorage.item+'.'+sessionStorage.tipo+'" width=98% height=650px></ifr'+'ame></ht'+'ml>'}}>><script>sessionStorage.tema=sessionStorage.item;config.refreshers.content(document.getElementById("mainMenu"));</script>
<div id='mainHead' refresh='content' force='true' tiddler='MainHead'></div>
<div id='leftMenu' refresh='content' force='true' tiddler='LeftMenu'></div>

<div id='displayArea'>
<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 = "Save this password on this computer";
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"
	});
*/
//}}}
<<wikify {{"<<tiddler OpenNote with:"+tiddler.title+">"+">"}}>>
<script>sessionStorage.open='<<wikify {{"<<tiddler OpenNote with:"+tiddler.title+">"+">"}}>'+'>';</script>{{floatright{{{materia{<<newTiddler label:Novo tag:Pessoas text:{{sessionStorage.open}}>>}}}}}}<script>
var lista="";
var tids=store.getTaggedTiddlers("Pessoas");
for(i=0;i<tids.length;i++){
lista+="[["+tids[i].title+"]]<br>";
}
return lista;
</script>
<<plugins>>
/***
|''Name:''|PortugueseTranslationPlugin|
|''Description:''|Translation of TiddlyWiki into European Portuguese|
|''Author:''|Paulo Soares|
|''Source:''|http://www.math.ist.utl.pt/~psoares/addons.html|
|''Version:''|2.6.2|
|''Date:''|Jan 18, 2011|
|''License:''|[[Creative Commons Attribution-ShareAlike 3.0 License|http://creativecommons.org/licenses/by-sa/3.0/ ]]|
|''~CoreVersion:''|2.6.0|
***/
/*{{{*/
config.locale = "pt"; // W3C language tag

if (config.options.txtUserName=="YourName")
   merge(config.options,{txtUserName: "OSeuNome"});

merge(config.tasks,{
	save: {text: "guardar", tooltip: "Guarda as alteracoes a este TiddlyWiki", action: saveChanges},
	sync: {text: "sincronizar", tooltip: "Sincroniza alteracoes com outros ficheiros TiddlyWiki ou servidores", content: '<<sync>>'},
	importTask: {text: "importar", tooltip: "Importa tiddlers e plugins de outros ficheiros TiddlyWiki ou servidores", content: '<<importTiddlers>>'},
	tweak: {text: "configurar", tooltip: "Configura a aparencia e o comportamento do TiddlyWiki", content: '<<options>>'},
	upgrade: {text: "actualizar", tooltip: "Actualiza o codigo central do TiddlyWiki", content: '<<upgrade>>'},
	plugins: {text: "plugins", tooltip: "Gerir plugins instalados", content: '<<plugins>>'}
});

// Options that can be set in the options panel and/or cookies
merge(config.optionsDesc,{
	txtUserName: "Nome de utilizador para assinar as edicoes",
	chkRegExpSearch: "Activar expressoes regulares na procura",
	chkCaseSensitiveSearch: "Procura sense&shy;vel a maiusculas",
	chkIncrementalSearch: "Procura incremental caracter-a-caracter",
	chkAnimate: "Activar animacoes",
	chkSaveBackups: "Manter ficheiro de salvaguarda ao guardar alteracoes",
	chkAutoSave: "Guardar alteracoes automaticamente",
	chkGenerateAnRssFeed: "Gerar um ficheiro RSS ao guardar alteracoes",
	chkSaveEmptyTemplate: "Gerar um modelo vazio ao guardar alteracoes",
	chkOpenInNewWindow: "Abrir ligacoes externas em novas janelas",
	chkToggleLinks: "Clicar em ligacoes para tiddlers abertos, fecha-os",
	chkHttpReadOnly: "Esconde funcoes de edicao quando acedido por HTTP",
	chkForceMinorUpdate: "Nao actualizar o nome de utilizador nem a data ao editar tiddlers",
	chkConfirmDelete: "Requerer confirmacao ao eliminar tiddlers",
	chkInsertTabs: "Usar a tecla TAB para inserir caracteres de tabulacao em vez de saltar para o proximo campo",
	txtBackupFolder: "Nome do directorio para os ficheiros de salvaguarda",
	txtMaxEditRows: "Numero maximo de linhas nas caixas de edicao",
	txtTheme: "Nome do tema a usar", 
	txtFileSystemCharSet: "Codigo de caracteres por omissao para guardar alteracoes (apenas em Firefox/Mozilla)"});

merge(config.messages,{
	customConfigError: "Foram encontrados problemas ao carregar plugins. Veja o PluginManager para mais detalhes",
	pluginError: "Erro: %0",
	pluginDisabled: "Nao executado porque foi desactivado pela etiqueta 'systemConfigDisable'",
	pluginForced: "Executado porque foi forcado pela etiqueta 'systemConfigForce'",
	pluginVersionError: "Nao executado porque este plugin requer uma versao mais recente do TiddlyWiki",
	nothingSelected: "Nada esta selecionado. Deve selecionar um ou mais itens primeiro",
	savedSnapshotError: "Parece que este TiddlyWiki foi guardado incorrectamente. Por favor veja http://www.tiddlywiki.com/#Download para mais detalhes",
	subtitleUnknown: "(desconhecido)",
	undefinedTiddlerToolTip: "O tiddler '%0' ainda nao existe",
	shadowedTiddlerToolTip: "O tiddler '%0' ainda nao existe, mas tem um modelo pre-definido",
	tiddlerLinkTooltip: "%0 - %1, %2",
	externalLinkTooltip: "Ligacao externa a %0",
	noTags: "Nao ha tiddlers com etiquetas",
	notFileUrlError: "e‰ necessario guardar este TiddlyWiki num ficheiro antes de poder guardar alteracoes",
	cantSaveError: "Nao e posse&shy;vel guardar alteracoes. Posse&shy;veis razoes incluem:\n- o seu browser nao o permite (funciona sob Firefox, Internet Explorer, Safari ou Opera se estes estiverem configurados adequadamente)\n- o nome do caminho para o seu ficheiro TiddlyWiki contem caracteres ilegais\n- o nome ou a localizacao do ficheiro TiddlyWiki foram alterados",
	invalidFileError: "O ficheiro original '%0' nao parece ser um TiddlyWiki valido",
	backupSaved: "Ficheiro de salvaguarda guardado",
	backupFailed: "Falha ao guardar o ficheiro de salvaguarda",
	rssSaved: "Ficheiro RSS guardado",
	rssFailed: "Falha ao guardar o ficheiro RSS",
	emptySaved: "Modelo vazio guardado",
	emptyFailed: "Falha ao guardar o modelo vazio",
	mainSaved: "Ficheiro principal de TiddlyWiki guardado",
	mainFailed: "Falha ao guardar o ficheiro principal de TiddlyWiki. As suas alteracoes nao foram guardadas",
	macroError: "Erro na macro <<%0>>",
	macroErrorDetails: "Erro ao executar a macro <<%0>>:\n%1",
	missingMacro: "Essa macro nao existe",
	overwriteWarning: "Um tiddler chamado '%0' ja existe. Escolha OK para substitue&shy;-lo",
	unsavedChangesWarning: "ATENCAO! Ha alteracoes no TiddlyWiki que ainda nao foram guardadas\n\nEscolha OK para guardar\nEscolha CANCEL para abandonar as alteracoes",
	confirmExit: "--------------------------------\n\nHa alteracoes no TiddlyWiki que ainda nao foram guardadas. Se continuar ira perder essas alteracoes\n\n--------------------------------",
	saveInstructions: "GuardarAlteracoes",
	unsupportedTWFormat: "Formato TiddlyWiki nao suportado '%0'",
	tiddlerSaveError: "Erro ao guardar tiddler '%0'",
	tiddlerLoadError: "Erro ao carregar tiddler '%0'",
	wrongSaveFormat: "Nao e posse&shy;vel guardar no formato de armazenamento '%0'. Use o formato padrao para guardar.",
	invalidFieldName: "Nome de campo invalido %0",
	loadingMissingTiddler: "Tentando obter o tiddler '%0' do servidor '%1' em:\n\n'%2' no espaco de trabalho '%3'",
	upgradeDone: "A actualizacao para a versao %0 esta completa\n\nClique 'OK' para recarregar o TiddlyWiki actualizado",
	invalidCookie: "Cookie invalida '%0'"});

merge(config.messages.messageClose,{
	text: "fechar",
	tooltip: "fecha esta area de mensagens"});

config.messages.backstage = {
	open: {text: "bastidores", tooltip: "Abre a area de bastidores para executar tarefas de edicao e administracao"},
	close: {text: "fechar", tooltip: "Fecha a area de bastidores"},
	prompt: "bastidores: ",
	decal: {
		edit: {text: "editar", tooltip: "Edita o tiddler '%0'"}
	}
};

config.messages.listView = {
	tiddlerTooltip: "Clique para ver o texto completo deste tiddler",
	previewUnavailable: "(antevisao nao dispone&shy;vel)"
};

config.messages.dates.months = ["Janeiro","Fevereiro","Marco","Abril","Maio","Junho","Julho","Agosto","Setembro","Outubro","Novembro","Dezembro"];
config.messages.dates.days = ["Domingo","Segunda","Terca","Quarta","Quinta","Sexta","Sabado"];
config.messages.dates.shortMonths = ["Jan", "Fev", "Mar", "Abr", "Mai", "Jun", "Jul", "Ago", "Set", "Out", "Nov", "Dez"];
config.messages.dates.shortDays = ["Dom", "Seg", "Ter", "Qua", "Qui", "Sex", "Sab"];

merge(config.messages.tiddlerPopup,{
	});

merge(config.views.wikified.tag,{
	labelNoTags: "sem etiquetas",
	labelTags: "etiquetas: ",
	openTag: "Abrir etiqueta '%0'",
	tooltip: "Abrir tiddlers etiquetados com '%0'",
	openAllText: "Abrir todos",
	openAllTooltip: "Abrir todos estes tiddlers",
	popupNone: "Nao ha outros tiddlers etiquetados com '%0'"});

merge(config.views.wikified,{
	defaultText: "O tiddler '%0' ainda nao existe. Faca duplo-clique para cria-lo",
	defaultModifier: "(em falta)",
	shadowModifier: "(tiddler sombra pre-definido)",
	dateFormat: "DD MMM YYYY",
	createdPrompt: "criado em"});

merge(config.views.editor,{
	tagPrompt: "Escreva as etiquetas separadas por espacos, [[use duplos parenteses rectos]] se necessario, ou atribua existentes",
	defaultText: "Escreva o texto para '%0'"});

merge(config.views.editor.tagChooser,{
	text: "etiquetas",
	tooltip: "Escolha entre as etiquetas existentes para atribuir a este tiddler",
	popupNone: "Nao ha etiquetas definidas",
	tagTooltip: "Atribuir a etiqueta '%0'"});

merge(config.messages,{
	sizeTemplates:
		[
		{unit: 1024*1024*1024, template: "%0\u00a0GB"},
		{unit: 1024*1024, template: "%0\u00a0MB"},
		{unit: 1024, template: "%0\u00a0KB"},
		{unit: 1, template: "%0\u00a0B"}
		]});

merge(config.macros.search,{
	label: "procurar",
	prompt: "Procura neste TiddlyWiki",
	accessKey: "F",
	successMsg: "%0 tiddlers encontrados que contem %1",
	failureMsg: "Nao foi encontrado nenhum tiddler que contenha %0"});

merge(config.macros.tagging,{
	label: "etiquetando:",
	labelNotTag: "nao etiquetando",
	tooltip: "Lista de tiddlers etiquetados com '%0'"});

merge(config.macros.timeline,{
	dateFormat: "DD MMM YYYY"});

merge(config.macros.allTags,{
	tooltip: "Mostra tiddlers com a etiqueta '%0'",
	noTags: "Nao ha tiddlers etiquetados"});

config.macros.list.all.prompt = "Todos os tiddlers em ordem alfabetica";
config.macros.list.missing.prompt = "Tiddlers com ligacoes para eles mas que nao existem";
config.macros.list.orphans.prompt = "Tiddlers sem ligacoes de outros tiddlers";
config.macros.list.shadowed.prompt = "Tiddlers na sombra com conteudo pre-definido";
config.macros.list.touched.prompt = "Tiddlers que foram modificados localmente";

merge(config.macros.closeAll,{
	label: "fechar todos",
	prompt: "Fecha todos os tiddlers abertos (excepto os que estao a ser editados)"});

merge(config.macros.permaview,{
	label: "permavista",
	prompt: "Ligacao a um URL que mostra todos os tiddlers que estao abertos"});

merge(config.macros.saveChanges,{
	label: "guardar alteracoes",
	prompt: "Guarda todas as alteracoes em ficheiro",
	accessKey: "S"});

merge(config.macros.newTiddler,{
	label: "novo tiddler",
	prompt: "Cria um novo tiddler",
	title: "Novo tiddler",
	accessKey: "N"});

merge(config.macros.newJournal,{
	label: "novo diario",
	prompt: "Cria um novo tiddler com a data e hora actuais",
	accessKey: "J"});

merge(config.macros.options,{
	wizardTitle: "Configurar opcoes avancadas",
	step1Title: "Estas opcoes sao guardadas em cookies no seu browser",
	step1Html: "<input type='hidden' name='markList'></input><br><input type='checkbox' checked='false' name='chkUnknown'>Mostra opcoes desconhecidas</input>",
	unknownDescription: "//(desconhecido)//",
	listViewTemplate: {
		columns: [
			{name: 'Option', field: 'option', title: "Opcao", type: 'String'},
			{name: 'Description', field: 'description', title: "Descricao", type: 'WikiText'},
			{name: 'Name', field: 'name', title: "Nome", type: 'String'}
			],
		rowClasses: [
			{className: 'lowlight', field: 'lowlight'} 
			]}
	});

merge(config.macros.plugins,{
	wizardTitle: "Gerir plugins",
	step1Title: "Plugins carregados",
	step1Html: "<input type='hidden' name='markList'></input>", // DO NOT TRANSLATE
	skippedText: "(Este plugin nao foi executado porque foi incluido depois do arranque)",
	noPluginText: "Nao ha plugins instalados",
	confirmDeleteText: "Tem a a certeza que quer eliminar estes plugins:\n\n%0",
	removeLabel: "remover a etiqueta systemConfig",
	removePrompt: "Remove a etiqueta systemConfig",
	deleteLabel: "eliminar",
	deletePrompt: "Elimina estes tiddlers para sempre",
	listViewTemplate: {
		columns: [
			{name: 'Selected', field: 'Selected', rowName: 'title', type: 'Selector'},
			{name: 'Tiddler', field: 'tiddler', title: "Tiddler", type: 'Tiddler'},
			{name: 'Description', field: 'Description', title: "Descricao", type: 'String'},
			{name: 'Version', field: 'Version', title: "Versao", type: 'String'}, 
			{name: 'Size', field: 'size', tiddlerLink: 'size', title: "Tamanho", type: 'Size'},
			{name: 'Forced', field: 'forced', title: "Forcado", tag: 'systemConfigForce', type: 'TagCheckbox'},
			{name: 'Disabled', field: 'disabled', title: "Desactivado", tag: 'systemConfigDisable', type: 'TagCheckbox'},
			{name: 'Executed', field: 'executed', title: "Carregado", type: 'Boolean', trueText: "Sim", falseText: "Nao"},
			{name: 'Startup Time', field: 'startupTime', title: "Tempo de arranque", type: 'String'},
			{name: 'Error', field: 'error', title: "Estado", type: 'Boolean', trueText: "Erro", falseText: "OK"},
			{name: 'Log', field: 'log', title: "Registo", type: 'StringList'}
			],
		rowClasses: [
			{className: 'error', field: 'error'},
			{className: 'warning', field: 'warning'}
            ]}, 
	listViewTemplateReadOnly: { 
		columns: [ 
			{name: 'Tiddler', field: 'tiddler', title: "Tiddler", type: 'Tiddler'}, 
			{name: 'Description', field: 'Description', title: "Descricao", type: 'String'}, 
			{name: 'Version', field: 'Version', title: "Versao", type: 'String'}, 
			{name: 'Size', field: 'size', tiddlerLink: 'size', title: "Tamanho", type: 'Size'}, 
			{name: 'Executed', field: 'executed', title: "Carregado", type: 'Boolean', trueText: "Sim", falseText: "Nao"}, 
			{name: 'Startup Time', field: 'startupTime', title: "Tempo de inicializacao", type: 'String'}, 
			{name: 'Error', field: 'error', title: "Estado", type: 'Boolean', trueText: "Erro", falseText: "OK"}, 
			{name: 'Log', field: 'log', title: "Registo", type: 'StringList'} 
			], 
		rowClasses: [ 
			{className: 'error', field: 'error'}, 
			{className: 'warning', field: 'warning'}
			]}
	});

merge(config.macros.toolbar,{
	moreLabel: "mais",
	morePrompt: "Mostra comandos adicionais",
	lessLabel: "menos",
	lessPrompt: "Esconde comandos adicionais",
	separator: "|"
	});

merge(config.macros.refreshDisplay,{
	label: "refresca",
	prompt: "Refresca a apresentacao de todo o TiddlyWiki"
	});

merge(config.macros.importTiddlers,{
	readOnlyWarning: "Nao pode importar para um ficheiro TiddlyWiki so de leitura. Tente abrir a partir de um URL do tipo file://",
	wizardTitle: "Importar tiddlers de outro ficheiro TiddlyWiki ou servidor",
	step1Title: "Passo 1: Localize o servidor ou o ficheiro TiddlyWiki",
	step1Html: "Especifique o tipo de servidor: <select name='selTypes'><option value=''>Escolha...</option></select><br>Escreva o URL ou o caminho aqui: <input type='text' size=50 name='txtPath'><br>...ou procure um ficheiro: <input type='file' size=50 name='txtBrowse'><br><hr>...ou selecione uma localizacao pre-definida: <select name='selFeeds'><option value=''>Escolha...</option></select>",
	openLabel: "abrir",
	openPrompt: "Abre a ligacao a este ficheiro ou servidor",
	statusOpenHost: "Abrindo o anfitriao",
	statusGetWorkspaceList: "Obtendo a lista de espacos de trabalho dispone&shy;veis",
	step2Title: "Passo 2: Escolha o espaco de trabalho",
	step2Html: "Escreva o nome de um espaco de trabalho: <input type='text' size=50 name='txtWorkspace'><br>...or selecione um espaco de trabalho: <select name='selWorkspace'><option value=''>Escolha...</option></select>",
	cancelLabel: "cancelar",
	cancelPrompt: "Cancela esta importacao",
	statusOpenWorkspace: "Abrindo o espaco de trabalho",
	statusGetTiddlerList: "Obtendo a lista de tiddlers dispone&shy;veis",
	errorGettingTiddlerList: "Erro ao transferir a lista de tiddlers, clique em Cancelar para tentar novamente",
	step3Title: "Passo 3: Escolha os tiddlers para importar",
	step3Html: "<input type='hidden' name='markList'></input><br><input type='checkbox' checked='true' name='chkSync'>Manter estes tiddlers ligados a este servidor para poder sincronizar mudancas subsequentes</input><br><input type='checkbox' name='chkSave'>Guardar os detalhes deste servidor num tiddler 'systemServer' chamado:</input> <input type='text' size=25 name='txtSaveTiddler'>",
	importLabel: "importar",
	importPrompt: "Importa estes tiddlers",
	confirmOverwriteText: "Tem a certeza que quer substituir estes tiddlers:\n\n%0",
	step4Title: "Passo 4: Importando %0 tiddler(s)",
	step4Html: "<input type='hidden' name='markReport'></input>", // DO NOT TRANSLATE
	doneLabel: "fechar",
	donePrompt: "Fecha este assistente",
	statusDoingImport: "Importando tiddlers",
	statusDoneImport: "Todos os tiddlers importados",
	systemServerNamePattern: "%2 de %1",
	systemServerNamePatternNoWorkspace: "%1",
	confirmOverwriteSaveTiddler: "O tiddler '%0' ja existe. Clique 'OK' para o substituir pelos detalhes deste servidor, ou 'Cancel' para manter sem alteracoes",
	serverSaveTemplate: "|''Tipo:''|%0|\n|''URL:''|%1|\n|''Espaco de trabalho:''|%2|\n\nEste tiddler foi criado automaticamente para registar os detalhes deste servidor",
	serverSaveModifier: "(Sistema)",
	listViewTemplate: {
		columns: [
			{name: 'Selected', field: 'Selected', rowName: 'title', type: 'Selector'},
			{name: 'Tiddler', field: 'tiddler', title: "Tiddler", type: 'Tiddler'},
			{name: 'Size', field: 'size', tiddlerLink: 'size', title: "Tamanho", type: 'Size'},
			{name: 'Tags', field: 'tags', title: "Etiquetas", type: 'Tags'}
			],
		rowClasses: [
			]}
	});

merge(config.macros.upgrade,{
	wizardTitle: "Actualizacao do codigo central do TiddlyWiki",
	step1Title: "Actualize ou repare este TiddlyWiki para a versao mais recente",
	step1Html: "Vai proceder com a actualizacao para o codigo central do TiddlyWiki mais recente (a partir de <a href='%0' class='externalLink' target='_blank'>%1</a>). O seu conteudo sera preservado pela actualizacao.<br><br>Note que as actualizacoes do codigo central podem interferir com plugins antigos. Se tiver problemas com o ficheiro actualizado, veja <a href='http://www.tiddlywiki.org/wiki/CoreUpgrades' class='externalLink' target='_blank'>http://www.tiddlywiki.org/wiki/CoreUpgrades</a>",
	errorCantUpgrade: "Nao e posse&shy;vel actualizar este TiddlyWiki.  So sao posse&shy;veis as actualizacoes de ficheiros TiddlyWiki guardados localmente",
	errorNotSaved: "e‰ necessario guardar modificacoes antes de actualizar",
	step2Title: "Confirme os detalhes da actualizacao",
	step2Html_downgrade: "Vai regredir para a versao %0 do TiddlyWiki a partir da versao %1.<br><br>Regredir para uma versao anterior do codigo central nao e recomendado",
	step2Html_restore: "Parece que este TiddlyWiki ja usa a ultima versao do codigo central (%0).<br><br>Pode continuar a actualizacao para garantir que o codigo central nao foi corrompido ou danificado",
	step2Html_upgrade: "Vai actualizar o TiddlyWiki da versao %1 para a versao %0",
	upgradeLabel: "actualizar",
	upgradePrompt: "Prepare-se para o processo de actualizacao",
	statusPreparingBackup: "A preparar copia de seguranca",
	statusSavingBackup: "A guardar copia de seguranca",
	errorSavingBackup: "Ocorreu um problema ao guardar a copia de seguranca",
	statusLoadingCore: "A transferir o codigo central",
	errorLoadingCore: "Erro ao transferir o codigo central",
	errorCoreFormat: "Erro com o novo codigo central",
	statusSavingCore: "A guardar o novo codigo central",
	statusReloadingCore: "A recarregar o novo codigo central",
	startLabel: "iniciar",
	startPrompt: "Inicie a actualizacao",
	cancelLabel: "cancelar",
	cancelPrompt: "Cancele a actualizacao",
	step3Title: "Actualizacao cancelada",
	step3Html: "A actualizacao foi cancelada"
	});

merge(config.macros.sync,{
	listViewTemplate: {
		columns: [
			{name: 'Selected', field: 'selected', rowName: 'title', type: 'Selector'},
			{name: 'Tiddler', field: 'tiddler', title: "Tiddler", type: 'Tiddler'},
			{name: 'Server Type', field: 'serverType', title: "Tipo de servidor", type: 'String'},
			{name: 'Server Host', field: 'serverHost', title: "Anfitriao do servidor", type: 'String'},
			{name: 'Server Workspace', field: 'serverWorkspace', title: "Espaco de trabalho do servidor", type: 'String'},
			{name: 'Status', field: 'status', title: "Estado da sincronizacao", type: 'String'},
			{name: 'Server URL', field: 'serverUrl', title: "URL do servidor", text: "Ver", type: 'Link'}
			],
		rowClasses: [
			],
		buttons: [
			{caption: "Sincroniza este tiddlers", name: 'sync'}
			]},
	wizardTitle: "Sincronizar com ficheiros ou servidores externos",
	step1Title: "Escolha os tiddlers que quer sincronizar",
	step1Html: "<input type='hidden' name='markList'></input>", // DO NOT TRANSLATE
	syncLabel: "sincronizar",
	syncPrompt: "Sincroniza este tiddlers",
	hasChanged: "Alterado enquanto desligado",
	hasNotChanged: "Sem alteracoes enquanto desligado",
	syncStatusList: {
		none: {text: "...", display:'none', className:'notChanged'},
		changedServer: {text: "Alterado no servidor", display:null, className:'changedServer'},
		changedLocally: {text: "Alterado enquanto desligado", display:null, className:'changedLocally'},
		changedBoth: {text: "Alterado enquanto desligado e no servidor",  display:null, className:'changedBoth'},
		notFound: {text: "Nao encontrado no servidor", display:null, className:'notFound'},
		putToServer: {text: "Actualizado no servidor", display:null, className:'putToServer'},
		gotFromServer: {text: "Obtida actualizacao do servidor", display:null, className:'gotFromServer'}
		}
	});

merge(config.macros.annotations,{
	});

merge(config.commands.closeTiddler,{
	text: "fechar",
	tooltip: "Fecha este tiddler"});

merge(config.commands.closeOthers,{
	text: "isolar",
	tooltip: "Fecha todos os outros tiddlers"});

merge(config.commands.editTiddler,{
	text: "editar",
	tooltip: "Edita este tiddler",
	readOnlyText: "ver",
	readOnlyTooltip: "Ver o conteudo deste tiddler"});

merge(config.commands.saveTiddler,{
	text: "guardar",
	tooltip: "Guarda as alteracoes a este tiddler"});

merge(config.commands.cancelTiddler,{
	text: "cancelar",
	tooltip: "Cancela as alteracoes a este tiddler",
	warning: "Tem a certeza que quer cancelar as alteracoes a '%0'?",
	readOnlyText: "voltar",
	readOnlyTooltip: "Ver este tiddler normalmente"});

merge(config.commands.deleteTiddler,{
	text: "eliminar",
	tooltip: "Elimina este tiddler",
	warning: "Tem a certeza que quer eliminar '%0'?"});

merge(config.commands.permalink,{
	text: "permaligacao",
	tooltip: "Permaligacao para este tiddler"});

merge(config.commands.references,{
	text: "referencias",
	tooltip: "Mostra tiddlers que ligam a este",
	popupNone: "Sem referencias"});

merge(config.commands.jump,{
	text: "saltar",
	tooltip: "Salta para outro tiddler aberto"});

merge(config.commands.syncing,{
	text: "sinc",
	tooltip: "Controla sincronizacao deste tiddler com um servidor ou ficheiro externo",
	currentlySyncing: "<div>Sincronizando via <span class='popupHighlight'>'%0'</span> para:</"+"div><div>anfitriao: <span class='popupHighlight'>%1</span></"+"div><div>espaco de trabalho: <span class='popupHighlight'>%2</span></"+"div>", // Note escaping of closing <div> tag
	notCurrentlySyncing: "Sem sincronizacao",
	captionUnSync: "Parar sincronizacao deste tiddler",
	chooseServer: "Sincronizar este tiddler com outro servidor:",
	currServerMarker: "\u25cf ",
	notCurrServerMarker: "  "});

merge(config.commands.fields,{
	text: "campos",
	tooltip: "Mostra os campos estendidos deste tiddler",
	emptyText: "Este tiddler nao tem campos estendidos",
	listViewTemplate: {
		columns: [
			{name: 'Field', field: 'field', title: "Campo", type: 'String'},
			{name: 'Value', field: 'value', title: "Valor", type: 'String'}
			],
		rowClasses: [
			],
		buttons: [
			]}});

merge(config.shadowTiddlers,{
	DefaultTiddlers: "[[ComoIniciar]]",
	MainMenu: "[[ComoIniciar]]",
	ComoIniciar: "Para comecar a usar este TiddlyWiki vazio tera de modificar os seguintes tiddlers:\n* SiteTitle & SiteSubtitle: O te&shy;tulo e o subte&shy;tulo do site, como pode ver acima (depois de guardar as alteracoes, eles aparecerao tambem na barra de te&shy;tulo do browser)\n* MainMenu: O menu (usualmente e&nbsp; esquerda)\n* DefaultTiddlers: Contem o nome dos tiddlers que pretende que aparecam quando o TiddlyWiki e aberto\nSera tambem necessario inserir o nome de utilizador que servira para assinar as edicoes: <<option txtUserName>>",
	SiteTitle: "O meu TiddlyWiki",
	SiteSubtitle: "um bloco de notas reutilizavel e nao-linear na web",
	SiteUrl: "",
	SideBarOptions: '<<search>><<closeAll>><<permaview>><<newTiddler>><<newJournal "DD MMM YYYY">><<saveChanges>><<slider chkSliderOptionsPanel OptionsPanel "opcoes \u00bb" "Muda as opcoes avancadas do TiddlyWiki">>',
	OptionsPanel: "Estas opcoes de personalizacao do TiddlyWiki ficam guardadas no seu browser\n\nO seu nome de utilizador para assinar os textos. Use uma PalavraWiki (eg, JoseSilva)\n\n<<option txtUserName>>\n<<option chkSaveBackups>> GuardarSalvaguardas\n<<option chkAutoSave>> AutoGuardar\n<<option chkRegExpSearch>> ProcuraExpReg\n<<option chkCaseSensitiveSearch>> ProcuraSense&shy;vMaiusc\n<<option chkAnimate>> ActivarAnimacoes\n\n----\nVeja as [[OpcoesAvancadas|AdvancedOptions]]",
	SideBarTabs: '<<tabs txtMainTab "Data" "Tiddlers por ordem cronologica" TabTimeline "Te&shy;tulo" "Tiddlers por ordem alfabetica" TabAll "Etiquetas" "Todas as etiquetas" TabTags "Mais" "Mais listas" TabMore>>',
	TabMore: '<<tabs txtMoreTab "Em falta" "Tiddlers em falta" TabMoreMissing "e“rfaos" "Tiddlers sem ligacoes de outros tiddlers" TabMoreOrphans "Sombra" "Tiddlers na sombra" TabMoreShadowed>>',
	ToolbarCommands: "|~ViewToolbar|closeTiddler closeOthers +editTiddler > fields syncing permalink references jump|\n|~EditToolbar|+saveTiddler -cancelTiddler deleteTiddler|"});

merge(config.annotations,{
	AdvancedOptions: "Este tiddler sombra da acesso a varias opcoes avancadas",
	ColorPalette: "Estes valores neste tiddler sombra determinam o esquema de cores do interface de utilizador do ~TiddlyWiki",
	DefaultTiddlers: "Os tiddlers listados neste tiddler sombra serao automaticamente abertos no arranque do ~TiddlyWiki",
	EditTemplate: "O modelo em HTML neste tiddler sombra determina o aspecto dos tiddlers enquanto sao editados",
	ComoIniciar: "Este tiddler sombra fornece algumas instrucoes basicas de utilizacao",
	ImportTiddlers: "Este tiddler sombra da acesso e&nbsp; importacao de tiddlers",
	MainMenu: "Este tiddler sombra e usado como conteudo do menu principal na coluna da esquerda do ecran",
	MarkupPreHead: "Este tiddler e inserido no topo da seccao <head> do ficheiro TiddlyWiki",
	MarkupPostHead: "Este tiddler e inserido no fundo da seccao <head> do ficheiro TiddlyWiki",
	MarkupPreBody: "Este tiddler e inserido no topo da seccao <body> do ficheiro TiddlyWiki",
	MarkupPostBody: "Este tiddler e inserido no fim da seccao <head> do ficheiro TiddlyWiki immediatamente apos o bloco <script>",
	OptionsPanel: "Este tiddler sombra e usado como conteudo do painel deslizante de opcoes na barra lateral da direita",
	PageTemplate: "O modelo em HTML neste tiddler sombra determina o aspecto geral do ~TiddlyWiki",
	PluginManager: "Este tiddler sombra da acesso ao gestor de plugins",
	SideBarOptions: "Este tiddler sombra e usado como conteudo do painel de opcoes na barra lateral da direita",
	SideBarTabs: "Este tiddler sombra e usado como conteudo do painel de abas na barra lateral da direita",
	SiteSubtitle: "Este tiddler sombra e usado como a segunda parte do te&shy;tulo da pagina",
	SiteTitle: "Este tiddler sombra e usado como a primeira parte do te&shy;tulo da pagina",
	SiteUrl: "Este tiddler sombra deve conter o URL completo para publicacao",
	StyleSheetColors: "Este tiddler sombra contem definicoes CSS relacionadas com a cor dos elementos da pagina. ''NeÆ’O EDITE ESTE TIDDLER'', em vez disso faca as suas alteracoes no tiddler sombra StyleSheet",
	StyleSheet: "Este tiddler pode conter definicoes CSS do utilizador",
	StyleSheetLayout: "Este tiddler sombra contem definicoes CSS relacionadas com a disposicao dos elementos da pagina. ''NeÆ’O EDITE ESTE TIDDLER'', em vez disso faca as suas alteracoes no tiddler sombra StyleSheet",
	StyleSheetLocale: "Este tiddler sombra contem definicoes CSS relacionadas com traducoes",
	StyleSheetPrint: "Este tiddler sombra contem definicoes CSS relacionadas com a impressao",
	SystemSettings: "Este tiddler e usado para guardar opcoes de configuracao deste documento ~TiddlyWiki",
	TabAll: "Este tiddler sombra define o conteudo da aba 'Te&shy;tulo' na barra lateral da direita",
	TabMore: "Este tiddler sombra define o conteudo da aba 'Mais' na barra lateral da direita",
	TabMoreMissing: "Este tiddler sombra define o conteudo da aba 'Em falta' na barra lateral da direita",
	TabMoreOrphans: "Este tiddler sombra define o conteudo da aba 'e“rfaos' na barra lateral da direita",
	TabMoreShadowed: "Este tiddler sombra define o conteudo da aba 'Sombra' na barra lateral da direita",
	TabTags: "Este tiddler sombra define o conteudo da aba 'Etiquetas' na barra lateral da direita",
	TabTimeline: "Este tiddler sombra define o conteudo da aba 'Data' na barra lateral da direita",
	ToolbarCommands: "Este tiddler sombra determina quais os comandos que aparecem na barra de ferramentas dos tiddlers",
	ViewTemplate: "O modelo em HTML neste tiddler sombra determina o aspecto dos tiddlers"
	});

delete config.shadowTiddlers.GettingStarted;
/*}}}*/
<script src="dir.php?path=Programas"></script>
<script>
sessionStorage.pdfdisplay="closed";
var lista="";
    var xmlHttp = null;
    xmlHttp = new XMLHttpRequest();
    var discFile="Programas/lista.txt";
    xmlHttp.open( "GET",discFile, false);
    xmlHttp.send( null );
    var indexLista=xmlHttp.responseText;
if(xmlHttp.status!=200){indexLista="empty";}
//return indexLista+"<br>no="+xmlHttp.status;
var tids=indexLista.split("|");
tids=tids.sort();
//return "length= "+tids.length;
for(i=1;i<tids.length;i++){
if(tids[i]!="lista.txt"){
var thisItem=tids[i].replace(".pdf","");
lista+='<script label="'+thisItem+'">sessionStorage.item="'+thisItem+'";sessionStorage.dir="Programas";sessionStorage.tipo="pdf";if(sessionStorage.pdfdisplay=="closed"){displayTiddler(true,"PDFDisplay");}if(sessionStorage.pdfdisplay=="open"){story.refreshTiddler("PDFDisplay", null,true);}sessionStorage.pdfdisplay="open";</scr'+'ipt><br>';
}
}
return lista;
</script>
{{small{<script>
lista="";
    var xmlHttp = null;
    xmlHttp = new XMLHttpRequest();
    var discFile="Cursos/"+localStorage.curso+"/"+localStorage.username+"/atividade.txt";
//return discFile;
    xmlHttp.open( "GET",discFile, false);
    xmlHttp.send( null );
    var indexLista=xmlHttp.responseText;
//return indexLista;
var listingTarefas=indexLista.split("#");
for(s=0;s<listingTarefas.length-1;s++){
lista+="|"+listingTarefas[s]+"|\n";
}
return lista;
</script>}}}
<script>
/// e a lista das tarefas

    var xmlHttp = null;
    xmlHttp = new XMLHttpRequest();
    var discFile="Tarefas/ListaTarefas.txt";
//return discFile;
    xmlHttp.open( "GET",discFile, false);
    xmlHttp.send( null );
    var indexLista=xmlHttp.responseText;
var listingTarefas=indexLista.split("#");
var tarefaNo=listingTarefas.length;
//return "tarefas="+tarefaNo;
var tarefas=new Array(tarefaNo);

for(s=1;s<tarefaNo;s++){
var dets=listingTarefas[s].split("&");
tarefas[s]=dets[1];
}




var alunosLista="";
    var xmlHttp = null;
    xmlHttp = new XMLHttpRequest();
    var discFile="AlunoRegistro.txt";
//return discFile;
    xmlHttp.open( "GET",discFile, false);
    xmlHttp.send( null );
    var indexLista=xmlHttp.responseText;
var alunos=indexLista.split("#");
alunos=alunos.sort();

// create array of alunos

var progressoClasse=new Array(alunos.length);

                                  var totais=new Array(alunos.length);

for(e=1;e<alunos.length;e++)
{
totais[e]=0;

var dets=alunos[e].split("|");
alunosLista+=dets[2]+"#<br>";

// and an array of tarefas for each student

progressoClasse[e]=new Array(tarefaNo);
progressoClasse[e][0]=dets[2];
//return "e="+e+progressoClasse[e][0];

// get progress data for aluno e

  var xmlHttp = null;
    xmlHttp = new XMLHttpRequest();
    var discFile="Cursos/"+dets[4]+"/"+dets[2]+"/progresso.txt";
//return discFile;
    xmlHttp.open( "GET",discFile, false);
    xmlHttp.send( null );
    var indexLista=xmlHttp.responseText;
var pontos=indexLista.split("|");
for(j=1;j<tarefaNo;j++){
progressoClasse[e][j]=pontos[j];
         
                  // return "total="+totais[e];

              //     if(pontos[j]>0){return "e="+e+"total ate agora="+Number(totais[e]+pontos[j])+"e agora achei pontos de "+pontos[j];}

totais[e]=Number(totais[e])+Number(pontos[j]);
}
/// for all alunos e
}

// put tarefa description as aluno zero.
progressoClasse[0]=new Array(tarefaNo);
for(y=1;y<tarefaNo;y++){
progressoClasse[0][y]=tarefas[y];
}
progressoClasse[0][0]="tarefa/aluno";



var output="";
//var totais=new Array(alunos.length);
for(k=0;k<tarefaNo;k++){
output+="|";
for(l=0;l<alunos.length;l++){
output+=progressoClasse[l][k]+"|";

}
output+="|\n";

}



output+="|";
for(t=1;t<alunos.length;t++){
output+="|"+totais[t];
}
output+="|\n";

return output;
</script>
{{right{<<showPopup tiddler:Projetos##Texto label:TextoNovo width:500px popupClass:sticky>> . <<showPopup tiddler:Projetos##PDF label:UploadPDF width:500px popupClass:sticky>>}}}
Um parte essencial do curso, é seu projeto pratico. Mostrando o eixo central da Permacultura, o planejamento. Projetos podem tomar varias formas, paisagistas, organizacional, criação cursos ou apresentações...... Projetos podem ser individual ou em consorcio com colegas na mesma escola ou comunidade.
Aqui buscamos arrumar os documentos que voce produzira em suporte seu projeto.

__Doc Existentes__
<script>
var lista="";
    var xmlHttp = null;
    xmlHttp = new XMLHttpRequest();
    var discFile="Cursos/"+localStorage.curso+"/"+localStorage.username+"/Projeto/lista.txt";
    xmlHttp.open( "GET",discFile, false);
    xmlHttp.send( null );
    var indexLista=xmlHttp.responseText;
if(xmlHttp.status!=200){indexLista="empty";}
//return indexLista+"no="+xmlHttp.status;
var tids=indexLista.split("#");
for(i=0;i<tids.length-1;i++){
var dets=tids[i].split("|");
dets[3]=dets[3].replace(".pdf","");
var link="";
if(dets[3]){link='<script label="'+dets[3]+'">sessionStorage.item="'+dets[3]+'";sessionStorage.dir="Cursos/'+localStorage.curso+'/'+localStorage.username+'/Projeto";sessionStorage.tipo="pdf";if(sessionStorage.pdfdisplay=="closed"){displayTiddler(true,"PDFDisplay");}if(sessionStorage.pdfdisplay=="open"){story.refreshTiddler("PDFDisplay", null,true);}sessionStorage.pdfdisplay="open";</scri'+'pt>';}
lista+='__'+dets[1]+'__ ( '+dets[0]+')' +dets[2]+' - '+link+'<br>';
}
return lista;
</script>



/%
!!PDF
<html><nowiki><form enctype="multipart/form-data" action="http://www.unigaia-brasil.org/escolasResilientes/uploadFile.php" method="POST" target=responseframe>
<input type="text" name = "titulo" value="" style="width:200px;">Titulo Simples (sem espacos e sem acentos)<br>
<textarea name="comment" rows="6" cols="48" style="width:400px;"></textarea><br>Breve Descrição (opcional)<br>
<input type=hidden name="username">
<input type=hidden name="escola">
<input type=hidden name="curso">
<input type=hidden name="when">
<input type="file" name="fileToUpload" id="fileToUpload" style="width:200px;"><br>
<input type="submit" value="submit" onclick='
'><br></form><iframe src="" name="responseframe" id="responseframe" marginheight=0     style="display:block;border:0;padding:0;margin:0;width:100%;height:4em;"></iframe></html><script>var form=place.lastChild.getElementsByTagName('form')[0];
form.username.value=localStorage.username;
form.escola.value=localStorage.escola;
form.curso.value=localStorage.curso;
var date=new Date();
form.when.value=date.formatString("YYYY-MM-DD");
</script>

!! Texto
<html><nowiki><form action="addProjetoTexto.php" method="POST" target=responseframe>
<input type="text" name = "titulo" value="" style="width:200px;">Titulo Simples (sem espacos e sem acentos)<br>
<textarea name="comment" rows="18" cols="48" style="width:400px;"></textarea><br>Descrição<br>
<input type=hidden name="username">
<input type=hidden name="escola">
<input type=hidden name="curso">
<input type=hidden name="when">
<input type="submit" value="submit" onclick=''>
</form><iframe src="" name="responseframe" id="responseframe" marginheight=0     style="display:block;border:0;padding:0;margin:0;width:100%;height:4em;"></iframe></html><script>var form=place.lastChild.getElementsByTagName('form')[0];
form.username.value=localStorage.username;
form.escola.value=localStorage.escola;
form.curso.value=localStorage.curso;
var date=new Date();
form.when.value=date.formatString("YYYY-MM-DD");
</script>

!!end
%/
{{center{{{medium{__Bookmarklets Recentes__}}}}}}
<script>
var lista="";
    var xmlHttp = null;
    xmlHttp = new XMLHttpRequest();
    var discFile="Cursos/"+localStorage.curso+"/blog.txt";
    xmlHttp.open( "GET",discFile, false);
    xmlHttp.send( null );
    var indexLista=xmlHttp.responseText;

if(xmlHttp.status!=200){indexLista="empty";}
//return indexLista+"no="+xmlHttp.status;
var tids=indexLista.split("#");
for(i=0;i<tids.length;i++){
var dets=tids[i].split("|");
if(dets[2]=="html" || dets[2]=="HTML"){lista+='<script label="'+dets[0]+'">window.open("'+dets[10]+'","Skye","width=1000,height=700",true);</scr'+'ipt> -  ('+dets[8]+', no: '+dets[7]+' )<br>';}

if(dets[2]=="Youtube"){lista+='<script label="'+dets[0]+'">displayTiddler(true,"Duas");sessionStorage.oneMenu="Youtube";sessionStorage.item="'+dets[10]+'";config.refreshers.content(document.getElementById("oneMenu"));</scr'+'ipt>'+dets[5]+" ("+dets[8]+", no: "+dets[7]+" )<br>";}
}

return lista;
</script>
{{medium{Hummm! Mas aparece voçe ainda não faz seu registro com esse sistema. Porfavor fazer seu login, e re-abrir as materiais de interesse! Grato}}}
<<tiddler Login>>
{{floatright{{{imageThird{[img(300px,auto)[$1]]}}}}}}
{{floatright{{{imageThird{[img(300px,auto)[$1]]
[img(300px,auto)[$2]]}}}}}}
{{floatright{{{imageThird{[img(300px,auto)[$1]]
[img(300px,auto)[$2]]
[img(300px,auto)[$3]]}}}}}}
{{floatright{{{imageHalf{[img(500px,auto)[$1]]}}}}}}
/***
|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"));
			}
		}
	}
};
//}}}
/***
|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;
	}
}
//}}}
{{center{<<wikify {{sessionStorage.slide}}>>}}}
/%
!!Proxima
{{apresenta{<script label="proxima">
var slideNo=parseInt(sessionStorage.slideNo)+1;
//return "slideno="+slideNo;
var slideLista=sessionStorage.ShowTime;
//return "="+slideLista;
var slides=slideLista.split("#");
sessionStorage.slide=slides[slideNo];
//return sessionStorage.slide;
sessionStorage.slideNo=slideNo;
config.refreshers.content(document.getElementById("showtimeMenu"))
</script>}}}
!!Anterior
!!Previa
{{apresenta{<script label="previa">
var slideNo=parseInt(sessionStorage.slideNo)-1;
//return "slideno="+slideNo;
var slideLista=sessionStorage.ShowTime;
//return "="+slideLista;
var slides=slideLista.split("#");
sessionStorage.slide=slides[slideNo];
//return sessionStorage.slide;
sessionStorage.slideNo=slideNo;
config.refreshers.content(document.getElementById("showtimeMenu"))
</script>}}}
!!Final
{{apresenta{<script label="final">
var slideLista=sessionStorage.ShowTime;
var slides=slideLista.split("#");
var slideNo=slides.length-2;
sessionStorage.slide=slides[slideNo];
sessionStorage.slideNo=slideNo;
config.refreshers.content(document.getElementById("showtimeMenu"))
</script>}}}
!!Inicial
{{apresenta{<script label="inicial">
var slideLista=sessionStorage.ShowTime;
var slides=slideLista.split("#");
var slideNo=0;
sessionStorage.slide=slides[slideNo];
sessionStorage.slideNo=slideNo;
config.refreshers.content(document.getElementById("showtimeMenu"))
</script>}}}
!!end
%/
<<search>><<closeAll>><<permaview>><<newTiddler>><<newJournal "DD MMM YYYY" "journal">><<saveChanges>><<slider chkSliderOptionsPanel OptionsPanel "options »" "Change TiddlyWiki advanced options">>
{{fourcolumns{<<tiddler SideBarTabs>>}}}
/***
|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 = 2000;
  
  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.nn";
				msg+="Press OK to save and close this tiddlernor 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;
}
//}}}
<<wikify {{'<script src="AtividadeAcontecendo.php?Username='+localStorage.username+'&Tema=Abrinda_Pagina&Atividade=Abrindo Pagina&Curso='+localStorage.curso+'"></scr'+'ipt>'}}>><script>

displayTiddler(true,"StartPage");

</script>
StartPage
    <<wikify {{'<script src="AtividadeAcontecendo.php?Username='+localStorage.username+'&Tema=Entrou&Atividade=ConseguiAbrir&Curso='+localStorage.curso+'"></scr'+'ipt>'}}>>

<script>sessionStorage.chatItems="0";sessionStorage.leftMenu="Main";sessionStorage.mainHead="Main";sessionStorage.oneMenu="start";sessionStorage.twoMenu="start";config.refreshers.content(document.getElementById("leftMenu"));config.refreshers.content(document.getElementById("mainHead"));config.refreshers.content(document.getElementById("oneMenu"));config.refreshers.content(document.getElementById("twoMenu"));</script>

<script>if(localStorage.username=="Skye"){return 'style="font:red";'}</script>
<script>
// $1 comes from selecting list of available shows from the ShowTime directory
var lista="";
    var xmlHttp = null;
    xmlHttp = new XMLHttpRequest();
    var discFile="ShowTime/$1.txt";
//return discFile;
    xmlHttp.open( "GET",discFile, false);
    xmlHttp.send( null );
sessionStorage.ShowTime= xmlHttp.responseText;
var slideLista=sessionStorage.ShowTime;
//return slideLista;
var slides=slideLista.split("#");
sessionStorage.slide=slides[0];
sessionStorage.slideNo="0";
//return "slide no. "+sessionStorage.slideNo+"and name is "+sessionStorage.slide;
config.refreshers.content(document.getElementById("showtimeMenu"))
</script>
/***
|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 { background:-moz-linear-gradient(top,  aliceblue,  grey);font-family: Helvetica;color:black;}

#contentWrapper a:link, a:visited, a:active {text-decoration: bold; color:#a29421; background-color: transparent; }
#contentWrapper a:hover {text-decoration: none; color: [[ColorT1]]; background-color: [[ColorB1]]; }
#contentWrapper .button {background-color: transparent; border-color: [[ColorS2]]; border-width: 0px;}
#contentWrapper .button:hover {background-color: [[ColorB1]]; border-width: 0px;}
#contentWrapper {border:0; margin:0 auto;background:-moz-linear-gradient(top,  aliceblue,  grey); width:1200px;background-image: url("../escolasResilientes/Images/tree-silhouette_smaller.png");background-repeat: no-repeat;}


#mainHead {position:relative;height:35px;left:170px;width:950px;z-index:10;background-color:transparent;}
#leftMenu {position:relative; left:-20px; width:150px; height:650px; top:-38px;background-color:azure;margin:5px 5px 5px 20px;border-style:solid;border-color:darkblue;border-width:1px 3px 3px 1px;border-radius: 20px;z-index:48;}
#rightMenu{position:relative; left:860px; width:300px; height:450px; top:-658px;background-color:transparent;margin:5px 5px 5px 20px;border-style:solid;border-color:brown;border-width:1px 3px 3px 1px;border-radius: 20px;z-index:15;opacity:0.5;}
#displayArea {position:relative; top:-672px; left:-20px;width:1030px;z-index:20;height:600px;z-index:2;}
.header { background-color: #edead5;  height: 50px;left:150px; top:-50px;}
.tiddlyLinkExisting .tiddlyLink {color:red;}
.externalLink {color:red;} 




.viewer {text-align: left; width: 100%; padding: 0.5em 20px 0em .5em;z-index:20;}
/*.viewer h1, h2, h3, h4 {color: [[ColorT1]]; background-color: transparent; font-weight: bold; font-style: italic; padding: 0em 0em 0em 0em; margin: 0em 0em 0em 0em; display: block;}
/*.viewer h1 {font-sytle: normal; font-variant: small-caps; background-color: [[ColorB1]];}
/*.viewer img {width: 95%; margin: 0em 20px 0em 20px;}
/*.title {font-weight: normal; color: [[ColorT3]]; display: inline; padding: 0.2em 1em 1em 0.25em; border-style: solid; border-width: 1px 0px 0px 1px; border-padding: 0em 0em 0em 0em; border-color: [[ColorT3]]; }*/
/*.subtitle {display: none; padding: 0em 0em 0em 3em; }*/
.editor {padding: 0.75em 0em 0em 2em; height: 550% ; line-height: 100%; }
.editor textarea {height: 40em; }

.title {font-size:10pt;font-weight:bold;}

.popup {background-color:azure; color:brown; width:auto; height:auto;border-style:solid;border-radius:1em;padding:5px 5px 5px 5px;}
.popup a:link {color:blue;font-weight:bold;border-width:0px;}
.popupInfo {background-color:beige; color:brown; width:auto; height:auto;border-style:solid;border-radius:1em;padding:5px 5px 5px 5px;}
.yellow {background-color:yellow; color:brown; width:auto; height:auto;border-style:solid;border-radius:0.1em;padding:1px 5px 5px 1px;}
.palegreen {background-color:palegreen; color:deepgreen; width:auto; height:auto;border-style:solid;border-radius:0.1em;padding:1px 5px 5px 1px;}
.sandybrown {background-color:sandybrown; color:beige; width:auto; height:auto;border-style:solid;border-radius:1em;padding:5px 5px 5px 5px;}
.orange {color:orange; width:auto; height:auto;border-style:none;border-radius:1em;padding:5px 5px 5px 5px;}
.brown {background-color:orange; color:blown; width:auto; height:auto;border-style:solid;border-radius:1em;padding:5px 5px 5px 5px;}
.black {color:black; width:auto; height:auto;border-style:none;border-radius:1em;padding:5px 5px 5px 5px;}

/* IE fix */
body {position:static;}
.tagClear{margin-top:1em;clear:both;}

#messageArea {background-color: [[ColorB1]]; position: absolute; top: 0; right: 0; }

#backstageButton a{background:none;color:transparent;}
#backstageButton a:link{background:none;color:transparent;}


.foto1{position:relative;top:0px;left:0px;width:600px;height:400px;border-width:1px 3px 3px 1px;border-radius: .1em;z-index:30;}
.foto2{position:relative;top:-450px;left:0px;width:600px;height:400px;border-width:1px 3px 3px 1px;border-radius: .1em;z-index:31;opacity:0.8;}
.foto3{position:relative;top:-900px;left:0px;width:600px;height:400px;border-width:1px 3px 3px 1px;border-radius: .1em;z-index:32;opacity:0.8;}

[[StyleSheetShortcuts]]
[[ProjectStyleSheet]]
/*{{{*/
* 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;}
/*}}}*/
/***
|Name|StyleSheetShortcuts|
|Source|http://www.TiddlyTools.com/#StyleSheetShortcuts|
|Version||
|Author|Eric Shulman - ELS Design Studios|
|License|http://www.TiddlyTools.com/#LegalStatements <br>and [[Creative Commons Attribution-ShareAlike 2.5 License|http://creativecommons.org/licenses/by-sa/2.5/]]|
|~CoreVersion|2.1|
|Type|CSS|
|Requires||
|Overrides||
|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;z-indez:2; }
.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; }
.vertical {-webkit-transform:rotate(270deg);-moz-transform:rotate(270deg);	-o-transform: rotate(270deg);}

/* font sizes */
.large
	{ font-size:18pt;line-height:120%;font-weight:bold; }
.big { font-size:14pt;line-height:110% }
.medium
	{ font-size:12pt;line-height:110% }
.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%; }
.blink {text-decoration:blink;}

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

.skye{color:red;}
.aline{color:green;}

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

/* 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:25%; /* FireFox */
	-webkit-column-count:4; -webkit-column-gap:1em; -webkit-column-width:25%; /* Safari */
	column-count:4; column-gap:1em; column-width:25%; /* Opera */
}

/* 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:5px; border:1px solid; background-color:beige; }
.outlineDiscuss
	{ display:block; padding:5px; border:1px solid; background-color:beige;width:300px;height:200px; }
.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:2px; border-style:solid;border-color:#996633;border-width:1px 3px 1px 3px;border-radius: 1em; background: -webkit-gradient(linear, left top, left bottom, from([[DashBoard::top]]), to([[DashBoard::button]])); background: -moz-linear-gradient(top,  [[DashBoard::top]],  [[DashBoard::button]]);color:#000; }

.bookmarklet{padding:2px; border-radius:.5em;-webkit-border-radius:.5em; border:1px solid; background-color:beige; }
.apresenta{padding:2px; border-radius:.5em;-webkit-border-radius:.5em; border:1px solid; background-color:bisque; }
.dropdown{padding:2px; border-radius:.5em;-webkit-border-radius:.5em; border:1px solid; background-color:azure; }
.materia{padding:2px; border-radius:.5em;-webkit-border-radius:.5em; border:1px solid; background-color:white; }
.openWindow{padding:2px; border-radius:.5em;-webkit-border-radius:.5em; border:1px solid; background-color:lightgrey; }
.tarefa{padding:2px; border-radius:.5em;-webkit-border-radius:.5em; border:1px solid; background-color:khaki; }
.book{padding:2px; border-radius:.5em;-webkit-border-radius:.5em; border:1px solid; background-color:lightyellow; }
.linkInterna{padding:2px; border-radius:.5em;-webkit-border-radius:.5em; border:1px solid; background-color:yellow; }
.imagem{display:block;padding:2px; border-radius:.5em;-webkit-border-radius:.5em; border:1px solid; background-color:transparent;width:400px; }
.imageHalf{display:block;padding:2px; border-radius:.5em;-webkit-border-radius:.5em; border:1px solid; background-color:transparent;width:500px; }
.imageThird{display:block;padding:2px; border-radius:.5em;-webkit-border-radius:.5em; border:1px solid; background-color:transparent;width:300px; }
.image200{display:block;padding:2px; border-radius:.5em;-webkit-border-radius:.5em; border:1px solid; background-color:transparent;width:200px; }
.blockMedium{display:block;padding:2px; border-radius:.5em;-webkit-border-radius:.5em; border:1px solid; background-color:lightyellow;width:300px; }
.JA{display:block;padding:5px; border-radius:.5em;-webkit-border-radius:.5em; border:1px solid; background-color:red; }

.groupbox a, .groupbox .button, .groupbox .tiddlyLinkExisting, .groupbox .tiddlyLinkNonExisting
	{ color:#009 !important; }
.groupbox code
	{ color:#333 !important; }
.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; }



/* 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 */
.green { color:#0c0 !important }
.red { color:#f66 !important }
.blue { color:#99f !important }
.gray { color:#999 !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; }

/*}}}*/

<<cloud excludeLists systemConfig recycle aulaX duas duasSkye etherpad android biofilia showtime tema title estudo Interna>>
/***
|Name|TagCloudPlugin|
|Source|http://www.TiddlyTools.com/#TagCloudPlugin|
|Version|1.7.0|
|Author|Eric Shulman|
|Original Author|Clint Checketts|
|License|http://www.TiddlyTools.com/#LegalStatements|
|~CoreVersion|2.1|
|Type|plugin|
|Description|present a 'cloud' of tags (or links) using proportional font display|
!Usage
<<<
{{{
<<cloud type action:... limit:... tag tag tag ...>>
<<cloud type action:... limit:... +TiddlerName>>
<<cloud type action:... limit:... -TiddlerName>>
<<cloud type action:... limit:... =tagvalue>>
}}}
where:
* //type// is a keyword, one of:
** ''tags'' (default) - displays a cloud of tags, based on frequency of use
** ''links'' - displays a cloud of tiddlers, based on number of links //from// each tiddler
** ''references'' - displays a cloud of tiddlers, based on number of links //to// each tiddler
* ''action:popup'' (default) - clicking a cloud item shows a popup with links to related tiddlers<br>//or//<br> ''action:goto'' - clicking a cloud item immediately opens the tiddler corresponding to that item
* ''limit:N'' (optional) - restricts the cloud display to only show the N most popular tags/links
* ''tag tag tag...'' (or ''title title title'' if ''links''/''references'' is used)<br>shows all tags/links in the document //except// for those listed as macro parameters
* ''+TiddlerName''<br>show only tags/links read from a space-separated, bracketed list stored in a separate tiddler.
* ''-TiddlerName''<br>show all tags/links //except// those read from a space-separated, bracketed list stored in a separate tiddler.
* ''=tagvalue'' (//only if type=''tags''//)<br>shows only tags that are themselves tagged with the indicated tag value (i.e., ~TagglyTagging usage)
//note: for backward-compatibility, you can also use the macro {{{<<tagCloud ...>>}}} in place of {{{<<cloud ...>>}}}//
<<<
!Examples
<<<
//all tags excluding<<tag systemConfig>>, <<tag excludeMissing>> and <<tag script>>//
{{{<<cloud systemConfig excludeMissing script>>}}}
{{groupbox{<<cloud systemConfig excludeMissing script>>}}}
//top 10 tags excluding<<tag systemConfig>>, <<tag excludeMissing>> and <<tag script>>//
{{{<<cloud limit:10 systemConfig excludeMissing script>>}}}
{{groupbox{<<cloud limit:10 systemConfig excludeMissing script>>}}}
//tags listed in// [[FavoriteTags]]
{{{<<cloud +FavoriteTags>>}}}
{{groupbox{<<cloud +FavoriteTags>>}}}
//tags NOT listed in// [[FavoriteTags]]
{{{<<cloud -FavoriteTags>>}}}
{{groupbox{<<cloud -FavoriteTags>>}}}
//links to tiddlers tagged with 'package'//
{{{<<cloud action:goto =package>>}}}
{{groupbox{<<cloud action:goto =package>>}}}
//top 20 most referenced tiddlers//
{{{<<cloud references limit:20>>}}}
{{groupbox{<<cloud references limit:20>>}}}
//top 20 tiddlers that contain the most links//
{{{<<cloud links limit:20>>}}}
{{groupbox{<<cloud links limit:20>>}}}
<<<
!Revisions
<<<
2009.07.17 [1.7.0] added {{{-TiddlerName}}} parameter to exclude tags that are listed in the indicated tiddler
2009.02.26 [1.6.0] added {{{action:...}}} parameter to apply popup vs. goto action when clicking cloud items
2009.02.05 [1.5.0] added ability to show links or back-links (references) instead of tags and renamed macro to {{{<<cloud>>}}} to reflect more generalized usage.
2008.12.16 [1.4.2] corrected group calculation to prevent 'group=0' error
2008.12.16 [1.4.1] revised tag filtering so excluded tags don't affect calculations
2008.12.15 [1.4.0] added {{{limit:...}}} parameter to restrict the number of tags displayed to the top N most popular
2008.11.15 [1.3.0] added {{{+TiddlerName}}} parameter to include only tags that are listed in the indicated tiddler
2008.09.05 [1.2.0] added '=tagname' parameter to include only tags that are themselves tagged with the specified value (i.e., ~TagglyTagging usage)
2008.07.03 [1.1.0] added 'segments' property to macro object.  Extensive code cleanup
<<<
!Code
***/
//{{{
version.extensions.TagCloudPlugin= {major: 1, minor: 7 , revision: 0, date: new Date(2009,7,17)};
//Originally created by Clint Checketts, contributions by Jonny Leroy and Eric Shulman
//Currently maintained and enhanced by Eric Shulman
//}}}
//{{{
config.macros.cloud = {
	tagstip: "%1 tiddlers tagged with '%0'",
	refslabel: " (%0 references)",
	refstip: "%1 tiddlers have links to '%0'",
	linkslabel: " (%0 links)",
	linkstip: "'%0' has links to %1 other tiddlers",
	groups: 9,
	init: function() {
		config.macros.tagCloud=config.macros.cloud; // for backward-compatibility
		config.shadowTiddlers.TagCloud='<<cloud>>';
		config.shadowTiddlers.StyleSheetTagCloud=
			'/*{{{*/\n'
			+'.tagCloud span {line-height: 3.5em; margin:3px;}\n'
			+'.tagCloud1{font-size: 80%;}\n'
			+'.tagCloud2{font-size: 100%;}\n'
			+'.tagCloud3{font-size: 120%;}\n'
			+'.tagCloud4{font-size: 140%;}\n'
			+'.tagCloud5{font-size: 160%;}\n'
			+'.tagCloud6{font-size: 180%;}\n'
			+'.tagCloud7{font-size: 200%;}\n'
			+'.tagCloud8{font-size: 220%;}\n'
			+'.tagCloud9{font-size: 240%;}\n'
			+'/*}}}*/\n';
		setStylesheet(store.getTiddlerText('StyleSheetTagCloud'),'tagCloudsStyles');
	},
	getLinks: function(tiddler) { // get list of links to existing tiddlers and shadows
		if (!tiddler.linksUpdated) tiddler.changed();
		var list=[]; for (var i=0; i<tiddler.links.length; i++) {
			var title=tiddler.links[i];
			if (store.isShadowTiddler(title)||store.tiddlerExists(title))
				list.push(title);
		}
		return list;
	},
	handler: function(place,macroName,params) {
		// unpack params
		var inc=[]; var ex=[]; var limit=0; var action='popup';
		var links=(params[0]&&params[0].toLowerCase()=='links'); if (links) params.shift();
		var refs=(params[0]&&params[0].toLowerCase()=='references'); if (refs) params.shift();
		if (params[0]&&params[0].substr(0,7).toLowerCase()=='action:')
			action=params.shift().substr(7).toLowerCase();
		if (params[0]&&params[0].substr(0,6).toLowerCase()=='limit:')
			limit=parseInt(params.shift().substr(6));
		while (params.length) {
			if (params[0].substr(0,1)=='+') { // read taglist from tiddler
				inc=inc.concat(store.getTiddlerText(params[0].substr(1),'').readBracketedList());
			} else if (params[0].substr(0,1)=='-') { // exclude taglist from tiddler
				ex=ex.concat(store.getTiddlerText(params[0].substr(1),'').readBracketedList());
			} else if (params[0].substr(0,1)=='=') { // get tag list using tagged tags
				var tagged=store.getTaggedTiddlers(params[0].substr(1));
				for (var t=0; t<tagged.length; t++) inc.push(tagged[t].title);
			} else ex.push(params[0]); // exclude params
			params.shift();
		}
		// get all items, include/exclude specific items
		var items=[];
		var list=(links||refs)?store.getTiddlers('title','excludeLists'):store.getTags();
		for (var t=0; t<list.length; t++) {
			var title=(links||refs)?list[t].title:list[t][0];
			if (links)	var count=this.getLinks(list[t]).length;
			else if (refs)	var count=store.getReferringTiddlers(title).length;
			else 		var count=list[t][1];
			if ((!inc.length||inc.contains(title))&&(!ex.length||!ex.contains(title)))
				items.push({ title:title, count:count });
		}
		if(!items.length) return;
		// sort by decending count, limit results (optional)
		items=items.sort(function(a,b){return(a.count==b.count)?0:(a.count>b.count?-1:1);});
		while (limit && items.length>limit) items.pop();
		// find min/max and group size
		var most=items[0].count;
		var least=items[items.length-1].count;
		var groupSize=(most-least+1)/this.groups;
		// sort by title and draw the cloud of items
		items=items.sort(function(a,b){return(a.title==b.title)?0:(a.title>b.title?1:-1);});
		var cloudWrapper = createTiddlyElement(place,'div',null,'tagCloud',null);
		for (var t=0; t<items.length; t++) {
			cloudWrapper.appendChild(document.createTextNode(' '));
			var group=Math.ceil((items[t].count-least)/groupSize)||1;
			var className='tagCloudtag tagCloud'+group;
			var tip=refs?this.refstip:links?this.linkstip:this.tagstip;
			tip=tip.format([items[t].title,items[t].count]);
			if (action=='goto') { // TAG/LINK/REFERENCES GOTO
				var btn=createTiddlyLink(cloudWrapper,items[t].title,true,className);
				btn.title=tip;
				btn.style.fontWeight='normal';
			} else if (!links&&!refs) { // TAG POPUP
				var btn=createTiddlyButton(cloudWrapper,items[t].title,tip,onClickTag,className);
				btn.setAttribute('tag',items[t].title);
			} else { // LINK/REFERENCES POPUP
				var btn=createTiddlyButton(cloudWrapper,items[t].title,tip,
					function(ev) { var e=ev||window.event; var cmt=config.macros.cloud;
						var popup = Popup.create(this);
						var title = this.getAttribute('tiddler');
						var count = this.getAttribute('count');
						var refs  = this.getAttribute('refs')=='T';
						var links = this.getAttribute('links')=='T';
						var label = (refs?cmt.refslabel:cmt.linkslabel).format([count]);
						createTiddlyLink(popup,title,true);
						createTiddlyText(popup,label);
						createTiddlyElement(popup,'hr');
						if (refs) {
							popup.setAttribute('tiddler',title);
							config.commands.references.handlePopup(popup,title);
						}
						if (links) {
							var tiddler = store.fetchTiddler(title);
							var links=config.macros.cloud.getLinks(tiddler);
							for(var i=0;i<links.length;i++)
								createTiddlyLink(createTiddlyElement(popup,'li'),
									links[i],true);
						}
						Popup.show();
						e.cancelBubble=true; if(e.stopPropagation) e.stopPropagation();
						return false;
					}, className);
				btn.setAttribute('tiddler',items[t].title);
				btn.setAttribute('count',items[t].count);
				btn.setAttribute('refs',refs?'T':'F');
				btn.setAttribute('links',links?'T':'F');
				btn.title=tip;
			}
		}
	}
};
//}}}
/***
|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;
}
//}}}
<<wikify {{'<script src="AtividadeAcontecendo.php?Username='+localStorage.username+'&Tema=Etiqueta/'+sessionStorage.tag+'&Atividade=Estudando&Curso='+localStorage.curso+'"></scr'+'ipt>'}}>>{{medium{<<wikify {{sessionStorage.tag+": "+sessionStorage.tagDesc}}>>}}}
{{small{
<script>

var lista="";
    var xmlHttp = null;
    xmlHttp = new XMLHttpRequest();
    var discFile="Temas/"+sessionStorage.tag+".txt";
//return discFile;
    xmlHttp.open( "GET",discFile, false);
    xmlHttp.send( null );
    var indexLista=xmlHttp.responseText;
//return indexLista;
var listings=indexLista.split("#");
//return listings[2]+ listings.length;
for(i=0;i<listings.length-1;i++){
var item=listings[i].split("|");
sessionStorage.item="";
if(item[2]=="html" || item[2]=="HTML"){
var open='window.open("'+item[10]+'","Skye","width=1000",true)';
lista+='[img[../Logos/smallPDF.png]]<script label="'+item[0]+'">return '+open+';</scr'+'ipt><br>';}
//if(item[2]=="texto"){lista+="[img[../Logos/text.png]]__"+item[0]+"__ ("+item[8]+"- "+item[7]+") "+item[5]+"<br>";}
if(item[2]=="Youtube"){lista+='[img[../Logos/youtube_small.png]]<script label="'+item[0]+'">sessionStorage.item="'+item[10]+'";sessionStorage.twoMenu="Youtube";config.refreshers.content(document.getElementById("twoMenu"));</scr'+'ipt><br>';}
if(item[2]=="TEDTalks"){lista+='[img[../Logos/ted.png]]<script label="'+item[0]+'">sessionStorage.item="'+item[10]+'";sessionStorage.twoMenu="TED";config.refreshers.content(document.getElementById("twoMenu"));</scr'+'ipt><br>';}
} 
sessionStorage.tema=sessionStorage.tag;
config.refreshers.content(document.getElementById("mainHead"));
return lista;
</script>}}}





<script>if(sessionStorage.item!=""){return '<html><iframe src="https://www.youtube.com/embed/'+sessionStorage.item+'" width=420px height=260px></ifra'+'me></h'+'tml>';}</script>


<html><iframe src="http://www.unigaia-brasil.org/escolasResilientes/Tarefas.html" width=100% height=500px></iframe></html>
__<<wikify {{sessionStorage.tarefa}}>>__
<<wikify {{'<script src="AtividadeAcontecendo.php?Username='+localStorage.username+'&Tema=Tarefa/'+sessionStorage.tarefa+'&Atividade=Abrindo&Curso='+localStorage.curso+'"></scr'+'ipt>'}}>>
<script>
var lista="";
    var xmlHttp = null;
    xmlHttp = new XMLHttpRequest();
    var discFile="Tarefas/"+sessionStorage.tarefa+".txt";
//return discFile;
    xmlHttp.open( "GET",discFile, false);
    xmlHttp.send( null );
    var indexLista=xmlHttp.responseText;
sessionStorage.twoMenu="tarefa";
config.refreshers.content(document.getElementById("twoMenu"));
return indexLista;
</script>

{{materia{<<showPopup tiddler:TarefasDosOutros with:600px popupClass:pink label:"Respostas dos Outros Professores">>}}}
<script>
sessionStorage.pdfdisplay="closed";
story.displayTiddler(true,"Duas");
var lista="";
    var xmlHttp = null;
    xmlHttp = new XMLHttpRequest();
    var discFile="Tarefas/ListaTarefas.txt";
//return discFile;
    xmlHttp.open( "GET",discFile, false);
    xmlHttp.send( null );
    var indexLista=xmlHttp.responseText;
var listings=indexLista.split("#");
for(i=0;i<listings.length-1;i++){
var item=listings[i].split("&");
lista+='|'+item[0]+'|<script label="'+item[1]+'">sessionStorage.tarefa="'+item[1]+'";sessionStorage.oneMenu="tarefa";config.refreshers.content(document.getElementById("oneMenu"))</scri'+'pt>|'+item[2]+'|'+item[3]+'|'+item[4]+'|\n';
}
return lista;
</script>

/%
!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]]>>
|~ViewToolbar|collapseTiddler closeTiddler closeOthers +editTiddler > fields syncing permalink references jump|
|~EditToolbar|+saveTiddler -cancelTiddler deleteTiddler|

/%
!!SkyeToolbar
collapseTiddler closeTiddler closeOthers +editTiddler > fields syncing permalink references jump
!!end
%/
<<wikify {{'<<tiddler TwoMenu##'+sessionStorage.twoMenu+'>'+'>'}}>>

/%
!!start
<<tiddler Noticias>>

!!aula
<<wikify {{sessionStorage.aulaTwo}}>>

!!login
<<tiddler Login##Voltando>>

!!Videos
<<tiddler Videos##Display>>

!!Youtube
<<wikify {{'<<tiddler Youtube with: '+sessionStorage.item+' 460 330>'+'>'}}>>

!!TED
<<wikify {{'<<tiddler TED with: '+sessionStorage.item+' 460 330>'+'>'}}>>

!!tarefa
<html><nowiki><form enctype="multipart/form-data" action="addTarefa.php" method="POST"  target="responseFrame">
<input name="title" style="width:150px;" value="">Titulo
<input name="username" value="" style="width:150px;">Nome
<input name="curso" value="" style="width:150px;">Curso
<input  type=hidden name="when" value="">
<input name="escola" value="" style="width:150px;">Escola<br>
<textarea name="comment" rows="20 cols="50" style="width:470px;" value=" " ></textarea><br>
<input type="file" name="fileToUpload" id="fileToUpload" style="width:400px;"><br>
<input type=submit value="Gravar sua Resposta">
</form><iframe src="" name="responseFrame" id="responseFrame" width=400px height=50px style="border:0;"></iframe>
</html><script>var form=place.lastChild.getElementsByTagName('form')[0];
form.username.value=localStorage.username;
form.curso.value=localStorage.curso;
form.escola.value=localStorage.escola;
var date=new Date();
form.when.value=date.formatString("YYYY-MM-DD_hh:mm");
form.title.value=sessionStorage.tarefa;
</script>

!!jornal
Nota:Digitar aqui, suas reflexões a respeito seua aprendizagem hoje. Como pode aplicar a informação sendo apresentado. Nota que esse arquivo é essencialmente por voce, mas Skye tem accesso e pode ler!!!!

<html><nowiki><form action="addJornal.php" method="POST"  target="responseFrame">
Titulo = <input name="title" style="width:150px;" value="">.
Nome = <input name="username" value="" style="width:150px;"><br>
Curso = <input name="curso" value="" style="width:150px;">.
Escola = <input name="escola" value="" style="width:150px;"><br>
<textarea name="comment" rows="18 cols="60" style="width:470px;" value=" " ></textarea><br>
<input type=submit value="Gravar Jornal de Hoje">
</form><iframe src="" name="responseFrame" id="responseFrame" width=400px height=30px style="border:0;"></iframe>
</html><script>var form=place.lastChild.getElementsByTagName('form')[0];
form.username.value=localStorage.username;
form.curso.value=localStorage.curso;
form.escola.value=localStorage.escola;
var date=new Date();
form.title.value=date.formatString("YYYY-MM-DD_hh:mm");
</script>

!!aha
Nota:Digitar aqui, suas"ahas", seus moemntos de inspiração e percepção diferente.Os momentos sublimes!  Nota que esse arquivo é essencialmente por voce, mas Skye tem accesso e pode ler!!!!

<html><nowiki><form action="addAha.php" method="POST"  target="responseFrame">
Titulo = <input name="title" style="width:150px;" value="">.
Nome = <input name="username" value="" style="width:150px;"><br>
Curso = <input name="curso" value="" style="width:150px;">.
Escola = <input name="escola" value="" style="width:150px;"><br>
<textarea name="comment" rows="18 cols="60" style="width:470px;" value=" " ></textarea><br>
<input type=submit value="Gravar seu Aha!">
</form><iframe src="" name="responseFrame" id="responseFrame" width=400px height=30px style="border:0;"></iframe>
</html><script>var form=place.lastChild.getElementsByTagName('form')[0];
form.username.value=localStorage.username;
form.curso.value=localStorage.curso;
form.escola.value=localStorage.escola;
var date=new Date();
form.title.value=date.formatString("YYYY-MM-DD_hh:mm");
</script>

!!progresso
{{medium{__Minha Pontuação__}}}
{{small{
<script>
var lista="";
    var xmlHttp = null;
    xmlHttp = new XMLHttpRequest();
    var discFile="Cursos/"+localStorage.curso+"/"+localStorage.username+"/progresso.txt";
//return discFile;
    xmlHttp.open( "GET",discFile, false);
    xmlHttp.send( null );
    var indexLista=xmlHttp.responseText;
var pontos=indexLista.split("|");

/// e a lista das tarefas
var tarefas="";
var meusPontos=0;
    var xmlHttp = null;
    xmlHttp = new XMLHttpRequest();
    var discFile="Tarefas/ListaTarefas.txt";
//return discFile;
    xmlHttp.open( "GET",discFile, false);
    xmlHttp.send( null );
    var indexLista=xmlHttp.responseText;
var listingTarefas=indexLista.split("#");
for(i=0;i<listingTarefas.length-1;i++){
var item=listingTarefas[i].split("&");
tarefas+='|'+item[0]+'|'+item[1]+'|'+item[2]+'|'+item[3]+'|'+item[4]+'|'+pontos[i]+'|n';
if(pontos[i]){meusPontos=meusPontos+parseInt(pontos[i]);}
}
tarefas+='|||||300|'+meusPontos+'|n';
return tarefas;
</script>
}}}

!!tags
<<tiddler TagsTwoMenu>>


!!end
%/
<<wikify {{'<<tiddler TwoSkyeMenu##'+sessionStorage.twoSkyeMenu+'>'+'>'}}>>
/%
!!chkAluno
{{small{
<script>
var lista="";
    var xmlHttp = null;
    xmlHttp = new XMLHttpRequest();
    var discFile="Cursos/"+sessionStorage.curso+"/"+sessionStorage.aluno+"/progresso.txt";
//return discFile;
    xmlHttp.open( "GET",discFile, false);
    xmlHttp.send( null );
    var indexLista=xmlHttp.responseText;
var pontos=indexLista.split("|");

/// e a lista das tarefas
var tarefas="";
var meusPontos=0;
    var xmlHttp = null;
    xmlHttp = new XMLHttpRequest();
    var discFile="Tarefas/ListaTarefas.txt";
//return discFile;
    xmlHttp.open( "GET",discFile, false);
    xmlHttp.send( null );
    var indexLista=xmlHttp.responseText;
var listingTarefas=indexLista.split("#");
for(i=0;i<listingTarefas.length-1;i++){
var item=listingTarefas[i].split("&");
tarefas+='|'+item[0]+'|'+item[1]+'|'+item[2]+'|'+item[3]+'|'+item[4]+'|'+pontos[i]+'|n';
if(pontos[i]){meusPontos=meusPontos+parseInt(pontos[i]);}
}
tarefas+='|||||300|'+meusPontos+'|n';
return tarefas;
</script>
}}}


!!avalTarefa
<<option txtPontos>><<wikify {{sessionStorage.tarefa}}>>
<script label="save Avaliação">
var pontos=config.options.txtPontos;
    var xmlHttp = null;
    xmlHttp = new XMLHttpRequest();
    var discFile="Cursos/"+localStorage.curso+"/"+sessionStorage.aluno+"/progresso.txt";
    xmlHttp.open( "GET",discFile, false);
    xmlHttp.send( null );
    var progressoLista=xmlHttp.responseText;
    var progDet=progressoLista.split("|");

var lista="";
    var xmlHttp = null;
    xmlHttp = new XMLHttpRequest();
    var discFile="Tarefas/ListaTarefas.txt";
    xmlHttp.open( "GET",discFile, false);
    xmlHttp.send( null );
    var indexLista=xmlHttp.responseText;
if(xmlHttp.status!=200){indexLista="empty";}
//return indexLista+"no="+xmlHttp.status;
var tids=indexLista.split("#");
for(i=1;i<tids.length;i++){
var tarDet=tids[i].split("&");
if(sessionStorage.tarefa==tarDet[1]){progDet[i]=pontos;}
}
var newProgresso=progDet.join("|");
return '<script src="avalTarefa.php?Aluno='+sessionStorage.aluno+'&Curso='+localStorage.curso+'&Tarefas='+newProgresso+'"></scr'+'ipt>';
</script>
!!end
%/
/***
|''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");


//}}}
// null logger : no more UploadLog and no upload logging
// BidiX - 2006/11/8
//{{{
config.macros.upload.UploadLog = function() {return this;};
config.macros.upload.UploadLog.prototype.startUpload = function(storeUrl, toFilename, uploadDir,  backupDir) {};
config.macros.upload.UploadLog.prototype.endUpload = function() {};
//}}}
/***
|''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("\n\n")+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");
	}
}

//}}}
<script src="dir.php?path=VideoTeca"></script>
<script>
var lista="";
    var xmlHttp = null;
    xmlHttp = new XMLHttpRequest();
    var discFile="VideoTeca/lista.txt";
    xmlHttp.open( "GET",discFile, false);
    xmlHttp.send( null );
    var items=xmlHttp.responseText;
return items;

</script>


if(xmlHttp.status!=200){indexLista="empty";}
return indexLista+"<br>no="+xmlHttp.status;

var tids=indexLista.split("|");
return tids[0];
tids=tids.sort();
//return "length= "+tids.length;
for(i=0;i<tids.length;i++){
return tids[i];
if(tids[i]!="lista.txt"){
lista+="|"+tids[i]+"|<br>";
}
}
return lista;
</script>

'<script label="'+tids[i]+'">sessionStorage.pdfdisplay="something";</scr'+'ipt><br>';
<script src="dir.php?path=Videos"></script>
<script>
var lista="";
    var xmlHttp = null;
    xmlHttp = new XMLHttpRequest();
    var discFile="Videos/lista.txt";
    xmlHttp.open( "GET",discFile, false);
    xmlHttp.send( null );
    var indexLista=xmlHttp.responseText;
if(xmlHttp.status!=200){indexLista="empty";}
//return indexLista+"<br>no="+xmlHttp.status;
var tids=indexLista.split("|");
tids=tids.sort();
//return "length= "+tids.length;
for(i=2;i<tids.length;i++){
if(tids[i]!="lista.txt"){
var thisItem=tids[i].replace(".mp4","");
lista+='<script label="'+thisItem+'">sessionStorage.item="'+thisItem+'";sessionStorage.twoMenu="Videos";config.refreshers.content(document.getElementById("twoMenu"));</scr'+'ipt><br>';
}
}
return lista;
</script>
/%
!!Display
<<wikify {{'<script src="AtividadeAcontecendo.php?Username='+localStorage.username+'&Tema=Video/'+sessionStorage.item+'&Atividade=Assistindo&Curso='+localStorage.curso+'"></scr'+'ipt>'}}>>
<<wikify {{sessionStorage.item}}>>
<script>var url="Videos/"+sessionStorage.item+".mp4";
return '<html><video width="430" height="240" controls> <source src="'+url+'" type="video/mp4"></video></ht'+'ml>';
</script>
!!end
%/
<!--{{{-->
<div macro="showWhen localStorage.username == 'Skye'"><div class='toolbar' macro='toolbar [[ToolbarCommands::ViewToolbar]]'><span macro='tiddler newHere##OpenNote'></span><span macro='tiddler newHere##NoticiaBreve'></span><span macro='tiddler newHere##Corr_Nota'></span><span macro='tiddler newHere##Corr_Estudo'></span><span macro='tiddler NossasVisitas'></span><span macro='tiddler Atualiza'><span macro='tiddler Imprimir'></span></span></span></div></div>

<div macro="showWhen localStorage.username == 'Ivone'"><div class='toolbar' macro='toolbar [[ToolbarCommands::ViewToolbar]]'><span macro='tiddler newHere##OpenNote'></span><span macro='tiddler newHere##NoticiaBreve'></span><span macro='tiddler newHere##Corr_Nota'></span><span macro='tiddler NossasVisitas'></span><span macro='tiddler Atualiza'><span macro='tiddler Imprimir'></span></span></div></div>

<div macro="showWhen localStorage.username == 'Aline'"><div class='toolbar' macro='toolbar [[ToolbarCommands::ViewToolbar]]'><span macro='tiddler newHere##OpenNote'></span><span macro='tiddler newHere##NoticiaBreve'></span><span macro='tiddler newHere##Corr_Nota'></span><span macro='tiddler NossasVisitas'></span><span macro='tiddler Atualiza'><span macro='tiddler Imprimir'></span></span></div></div>
<div class='viewer' macro='view text wikified'></div>
<div class='tagClear'></div>
<!--}}}-->
<html><iframe src="https://player.vimeo.com/video/$1" width=$2px height=$3px></iframe></html>
/***
|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;
//}}}
Adaptação Profundad
<html><iframe src="https://www.youtube.com/embed/$1" width=$2px height=$3px></iframe></html>
{{right{<<showPopup tiddler:SideBarOptions label:tabs popupClass:sticky width:800px>>}}}
<<showPopup tiddler:admin##Alunos label:Alunos width:900px popupClass:sticky>>
<<showPopup tiddler:admin##AlunoProgresso label:Aluno_Progresso width:300px popupClass:sticky>>
<<showPopup tiddler:admin##AlunoAcao label:Aluno_Acao width:300px popupClass:sticky>>
<<showPopup tiddler:admin##Atividades label:Atividades with:500px popupClass:sticky>>
<<showPopup tiddler:ProgressoCurso label:Progresso with:500px popupClass:sticky>>
<<showPopup tiddler:admin##etherpads label:etherpads width:200px popupClass:sticky>>
----
{{center{<script label="open">sessionStorage.pdfdisplay="closed"</script>.<script label="closed">sessionStoragepdfdisplay="open";</script>}}}


/%

!!Alunos
<<wikify {{'<script src="dir.php?path=Cursos/'+localStorage.curso+'"></scr'+'ipt>'}}>>
<script>
var out="";
    var xmlHttp = null;
    xmlHttp = new XMLHttpRequest();
    var discFile="Cursos/"+localStorage.curso+"/lista.txt";
    xmlHttp.open( "GET",discFile, false);
    xmlHttp.send( null );
    var tids=xmlHttp.responseText;
if(xmlHttp.status!=200){indexLista="";}
//return tids;
tids=tids.split("|");
//return "length="+ tids.length;
tids=tids.sort();
//return tids[31];
for(i=0;i<tids.length-2;i++){
if(tids[i].indexOf(".txt")==-1){out+=tids[i]+"<br>";}
}
return out;
</script>


!! Atividades
<script>
var out="";
    var xmlHttp = null;
    xmlHttp = new XMLHttpRequest();
    var discFile="Cursos/"+localStorage.curso+"/atividade.txt";
    xmlHttp.open( "GET",discFile, false);
    xmlHttp.send( null );
    var indexLista=xmlHttp.responseText;
if(xmlHttp.status!=200){indexLista="";}
//return indexLista;
var tids=indexLista.split("#");
for(i=0;i<tids.length-1;i++){
var dets=tids[i].split("|");
var tarefa='<script label="'+dets[3]+'">displayTiddler(true,"duasSkye");sessionStorage.aluno="'+dets[1]+'";sessionStorage.tarefa="'+dets[3]+'";sessionStorage.oneSkyeMenu="avalTarefa";sessionStorage.twoSkyeMenu="avalTarefa";config.refreshers.content(document.getElementById("oneSkyeMenu"));config.refreshers.content(document.getElementById("twoSkyeMenu"));</scr'+'ipt>';
out+='|'+dets[0]+'|'+dets[1]+'|'+dets[2]+'|'+tarefa+'|'+dets[4]+'|'+dets[5]+'|'+dets[6]+'|'+dets[7]+'|'+dets[8]+'|'+dets[9]+'|n';
}
return out;
</script>

!!AlunoProgresso
<<option txtUsername>>
<script label="show">
return "{{small{<<tiddler MeuArquivo>>}}}";
</script>


!!AlunoAcao
<<option txtWho>>
{{small{<script label="show">
lista="";
    var xmlHttp = null;
    xmlHttp = new XMLHttpRequest();
    var discFile="Cursos/"+localStorage.curso+"/"+config.options.txtWho+"/atividade.txt";
//return discFile;
    xmlHttp.open( "GET",discFile, false);
    xmlHttp.send( null );
    var indexLista=xmlHttp.responseText;
//return indexLista;
var listingTarefas=indexLista.split("#");
for(s=0;s<listingTarefas.length-1;s++){
lista+="|"+listingTarefas[s]+"|n";
}
return lista;
</script>}}}

!!etherpads
<script>
var out="";
var tids=store.getTaggedTiddlers("etherpad");
for(i=0;i<tids.length;i++)
{
out+="[["+tids[i].title+"]]<br>";
}
return out;
</script>


!!end
%/
|Name|biofiliaView|
|PageTemplate|biofiliaView##PageTemplate|

!PageTemplate
<!--{{{-->

<div id='main'>

<div id='displayArea'>
<div id='messageArea'></div>
<div id='tiddlerDisplay'></div>
</div>
<!--}}}-->
<script>
sessionStorage.chatItems="0";
    var xmlHttp = null;
    xmlHttp = new XMLHttpRequest();
    var discFile="Foro/"+sessionStorage.tema+".txt";
//return discFile;
    xmlHttp.open( "GET",discFile, false);
    xmlHttp.send( null );
    var indexLista=xmlHttp.responseText;
//return indexLista;
if(xmlHttp.status!=200){sessionStorage.chatItems="0";}
else{
var tids=indexLista.split("#");
sessionStorage.chatItems=tids.length-1;}
</script>
Escreva o texto para 'duas'

|Name|duasSkyeView|
|PageTemplate|duasSkyeView##PageTemplate|

!PageTemplate
<!--{{{-->

<div id='main'>

<div id='oneSkyeMenu' refresh='content' force='true' tiddler='OneSkyeMenu'></div>
<div id='twoSkyeMenu' refresh='content' force='true' tiddler='TwoSkyeMenu'></div>
<div id='displayArea'>
<div id='messageArea'></div>
<div id='tiddlerDisplay'></div>
</div>
<!--}}}-->
<!--{{{-->
[[duasSkyeView##PageTemplate]]

<html>
<style>
body { background:-moz-linear-gradient(top,  beige,  orange);font-family: Helvetica;color:#996633;}

#contentWrapper a:link, a:visited, a:active {text-decoration: bold; color:#a29421; background-color: transparent; }
#contentWrapper a:hover {text-decoration: none; color: [[ColorT1]]; background-color: [[ColorB1]]; }
#contentWrapper .button {background-color: transparent; border-color: [[ColorS2]]; border-width: 0px;}
#contentWrapper .button:hover {background-color: [[ColorB1]]; border-width: 0px;}
#contentWrapper {border:0; margin:0 auto;background:-moz-linear-gradient(top,  beige,  orange); width:1200px;}


#oneSkyeMenu {position:relative; left:-20px; width:500px; height:700px; top:370px;background-color: yellow;margin:5px 5px 5px 20px;border-style:solid;border-color:brown;border-width:0px 2px 0px 0px;overflow:auto;z-index:30;}
#twoSkyeMenu {position:relative; left:490px; width:500px; height:700px; top:-335px;background-color: yellow;margin:5px 5px 5px 20px;overflow:auto;z-index:30;}

#displayArea {position:relative; top:-1000px; left:-70px;width:1080px;z-index:20;height:200px;z-index:2;}
.header { background-color: #edead5;  height: 50px;left:150px; top:-50px;}
.tiddlyLinkExisting .tiddlyLink {color:red;}
.externalLink {color:red;} 

.viewer {text-align: left; width: 100%; padding: 0.5em 20px 0em .5em;z-index:10;top:100px;}
/*.viewer h1, h2, h3, h4 {color: [[ColorT1]]; background-color: transparent; font-weight: bold; font-style: italic; padding: 0em 0em 0em 0em; margin: 0em 0em 0em 0em; display: block;}
/*.viewer h1 {font-sytle: normal; font-variant: small-caps; background-color: [[ColorB1]];}
/*.viewer img {width: 95%; margin: 0em 20px 0em 20px;}
/*.title {font-weight: normal; color: [[ColorT3]]; display: inline; padding: 0.2em 1em 1em 0.25em; border-style: solid; border-width: 1px 0px 0px 1px; border-padding: 0em 0em 0em 0em; border-color: [[ColorT3]]; }*/
/*.subtitle {display: none; padding: 0em 0em 0em 3em; }*/
.editor {padding: 0.75em 0em 0em 2em; height: 550% ; line-height: 100%; }
.editor textarea {height: 40em; }

.title {font-size:10pt;font-weight:bold;}

.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;}
.popupInfo {background-color:beige; color:brown; width:auto; height:auto;border-style:solid;border-radius:1em;padding:5px 5px 5px 5px;}
.yellow {background-color:yellow; color:brown; width:auto; height:auto;border-style:solid;border-radius:0.1em;padding:1px 5px 5px 1px;}
.palegreen {background-color:palegreen; color:deepgreen; width:auto; height:auto;border-style:solid;border-radius:0.1em;padding:1px 5px 5px 1px;}
.sandybrown {background-color:sandybrown; color:beige; width:auto; height:auto;border-style:solid;border-radius:1em;padding:5px 5px 5px 5px;}

/* IE fix */
body {position:static;}
.tagClear{margin-top:1em;clear:both;}

#messageArea {background-color: [[ColorB1]]; position: absolute; top: 0; right: 0; }

.foto1{position:relative;top:0px;left:0px;width:600px;height:400px;border-width:1px 3px 3px 1px;border-radius: .1em;z-index:30;}
.foto2{position:relative;top:-450px;left:0px;width:600px;height:400px;border-width:1px 3px 3px 1px;border-radius: .1em;z-index:31;opacity:0.8;}
.foto3{position:relative;top:-900px;left:0px;width:600px;height:400px;border-width:1px 3px 3px 1px;border-radius: .1em;z-index:32;opacity:0.8;}


</style>
</html>
<div class='toolbar' role='navigation' macro='toolbar [[ToolbarCommands::ViewToolbar]]'></div>
<div class='viewer' macro='view text wikified'></div>
<div class='tagClear'></div>
<!--}}}-->
|Name|duasView|
|PageTemplate|duasView##PageTemplate|

!PageTemplate
<!--{{{-->

<div id='main'>

<div id='oneMenu' refresh='content' force='true' tiddler='OneMenu'></div>
<div id='twoMenu' refresh='content' force='true' tiddler='TwoMenu'></div>
<div id='displayArea'>
<div id='messageArea'></div>
<div id='tiddlerDisplay'></div>
</div>
<!--}}}-->
<!--{{{-->
[[duasView##PageTemplate]]

<html>
<style>
body { background:-moz-linear-gradient(top,  lavendar,  grey);font-family: Helvetica;color:black;}

#contentWrapper a:link, a:visited, a:active {text-decoration: bold; color:#a29421; background-color: transparent; }
#contentWrapper a:hover {text-decoration: none; color: [[ColorT1]]; background-color: [[ColorB1]]; }
#contentWrapper .button {background-color: transparent; border-color: [[ColorS2]]; border-width: 0px;}
#contentWrapper .button:hover {background-color: [[ColorB1]]; border-width: 0px;}
#contentWrapper {border:0; margin:0 auto;background:-moz-linear-gradient(top,  lavendar,  grey); width:1200px;}


#oneMenu {position:relative; left:30px; width:550px; height:630px; top:1620px;margin:5px 5px 5px 20px;background-color:lavender;margin:5px 5px 5px 20px;border-style:solid;border-color:darkblue;border-width:1px 3px 3px 1px;border-radius: 20px;0px;overflow:auto;z-index:20;}
#twoMenu {position:relative; left:590px; width:450px; height:630px; top:982px;margin:5px 5px 5px 20px;background-color:lavender;margin:5px 5px 5px 20px;border-style:solid;border-color:darkblue;border-width:1px 3px 3px 1px;border-radius: 20px;overflow:auto;z-index:20;}

#displayArea {position:relative; top:-2280px; left:-70px;width:1080px;z-index:20;height:600px;z-index:2;}
.header { background-color: #edead5;  height: 50px;left:150px; top:-50px;}
.tiddlyLinkExisting .tiddlyLink {color:red;}
.externalLink {color:red;} 

.viewer {text-align: left; width: 100%; padding: 0.5em 20px 0em .5em;z-index:10;top:100px;}
/*.viewer h1, h2, h3, h4 {color: [[ColorT1]]; background-color: transparent; font-weight: bold; font-style: italic; padding: 0em 0em 0em 0em; margin: 0em 0em 0em 0em; display: block;}
/*.viewer h1 {font-sytle: normal; font-variant: small-caps; background-color: [[ColorB1]];}
/*.viewer img {width: 95%; margin: 0em 20px 0em 20px;}
/*.title {font-weight: normal; color: [[ColorT3]]; display: inline; padding: 0.2em 1em 1em 0.25em; border-style: solid; border-width: 1px 0px 0px 1px; border-padding: 0em 0em 0em 0em; border-color: [[ColorT3]]; }*/
/*.subtitle {display: none; padding: 0em 0em 0em 3em; }*/
.editor {padding: 0.75em 0em 0em 2em; height: 550% ; line-height: 100%; }
.editor textarea {height: 40em; }

.title {font-size:10pt;font-weight:bold;}

.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;}
.popupInfo {background-color:beige; color:brown; width:auto; height:auto;border-style:solid;border-radius:1em;padding:5px 5px 5px 5px;}
.yellow {background-color:yellow; color:brown; width:auto; height:auto;border-style:solid;border-radius:0.1em;padding:1px 5px 5px 1px;}
.palegreen {background-color:palegreen; color:deepgreen; width:auto; height:auto;border-style:solid;border-radius:0.1em;padding:1px 5px 5px 1px;}
.sandybrown {background-color:sandybrown; color:beige; width:auto; height:auto;border-style:solid;border-radius:1em;padding:5px 5px 5px 5px;}

/* IE fix */
body {position:static;}
.tagClear{margin-top:1em;clear:both;}

#messageArea {background-color: [[ColorB1]]; position: absolute; top: 0; right: 0; }

.foto1{position:relative;top:0px;left:0px;width:600px;height:400px;border-width:1px 3px 3px 1px;border-radius: .1em;z-index:30;}
.foto2{position:relative;top:-450px;left:0px;width:600px;height:400px;border-width:1px 3px 3px 1px;border-radius: .1em;z-index:31;opacity:0.8;}
.foto3{position:relative;top:-900px;left:0px;width:600px;height:400px;border-width:1px 3px 3px 1px;border-radius: .1em;z-index:32;opacity:0.8;}


</style>
</html>
<div macro="showWhen localStorage.username == 'Skye'"><div class='toolbar' role='navigation' macro='toolbar [[ToolbarCommands::ViewToolbar]]'></div></div>
<div class='viewer' macro='view text wikified'></div>
<div class='tagClear'></div>
<!--}}}-->
<html><nowiki><form action="emailSkye.php" method="POST"  target="responseFrame">
<input name="title" style="width:300px;">Titulo
<input type=hidden  name="username" value="">
<input  type=hidden name="curso" value="">
<input  type=hidden name="when" value="">
<input  type=hidden name="escola" value="" ><br>
<textarea name="comment" rows="10 cols="50" style="width:470px;" value=" " ></textarea><br>
<input type=submit value="Mandar Seu Email">
</form><iframe src="" name="responseFrame" id="responseFrame" width=400px height=50px style="border:0;"></iframe>
</html><script>var form=place.lastChild.getElementsByTagName('form')[0];
form.username.value=localStorage.username;
form.curso.value=localStorage.curso;
form.escola.value=localStorage.escola;
var date=new Date();
form.when.value=date.formatString("YYYY-MM-DD_hh:mm");
form.title.value=sessionStorage.tarefa;</script>
<script> var pageVar=window.location.href;var locate=pageVar.indexOf("Theme=");if(locate!=-1){var Theme=pageVar.substring(locate+6);}return Theme;</script> 
<<wikify {{"<<tiddler OpenNote with:"+tiddler.title+">"+">"}}>>
__En Geral__
{{materia{Link para Materia, normalmente pdf}}}
{{tarefa{Tarefas}}}
{{dropdown{Extra Informação}}}
{{apresenta{Link para uma Apresentação}}}
{{openWindow{Abrir Referencia em nova janela}}}
{{book{Livro inteiro do Biblioteca}}}
{{linkInterna{Abrir outra pagina nesta pagina}}}

__Barra da Navegação__
* [img[../Logos/home.png]] - re-atualiza a pagina e iniciara de novo
* [img[../Logos/mail.png]] - para mandar email direito a Skye
* [img[Images/school.png]] - lista das escolas participando
* [img[../Logos/sm_info.png]] - esse painel
----
* O Curso - sequencia principal das atividade do curso
* Materias - lista das materias do curso, escola um item na 2a columna
* Extra Materias - sub-items das materias, documentos curtos
----
* Apresentações - lista apresentação disponivel para uso nas aulas.
* Ementas - dos cursos
* Visitando - albums do fotos das visitas as escolas
* Programs - dos cursos eleitivas
* Posters - dos cursos eleitivos
* Docs UNESCO - documentos do Projeto do UNESCO - são compridas!
* Banco Dados - a listas as etiquetas usamos nas favoritas coletivas - escola item da interesse... para ver contribuições dos outros, e inciar uma conversa (foro) a respeito
** clicar  "bookmarklet do curso" para acessar e rastar as bookmarklets que permite a contribuições coletivas
* Biblioteca - mais documentos interessantes.... aqui documentos mais compridas
* Videos Locais
----
* Jornal - accessar seu jornal, items passados, ou escrever novo item
* Ahas! - accessar sua lista Ahas1 (inspirações), items passados, ou escrever novo item
* Projeto - manejando e relatando seu projeto pratico do curso, ver items previamente listado,
* Foro - nossas conversas, relevante os items do Banco dados
----
* Login - Registrar seu nome, escola, curso e equipe (clicar para ver as listas registradas no sistema) 
----
* Skyes Blogg - outra pagina... um Blogg
* Curricula - programa do curso, em geral
* Viagems 2019 - program dos viagems por as escolas
* Noticias Intern - breves noticias
----
__Acima__
[img[../Logos/layeredMap_small.png]] - lista sub-temas do tema/atividade principal
[img[../Logos/tags_small.png]] - etiquetas da plataforma - auxilio em navegação
 usuario:Nome - lista das atividades recentes
* a direita - numero - abrira breve chat a respeito a tema atual, no momento
<<wikify {{'<<tiddler OpenNote with: '+tiddler.title+'>'+'>'}}>>

!!OpenNote
<script>sessionStorage.open='<<wikify {{"<<tiddler OpenNote with:"+tiddler.title+">"+">"}}>'+'>';</script>
{{materia{<<newTiddler label:Note tag:{{tiddler.title}} text:{{sessionStorage.open}}>>}}}
!!NoticiaBreve
{{materia{<<showPopup tiddler:NewNoticiaBreve label:Noticia width:550px popupClass:sticky>>}}}
!!Corr_Nota
{{materia{<<showPopup tiddler:Corr_Nota label:Corr width:800px popupClass:sticky>>}}}
!!Corr_Estudo
{{materia{<<showPopup tiddler:Corr_Estudo label:Estudo width:800px popupClass:sticky>>}}}
!!end
{{floatleft{<<tiddler rupertRead##left>>}}} {{floatright{<<tiddler rupertRead##right>>}}}{{enter{[<img(500px,auto)[https://sandyirvineblog.files.wordpress.com/2018/07/rupert-read.jpeg?w=677&h=375]]

Notas:
}}} 

/%
!!left
<<tiddler OpenWindow2 with: 'Precautionary Principle'  'https://rupertread.net/precautionary-principle'>>
<<tiddler OpenWindow2 with:'Wikipedia' 'https://en.wikipedia.org/wiki/Rupert_Read'>>
<<tiddler OpenWindow2 with: 'Rupert Read Blog' 'https://rupertread.net/'>>

----
<<tiddler ListaRefs with: rupertRead>>
!!right
<<tiddler Youtube with: kjeLE-ROSOI 300 190>>
<<tiddler Youtube with: rbzhc1BlvvI 300 190>>
<<tiddler Youtube with: 6Lt0jCDtYSY 300 190>>
<<tiddler Youtube with: 9_k5cAPx5hQ 300 190>>
<<tiddler Youtube with: uzCxFPzdO0Y 300 190>>
!!end
%/


|Name|showtimeView|
|PageTemplate|showtimeView##PageTemplate|

!PageTemplate
<!--{{{-->

<div id='main'>

<div id='showControlMenu' refresh='content' force='true' tiddler='ShowControlMenu'></div>
<div id='showtimeMenu' refresh='content' force='true' tiddler='ShowTimeMenu'></div>
<div id='displayArea'>
<div id='messageArea'></div>
<div id='tiddlerDisplay'></div>
</div>
<!--}}}-->
<!--{{{-->
[[showtimeView##PageTemplate]]

<html>
<style>
body { background:-moz-linear-gradient(top,  beige,  orange);font-family: Helvetica;color:#996633;}

#contentWrapper a:link, a:visited, a:active {text-decoration: bold; color:#a29421; background-color: transparent; }
#contentWrapper a:hover {text-decoration: none; color: [[ColorT1]]; background-color: [[ColorB1]]; }
#contentWrapper .button {background-color: transparent; border-color: [[ColorS2]]; border-width: 0px;}
#contentWrapper .button:hover {background-color: [[ColorB1]]; border-width: 0px;}
#contentWrapper {border:0; margin:0 auto;background:-moz-linear-gradient(top,  beige,  orange); width:1200px;}

#showtimeMenu {position:relative; left:2px; width:1060px; height:700px; top:930px;background-color: beige;overflow:auto;z-index:30;}

#displayArea {position:relative; top:-1590px; left:-70px;width:1080px;z-index:20;height:200px;z-index:2;}
.header { background-color: #edead5;  height: 50px;left:150px; top:-50px;}
.tiddlyLinkExisting .tiddlyLink {color:red;}
.externalLink {color:red;} 

.viewer {text-align: left; width: 100%; padding: 0.5em 20px 0em .5em;z-index:10;top:100px;background-color:transparent;}
/*.viewer h1, h2, h3, h4 {color: [[ColorT1]]; background-color: transparent; font-weight: bold; font-style: italic; padding: 0em 0em 0em 0em; margin: 0em 0em 0em 0em; display: block;}
/*.viewer h1 {font-sytle: normal; font-variant: small-caps; background-color: [[ColorB1]];}
/*.viewer img {width: 95%; margin: 0em 20px 0em 20px;}
/*.title {font-weight: normal; color: [[ColorT3]]; display: inline; padding: 0.2em 1em 1em 0.25em; border-style: solid; border-width: 1px 0px 0px 1px; border-padding: 0em 0em 0em 0em; border-color: [[ColorT3]]; }*/
/*.subtitle {display: none; padding: 0em 0em 0em 3em; }*/
.editor {padding: 0.75em 0em 0em 2em; height: 550% ; line-height: 100%; }
.editor textarea {height: 40em; }

.title {font-size:10pt;font-weight:bold;}

.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;}
.popupInfo {background-color:beige; color:brown; width:auto; height:auto;border-style:solid;border-radius:1em;padding:5px 5px 5px 5px;}
.yellow {background-color:yellow; color:brown; width:auto; height:auto;border-style:solid;border-radius:0.1em;padding:1px 5px 5px 1px;}
.palegreen {background-color:palegreen; color:deepgreen; width:auto; height:auto;border-style:solid;border-radius:0.1em;padding:1px 5px 5px 1px;}
.sandybrown {background-color:sandybrown; color:beige; width:auto; height:auto;border-style:solid;border-radius:1em;padding:5px 5px 5px 5px;}

/* IE fix */
body {position:static;}
.tagClear{margin-top:1em;clear:both;}

#messageArea {background-color: [[ColorB1]]; position: absolute; top: 0; right: 0; }

.foto1{position:relative;top:0px;left:0px;width:600px;height:400px;border-width:1px 3px 3px 1px;border-radius: .1em;z-index:30;}
.foto2{position:relative;top:-450px;left:0px;width:600px;height:400px;border-width:1px 3px 3px 1px;border-radius: .1em;z-index:31;opacity:0.8;}
.foto3{position:relative;top:-900px;left:0px;width:600px;height:400px;border-width:1px 3px 3px 1px;border-radius: .1em;z-index:32;opacity:0.8;}


</style>
</html>
<div class='toolbar' role='navigation' macro='toolbar [[ToolbarCommands::ViewToolbar]]'><span macro='tiddler ShowTimeMenu##Final'><span macro='tiddler ShowTimeMenu##Proxima'><span macro='tiddler ShowTimeMenu##Previa'><span macro='tiddler ShowTimeMenu##Inicial'></span></span></span></span></div>
<div class='viewer' macro='view text wikified'></div>
<div class='tagClear'></div>
<!--}}}-->
config.options.txUploadFilename="index.html"
config.options.txtUploadStoreUrl="store.php"
config.options.txtUploadUserName="Skye"
config.options.txtUploadTiddlerStoreUrl="storeTiddler.php"
config.options.chkUploadTiddler=true
config.options.chkSinglePageMode=true
config.options.chkSinglePagePermalink=false
chkHttpReadOnly=false
config.options.chkBackstage=false
readOnly=false

<<wikify {{'<<tiddler OpenNote with: '+tiddler.title+'>'+'>'}}>>