From 6b46fe3dfeeae89e00991d8e8f8d9ec0dadbb5bc Mon Sep 17 00:00:00 2001 From: Simon L'nu Date: Fri, 13 Apr 2012 19:30:07 -0400 Subject: [PATCH 2/2] neat little changes. hopefully the shadow will be well recieved Signed-off-by: Simon L'nu --- view/theme/dispy-dark/default.php | 6 ++--- view/theme/dispy-dark/head.tpl | 4 --- view/theme/dispy-dark/header.tpl | 0 view/theme/dispy-dark/jot-header.tpl | 2 +- view/theme/dispy-dark/nav.tpl | 8 +++++- view/theme/dispy-dark/style.css | 37 +++++++++++++++++++++++++- view/theme/dispy-dark/theme.php | 18 ++++++++++++- view/theme/dispy/default.php | 6 ++--- view/theme/dispy/head.tpl | 4 --- view/theme/dispy/icons/scroll_top.png | Bin 0 -> 539 bytes view/theme/dispy/jot-header.tpl | 2 +- view/theme/dispy/nav.tpl | 8 +++++- view/theme/dispy/style.css | 37 +++++++++++++++++++++++++- view/theme/dispy/theme.php | 18 ++++++++++++- 14 files changed, 128 insertions(+), 22 deletions(-) create mode 100644 view/theme/dispy-dark/header.tpl create mode 100644 view/theme/dispy/icons/scroll_top.png diff --git a/view/theme/dispy-dark/default.php b/view/theme/dispy-dark/default.php index 32393f08d5..b02f419476 100644 --- a/view/theme/dispy-dark/default.php +++ b/view/theme/dispy-dark/default.php @@ -1,13 +1,13 @@ - <?php if(x($page,'title')) echo $page['title'] ?> + <?php if(x($page,'title')) echo $page['title']; ?> - +
- +
diff --git a/view/theme/dispy-dark/head.tpl b/view/theme/dispy-dark/head.tpl index cd6f5ca972..d1bdc256b8 100644 --- a/view/theme/dispy-dark/head.tpl +++ b/view/theme/dispy-dark/head.tpl @@ -91,8 +91,4 @@ $('#hide-comments-' + id).html('$showfewer'); } } - - - - diff --git a/view/theme/dispy-dark/header.tpl b/view/theme/dispy-dark/header.tpl new file mode 100644 index 0000000000..e69de29bb2 diff --git a/view/theme/dispy-dark/jot-header.tpl b/view/theme/dispy-dark/jot-header.tpl index 5838729cc5..44120da40d 100644 --- a/view/theme/dispy-dark/jot-header.tpl +++ b/view/theme/dispy-dark/jot-header.tpl @@ -36,7 +36,7 @@ function initEditor(cb) { entity_encoding : "raw", add_unload_trigger : false, remove_linebreaks : false, - force_p_newlines : false, + force_p_newlines : true, force_br_newlines : true, forced_root_block : '', convert_urls: false, diff --git a/view/theme/dispy-dark/nav.tpl b/view/theme/dispy-dark/nav.tpl index 34aba50de3..b58ae7e3aa 100644 --- a/view/theme/dispy-dark/nav.tpl +++ b/view/theme/dispy-dark/nav.tpl @@ -4,7 +4,7 @@ - +