aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl/filebrowser.tpl
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2013-05-08 02:11:17 -0700
committerfriendica <info@friendica.com>2013-05-08 02:11:17 -0700
commitcdcbe9772423d5373f6d0d4aa33700446a989340 (patch)
tree2f1f1c7540c62c049dd314b0155380c6cb4526b5 /view/tpl/filebrowser.tpl
parent51c27579ba79d32c26052c0d1f1218a16315234b (diff)
parent5e1980becf69a4c65489bed6f94fa730ec8ef4bf (diff)
downloadvolse-hubzilla-cdcbe9772423d5373f6d0d4aa33700446a989340.tar.gz
volse-hubzilla-cdcbe9772423d5373f6d0d4aa33700446a989340.tar.bz2
volse-hubzilla-cdcbe9772423d5373f6d0d4aa33700446a989340.zip
Merge pull request #50 from fabrixxm/newtemplatesystem
New template system
Diffstat (limited to 'view/tpl/filebrowser.tpl')
-rwxr-xr-x[-rw-r--r--]view/tpl/filebrowser.tpl21
1 files changed, 13 insertions, 8 deletions
diff --git a/view/tpl/filebrowser.tpl b/view/tpl/filebrowser.tpl
index 7db31d716..b408ca687 100644..100755
--- a/view/tpl/filebrowser.tpl
+++ b/view/tpl/filebrowser.tpl
@@ -1,7 +1,12 @@
+{{*
+ * AUTOMATICALLY GENERATED TEMPLATE
+ * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN
+ *
+ *}}
<!DOCTYPE html>
<html>
<head>
- <script type="text/javascript" src="$baseurl/library/tinymce/jscripts/tiny_mce/tiny_mce_popup.js"></script>
+ <script type="text/javascript" src="{{$baseurl}}/library/tinymce/jscripts/tiny_mce/tiny_mce_popup.js"></script>
<style>
.panel_wrapper div.current{.overflow: auto; height: auto!important; }
.filebrowser.path { font-family: fixed; font-size: 10px; background-color: #f0f0ee; height:auto; overflow:auto;}
@@ -60,24 +65,24 @@
<div id="general_panel" class="panel current">
<div class="filebrowser path">
- {{ for $path as $p }}<a href="$p.0">$p.1</a>{{ endfor }}
+ {{foreach $path as $p}}<a href="{{$p.0}}">{{$p.1}}</a>{{/foreach}}
</div>
<div class="filebrowser folders">
<ul>
- {{ for $folders as $f }}<li><a href="$f.0/">$f.1</a></li>{{ endfor }}
+ {{foreach $folders as $f}}<li><a href="{{$f.0}}/">{{$f.1}}</a></li>{{/foreach}}
</ul>
</div>
- <div class="filebrowser files $type">
+ <div class="filebrowser files {{$type}}">
<ul>
- {{ for $files as $f }}
- <li><a href="#" onclick="FileBrowserDialogue.mySubmit('$f.0'); return false;"><img src="$f.2"><span>$f.1</span></a></li>
- {{ endfor }}
+ {{foreach $files as $f}}
+ <li><a href="#" onclick="FileBrowserDialogue.mySubmit('{{$f.0}}'); return false;"><img src="{{$f.2}}"><span>{{$f.1}}</span></a></li>
+ {{/foreach}}
</ul>
</div>
</div>
</div>
<div class="mceActionPanel">
- <input type="button" id="cancel" name="cancel" value="$cancel" onclick="tinyMCEPopup.close();" />
+ <input type="button" id="cancel" name="cancel" value="{{$cancel}}" onclick="tinyMCEPopup.close();" />
</div>
</body>