aboutsummaryrefslogtreecommitdiffstats
path: root/view/theme/diabook/theme.php
diff options
context:
space:
mode:
Diffstat (limited to 'view/theme/diabook/theme.php')
-rw-r--r--view/theme/diabook/theme.php13
1 files changed, 11 insertions, 2 deletions
diff --git a/view/theme/diabook/theme.php b/view/theme/diabook/theme.php
index 29e71c611..e8518a1c6 100644
--- a/view/theme/diabook/theme.php
+++ b/view/theme/diabook/theme.php
@@ -26,6 +26,7 @@ if ($color=="blue") $color_path = "/diabook-blue/";
if ($color=="red") $color_path = "/diabook-red/";
if ($color=="pink") $color_path = "/diabook-pink/";
if ($color=="green") $color_path = "/diabook-green/";
+if ($color=="dark") $color_path = "/diabook-dark/";
/**
@@ -146,7 +147,6 @@ function diabook_community_info(){
}
}
-
//right_aside FIND FRIENDS
if(local_user()) {
@@ -329,6 +329,7 @@ $a->page['htmlhead'] .= '
</script>';
+
$a->page['htmlhead'] .= '
<script type="text/javascript">
@@ -479,7 +480,7 @@ function close_lastlikes(){
$a->page['htmlhead'] .= '
<script>
-function insertFormatting(comment,BBcode,id) {
+function insertFormatting(BBcode,id) {
var tmpStr = $("#comment-edit-text-" + id).val();
if(tmpStr == comment) {
@@ -507,4 +508,12 @@ function insertFormatting(comment,BBcode,id) {
}
return true;
}
+
+function cmtBbOpen(id) {
+ $(".comment-edit-bb-" + id).show();
+}
+function cmtBbClose(id) {
+ $(".comment-edit-bb-" + id).hide();
+}
+
</script> '; \ No newline at end of file