Cleanup /format pre-move
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* Theme settings
|
||||
*/
|
||||
|
||||
@@ -19,10 +19,10 @@
|
||||
<script>var frio="<?php echo "view/theme/frio"; ?>";</script>
|
||||
<?php $baseurl = App::get_baseurl(); ?>
|
||||
<?php $frio = "view/theme/frio"; ?>
|
||||
<?php
|
||||
<?php
|
||||
// Because we use minimal for modals the header and the included js stuff should be only loaded
|
||||
// if the page is an standard page (so we don't have it twice for modals)
|
||||
//
|
||||
//
|
||||
/// @todo Think about to move js stuff in the footer
|
||||
if(!$minimal) {
|
||||
if(x($page,'htmlhead')) echo $page['htmlhead'];
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
/**
|
||||
* @file view/theme/frio/php/frio_boot.php
|
||||
*
|
||||
* @brief This file contains functions for page contstruction
|
||||
* @brief This file contains functions for page construction
|
||||
*
|
||||
*/
|
||||
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* Theme settings
|
||||
*/
|
||||
|
||||
@@ -16,7 +16,7 @@ function smoothly_init(App $a) {
|
||||
$cssFile = null;
|
||||
$ssl_state = null;
|
||||
$baseurl = App::get_baseurl($ssl_state);
|
||||
$a->page['htmlhead'] .= <<< EOT
|
||||
$a->page['htmlhead'] .= <<< EOT
|
||||
|
||||
<script>
|
||||
function insertFormatting(BBcode, id) {
|
||||
@@ -99,13 +99,12 @@ $(document).ready(function() {
|
||||
</script>
|
||||
EOT;
|
||||
|
||||
/** custom css **/
|
||||
/** custom css **/
|
||||
if (!is_null($cssFile)) {
|
||||
$a->page['htmlhead'] .= sprintf('<link rel="stylesheet" type="text/css" href="%s" />', $cssFile);
|
||||
}
|
||||
|
||||
_js_in_foot();
|
||||
|
||||
_js_in_foot();
|
||||
}
|
||||
|
||||
if (! function_exists('_js_in_foot')) {
|
||||
|
||||
Reference in New Issue
Block a user