From 3180d399f20d6e7bec41cf986cfbf8e1aafa3587 Mon Sep 17 00:00:00 2001 From: Thomas Lange Date: Thu, 14 Sep 2017 23:51:36 +0200 Subject: Some markup optimizations has been made to both templates (the HTML5
element is more correct for the purpose of an item list, because real lists should only be used if the order of the items would change the meaning. This is not the case, because each item is a self-contained area which has nothing to do with the other items). --- template/standard/html/home.php | 10 +++++----- template/standard/html/page/item.php | 4 ++-- template/standard/html/page/list.php | 4 ++-- template/standard/html/post/item.php | 4 ++-- template/standard/html/post/list.php | 4 ++-- template/standard/html/search/result.php | 4 ++-- template/standard/html/user/item.php | 4 ++-- template/standard/html/user/list.php | 4 ++-- template/standard/rsrc/main.css | 33 +++++++++++--------------------- 9 files changed, 30 insertions(+), 41 deletions(-) (limited to 'template/standard') diff --git a/template/standard/html/home.php b/template/standard/html/home.php index e516204..f2aa20e 100644 --- a/template/standard/html/home.php +++ b/template/standard/html/home.php @@ -10,10 +10,10 @@

text('home_heading_text', escapeHTML(Application::get('BLOGMETA.NAME')))?>Feed

text('home_heading_desc', Application::get('POST.LIST_SIZE'))?>

- +
+ + + +
diff --git a/template/standard/html/page/item.php b/template/standard/html/page/item.php index 81f6c8c..f2803fa 100644 --- a/template/standard/html/page/item.php +++ b/template/standard/html/page/item.php @@ -7,7 +7,7 @@ # # #%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%# ?> -
  • +

    @@ -17,4 +17,4 @@

    -

  • \ No newline at end of file +
    \ No newline at end of file diff --git a/template/standard/html/page/list.php b/template/standard/html/page/list.php index da75330..b2361bf 100644 --- a/template/standard/html/page/list.php +++ b/template/standard/html/page/list.php @@ -10,10 +10,10 @@

    text('page_overview')?>Feed

    text('page_overview_heading_desc', $PAGINATION['THIS'])?>

    - + \ No newline at end of file diff --git a/template/standard/html/post/item.php b/template/standard/html/post/item.php index 7733e61..c4035cb 100644 --- a/template/standard/html/post/item.php +++ b/template/standard/html/post/item.php @@ -7,7 +7,7 @@ # # #%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%# ?> -
  • +

    @@ -17,4 +17,4 @@
    -

  • \ No newline at end of file + \ No newline at end of file diff --git a/template/standard/html/post/list.php b/template/standard/html/post/list.php index adb4fd6..7622170 100644 --- a/template/standard/html/post/list.php +++ b/template/standard/html/post/list.php @@ -10,10 +10,10 @@

    text('post_overview')?>Feed

    text('post_overview_heading_desc', $PAGINATION['THIS'])?>

    - + \ No newline at end of file diff --git a/template/standard/html/search/result.php b/template/standard/html/search/result.php index 1558c3c..044afe1 100644 --- a/template/standard/html/search/result.php +++ b/template/standard/html/search/result.php @@ -29,8 +29,8 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/template/standard/html/user/item.php b/template/standard/html/user/item.php index 04abc0f..45106af 100644 --- a/template/standard/html/user/item.php +++ b/template/standard/html/user/item.php @@ -7,7 +7,7 @@ # # #%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%# ?> -
  • +

    @@ -17,4 +17,4 @@
    -

  • \ No newline at end of file + \ No newline at end of file diff --git a/template/standard/html/user/list.php b/template/standard/html/user/list.php index d95bd0c..ebc231d 100644 --- a/template/standard/html/user/list.php +++ b/template/standard/html/user/list.php @@ -10,10 +10,10 @@

    text('user_overview')?>

    text('user_overview_heading_desc', $PAGINATION['THIS'])?>

    - + \ No newline at end of file diff --git a/template/standard/rsrc/main.css b/template/standard/rsrc/main.css index 500ddc2..bafb39e 100644 --- a/template/standard/rsrc/main.css +++ b/template/standard/rsrc/main.css @@ -89,26 +89,15 @@ table img{border:none;border-radius:0;} a.brackets:before,a.brackets:after{color:#222;} /*++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/ -/* Item List