Moved css and js rendering to post pages only
This commit is contained in:
parent
8218d270ad
commit
6ddb694a56
@ -31,12 +31,3 @@
|
|||||||
});
|
});
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<script>
|
|
||||||
<?php
|
|
||||||
echo Settings::get(
|
|
||||||
"js",
|
|
||||||
"$(function() {\n // My script here.\n});",
|
|
||||||
true);
|
|
||||||
?>
|
|
||||||
</script>
|
|
||||||
|
9
head.php
9
head.php
@ -24,12 +24,3 @@
|
|||||||
z-index: 1040 !important;
|
z-index: 1040 !important;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
<style>
|
|
||||||
<?php
|
|
||||||
echo Settings::get(
|
|
||||||
"css",
|
|
||||||
"/* Put in your custom CSS here: */\nblockquote {\n padding: 1em;\n background:\n rgba(127, 127, 127, 0.2);\n border-left: 3px solid rgba(127, 127, 127, 0.2); \n}",
|
|
||||||
true);
|
|
||||||
?>
|
|
||||||
</style>
|
|
||||||
|
@ -8,6 +8,15 @@
|
|||||||
$intRenderedRows = 0;
|
$intRenderedRows = 0;
|
||||||
?>
|
?>
|
||||||
|
|
||||||
|
<style>
|
||||||
|
<?php
|
||||||
|
echo Settings::get(
|
||||||
|
"css",
|
||||||
|
"/* Put in your custom CSS here: */\nblockquote {\n padding: 1em;\n background:\n rgba(127, 127, 127, 0.2);\n border-left: 3px solid rgba(127, 127, 127, 0.2); \n}",
|
||||||
|
true);
|
||||||
|
?>
|
||||||
|
</style>
|
||||||
|
|
||||||
<?php foreach ($varRows as $r): ?>
|
<?php foreach ($varRows as $r): ?>
|
||||||
<?php if (!UserAuth::visible($r["visibility"])) continue; ?>
|
<?php if (!UserAuth::visible($r["visibility"])) continue; ?>
|
||||||
|
|
||||||
@ -43,6 +52,16 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
<?php
|
||||||
|
echo Settings::get(
|
||||||
|
"js",
|
||||||
|
"$(function() {\n // My script here.\n});",
|
||||||
|
true);
|
||||||
|
?>
|
||||||
|
</script>
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user