diff options
Diffstat (limited to 'view/php')
-rw-r--r-- | view/php/full.php | 9 | ||||
-rw-r--r-- | view/php/theme_init.php | 3 |
2 files changed, 6 insertions, 6 deletions
diff --git a/view/php/full.php b/view/php/full.php index 094874766..1a9cd9a84 100644 --- a/view/php/full.php +++ b/view/php/full.php @@ -1,14 +1,15 @@ -<!DOCTYPE html> +<!DOCTYPE html > <html prefix="og: http://ogp.me/ns#"> <head> <title><?php if(x($page,'title')) echo $page['title'] ?></title> <script>var baseurl="<?php echo z_root() ?>";</script> <?php if(x($page,'htmlhead')) echo $page['htmlhead'] ?> </head> -<body> +<body <?php if($page['direction']) echo 'dir="rtl"' ?> > + <?php if(x($page,'banner')) echo $page['banner']; ?> <header><?php if(x($page,'header')) echo $page['header']; ?></header> - <nav class="navbar fixed-top navbar-expand-md navbar-dark bg-dark"><?php if(x($page,'nav')) echo $page['nav']; ?></nav> - <section><?php if(x($page,'content')) echo $page['content']; ?> + <nav class="navbar fixed-top navbar-expand-lg navbar-dark bg-dark"><?php if(x($page,'nav')) echo $page['nav']; ?></nav> + <section id="region_2"><?php if(x($page,'content')) echo $page['content']; ?> <div id="page-footer"></div> </section> </body> diff --git a/view/php/theme_init.php b/view/php/theme_init.php index f2c46da28..dd8dcb5ee 100644 --- a/view/php/theme_init.php +++ b/view/php/theme_init.php @@ -15,9 +15,8 @@ head_add_js('jquery.js'); head_add_js('/library/justifiedGallery/jquery.justifiedGallery.min.js'); head_add_js('/library/sprintf.js/dist/sprintf.min.js'); -//head_add_js('jquery.textinputs.js'); +head_add_js('/library/textcomplete/textcomplete.min.js'); head_add_js('autocomplete.js'); -head_add_js('/library/jquery-textcomplete/jquery.textcomplete.js'); head_add_js('/library/jquery.timeago.js'); head_add_js('/library/readmore.js/readmore.js'); |