1
0
Fork 0

provide theme_init() functions

This commit is contained in:
friendica 2012-04-08 05:52:00 -07:00
commit 741a5dba57
9 changed files with 20 additions and 0 deletions

View file

@ -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;
}

View file

@ -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;
}

View file

@ -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;
}

View file

@ -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;
}

View file

@ -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;
}

View file

@ -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;
}

View file

@ -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;
}