aboutsummaryrefslogtreecommitdiffstats
path: root/view
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2012-04-08 05:52:00 -0700
committerfriendica <info@friendica.com>2012-04-08 05:52:00 -0700
commit741a5dba578444e5fea547a87c48824a69c39840 (patch)
treea57d949d9a11a4960b6ab8e2c607ec189a332674 /view
parent3afc9915e35ba8a8f34dd3cc2dfb5b6e79844122 (diff)
downloadvolse-hubzilla-741a5dba578444e5fea547a87c48824a69c39840.tar.gz
volse-hubzilla-741a5dba578444e5fea547a87c48824a69c39840.tar.bz2
volse-hubzilla-741a5dba578444e5fea547a87c48824a69c39840.zip
provide theme_init() functions
Diffstat (limited to 'view')
-rw-r--r--view/theme/darkzero-NS/theme.php2
-rw-r--r--view/theme/darkzero/theme.php2
-rw-r--r--view/theme/duepuntozero/theme.php2
-rw-r--r--view/theme/greenzero/theme.php2
-rw-r--r--view/theme/purplezero/theme.php2
-rw-r--r--view/theme/slack-NS/theme.php2
-rw-r--r--view/theme/slackr/theme.php2
7 files changed, 14 insertions, 0 deletions
diff --git a/view/theme/darkzero-NS/theme.php b/view/theme/darkzero-NS/theme.php
index 2d3e4fd56..6c1aa7f12 100644
--- a/view/theme/darkzero-NS/theme.php
+++ b/view/theme/darkzero-NS/theme.php
@@ -11,6 +11,7 @@ $a->theme_info = array(
'extends' => 'duepuntozero',
);
+function darkzero_NS_init(&$a) {
$a->page['htmlhead'] .= <<< EOT
<script>
$(document).ready(function() {
@@ -57,3 +58,4 @@ $('.savedsearchterm').hover(
</script>
EOT;
+} \ No newline at end of file
diff --git a/view/theme/darkzero/theme.php b/view/theme/darkzero/theme.php
index 8c4d3e9ac..bbba3ef74 100644
--- a/view/theme/darkzero/theme.php
+++ b/view/theme/darkzero/theme.php
@@ -12,6 +12,7 @@ $a->theme_info = array(
'extends' => 'duepuntozero',
);
+function darkzero_init(&$a) {
$a->page['htmlhead'] .= <<< EOT
<script>
$(document).ready(function() {
@@ -58,3 +59,4 @@ $('.savedsearchterm').hover(
</script>
EOT;
+} \ No newline at end of file
diff --git a/view/theme/duepuntozero/theme.php b/view/theme/duepuntozero/theme.php
index 701fb1349..7b42088e1 100644
--- a/view/theme/duepuntozero/theme.php
+++ b/view/theme/duepuntozero/theme.php
@@ -1,6 +1,7 @@
<?php
$a->theme_info = array();
+function duepuntozero_init(&$a) {
$a->page['htmlhead'] .= <<< EOT
<script>
$(document).ready(function() {
@@ -47,3 +48,4 @@ $('.savedsearchterm').hover(
</script>
EOT;
+}
diff --git a/view/theme/greenzero/theme.php b/view/theme/greenzero/theme.php
index ceec4dd97..c80202475 100644
--- a/view/theme/greenzero/theme.php
+++ b/view/theme/greenzero/theme.php
@@ -3,6 +3,7 @@ $a->theme_info = array(
'extends' => 'duepuntozero',
);
+function greenzero_init(&$a) {
$a->page['htmlhead'] .= <<< EOT
<script>
$(document).ready(function() {
@@ -49,3 +50,4 @@ $('.savedsearchterm').hover(
</script>
EOT;
+} \ No newline at end of file
diff --git a/view/theme/purplezero/theme.php b/view/theme/purplezero/theme.php
index ceec4dd97..b9613027c 100644
--- a/view/theme/purplezero/theme.php
+++ b/view/theme/purplezero/theme.php
@@ -3,6 +3,7 @@ $a->theme_info = array(
'extends' => 'duepuntozero',
);
+function purplezero_init(&$a) {
$a->page['htmlhead'] .= <<< EOT
<script>
$(document).ready(function() {
@@ -49,3 +50,4 @@ $('.savedsearchterm').hover(
</script>
EOT;
+} \ No newline at end of file
diff --git a/view/theme/slack-NS/theme.php b/view/theme/slack-NS/theme.php
index ceec4dd97..a8934d03b 100644
--- a/view/theme/slack-NS/theme.php
+++ b/view/theme/slack-NS/theme.php
@@ -3,6 +3,7 @@ $a->theme_info = array(
'extends' => 'duepuntozero',
);
+function slack_NS_init(&$a) {
$a->page['htmlhead'] .= <<< EOT
<script>
$(document).ready(function() {
@@ -49,3 +50,4 @@ $('.savedsearchterm').hover(
</script>
EOT;
+} \ No newline at end of file
diff --git a/view/theme/slackr/theme.php b/view/theme/slackr/theme.php
index ceec4dd97..78f5d40f0 100644
--- a/view/theme/slackr/theme.php
+++ b/view/theme/slackr/theme.php
@@ -3,6 +3,7 @@ $a->theme_info = array(
'extends' => 'duepuntozero',
);
+function slackr_init(&$a) {
$a->page['htmlhead'] .= <<< EOT
<script>
$(document).ready(function() {
@@ -49,3 +50,4 @@ $('.savedsearchterm').hover(
</script>
EOT;
+} \ No newline at end of file