aboutsummaryrefslogtreecommitdiffstats
path: root/view
diff options
context:
space:
mode:
Diffstat (limited to 'view')
-rw-r--r--view/php/theme_init.php2
-rwxr-xr-xview/tpl/head.tpl1
2 files changed, 3 insertions, 0 deletions
diff --git a/view/php/theme_init.php b/view/php/theme_init.php
index 8b75bc940..0cb5d4d68 100644
--- a/view/php/theme_init.php
+++ b/view/php/theme_init.php
@@ -25,9 +25,11 @@ head_add_js('library/jquery_ac/friendica.complete.js');
head_add_js('library/tiptip/jquery.tipTip.minified.js');
head_add_js('library/jgrowl/jquery.jgrowl_minimized.js');
head_add_js('library/tinymce/jscripts/tiny_mce/tiny_mce_src.js');
+head_add_js('library/cryptojs/rollups/aes.js');
head_add_js('js/acl.js');
head_add_js('js/webtoolkit.base64.js');
head_add_js('js/main.js');
+head_add_js('js/crypto.js');
head_add_js('library/jslider/bin/jquery.slider.min.js');
head_add_js('docready.js');
head_add_js('library/prettyphoto/js/jquery.prettyPhoto.js');
diff --git a/view/tpl/head.tpl b/view/tpl/head.tpl
index 4211eeab3..eb4c6c2ad 100755
--- a/view/tpl/head.tpl
+++ b/view/tpl/head.tpl
@@ -23,6 +23,7 @@
var updateInterval = {{$update_interval}};
var localUser = {{if $local_user}}{{$local_user}}{{else}}false{{/if}};
+ var zid = {{if $zid}}'{{$zid}}'{{else}}null{{/if}};
</script>